From 15cb36072694b7f0c58ec409ae3cf0f8d4443e38 Mon Sep 17 00:00:00 2001 From: louiiuol Date: Sun, 13 Oct 2024 17:44:13 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20louiiuol?= =?UTF-8?q?/ngx-lib@dd7c119c0ad5ad1a2de3f3cb2166b57c0efe64f3=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chunk-FPANO7T4.js => chunk-4FBWBNGT.js | 2 +- chunk-D3UNDUCH.js => chunk-5TNL5GRR.js | 2 +- chunk-6IVRQXMA.js | 1 - chunk-ZGPOGPG5.js => chunk-73WRRV5S.js | 2 +- chunk-STJ4XM2I.js => chunk-EOBEK37K.js | 2 +- chunk-I23XA5NM.js => chunk-GEIAPOAK.js | 2 +- chunk-K7KZHR5I.js | 1 + chunk-6KTFR5ZY.js => chunk-MA7OCDYI.js | 6 +++--- chunk-KZZE6VJO.js => chunk-OYIBIQ5V.js | 2 +- chunk-Z7QK36IY.js => chunk-P5KW6MXK.js | 2 +- chunk-JRRIW6GX.js => chunk-W3AJ6MML.js | 2 +- chunk-JLKXU7RL.js => chunk-XLZLLBIX.js | 2 +- chunk-2IUJ2XCY.js => chunk-XM4I3GAQ.js | 2 +- index.html | 2 +- main-7W3F7FRZ.js => main-IXS4QZ6X.js | 4 ++-- 15 files changed, 17 insertions(+), 17 deletions(-) rename chunk-FPANO7T4.js => chunk-4FBWBNGT.js (70%) rename chunk-D3UNDUCH.js => chunk-5TNL5GRR.js (87%) delete mode 100644 chunk-6IVRQXMA.js rename chunk-ZGPOGPG5.js => chunk-73WRRV5S.js (98%) rename chunk-STJ4XM2I.js => chunk-EOBEK37K.js (63%) rename chunk-I23XA5NM.js => chunk-GEIAPOAK.js (69%) create mode 100644 chunk-K7KZHR5I.js rename chunk-6KTFR5ZY.js => chunk-MA7OCDYI.js (89%) rename chunk-KZZE6VJO.js => chunk-OYIBIQ5V.js (99%) rename chunk-Z7QK36IY.js => chunk-P5KW6MXK.js (87%) rename chunk-JRRIW6GX.js => chunk-W3AJ6MML.js (96%) rename chunk-JLKXU7RL.js => chunk-XLZLLBIX.js (96%) rename chunk-2IUJ2XCY.js => chunk-XM4I3GAQ.js (50%) rename main-7W3F7FRZ.js => main-IXS4QZ6X.js (99%) diff --git a/chunk-FPANO7T4.js b/chunk-4FBWBNGT.js similarity index 70% rename from chunk-FPANO7T4.js rename to chunk-4FBWBNGT.js index 953579c..fa1716b 100644 --- a/chunk-FPANO7T4.js +++ b/chunk-4FBWBNGT.js @@ -1 +1 @@ -import{a as c}from"./chunk-WEP4G4BU.js";import{Ha as r,Ra as p,U as o,ob as i}from"./chunk-FUUZABHH.js";import"./chunk-TWZW5B45.js";var g='

Icon Material

',a=class t{routes=s[0].children;headerContent=g;pageType="guide";hasBreadcrumb=!0;static \u0275fac=function(e){return new(e||t)};static \u0275cmp=o({type:t,selectors:[["ng-doc-page-wrapper-jythigsg"]],standalone:!0,features:[i],decls:1,vars:4,consts:[[3,"routes","headerContent","hasBreadcrumb","pageType"]],template:function(e,n){e&1&&p(0,"ng-doc-page-wrapper",0),e&2&&r("routes",n.routes)("headerContent",n.headerContent)("hasBreadcrumb",n.hasBreadcrumb)("pageType",n.pageType)},dependencies:[c],encapsulation:2,changeDetection:0})},s=[{path:"",component:a,title:"Icon Material",children:[{path:"",loadChildren:()=>import("./chunk-KZZE6VJO.js"),title:"Icon Material",data:{icon:""}}]}],u=s;export{a as PageWrapperComponent,u as default}; +import{a as c}from"./chunk-WEP4G4BU.js";import{Ha as r,Ra as p,U as t,ob as i}from"./chunk-FUUZABHH.js";import"./chunk-TWZW5B45.js";var g='

Icon Material

',a=class o{routes=s[0].children;headerContent=g;pageType="guide";hasBreadcrumb=!0;static \u0275fac=function(e){return new(e||o)};static \u0275cmp=t({type:o,selectors:[["ng-doc-page-wrapper-k100mm2k"]],standalone:!0,features:[i],decls:1,vars:4,consts:[[3,"routes","headerContent","hasBreadcrumb","pageType"]],template:function(e,n){e&1&&p(0,"ng-doc-page-wrapper",0),e&2&&r("routes",n.routes)("headerContent",n.headerContent)("hasBreadcrumb",n.hasBreadcrumb)("pageType",n.pageType)},dependencies:[c],encapsulation:2,changeDetection:0})},s=[{path:"",component:a,title:"Icon Material",children:[{path:"",loadChildren:()=>import("./chunk-OYIBIQ5V.js"),title:"Icon Material",data:{icon:""}}]}],u=s;export{a as PageWrapperComponent,u as default}; diff --git a/chunk-D3UNDUCH.js b/chunk-5TNL5GRR.js similarity index 87% rename from chunk-D3UNDUCH.js rename to chunk-5TNL5GRR.js index 6fea504..36541a6 100644 --- a/chunk-D3UNDUCH.js +++ b/chunk-5TNL5GRR.js @@ -1 +1 @@ -import{a as i}from"./chunk-WEP4G4BU.js";import{Ha as r,Ra as p,U as a,ob as d}from"./chunk-FUUZABHH.js";import"./chunk-TWZW5B45.js";var g='

Todo

',t=class n{routes=s[0].children;headerContent=g;pageType="guide";hasBreadcrumb=!0;static \u0275fac=function(e){return new(e||n)};static \u0275cmp=a({type:n,selectors:[["ng-doc-page-wrapper-qkknqpr2"]],standalone:!0,features:[d],decls:1,vars:4,consts:[[3,"routes","headerContent","hasBreadcrumb","pageType"]],template:function(e,o){e&1&&p(0,"ng-doc-page-wrapper",0),e&2&&r("routes",o.routes)("headerContent",o.headerContent)("hasBreadcrumb",o.hasBreadcrumb)("pageType",o.pageType)},dependencies:[i],encapsulation:2,changeDetection:0})},s=[{path:"",component:t,title:"Todo",children:[{path:"",loadChildren:()=>import("./chunk-JLKXU7RL.js"),title:"Todo",data:{icon:""}}]}],l=s;export{t as PageWrapperComponent,l as default}; +import{a as i}from"./chunk-WEP4G4BU.js";import{Ha as r,Ra as p,U as a,ob as d}from"./chunk-FUUZABHH.js";import"./chunk-TWZW5B45.js";var g='

Todo

',t=class n{routes=s[0].children;headerContent=g;pageType="guide";hasBreadcrumb=!0;static \u0275fac=function(e){return new(e||n)};static \u0275cmp=a({type:n,selectors:[["ng-doc-page-wrapper-z1qeeg4i"]],standalone:!0,features:[d],decls:1,vars:4,consts:[[3,"routes","headerContent","hasBreadcrumb","pageType"]],template:function(e,o){e&1&&p(0,"ng-doc-page-wrapper",0),e&2&&r("routes",o.routes)("headerContent",o.headerContent)("hasBreadcrumb",o.hasBreadcrumb)("pageType",o.pageType)},dependencies:[i],encapsulation:2,changeDetection:0})},s=[{path:"",component:t,title:"Todo",children:[{path:"",loadChildren:()=>import("./chunk-XLZLLBIX.js"),title:"Todo",data:{icon:""}}]}],l=s;export{t as PageWrapperComponent,l as default}; diff --git a/chunk-6IVRQXMA.js b/chunk-6IVRQXMA.js deleted file mode 100644 index 0fea37b..0000000 --- a/chunk-6IVRQXMA.js +++ /dev/null @@ -1 +0,0 @@ -import{a as p}from"./chunk-L4YHDAK7.js";import"./chunk-WEP4G4BU.js";import{S as D,a as s}from"./chunk-FNBE65Q7.js";import{Ba as l,Ra as g,U as c,nb as r,ob as i}from"./chunk-FUUZABHH.js";import{a as d,b as o,h as b}from"./chunk-TWZW5B45.js";var f=b(D());var y={title:"Welcome",mdFile:"../../../../README.md"},e=y;var h=[];var w={},u=w;var N='

Angular Web User Interface \u{1F3A8}

Angular library of components, services & patterns easing development of user interfaces. This is not a framework, nor a cdk, nut simply a collection of components following best practices in angular web development.

This repository was created as a model for creating actual application. Feel free to use take any components you want \u{1F64C}

Built with \u{1F3D7}\uFE0F

Dependencyversion
@angular/core^18.2.0
eslint8.57.0
jest^29.7.0
rxjs~7.8.0
tailwind^3.4.13
typescript~5.5.2

More dependencies can be found inside package.json.

Get Started \u{1F680}

This project contains multiple scripts. Remember to first run npm i in order to load required dependencies. Then you can run any of the scripts below:

ScriptDescription
npm run startServes application locally to https://localhost:4200
npm run buildBuilds application in production mode to dist/ngx-lib/browser
npm run watchBuilds application in development mode and watch for file change
npm run testLaunch unit tests with Jest runner
npm run test:watchLaunch unit tests and watch for files change
npm run lintLint repository with eslint & prettier.

Versions \u{1F516}

A complete changelog can be found in dedicated markdown. Which resume current progress. You can also found what is in the current development inside TODO markdown.

',a=class t extends s{pageType="guide";pageContent=N;page=e;demoAssets=u;constructor(){super()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=c({type:t,selectors:[["ng-doc-page-hc384p7h"]],standalone:!0,features:[r([{provide:s,useExisting:t},h,e.providers??[]]),l,i],decls:1,vars:0,template:function(n,v){n&1&&g(0,"ng-doc-page")},dependencies:[p],encapsulation:2,changeDetection:0})},P=[o(d({},(0,f.isRoute)(e.route)?e.route:{}),{path:"",component:a,title:"Welcome"})],M=P;export{a as PageComponent,M as default}; diff --git a/chunk-ZGPOGPG5.js b/chunk-73WRRV5S.js similarity index 98% rename from chunk-ZGPOGPG5.js rename to chunk-73WRRV5S.js index ab59c7c..e688f79 100644 --- a/chunk-ZGPOGPG5.js +++ b/chunk-73WRRV5S.js @@ -1 +1 @@ -import{a as F}from"./chunk-YTBHK5E4.js";import{a as S}from"./chunk-L4YHDAK7.js";import"./chunk-WEP4G4BU.js";import{o as D,q as v}from"./chunk-ZCY2UNJH.js";import{S as q,a as P}from"./chunk-FNBE65Q7.js";import{$a as z,Ba as l,Ga as R,Ha as f,Pa as y,Qa as b,Qb as h,Ra as O,U as i,_a as _,bb as p,cb as c,db as g,ha as u,hb as C,nb as k,ob as d,wa as m}from"./chunk-FUUZABHH.js";import{a as x,b as M,h as V}from"./chunk-TWZW5B45.js";var E=V(q());var G=["*"],s=class n{color=u("primary");size=u("medium");rounded=u(!1);disabled=u(!1);static \u0275fac=function(e){return new(e||n)};static \u0275cmp=i({type:n,selectors:[["lib-button"],["lib-button-outline"]],hostVars:4,hostBindings:function(e,o){e&2&&R("data-color",o.color())("data-size",o.size())("data-rounded",o.rounded())("data-disabled",o.disabled())},inputs:{color:[1,"color"],size:[1,"size"],rounded:[1,"rounded"],disabled:[1,"disabled"]},standalone:!0,features:[d],ngContentSelectors:G,decls:1,vars:0,template:function(e,o){e&1&&(_(),z(0))},styles:['[_nghost-%COMP%]{display:inline-flex;justify-content:center;align-items:center;position:relative;border-radius:4px;border:1px solid transparent;background-color:var(--button-background);color:var(--button-color);cursor:pointer;overflow:hidden}[lib-button-outline][_nghost-%COMP%]{background-color:transparent;border:1px solid var(--button-background);color:var(--button-background)}[lib-button-flat][_nghost-%COMP%]{background-color:transparent;color:var(--button-background)}[lib-button-flat][_nghost-%COMP%]:hover:before{position:absolute;left:0;top:0;width:100%;height:100%;content:"";background-color:var(--button-background);opacity:.1}[data-color=primary][_nghost-%COMP%]{--button-background: #3f51b5;--button-color: #fff}[data-color=accent][_nghost-%COMP%]{--button-background: #ff4081;--button-color: #fff}[data-color=warn][_nghost-%COMP%]{--button-background: #f44336;--button-color: #fff}[data-size=small][_nghost-%COMP%]{padding:.25rem .75rem}[data-size=medium][_nghost-%COMP%]{padding:.75rem 1.5rem}[data-size=large][_nghost-%COMP%]{padding:1.25rem 2rem;font-size:1.25rem;line-height:1.75rem}[data-rounded=true][_nghost-%COMP%]{border-radius:24px}[data-disabled=true][_nghost-%COMP%]{opacity:.5;pointer-events:none}'],changeDetection:0})};var U={title:"Button",mdFile:"./index.md",playgrounds:{ButtonPlayground:{target:s,template:"My Button"}},category:F},t=U;var N=class n extends v{static selector="lib-button";playground;viewContainerRef;configData=t.playgrounds.ButtonPlayground.data;constructor(){super(t.playgrounds.ButtonPlayground.target)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=i({type:n,selectors:[["ng-doc-playground-1"]],viewQuery:function(e,o){if(e&1&&(p(t.playgrounds.ButtonPlayground.target,7),p(t.playgrounds.ButtonPlayground.target,7,m)),e&2){let a;c(a=g())&&(o.playground=a.first),c(a=g())&&(o.viewContainerRef=a.first)}},standalone:!0,features:[l,d],decls:2,vars:4,consts:[[3,"color","size","rounded","disabled"]],template:function(e,o){e&1&&(y(0,"lib-button",0),C(1,"My Button"),b()),e&2&&f("color",o.properties.color)("size",o.properties.size)("rounded",o.properties.rounded)("disabled",o.properties.disabled)},dependencies:[h,s],encapsulation:2,changeDetection:0})},B=class n extends v{static selector="lib-button-outline";playground;viewContainerRef;configData=t.playgrounds.ButtonPlayground.data;constructor(){super(t.playgrounds.ButtonPlayground.target)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=i({type:n,selectors:[["ng-doc-playground-2"]],viewQuery:function(e,o){if(e&1&&(p(t.playgrounds.ButtonPlayground.target,7),p(t.playgrounds.ButtonPlayground.target,7,m)),e&2){let a;c(a=g())&&(o.playground=a.first),c(a=g())&&(o.viewContainerRef=a.first)}},standalone:!0,features:[l,d],decls:2,vars:4,consts:[[3,"color","size","rounded","disabled"]],template:function(e,o){e&1&&(y(0,"lib-button-outline",0),C(1,"My Button"),b()),e&2&&f("color",o.properties.color)("size",o.properties.size)("rounded",o.properties.rounded)("disabled",o.properties.disabled)},dependencies:[h,s],encapsulation:2,changeDetection:0})};var T=[D("ButtonPlayground",N),D("ButtonPlayground",B)];var Y={},I=Y;var j=`

A button is an interface element that allows the user to perform a specific action when clicked.

Playground \u{1F579}\uFE0F

lib-button,lib-button-outline
{"color":{"inputName":"color","type":"'primary' | 'accent' | 'warn'","description":"<p>Color of the button.</p>","options":["'primary'","'accent'","'warn'"]},"size":{"inputName":"size","type":"'small' | 'medium' | 'large'","description":"<p>Size of the button.</p>","options":["'small'","'medium'","'large'"]},"rounded":{"inputName":"rounded","type":"boolean","description":"<p>Whether the button should have rounded corners.</p>","options":["false","true"]},"disabled":{"inputName":"disabled","type":"boolean","description":"<p>Whether the button should be disabled.</p>","options":["false","true"]}}
{}
`,w=class n extends P{pageType="guide";pageContent=j;page=t;demoAssets=I;constructor(){super()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=i({type:n,selectors:[["ng-doc-page-1nhhb6ud"]],standalone:!0,features:[k([{provide:P,useExisting:n},T,t.providers??[]]),l,d],decls:1,vars:0,template:function(e,o){e&1&&O(0,"ng-doc-page")},dependencies:[S],encapsulation:2,changeDetection:0})},W=[M(x({},(0,E.isRoute)(t.route)?t.route:{}),{path:"",component:w,title:"Button"})],Ce=W;export{w as PageComponent,Ce as default}; +import{a as F}from"./chunk-YTBHK5E4.js";import{a as S}from"./chunk-L4YHDAK7.js";import"./chunk-WEP4G4BU.js";import{o as D,q as v}from"./chunk-ZCY2UNJH.js";import{S as q,a as P}from"./chunk-FNBE65Q7.js";import{$a as z,Ba as l,Ga as R,Ha as f,Pa as y,Qa as b,Qb as h,Ra as O,U as i,_a as _,bb as p,cb as c,db as g,ha as u,hb as C,nb as k,ob as d,wa as m}from"./chunk-FUUZABHH.js";import{a as x,b as M,h as V}from"./chunk-TWZW5B45.js";var E=V(q());var G=["*"],s=class n{color=u("primary");size=u("medium");rounded=u(!1);disabled=u(!1);static \u0275fac=function(e){return new(e||n)};static \u0275cmp=i({type:n,selectors:[["lib-button"],["lib-button-outline"]],hostVars:4,hostBindings:function(e,o){e&2&&R("data-color",o.color())("data-size",o.size())("data-rounded",o.rounded())("data-disabled",o.disabled())},inputs:{color:[1,"color"],size:[1,"size"],rounded:[1,"rounded"],disabled:[1,"disabled"]},standalone:!0,features:[d],ngContentSelectors:G,decls:1,vars:0,template:function(e,o){e&1&&(_(),z(0))},styles:['[_nghost-%COMP%]{display:inline-flex;justify-content:center;align-items:center;position:relative;border-radius:4px;border:1px solid transparent;background-color:var(--button-background);color:var(--button-color);cursor:pointer;overflow:hidden}[lib-button-outline][_nghost-%COMP%]{background-color:transparent;border:1px solid var(--button-background);color:var(--button-background)}[lib-button-flat][_nghost-%COMP%]{background-color:transparent;color:var(--button-background)}[lib-button-flat][_nghost-%COMP%]:hover:before{position:absolute;left:0;top:0;width:100%;height:100%;content:"";background-color:var(--button-background);opacity:.1}[data-color=primary][_nghost-%COMP%]{--button-background: #3f51b5;--button-color: #fff}[data-color=accent][_nghost-%COMP%]{--button-background: #ff4081;--button-color: #fff}[data-color=warn][_nghost-%COMP%]{--button-background: #f44336;--button-color: #fff}[data-size=small][_nghost-%COMP%]{padding:.25rem .75rem}[data-size=medium][_nghost-%COMP%]{padding:.75rem 1.5rem}[data-size=large][_nghost-%COMP%]{padding:1.25rem 2rem;font-size:1.25rem;line-height:1.75rem}[data-rounded=true][_nghost-%COMP%]{border-radius:24px}[data-disabled=true][_nghost-%COMP%]{opacity:.5;pointer-events:none}'],changeDetection:0})};var U={title:"Button",mdFile:"./index.md",playgrounds:{ButtonPlayground:{target:s,template:"My Button"}},category:F},t=U;var N=class n extends v{static selector="lib-button";playground;viewContainerRef;configData=t.playgrounds.ButtonPlayground.data;constructor(){super(t.playgrounds.ButtonPlayground.target)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=i({type:n,selectors:[["ng-doc-playground-1"]],viewQuery:function(e,o){if(e&1&&(p(t.playgrounds.ButtonPlayground.target,7),p(t.playgrounds.ButtonPlayground.target,7,m)),e&2){let a;c(a=g())&&(o.playground=a.first),c(a=g())&&(o.viewContainerRef=a.first)}},standalone:!0,features:[l,d],decls:2,vars:4,consts:[[3,"color","size","rounded","disabled"]],template:function(e,o){e&1&&(y(0,"lib-button",0),C(1,"My Button"),b()),e&2&&f("color",o.properties.color)("size",o.properties.size)("rounded",o.properties.rounded)("disabled",o.properties.disabled)},dependencies:[h,s],encapsulation:2,changeDetection:0})},B=class n extends v{static selector="lib-button-outline";playground;viewContainerRef;configData=t.playgrounds.ButtonPlayground.data;constructor(){super(t.playgrounds.ButtonPlayground.target)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=i({type:n,selectors:[["ng-doc-playground-2"]],viewQuery:function(e,o){if(e&1&&(p(t.playgrounds.ButtonPlayground.target,7),p(t.playgrounds.ButtonPlayground.target,7,m)),e&2){let a;c(a=g())&&(o.playground=a.first),c(a=g())&&(o.viewContainerRef=a.first)}},standalone:!0,features:[l,d],decls:2,vars:4,consts:[[3,"color","size","rounded","disabled"]],template:function(e,o){e&1&&(y(0,"lib-button-outline",0),C(1,"My Button"),b()),e&2&&f("color",o.properties.color)("size",o.properties.size)("rounded",o.properties.rounded)("disabled",o.properties.disabled)},dependencies:[h,s],encapsulation:2,changeDetection:0})};var T=[D("ButtonPlayground",N),D("ButtonPlayground",B)];var Y={},I=Y;var j=`

A button is an interface element that allows the user to perform a specific action when clicked.

Playground \u{1F579}\uFE0F

lib-button,lib-button-outline
{"color":{"inputName":"color","type":"'primary' | 'accent' | 'warn'","description":"<p>Color of the button.</p>","options":["'primary'","'accent'","'warn'"]},"size":{"inputName":"size","type":"'small' | 'medium' | 'large'","description":"<p>Size of the button.</p>","options":["'small'","'medium'","'large'"]},"rounded":{"inputName":"rounded","type":"boolean","description":"<p>Whether the button should have rounded corners.</p>","options":["false","true"]},"disabled":{"inputName":"disabled","type":"boolean","description":"<p>Whether the button should be disabled.</p>","options":["false","true"]}}
{}
`,w=class n extends P{pageType="guide";pageContent=j;page=t;demoAssets=I;constructor(){super()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=i({type:n,selectors:[["ng-doc-page-i2e0tz78"]],standalone:!0,features:[k([{provide:P,useExisting:n},T,t.providers??[]]),l,d],decls:1,vars:0,template:function(e,o){e&1&&O(0,"ng-doc-page")},dependencies:[S],encapsulation:2,changeDetection:0})},W=[M(x({},(0,E.isRoute)(t.route)?t.route:{}),{path:"",component:w,title:"Button"})],Ce=W;export{w as PageComponent,Ce as default}; diff --git a/chunk-STJ4XM2I.js b/chunk-EOBEK37K.js similarity index 63% rename from chunk-STJ4XM2I.js rename to chunk-EOBEK37K.js index 04fb616..5b8a810 100644 --- a/chunk-STJ4XM2I.js +++ b/chunk-EOBEK37K.js @@ -1 +1 @@ -import{a as s}from"./chunk-WEP4G4BU.js";import{Ha as r,Ra as p,U as a,ob as c}from"./chunk-FUUZABHH.js";import"./chunk-TWZW5B45.js";var g='

Button

',n=class o{routes=d[0].children;headerContent=g;pageType="guide";hasBreadcrumb=!0;static \u0275fac=function(e){return new(e||o)};static \u0275cmp=a({type:o,selectors:[["ng-doc-page-wrapper-9jzyuctg"]],standalone:!0,features:[c],decls:1,vars:4,consts:[[3,"routes","headerContent","hasBreadcrumb","pageType"]],template:function(e,t){e&1&&p(0,"ng-doc-page-wrapper",0),e&2&&r("routes",t.routes)("headerContent",t.headerContent)("hasBreadcrumb",t.hasBreadcrumb)("pageType",t.pageType)},dependencies:[s],encapsulation:2,changeDetection:0})},d=[{path:"",component:n,title:"Button",children:[{path:"",loadChildren:()=>import("./chunk-ZGPOGPG5.js"),title:"Button",data:{icon:""}}]}],l=d;export{n as PageWrapperComponent,l as default}; +import{a as c}from"./chunk-WEP4G4BU.js";import{Ha as r,Ra as p,U as a,ob as s}from"./chunk-FUUZABHH.js";import"./chunk-TWZW5B45.js";var g='

Button

',n=class o{routes=d[0].children;headerContent=g;pageType="guide";hasBreadcrumb=!0;static \u0275fac=function(e){return new(e||o)};static \u0275cmp=a({type:o,selectors:[["ng-doc-page-wrapper-eu71zqo7"]],standalone:!0,features:[s],decls:1,vars:4,consts:[[3,"routes","headerContent","hasBreadcrumb","pageType"]],template:function(e,t){e&1&&p(0,"ng-doc-page-wrapper",0),e&2&&r("routes",t.routes)("headerContent",t.headerContent)("hasBreadcrumb",t.hasBreadcrumb)("pageType",t.pageType)},dependencies:[c],encapsulation:2,changeDetection:0})},d=[{path:"",component:n,title:"Button",children:[{path:"",loadChildren:()=>import("./chunk-73WRRV5S.js"),title:"Button",data:{icon:""}}]}],l=d;export{n as PageWrapperComponent,l as default}; diff --git a/chunk-I23XA5NM.js b/chunk-GEIAPOAK.js similarity index 69% rename from chunk-I23XA5NM.js rename to chunk-GEIAPOAK.js index c95c7a5..b48b2a5 100644 --- a/chunk-I23XA5NM.js +++ b/chunk-GEIAPOAK.js @@ -1 +1 @@ -import{a as c}from"./chunk-WEP4G4BU.js";import{Ha as r,Ra as p,U as t,ob as g}from"./chunk-FUUZABHH.js";import"./chunk-TWZW5B45.js";var i='

Changelog

',a=class o{routes=d[0].children;headerContent=i;pageType="guide";hasBreadcrumb=!0;static \u0275fac=function(e){return new(e||o)};static \u0275cmp=t({type:o,selectors:[["ng-doc-page-wrapper-w7stdypd"]],standalone:!0,features:[g],decls:1,vars:4,consts:[[3,"routes","headerContent","hasBreadcrumb","pageType"]],template:function(e,n){e&1&&p(0,"ng-doc-page-wrapper",0),e&2&&r("routes",n.routes)("headerContent",n.headerContent)("hasBreadcrumb",n.hasBreadcrumb)("pageType",n.pageType)},dependencies:[c],encapsulation:2,changeDetection:0})},d=[{path:"",component:a,title:"Changelog",children:[{path:"",loadChildren:()=>import("./chunk-JRRIW6GX.js"),title:"Changelog",data:{icon:""}}]}],u=d;export{a as PageWrapperComponent,u as default}; +import{a as c}from"./chunk-WEP4G4BU.js";import{Ha as r,Ra as p,U as t,ob as g}from"./chunk-FUUZABHH.js";import"./chunk-TWZW5B45.js";var s='

Changelog

',a=class o{routes=d[0].children;headerContent=s;pageType="guide";hasBreadcrumb=!0;static \u0275fac=function(e){return new(e||o)};static \u0275cmp=t({type:o,selectors:[["ng-doc-page-wrapper-dp516u1k"]],standalone:!0,features:[g],decls:1,vars:4,consts:[[3,"routes","headerContent","hasBreadcrumb","pageType"]],template:function(e,n){e&1&&p(0,"ng-doc-page-wrapper",0),e&2&&r("routes",n.routes)("headerContent",n.headerContent)("hasBreadcrumb",n.hasBreadcrumb)("pageType",n.pageType)},dependencies:[c],encapsulation:2,changeDetection:0})},d=[{path:"",component:a,title:"Changelog",children:[{path:"",loadChildren:()=>import("./chunk-W3AJ6MML.js"),title:"Changelog",data:{icon:""}}]}],u=d;export{a as PageWrapperComponent,u as default}; diff --git a/chunk-K7KZHR5I.js b/chunk-K7KZHR5I.js new file mode 100644 index 0000000..7666eb8 --- /dev/null +++ b/chunk-K7KZHR5I.js @@ -0,0 +1 @@ +import{a as p}from"./chunk-L4YHDAK7.js";import"./chunk-WEP4G4BU.js";import{S as y,a as s}from"./chunk-FNBE65Q7.js";import{Ba as l,Ra as g,U as c,nb as r,ob as i}from"./chunk-FUUZABHH.js";import{a as o,b as d,h as b}from"./chunk-TWZW5B45.js";var m=b(y());var D={title:"Welcome",mdFile:"../../../../README.md"},e=D;var h=[];var w={},u=w;var N='

Angular Web User Interface \u{1F3A8}

Deploy status

Angular library of components, services & patterns easing development of user interfaces. This is not a framework, nor a cdk, nut simply a collection of components following best practices in angular web development.

This repository was created as a model for creating actual application. Feel free to use take any components you want \u{1F64C}

Built with \u{1F3D7}\uFE0F

Dependencyversion
@angular/core^18.2.0
eslint8.57.0
jest^29.7.0
rxjs~7.8.0
tailwind^3.4.13
typescript~5.5.2

More dependencies can be found inside package.json.

Get Started \u{1F680}

This project contains multiple scripts. Remember to first run npm i in order to load required dependencies. Then you can run any of the scripts below:

ScriptDescription
npm run startServes application locally to https://localhost:4200
npm run buildBuilds application in production mode to dist/ngx-lib/browser
npm run watchBuilds application in development mode and watch for file change
npm run testLaunch unit tests with Jest runner
npm run test:watchLaunch unit tests and watch for files change
npm run lintLint repository with eslint & prettier.

Versions \u{1F516}

A complete changelog can be found in dedicated markdown. Which resume current progress. You can also found what is in the current development inside TODO markdown.

',a=class t extends s{pageType="guide";pageContent=N;page=e;demoAssets=u;constructor(){super()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=c({type:t,selectors:[["ng-doc-page-2e5o7jm6"]],standalone:!0,features:[r([{provide:s,useExisting:t},h,e.providers??[]]),l,i],decls:1,vars:0,template:function(n,v){n&1&&g(0,"ng-doc-page")},dependencies:[p],encapsulation:2,changeDetection:0})},P=[d(o({},(0,m.isRoute)(e.route)?e.route:{}),{path:"",component:a,title:"Welcome"})],M=P;export{a as PageComponent,M as default}; diff --git a/chunk-6KTFR5ZY.js b/chunk-MA7OCDYI.js similarity index 89% rename from chunk-6KTFR5ZY.js rename to chunk-MA7OCDYI.js index a045667..e67e592 100644 --- a/chunk-6KTFR5ZY.js +++ b/chunk-MA7OCDYI.js @@ -1,6 +1,6 @@ -import{a as _}from"./chunk-YTBHK5E4.js";import{a as L}from"./chunk-L4YHDAK7.js";import"./chunk-WEP4G4BU.js";import{a as F,b as k}from"./chunk-NQCIMNAB.js";import{o as z,q as H}from"./chunk-ZCY2UNJH.js";import{S as Z,a as y}from"./chunk-FNBE65Q7.js";import{Ba as l,Ha as T,I as x,Ia as E,O as R,Qb as G,Ra as g,S as s,Tb as O,U as a,bb as u,cb as h,db as f,ha as c,ia as V,m as S,n as w,nb as q,ob as d,va as M,wa as A,x as I}from"./chunk-FUUZABHH.js";import{a as N,b,h as j}from"./chunk-TWZW5B45.js";var B=j(Z());var m=class t{http=s(O);getSVG(o){return this.http.get(o,{responseType:"text"}).pipe(I(()=>S(null)),w(e=>{if(!e){let r=` +import{a as _}from"./chunk-YTBHK5E4.js";import{a as L}from"./chunk-L4YHDAK7.js";import"./chunk-WEP4G4BU.js";import{a as q,b as z}from"./chunk-NQCIMNAB.js";import{o as F,q as H}from"./chunk-ZCY2UNJH.js";import{S as Z,a as y}from"./chunk-FNBE65Q7.js";import{Ba as l,Ha as T,I as x,Ia as E,O as R,Qb as O,Ra as g,S as s,Tb as k,U as a,bb as u,cb as h,db as f,ha as c,ia as V,m as S,n as w,nb as G,ob as d,va as M,wa as A,x as I}from"./chunk-FUUZABHH.js";import{a as N,b,h as j}from"./chunk-TWZW5B45.js";var B=j(Z());var m=class t{http=s(k);getSVG(o){return this.http.get(o,{responseType:"text"}).pipe(I(()=>S(null)),w(e=>{if(!e){let r=` - `,P=document.createElement("div");return P.innerHTML=r,P.querySelector("svg")}let n=document.createElement("div");return n.innerHTML=e,n.querySelector("svg")}))}static \u0275fac=function(e){return new(e||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})};var $="/icons",p=class t{name=c.required();alt=c("icon");size=c("1.5rem");aspectRatio=c("1 / 1");color=c("currentColor");triggerSubscription=k(this.name).pipe(x(o=>this.fileService.getSVG(`${$}/${o}.svg`)),F()).subscribe(o=>this.renderSvg(o));el=s(V);fileService=s(m);renderer=s(M);renderSvg(o){let e=o?.querySelector("svg");e&&(this.renderer.setAttribute(e,"width",this.size()),this.renderer.setAttribute(e,"height",this.size())),this.renderer.appendChild(this.el.nativeElement,o)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=a({type:t,selectors:[["lib-icon"]],hostVars:4,hostBindings:function(e,n){e&2&&E("width",n.size())("aspect-ratio",n.aspectRatio())},inputs:{name:[1,"name"],alt:[1,"alt"],size:[1,"size"],aspectRatio:[1,"aspectRatio"],color:[1,"color"]},standalone:!0,features:[d],decls:0,vars:0,template:function(e,n){},styles:["[_nghost-%COMP%] svg[_ngcontent-%COMP%]{fill:currentColor;width:100%;height:100%}"],changeDetection:0})};var J={title:"Icon",mdFile:"./index.md",playgrounds:{IconPlayground:{target:p,template:""}},category:_},i=J;var C=class t extends H{static selector="lib-icon";playground;viewContainerRef;configData=i.playgrounds.IconPlayground.data;constructor(){super(i.playgrounds.IconPlayground.target)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=a({type:t,selectors:[["ng-doc-playground-1"]],viewQuery:function(e,n){if(e&1&&(u(i.playgrounds.IconPlayground.target,7),u(i.playgrounds.IconPlayground.target,7,A)),e&2){let r;h(r=f())&&(n.playground=r.first),h(r=f())&&(n.viewContainerRef=r.first)}},standalone:!0,features:[l,d],decls:1,vars:5,consts:[[3,"name","alt","size","aspectRatio","color"]],template:function(e,n){e&1&&g(0,"lib-icon",0),e&2&&T("name",n.properties.name)("alt",n.properties.alt)("size",n.properties.size)("aspectRatio",n.properties.aspectRatio)("color",n.properties.color)},dependencies:[G,p],encapsulation:2,changeDetection:0})};var U=[z("IconPlayground",C)];var K={},Y=K;var X=`

Simple component to display an icon as SVG tag from an svg file located in your assets/icons folder.

Pre requirements

In order to use this component in your application, you must follow these steps:

Create assets/icons folder

In this folder, you can add all SVG required for your UI. You can also creates sub-folders but be aware, you'll need to format name as folderName/fileName.

Note: With this component, you can control the fill of the SVG by adding some color of the component (works by inheritance).

Import FileService

This service helps working with files in general but this component requires getSVG() method. Simply copy paste this service or get isolated method.

That's it \u{1F389}

You can now start importing this component in your application !

By following these guidelines, you can effectively use the lib-icon component in your Angular application.

Playground \u{1F579}\uFE0F

lib-icon
{"name":{"inputName":"name","type":"string","description":"<p>Name of the icon. -(must match the filename located in assets/icons folder, without extension .svg)</p>","options":[]},"alt":{"inputName":"alt","type":"string","description":"<p>Alternative text to be displayed when the icon is not available</p>","options":[]},"size":{"inputName":"size","type":"string","description":"<p>Size of the icon (must include css unit)</p>","options":[]},"aspectRatio":{"inputName":"aspectRatio","type":"string","description":"<p>Aspect ratio of the icon (must match css aspect-ratio property)</p>","options":[]},"color":{"inputName":"color","type":"string","description":"<p>Color of the icon (must match css aspect-ratio property)</p>","options":[]}}
{}
`,D=class t extends y{pageType="guide";pageContent=X;page=i;demoAssets=Y;constructor(){super()}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=a({type:t,selectors:[["ng-doc-page-fcd6qacc"]],standalone:!0,features:[q([{provide:y,useExisting:t},U,i.providers??[]]),l,d],decls:1,vars:0,template:function(e,n){e&1&&g(0,"ng-doc-page")},dependencies:[L],encapsulation:2,changeDetection:0})},ee=[b(N({},(0,B.isRoute)(i.route)?i.route:{}),{path:"",component:D,title:"Icon"})],Ee=ee;export{D as PageComponent,Ee as default}; + `,P=document.createElement("div");return P.innerHTML=r,P.querySelector("svg")}let n=document.createElement("div");return n.innerHTML=e,n.querySelector("svg")}))}static \u0275fac=function(e){return new(e||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})};var $="/icons",p=class t{name=c.required();alt=c("icon");size=c("1.5rem");aspectRatio=c("1 / 1");color=c("currentColor");triggerSubscription=z(this.name).pipe(x(o=>this.fileService.getSVG(`${$}/${o}.svg`)),q()).subscribe(o=>this.renderSvg(o));el=s(V);fileService=s(m);renderer=s(M);renderSvg(o){let e=o?.querySelector("svg");e&&(this.renderer.setAttribute(e,"width",this.size()),this.renderer.setAttribute(e,"height",this.size())),this.renderer.appendChild(this.el.nativeElement,o)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=a({type:t,selectors:[["lib-icon"]],hostVars:4,hostBindings:function(e,n){e&2&&E("width",n.size())("aspect-ratio",n.aspectRatio())},inputs:{name:[1,"name"],alt:[1,"alt"],size:[1,"size"],aspectRatio:[1,"aspectRatio"],color:[1,"color"]},standalone:!0,features:[d],decls:0,vars:0,template:function(e,n){},styles:["[_nghost-%COMP%] svg[_ngcontent-%COMP%]{fill:currentColor;width:100%;height:100%}"],changeDetection:0})};var J={title:"Icon",mdFile:"./index.md",playgrounds:{IconPlayground:{target:p,template:""}},category:_},i=J;var C=class t extends H{static selector="lib-icon";playground;viewContainerRef;configData=i.playgrounds.IconPlayground.data;constructor(){super(i.playgrounds.IconPlayground.target)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=a({type:t,selectors:[["ng-doc-playground-1"]],viewQuery:function(e,n){if(e&1&&(u(i.playgrounds.IconPlayground.target,7),u(i.playgrounds.IconPlayground.target,7,A)),e&2){let r;h(r=f())&&(n.playground=r.first),h(r=f())&&(n.viewContainerRef=r.first)}},standalone:!0,features:[l,d],decls:1,vars:5,consts:[[3,"name","alt","size","aspectRatio","color"]],template:function(e,n){e&1&&g(0,"lib-icon",0),e&2&&T("name",n.properties.name)("alt",n.properties.alt)("size",n.properties.size)("aspectRatio",n.properties.aspectRatio)("color",n.properties.color)},dependencies:[O,p],encapsulation:2,changeDetection:0})};var U=[F("IconPlayground",C)];var K={},Y=K;var X=`

Simple component to display an icon as SVG tag from an svg file located in your assets/icons folder.

Pre requirements

In order to use this component in your application, you must follow these steps:

Create assets/icons folder

In this folder, you can add all SVG required for your UI. You can also creates sub-folders but be aware, you'll need to format name as folderName/fileName.

Note: With this component, you can control the fill of the SVG by adding some color of the component (works by inheritance).

Import FileService

This service helps working with files in general but this component requires getSVG() method. Simply copy paste this service or get isolated method.

That's it \u{1F389}

You can now start importing this component in your application !

By following these guidelines, you can effectively use the lib-icon component in your Angular application.

Playground \u{1F579}\uFE0F

lib-icon
{"name":{"inputName":"name","type":"string","description":"<p>Name of the icon. +(must match the filename located in assets/icons folder, without extension .svg)</p>","options":[]},"alt":{"inputName":"alt","type":"string","description":"<p>Alternative text to be displayed when the icon is not available</p>","options":[]},"size":{"inputName":"size","type":"string","description":"<p>Size of the icon (must include css unit)</p>","options":[]},"aspectRatio":{"inputName":"aspectRatio","type":"string","description":"<p>Aspect ratio of the icon (must match css aspect-ratio property)</p>","options":[]},"color":{"inputName":"color","type":"string","description":"<p>Color of the icon (must match css aspect-ratio property)</p>","options":[]}}
{}
`,D=class t extends y{pageType="guide";pageContent=X;page=i;demoAssets=Y;constructor(){super()}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=a({type:t,selectors:[["ng-doc-page-skzo0non"]],standalone:!0,features:[G([{provide:y,useExisting:t},U,i.providers??[]]),l,d],decls:1,vars:0,template:function(e,n){e&1&&g(0,"ng-doc-page")},dependencies:[L],encapsulation:2,changeDetection:0})},ee=[b(N({},(0,B.isRoute)(i.route)?i.route:{}),{path:"",component:D,title:"Icon"})],Ee=ee;export{D as PageComponent,Ee as default}; diff --git a/chunk-KZZE6VJO.js b/chunk-OYIBIQ5V.js similarity index 99% rename from chunk-KZZE6VJO.js rename to chunk-OYIBIQ5V.js index ca6988f..231f44e 100644 --- a/chunk-KZZE6VJO.js +++ b/chunk-OYIBIQ5V.js @@ -7,4 +7,4 @@ import{a as v}from"./chunk-YTBHK5E4.js";import{a as b}from"./chunk-L4YHDAK7.js"; "wght" 400, "GRAD" 0, "opsz" 24; -}

That's it \u{1F389}

You can now start importing this component in your application !

Playground \u{1F579}\uFE0F

lib-icon-material
{"name":{"inputName":"name","type":"string","description":"<p>Name of the material icon (check google material icon website for the list of available icons)</p>","options":[]},"size":{"inputName":"size","type":"string","description":"<p>Size of the icon (must include css unit)</p>","options":[]}}
{}
`,y=class s extends h{pageType="guide";pageContent=T;page=n;demoAssets=x;constructor(){super()}static \u0275fac=function(e){return new(e||s)};static \u0275cmp=t({type:s,selectors:[["ng-doc-page-765rp5pg"]],standalone:!0,features:[F([{provide:h,useExisting:s},N,n.providers??[]]),r,c],decls:1,vars:0,template:function(e,o){e&1&&l(0,"ng-doc-page")},dependencies:[b],encapsulation:2,changeDetection:0})},z=[k(f({},(0,I.isRoute)(n.route)?n.route:{}),{path:"",component:y,title:"Icon Material"})],te=z;export{y as PageComponent,te as default}; +}

That's it \u{1F389}

You can now start importing this component in your application !

Playground \u{1F579}\uFE0F

lib-icon-material
{"name":{"inputName":"name","type":"string","description":"<p>Name of the material icon (check google material icon website for the list of available icons)</p>","options":[]},"size":{"inputName":"size","type":"string","description":"<p>Size of the icon (must include css unit)</p>","options":[]}}
{}
`,y=class s extends h{pageType="guide";pageContent=T;page=n;demoAssets=x;constructor(){super()}static \u0275fac=function(e){return new(e||s)};static \u0275cmp=t({type:s,selectors:[["ng-doc-page-1yl9vsjr"]],standalone:!0,features:[F([{provide:h,useExisting:s},N,n.providers??[]]),r,c],decls:1,vars:0,template:function(e,o){e&1&&l(0,"ng-doc-page")},dependencies:[b],encapsulation:2,changeDetection:0})},z=[k(f({},(0,I.isRoute)(n.route)?n.route:{}),{path:"",component:y,title:"Icon Material"})],te=z;export{y as PageComponent,te as default}; diff --git a/chunk-Z7QK36IY.js b/chunk-P5KW6MXK.js similarity index 87% rename from chunk-Z7QK36IY.js rename to chunk-P5KW6MXK.js index 47046c9..8f3f8e8 100644 --- a/chunk-Z7QK36IY.js +++ b/chunk-P5KW6MXK.js @@ -1 +1 @@ -import{a as i}from"./chunk-WEP4G4BU.js";import{Ha as r,Ra as p,U as a,ob as c}from"./chunk-FUUZABHH.js";import"./chunk-TWZW5B45.js";var g='

Icon

',o=class t{routes=s[0].children;headerContent=g;pageType="guide";hasBreadcrumb=!0;static \u0275fac=function(e){return new(e||t)};static \u0275cmp=a({type:t,selectors:[["ng-doc-page-wrapper-iyucen0j"]],standalone:!0,features:[c],decls:1,vars:4,consts:[[3,"routes","headerContent","hasBreadcrumb","pageType"]],template:function(e,n){e&1&&p(0,"ng-doc-page-wrapper",0),e&2&&r("routes",n.routes)("headerContent",n.headerContent)("hasBreadcrumb",n.hasBreadcrumb)("pageType",n.pageType)},dependencies:[i],encapsulation:2,changeDetection:0})},s=[{path:"",component:o,title:"Icon",children:[{path:"",loadChildren:()=>import("./chunk-6KTFR5ZY.js"),title:"Icon",data:{icon:""}}]}],l=s;export{o as PageWrapperComponent,l as default}; +import{a as i}from"./chunk-WEP4G4BU.js";import{Ha as r,Ra as p,U as a,ob as c}from"./chunk-FUUZABHH.js";import"./chunk-TWZW5B45.js";var g='

Icon

',o=class t{routes=s[0].children;headerContent=g;pageType="guide";hasBreadcrumb=!0;static \u0275fac=function(e){return new(e||t)};static \u0275cmp=a({type:t,selectors:[["ng-doc-page-wrapper-8m84borm"]],standalone:!0,features:[c],decls:1,vars:4,consts:[[3,"routes","headerContent","hasBreadcrumb","pageType"]],template:function(e,n){e&1&&p(0,"ng-doc-page-wrapper",0),e&2&&r("routes",n.routes)("headerContent",n.headerContent)("hasBreadcrumb",n.hasBreadcrumb)("pageType",n.pageType)},dependencies:[i],encapsulation:2,changeDetection:0})},s=[{path:"",component:o,title:"Icon",children:[{path:"",loadChildren:()=>import("./chunk-MA7OCDYI.js"),title:"Icon",data:{icon:""}}]}],l=s;export{o as PageWrapperComponent,l as default}; diff --git a/chunk-JRRIW6GX.js b/chunk-W3AJ6MML.js similarity index 96% rename from chunk-JRRIW6GX.js rename to chunk-W3AJ6MML.js index 14d16d1..bf4503b 100644 --- a/chunk-JRRIW6GX.js +++ b/chunk-W3AJ6MML.js @@ -1 +1 @@ -import{a as h}from"./chunk-L4YHDAK7.js";import"./chunk-WEP4G4BU.js";import{S as b,a as c}from"./chunk-FNBE65Q7.js";import{Ba as d,Ra as g,U as s,nb as l,ob as r}from"./chunk-FUUZABHH.js";import{a as i,b as t,h as y}from"./chunk-TWZW5B45.js";var m=y(b());var k={title:"Changelog",mdFile:"./index.md"},e=k;var p=[];var D={},u=D;var x='

Versions \u{1F516}

V0.0.1 - Init application \u{1F389}

Architecture

UI

Components

Core

Still in progress !

',a=class n extends c{pageType="guide";pageContent=x;page=e;demoAssets=u;constructor(){super()}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=s({type:n,selectors:[["ng-doc-page-7nnvomkb"]],standalone:!0,features:[l([{provide:c,useExisting:n},p,e.providers??[]]),d,r],decls:1,vars:0,template:function(o,P){o&1&&g(0,"ng-doc-page")},dependencies:[h],encapsulation:2,changeDetection:0})},N=[t(i({},(0,m.isRoute)(e.route)?e.route:{}),{path:"",component:a,title:"Changelog"})],F=N;export{a as PageComponent,F as default}; +import{a as h}from"./chunk-L4YHDAK7.js";import"./chunk-WEP4G4BU.js";import{S as b,a as c}from"./chunk-FNBE65Q7.js";import{Ba as d,Ra as g,U as s,nb as l,ob as r}from"./chunk-FUUZABHH.js";import{a as i,b as t,h as y}from"./chunk-TWZW5B45.js";var m=y(b());var k={title:"Changelog",mdFile:"./index.md"},e=k;var p=[];var D={},u=D;var x='

Versions \u{1F516}

V0.0.1 - Init application \u{1F389}

Architecture

UI

Components

Core

Still in progress !

',a=class n extends c{pageType="guide";pageContent=x;page=e;demoAssets=u;constructor(){super()}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=s({type:n,selectors:[["ng-doc-page-et00uf6j"]],standalone:!0,features:[l([{provide:c,useExisting:n},p,e.providers??[]]),d,r],decls:1,vars:0,template:function(o,P){o&1&&g(0,"ng-doc-page")},dependencies:[h],encapsulation:2,changeDetection:0})},N=[t(i({},(0,m.isRoute)(e.route)?e.route:{}),{path:"",component:a,title:"Changelog"})],F=N;export{a as PageComponent,F as default}; diff --git a/chunk-JLKXU7RL.js b/chunk-XLZLLBIX.js similarity index 96% rename from chunk-JLKXU7RL.js rename to chunk-XLZLLBIX.js index bbce4cd..006c866 100644 --- a/chunk-JLKXU7RL.js +++ b/chunk-XLZLLBIX.js @@ -1 +1 @@ -import{a as h}from"./chunk-L4YHDAK7.js";import"./chunk-WEP4G4BU.js";import{S as y,a as s}from"./chunk-FNBE65Q7.js";import{Ba as t,Ra as g,U as i,nb as l,ob as r}from"./chunk-FUUZABHH.js";import{a as d,b as c,h as b}from"./chunk-TWZW5B45.js";var m=b(y());var D={title:"Todo",mdFile:"./index.md"},e=D;var p=[];var x={},u=x;var P='

Current development \u23F0

Tasks on development scope (more tasks can be found in this repository using TODO Tree -vscode extensions)

Init application \u{1F389}

Core

modules

directives

guards

functions

Pipes

UI

',a=class n extends s{pageType="guide";pageContent=P;page=e;demoAssets=u;constructor(){super()}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=i({type:n,selectors:[["ng-doc-page-o4sqm749"]],standalone:!0,features:[l([{provide:s,useExisting:n},p,e.providers??[]]),t,r],decls:1,vars:0,template:function(o,N){o&1&&g(0,"ng-doc-page")},dependencies:[h],encapsulation:2,changeDetection:0})},k=[c(d({},(0,m.isRoute)(e.route)?e.route:{}),{path:"",component:a,title:"Todo"})],q=k;export{a as PageComponent,q as default}; +import{a as h}from"./chunk-L4YHDAK7.js";import"./chunk-WEP4G4BU.js";import{S as y,a as s}from"./chunk-FNBE65Q7.js";import{Ba as t,Ra as g,U as i,nb as l,ob as r}from"./chunk-FUUZABHH.js";import{a as d,b as c,h as b}from"./chunk-TWZW5B45.js";var m=b(y());var D={title:"Todo",mdFile:"./index.md"},e=D;var p=[];var x={},u=x;var P='

Current development \u23F0

Tasks on development scope (more tasks can be found in this repository using TODO Tree -vscode extensions)

Init application \u{1F389}

Core

modules

directives

guards

functions

Pipes

UI

',a=class n extends s{pageType="guide";pageContent=P;page=e;demoAssets=u;constructor(){super()}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=i({type:n,selectors:[["ng-doc-page-z182h42m"]],standalone:!0,features:[l([{provide:s,useExisting:n},p,e.providers??[]]),t,r],decls:1,vars:0,template:function(o,N){o&1&&g(0,"ng-doc-page")},dependencies:[h],encapsulation:2,changeDetection:0})},k=[c(d({},(0,m.isRoute)(e.route)?e.route:{}),{path:"",component:a,title:"Todo"})],G=k;export{a as PageComponent,G as default}; diff --git a/chunk-2IUJ2XCY.js b/chunk-XM4I3GAQ.js similarity index 50% rename from chunk-2IUJ2XCY.js rename to chunk-XM4I3GAQ.js index a061eb4..eda0110 100644 --- a/chunk-2IUJ2XCY.js +++ b/chunk-XM4I3GAQ.js @@ -1 +1 @@ -import{a as d}from"./chunk-WEP4G4BU.js";import{Ha as r,Ra as p,U as a,ob as c}from"./chunk-FUUZABHH.js";import"./chunk-TWZW5B45.js";var g='

Welcome

',o=class n{routes=s[0].children;headerContent=g;pageType="guide";hasBreadcrumb=!0;static \u0275fac=function(e){return new(e||n)};static \u0275cmp=a({type:n,selectors:[["ng-doc-page-wrapper-cgld7ihx"]],standalone:!0,features:[c],decls:1,vars:4,consts:[[3,"routes","headerContent","hasBreadcrumb","pageType"]],template:function(e,t){e&1&&p(0,"ng-doc-page-wrapper",0),e&2&&r("routes",t.routes)("headerContent",t.headerContent)("hasBreadcrumb",t.hasBreadcrumb)("pageType",t.pageType)},dependencies:[d],encapsulation:2,changeDetection:0})},s=[{path:"",component:o,title:"Welcome",children:[{path:"",loadChildren:()=>import("./chunk-6IVRQXMA.js"),title:"Welcome",data:{icon:""}}]}],u=s;export{o as PageWrapperComponent,u as default}; +import{a as d}from"./chunk-WEP4G4BU.js";import{Ha as r,Ra as p,U as a,ob as c}from"./chunk-FUUZABHH.js";import"./chunk-TWZW5B45.js";var g='

Welcome

',n=class o{routes=s[0].children;headerContent=g;pageType="guide";hasBreadcrumb=!0;static \u0275fac=function(e){return new(e||o)};static \u0275cmp=a({type:o,selectors:[["ng-doc-page-wrapper-t5hqq5wn"]],standalone:!0,features:[c],decls:1,vars:4,consts:[[3,"routes","headerContent","hasBreadcrumb","pageType"]],template:function(e,t){e&1&&p(0,"ng-doc-page-wrapper",0),e&2&&r("routes",t.routes)("headerContent",t.headerContent)("hasBreadcrumb",t.hasBreadcrumb)("pageType",t.pageType)},dependencies:[d],encapsulation:2,changeDetection:0})},s=[{path:"",component:n,title:"Welcome",children:[{path:"",loadChildren:()=>import("./chunk-K7KZHR5I.js"),title:"Welcome",data:{icon:""}}]}],u=s;export{n as PageWrapperComponent,u as default}; diff --git a/index.html b/index.html index 55aba51..3da3795 100644 --- a/index.html +++ b/index.html @@ -20,5 +20,5 @@ - + diff --git a/main-7W3F7FRZ.js b/main-IXS4QZ6X.js similarity index 99% rename from main-7W3F7FRZ.js rename to main-IXS4QZ6X.js index e78f78f..066991d 100644 --- a/main-7W3F7FRZ.js +++ b/main-IXS4QZ6X.js @@ -1,7 +1,7 @@ -import{a as ut}from"./chunk-NQCIMNAB.js";import{a as Ks}from"./chunk-P7EN3UH4.js";import{a as bs,b as ws,c as Os,d as Ms,e as ht,f as ks,g as Wn,h as Bs,i as js,j as Vs,k as Us,l as $t,m as qs,n as Ws,p as $s}from"./chunk-ZCY2UNJH.js";import{Ca as Hs,G as ns,H as os,I as is,J as rs,L as ss,P as Kl,V as as,X as Qe,Y as cs,_ as ls,a as Rn,aa as ds,b as Gr,ba as us,c as Qr,ca as ps,d as Yr,ea as gs,fa as ot,g as Fn,ga as qe,h as $,ha as fs,i as nt,ia as ms,j as Zr,ja as Wt,k as wt,l as Lo,la as Cs,m as Xr,ma as zn,n as Me,na as Bn,o as Jr,p as zo,q as qt,qa as Ds,r as Bo,ra as Ss,s as Ln,sa as jn,ta as Vn,ua as Ye,v as es,va as Ts,wa as xs,x as ts,ya as Is}from"./chunk-FNBE65Q7.js";import{$ as we,$a as oe,$b as An,Aa as Dr,Ab as Ar,Ac as Fs,B as wn,Ba as Sr,Bc as Ls,C as lr,Cb as he,Cc as zs,Da as T,E as dr,Eb as Mn,F as En,Fa as Ft,G as ur,Ga as ne,H as Dt,Ha as y,I as Ke,Ia as Lt,Ib as Ue,J as dn,Ja as Pn,Jb as Fo,K as un,Ka as zt,Kb as In,La as Ne,Lb as Oe,M as H,Ma as Tr,Mb as ye,N as pr,Na as xr,Nb as jt,O as De,Oa as wr,Ob as kn,Pa as C,Qa as D,Qb as Vt,R as St,Ra as P,Rb as Rr,S as B,Sa as K,Sb as Fr,Ta as G,U as A,Ua as Ve,Ub as Lr,Va as Re,Vb as zr,W as xe,Wb as Br,X as gr,Xa as Er,Xb as jr,Ya as Z,Yb as Vr,Za as x,Zb as Ur,_ as fr,_a as me,aa as Ee,ab as Nr,ba as mr,bb as dt,cb as Je,cc as qr,d as or,da as hr,db as et,dc as Ut,e as xn,ea as yr,eb as Pr,ec as mt,fa as Nn,fb as Or,fc as Wr,ga as Se,gb as Q,gc as $r,h as ce,ha as lt,hb as j,hc as Hr,i as de,ia as ue,ib as Pe,ja as Io,jb as ge,jc as Hl,k as He,ka as _r,kb as Mr,kc as fn,l as Mo,la as ko,lb as Ir,lc as Kr,mb as kr,mc as pe,n as je,na as pn,nb as Bt,nc as Ie,o as ir,oa as vr,ob as R,oc as hs,pa as b,pb as xt,pc as ys,qa as ee,qb as On,qc as _s,r as be,rc as vs,sa as Ao,sb as ie,sc as re,t as rr,tb as tt,tc as Es,u as sr,ua as br,ub as Fe,uc as Ns,v as Ce,va as Tt,vb as gn,vc as Ps,wb as te,wc as Un,xa as Cr,xc as qn,y as ar,yb as Ro,yc as As,z as cr,za as Ge,zc as Rs}from"./chunk-FUUZABHH.js";import{a as J,b as Ct,d as nr,h as ct,j as S}from"./chunk-TWZW5B45.js";var yt=class{};var uc=ct(fn(),1),pc=ct(Kr(),1);var Gs={arabic:"ar",armenian:"am",bulgarian:"bg",danish:"dk",dutch:"nl",english:"en",finnish:"fi",french:"fr",german:"de",greek:"gr",hungarian:"hu",indian:"in",indonesian:"id",irish:"ie",italian:"it",lithuanian:"lt",nepali:"np",norwegian:"no",portuguese:"pt",romanian:"ro",russian:"ru",serbian:"rs",slovenian:"ru",spanish:"es",swedish:"se",tamil:"ta",turkish:"tr",ukrainian:"uk",sanskrit:"sk"},Qs={dutch:/[^A-Za-zàèéìòóù0-9_'-]+/gim,english:/[^A-Za-zàèéìòóù0-9_'-]+/gim,french:/[^a-z0-9äâàéèëêïîöôùüûœç-]+/gim,italian:/[^A-Za-zàèéìòóù0-9_'-]+/gim,norwegian:/[^a-z0-9_æøåÆØÅäÄöÖüÜ]+/gim,portuguese:/[^a-z0-9à-úÀ-Ú]/gim,russian:/[^a-z0-9а-яА-ЯёЁ]+/gim,spanish:/[^a-z0-9A-Zá-úÁ-ÚñÑüÜ]+/gim,swedish:/[^a-z0-9_åÅäÄöÖüÜ-]+/gim,german:/[^a-z0-9A-ZäöüÄÖÜß]+/gim,finnish:/[^a-z0-9äöÄÖ]+/gim,danish:/[^a-z0-9æøåÆØÅ]+/gim,hungarian:/[^a-z0-9áéíóöőúüűÁÉÍÓÖŐÚÜŰ]+/gim,romanian:/[^a-z0-9ăâîșțĂÂÎȘȚ]+/gim,serbian:/[^a-z0-9čćžšđČĆŽŠĐ]+/gim,turkish:/[^a-z0-9çÇğĞıİöÖşŞüÜ]+/gim,lithuanian:/[^a-z0-9ąčęėįšųūžĄČĘĖĮŠŲŪŽ]+/gim,arabic:/[^a-z0-9أ-ي]+/gim,nepali:/[^a-z0-9अ-ह]+/gim,irish:/[^a-z0-9áéíóúÁÉÍÓÚ]+/gim,indian:/[^a-z0-9अ-ह]+/gim,armenian:/[^a-z0-9ա-ֆ]+/gim,greek:/[^a-z0-9α-ωά-ώ]+/gim,indonesian:/[^a-z0-9]+/gim,ukrainian:/[^a-z0-9а-яА-ЯіїєІЇЄ]+/gim,slovenian:/[^a-z0-9螚ȎŠ]+/gim,bulgarian:/[^a-z0-9а-яА-Я]+/gim,tamil:/[^a-z0-9அ-ஹ]+/gim,sanskrit:/[^a-z0-9A-Zāīūṛḷṃṁḥśṣṭḍṇṅñḻḹṝ]+/gim},mn=Object.keys(Gs);function Ys(e){return e!==void 0&&mn.includes(e)?Gs[e]:void 0}var Gl=Date.now().toString().slice(5),Ql=0;var Zs=BigInt(1e3),Xs=BigInt(1e6),Js=BigInt(1e9);var jo=65535;function X(e,n){if(n.length\d+)\$)?(?-?\d*\.?\d*)(?[dfs])/g,function(...t){let o=t[t.length-1],{width:i,type:r,position:s}=o,a=s?n[Number.parseInt(s)-1]:n.shift(),c=i===""?0:Number.parseInt(i);switch(r){case"d":return a.toString().padStart(c,"0");case"f":{let l=a,[u,d]=i.split(".").map(g=>Number.parseFloat(g));return typeof d=="number"&&d>=0&&(l=l.toFixed(d)),typeof u=="number"&&u>=0?l.toString().padStart(c,"0"):l.toString()}case"s":return c<0?a.toString().padEnd(-c," "):a.toString().padStart(c," ");default:return a}})}function Yl(){return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope}function Zl(){return typeof process<"u"&&process.release&&process.release.name==="node"}function ea(){return BigInt(Math.floor(performance.now()*1e6))}function Ht(e){return S(this,null,function*(){return typeof e=="number"&&(e=BigInt(e)),e{let o=n.get(t);return o!==void 0&&n.set(t,0),o===e.length})}function Hn(e,n){return S(this,null,function*(){let t={},o=n.length;for(let i=0;iCt(J({},t),{document:J(J({},t.document),n.reduce((o,i)=>{let r=i.split("."),s=r.pop(),a=o;for(let c of r)a[c]=a[c]??{},a=a[c];return a[s]=null,o},t.document))}))}var Jl=mn.join(` +import{a as Ks}from"./chunk-P7EN3UH4.js";import{a as ut}from"./chunk-NQCIMNAB.js";import{a as bs,b as ws,c as Os,d as Ms,e as ht,f as ks,g as Wn,h as Bs,i as js,j as Vs,k as Us,l as $t,m as qs,n as Ws,p as $s}from"./chunk-ZCY2UNJH.js";import{Ca as Hs,G as ns,H as os,I as is,J as rs,L as ss,P as Kl,V as as,X as Qe,Y as cs,_ as ls,a as Rn,aa as ds,b as Gr,ba as us,c as Qr,ca as ps,d as Yr,ea as gs,fa as ot,g as Fn,ga as qe,h as $,ha as fs,i as nt,ia as ms,j as Zr,ja as Wt,k as wt,l as Lo,la as Cs,m as Xr,ma as zn,n as Me,na as Bn,o as Jr,p as zo,q as qt,qa as Ds,r as Bo,ra as Ss,s as Ln,sa as jn,ta as Vn,ua as Ye,v as es,va as Ts,wa as xs,x as ts,ya as Is}from"./chunk-FNBE65Q7.js";import{$ as we,$a as oe,$b as An,Aa as Dr,Ab as Ar,Ac as Fs,B as wn,Ba as Sr,Bc as Ls,C as lr,Cb as he,Cc as zs,Da as T,E as dr,Eb as Mn,F as En,Fa as Ft,G as ur,Ga as ne,H as Dt,Ha as y,I as Ke,Ia as Lt,Ib as Ue,J as dn,Ja as Pn,Jb as Fo,K as un,Ka as zt,Kb as In,La as Ne,Lb as Oe,M as H,Ma as Tr,Mb as ye,N as pr,Na as xr,Nb as jt,O as De,Oa as wr,Ob as kn,Pa as C,Qa as D,Qb as Vt,R as St,Ra as P,Rb as Rr,S as B,Sa as K,Sb as Fr,Ta as G,U as A,Ua as Ve,Ub as Lr,Va as Re,Vb as zr,W as xe,Wb as Br,X as gr,Xa as Er,Xb as jr,Ya as Z,Yb as Vr,Za as x,Zb as Ur,_ as fr,_a as me,aa as Ee,ab as Nr,ba as mr,bb as dt,cb as Je,cc as qr,d as or,da as hr,db as et,dc as Ut,e as xn,ea as yr,eb as Pr,ec as mt,fa as Nn,fb as Or,fc as Wr,ga as Se,gb as Q,gc as $r,h as ce,ha as lt,hb as j,hc as Hr,i as de,ia as ue,ib as Pe,ja as Io,jb as ge,jc as Hl,k as He,ka as _r,kb as Mr,kc as fn,l as Mo,la as ko,lb as Ir,lc as Kr,mb as kr,mc as pe,n as je,na as pn,nb as Bt,nc as Ie,o as ir,oa as vr,ob as R,oc as hs,pa as b,pb as xt,pc as ys,qa as ee,qb as On,qc as _s,r as be,rc as vs,sa as Ao,sb as ie,sc as re,t as rr,tb as tt,tc as Es,u as sr,ua as br,ub as Fe,uc as Ns,v as Ce,va as Tt,vb as gn,vc as Ps,wb as te,wc as Un,xa as Cr,xc as qn,y as ar,yb as Ro,yc as As,z as cr,za as Ge,zc as Rs}from"./chunk-FUUZABHH.js";import{a as J,b as Ct,d as nr,h as ct,j as S}from"./chunk-TWZW5B45.js";var yt=class{};var uc=ct(fn(),1),pc=ct(Kr(),1);var Gs={arabic:"ar",armenian:"am",bulgarian:"bg",danish:"dk",dutch:"nl",english:"en",finnish:"fi",french:"fr",german:"de",greek:"gr",hungarian:"hu",indian:"in",indonesian:"id",irish:"ie",italian:"it",lithuanian:"lt",nepali:"np",norwegian:"no",portuguese:"pt",romanian:"ro",russian:"ru",serbian:"rs",slovenian:"ru",spanish:"es",swedish:"se",tamil:"ta",turkish:"tr",ukrainian:"uk",sanskrit:"sk"},Qs={dutch:/[^A-Za-zàèéìòóù0-9_'-]+/gim,english:/[^A-Za-zàèéìòóù0-9_'-]+/gim,french:/[^a-z0-9äâàéèëêïîöôùüûœç-]+/gim,italian:/[^A-Za-zàèéìòóù0-9_'-]+/gim,norwegian:/[^a-z0-9_æøåÆØÅäÄöÖüÜ]+/gim,portuguese:/[^a-z0-9à-úÀ-Ú]/gim,russian:/[^a-z0-9а-яА-ЯёЁ]+/gim,spanish:/[^a-z0-9A-Zá-úÁ-ÚñÑüÜ]+/gim,swedish:/[^a-z0-9_åÅäÄöÖüÜ-]+/gim,german:/[^a-z0-9A-ZäöüÄÖÜß]+/gim,finnish:/[^a-z0-9äöÄÖ]+/gim,danish:/[^a-z0-9æøåÆØÅ]+/gim,hungarian:/[^a-z0-9áéíóöőúüűÁÉÍÓÖŐÚÜŰ]+/gim,romanian:/[^a-z0-9ăâîșțĂÂÎȘȚ]+/gim,serbian:/[^a-z0-9čćžšđČĆŽŠĐ]+/gim,turkish:/[^a-z0-9çÇğĞıİöÖşŞüÜ]+/gim,lithuanian:/[^a-z0-9ąčęėįšųūžĄČĘĖĮŠŲŪŽ]+/gim,arabic:/[^a-z0-9أ-ي]+/gim,nepali:/[^a-z0-9अ-ह]+/gim,irish:/[^a-z0-9áéíóúÁÉÍÓÚ]+/gim,indian:/[^a-z0-9अ-ह]+/gim,armenian:/[^a-z0-9ա-ֆ]+/gim,greek:/[^a-z0-9α-ωά-ώ]+/gim,indonesian:/[^a-z0-9]+/gim,ukrainian:/[^a-z0-9а-яА-ЯіїєІЇЄ]+/gim,slovenian:/[^a-z0-9螚ȎŠ]+/gim,bulgarian:/[^a-z0-9а-яА-Я]+/gim,tamil:/[^a-z0-9அ-ஹ]+/gim,sanskrit:/[^a-z0-9A-Zāīūṛḷṃṁḥśṣṭḍṇṅñḻḹṝ]+/gim},mn=Object.keys(Gs);function Ys(e){return e!==void 0&&mn.includes(e)?Gs[e]:void 0}var Gl=Date.now().toString().slice(5),Ql=0;var Zs=BigInt(1e3),Xs=BigInt(1e6),Js=BigInt(1e9);var jo=65535;function X(e,n){if(n.length\d+)\$)?(?-?\d*\.?\d*)(?[dfs])/g,function(...t){let o=t[t.length-1],{width:i,type:r,position:s}=o,a=s?n[Number.parseInt(s)-1]:n.shift(),c=i===""?0:Number.parseInt(i);switch(r){case"d":return a.toString().padStart(c,"0");case"f":{let l=a,[u,d]=i.split(".").map(g=>Number.parseFloat(g));return typeof d=="number"&&d>=0&&(l=l.toFixed(d)),typeof u=="number"&&u>=0?l.toString().padStart(c,"0"):l.toString()}case"s":return c<0?a.toString().padEnd(-c," "):a.toString().padStart(c," ");default:return a}})}function Yl(){return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope}function Zl(){return typeof process<"u"&&process.release&&process.release.name==="node"}function ea(){return BigInt(Math.floor(performance.now()*1e6))}function Ht(e){return S(this,null,function*(){return typeof e=="number"&&(e=BigInt(e)),e{let o=n.get(t);return o!==void 0&&n.set(t,0),o===e.length})}function Hn(e,n){return S(this,null,function*(){let t={},o=n.length;for(let i=0;iCt(J({},t),{document:J(J({},t.document),n.reduce((o,i)=>{let r=i.split("."),s=r.pop(),a=o;for(let c of r)a[c]=a[c]??{},a=a[c];return a[s]=null,o},t.document))}))}var Jl=mn.join(` - `),ed={NO_LANGUAGE_WITH_CUSTOM_TOKENIZER:"Do not pass the language option to create when using a custom tokenizer.",LANGUAGE_NOT_SUPPORTED:`Language "%s" is not supported. Supported languages are: - ${Jl}`,INVALID_STEMMER_FUNCTION_TYPE:"config.stemmer property must be a function.",MISSING_STEMMER:'As of version 1.0.0 @orama/orama does not ship non English stemmers by default. To solve this, please explicitly import and specify the "%s" stemmer from the package @orama/stemmers. See https://docs.oramasearch.com/open-source/text-analysis/stemming for more information.',CUSTOM_STOP_WORDS_MUST_BE_FUNCTION_OR_ARRAY:"Custom stop words array must only contain strings.",UNSUPPORTED_COMPONENT:'Unsupported component "%s".',COMPONENT_MUST_BE_FUNCTION:'The component "%s" must be a function.',COMPONENT_MUST_BE_FUNCTION_OR_ARRAY_FUNCTIONS:'The component "%s" must be a function or an array of functions.',INVALID_SCHEMA_TYPE:'Unsupported schema type "%s" at "%s". Expected "string", "boolean" or "number" or array of them.',DOCUMENT_ID_MUST_BE_STRING:'Document id must be of type "string". Got "%s" instead.',DOCUMENT_ALREADY_EXISTS:'A document with id "%s" already exists.',DOCUMENT_DOES_NOT_EXIST:'A document with id "%s" does not exists.',MISSING_DOCUMENT_PROPERTY:'Missing searchable property "%s".',INVALID_DOCUMENT_PROPERTY:'Invalid document property "%s": expected "%s", got "%s"',UNKNOWN_INDEX:'Invalid property name "%s". Expected a wildcard string ("*") or array containing one of the following properties: %s',INVALID_BOOST_VALUE:"Boost value must be a number greater than, or less than 0.",INVALID_FILTER_OPERATION:"You can only use one operation per filter, you requested %d.",SCHEMA_VALIDATION_FAILURE:'Cannot insert document due schema validation failure on "%s" property.',INVALID_SORT_SCHEMA_TYPE:'Unsupported sort schema type "%s" at "%s". Expected "string" or "number".',CANNOT_SORT_BY_ARRAY:'Cannot configure sort for "%s" because it is an array (%s).',UNABLE_TO_SORT_ON_UNKNOWN_FIELD:'Unable to sort on unknown field "%s". Allowed fields: %s',SORT_DISABLED:"Sort is disabled. Please read the documentation at https://docs.oramasearch for more information.",UNKNOWN_GROUP_BY_PROPERTY:'Unknown groupBy property "%s".',INVALID_GROUP_BY_PROPERTY:'Invalid groupBy property "%s". Allowed types: "%s", but given "%s".',UNKNOWN_FILTER_PROPERTY:'Unknown filter property "%s".',INVALID_VECTOR_SIZE:'Vector size must be a number greater than 0. Got "%s" instead.',INVALID_VECTOR_VALUE:'Vector value must be a number greater than 0. Got "%s" instead.',INVALID_INPUT_VECTOR:`Property "%s" was declared as a %s-dimensional vector, but got a %s-dimensional vector instead. Input vectors must be of the size declared in the schema, as calculating similarity between vectors of different sizes can lead to unexpected results.`,WRONG_SEARCH_PROPERTY_TYPE:'Property "%s" is not searchable. Only "string" properties are searchable.',FACET_NOT_SUPPORTED:`Facet doens't support the type "%s".`,INVALID_DISTANCE_SUFFIX:'Invalid distance suffix "%s". Valid suffixes are: cm, m, km, mi, yd, ft.',INVALID_SEARCH_MODE:'Invalid search mode "%s". Valid modes are: "fulltext", "vector", "hybrid".',MISSING_VECTOR_AND_SECURE_PROXY:"No vector was provided and no secure proxy was configured. Please provide a vector or configure an Orama Secure Proxy to perform hybrid search.",MISSING_TERM:'"term" is a required parameter when performing hybrid search. Please provide a search term.',INVALID_VECTOR_INPUT:'Invalid "vector" property. Expected an object with "value" and "property" properties, but got "%s" instead.',PLUGIN_CRASHED:"A plugin crashed during initialization. Please check the error message for more information:"};function k(e,...n){let t=new Error(ta(ed[e]??`Unsupported Orama Error code: ${e}`,...n));return t.code=e,"captureStackTrace"in Error.prototype&&Error.captureStackTrace(t),t}function ia(e){return S(this,null,function*(){return{raw:Number(e),formatted:yield Ht(e)}})}function ra(e){return S(this,null,function*(){if(e.id){if(typeof e.id!="string")throw k("DOCUMENT_ID_MUST_BE_STRING",typeof e.id);return e.id}return yield $n()})}function Vo(e,n){return S(this,null,function*(){for(let[t,o]of Object.entries(n)){let i=e[t];if(!(typeof i>"u")&&!(o==="geopoint"&&typeof i=="object"&&typeof i.lon=="number"&&typeof i.lat=="number")&&!(o==="enum"&&(typeof i=="string"||typeof i=="number"))){if(o==="enum[]"&&Array.isArray(i)){let r=i.length;for(let s=0;se.internalIdToId.length?se(e,n.toString()):n}function Et(e,n){if(e.internalIdToId.length"u"?!1:(delete e.docs[t],e.count--,!0)})}function ud(e){return S(this,null,function*(){return e.count})}function pd(e,n){return S(this,null,function*(){let t=n;return{docs:t.docs,count:t.count,sharedInternalDocumentStore:e}})}function gd(e){return S(this,null,function*(){return{docs:e.docs,count:e.count}})}function ca(){return S(this,null,function*(){return{create:rd,get:sd,getMultiple:ad,getAll:cd,store:ld,remove:dd,count:ud,load:pd,save:gd}})}var la=["beforeInsert","afterInsert","beforeRemove","afterRemove","beforeUpdate","afterUpdate","beforeSearch","afterSearch","beforeInsertMultiple","afterInsertMultiple","beforeRemoveMultiple","afterRemoveMultiple","beforeUpdateMultiple","afterUpdateMultiple","beforeLoad","afterLoad","afterCreate"];function da(e,n){return S(this,null,function*(){var t;let o=[],i=(t=e.plugins)===null||t===void 0?void 0:t.length;if(!i)return o;for(let r=0;r=n&&r.k<=t&&X(o,r.v),t>r.k&&i(r.r))}return i(e.root),o}function Qo(e,n,t=!1){let o=[];if(e===null)return o;let i=[e.root];for(;i.length>0;){let r=i.pop();r&&(t&&r.k>=n&&X(o,r.v),!t&&r.k>n&&X(o,r.v),i.push(r.r),i.push(r.l))}return o}function Yo(e,n,t=!1){let o=[];if(e===null)return o;let i=[e.root];for(;i.length>0;){let r=i.pop();r&&(t&&r.k<=n&&X(o,r.v),!t&&r.ke.k)e=e.r;else return e;return null}function ma(e,n){return{root:{k:e,v:n,l:null,r:null,h:0}}}function ha(e,n,t){function o(i,r,s){if(i===null)return{k:r,v:s,l:null,r:null,h:0};if(ri.k)i.r=o(i.r,r,s);else{for(let c of s)i.v.push(c);return i}i.h=1+Math.max(We(i.l),We(i.r));let a=We(i.l)-We(i.r);return a>1&&ri.r.k?Ko(i):a>1&&r>i.l.k?(i.l=Ko(i.l),Go(i)):a<-1&&r{if(t.l===null&&t.r===null)o===null?e.root=null:o.l===t?o.l=null:o.r=null;else if(t.l!=null&&t.r!=null){let r=t.r,s=t;for(;r.l!=null;)s=r,r=r.l;t.k=r.k,s===t?s.r=r.r:s.l=r.r}else{let r=t.l!=null?t.l:t.r;o===null?e.root=r:o.l===t?o.l=r:o.r=r}})()}function _a(e,n,t){let o=fa(e.root,t);if(o){if(o.v.length===1){fd(e,t);return}o.v.splice(o.v.indexOf(n),1)}}function va(){return{numberToDocumentId:new Map}}function ba(e,n,t){return e.numberToDocumentId.has(n)?(e.numberToDocumentId.get(n).push(t),e):(e.numberToDocumentId.set(n,[t]),e)}function Ca(e,n,t){var o,i;e?.numberToDocumentId.set(t,((o=e?.numberToDocumentId.get(t))===null||o===void 0?void 0:o.filter(r=>r!==n))??[]),((i=e?.numberToDocumentId.get(t))===null||i===void 0?void 0:i.length)===0&&e?.numberToDocumentId.delete(t)}function Da(e,n){let t=Object.keys(n);if(t.length!==1)throw new Error("Invalid operation");let o=t[0];switch(o){case"eq":{let i=n[o];return e.numberToDocumentId.get(i)??[]}case"in":{let i=n[o],r=[];for(let s of i){let a=e.numberToDocumentId.get(s);a!=null&&X(r,a)}return r}case"nin":{let i=n[o],r=[],s=e.numberToDocumentId.keys();for(let a of s){if(i.includes(a))continue;let c=e.numberToDocumentId.get(a);c!=null&&X(r,c)}return r}}throw new Error("Invalid operation")}function Sa(e,n){let t=Object.keys(n);if(t.length!==1)throw new Error("Invalid operation");let o=t[0];switch(o){case"containsAll":{let r=n[o].map(s=>e.numberToDocumentId.get(s)??[]);return Gt(r)}}throw new Error("Invalid operation")}function Ta(e,n,t){if(e===n)return 0;let o=e;e.length>n.length&&(e=n,n=o);let i=e.length,r=n.length,s=0;for(;s0&&e.charCodeAt(~-i)===n.charCodeAt(~-r);)i--,r--;if(!i)return r>t?-1:r;if(i-=s,r-=s,i<=t&&r<=t)return i>r?i:r;let a=r-i;if(t>r)t=r;else if(a>t)return-1;let c=0,l=[],u=[];for(;cd?1:0,f+=ft)return-1}return m<=t?m:-1}function Zo(e,n,t){return S(this,null,function*(){let o=Ta(e,n,t);return{distance:o,isBounded:o>=0}})}function Xo(e,n,t){let o=Ta(e,n,t);return{distance:o,isBounded:o>=0}}var Jo=class{constructor(n,t,o){this.k=n,this.s=t,this.e=o}c={};d=[];w="";toJSON(){return{w:this.w,s:this.s,c:this.c,d:this.d,e:this.e}}};function Jt(e,n){e.w=n.w+e.s}function Gn(e,n){e.d.push(n)}function md(e,n){let t=e.d.indexOf(n);return t===-1?!1:(e.d.splice(t,1),!0)}function ei(e,n,t,o,i){if(e.e){let{w:r,d:s}=e;if(o&&r!==t)return{};if(Kt(n,r)==null&&(i?Math.abs(t.length-r.length)<=i&&Xo(t,r,i).isBounded&&(n[r]=[]):n[r]=[]),Kt(n,r)!=null&&s.length>0){let a=new Set(n[r]),c=s.length;for(let l=0;l0)){let c=new Set(r[s]),l=a.length;for(let u=0;u=n.length)){n[t]in e.c&&hn(e.c[n[t]],n,t+1,o,i,r),hn(e,n,t+1,o-1,i,r);for(let s in e.c)hn(e.c[s],n,t,o-1,i,r);for(let s in e.c)s!==n[t]&&hn(e.c[s],n,t+1,o-1,i,r)}}}function ti(e,{term:n,exact:t,tolerance:o}){if(o&&!t){let i={};return o=o||0,hn(e,n,0,o||0,o,i),i}else{let i=n.length;for(let s=0;s-1){var c;(c=o.docIDs)===null||c===void 0||c.splice(u,1),(o.docIDs==null||o.docIDs.length===0)&&(r!=null?s==="left"?r.left=o.left!==null?o.left:o.right:s==="right"&&(r.right=o.right!==null?o.right:o.left):e.root=o.left!==null?o.left:o.right);return}}let l=i%2;r=o,l===0?n.lon0;){let{node:l,depth:u}=a.pop();if(l===null)continue;let d=s(n,l.point);(o?d<=t:d>t)&&c.push({point:l.point,docIDs:l.docIDs??[]}),l.left!=null&&a.push({node:l.left,depth:u+1}),l.right!=null&&a.push({node:l.right,depth:u+1})}return i&&c.sort((l,u)=>{let d=s(n,l.point),g=s(n,u.point);return i.toLowerCase()==="asc"?d-g:g-d}),c}function Ia(e,n,t=!0,o=null,i=!1){let r=[{node:e,depth:0}],s=[];for(;r.length>0;){let c=r.pop();if(c==null||c.node==null)continue;let{node:l,depth:u}=c,d=u+1;l.left!=null&&r.push({node:l.left,depth:d}),l.right!=null&&r.push({node:l.right,depth:d});let g=yd(n,l.point);g&&t?s.push({point:l.point,docIDs:l.docIDs??[]}):!g&&!t&&s.push({point:l.point,docIDs:l.docIDs??[]})}let a=hd(n);if(o){let c=i?Aa:ka;s.sort((l,u)=>{let d=c(a,l.point),g=c(a,u.point);return o.toLowerCase()==="asc"?d-g:g-d})}return s}function hd(e){let n=0,t=0,o=0,i=e.length;for(let s=0,a=i-1;si!=d>i&&o<(u-c)*(i-l)/(d-l)+c&&(t=!t)}return t}function ka(e,n){let t=Math.PI/180,o=e.lat*t,i=n.lat*t,r=(n.lat-e.lat)*t,s=(n.lon-e.lon)*t,a=Math.sin(r/2)*Math.sin(r/2)+Math.cos(o)*Math.cos(i)*Math.sin(s/2)*Math.sin(s/2);return 6371e3*(2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a)))}function Aa(e,n){let o=.0033528106647474805,i=(1-o)*6378137,r=Math.PI/180,s=e.lat*r,a=n.lat*r,c=(n.lon-e.lon)*r,l=Math.atan((1-o)*Math.tan(s)),u=Math.atan((1-o)*Math.tan(a)),d=Math.sin(l),g=Math.cos(l),p=Math.sin(u),f=Math.cos(u),m=c,_,h=1e3,v,w,N,z,F;do{let Y=Math.sin(m),Te=Math.cos(m);N=Math.sqrt(f*Y*(f*Y)+(g*p-d*f*Te)*(g*p-d*f*Te)),z=d*p+g*f*Te,F=Math.atan2(N,z),v=g*f*Y/N,w=1-v*v;let ke=z-2*d*p/w,at=o/16*w*(4+o*(4-3*w));_=m,m=c+(1-at)*o*v*(F+at*N*(ke+at*z*(-1+2*ke*ke)))}while(Math.abs(m-_)>1e-12&&--h>0);let E=w*(6378137*6378137-i*i)/(i*i),L=1+E/16384*(4096+E*(-768+E*(320-175*E))),V=E/1024*(256+E*(-128+E*(74-47*E))),W=V*N*(z-2*d*p/w+V/4*(z*(-1+2*N*N)-V/6*F*(-3+4*N*N)*(-3+4*F*F)));return i*L*(F-W)}function Qn(e,n,t=1,o){if(n===0)throw k("INVALID_BOOST_VALUE");let i=new Map,r=e.length;for(let h=0;hv[1]-h[1]);if(t===1)return l;let u=l.length,d=[];for(let h of i.entries())d.push([h[0],h[1][0],h[1][1]]);let g=d.sort((h,v)=>h[2]>v[2]?-1:h[2]v[1]?-1:h[1]"u"){if(t===0)return[];p=0}let f=g.length,m=new Array(f);for(let h=0;h=o&&r.push([s,u])}return r.sort((s,a)=>a[1]-s[1])}function _d(e,n,t,o,i){return S(this,null,function*(){let r=se(e.sharedInternalDocumentStore,t);e.avgFieldLength[n]=((e.avgFieldLength[n]??0)*(i-1)+o.length)/i,e.fieldLengths[n][r]=o.length,e.frequencies[n][r]={}})}function vd(e,n,t,o,i){return S(this,null,function*(){let r=0;for(let c of o)c===i&&r++;let s=se(e.sharedInternalDocumentStore,t),a=r/o.length;e.frequencies[n][s][i]=a,i in e.tokenOccurrences[n]||(e.tokenOccurrences[n][i]=0),e.tokenOccurrences[n][i]=(e.tokenOccurrences[n][i]??0)+1})}function bd(e,n,t,o){return S(this,null,function*(){let i=se(e.sharedInternalDocumentStore,t);e.avgFieldLength[n]=(e.avgFieldLength[n]*o-e.fieldLengths[n][i])/(o-1),e.fieldLengths[n][i]=void 0,e.frequencies[n][i]=void 0})}function Cd(e,n,t){return S(this,null,function*(){e.tokenOccurrences[n][t]--})}function Dd(e,n,t,o,i){return S(this,null,function*(){let r=Array.from(i),s=n.avgFieldLength[t],a=n.fieldLengths[t],c=n.tokenOccurrences[t],l=n.frequencies[t],u=typeof c[o]=="number"?c[o]??0:0,d=[],g=r.length;for(let f=0;fS(this,null,function*(){let c=se(n.sharedInternalDocumentStore,o),{type:l,node:u}=n.indexes[t];switch(l){case"Bool":{u[a?"true":"false"].push(c);break}case"AVL":{ha(u,a,[c]);break}case"Radix":{let d=yield r.tokenize(a,i,t);yield e.insertDocumentScoreParameters(n,t,c,d,s);for(let g of d)yield e.insertTokenScoreParameters(n,t,c,d,g),wa(u,g,c);break}case"Flat":{ba(u,a,c);break}case"BKD":{Pa(u,a,[c]);break}}})}function Td(e,n,t,o,i,r,s,a,c){return S(this,null,function*(){if(pt(r))return xd(n,t,i,o);let l=Sd(e,n,t,o,s,a,c);if(!Yt(r))return l(i);let u=i,d=u.length;for(let g=0;gJ({[a]:[]},s),{});for(let s of o){let a=t[s];if(typeof n.indexes[s]>"u")throw k("UNKNOWN_FILTER_PROPERTY",s);let{node:c,type:l,isArray:u}=n.indexes[s];if(l==="Bool"){let p=c[a.toString()];X(i[s],p);continue}if(l==="BKD"){let g;if("radius"in a)g="radius";else if("polygon"in a)g="polygon";else throw new Error(`Invalid operation ${a}`);if(g==="radius"){let{value:p,coordinates:f,unit:m="m",inside:_=!0,highPrecision:h=!1}=a[g],v=oa(p,m),w=Ma(c.root,f,v,_,void 0,h);X(i[s],w.map(({docIDs:N})=>N).flat())}else{let{coordinates:p,inside:f=!0,highPrecision:m=!1}=a[g],_=Ia(c.root,p,f,void 0,m);X(i[s],_.map(({docIDs:h})=>h).flat())}continue}if(l==="Radix"&&(typeof a=="string"||Array.isArray(a))){for(let g of[a].flat()){let p=yield e.tokenizer.tokenize(g,e.language,s);for(let f of p){let m=ti(c,{term:f,exact:!0});X(i[s],Object.values(m).flat())}}continue}let d=Object.keys(a);if(d.length>1)throw k("INVALID_FILTER_OPERATION",d.length);if(l==="Flat"){u?X(i[s],Sa(c,a)):X(i[s],Da(c,a));continue}if(l==="AVL"){let g=d[0],p=a[g],f=[];switch(g){case"gt":{f=Qo(c,p,!1);break}case"gte":{f=Qo(c,p,!0);break}case"lt":{f=Yo(c,p,!1);break}case"lte":{f=Yo(c,p,!0);break}case"eq":{f=ya(c,p)??[];break}case"between":{let[m,_]=p;f=ga(c,m,_);break}}X(i[s],f)}}return Gt(Object.values(i))})}function Pd(e){return S(this,null,function*(){return e.searchableProperties})}function Od(e){return S(this,null,function*(){return e.searchablePropertiesWithTypes})}function za(e){let n=Nt(e.e,e.s,e.k);n.d=e.d,n.w=e.w;for(let t of Object.keys(e.c))n.c[t]=za(e.c[t]);return n}function Md(e){return{numberToDocumentId:new Map(e)}}function Id(e){return Array.from(e.numberToDocumentId.entries())}function kd(e,n){return S(this,null,function*(){let{indexes:t,vectorIndexes:o,searchableProperties:i,searchablePropertiesWithTypes:r,frequencies:s,tokenOccurrences:a,avgFieldLength:c,fieldLengths:l}=n,u={},d={};for(let g of Object.keys(t)){let{node:p,type:f,isArray:m}=t[g];switch(f){case"Radix":u[g]={type:"Radix",node:za(p),isArray:m};break;case"Flat":u[g]={type:"Flat",node:Md(p),isArray:m};break;default:u[g]=t[g]}}for(let g of Object.keys(o)){let p=o[g].vectors;for(let f in p)p[f]=[p[f][0],new Float32Array(p[f][1])];d[g]={size:o[g].size,vectors:p}}return{sharedInternalDocumentStore:e,indexes:u,vectorIndexes:d,searchableProperties:i,searchablePropertiesWithTypes:r,frequencies:s,tokenOccurrences:a,avgFieldLength:c,fieldLengths:l}})}function Ad(e){return S(this,null,function*(){let{indexes:n,vectorIndexes:t,searchableProperties:o,searchablePropertiesWithTypes:i,frequencies:r,tokenOccurrences:s,avgFieldLength:a,fieldLengths:c}=e,l={};for(let d of Object.keys(t)){let g=t[d].vectors;for(let p in g)g[p]=[g[p][0],Array.from(g[p][1])];l[d]={size:t[d].size,vectors:g}}let u={};for(let d of Object.keys(n)){let{type:g,node:p,isArray:f}=n[d];if(g!=="Flat"){u[d]=n[d];continue}u[d]={type:"Flat",node:Id(p),isArray:f}}return{indexes:u,vectorIndexes:l,searchableProperties:o,searchablePropertiesWithTypes:i,frequencies:r,tokenOccurrences:s,avgFieldLength:a,fieldLengths:c}})}function Ba(){return S(this,null,function*(){return{create:La,insert:Td,remove:wd,insertDocumentScoreParameters:_d,insertTokenScoreParameters:vd,removeDocumentScoreParameters:bd,removeTokenScoreParameters:Cd,calculateResultScores:Dd,search:Ed,searchByWhereClause:Nd,getSearchableProperties:Pd,getSearchablePropertiesWithTypes:Od,load:kd,save:Ad}})}function ja(e,n,t,o,i){let r={language:e.tokenizer.language,sharedInternalDocumentStore:n,enabled:!0,isSorted:!0,sortableProperties:[],sortablePropertiesWithTypes:{},sorts:{}};for(let[s,a]of Object.entries(t)){let c=`${i}${i?".":""}${s}`;if(!o.includes(c)){if(typeof a=="object"&&!Array.isArray(a)){let l=ja(e,n,a,o,c);X(r.sortableProperties,l.sortableProperties),r.sorts=J(J({},r.sorts),l.sorts),r.sortablePropertiesWithTypes=J(J({},r.sortablePropertiesWithTypes),l.sortablePropertiesWithTypes);continue}if(!pt(a))switch(a){case"boolean":case"number":case"string":r.sortableProperties.push(c),r.sortablePropertiesWithTypes[c]=a,r.sorts[c]={docs:new Map,orderedDocsToRemove:new Map,orderedDocs:[],type:a};break;case"geopoint":case"enum":continue;case"enum[]":case"boolean[]":case"number[]":case"string[]":continue;default:throw k("INVALID_SORT_SCHEMA_TYPE",Array.isArray(a)?"array":a,c)}}}return r}function Rd(e,n,t,o){return S(this,null,function*(){return o?.enabled!==!1?ja(e,n,t,(o||{}).unsortableProperties||[],""):{disabled:!0}})}function Fd(e,n,t,o){return S(this,null,function*(){if(!e.enabled)return;e.isSorted=!1;let i=se(e.sharedInternalDocumentStore,t),r=e.sorts[n];r.orderedDocsToRemove.has(i)&&oi(e,n),r.docs.set(i,r.orderedDocs.length),r.orderedDocs.push([i,o])})}function Va(e){if(e.isSorted||!e.enabled)return;let n=Object.keys(e.sorts);for(let t of n)jd(e,t);e.isSorted=!0}function Ld(e,n,t){return n[1].localeCompare(t[1],Ys(e))}function zd(e,n){return e[1]-n[1]}function Bd(e,n){return n[1]?-1:1}function jd(e,n){let t=e.sorts[n],o;switch(t.type){case"string":o=Ld.bind(null,e.language);break;case"number":o=zd.bind(null);break;case"boolean":o=Bd.bind(null);break}t.orderedDocs.sort(o);let i=t.orderedDocs.length;for(let r=0;r!t.orderedDocsToRemove.has(o[0])),t.orderedDocsToRemove.clear())}function Ud(e,n,t){return S(this,null,function*(){if(!e.enabled)return;let o=e.sorts[n],i=se(e.sharedInternalDocumentStore,t);o.docs.get(i)&&(o.docs.delete(i),o.orderedDocsToRemove.set(i,!0))})}function qd(e,n,t){return S(this,null,function*(){if(!e.enabled)throw k("SORT_DISABLED");let o=t.property,i=t.order==="DESC",r=e.sorts[o];if(!r)throw k("UNABLE_TO_SORT_ON_UNKNOWN_FIELD",o,e.sortableProperties.join(", "));return oi(e,o),Va(e),n.sort((s,a)=>{let c=r.docs.get(se(e.sharedInternalDocumentStore,s[0])),l=r.docs.get(se(e.sharedInternalDocumentStore,a[0])),u=typeof c<"u",d=typeof l<"u";return!u&&!d?0:u?d?i?l-c:c-l:-1:1}),n})}function Wd(e){return S(this,null,function*(){return e.enabled?e.sortableProperties:[]})}function $d(e){return S(this,null,function*(){return e.enabled?e.sortablePropertiesWithTypes:{}})}function Hd(e,n){return S(this,null,function*(){let t=n;if(!t.enabled)return{enabled:!1};let o=Object.keys(t.sorts).reduce((i,r)=>{let{docs:s,orderedDocs:a,type:c}=t.sorts[r];return i[r]={docs:new Map(Object.entries(s).map(([l,u])=>[+l,u])),orderedDocsToRemove:new Map,orderedDocs:a,type:c},i},{});return{sharedInternalDocumentStore:e,language:t.language,sortableProperties:t.sortableProperties,sortablePropertiesWithTypes:t.sortablePropertiesWithTypes,sorts:o,enabled:!0,isSorted:t.isSorted}})}function Kd(e){return S(this,null,function*(){if(!e.enabled)return{enabled:!1};Vd(e),Va(e);let n=Object.keys(e.sorts).reduce((t,o)=>{let{docs:i,orderedDocs:r,type:s}=e.sorts[o];return t[o]={docs:Object.fromEntries(i.entries()),orderedDocs:r,type:s},t},{});return{language:e.language,sortableProperties:e.sortableProperties,sortablePropertiesWithTypes:e.sortablePropertiesWithTypes,sorts:n,enabled:e.enabled,isSorted:e.isSorted}})}function Ua(){return S(this,null,function*(){return{create:Rd,insert:Fd,remove:Ud,save:Kd,load:Hd,sortBy:qd,getSortableProperties:Wd,getSortablePropertiesWithTypes:$d}})}var Gd=[65,65,65,65,65,65,65,67,69,69,69,69,73,73,73,73,69,78,79,79,79,79,79,null,79,85,85,85,85,89,80,115,97,97,97,97,97,97,97,99,101,101,101,101,105,105,105,105,101,110,111,111,111,111,111,null,111,117,117,117,117,121,112,121,65,97,65,97,65,97,67,99,67,99,67,99,67,99,68,100,68,100,69,101,69,101,69,101,69,101,69,101,71,103,71,103,71,103,71,103,72,104,72,104,73,105,73,105,73,105,73,105,73,105,73,105,74,106,75,107,107,76,108,76,108,76,108,76,108,76,108,78,110,78,110,78,110,110,78,110,79,111,79,111,79,111,79,111,82,114,82,114,82,114,83,115,83,115,83,115,83,115,84,116,84,116,84,116,85,117,85,117,85,117,85,117,85,117,85,117,87,119,89,121,89,90,122,90,122,90,122,115];function Qd(e){return e<192||e>383?e:Gd[e-192]||e}function qa(e){let n=[];for(let t=0;t{e[_t]=void 0}),e[_t]=0),e[_t]>1e3?(iu("Orama's insert operation is synchronous. Please avoid inserting a large number of document in a single operation in order not to block the main thread or, in alternative, please use insertMultiple.",{code:"ORAMA0001"}),e[_t]=-1):e[_t]>=0&&e[_t]++}function Qa(e,n,t,o){return S(this,null,function*(){let i=yield e.validateSchema(n,e.schema);if(i)throw k("SCHEMA_VALIDATION_FAILURE",i);return au(e,n,t,o)})}var ru=new Set(["enum","enum[]"]),su=new Set(["string","number"]);function au(e,n,t,o){return S(this,null,function*(){let{index:i,docs:r}=e.data,s=yield e.getDocumentIndexId(n);if(typeof s!="string")throw k("DOCUMENT_ID_MUST_BE_STRING",typeof s);if(!(yield e.documentsStore.store(r,s,n)))throw k("DOCUMENT_ALREADY_EXISTS",s);let a=yield e.documentsStore.count(r);o||(yield $o(e.beforeInsert,e,s,n));let c=yield e.index.getSearchableProperties(i),l=yield e.index.getSearchablePropertiesWithTypes(i),u=yield e.getDocumentProperties(n,c);for(let[v,w]of Object.entries(u)){if(typeof w>"u")continue;let N=typeof w,z=l[v];if(!(sa(z)&&typeof w=="object"&&typeof w.lon=="number"&&typeof w.lat=="number")&&!(pt(z)&&Array.isArray(w))&&!(Yt(z)&&Array.isArray(w))&&!(ru.has(z)&&su.has(N))&&N!==z)throw k("INVALID_DOCUMENT_PROPERTY",v,z,N)}for(let v of c){var d,g,p,f;let w=u[v];if(typeof w>"u")continue;let N=l[v];yield(g=(d=e.index).beforeInsert)===null||g===void 0?void 0:g.call(d,e.data.index,v,s,w,N,t,e.tokenizer,a),yield e.index.insert(e.index,e.data.index,v,s,w,N,t,e.tokenizer,a),yield(f=(p=e.index).afterInsert)===null||f===void 0?void 0:f.call(p,e.data.index,v,s,w,N,t,e.tokenizer,a)}let m=yield e.sorter.getSortableProperties(e.data.sorting),_=yield e.sorter.getSortablePropertiesWithTypes(e.data.sorting),h=yield e.getDocumentProperties(n,m);for(let v of m){let w=h[v];if(typeof w>"u")continue;let N=_[v];yield e.sorter.insert(e.data.sorting,v,s,w,N,t)}return o||(yield $o(e.afterInsert,e,s,n)),Ga(e),s})}function ci(e,n,t,o,i,r){return S(this,null,function*(){i||(yield Ho(e.beforeInsertMultiple,e,n));let s=n.length,a=e.schema;for(let c=0;c{let l=0;function u(){return S(this,null,function*(){let d=n.slice(l*t,++l*t);if(!d.length)return a();for(let g of d)try{let p=yield Qa(e,g,o,i);s.push(p)}catch(p){c(p)}setTimeout(u,r)})}setTimeout(u,r)}),i||(yield Ho(e.afterInsertMultiple,e,n)),s})}var li="fulltext",Ya="hybrid",Za="vector";function en(e,n){let t=new Map,o=[];for(let i of e)t.set(i,!0);for(let i of n){let[r]=i;t.has(r)&&(o.push(i),t.delete(r))}return o}function lu(e,n){return e[1]-n[1]}function du(e,n){return n[1]-e[1]}function uu(e="desc"){return e.toLowerCase()==="asc"?lu:du}function tn(e,n,t){return S(this,null,function*(){let o={},i=n.map(([l])=>l),r=yield e.documentsStore.getMultiple(e.data.docs,i),s=Object.keys(t),a=yield e.index.getSearchablePropertiesWithTypes(e.data.index);for(let l of s){let u;if(a[l]==="number"){let{ranges:d}=t[l],g=d.length,p=Array.from({length:g});for(let f=0;f{for(let i of e){let r=`${i.from}-${i.to}`;t?.has(r)||o>=i.from&&o<=i.to&&(n[r]===void 0?n[r]=1:(n[r]++,t?.add(r)))}}}function Ja(e,n,t){let o=n==="boolean"?"false":"";return i=>{let r=i?.toString()??o;t?.has(r)||(e[r]=(e[r]??0)+1,t?.add(r))}}var pu={reducer:(e,n,t,o)=>(n[o]=t,n),getInitialValue:e=>Array.from({length:e})},ec=["string","number","boolean"];function nn(e,n,t){return S(this,null,function*(){let o=t.properties,i=o.length,r=yield e.index.getSearchablePropertiesWithTypes(e.data.index);for(let h=0;h"u")throw k("UNKNOWN_GROUP_BY_PROPERTY",v);if(!ec.includes(r[v]))throw k("INVALID_GROUP_BY_PROPERTY",v,ec.join(", "),r[v])}let s=n.map(([h])=>Et(e.internalDocumentIDStore,h)),a=yield e.documentsStore.getMultiple(e.data.docs,s),c=a.length,l=t.maxResult||Number.MAX_SAFE_INTEGER,u=[],d={};for(let h=0;h"u")continue;let L=typeof E!="boolean"?E:""+E,V=w.perValue[L]??{indexes:[],count:0};V.count>=l||(V.indexes.push(z),V.count++,w.perValue[L]=V,N.add(E))}u.push(Array.from(N)),d[v]=w}let g=tc(u),p=g.length,f=[];for(let h=0;hF-E),N.indexes.length!==0&&f.push(N)}let m=f.length,_=Array.from({length:m});for(let h=0;h({id:s[L],score:n[L][1],document:a[L]})),z=w.reducer.bind(null,v.values),F=w.getInitialValue(v.indexes.length),E=N.reduce(z,F);_[h]={values:v.values,result:E}}return _})}function tc(e,n=0){if(n+1===e.length)return e[n].map(r=>[r]);let t=e[n],o=tc(e,n+1),i=[];for(let r of t)for(let s of o){let a=[r];X(a,s),i.push(a)}return i}function nc(e,n,t){return S(this,null,function*(){let o=yield it();e.beforeSearch&&(yield Xt(e.beforeSearch,e,n,t)),n.relevance=Object.assign(Jn,n.relevance??{});let i=Object.keys(e.data.index.vectorIndexes),r=n.facets&&Object.keys(n.facets).length>0,{limit:s=10,offset:a=0,term:c,properties:l,threshold:u=1,distinctOn:d,includeVectors:g=!1}=n,p=n.preflight===!0,{index:f,docs:m}=e.data,_=yield e.tokenizer.tokenize(c??"",t),h=e.caches.propertiesToSearch;if(!h){let W=yield e.index.getSearchablePropertiesWithTypes(f);h=yield e.index.getSearchableProperties(f),h=h.filter(fe=>W[fe].startsWith("string")),e.caches.propertiesToSearch=h}if(l&&l!=="*"){for(let W of l)if(!h.includes(W))throw k("UNKNOWN_INDEX",W,h.join(", "));h=h.filter(W=>l.includes(W))}let v=yield Pt(e.tokenizer,e.index,e.documentsStore,t,n,h,_,yield e.documentsStore.count(m),o),w=Object.keys(n.where??{}).length>0,N=[];w&&(N=yield e.index.searchByWhereClause(v,f,n.where));let z=_.length;if(z||l&&l.length>0){let W=h.length;for(let fe=0;fe[W,0]));let E=Object.entries(v.uniqueDocsIDs).map(([W,fe])=>[+W,fe]);if(w&&(E=en(N,E)),n.sortBy)if(typeof n.sortBy=="function"){let W=E.map(([Te])=>Te),Y=(yield e.documentsStore.getMultiple(e.data.docs,W)).map((Te,ke)=>[E[ke][0],E[ke][1],Te]);Y.sort(n.sortBy),E=Y.map(([Te,ke])=>[Te,ke])}else E=yield e.sorter.sortBy(e.data.sorting,E,n.sortBy).then(W=>W.map(([fe,Y])=>[se(e.internalDocumentIDStore,fe),Y]));else E=E.sort(na);let L;p||(L=yield d?oc(e,E,a,s,d):eo(e,E,a,s));let V={elapsed:{formatted:"",raw:0},hits:[],count:E.length};if(typeof L<"u"&&(V.hits=L.filter(Boolean),g||Kn(V,i)),r){let W=yield tn(e,E,n.facets);V.facets=W}return n.groupBy&&(V.groups=yield nn(e,E,n.groupBy)),e.afterSearch&&(yield Zt(e.afterSearch,e,n,t,V)),V.elapsed=yield e.formatElapsedTime((yield it())-v.timeStart),V})}function ic(e,n,t="english"){return S(this,null,function*(){let o=yield it();e.beforeSearch&&(yield Xt(e.beforeSearch,e,n,t));let{vector:i}=n;if(i&&(!("value"in i)||!("property"in i)))throw k("INVALID_VECTOR_INPUT",Object.keys(i).join(", "));let{limit:r=10,offset:s=0,includeVectors:a=!1}=n,c=e.data.index.vectorIndexes[i.property],l=c.size,u=c.vectors,d=n.facets&&Object.keys(n.facets).length>0,g=Object.keys(n.where??{}).length>0,{index:p,docs:f}=e.data;if(i?.value.length!==l)throw k("INVALID_INPUT_VECTOR",i?.property,l,i?.value.length);i instanceof Float32Array||(i.value=new Float32Array(i.value));let m=Yn(i.value,u,l,n.similarity).map(([V,W])=>[se(e.internalDocumentIDStore,V),W]),_=e.caches.propertiesToSearch;if(!_){let V=yield e.index.getSearchablePropertiesWithTypes(p);_=yield e.index.getSearchableProperties(p),_=_.filter(W=>V[W].startsWith("string")),e.caches.propertiesToSearch=_}let h=[],v=yield Pt(e.tokenizer,e.index,e.documentsStore,t,n,_,h,yield e.documentsStore.count(f),o),w=[];g&&(w=yield e.index.searchByWhereClause(v,p,n.where),m=en(w,m));let N=[];d&&(N=yield tn(e,m,n.facets));let z=Array.from({length:r});for(let V=0;V0,[c,l]=yield Promise.all([gu(e,n,t),fu(e,n)]),{index:u,docs:d}=e.data,g=n.hybridWeights,p=hu(c,l,n.term??"",g),f=yield e.tokenizer.tokenize(n.term??"",t),m=e.caches.propertiesToSearch;if(!m){let L=yield e.index.getSearchablePropertiesWithTypes(u);m=yield e.index.getSearchableProperties(u),m=m.filter(V=>L[V].startsWith("string")),e.caches.propertiesToSearch=m}if(n.properties&&n.properties!=="*"){for(let L of n.properties)if(!m.includes(L))throw k("UNKNOWN_INDEX",L,m.join(", "));m=m.filter(L=>n.properties.includes(L))}let _=yield Pt(e.tokenizer,e.index,e.documentsStore,t,n,m,f,yield e.documentsStore.count(d),o),h=Object.keys(n.where??{}).length>0,v=[];h&&(v=yield e.index.searchByWhereClause(_,u,n.where),p=en(v,p).slice(i,i+r));let w;a&&(w=yield tn(e,p,n.facets));let N;n.groupBy&&(N=yield nn(e,p,n.groupBy));let z=(yield eo(e,p,i,r)).filter(Boolean);e.afterSearch&&(yield Zt(e.afterSearch,e,n,t,z));let F=yield it(),E=J(J({count:p.length,elapsed:{raw:Number(F-o),formatted:yield Ht(F-o)},hits:z},w?{facets:w}:{}),N?{groups:N}:{});if(!s){let L=Object.keys(e.data.index.vectorIndexes);Kn(E,L)}return E})}function gu(e,n,t){return S(this,null,function*(){let o=yield it();n.relevance=Object.assign(Jn,n.relevance??{});let{term:i="",properties:r,threshold:s=1}=n,{index:a,docs:c}=e.data,l=yield e.tokenizer.tokenize(i,t),u=e.caches.propertiesToSearch;if(!u){let m=yield e.index.getSearchablePropertiesWithTypes(a);u=yield e.index.getSearchableProperties(a),u=u.filter(_=>m[_].startsWith("string")),e.caches.propertiesToSearch=u}if(r&&r!=="*"){let m=new Set(u),_=new Set(r);for(let h of r)if(!m.has(h))throw k("UNKNOWN_INDEX",h,u.join(", "));u=u.filter(h=>_.has(h))}let d=yield Pt(e.tokenizer,e.index,e.documentsStore,t,n,u,l,yield e.documentsStore.count(c),o),g=l.length;if(g||r&&r.length>0){let m=u.length;for(let _=0;_[m,0]));let f=Object.entries(d.uniqueDocsIDs).map(([m,_])=>[+m,_]).sort((m,_)=>_[1]-m[1]);return ac(f)})}function fu(e,n){return S(this,null,function*(){let t=n.vector,o=e.data.index.vectorIndexes[t?.property],i=o.size,r=o.vectors;if(t&&(!t.value||!t.property))throw k("INVALID_VECTOR_INPUT",Object.keys(t).join(", "));if(t.value.length!==i)throw k("INVALID_INPUT_VECTOR",t.property,i,t.value.length);t instanceof Float32Array||(t.value=new Float32Array(t.value));let s=Yn(t.value,r,i,n.similarity).map(([a,c])=>[se(e.internalDocumentIDStore,a),c]);return ac(s)})}function di([,e]){return e}function ac(e){let n=Math.max.apply(Math,e.map(di));return e.map(([t,o])=>[t,o/n])}function rc(e,n){return e/n}function mu(e,n){return(t,o)=>t*e+o*n}function hu(e,n,t,o){let i=Math.max.apply(Math,e.map(di)),r=Math.max.apply(Math,n.map(di)),s=o&&o.text&&o.vector,{text:a,vector:c}=s?o:yu(t),l=new Map,u=e.length,d=mu(a,c);for(let p=0;pf[1]-p[1])}function yu(e){return{text:.5,vector:.5}}var Jn={k:1.2,b:.75,d:.5};function Pt(e,n,t,o,i,r,s,a,c){return S(this,null,function*(){let l={},u={};for(let d of r){let g={};for(let p of s)g[p]=[];l[d]=g,u[d]=[]}return{timeStart:c,tokenizer:e,index:n,documentsStore:t,language:o,params:i,docsCount:a,uniqueDocsIDs:{},indexMap:l,docsIntersection:u}})}function ui(e,n,t){return S(this,null,function*(){let o=n.mode??li;if(o===li)return nc(e,n,t);if(o===Za)return ic(e,n);if(o===Ya)return sc(e,n);throw k("INVALID_SEARCH_MODE",o)})}function oc(e,n,t,o,i){return S(this,null,function*(){let r=e.data.docs,s=new Map,a=[],c=new Set,l=n.length,u=0;for(let d=0;d"u")continue;let[p,f]=g;if(c.has(p))continue;let m=yield e.documentsStore.get(r,p),_=yield Qt(m,i);if(!(typeof _>"u"||s.has(_))&&(s.set(_,!0),u++,!(u<=t)&&(a.push({id:Et(e.internalDocumentIDStore,p),score:f,document:m}),c.add(p),u>=t+o)))break}return a})}function eo(e,n,t,o){return S(this,null,function*(){let i=e.data.docs,r=Array.from({length:o}),s=new Set;for(let a=t;a"u")break;let[l,u]=c;if(!s.has(l)){let d=yield e.documentsStore.get(i,l);r[a]={id:Et(e.internalDocumentIDStore,l),score:u,document:d},s.add(l)}}return r})}function cc(e,n){return S(this,null,function*(){"positions"in e.data||Object.assign(e.data,{positions:{}}),yield lc(e,yield e.documentsStore.get(e.data.docs,n),n)})}var vu=/[\p{L}0-9_'-]+/gimu;function lc(r,s,a){return S(this,arguments,function*(e,n,t,o="",i=e.schema){e.data.positions[t]=Object.create(null);for(let c of Object.keys(n)){let l=typeof n[c]=="object",u=typeof i[c]=="object",d=`${o}${String(c)}`;if(l&&c in i&&u&&lc(e,n[c],t,d+".",i[c]),!(typeof n[c]=="string"&&c in i&&!u))continue;e.data.positions[t][d]=Object.create(null);let g=n[c],p;for(;(p=vu.exec(g))!==null;){let f=p[0].toLowerCase(),m=`${e.tokenizer.language}:${f}`,_;e.tokenizer.normalizationCache.has(m)?_=e.tokenizer.normalizationCache.get(m):([_]=yield e.tokenizer.tokenize(f),e.tokenizer.normalizationCache.set(m,_)),Array.isArray(e.data.positions[t][d][_])||(e.data.positions[t][d][_]=[]);let h=p.index,v=p[0].length;e.data.positions[t][d][_].push({start:h,length:v})}}})}function dc(e,n,t){return S(this,null,function*(){let o=yield ui(e,n,t),i=yield e.tokenizer.tokenize(n.term??"",t),r=[];for(let s of o.hits){let a=Object.entries(e.data.positions[s.id]),c=[];for(let[l,u]of a){let d=[],g=Object.entries(u);for(let p of g){let[f]=p;for(let m of i)if(n.tolerance){if((yield Zo(f,m,n.tolerance)).isBounded){d.push(p);break}}else if(f.startsWith(m)){d.push(p);break}}c.push([l,Object.fromEntries(d)])}r.push(Object.assign(s,{positions:Object.fromEntries(c)}))}return o.hits=r,o})}var to=class extends yt{constructor(n){super(),this.options=n,this.db$=Mo(si({schema:{title:"string",section:"string",content:"string"},plugins:[{name:"highlight",afterInsert:cc}],components:{tokenizer:{stemmer:n?.stemmer}}})).pipe(Ke(t=>this.request("assets/ng-doc/indexes.json").pipe(Ke(o=>ci(t,o)),je(()=>t))),En(1))}search(n){return this.db$.pipe(Ke(t=>dc(t,{term:n,boost:{title:4,section:2},threshold:.3,properties:["title","section","content"],tolerance:this.options?.tolerance,exact:this.options?.exact,limit:this.options?.limit??10})),je(t=>t.hits.map(o=>{let i=(0,pc.objectKeys)(o.positions);return{index:o.document,positions:i.reduce((r,s)=>(r[s]=[...(0,uc.asArray)(r[s]),...Object.values(o.positions[s]).flat()],r),{})}})))}request(n){return Mo(fetch(n)).pipe(Ke(t=>t.json()))}};var bu=["ng-doc-blockquote",""],Cu=["*"];function Du(e,n){if(e&1&&P(0,"ng-doc-icon",2),e&2){let t=x(2);y("icon",t.icon)}}function Su(e,n){e&1&&P(0,"ng-doc-icon",3)}function Tu(e,n){e&1&&P(0,"ng-doc-icon",4)}function xu(e,n){e&1&&P(0,"ng-doc-icon",5)}function wu(e,n){e&1&&P(0,"ng-doc-icon",6)}function Eu(e,n){if(e&1&&T(0,Su,1,0,"ng-doc-icon",3)(1,Tu,1,0,"ng-doc-icon",4)(2,xu,1,0,"ng-doc-icon",5)(3,wu,1,0,"ng-doc-icon",6),e&2){let t,o=x(2);Ne((t=o.type)==="note"?0:t==="warning"?1:t==="success"?2:t==="alert"?3:-1)}}function Nu(e,n){if(e&1&&(C(0,"div",0),T(1,Du,1,1,"ng-doc-icon",2)(2,Eu,4,1),D()),e&2){let t=x();b(),Ne(t.icon?1:2)}}var gc=(()=>{class e{constructor(){this.type="default"}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["blockquote","ng-doc-blockquote",""]],hostVars:1,hostBindings:function(o,i){o&2&&ne("data-ng-doc-type",i.type)},inputs:{type:"type",icon:"icon"},standalone:!0,features:[R],attrs:bu,ngContentSelectors:Cu,decls:3,vars:1,consts:[[1,"ng-doc-blockquote-icon"],[1,"ng-doc-blockquote"],["size","24",3,"icon"],["icon","info","size","24"],["icon","alert-triangle","size","24"],["icon","check","size","24"],["icon","alert-circle","size","24"]],template:function(o,i){o&1&&(me(),T(0,Nu,3,1,"div",0),C(1,"div",1),oe(2),D()),o&2&&Ne(i.type!=="default"?0:-1)},dependencies:[re],styles:["[_nghost-%COMP%]{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;display:flex;padding:calc(var(--ng-doc-base-gutter) * 2);border-radius:var(--ng-doc-base-gutter);margin:var(--ng-doc-blockquote-margin);background:color-mix(in srgb,var(--ng-doc-blockquote-background, var(--ng-doc-base-9)),transparent 90%);border:1px solid color-mix(in srgb,var(--ng-doc-blockquote-border-color, var(--ng-doc-base-9)),transparent 80%);overflow:hidden;--ng-doc-code-margin: var(--ng-doc-base-gutter) 0}[data-ng-doc-type=note][_nghost-%COMP%]{--ng-doc-blockquote-background: var(--ng-doc-info);--ng-doc-blockquote-border-color: var(--ng-doc-info);--ng-doc-icon-color: var(--ng-doc-info)}[data-ng-doc-type=warning][_nghost-%COMP%]{--ng-doc-blockquote-background: var(--ng-doc-warning);--ng-doc-blockquote-border-color: var(--ng-doc-warning);--ng-doc-icon-color: var(--ng-doc-warning)}[data-ng-doc-type=alert][_nghost-%COMP%]{--ng-doc-blockquote-background: var(--ng-doc-alert);--ng-doc-blockquote-border-color: var(--ng-doc-alert);--ng-doc-icon-color: var(--ng-doc-alert)}[data-ng-doc-type=success][_nghost-%COMP%]{--ng-doc-blockquote-background: var(--ng-doc-success);--ng-doc-blockquote-border-color: var(--ng-doc-success);--ng-doc-icon-color: var(--ng-doc-success)}[_nghost-%COMP%] .ng-doc-blockquote-icon[_ngcontent-%COMP%]{display:flex;margin-right:calc(var(--ng-doc-base-gutter) * 2)}[_nghost-%COMP%] .ng-doc-blockquote[_ngcontent-%COMP%]{text-decoration:none}[_nghost-%COMP%] p{margin:0}"],changeDetection:0})}}return e})();He();var fc=ct(fn(),1);function Pu(e,n){if(e&1&&(K(0),j(1),G()),e&2){let t=n.polymorpheusOutlet;b(),ge(" ",t," ")}}function Ou(e,n){if(e&1&&(C(0,"ng-doc-option",3),T(1,Pu,2,1,"ng-container",4),D()),e&2){let t=n.$implicit,o=x(2);y("value",o.defineValueFn(t))("disabled",o.itemDisabledFn(t)),b(),y("polymorpheusOutlet",o.itemContent)("polymorpheusOutletContext",o.getContext(t))}}function Mu(e,n){if(e&1&&(K(0),T(1,Ou,2,4,"ng-doc-option",2),G()),e&2){let t=x();b(),y("ngForOf",t.items)("ngForTrackBy",t.trackByFn)}}function Iu(e,n){if(e&1&&(K(0),j(1),G()),e&2){let t=n.polymorpheusOutlet;b(),ge(" ",t," ")}}function ku(e,n){if(e&1&&(K(0),T(1,Iu,2,1,"ng-container",7),G()),e&2){let t=x(2);b(),y("polymorpheusOutlet",t.emptyContent)}}function Au(e,n){if(e&1&&(C(0,"div",5),T(1,ku,2,1,"ng-container",6),D()),e&2){let t=x();b(),y("ngIf",t.emptyContent)}}var mc=(()=>{class e{constructor(){this.autofocus=!0,this.items=[],this.itemContent=({$implicit:t})=>ps(t),this.emptyContent="",this.itemDisabledFn=ds,this.defineValueFn=us,this.trackByFn=(t,o)=>o}getContext(t){return{$implicit:t}}getItems(){return(0,fc.asArray)(this.items)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-data-list"]],inputs:{autofocus:"autofocus",items:"items",itemContent:"itemContent",emptyContent:"emptyContent",itemDisabledFn:"itemDisabledFn",defineValueFn:"defineValueFn",trackByFn:"trackByFn"},standalone:!0,features:[R],decls:4,vars:2,consts:[["emptyTemplate",""],[4,"ngIf","ngIfElse"],[3,"value","disabled",4,"ngFor","ngForOf","ngForTrackBy"],[3,"value","disabled"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["ng-doc-text","",1,"ng-doc-empty-message"],[4,"ngIf"],[4,"polymorpheusOutlet"]],template:function(o,i){if(o&1&&(C(0,"ng-doc-list"),T(1,Mu,2,2,"ng-container",1)(2,Au,2,1,"ng-template",null,0,te),D()),o&2){let r=Q(3);b(),y("ngIf",i.items&&i.items.length)("ngIfElse",r)}},dependencies:[Ds,ye,Oe,Ss,qe,ot,Ye],styles:["[_nghost-%COMP%]{display:block;height:100%;overflow:auto;max-height:var(--ng-doc-list-size)}.ng-doc-empty-message[_ngcontent-%COMP%]{padding:var(--ng-doc-base-gutter) calc(var(--ng-doc-base-gutter) * 2);--ng-doc-font-size: 14px;--ng-doc-line-height: 22px}ng-doc-checkbox[_ngcontent-%COMP%]{pointer-events:none}"],changeDetection:0})}}return ce([Cs,de("design:type",Function),de("design:paramtypes",[Object]),de("design:returntype",Object)],e.prototype,"getContext",null),e})();var pi=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-dot"]],hostVars:2,hostBindings:function(o,i){o&2&&ne("data-ng-doc-color",i.color)("data-ng-doc-size",i.size)},inputs:{color:"color",size:"size"},standalone:!0,features:[R],decls:0,vars:0,template:function(o,i){},styles:["[_nghost-%COMP%]{display:inline;width:var(--ng-doc-dot-size);height:var(--ng-doc-dot-size);border-radius:var(--ng-doc-dot-size);line-height:var(--ng-doc-line-height);background-color:var(--ng-doc-dot-background);transition:var(--ng-doc-transition)}[data-ng-doc-size=small][_nghost-%COMP%]{--ng-doc-dot-size: calc(var(--ng-doc-base-gutter) / 2)}[data-ng-doc-size=medium][_nghost-%COMP%]{--ng-doc-dot-size: var(--ng-doc-base-gutter)}[data-ng-doc-size=large][_nghost-%COMP%]{--ng-doc-dot-size: calc(var(--ng-doc-base-gutter) * 2)}"],changeDetection:0})}}return e})();var Ru=["*"];function Fu(e){return e instanceof MouseEvent}function Lu(e){return e instanceof WheelEvent}var hc=(()=>{class e{constructor(){this.x=Ge(0),this.y=Ge(0),this.scale=Ge(1),this.drag=Ge(!1),this.document=B(Ue),this.element=B(ue).nativeElement,this.ngZone=B(Se),this.destroyRef=B(yr),this.transform=Mn(()=>{let t=this.scale(),o=this.x(),i=this.y();return`matrix(${t}, 0, 0, ${t}, ${o*t}, ${i*t})`})}ngOnInit(){be(this.element,"mousedown").pipe(Ke(t=>(t.preventDefault(),this.drag.set(!0),be(this.document,"mousemove").pipe(Ce(Fu),dn(be(this.document,"mouseup")),un({complete:()=>this.drag.set(!1)})))),ut(this.destroyRef)).subscribe(t=>{this.x.update(o=>o+t.movementX/this.scale()),this.y.update(o=>o+t.movementY/this.scale())}),be(this.element,"wheel").pipe(Ce(Lu),ut(this.destroyRef)).subscribe(t=>{t.preventDefault(),this.scale.update(o=>Math.max(o*(1+t.deltaY/1e3),1))})}incrementX(t){this.x.update(o=>o+t/this.scale())}incrementY(t){this.y.update(o=>o+t/this.scale())}zoom(t){this.scale.update(o=>Math.max(o*(1+t/1e3),1))}reset(){this.x.set(0),this.y.set(0),this.scale.set(1)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-magnifier"]],hostVars:1,hostBindings:function(o,i){o&2&&ne("data-drag",i.drag())},standalone:!0,features:[R],ngContentSelectors:Ru,decls:2,vars:2,consts:[[1,"ng-doc-magnifier-container"]],template:function(o,i){o&1&&(me(),C(0,"div",0),oe(1),D()),o&2&&Lt("transform",i.transform())},styles:["[_nghost-%COMP%]{display:block;overflow:hidden;cursor:default}[data-drag=true][_nghost-%COMP%]{cursor:move}"],changeDetection:0})}}return e})();var yc=(()=>{class e{constructor(){this.magnifier=lt.required()}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-magnifier-controller"]],inputs:{magnifier:[1,"magnifier"]},standalone:!0,features:[R],decls:17,vars:7,consts:[[1,"ng-doc-controls-row"],["ng-doc-button-icon-raised","",1,"ng-doc-button-up",3,"click","rounded"],["icon","chevron-right"],["ng-doc-button-icon-raised","",1,"ng-doc-button-zoom-in",3,"click","rounded"],["icon","zoom-in"],["ng-doc-button-icon-raised","",1,"ng-doc-button-left",3,"click","rounded"],["ng-doc-button-icon-raised","",1,"ng-doc-button-center",3,"click","rounded"],["icon","maximize"],["ng-doc-button-icon-raised","",1,"ng-doc-button-right",3,"click","rounded"],["ng-doc-button-icon-raised","",1,"ng-doc-button-down",3,"click","rounded"],["ng-doc-button-icon-raised","",1,"ng-doc-button-zoom-out",3,"click","rounded"],["icon","zoom-out"]],template:function(o,i){o&1&&(C(0,"div",0)(1,"button",1),Z("click",function(){return i.magnifier().incrementY(50)}),P(2,"ng-doc-icon",2),D(),C(3,"button",3),Z("click",function(){return i.magnifier().zoom(200)}),P(4,"ng-doc-icon",4),D()(),C(5,"div",0)(6,"button",5),Z("click",function(){return i.magnifier().incrementX(50)}),P(7,"ng-doc-icon",2),D(),C(8,"button",6),Z("click",function(){return i.magnifier().reset()}),P(9,"ng-doc-icon",7),D(),C(10,"button",8),Z("click",function(){return i.magnifier().incrementX(-50)}),P(11,"ng-doc-icon",2),D()(),C(12,"div",0)(13,"button",9),Z("click",function(){return i.magnifier().incrementY(-50)}),P(14,"ng-doc-icon",2),D(),C(15,"button",10),Z("click",function(){return i.magnifier().zoom(-200)}),P(16,"ng-doc-icon",11),D()()),o&2&&(b(),y("rounded",!1),b(2),y("rounded",!1),b(3),y("rounded",!1),b(2),y("rounded",!1),b(2),y("rounded",!1),b(3),y("rounded",!1),b(2),y("rounded",!1))},dependencies:[Wt,re],styles:["[_nghost-%COMP%]{display:inline-flex;flex-direction:column;gap:var(--ng-doc-base-gutter)}[_nghost-%COMP%] .ng-doc-controls-row[_ngcontent-%COMP%]{display:flex;gap:var(--ng-doc-base-gutter);justify-content:center}[_nghost-%COMP%] .ng-doc-controls-row[_ngcontent-%COMP%]:first-child, [_nghost-%COMP%] .ng-doc-controls-row[_ngcontent-%COMP%]:last-child{justify-content:flex-end}[_nghost-%COMP%] button.ng-doc-button-up[_ngcontent-%COMP%] ng-doc-icon[icon=chevron-right][_ngcontent-%COMP%]{transform:rotate(270deg)}[_nghost-%COMP%] button.ng-doc-button-down[_ngcontent-%COMP%] ng-doc-icon[icon=chevron-right][_ngcontent-%COMP%]{transform:rotate(90deg)}[_nghost-%COMP%] button.ng-doc-button-left[_ngcontent-%COMP%] ng-doc-icon[icon=chevron-right][_ngcontent-%COMP%]{transform:rotate(180deg)}"],changeDetection:0})}}return e})();He();var zu=["resizer"],Bu=[[["","ngDocPaneBack",""]],[["","ngDocPaneFront",""]]],ju=["[ngDocPaneBack]","[ngDocPaneFront]"],_c=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275dir=xe({type:e,selectors:[["","ngDocPaneFront",""]],standalone:!0})}}return e})(),vc=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275dir=xe({type:e,selectors:[["","ngDocPaneBack",""]],standalone:!0})}}return e})(),bc=(()=>{let e=class gi{constructor(t,o,i,r){this.document=t,this.changeDetectorRef=o,this.elementRef=i,this.ngZone=r,this.expanded=!1,this.width="0%",this.dragging=!1,Ft(()=>{if(this.resizer){let s=be(this.resizer.nativeElement,"mousedown").pipe(un(()=>{this.dragging=!0,this.changeDetectorRef.markForCheck()})),a=be(this.document,"mouseup").pipe(un(()=>{this.dragging=!1,this.changeDetectorRef.markForCheck()})),c=be(this.document,"mousemove").pipe(je(l=>l.clientX),lr(),je(([l,u])=>u-l));s.pipe(Ke(()=>{let l=c.pipe(dn(a)),u=a.pipe(je(()=>null),dn(c),cr(1));return rr(l,u)}),Ce(l=>l!==0),Qe(this.ngZone),Ie(this)).subscribe(l=>{l===null?this.toggle():this.addDelta(l)})}be(window,"resize").pipe(ar(100),Ie(this),Qe(this.ngZone)).subscribe(()=>this.addDelta(0))}),this.addDelta(0)}ngOnChanges({expanded:t}){t&&(t.currentValue?this.addDelta(this.elementRef.nativeElement.offsetWidth):this.addDelta(-this.elementRef.nativeElement.offsetWidth))}toggle(){if(this.resizer){let t=this.elementRef.nativeElement.offsetWidth/2;this.resizer.nativeElement.offsetLeft{class e{constructor(t){this.elementRef=t,this.selectAll=!1}ngOnInit(){let t=this.elementRef.nativeElement;ls.isNativeKeyboardFocusable(t)&&t.focus(),this.selectAll&&t instanceof HTMLInputElement&&Promise.resolve().then(()=>t.select())}static{this.\u0275fac=function(o){return new(o||e)(ee(ue))}}static{this.\u0275dir=xe({type:e,selectors:[["","ngDocAutofocus",""]],inputs:{selectAll:"selectAll"},standalone:!0})}}return e})();var Dc=(()=>{class e extends ss{constructor(t){super(t),this.origin=t}static{this.\u0275fac=function(o){return new(o||e)(ee(ue))}}static{this.\u0275dir=xe({type:e,selectors:[["","ngDocDropdownOrigin",""]],exportAs:["ngDocDropdownOrigin"],standalone:!0,features:[Bt([{provide:os,useExisting:e}]),Sr]})}}return e})();He();var Sc=ct(Kl(),1),Tc=ct(Kr(),1);var xc=(()=>{let e=class fi{constructor(t){this.ngZone=t,this.callback=new Nn,Ft(()=>{be(document,"keyup").pipe(Ce(Sc.isKeyboardEvent),Ce(o=>(0,Tc.objectKeys)(this.hotkey??{}).every(i=>this.hotkey&&this.hotkey[i]===o[i])),Ce(o=>o.target instanceof HTMLElement?!["input","textarea","select"].includes(o.target.tagName.toLowerCase()):!0),Qe(this.ngZone),Ie(this)).subscribe(o=>{o.preventDefault(),this.callback.emit()})})}static{this.\u0275fac=function(o){return new(o||fi)(ee(Se))}}static{this.\u0275dir=xe({type:fi,selectors:[["","ngDocHotkey",""]],inputs:{hotkey:[0,"ngDocHotkey","hotkey"]},outputs:{callback:"ngDocHotkey"},standalone:!0})}};return e=ce([pe(),de("design:paramtypes",[Se])],e),e})();var wc=(()=>{class e{constructor(){this.rotated=!1,this.from=0,this.to=90}get transform(){return`rotateZ(${this.rotated?this.to:this.from}deg)`}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275dir=xe({type:e,selectors:[["","ngDocRotator",""]],hostVars:2,hostBindings:function(o,i){o&2&&Lt("transform",i.transform)},inputs:{rotated:[0,"ngDocRotator","rotated"],from:"from",to:"to"},standalone:!0})}}return e})();var Ec=(()=>{class e{constructor(t,o){this.document=t,this.viewportRuler=o,this.scrollStrategy=new rs(this.viewportRuler,this.document)}block(){this.scrollStrategy.enable()}unblock(){this.scrollStrategy.disable()}static{this.\u0275fac=function(o){return new(o||e)(St(Ue),St(is))}}static{this.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Vu=["*"];function Uu(e,n){e&1&&Ve(0)}function qu(e,n){if(e&1){let t=Re();C(0,"div",5),Z("click",function(){we(t);let i=x();return Ee(i.closeEvent.emit())}),D()}e&2&&y("@backdropFade",void 0)}var mi=(()=>{class e{constructor(){this.sidebar="",this.opened=!0,this.hasBackdrop=!0,this.closeEvent=new Nn}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-sidenav"]],hostVars:2,hostBindings:function(o,i){o&2&&ne("data-ng-doc-sidebar",!!i.sidebar)("data-ng-doc-opened",i.opened)},inputs:{sidebar:"sidebar",opened:"opened",hasBackdrop:"hasBackdrop"},outputs:{closeEvent:"closeEvent"},standalone:!0,features:[R],ngContentSelectors:Vu,decls:6,vars:2,consts:[[1,"ng-doc-sidenav-wrapper"],[1,"ng-doc-sidenav"],[4,"polymorpheusOutlet"],[1,"ng-doc-sidenav-content"],[1,"ng-doc-backdrop"],[1,"ng-doc-backdrop",3,"click"]],template:function(o,i){o&1&&(me(),C(0,"div",0)(1,"div",1),T(2,Uu,1,0,"ng-container",2),D(),C(3,"div",3),T(4,qu,1,1,"div",4),oe(5),D()()),o&2&&(b(2),y("polymorpheusOutlet",i.sidebar),b(2),Ne(i.opened&&i.hasBackdrop?4:-1))},dependencies:[qe,ot],styles:["[_nghost-%COMP%]{width:100%}[data-ng-doc-sidebar=false][_nghost-%COMP%] .ng-doc-sidenav-content[_ngcontent-%COMP%]{margin-left:0;width:100%}[_nghost-%COMP%] .ng-doc-sidenav-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;width:100%}[_nghost-%COMP%] .ng-doc-sidenav[_ngcontent-%COMP%]{position:fixed;top:var(--ng-doc-navbar-height);width:var(--ng-doc-sidenav-width);flex-shrink:0;z-index:10;transition:left var(--ng-doc-transition)}[_nghost-%COMP%] .ng-doc-sidenav-content[_ngcontent-%COMP%]{margin-left:var(--ng-doc-sidenav-width);width:calc(100% - var(--ng-doc-sidenav-width));padding:var(--ng-doc-sidenav-content-padding);transition:margin-left var(--ng-doc-transition)}[_nghost-%COMP%] .ng-doc-backdrop[_ngcontent-%COMP%]{position:fixed!important;left:0;top:0;width:100%;height:100%;z-index:9}[_nghost-%COMP%] .ng-doc-backdrop[_ngcontent-%COMP%]:not(nothing){background:color-mix(in srgb,rgba(0,0,0,.2) 60%,transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)){[_nghost-%COMP%] .ng-doc-backdrop[_ngcontent-%COMP%]{background-color:#0003}}[_nghost-%COMP%] .ng-doc-backdropnothing[_ngcontent-%COMP%]{background-color:#0003}@media (max-width: 1024px){[data-ng-doc-opened=true][_nghost-%COMP%] .ng-doc-sidenav[_ngcontent-%COMP%]{right:0;transition:right var(--ng-doc-transition);--ng-doc-sidebar-shadow: var(--ng-doc-shadow-color) -5px 5px 20px -5px}[_nghost-%COMP%] .ng-doc-sidenav[_ngcontent-%COMP%]{transition:unset;left:unset;right:calc(var(--ng-doc-sidenav-width) * -1);top:var(--ng-doc-navbar-height)}[_nghost-%COMP%] .ng-doc-sidenav-content[_ngcontent-%COMP%]{margin-left:0;width:100%}}"],data:{animation:[Zr("backdropFade",[Jr(":enter",[Me({opacity:0}),wt("220ms cubic-bezier(0.25, 0.8, 0.25, 1)",Me({opacity:1}))])])]},changeDetection:0})}}return e})();var oo=(()=>{class e{constructor(){this.size="medium"}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-spinner"]],hostVars:1,hostBindings:function(o,i){o&2&&ne("data-ng-doc-size",i.size)},inputs:{size:"size"},standalone:!0,features:[R],decls:2,vars:0,consts:[["viewBox","0 0 50 50",1,"ng-doc-spinner"],["cx","25","cy","25","r","20","fill","none","stroke-width","5",1,"ng-doc-spinner-path"]],template:function(o,i){o&1&&(mr(),C(0,"svg",0),P(1,"circle",1),D())},styles:["[_nghost-%COMP%]{display:inline-block}[data-ng-doc-size=small][_nghost-%COMP%]{width:calc(var(--ng-doc-base-gutter) * 3);height:calc(var(--ng-doc-base-gutter) * 3)}[data-ng-doc-size=medium][_nghost-%COMP%]{width:calc(var(--ng-doc-base-gutter) * 5);height:calc(var(--ng-doc-base-gutter) * 5)}[data-ng-doc-size=large][_nghost-%COMP%]{width:calc(var(--ng-doc-base-gutter) * 8);height:calc(var(--ng-doc-base-gutter) * 8)}[_nghost-%COMP%] .ng-doc-spinner[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_rotate 2s linear infinite}[_nghost-%COMP%] .ng-doc-spinner[_ngcontent-%COMP%] .ng-doc-spinner-path[_ngcontent-%COMP%]{stroke:var(--ng-doc-spinner-color, var(--ng-doc-primary));stroke-linecap:round;animation:_ngcontent-%COMP%_dash 1.5s ease-in-out infinite}@keyframes _ngcontent-%COMP%_rotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}"],changeDetection:0})}}return e})();He();var Wu=["headerTab"],Nc=()=>({});function $u(e,n){if(e&1&&(K(0),j(1),G()),e&2){let t=x().$implicit;b(),Pe(t.label)}}function Hu(e,n){if(e&1){let t=Re();C(0,"div",6,0),Z("click",function(){let i=we(t).$implicit,r=x();return Ee(r.selectTab(i))}),C(2,"div",7),T(3,$u,2,1,"ng-container",5),D()()}if(e&2){let t=n.$implicit,o=x();Pn("selected",t===o.selectedTab),y("ngDocSelectionOrigin",t===o.selectedTab),b(3),y("polymorpheusOutlet",t.label)("polymorpheusOutletContext",xt(5,Nc))}}function Ku(e,n){if(e&1&&(C(0,"div"),j(1),D()),e&2){let t=n.polymorpheusOutlet;y("@tabFadeAnimation",void 0),b(),ge(" ",t," ")}}var Ot=(()=>{class e{constructor(){this.label="",this.id=0,this.content=""}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-tab"],["a","ng-doc-tab",""]],inputs:{label:"label",id:"id",content:"content"},standalone:!0,features:[R],decls:0,vars:0,template:function(o,i){},changeDetection:0})}}return e})(),on=(()=>{let e=class hi{constructor(t){this.changeDetectorRef=t,this.tabElements=new Io,this.tabs=new Io}ngAfterContentInit(){this.tabs.changes.pipe(Dt(this.tabs),Ie(this)).subscribe(()=>{let t=this.openedTab?this.tabs.find(o=>o.id===this.openedTab):this.tabs.get(0);t&&this.selectTab(t),this.changeDetectorRef.markForCheck()})}ngAfterViewInit(){this.tabElements.changes.pipe(Dt(this.tabElements),Ie(this)).subscribe(()=>this.changeDetectorRef.detectChanges())}get selectedIndex(){return this.selectedTab?this.tabs.toArray().indexOf(this.selectedTab):-1}get selectedHeaderTab(){return this.selectedTab?this.tabElements.get(this.selectedIndex)??null:null}selectTab(t){this.selectedTab=t}static{this.\u0275fac=function(o){return new(o||hi)(ee(he))}}static{this.\u0275cmp=A({type:hi,selectors:[["ng-doc-tab-group"]],contentQueries:function(o,i,r){if(o&1&&Nr(r,Ot,4),o&2){let s;Je(s=et())&&(i.tabs=s)}},viewQuery:function(o,i){if(o&1&&dt(Wu,5),o&2){let r;Je(r=et())&&(i.tabElements=r)}},inputs:{openedTab:"openedTab"},standalone:!0,features:[R],decls:6,vars:5,consts:[["headerTab",""],["ngDocSelectionHost","",1,"ng-doc-tabs-wrapper"],["class","ng-doc-tab",3,"selected","ngDocSelectionOrigin","click",4,"ngFor","ngForOf"],[1,"ng-doc-body-wrapper"],[3,"trigger"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"ng-doc-tab",3,"click","ngDocSelectionOrigin"],[1,"ng-doc-tab-text"]],template:function(o,i){if(o&1&&(C(0,"div",1),P(1,"ng-doc-selection"),T(2,Hu,4,6,"div",2),D(),C(3,"div",3)(4,"ng-doc-smooth-resize",4),T(5,Ku,2,2,"div",5),D()()),o&2){let r,s;b(2),y("ngForOf",i.tabs),b(2),y("trigger",(r=i.selectedTab==null?null:i.selectedTab.content)!==null&&r!==void 0?r:""),b(),y("polymorpheusOutlet",(s=i.selectedTab==null?null:i.selectedTab.content)!==null&&s!==void 0?s:"")("polymorpheusOutletContext",xt(4,Nc))}},dependencies:[Es,Ns,Oe,Ps,qe,ot,Os],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;background:var(--ng-doc-tab-group-header-background, var(--ng-doc-tab-group-background));border-radius:var(--ng-doc-tab-group-border-radius);border:var(--ng-doc-tab-group-border);overflow:hidden}[_nghost-%COMP%] .ng-doc-tabs-wrapper[_ngcontent-%COMP%]{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;width:100%;display:inline-flex;overflow-x:auto;line-height:18px;font-size:14px;flex-shrink:0;background:var(--ng-doc-tab-group-tabs-background)}[_nghost-%COMP%] .ng-doc-tabs-wrapper[_ngcontent-%COMP%] .ng-doc-tab[_ngcontent-%COMP%]{position:relative;padding:var(--ng-doc-base-gutter) calc(var(--ng-doc-base-gutter) * 2);cursor:pointer;white-space:nowrap}[_nghost-%COMP%] .ng-doc-tabs-wrapper[_ngcontent-%COMP%] .ng-doc-tab[_ngcontent-%COMP%] .ng-doc-tab-text[_ngcontent-%COMP%]{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;--ng-doc-font-size: 13px;--ng-doc-font-weight: 500}[_nghost-%COMP%] .ng-doc-body-wrapper[_ngcontent-%COMP%]{position:relative;background-color:var(--ng-doc-tab-group-background);height:100%;overflow:hidden;border-top:1px solid var(--ng-doc-border-color)}"],data:{animation:[ts]},changeDetection:0})}};return e=ce([pe(),de("design:paramtypes",[he])],e),e})();var Gu=["*"],rn=(()=>{class e{constructor(){this.color="primary",this.size="medium",this.mod="default"}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-tag"]],hostVars:3,hostBindings:function(o,i){o&2&&ne("data-ng-doc-color",i.color)("data-ng-doc-size",i.size)("data-ng-doc-mod",i.mod)},inputs:{color:"color",size:"size",mod:"mod"},standalone:!0,features:[R],ngContentSelectors:Gu,decls:1,vars:0,template:function(o,i){o&1&&(me(),oe(0))},styles:["[_nghost-%COMP%]{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);display:inline-block;padding:0 var(--ng-doc-base-gutter);border-radius:calc(var(--ng-doc-base-gutter) / 2);border:var(--ng-doc-tag-border);color:var(--ng-doc-tag-color);background:color-mix(in srgb,var(--ng-doc-tag-background) var(--ng-doc-tag-background-opacity, 100%),transparent);--ng-doc-icon-color: var(--ng-doc-tag-color);--ng-doc-font-size: 14px}[data-ng-doc-size=small][_nghost-%COMP%]{padding:0 calc(var(--ng-doc-base-gutter) / 2);border-radius:6px;--ng-doc-font-size: 10px;--ng-doc-line-height: calc(var(--ng-doc-base-gutter) * 2)}[data-ng-doc-color=info][_nghost-%COMP%]{--ng-doc-tag-background: var(--ng-doc-info);--ng-doc-tag-color: var(--ng-doc-info-text)}[data-ng-doc-color=warning][_nghost-%COMP%]{--ng-doc-tag-background: var(--ng-doc-warning);--ng-doc-tag-color: var(--ng-doc-warning-text)}[data-ng-doc-color=alert][_nghost-%COMP%]{--ng-doc-tag-background: var(--ng-doc-alert);--ng-doc-tag-color: var(--ng-doc-alert-text)}[data-ng-doc-color=link][_nghost-%COMP%]{--ng-doc-tag-background: var(--ng-doc-link-color);--ng-doc-tag-color: var(--ng-doc-primary-text)}[data-ng-doc-color=success][_nghost-%COMP%]{--ng-doc-tag-background: var(--ng-doc-success);--ng-doc-tag-color: var(--ng-doc-success-text)}[data-ng-doc-mod=light][_nghost-%COMP%]{--ng-doc-tag-background-opacity: 15%}[data-ng-doc-mod=light][data-ng-doc-color=primary][_nghost-%COMP%]{--ng-doc-tag-color: var(--ng-doc-primary)}[data-ng-doc-mod=light][data-ng-doc-color=info][_nghost-%COMP%]{--ng-doc-tag-color: var(--ng-doc-info)}[data-ng-doc-mod=light][data-ng-doc-color=warning][_nghost-%COMP%]{--ng-doc-tag-color: var(--ng-doc-warning)}[data-ng-doc-mod=light][data-ng-doc-color=alert][_nghost-%COMP%]{--ng-doc-tag-color: var(--ng-doc-alert)}[data-ng-doc-mod=light][data-ng-doc-color=link][_nghost-%COMP%]{--ng-doc-tag-color: var(--ng-doc-link-color)}[data-ng-doc-mod=light][data-ng-doc-color=success][_nghost-%COMP%]{--ng-doc-tag-color: var(--ng-doc-success)}"],changeDetection:0})}}return e})();var Pc=(()=>{class e{transform(t,o){return o.sort((i,r)=>r.start-i.start).forEach(i=>{let{start:r,length:s}=i,a=r+s;t=`${t.slice(0,r)}${t.slice(r,a)}${t.slice(a)}`}),t}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275pipe=gr({name:"ngDocHighlighterPipe",type:e,pure:!0,standalone:!0})}}return e})();function Oc(e){return[{provide:ys,useValue:e?.assetsPath??"assets/ng-doc/ui-kit"},{provide:vs,useValue:e?.customIconsPath??"assets/icons"},{provide:Lr,useClass:hs,multi:!0}]}var io=class extends gs{constructor(n,t){super(n),this.component=n,this.injectorRef=t}createInjector(n,t){return hr.create({parent:this.injectorRef||n,providers:[{provide:_s,useValue:t}]})}};He();var sn=(()=>{let e=class ro{constructor(){this.expanded=new xn(!1),this.document=B(Ue),this.window=B(Wn),this.router=B(Ut),this.scroll=B(Ec);let t=be(this.window,"resize").pipe(ut(),Dt(null),dr());t.pipe(Ce(()=>this.expanded.value&&this.isMobile),Qe(),ut()).subscribe(()=>this.hide()),t.pipe(Ce(()=>!this.expanded.value&&!this.isMobile),Qe(),ut()).subscribe(()=>this.show()),t.pipe(Ce(()=>this.expanded.value&&!this.isMobile),Qe(),ut()).subscribe(()=>this.scroll.unblock()),this.router.events.pipe(Ce(o=>o instanceof An&&this.expanded.value&&this.isMobile),ut()).subscribe(()=>this.hide())}get isMobile(){return this.window.innerWidth<1024}isExpanded(){return this.expanded.asObservable()}show(){this.expanded.value||(this.expanded.next(!0),this.isMobile&&this.scroll.block())}hide(){this.expanded.value&&(this.expanded.next(!1),this.isMobile&&this.scroll.unblock())}toggle(){this.expanded.value?this.hide():this.show()}static{this.\u0275fac=function(o){return new(o||ro)}}static{this.\u0275prov=De({token:ro,factory:ro.\u0275fac,providedIn:"root"})}};return e=ce([pe(),de("design:paramtypes",[])],e),e})();var Qu=e=>String(e),Mc=(()=>{class e{constructor(){this.localStorage=B(Bs)}set(t,o,i=Qu){return this.localStorage.setItem(t,i(o))}get(t,o){return o?o(this.localStorage.getItem(t)):this.localStorage.getItem(t)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var so=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-fullscreen-button"]],inputs:{route:"route"},standalone:!0,features:[R],decls:4,vars:1,consts:[["ng-doc-button-text","","target","_blank",3,"routerLink"],["ng-doc-text",""],["icon","external-link","ngDocTextRight",""]],template:function(o,i){o&1&&(C(0,"a",0)(1,"span",1),j(2," Open demo in a new tab "),P(3,"ng-doc-icon",2),D()()),o&2&&y("routerLink",i.route)},dependencies:[mt,Ye,re,Vn,bs],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center;padding:calc(var(--ng-doc-base-gutter) * 2) calc(var(--ng-doc-base-gutter) * 2)}"],changeDetection:0})}}return e})();var Ic=ct(fn(),1);function Zu(e,n){e&1&&Ve(0)}function Xu(e,n){if(e&1&&P(0,"ng-doc-code",9),e&2){let t=n.$implicit;y("html",t.code)}}function Ju(e,n){if(e&1&&(K(0),T(1,Xu,1,1,"ng-doc-code",8),G()),e&2){let t=x(3);b(),y("ngForOf",t.assets)}}function ep(e,n){if(e&1&&P(0,"ng-doc-icon",14),e&2){let t=x(2).$implicit;y("customIcon",t.icon)}}function tp(e,n){if(e&1&&(T(0,ep,1,1,"ng-doc-icon",13),j(1)),e&2){let t=x().$implicit;y("ngIf",t.icon),b(),ge(" ",t.title," ")}}function np(e,n){if(e&1&&P(0,"ng-doc-code",9),e&2){let t=x().$implicit;y("html",t.code)}}function op(e,n){if(e&1&&(C(0,"ng-doc-tab",12),T(1,tp,2,2,"ng-template",null,2,te)(3,np,1,1,"ng-template",null,3,te),D()),e&2){let t=n.$implicit,o=Q(2),i=Q(4);y("id",t.title)("label",o)("content",i)}}function ip(e,n){if(e&1&&(K(0),C(1,"ng-doc-tab-group",10),ie(2,"execute"),T(3,op,5,3,"ng-doc-tab",11),D(),G()),e&2){let t,o=x(3);b(),y("openedTab",(t=Fe(2,2,o.getOpenedAssetId,o.assets))!==null&&t!==void 0?t:o.options.defaultTab),b(2),y("ngForOf",o.assets)}}function rp(e,n){if(e&1&&T(0,Ju,2,1,"ng-container",7)(1,ip,4,5,"ng-container",7),e&2){let t=x(2);y("ngIf",t.assets.length===1),b(),y("ngIf",t.assets.length>1)}}function sp(e,n){if(e&1&&(K(0),C(1,"ng-doc-demo-displayer",5),T(2,Zu,1,0,"ng-container",6)(3,rp,2,2,"ng-template",null,1,te),D(),G()),e&2){let t=Q(4),o=x(),i=Q(2);b(),y("codeContent",t)("expanded",!!o.options.expanded),b(),y("ngTemplateOutlet",i)}}function ap(e,n){if(e&1&&P(0,"ng-doc-fullscreen-button",15),e&2){let t=x(2);y("route",t.options.fullscreenRoute)}}function cp(e,n){e&1&&Ve(0)}function lp(e,n){if(e&1&&T(0,cp,1,0,"ng-container",16),e&2){let t=x(2);y("ngComponentOutlet",t.demo)("ngComponentOutletInputs",t.options.inputs)}}function dp(e,n){if(e&1&&T(0,ap,1,1,"ng-doc-fullscreen-button",15)(1,lp,1,2,"ng-container"),e&2){let t=x();Ne(t.options.fullscreenRoute?0:t.demo?1:-1)}}var kc=(()=>{class e{constructor(t){this.rootPage=t,this.options={},this.assets=[]}get classes(){return this.options.class??""}ngOnInit(){this.demo=this.getDemo(),this.assets=this.getAssets()}getOpenedAssetId(t){return t.find(o=>o.opened)?.title}getDemo(){if(this.componentName)return this.rootPage.page?.demos&&this.rootPage.page.demos[this.componentName]}getAssets(){return this.componentName?((this.rootPage.demoAssets&&this.rootPage.demoAssets[this.componentName])??[]).filter(t=>!this.options.tabs?.length||(0,Ic.asArray)(this.options.tabs).includes(t.title)):[]}static{this.\u0275fac=function(o){return new(o||e)(ee(Rn))}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-demo"]],hostVars:2,hostBindings:function(o,i){o&2&&zt(i.classes)},inputs:{componentName:"componentName",options:"options"},standalone:!0,features:[R],decls:3,vars:2,consts:[["demoTemplate",""],["codeContent",""],["label",""],["assetContent",""],[4,"ngIf","ngIfElse"],[3,"codeContent","expanded"],[4,"ngTemplateOutlet"],[4,"ngIf"],[3,"html",4,"ngFor","ngForOf"],[3,"html"],[3,"openedTab"],[3,"id","label","content",4,"ngFor","ngForOf"],[3,"id","label","content"],[3,"customIcon",4,"ngIf"],[3,"customIcon"],[3,"route"],[4,"ngComponentOutlet","ngComponentOutletInputs"]],template:function(o,i){if(o&1&&T(0,sp,5,3,"ng-container",4)(1,dp,2,1,"ng-template",null,0,te),o&2){let r,s=Q(2);y("ngIf",(r=i.options.container)!==null&&r!==void 0?r:!0)("ngIfElse",s)}},dependencies:[ye,Ws,jt,Oe,$t,on,Ot,re,ht,so,In],styles:["[_nghost-%COMP%]{display:block;margin:var(--ng-doc-demo-margin);--ng-doc-tab-group-background: var(--ng-doc-code-background);--ng-doc-tab-group-tabs-background: var(--ng-doc-base-2);--ng-doc-tab-group-border-radius: 0;--ng-doc-tab-group-border: none;--ng-doc-code-border-radius: 0;--ng-doc-code-border: none}[_nghost-%COMP%] .ng-doc-example[_ngcontent-%COMP%]{padding:calc(var(--ng-doc-base-gutter) * 3)}[_nghost-%COMP%] ng-doc-icon[_ngcontent-%COMP%]{margin-right:calc(var(--ng-doc-base-gutter) / 2)}[_nghost-%COMP%] ng-doc-tab-group[_ngcontent-%COMP%]{border-top:1px solid var(--ng-doc-border-color)}"],changeDetection:0})}}return e})();var Ac=ct(fn(),1);function up(e,n){e&1&&Ve(0,6)}function pp(e,n){e&1&&Ve(0,7)}function gp(e,n){if(e&1&&P(0,"ng-doc-fullscreen-button",8),e&2){let t=x(2);y("route",t.options.fullscreenRoute)}}function fp(e,n){e&1&&Ve(0)}function mp(e,n){if(e&1&&T(0,fp,1,0,"ng-container",9),e&2){let t=x(2);y("ngComponentOutlet",t.demo)("ngComponentOutletInputs",t.options.inputs)}}function hp(e,n){if(e&1&&T(0,gp,1,1,"ng-doc-fullscreen-button",8)(1,mp,1,2,"ng-container"),e&2){let t=x();Ne(t.options.fullscreenRoute?0:t.demo?1:-1)}}function yp(e,n){if(e&1&&P(0,"ng-doc-code",12),e&2){let t=n.$implicit;y("html",t.code)}}function _p(e,n){if(e&1&&(K(0),T(1,yp,1,1,"ng-doc-code",11),G()),e&2){let t=x(2);b(),y("ngForOf",t.assets)}}function vp(e,n){if(e&1&&P(0,"ng-doc-code",12),e&2){let t=x().$implicit;y("html",t.code)}}function bp(e,n){if(e&1&&(C(0,"ng-doc-tab",15),T(1,vp,1,1,"ng-template",null,2,te),D()),e&2){let t=n.$implicit,o=Q(2);y("id",t.title)("label",t.title)("content",o)}}function Cp(e,n){if(e&1&&(K(0),C(1,"ng-doc-tab-group",13),T(2,bp,3,3,"ng-doc-tab",14),D(),G()),e&2){let t=x(2);b(),y("openedTab",t.options.defaultTab),b(),y("ngForOf",t.assets)}}function Dp(e,n){if(e&1&&T(0,_p,2,1,"ng-container",10)(1,Cp,3,2,"ng-container",10),e&2){let t=x();y("ngIf",t.assets.length===1),b(),y("ngIf",t.assets.length>1)}}var Rc=(()=>{class e{constructor(t){this.rootPage=t,this.options={},this.assets=[]}get classes(){return this.options.class??""}ngOnInit(){this.demo=this.getDemo(),this.assets=this.getAssets()}getDemo(){if(this.componentName)return this.rootPage.page?.demos&&this.rootPage.page.demos[this.componentName]}getAssets(){return this.componentName?((this.rootPage.demoAssets&&this.rootPage.demoAssets[this.componentName])??[]).filter(t=>!this.options.tabs?.length||(0,Ac.asArray)(this.options.tabs).includes(t.title)):[]}static{this.\u0275fac=function(o){return new(o||e)(ee(Rn))}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-demo-pane"]],hostVars:2,hostBindings:function(o,i){o&2&&zt(i.classes)},inputs:{componentName:"componentName",options:"options"},standalone:!0,features:[R],decls:7,vars:3,consts:[["demoTemplate",""],["codeContent",""],["assetContent",""],[3,"expanded"],["ngDocPaneBack","",4,"ngTemplateOutlet"],["ngDocPaneFront","",4,"ngTemplateOutlet"],["ngDocPaneBack",""],["ngDocPaneFront",""],[3,"route"],[4,"ngComponentOutlet","ngComponentOutletInputs"],[4,"ngIf"],[3,"html",4,"ngFor","ngForOf"],[3,"html"],[3,"openedTab"],[3,"id","label","content",4,"ngFor","ngForOf"],[3,"id","label","content"]],template:function(o,i){if(o&1&&(C(0,"ng-doc-pane",3),T(1,up,1,0,"ng-container",4)(2,pp,1,0,"ng-container",5),D(),T(3,hp,2,1,"ng-template",null,0,te)(5,Dp,2,2,"ng-template",null,1,te)),o&2){let r,s=Q(4),a=Q(6);y("expanded",(r=i.options.expanded)!==null&&r!==void 0?r:!1),b(),y("ngTemplateOutlet",a),b(),y("ngTemplateOutlet",s)}},dependencies:[bc,jt,vc,_c,ye,Oe,$t,on,Ot,so,In],styles:["[_nghost-%COMP%]{display:block;height:var(--ng-doc-demo-pane-height);margin:var(--ng-doc-demo-pane-margin);--ng-doc-code-margin: 0;--ng-doc-code-border-radius: 0;--ng-doc-code-border: none;--ng-doc-smooth-resize-height: var(--ng-doc-demo-pane-height);--ng-doc-smooth-resize-max-height: 100%;--ng-doc-tab-group-tabs-background: var(--ng-doc-base-2);--ng-doc-tab-group-border: none;--ng-doc-tab-group-border-radius: 0}[_nghost-%COMP%] ng-doc-tab-group[_ngcontent-%COMP%], [_nghost-%COMP%] ng-doc-code[_ngcontent-%COMP%], [_nghost-%COMP%] ng-doc-pane[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})}}return e})();var Fc=(()=>{class e{constructor(){this.classes=[],this.location=B(js)}get href(){let{origin:t,pathname:o}=this.location;return`${t}${o}#${this.anchor}`}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-heading-anchor"]],hostVars:2,hostBindings:function(o,i){o&2&&zt(i.classes)},inputs:{anchor:"anchor",classes:"classes"},standalone:!0,features:[R],decls:2,vars:1,consts:[[3,"text"],["icon","link-2"]],template:function(o,i){o&1&&(C(0,"ng-doc-copy-button",0),P(1,"ng-doc-icon",1),D()),o&2&&y("text",i.href)},dependencies:[re,ks],changeDetection:0})}}return e})();var Sp=["image"],Tp=["*"];function xp(e,n){if(e&1){let t=Re();C(0,"div",1),Z("click",function(){we(t);let i=x();return Ee(i.overlayRef==null?null:i.overlayRef.close())}),P(1,"img",2),D()}if(e&2){let t=x();b(),y("src",t.src(),vr)("alt",t.alt())}}var Lc=(()=>{class e{constructor(){this.src=lt.required(),this.alt=lt.required(),this.image=Dr("image",{read:Ao}),this.overlay=B(ms),this.element=B(ue).nativeElement,this.changeDetectorRef=B(he)}clickEvent(){this.overlayRef?.close();let{width:t,height:o,top:i,left:r}=this.element.getBoundingClientRect(),s=window.innerWidth,a=window.innerHeight,c=Math.min(s/t,a/o),l=t*c,u=o*c;this.overlayRef=this.overlay.open(this.image(),{overlayContainer:fs,positionStrategy:this.overlay.globalPositionStrategy().centerHorizontally().centerVertically(),scrollStrategy:this.overlay.scrollStrategy().block(),hasBackdrop:!0,backdropClass:"ng-doc-blur-backdrop",openAnimation:[Me({position:"fixed",width:t,height:o,top:i,left:r,transform:"translate(0%, 0)"}),Lo([wt("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",Me({width:`${l}px`,height:`${u}px`,top:"50%",left:"50%",transform:"translate(-50%, -50%)"})),zo(".ng-doc-image-container",[Me({padding:0}),wt("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",Me({padding:"16px"}))])])],closeAnimation:[Me({position:"fixed",width:`${l}px`,height:`${u}px`,top:"50%",left:"50%",transform:"translate(-50%, -50%)"}),Lo([wt("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",Me({width:t,height:o,top:i,left:r,transform:"translate(0%, 0)"})),zo(".ng-doc-image-container",wt("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",Me({padding:0})))])]}),this.overlayRef.afterClose().subscribe(()=>{this.overlayRef=void 0,this.changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-image-viewer"]],viewQuery:function(o,i){o&1&&Pr(i.image,Sp,5,Ao),o&2&&Or()},hostVars:1,hostBindings:function(o,i){o&1&&Z("click",function(){return i.clickEvent()}),o&2&&ne("data-opened",!!i.overlayRef)},inputs:{src:[1,"src"],alt:[1,"alt"]},standalone:!0,features:[R],ngContentSelectors:Tp,decls:3,vars:0,consts:[["image",""],[1,"ng-doc-image-container",3,"click"],[1,"ng-doc-scaled-image",3,"src","alt"]],template:function(o,i){o&1&&(me(),oe(0),T(1,xp,2,2,"ng-template",null,0,te))},styles:["[_nghost-%COMP%]{display:inline-block;cursor:zoom-in;transition:var(--ng-doc-transition)}[data-opened=true][_nghost-%COMP%] > img{opacity:0}[_nghost-%COMP%] > img{max-width:100%;vertical-align:middle;border-radius:var(--ng-doc-base-gutter);overflow:hidden}.ng-doc-image-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:calc(var(--ng-doc-base-gutter) * 2);width:100%;height:100%}.ng-doc-image-container[_ngcontent-%COMP%] .ng-doc-scaled-image[_ngcontent-%COMP%]{cursor:zoom-out;width:100%;height:100%}"],changeDetection:0})}}return e})();He();var zc="ng-doc-theme-id";var Bc=(()=>{let e=class ao{constructor(){this.document=B(Ue),this.store=B(Mc),this.change$=new or,this.documentElement=this.document.documentElement}get currentTheme(){return document.documentElement.getAttribute("data-theme")}themeChanges(){return this.change$.asObservable()}set(t){t?this.documentElement.setAttribute("data-theme",t):this.documentElement.removeAttribute("data-theme"),this.store.set(zc,t??""),this.change$.next(t??null)}static{this.\u0275fac=function(o){return new(o||ao)}}static{this.\u0275prov=De({token:ao,factory:ao.\u0275fac,providedIn:"root"})}};return e=ce([pe()],e),e})();function wp(e,n){e&1&&(C(0,"div",1),P(1,"ng-doc-spinner"),D())}function Ep(e,n){if(e&1&&(C(0,"div",2),j(1),D()),e&2){let t=x();b(),Pe(t.error())}}function Np(e,n){if(e&1&&(C(0,"ng-doc-magnifier",null,0),P(2,"div",3),ie(3,"ngDocSanitizeHtml"),D(),P(4,"ng-doc-magnifier-controller",4)),e&2){let t=Q(1),o=x();b(2),y("innerHTML",tt(3,2,o.html()),pn),b(2),y("magnifier",t)}}var Pp=0,jc=(()=>{class e{constructor(){this.graph=lt.required(),this.html=Ge(""),this.pending=Ge(!0),this.error=Ge(null),this.changeDetectorRef=B(he),this.platform=B(_r),this.id=`ng-doc-mermaid-viewer-${Pp++}`;let t=B(As,{optional:!0});if(!t)throw new Error('Mermaid is not provided. Make sure that you provided mermaid using "provideMermaid" function.');this.mermaid=t,B(Bc).themeChanges().subscribe(()=>S(this,null,function*(){let{svg:o}=yield this.mermaid.render(this.id,this.graph());this.html.set(o)}))}ngOnInit(){return S(this,null,function*(){if(Rr(this.platform))try{let{svg:t}=yield this.mermaid.render(this.id,this.graph());this.html.set(t),this.pending.set(!1)}catch(t){this.error.set(t),this.pending.set(!1)}})}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-mermaid-viewer"]],inputs:{graph:[1,"graph"]},standalone:!0,features:[R],decls:3,vars:1,consts:[["magnifier",""],[1,"ng-doc-mermaid-preloader"],[1,"ng-doc-mermaid-error"],[1,"ng-doc-mermaid-container",3,"innerHTML"],[3,"magnifier"]],template:function(o,i){o&1&&T(0,wp,2,0,"div",1)(1,Ep,2,1,"div",2)(2,Np,5,4),o&2&&Ne(i.pending()?0:i.error()?1:2)},dependencies:[hc,yc,Un,oo],styles:["[_nghost-%COMP%]{position:relative;display:block;border:var(--ng-doc-mermaid-viewer-border, 1px solid var(--ng-doc-border-color));margin:var(--ng-doc-mermaid-viewer-margin, var(--ng-doc-page-block-margin));background:var(--ng-doc-mermaid-viewer-background, var(--ng-doc-base-8));border-radius:var(--ng-doc-mermaid-viewer-border-radius, var(--ng-doc-base-gutter));min-height:150px}[_nghost-%COMP%] ng-doc-magnifier-controller[_ngcontent-%COMP%]{position:absolute;bottom:calc(var(--ng-doc-base-gutter) * 2);right:calc(var(--ng-doc-base-gutter) * 2)}[_nghost-%COMP%] .ng-doc-mermaid-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:calc(var(--ng-doc-base-gutter) * 2)}[_nghost-%COMP%] .ng-doc-mermaid-preloader[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;height:120px}[_nghost-%COMP%] .ng-doc-mermaid-error[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:120px;color:var(--ng-doc-alert)}"],changeDetection:0})}}return e})();He();He();var Op=["inputElement"],Mp=["resultContent"],Ip=()=>[];function kp(e,n){e&1&&(C(0,"span",18)(1,"b"),j(2,"\u2022"),D()())}function Ap(e,n){if(e&1&&(K(0),C(1,"span"),j(2),D(),T(3,kp,3,0,"span",17),G()),e&2){let t=n.$implicit,o=n.index,i=x().$implicit;b(2),Pe(t),b(),y("ngIf",o!==i.index.breadcrumbs.length-1)}}function Rp(e,n){if(e&1&&(P(0,"div",19),ie(1,"execute"),ie(2,"ngDocHighlighterPipe"),ie(3,"ngDocSanitizeHtml")),e&2){let t=x().$implicit,o=x(2);y("innerHTML",tt(3,8,Fe(2,5,t.index.content,gn(1,1,o.getPositions,"content",t))),pn)}}function Fp(e,n){if(e&1){let t=Re();C(0,"a",10),Z("click",function(){we(t);let i=x(2);return Ee(i.overlayRef.close())}),C(1,"div",11)(2,"ng-doc-tag",12),j(3),D(),C(4,"span",13),T(5,Ap,4,2,"ng-container",14),D()(),P(6,"h5",15),ie(7,"execute"),ie(8,"ngDocHighlighterPipe"),ie(9,"ngDocSanitizeHtml"),T(10,Rp,4,10,"div",16),D()}if(e&2){let t=n.$implicit,o=x(2);y("routerLink",t.index.route)("fragment",t.index.fragment),b(2),ne("data-ng-doc-page-type",t.index.pageType),b(),ge(" ",t.index.pageType," "),b(2),y("ngForOf",t.index.breadcrumbs),b(),y("innerHTML",tt(9,14,Fe(8,11,t.index.section,gn(7,7,o.getPositions,"section",t)))||t.index.title,pn),b(4),y("ngIf",t.index.content)}}function Lp(e,n){e&1&&(K(0),j(1,"Nothing found"),G())}function zp(e,n){e&1&&(K(0),j(1,"Please enter your search query "),G())}function Bp(e,n){if(e&1&&(K(0),C(1,"div",21),T(2,Lp,2,0,"ng-container",20)(3,zp,2,0,"ng-container",20),D(),G()),e&2){let t=x(3);b(2),y("ngIf",t.searchTerm.length),b(),y("ngIf",!t.searchTerm.length)}}function jp(e,n){e&1&&(K(0),C(1,"div",22),P(2,"ng-doc-spinner",12),j(3," Searching... "),D(),G())}function Vp(e,n){if(e&1&&T(0,Bp,4,2,"ng-container",20)(1,jp,4,0,"ng-container",20),e&2){let t=x().ngIf;y("ngIf",!(t!=null&&t.pending)),b(),y("ngIf",t==null?null:t.pending)}}function Up(e,n){if(e&1&&(C(0,"div",8,1)(2,"ng-doc-data-list",9),T(3,Fp,11,16,"ng-template",null,2,te)(5,Vp,2,2,"ng-template",null,3,te),D()()),e&2){let t,o=n.ngIf,i=Q(4),r=Q(6);b(2),y("items",(t=o==null?null:o.result)!==null&&t!==void 0?t:xt(3,Ip))("itemContent",i)("emptyContent",r)}}var Uc=(()=>{class e{constructor(){this.searchTerm="",this.elementRef=B(ue),this.overlayRef=B(cs),this.data=B(Ts),this.searchTerm=this.data.term}search(t){this.data.search(t),this.resultContent&&(this.resultContent.nativeElement.scrollTop=0)}getPositions(t,o){return o.positions[t]??[]}get listHostOrigin(){return this.inputElement??this.elementRef}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-search-dialog"]],viewQuery:function(o,i){if(o&1&&(dt(Op,5,ue),dt(Mp,5,ue)),o&2){let r;Je(r=et())&&(i.inputElement=r.first),Je(r=et())&&(i.resultContent=r.first)}},hostVars:1,hostBindings:function(o,i){o&2&&Er("@popupAnimation",!0)},standalone:!0,features:[Bt([{provide:ns,useExisting:pr(()=>e)}]),R],decls:7,vars:5,consts:[["inputElement",""],["resultContent",""],["itemContent",""],["emptyContent",""],[1,"ng-doc-search-dialog-container"],["icon","search","ngDocInputWrapperLeft",""],["ngDocInputString","","ngDocAutofocus","","placeholder","Find or ask anything...",3,"ngModelChange","selectAll","ngModel"],["class","ng-doc-search-result-content",4,"ngIf"],[1,"ng-doc-search-result-content"],[3,"items","itemContent","emptyContent"],[1,"ng-doc-search-option",3,"click","routerLink","fragment"],[1,"ng-doc-search-option-header"],["size","small"],["ng-doc-text","",1,"ng-doc-search-option-breadcrumbs"],[4,"ngFor","ngForOf"],["ng-doc-text","",1,"ng-doc-search-section-title",3,"innerHTML"],["class","ng-doc-search-content","ng-doc-text","",3,"innerHTML",4,"ngIf"],["class","ng-doc-search-option-breadcrumb-divider",4,"ngIf"],[1,"ng-doc-search-option-breadcrumb-divider"],["ng-doc-text","",1,"ng-doc-search-content",3,"innerHTML"],[4,"ngIf"],[1,"ng-doc-search-empty"],[1,"ng-doc-search-progress"]],template:function(o,i){if(o&1){let r=Re();C(0,"div",4)(1,"ng-doc-input-wrapper"),P(2,"ng-doc-icon",5),C(3,"input",6,0),kr("ngModelChange",function(a){return we(r),Ir(i.searchTerm,a)||(i.searchTerm=a),Ee(a)}),Z("ngModelChange",function(a){return we(r),Ee(i.search(a))}),D()(),T(5,Up,7,4,"div",7),ie(6,"async"),D()}o&2&&(b(3),y("selectAll",!0),Mr("ngModel",i.searchTerm),b(2),y("ngIf",tt(6,3,i.data.searchResults)))},dependencies:[Vt,Oe,ye,kn,zn,Bn,Cc,re,mc,mt,rn,Ye,Pc,Un,oo,ht,Fn,Gr,Qr,Yr],styles:["[_nghost-%COMP%]{display:block;width:800px;max-width:100%;--ng-doc-search-border-radius: var(--ng-doc-floated-border-radius);--ng-doc-input-height: calc(var(--ng-doc-base-gutter) * 7);--ng-doc-input-border: 1px solid var(--ng-doc-base-1);--ng-doc-input-border-hover: 1px solid var(--ng-doc-base-1);--ng-doc-floated-focus-border-color: transparent}@media (max-width: 1024px){[_nghost-%COMP%]{padding:calc(var(--ng-doc-base-gutter) * 5)}}@media (max-width: 768px){[_nghost-%COMP%]{padding:calc(var(--ng-doc-base-gutter) * 2)}}[_nghost-%COMP%] ng-doc-icon[icon=search][_ngcontent-%COMP%]{--ng-doc-icon-width: calc(var(--ng-doc-base-gutter) * 6)}[_nghost-%COMP%] ng-doc-input-wrapper[_ngcontent-%COMP%]:not(:last-child){--ng-doc-floated-border-radius: var(--ng-doc-search-border-radius) var(--ng-doc-search-border-radius) 0 0}[_nghost-%COMP%] .ng-doc-search-dialog-container[_ngcontent-%COMP%]{box-shadow:#0000 0 0,#0000 0 0,#00000040 0 25px 50px -12px}[_nghost-%COMP%] .ng-doc-search-result-content[_ngcontent-%COMP%]{max-height:70vh;overflow:auto;background-color:var(--ng-doc-background);border-radius:0 0 var(--ng-doc-search-border-radius) var(--ng-doc-search-border-radius);--ng-doc-option-padding: 0}[_nghost-%COMP%] .ng-doc-search-result-content[data-ng-doc-mod=icon][_ngcontent-%COMP%] .ng-doc-search-wrapper[_ngcontent-%COMP%]{padding:calc(var(--ng-doc-base-gutter) * 2) 0}[_nghost-%COMP%] .ng-doc-search-result-content[data-ng-doc-mod=icon][_ngcontent-%COMP%] .ng-doc-search-option[_ngcontent-%COMP%]{padding:12px 16px}[_nghost-%COMP%] .ng-doc-search-option[_ngcontent-%COMP%]{display:block;padding:12px 36px;text-decoration:none}[_nghost-%COMP%] .ng-doc-search-option[_ngcontent-%COMP%] .ng-doc-search-option-header[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:calc(var(--ng-doc-base-gutter) / 2)}[_nghost-%COMP%] .ng-doc-search-option[_ngcontent-%COMP%] .ng-doc-search-option-header[_ngcontent-%COMP%] ng-doc-tag[_ngcontent-%COMP%]{text-transform:uppercase;margin-right:var(--ng-doc-base-gutter);--ng-doc-font-weight: 500}[_nghost-%COMP%] .ng-doc-search-option[_ngcontent-%COMP%] .ng-doc-search-option-header[_ngcontent-%COMP%] ng-doc-tag[data-ng-doc-page-type=guide][_ngcontent-%COMP%]{--ng-doc-tag-color: var(--ng-doc-guide-tag-color);--ng-doc-tag-background: var(--ng-doc-guide-tag-background)}[_nghost-%COMP%] .ng-doc-search-option[_ngcontent-%COMP%] .ng-doc-search-option-header[_ngcontent-%COMP%] ng-doc-tag[data-ng-doc-page-type=api][_ngcontent-%COMP%]{--ng-doc-tag-color: var(--ng-doc-api-tag-color);--ng-doc-tag-background: var(--ng-doc-api-tag-background)}[_nghost-%COMP%] .ng-doc-search-option[_ngcontent-%COMP%] .ng-doc-search-option-header[_ngcontent-%COMP%] .ng-doc-search-option-breadcrumbs[_ngcontent-%COMP%]{--ng-doc-text: var(--ng-doc-text-muted);--ng-doc-font-size: 12px;--ng-doc-line-height: 16px}[_nghost-%COMP%] .ng-doc-search-option[_ngcontent-%COMP%] .ng-doc-search-option-header[_ngcontent-%COMP%] .ng-doc-search-option-breadcrumbs[_ngcontent-%COMP%] .ng-doc-search-option-breadcrumb-divider[_ngcontent-%COMP%]{margin:0 6px}[_nghost-%COMP%] .ng-doc-search-option[_ngcontent-%COMP%] .ng-doc-search-section-title[_ngcontent-%COMP%]{display:block;color:var(--ng-doc-search-result-header-color, var(--ng-doc-text));--ng-doc-line-height: 20px;margin:4px 0}[_nghost-%COMP%] .ng-doc-search-option[_ngcontent-%COMP%] .ng-doc-search-content[_ngcontent-%COMP%]{display:block;color:var(--ng-doc-search-result-color, var(--ng-doc-text));--ng-doc-font-size: 14px;--ng-doc-line-height: 19px}[_nghost-%COMP%] .ng-doc-search-empty[_ngcontent-%COMP%]{padding:0 22px}[_nghost-%COMP%] .ng-doc-search-progress[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .ng-doc-search-progress[_ngcontent-%COMP%] ng-doc-spinner[_ngcontent-%COMP%]{margin-right:var(--ng-doc-base-gutter)}"],data:{animation:[es]},changeDetection:0})}}return e})();var qp=()=>({ctrlKey:!1,altKey:!1,shiftKey:!1,code:"Slash"}),qc=(()=>{let e=class yi{constructor(){if(this.query=new xn(""),this.dialog=B(xs),this.searchEngine=B(yt,{optional:!0}),!this.searchEngine)throw new Error(`NgDoc: Search engine is not provided, please check this article: https://ng-doc.com/docs/getting-started/installation#configuring-application - to learn how to provide it.`);this.searchResults=this.query.pipe(ur(1),Ke(t=>this.searchEngine?.search(t).pipe(as())??sr),En(1),Ie(this))}open(){this.dialog.open(new io(Uc),{hasBackdrop:!0,backdropClass:"ng-doc-blur-backdrop",panelClass:"ng-doc-transparent-dialog",positionStrategy:this.dialog.positionStrategy().centerHorizontally().top("5vh"),data:{term:this.query.value,search:t=>this.query.next(t),searchResults:this.searchResults}})}static{this.\u0275fac=function(o){return new(o||yi)}}static{this.\u0275cmp=A({type:yi,selectors:[["ng-doc-search"]],standalone:!0,features:[R],decls:8,vars:3,consts:[[3,"ngDocHotkey"],["ng-doc-button-icon","","size","large","ngDocDropdownOrigin","",3,"click"],["icon","search",3,"size"],["ngDocDropdownOrigin",""],["icon","search","ngDocInputWrapperLeft",""],["ngDocInputString","","readonly","","placeholder","Search...",3,"click"],["ngDocInputWrapperRight","",1,"search-hotkey"]],template:function(o,i){o&1&&(K(0,0),Z("ngDocHotkey",function(){return i.open()}),C(1,"button",1),Z("click",function(){return i.open()}),P(2,"ng-doc-icon",2),D(),C(3,"ng-doc-input-wrapper",3),P(4,"ng-doc-icon",4),C(5,"input",5),Z("click",function(){return i.open()}),D(),C(6,"ng-doc-tag",6),j(7,"/"),D()(),G()),o&2&&(y("ngDocHotkey",xt(2,qp)),b(2),y("size",24))},dependencies:[Wt,Dc,re,zn,Bn,Fn,xc,rn],styles:["[_nghost-%COMP%]{--ng-doc-floated-border-radius: var(--ng-doc-base-gutter);--ng-doc-input-background-color: var(--ng-doc-base-1);--ng-doc-input-border: none;--ng-doc-input-border-hover: none;--ng-doc-icon-color: var(--ng-doc-base-7)}[_nghost-%COMP%] ng-doc-input-wrapper[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] ng-doc-input-wrapper[_ngcontent-%COMP%] ng-doc-icon[_ngcontent-%COMP%], [_nghost-%COMP%] ng-doc-input-wrapper[_ngcontent-%COMP%] ng-doc-tag[_ngcontent-%COMP%]{cursor:pointer}@media (max-width: 1024px){[_nghost-%COMP%] ng-doc-input-wrapper[_ngcontent-%COMP%]{display:none}}@media (min-width: 1024px){[_nghost-%COMP%]{width:240px}[_nghost-%COMP%] button[ng-doc-button-icon][_ngcontent-%COMP%]{display:none}}.search-hotkey[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:calc(var(--ng-doc-base-gutter) * 3);height:calc(var(--ng-doc-base-gutter) * 3);margin-right:var(--ng-doc-base-gutter);--ng-doc-tag-border: 1px solid var(--ng-doc-base-6);--ng-doc-tag-color: var(--ng-doc-base-6);--ng-doc-tag-background: transparent}"],changeDetection:0})}};return e=ce([pe(),de("design:paramtypes",[])],e),e})();var Wp=[[["","ngDocNavbarLeft",""]],[["","ngDocNavbarRight",""]]],$p=["[ngDocNavbarLeft]","[ngDocNavbarRight]"];function Hp(e,n){e&1&&P(0,"ng-doc-search")}var Wc=(()=>{let e=class _i{constructor(t,o,i,r){this.window=t,this.ngZone=o,this.changeDetectorRef=i,this.sidebarService=r,this.search=!0,this.hamburger=!0,this.glassEffect=!0,this.hasBorder=!1,Ft(()=>{ir([be(this.window,"scroll").pipe(je(s=>(s.target?.scrollingElement?.scrollTop??0)>0),wn(),Dt(!1),Qe(this.ngZone)),this.sidebarService.isExpanded()]).pipe(je(([s,a])=>s||a&&this.sidebarService.isMobile),Ie(this)).subscribe(s=>{this.hasBorder=s,this.changeDetectorRef.markForCheck()})})}static{this.\u0275fac=function(o){return new(o||_i)(ee(Wn),ee(Se),ee(he),ee(sn))}}static{this.\u0275cmp=A({type:_i,selectors:[["ng-doc-navbar"]],hostVars:3,hostBindings:function(o,i){o&2&&(ne("data-glass-effect",i.glassEffect),Pn("has-border",i.hasBorder))},inputs:{search:"search",hamburger:"hamburger",glassEffect:"glassEffect"},standalone:!0,features:[R],ngContentSelectors:$p,decls:8,vars:2,consts:[[1,"navbar-container"],[1,"ng-doc-navbar-left"],[1,"ng-doc-navbar-right"],["ng-doc-button-icon","","size","large",1,"ng-doc-menu",3,"click"],["icon","menu",3,"size"]],template:function(o,i){o&1&&(me(Wp),C(0,"div",0)(1,"div",1),oe(2),D(),C(3,"div",2),T(4,Hp,1,0,"ng-doc-search"),oe(5,1),C(6,"button",3),Z("click",function(){return i.sidebarService.toggle()}),P(7,"ng-doc-icon",4),D()()()),o&2&&(b(4),Ne(i.search?4:-1),b(3),y("size",24))},dependencies:[qe,qc,Wt,re],styles:["[_nghost-%COMP%]{position:relative;display:flex;justify-content:center;height:100%;border-bottom:1px solid transparent;transition:var(--ng-doc-transition) border}[_nghost-%COMP%]:not([data-glass-effect=false]){background:color-mix(in srgb,var(--ng-doc-navbar-background) 60%,transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)){[_nghost-%COMP%]{background-color:var(--ng-doc-navbar-background)}}[data-glass-effect=false][_nghost-%COMP%]{background-color:var(--ng-doc-navbar-background)}.has-border[_nghost-%COMP%]{border-bottom:var(--ng-doc-navbar-border, );box-shadow:var(--ng-doc-shadow-color) 0 5px 20px -5px}[_nghost-%COMP%] .navbar-container[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;padding:0 var(--ng-doc-navbar-horizontal-padding);z-index:10;max-width:var(--ng-doc-app-max-width)}[_nghost-%COMP%] .ng-doc-navbar-left[_ngcontent-%COMP%], [_nghost-%COMP%] .ng-doc-navbar-right[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .ng-doc-navbar-left[_ngcontent-%COMP%]{justify-content:flex-start;width:100%;max-width:var(--ng-doc-navbar-left-width)}[_nghost-%COMP%] .ng-doc-navbar-right[_ngcontent-%COMP%]{justify-content:flex-end;margin-left:auto}[_nghost-%COMP%] .ng-doc-menu[_ngcontent-%COMP%]{margin-left:calc(var(--ng-doc-base-gutter) * 2)}@media (min-width: 1024px){[_nghost-%COMP%] .ng-doc-menu[_ngcontent-%COMP%]{display:none}}"],changeDetection:0})}};return e=ce([pe(),de("design:paramtypes",[Window,Se,he,sn])],e),e})();var Hc=ct(Hl(),1);function Kp(e,n){if(e&1&&P(0,"ng-doc-icon",7),e&2){let t=x(2).$implicit;y("customIcon",t.icon)}}function Gp(e,n){if(e&1&&(T(0,Kp,1,1,"ng-doc-icon",6),j(1)),e&2){let t=x().$implicit;y("ngIf",t.icon),b(),ge(" ",t.title," ")}}function Qp(e,n){if(e&1&&(C(0,"div",null,2),j(2),ie(3,"execute"),D()),e&2){let t=Q(1),o=x().$implicit,i=x();b(2),ge(" ",gn(3,1,i.appendElement,o.content,t)," ")}}function Yp(e,n){if(e&1&&(C(0,"ng-doc-tab",5),T(1,Gp,2,2,"ng-template",null,0,te)(3,Qp,4,5,"ng-template",null,1,te),D()),e&2){let t=n.index,o=Q(2),i=Q(4);y("label",o)("content",i)("id",t)}}var $c=(()=>{class e{constructor(){this.tabs=[]}getActiveIndex(t){return Math.max(t.findIndex(o=>o.active),0)}appendElement(t,o){o.appendChild(t)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-tabs"]],inputs:{tabs:"tabs"},standalone:!0,features:[R],decls:3,vars:5,consts:[["label",""],["content",""],["element",""],[3,"openedTab"],[3,"label","content","id",4,"ngFor","ngForOf"],[3,"label","content","id"],[3,"customIcon",4,"ngIf"],[3,"customIcon"]],template:function(o,i){o&1&&(C(0,"ng-doc-tab-group",3),ie(1,"execute"),T(2,Yp,5,3,"ng-doc-tab",4),D()),o&2&&(y("openedTab",Fe(1,2,i.getActiveIndex,i.tabs)),b(2),y("ngForOf",i.tabs))},dependencies:[Vt,Oe,ye,on,Ot,ht,re],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--ng-doc-tabs-border-radius);border:var(--ng-doc-tabs-border);margin:var(--ng-doc-tabs-margin);overflow:hidden;--ng-doc-code-margin: 0;--ng-doc-code-border-radius: 0;--ng-doc-code-border: none;--ng-doc-tab-group-header-background: var(--ng-doc-base-2)}[_nghost-%COMP%] ng-doc-icon[_ngcontent-%COMP%]{margin-right:calc(var(--ng-doc-base-gutter) / 2)}"],changeDetection:0})}}return e})();var Kc={component:gc,selector:"ng-doc-blockquote",extractOptions:e=>({content:[Array.from(e.childNodes)],inputs:{type:e.getAttribute("type")||"default",icon:e.getAttribute("icon")??void 0}})},Gc={component:$t,selector:"pre code",nodeToReplace:e=>e.closest("pre")??e,extractOptions:e=>({inputs:{name:e.parentElement?.getAttribute("name")||void 0,icon:e.parentElement?.getAttribute("icon")||void 0},content:[[e.closest("pre")??e]]})},Qc={component:kc,selector:"ng-doc-demo",extractOptions:e=>({inputs:{componentName:e.getAttribute("componentName")||void 0,options:JSON.parse(e.querySelector("#options")?.textContent??"{}")}})},Yc={component:Rc,selector:"ng-doc-demo-pane",extractOptions:e=>({inputs:{componentName:e.getAttribute("componentName")||void 0,options:JSON.parse(e.querySelector("#options")?.textContent??"")||{}}})},Zc={component:Fc,selector:"ng-doc-heading-anchor",extractOptions:e=>({inputs:{classes:e.getAttribute("class")?.split(" ")||[],anchor:e.getAttribute("anchor")||""}})},Xc={component:re,selector:"ng-doc-icon",extractOptions:e=>({inputs:{icon:e.getAttribute("icon")??"",size:Number(e.getAttribute("size"))||16}})},Jc={component:Lc,selector:'img:not([zoom="false"])',nodeToReplace:(e,n)=>{let o=n.get(Tt).createElement("div");return e.parentNode?.insertBefore(o,e)??e},extractOptions:e=>({inputs:{src:e.getAttribute("src")??"",alt:e.getAttribute("alt")??""},content:[[e]]})},el={component:jc,selector:"pre.mermaid",extractOptions:e=>({inputs:{graph:e.textContent??""}})},tl={component:$s,selector:"ng-doc-playground",extractOptions:e=>({inputs:{id:e.getAttribute("id")||void 0,properties:JSON.parse(e.querySelector("#data")?.textContent?.replace(/\n/g,"\\n")??"")||void 0,pipeName:e.querySelector("#pipeName")?.textContent||void 0,selectors:(e.querySelector("#selectors")?.textContent||"").split(",").map(n=>n.trim()).filter(Hc.isPresent),options:JSON.parse(e.querySelector("#options")?.textContent??"")||{}}})},nl={component:$c,selector:"ng-doc-tab",nodeToReplace:(e,n)=>{let o=n.get(Tt).createElement("div");return e.parentNode?.insertBefore(o,e)??e},extractOptions:(e,n)=>{let t=e.getAttribute("group")??"",o=Array.from(n.querySelectorAll(`ng-doc-tab[group="${t}"]`)),i=o.map(r=>({title:r.getAttribute("name")??"",content:r,icon:r.getAttribute("icon")||void 0,active:r.hasAttribute("active")}));return o.forEach(r=>r.remove()),{inputs:{tabs:i}}}};function Zp(e,n){if(e&1&&(C(0,"a",3)(1,"div",4),P(2,"ng-doc-icon",5),j(3," Previous "),D(),C(4,"div",6),j(5),D()()),e&2){let t=x();y("routerLink",t.prevPage.route),b(5),Pe(t.prevPage.title)}}function Xp(e,n){if(e&1&&(C(0,"a",7)(1,"div",4),j(2," Next "),P(3,"ng-doc-icon",8),D(),C(4,"div",6),j(5),D()()),e&2){let t=x();y("routerLink",t.nextPage.route),b(5),Pe(t.nextPage.title)}}var ol=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-page-navigation"]],inputs:{prevPage:"prevPage",nextPage:"nextPage"},standalone:!0,features:[R],decls:3,vars:2,consts:[[1,"ng-doc-navigation-controls"],["class","ng-doc-prev-page",3,"routerLink",4,"ngIf"],["class","ng-doc-next-page",3,"routerLink",4,"ngIf"],[1,"ng-doc-prev-page",3,"routerLink"],["ng-doc-text","","size","small",1,"ng-doc-navigation-page-label"],["icon","arrow-left","ngDocTextLeft",""],["ng-doc-text","",1,"ng-doc-navigation-page-title"],[1,"ng-doc-next-page",3,"routerLink"],["icon","arrow-right","ngDocTextRight",""]],template:function(o,i){o&1&&(C(0,"div",0),T(1,Zp,6,2,"a",1)(2,Xp,6,2,"a",2),D()),o&2&&(b(),y("ngIf",i.prevPage),b(),y("ngIf",i.nextPage))},dependencies:[Vt,ye,re,Ye,jn,Vn,mt],styles:["[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%]{display:flex;margin-top:calc(var(--ng-doc-base-gutter) * 12);border-top:1px solid var(--ng-doc-base-2);padding-top:calc(var(--ng-doc-base-gutter) * 2)}[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-decoration:unset;transition:var(--ng-doc-transition);--ng-doc-button-hover-background: var(--ng-doc-base-1);--ng-doc-button-active-background: var(--ng-doc-base-2);--ng-doc-text: var(--ng-doc-base-9);--ng-doc-icon-color: var(--ng-doc-text)}[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{opacity:.6}[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%] a.ng-doc-next-page[_ngcontent-%COMP%]{margin-left:auto}[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%] a.ng-doc-prev-page[_ngcontent-%COMP%]{align-items:flex-start}[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%] a.ng-doc-next-page[_ngcontent-%COMP%]{align-items:flex-end}[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .ng-doc-navigation-page-title[_ngcontent-%COMP%]{--ng-doc-text: var(--ng-doc-link-color)}"],changeDetection:0})}}return e})();He();var Jp=[[["ng-doc-navbar"]],[["","ngDocCustomNavbar",""]],"*",[["ng-doc-sidebar"]],[["","ngDocCustomSidebar",""]]],eg=["ng-doc-navbar","[ngDocCustomNavbar]","*","ng-doc-sidebar","[ngDocCustomSidebar]"];function tg(e,n){e&1&&(oe(0,3),oe(1,4))}function ng(e,n){if(e&1&&(K(0),j(1),G()),e&2){let t=n.polymorpheusOutlet;b(),ge(" ",t,"")}}function og(e,n){if(e&1&&(C(0,"footer"),T(1,ng,2,1,"ng-container",5),D()),e&2){let t=x();b(),y("polymorpheusOutlet",t.footerContent)}}var il=(()=>{let e=class vi{constructor(){this.sidebar=!0,this.footerContent="",this.noWidthLimit=!1,this.sidebarService=B(sn)}static{this.\u0275fac=function(o){return new(o||vi)}}static{this.\u0275cmp=A({type:vi,selectors:[["ng-doc-root"]],viewQuery:function(o,i){if(o&1&&dt(mi,5),o&2){let r;Je(r=et())&&(i.sidenav=r.first)}},hostVars:1,hostBindings:function(o,i){o&2&&ne("data-ng-doc-no-width-limit",i.noWidthLimit)},inputs:{sidebar:"sidebar",footerContent:"footerContent",noWidthLimit:"noWidthLimit"},standalone:!0,features:[Bt([]),R],ngContentSelectors:eg,decls:12,vars:6,consts:[["sidebarContent",""],[1,"ng-doc-root-wrapper"],[1,"ng-doc-header"],[3,"closeEvent","sidebar","opened","hasBackdrop"],[4,"ngIf"],[4,"polymorpheusOutlet"]],template:function(o,i){if(o&1){let r=Re();me(Jp),K(0),C(1,"div",1)(2,"div",2),oe(3),oe(4,1),D(),C(5,"main")(6,"ng-doc-sidenav",3),ie(7,"async"),Z("closeEvent",function(){return we(r),Ee(i.sidebarService.hide())}),T(8,tg,2,0,"ng-template",null,0,te),oe(10,2),D()(),T(11,og,2,1,"footer",4),D(),G()}if(o&2){let r,s=Q(9);b(6),y("sidebar",i.sidebar?s:null)("opened",(r=tt(7,4,i.sidebarService.isExpanded()))!==null&&r!==void 0?r:!0)("hasBackdrop",i.sidebarService.isMobile),b(5),y("ngIf",i.footerContent)}},dependencies:[mi,ye,qe,ot,kn],styles:["[data-ng-doc-no-width-limit=true][_nghost-%COMP%] .ng-doc-root-wrapper[_ngcontent-%COMP%] main[_ngcontent-%COMP%]{max-width:none}[_nghost-%COMP%] .ng-doc-root-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}[_nghost-%COMP%] .ng-doc-root-wrapper[_ngcontent-%COMP%] main[_ngcontent-%COMP%]{display:flex;width:100%;margin-left:auto;margin-right:auto;max-width:var(--ng-doc-app-max-width);padding:var(--ng-doc-main-padding);--ng-doc-sidenav-top: var(--ng-doc-navbar-height);--ng-doc-sidenav-width: var(--ng-doc-sidebar-width);--ng-doc-sidenav-content-padding: var(--ng-doc-page-padding)}[_nghost-%COMP%] .ng-doc-root-wrapper[_ngcontent-%COMP%] footer[_ngcontent-%COMP%]{margin-top:auto}[_nghost-%COMP%] .ng-doc-root-wrapper[_ngcontent-%COMP%] .ng-doc-header[_ngcontent-%COMP%]{position:fixed;top:0;height:var(--ng-doc-navbar-height);width:100%;z-index:15}"],changeDetection:0})}};return e=ce([pe()],e),e})();He();He();var bi=ct(fn(),1);var rl=(()=>{let e=class Ci{constructor(t,o,i){this.elementRef=t,this.router=o,this.renderer=i,this.link="",this.activeClass=[],this.matchOptions={fragment:"exact",paths:"subset",queryParams:"exact",matrixParams:"exact"},this.router.events.pipe(Ce(r=>r instanceof An),je(()=>this.router.isActive(this.link,this.matchOptions)),wn(),Ie(this)).subscribe(r=>{r?(0,bi.asArray)(this.activeClass).forEach(s=>this.renderer.addClass(this.elementRef.nativeElement,s)):(0,bi.asArray)(this.activeClass).forEach(s=>this.renderer.removeClass(this.elementRef.nativeElement,s))})}static{this.\u0275fac=function(o){return new(o||Ci)(ee(ue),ee(Ut),ee(Tt))}}static{this.\u0275dir=xe({type:Ci,selectors:[["","ngDocRouteActive",""]],inputs:{link:[0,"ngDocRouteActive","link"],activeClass:"activeClass",matchOptions:"matchOptions"},standalone:!0})}};return e=ce([pe(),de("design:paramtypes",[ue,Ut,Tt])],e),e})();var ig=["*"];function rg(e,n){e&1&&P(0,"ng-doc-dot")}function sg(e,n){if(e&1&&P(0,"ng-doc-icon",8),e&2){let t=x();y("ngDocRotator",t.expanded)}}function ag(e,n){if(e&1&&(K(0),j(1),G()),e&2){let t=n.polymorpheusOutlet;b(),Pe(t)}}function cg(e,n){if(e&1&&(C(0,"div",9),oe(1),T(2,ag,2,1,"ng-container",10),D()),e&2){let t=x();b(2),y("polymorpheusOutlet",t.content)}}var lg=e=>[e];function dg(e,n){if(e&1&&(C(0,"ng-doc-tag",2),j(1),D()),e&2){let t=n.$implicit;y("color",t.type||"success"),b(),Pe(t.text)}}var ug=e=>({item:e,root:!0}),pg=e=>({item:e,root:!1});function gg(e,n){e&1&&Ve(0)}function fg(e,n){if(e&1&&(K(0),T(1,gg,1,0,"ng-container",5),G()),e&2){let t=n.$implicit;x();let o=Q(5);b(),y("ngTemplateOutlet",o)("ngTemplateOutletContext",On(2,ug,t))}}function mg(e,n){if(e&1&&(P(0,"ng-doc-sidebar-category",8),ie(1,"bind"),ie(2,"execute")),e&2){x();let t=Q(3),o=x(),i=o.item,r=o.root,s=x();y("category",i)("expandable",!!(i!=null&&i.expandable))("expanded",!!(i!=null&&i.expanded)||!(i!=null&&i.expandable)||Fe(2,8,Fe(1,5,s.matchRoute,s),i.route))("isRoot",!!r)("content",t)}}function hg(e,n){e&1&&Ve(0)}function yg(e,n){if(e&1&&(K(0),T(1,hg,1,0,"ng-container",5),G()),e&2){let t=n.$implicit;x(4);let o=Q(5);b(),y("ngTemplateOutlet",o)("ngTemplateOutletContext",On(2,pg,t))}}function _g(e,n){if(e&1&&(T(0,yg,2,4,"ng-container",4),ie(1,"bind"),ie(2,"execute")),e&2){let t=x(2).item,o=x();y("ngForOf",Fe(2,4,Fe(1,1,o.getNavigation,o),t))}}function vg(e,n){if(e&1&&(K(0),T(1,mg,3,11,"ng-doc-sidebar-category",7)(2,_g,3,7,"ng-template",null,2,te),G()),e&2){let t=x().item;b(),y("ngIf",!t.hidden)}}function bg(e,n){if(e&1&&P(0,"ng-doc-sidebar-item",10),e&2){let t=x(2).item;y("item",t)}}function Cg(e,n){if(e&1&&T(0,bg,1,1,"ng-doc-sidebar-item",9),e&2){let t=x().item;y("ngIf",!t.hidden)}}function Dg(e,n){if(e&1&&T(0,vg,4,1,"ng-container",6)(1,Cg,1,1,"ng-template",null,1,te),e&2){let t=n.item,o=Q(2);y("ngIf",t.children==null?null:t.children.length)("ngIfElse",o)}}var Sg=(()=>{let e=class Di{constructor(){this.isRoot=!1,this.content="",this.expandable=!0,this.expanded=!0,this.location=B(Fo),this.changeDetectorRef=B(he),this.location.onUrlChange(()=>{this.location.path().includes(this.category.route??"",0)&&this.expand()})}toggle(){this.expanded?this.collapse():this.expand()}expand(){this.category?.expandable&&(this.expanded=!0,this.changeDetectorRef.markForCheck())}collapse(){this.category?.expandable&&(this.expanded=!1,this.changeDetectorRef.markForCheck())}static{this.\u0275fac=function(o){return new(o||Di)}}static{this.\u0275cmp=A({type:Di,selectors:[["ng-doc-sidebar-category"]],hostVars:2,hostBindings:function(o,i){o&2&&ne("data-ng-doc-is-root",i.isRoot)("data-ng-doc-expandable",i.expandable)},inputs:{category:"category",isRoot:"isRoot",content:"content",expandable:"expandable",expanded:"expanded"},standalone:!0,features:[R],ngContentSelectors:ig,decls:10,vars:6,consts:[["contentTemplate",""],[1,"ng-doc-sidebar-category-wrapper"],[1,"ng-doc-sidebar-category-button",3,"click"],["activeClass","active",1,"ng-doc-sidebar-category",3,"ngDocRouteActive"],[4,"ngIf"],["ng-doc-text",""],["icon","chevron-right","ngDocTextLeft","",3,"ngDocRotator",4,"ngIf"],[3,"expanded","content"],["icon","chevron-right","ngDocTextLeft","",3,"ngDocRotator"],[1,"ng-doc-sidebar-category-children"],[4,"polymorpheusOutlet"]],template:function(o,i){if(o&1){let r=Re();me(),C(0,"div",1)(1,"div",2),Z("click",function(){return we(r),Ee(i.toggle())}),C(2,"div",3),T(3,rg,1,0,"ng-doc-dot",4),C(4,"span",5),T(5,sg,1,1,"ng-doc-icon",6),j(6),D()()(),P(7,"ng-doc-expander",7),T(8,cg,3,1,"ng-template",null,0,te),D()}if(o&2){let r=Q(9);b(2),y("ngDocRouteActive",i.category.route),b(),y("ngIf",!i.expandable),b(2),y("ngIf",i.category.expandable),b(),ge(" ",i.category.title," "),b(),y("expanded",i.expanded)("content",r)}},dependencies:[rl,ye,pi,Ye,re,jn,wc,ws,qe,ot],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;--ng-doc-sidebar-category-indent: calc( var(--ng-doc-sidebar-item-indent) + calc(var(--ng-doc-base-gutter) * 2) );--ng-doc-icon-color: var(--ng-doc-text)}[data-ng-doc-expandable=false][_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%]{padding:var(--ng-doc-sidebar-vetical-padding) var(--ng-doc-base-gutter) var(--ng-doc-sidebar-vetical-padding) var(--ng-doc-sidebar-item-indent)}[data-ng-doc-expandable=true][_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%]{padding:var(--ng-doc-sidebar-vetical-padding) var(--ng-doc-base-gutter) var(--ng-doc-sidebar-vetical-padding) var(--ng-doc-sidebar-item-indent);cursor:pointer;border-radius:var(--ng-doc-base-gutter)}[data-ng-doc-expandable=true][_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%]:hover{background-color:var(--ng-doc-base-1)}[_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%] .ng-doc-sidebar-category[_ngcontent-%COMP%]{display:flex;align-items:center;--ng-doc-dot-background: var(--ng-doc-base-4);--ng-doc-text: var(--ng-doc-heading-color)}[_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%] .ng-doc-sidebar-category[_ngcontent-%COMP%] ng-doc-dot[_ngcontent-%COMP%]{margin-right:calc(var(--ng-doc-base-gutter) * 2)}[_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%] .ng-doc-sidebar-category.active[_ngcontent-%COMP%]{--ng-doc-font-weight: 600;--ng-doc-dot-background: var(--ng-doc-primary)}[_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%] span[ng-doc-text][_ngcontent-%COMP%]{flex-shrink:0;margin-right:var(--ng-doc-base-gutter)}[_nghost-%COMP%] .ng-doc-sidebar-category-children[_ngcontent-%COMP%]{padding-bottom:calc(var(--ng-doc-base-gutter) * 2);--ng-doc-sidebar-item-indent: var(--ng-doc-sidebar-category-indent)}"],changeDetection:0})}};return e=ce([pe(),de("design:paramtypes",[])],e),e})(),Tg=(()=>{class e{constructor(){this.item=lt.required(),this.statuses=Mn(()=>(this.item().metadata?.tags.status??[]).map(o=>{let[i,r]=o.split(/\s+(.+)/);return{type:i.replace(/^:/,""),text:r}}))}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-sidebar-item"]],inputs:{item:[1,"item"]},standalone:!0,features:[R],decls:6,vars:5,consts:[["routerLinkActive","active",1,"ng-doc-sidebar-link",3,"routerLink"],["ng-doc-text","",3,"absoluteContent"],["size","small","mod","light",3,"color"]],template:function(o,i){o&1&&(C(0,"a",0),P(1,"ng-doc-dot"),C(2,"span",1),j(3),xr(4,dg,2,2,"ng-doc-tag",2,Tr),D()()),o&2&&(y("routerLink",On(3,lg,i.item().route)),b(2),y("absoluteContent",!0),b(),ge(" ",i.item().title," "),b(),wr(i.statuses()))},dependencies:[Wr,mt,pi,Ye,rn],styles:["[_nghost-%COMP%]{display:block}.ng-doc-sidebar-link[_ngcontent-%COMP%]{font-family:var(--ng-doc-heading-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);display:flex;align-items:center;gap:var(--ng-doc-base-gutter);padding:var(--ng-doc-sidebar-vetical-padding) var(--ng-doc-sidebar-horizontal-padding) var(--ng-doc-sidebar-vetical-padding) var(--ng-doc-sidebar-item-indent);text-decoration:inherit;cursor:pointer;border-radius:var(--ng-doc-base-gutter);--ng-doc-icon-color: var(--ng-doc-text);--ng-doc-dot-background: var(--ng-doc-base-4);--ng-doc-font-weight: 400}.ng-doc-sidebar-link[_ngcontent-%COMP%] ng-doc-dot[_ngcontent-%COMP%]{margin-right:var(--ng-doc-base-gutter);z-index:1}.ng-doc-sidebar-link[_ngcontent-%COMP%]:hover:not(.active){background:var(--ng-doc-base-1)}.ng-doc-sidebar-link.active[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--ng-doc-primary) 7%,transparent);--ng-doc-text: var(--ng-doc-primary);--ng-doc-dot-background: var(--ng-doc-primary)}.ng-doc-sidebar-link.active[_ngcontent-%COMP%] ng-doc-dot[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_animation .5s ease-out}@keyframes _ngcontent-%COMP%_animation{0%{transform:scale(1)}50%{transform:scale(2)}to{transform:scale(1)}}.ng-doc-sidebar-link[_ngcontent-%COMP%] ng-doc-tag[_ngcontent-%COMP%]{vertical-align:middle;margin-left:var(--ng-doc-base-gutter);font-weight:600}"],changeDetection:0})}}return e})(),sl=(()=>{class e{constructor(){this.location=B(Fo),this.context=B(qn)}getNavigation(t){return t?t.children??[]:this.context.navigation}matchRoute(t){return this.location.path().includes(t??"",0)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-sidebar"]],standalone:!0,features:[R],decls:6,vars:6,consts:[["sidebarTemplate",""],["itemTemplate",""],["categoryContent",""],[1,"ng-doc-side-bar-wrapper"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],[3,"category","expandable","expanded","isRoot","content",4,"ngIf"],[3,"category","expandable","expanded","isRoot","content"],[3,"item",4,"ngIf"],[3,"item"]],template:function(o,i){o&1&&(C(0,"div",3),T(1,fg,2,4,"ng-container",4),ie(2,"bind"),ie(3,"execute"),T(4,Dg,3,2,"ng-template",null,0,te),D()),o&2&&(b(),y("ngForOf",tt(3,4,Fe(2,1,i.getNavigation,i))))},dependencies:[Oe,jt,ye,Sg,Tg,ht,Ms],styles:["[_nghost-%COMP%]{display:block;height:calc(100vh - var(--ng-doc-navbar-height));width:100%;overflow:hidden;padding:var(--ng-doc-sidebar-padding) 0;background:var(--ng-doc-sidebar-background);box-shadow:var(--ng-doc-sidebar-shadow);--ng-doc-sidebar-category-indent: var(--ng-doc-sidebar-horizontal-padding);--ng-doc-sidebar-item-indent: var(--ng-doc-sidebar-horizontal-padding)}[_nghost-%COMP%] .ng-doc-side-bar-wrapper[_ngcontent-%COMP%]{position:relative;overflow:auto;max-height:100%}"],changeDetection:0})}}return e})();var al=[Vs,Xc,Zc,Kc,Us,el,Gc,Qc,Yc,tl,nl,Jc];var cl={breadcrumbs:Is,navigation:ol,toc:Hs};function ll(e){return[{provide:Ro,multi:!0,deps:[Fr],useFactory:n=>()=>n.setOffset([0,120])},{provide:Ro,multi:!0,useFactory:()=>{let n=B(qs);return()=>n.initialize(e?.shiki)}},...Oc(e?.uiKit)]}function dl(e){return[{provide:Fs,useValue:e}]}function ul(e,...n){return{provide:yt,useFactory:()=>new e(...n)}}var co=class e{copyright="Made with \u2764\uFE0F by louiiuol";static \u0275fac=function(t){return new(t||e)};static \u0275cmp=A({type:e,selectors:[["lib-footer"]],hostAttrs:[1,"w-full","flex","items-center","justify-center","bg-white","text-blue-800","px-12","py-8"],standalone:!0,features:[R],decls:2,vars:1,template:function(t,o){t&1&&(C(0,"p"),j(1),D()),t&2&&(b(),Pe(o.copyright))},encapsulation:2,changeDetection:0})};var an=class e{get(n){let t=localStorage.getItem(n);return t?JSON.parse(t):null}set({key:n,value:t}){typeof t=="object"&&(t=JSON.stringify(t)),localStorage.setItem(n,t)}remove(n){localStorage.removeItem(n)}check(n){return localStorage.getItem(n)!==null}static \u0275fac=function(t){return new(t||e)};static \u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"root"})};var _e=[];for(lo=0;lo<256;++lo)_e.push((lo+256).toString(16).slice(1));var lo;function pl(e,n=0){return(_e[e[n+0]]+_e[e[n+1]]+_e[e[n+2]]+_e[e[n+3]]+"-"+_e[e[n+4]]+_e[e[n+5]]+"-"+_e[e[n+6]]+_e[e[n+7]]+"-"+_e[e[n+8]]+_e[e[n+9]]+"-"+_e[e[n+10]]+_e[e[n+11]]+_e[e[n+12]]+_e[e[n+13]]+_e[e[n+14]]+_e[e[n+15]]).toLowerCase()}var uo,wg=new Uint8Array(16);function Si(){if(!uo&&(uo=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!uo))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return uo(wg)}var Eg=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ti={randomUUID:Eg};function Ng(e,n,t){if(Ti.randomUUID&&!n&&!e)return Ti.randomUUID();e=e||{};var o=e.random||(e.rng||Si)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,n){t=t||0;for(var i=0;i<16;++i)n[t+i]=o[i];return n}return pl(o)}var xi=Ng;var po=class e{storage=B(an);localStorageKey="notifications-center";notifications=Ge(this.getLocalNotifications());notify({summary:n,details:t,severity:o="info",life:i=4e3}){let r=xi();this.notifications().push({uuid:r,severity:o,summary:n,details:t,seen:!1,date:new Date}),this.storage.set({key:this.localStorageKey,value:this.notifications()}),setTimeout(()=>this.removeNotification(r),i)}success=n=>this.notify(Ct(J({},n),{severity:"success"}));error=n=>this.notify(Ct(J({},n),{severity:"error"}));warn=n=>this.notify(Ct(J({},n),{severity:"warn"}));getNotifications(){return this.notifications}seenNotification(n){let t=this.notifications().map(o=>(o.uuid===n&&(o.seen=!0),o));this.notifications.set(t),this.storage.set({key:this.localStorageKey,value:t})}clearAllNotifications(){confirm("Are you sure you want to delete all notifications?")&&(this.notifications.set([]),this.storage.remove(this.localStorageKey))}removeNotification(n){let t=this.notifications().filter(o=>o.uuid!==n);this.notifications.set(t),this.storage.set({key:this.localStorageKey,value:t})}getLocalNotifications(){let n=this.storage.get(this.localStorageKey);return n||[]}static \u0275fac=function(t){return new(t||e)};static \u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"root"})};var go=class e{notifier=B(po);storage=B(an);appName="ngx lib";ngAfterViewChecked(){this.greetings()}greetings(){this.storage.check("onboarded")||(this.notifier.notify({summary:"Welcome !",details:"Welcome to this library! Hope it will help you in your project. Enjoy !\u2728"}),this.storage.set({key:"onboarded",value:String(!0)}))}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=A({type:e,selectors:[["lib-root"]],hostAttrs:[1,"bg-primary-100"],standalone:!0,features:[R],decls:8,vars:1,consts:[["ngDocNavbarLeft","",1,"text-2xl","text-primary-500","flex","items-center","gap-2"],["name","construction",1,"cursor-pointer"]],template:function(t,o){t&1&&(C(0,"ng-doc-root")(1,"ng-doc-navbar")(2,"h3",0),P(3,"lib-icon-material",1),j(4),D()(),P(5,"ng-doc-sidebar")(6,"router-outlet")(7,"lib-footer"),D()),t&2&&(b(4),ge(" ",o.appName," "))},dependencies:[qr,il,Wc,sl,Ks,co],encapsulation:2,changeDetection:0})};function gl(e){return new H(3e3,!1)}function Pg(){return new H(3100,!1)}function Og(){return new H(3101,!1)}function Mg(e){return new H(3001,!1)}function Ig(e){return new H(3003,!1)}function kg(e){return new H(3004,!1)}function Ag(e,n){return new H(3005,!1)}function Rg(){return new H(3006,!1)}function Fg(){return new H(3007,!1)}function Lg(e,n){return new H(3008,!1)}function zg(e){return new H(3002,!1)}function Bg(e,n,t,o,i){return new H(3010,!1)}function jg(){return new H(3011,!1)}function Vg(){return new H(3012,!1)}function Ug(){return new H(3200,!1)}function qg(){return new H(3202,!1)}function Wg(){return new H(3013,!1)}function $g(e){return new H(3014,!1)}function Hg(e){return new H(3015,!1)}function Kg(e){return new H(3016,!1)}function Gg(e,n){return new H(3404,!1)}function Qg(e){return new H(3502,!1)}function Yg(e){return new H(3503,!1)}function Zg(){return new H(3300,!1)}function Xg(e){return new H(3504,!1)}function Jg(e){return new H(3301,!1)}function ef(e,n){return new H(3302,!1)}function tf(e){return new H(3303,!1)}function nf(e,n){return new H(3400,!1)}function of(e){return new H(3401,!1)}function rf(e){return new H(3402,!1)}function sf(e,n){return new H(3505,!1)}function vt(e){switch(e.length){case 0:return new qt;case 1:return e[0];default:return new Bo(e)}}function El(e,n,t=new Map,o=new Map){let i=[],r=[],s=-1,a=null;if(n.forEach(c=>{let l=c.get("offset"),u=l==s,d=u&&a||new Map;c.forEach((g,p)=>{let f=p,m=g;if(p!=="offset")switch(f=e.normalizePropertyName(f,i),m){case Ln:m=t.get(p);break;case nt:m=o.get(p);break;default:m=e.normalizeStyleValue(p,f,m,i);break}d.set(f,m)}),u||r.push(d),a=d,s=l}),i.length)throw Qg(i);return r}function Gi(e,n,t,o){switch(n){case"start":e.onStart(()=>o(t&&wi(t,"start",e)));break;case"done":e.onDone(()=>o(t&&wi(t,"done",e)));break;case"destroy":e.onDestroy(()=>o(t&&wi(t,"destroy",e)));break}}function wi(e,n,t){let o=t.totalTime,i=!!t.disabled,r=Qi(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,o??e.totalTime,i),s=e._data;return s!=null&&(r._data=s),r}function Qi(e,n,t,o,i="",r=0,s){return{element:e,triggerName:n,fromState:t,toState:o,phaseName:i,totalTime:r,disabled:!!s}}function ze(e,n,t){let o=e.get(n);return o||e.set(n,o=t),o}function fl(e){let n=e.indexOf(":"),t=e.substring(1,n),o=e.slice(n+1);return[t,o]}var af=typeof document>"u"?null:document.documentElement;function Yi(e){let n=e.parentNode||e.host||null;return n===af?null:n}function cf(e){return e.substring(1,6)=="ebkit"}var Mt=null,ml=!1;function lf(e){Mt||(Mt=df()||{},ml=Mt.style?"WebkitAppearance"in Mt.style:!1);let n=!0;return Mt.style&&!cf(e)&&(n=e in Mt.style,!n&&ml&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Mt.style)),n}function df(){return typeof document<"u"?document.body:null}function Nl(e,n){for(;n;){if(n===e)return!0;n=Yi(n)}return!1}function Pl(e,n,t){if(t)return Array.from(e.querySelectorAll(n));let o=e.querySelector(n);return o?[o]:[]}var Zi=(()=>{class e{validateStyleProperty(t){return lf(t)}containsElement(t,o){return Nl(t,o)}getParentElement(t){return Yi(t)}query(t,o,i){return Pl(t,o,i)}computeStyle(t,o,i){return i||""}animate(t,o,i,r,s,a=[],c){return new qt(i,r)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275prov=De({token:e,factory:e.\u0275fac})}}return e})(),At=class{static{this.NOOP=new Zi}},Rt=class{};var uf=1e3,Ol="{{",pf="}}",Ml="ng-enter",Ii="ng-leave",fo="ng-trigger",vo=".ng-trigger",hl="ng-animating",ki=".ng-animating";function gt(e){if(typeof e=="number")return e;let n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Ai(parseFloat(n[1]),n[2])}function Ai(e,n){switch(n){case"s":return e*uf;default:return e}}function bo(e,n,t){return e.hasOwnProperty("duration")?e:gf(e,n,t)}function gf(e,n,t){let o=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,s="";if(typeof e=="string"){let a=e.match(o);if(a===null)return n.push(gl(e)),{duration:0,delay:0,easing:""};i=Ai(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(r=Ai(parseFloat(c),a[4]));let l=a[5];l&&(s=l)}else i=e;if(!t){let a=!1,c=n.length;i<0&&(n.push(Pg()),a=!0),r<0&&(n.push(Og()),a=!0),a&&n.splice(c,0,gl(e))}return{duration:i,delay:r,easing:s}}function ff(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}function st(e,n,t){n.forEach((o,i)=>{let r=Xi(i);t&&!t.has(i)&&t.set(i,e.style[r]),e.style[r]=o})}function kt(e,n){n.forEach((t,o)=>{let i=Xi(o);e.style[i]=""})}function _n(e){return Array.isArray(e)?e.length==1?e[0]:Xr(e):e}function mf(e,n,t){let o=n.params||{},i=Il(e);i.length&&i.forEach(r=>{o.hasOwnProperty(r)||t.push(Mg(r))})}var Ri=new RegExp(`${Ol}\\s*(.+?)\\s*${pf}`,"g");function Il(e){let n=[];if(typeof e=="string"){let t;for(;t=Ri.exec(e);)n.push(t[1]);Ri.lastIndex=0}return n}function bn(e,n,t){let o=`${e}`,i=o.replace(Ri,(r,s)=>{let a=n[s];return a==null&&(t.push(Ig(s)),a=""),a.toString()});return i==o?e:i}var hf=/-+([a-z0-9])/g;function Xi(e){return e.replace(hf,(...n)=>n[1].toUpperCase())}function yf(e,n){return e===0||n===0}function _f(e,n,t){if(t.size&&n.length){let o=n[0],i=[];if(t.forEach((r,s)=>{o.has(s)||i.push(s),o.set(s,r)}),i.length)for(let r=1;rs.set(a,Ji(e,a)))}}return n}function Le(e,n,t){switch(n.type){case $.Trigger:return e.visitTrigger(n,t);case $.State:return e.visitState(n,t);case $.Transition:return e.visitTransition(n,t);case $.Sequence:return e.visitSequence(n,t);case $.Group:return e.visitGroup(n,t);case $.Animate:return e.visitAnimate(n,t);case $.Keyframes:return e.visitKeyframes(n,t);case $.Style:return e.visitStyle(n,t);case $.Reference:return e.visitReference(n,t);case $.AnimateChild:return e.visitAnimateChild(n,t);case $.AnimateRef:return e.visitAnimateRef(n,t);case $.Query:return e.visitQuery(n,t);case $.Stagger:return e.visitStagger(n,t);default:throw kg(n.type)}}function Ji(e,n){return window.getComputedStyle(e)[n]}var vf=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Co=class extends Rt{normalizePropertyName(n,t){return Xi(n)}normalizeStyleValue(n,t,o,i){let r="",s=o.toString().trim();if(vf.has(t)&&o!==0&&o!=="0")if(typeof o=="number")r="px";else{let a=o.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(Ag(n,o))}return s+r}};var Do="*";function bf(e,n){let t=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(o=>Cf(o,t,n)):t.push(e),t}function Cf(e,n,t){if(e[0]==":"){let c=Df(e,t);if(typeof c=="function"){n.push(c);return}e=c}let o=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(o==null||o.length<4)return t.push(Hg(e)),n;let i=o[1],r=o[2],s=o[3];n.push(yl(i,s));let a=i==Do&&s==Do;r[0]=="<"&&!a&&n.push(yl(s,i))}function Df(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,o)=>parseFloat(o)>parseFloat(t);case":decrement":return(t,o)=>parseFloat(o) *"}}var mo=new Set(["true","1"]),ho=new Set(["false","0"]);function yl(e,n){let t=mo.has(e)||ho.has(e),o=mo.has(n)||ho.has(n);return(i,r)=>{let s=e==Do||e==i,a=n==Do||n==r;return!s&&t&&typeof i=="boolean"&&(s=i?mo.has(e):ho.has(e)),!a&&o&&typeof r=="boolean"&&(a=r?mo.has(n):ho.has(n)),s&&a}}var kl=":self",Sf=new RegExp(`s*${kl}s*,?`,"g");function Al(e,n,t,o){return new Fi(e).build(n,t,o)}var _l="",Fi=class{constructor(n){this._driver=n}build(n,t,o){let i=new Li(t);return this._resetContextStyleTimingState(i),Le(this,_n(n),i)}_resetContextStyleTimingState(n){n.currentQuerySelector=_l,n.collectedStyles=new Map,n.collectedStyles.set(_l,new Map),n.currentTime=0}visitTrigger(n,t){let o=t.queryCount=0,i=t.depCount=0,r=[],s=[];return n.name.charAt(0)=="@"&&t.errors.push(Rg()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==$.State){let c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(u=>{c.name=u,r.push(this.visitState(c,t))}),c.name=l}else if(a.type==$.Transition){let c=this.visitTransition(a,t);o+=c.queryCount,i+=c.depCount,s.push(c)}else t.errors.push(Fg())}),{type:$.Trigger,name:n.name,states:r,transitions:s,queryCount:o,depCount:i,options:null}}visitState(n,t){let o=this.visitStyle(n.styles,t),i=n.options&&n.options.params||null;if(o.containsDynamicStyles){let r=new Set,s=i||{};o.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{Il(c).forEach(l=>{s.hasOwnProperty(l)||r.add(l)})})}),r.size&&t.errors.push(Lg(n.name,[...r.values()]))}return{type:$.State,name:n.name,style:o,options:i?{params:i}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;let o=Le(this,_n(n.animation),t),i=bf(n.expr,t.errors);return{type:$.Transition,matchers:i,animation:o,queryCount:t.queryCount,depCount:t.depCount,options:It(n.options)}}visitSequence(n,t){return{type:$.Sequence,steps:n.steps.map(o=>Le(this,o,t)),options:It(n.options)}}visitGroup(n,t){let o=t.currentTime,i=0,r=n.steps.map(s=>{t.currentTime=o;let a=Le(this,s,t);return i=Math.max(i,t.currentTime),a});return t.currentTime=i,{type:$.Group,steps:r,options:It(n.options)}}visitAnimate(n,t){let o=Ef(n.timings,t.errors);t.currentAnimateTimings=o;let i,r=n.styles?n.styles:Me({});if(r.type==$.Keyframes)i=this.visitKeyframes(r,t);else{let s=n.styles,a=!1;if(!s){a=!0;let l={};o.easing&&(l.easing=o.easing),s=Me(l)}t.currentTime+=o.duration+o.delay;let c=this.visitStyle(s,t);c.isEmptyStep=a,i=c}return t.currentAnimateTimings=null,{type:$.Animate,timings:o,style:i,options:null}}visitStyle(n,t){let o=this._makeStyleAst(n,t);return this._validateStyleAst(o,t),o}_makeStyleAst(n,t){let o=[],i=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of i)typeof a=="string"?a===nt?o.push(a):t.errors.push(zg(a)):o.push(new Map(Object.entries(a)));let r=!1,s=null;return o.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!r)){for(let c of a.values())if(c.toString().indexOf(Ol)>=0){r=!0;break}}}),{type:$.Style,styles:o,easing:s,offset:n.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(n,t){let o=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;o&&r>0&&(r-=o.duration+o.delay),n.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,c)=>{let l=t.collectedStyles.get(t.currentQuerySelector),u=l.get(c),d=!0;u&&(r!=i&&r>=u.startTime&&i<=u.endTime&&(t.errors.push(Bg(c,u.startTime,u.endTime,r,i)),d=!1),r=u.startTime),d&&l.set(c,{startTime:r,endTime:i}),t.options&&mf(a,t.options,t.errors)})})}visitKeyframes(n,t){let o={type:$.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(jg()),o;let i=1,r=0,s=[],a=!1,c=!1,l=0,u=n.steps.map(h=>{let v=this._makeStyleAst(h,t),w=v.offset!=null?v.offset:wf(v.styles),N=0;return w!=null&&(r++,N=v.offset=w),c=c||N<0||N>1,a=a||N0&&r{let w=g>0?v==p?1:g*v:s[v],N=w*_;t.currentTime=f+m.delay+N,m.duration=N,this._validateStyleAst(h,t),h.offset=w,o.styles.push(h)}),o}visitReference(n,t){return{type:$.Reference,animation:Le(this,_n(n.animation),t),options:It(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:$.AnimateChild,options:It(n.options)}}visitAnimateRef(n,t){return{type:$.AnimateRef,animation:this.visitReference(n.animation,t),options:It(n.options)}}visitQuery(n,t){let o=t.currentQuerySelector,i=n.options||{};t.queryCount++,t.currentQuery=n;let[r,s]=Tf(n.selector);t.currentQuerySelector=o.length?o+" "+r:r,ze(t.collectedStyles,t.currentQuerySelector,new Map);let a=Le(this,_n(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=o,{type:$.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:It(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(Wg());let o=n.timings==="full"?{duration:0,delay:0,easing:"full"}:bo(n.timings,t.errors,!0);return{type:$.Stagger,animation:Le(this,_n(n.animation),t),timings:o,options:null}}};function Tf(e){let n=!!e.split(/\s*,\s*/).find(t=>t==kl);return n&&(e=e.replace(Sf,"")),e=e.replace(/@\*/g,vo).replace(/@\w+/g,t=>vo+"-"+t.slice(1)).replace(/:animating/g,ki),[e,n]}function xf(e){return e?J({},e):null}var Li=class{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function wf(e){if(typeof e=="string")return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){let o=t;n=parseFloat(o.get("offset")),o.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}function Ef(e,n){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let r=bo(e,n).duration;return Ei(r,0,"")}let t=e;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Ei(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=bo(t,n);return Ei(i.duration,i.delay,i.easing)}function It(e){return e?(e=J({},e),e.params&&(e.params=xf(e.params))):e={},e}function Ei(e,n,t){return{duration:e,delay:n,easing:t}}function er(e,n,t,o,i,r,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:o,duration:i,delay:r,totalTime:i+r,easing:s,subTimeline:a}}var Cn=class{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let o=this._map.get(n);o||this._map.set(n,o=[]),o.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}},Nf=1,Pf=":enter",Of=new RegExp(Pf,"g"),Mf=":leave",If=new RegExp(Mf,"g");function Rl(e,n,t,o,i,r=new Map,s=new Map,a,c,l=[]){return new zi().buildKeyframes(e,n,t,o,i,r,s,a,c,l)}var zi=class{buildKeyframes(n,t,o,i,r,s,a,c,l,u=[]){l=l||new Cn;let d=new Bi(n,t,l,i,r,u,[]);d.options=c;let g=c.delay?gt(c.delay):0;d.currentTimeline.delayNextStep(g),d.currentTimeline.setStyles([s],null,d.errors,c),Le(this,o,d);let p=d.timelines.filter(f=>f.containsAnimation());if(p.length&&a.size){let f;for(let m=p.length-1;m>=0;m--){let _=p[m];if(_.element===t){f=_;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,d.errors,c)}return p.length?p.map(f=>f.buildKeyframes()):[er(t,[],[],[],0,g,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){let o=t.subInstructions.get(t.element);if(o){let i=t.createSubContext(n.options),r=t.currentTimeline.currentTime,s=this._visitSubInstructions(o,i,i.options);r!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){let o=t.createSubContext(n.options);o.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,o),this.visitReference(n.animation,o),t.transformIntoNewTimeline(o.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,o){for(let i of n){let r=i?.delay;if(r){let s=typeof r=="number"?r:gt(bn(r,i?.params??{},t.errors));o.delayNextStep(s)}}}_visitSubInstructions(n,t,o){let r=t.currentTimeline.currentTime,s=o.duration!=null?gt(o.duration):null,a=o.delay!=null?gt(o.delay):null;return s!==0&&n.forEach(c=>{let l=t.appendInstructionToTimeline(c,s,a);r=Math.max(r,l.duration+l.delay)}),r}visitReference(n,t){t.updateOptions(n.options,!0),Le(this,n.animation,t),t.previousNode=n}visitSequence(n,t){let o=t.subContextCount,i=t,r=n.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==$.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=So);let s=gt(r.delay);i.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>Le(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>o&&i.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){let o=[],i=t.currentTimeline.currentTime,r=n.options&&n.options.delay?gt(n.options.delay):0;n.steps.forEach(s=>{let a=t.createSubContext(n.options);r&&a.delayNextStep(r),Le(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),o.push(a.currentTimeline)}),o.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(i),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){let o=n.strValue,i=t.params?bn(o,t.params,t.errors):o;return bo(i,t.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){let o=t.currentAnimateTimings=this._visitTiming(n.timings,t),i=t.currentTimeline;o.delay&&(t.incrementTime(o.delay),i.snapshotCurrentStyles());let r=n.style;r.type==$.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(o.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){let o=t.currentTimeline,i=t.currentAnimateTimings;!i&&o.hasCurrentStyleProperties()&&o.forwardFrame();let r=i&&i.easing||n.easing;n.isEmptyStep?o.applyEmptyStep(r):o.setStyles(n.styles,r,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){let o=t.currentAnimateTimings,i=t.currentTimeline.duration,r=o.duration,a=t.createSubContext().currentTimeline;a.easing=o.easing,n.styles.forEach(c=>{let l=c.offset||0;a.forwardTime(l*r),a.setStyles(c.styles,c.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+r),t.previousNode=n}visitQuery(n,t){let o=t.currentTimeline.currentTime,i=n.options||{},r=i.delay?gt(i.delay):0;r&&(t.previousNode.type===$.Style||o==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=So);let s=o,a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;let c=null;a.forEach((l,u)=>{t.currentQueryIndex=u;let d=t.createSubContext(n.options,l);r&&d.delayNextStep(r),l===t.element&&(c=d.currentTimeline),Le(this,n.animation,d),d.currentTimeline.applyStylesToKeyframe();let g=d.currentTimeline.currentTime;s=Math.max(s,g)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){let o=t.parentContext,i=t.currentTimeline,r=n.timings,s=Math.abs(r.duration),a=s*(t.currentQueryTotal-1),c=s*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":c=a-c;break;case"full":c=o.currentStaggerTime;break}let u=t.currentTimeline;c&&u.delayNextStep(c);let d=u.currentTime;Le(this,n.animation,t),t.previousNode=n,o.currentStaggerTime=i.currentTime-d+(i.startTime-o.currentTimeline.startTime)}},So={},Bi=class e{constructor(n,t,o,i,r,s,a,c){this._driver=n,this.element=t,this.subInstructions=o,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=So,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new To(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;let o=n,i=this.options;o.duration!=null&&(i.duration=gt(o.duration)),o.delay!=null&&(i.delay=gt(o.delay));let r=o.params;if(r){let s=i.params;s||(s=this.options.params={}),Object.keys(r).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=bn(r[a],s,this.errors))})}}_copyOptions(){let n={};if(this.options){let t=this.options.params;if(t){let o=n.params={};Object.keys(t).forEach(i=>{o[i]=t[i]})}}return n}createSubContext(n=null,t,o){let i=t||this.element,r=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,o||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(n),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(n){return this.previousNode=So,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,o){let i={duration:t??n.duration,delay:this.currentTimeline.currentTime+(o??0)+n.delay,easing:""},r=new ji(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,i,n.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,o,i,r,s){let a=[];if(i&&a.push(this.element),n.length>0){n=n.replace(Of,"."+this._enterClassName),n=n.replace(If,"."+this._leaveClassName);let c=o!=1,l=this._driver.query(this.element,n,c);o!==0&&(l=o<0?l.slice(l.length+o,l.length):l.slice(0,o)),a.push(...l)}return!r&&a.length==0&&s.push($g(t)),a}},To=class e{constructor(n,t,o,i){this._driver=n,this.element=t,this.startTime=o,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new e(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Nf,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,o]of this._globalTimelineStyles)this._backFill.set(t,o||nt),this._currentKeyframe.set(t,nt);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,o,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},s=kf(n,this._globalTimelineStyles);for(let[a,c]of s){let l=bn(c,r,o);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??nt),this._updateStyle(a,l)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,o)=>{let i=this._styleSummary.get(o);(!i||t.time>i.time)&&this._updateStyle(o,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,t=new Set,o=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,c)=>{let l=new Map([...this._backFill,...a]);l.forEach((u,d)=>{u===Ln?n.add(d):u===nt&&t.add(d)}),o||l.set("offset",c/this.duration),i.push(l)});let r=[...n.values()],s=[...t.values()];if(o){let a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return er(this.element,i,r,s,this.duration,this.startTime,this.easing,!1)}},ji=class extends To{constructor(n,t,o,i,r,s,a=!1){super(n,t,s.delay),this.keyframes=o,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:o,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],s=o+t,a=t/s,c=new Map(n[0]);c.set("offset",0),r.push(c);let l=new Map(n[0]);l.set("offset",vl(a)),r.push(l);let u=n.length-1;for(let d=1;d<=u;d++){let g=new Map(n[d]),p=g.get("offset"),f=t+p*o;g.set("offset",vl(f/s)),r.push(g)}o=s,t=0,i="",n=r}return er(this.element,n,this.preStyleProps,this.postStyleProps,o,t,i,!0)}};function vl(e,n=3){let t=Math.pow(10,n-1);return Math.round(e*t)/t}function kf(e,n){let t=new Map,o;return e.forEach(i=>{if(i==="*"){o??=n.keys();for(let r of o)t.set(r,nt)}else for(let[r,s]of i)t.set(r,s)}),t}function bl(e,n,t,o,i,r,s,a,c,l,u,d,g){return{type:0,element:e,triggerName:n,isRemovalTransition:i,fromState:t,fromStyles:r,toState:o,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:g}}var Ni={},xo=class{constructor(n,t,o){this._triggerName=n,this.ast=t,this._stateStyles=o}match(n,t,o,i){return Af(this.ast.matchers,n,t,o,i)}buildStyles(n,t,o){let i=this._stateStyles.get("*");return n!==void 0&&(i=this._stateStyles.get(n?.toString())||i),i?i.buildStyles(t,o):new Map}build(n,t,o,i,r,s,a,c,l,u){let d=[],g=this.ast.options&&this.ast.options.params||Ni,p=a&&a.params||Ni,f=this.buildStyles(o,p,d),m=c&&c.params||Ni,_=this.buildStyles(i,m,d),h=new Set,v=new Map,w=new Map,N=i==="void",z={params:Fl(m,g),delay:this.ast.options?.delay},F=u?[]:Rl(n,t,this.ast.animation,r,s,f,_,z,l,d),E=0;return F.forEach(L=>{E=Math.max(L.duration+L.delay,E)}),d.length?bl(t,this._triggerName,o,i,N,f,_,[],[],v,w,E,d):(F.forEach(L=>{let V=L.element,W=ze(v,V,new Set);L.preStyleProps.forEach(Y=>W.add(Y));let fe=ze(w,V,new Set);L.postStyleProps.forEach(Y=>fe.add(Y)),V!==t&&h.add(V)}),bl(t,this._triggerName,o,i,N,f,_,F,[...h.values()],v,w,E))}};function Af(e,n,t,o,i){return e.some(r=>r(n,t,o,i))}function Fl(e,n){let t=J({},n);return Object.entries(e).forEach(([o,i])=>{i!=null&&(t[o]=i)}),t}var Vi=class{constructor(n,t,o){this.styles=n,this.defaultParams=t,this.normalizer=o}buildStyles(n,t){let o=new Map,i=Fl(n,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((s,a)=>{s&&(s=bn(s,i,t));let c=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,c,s,t),o.set(a,s)})}),o}};function Rf(e,n,t){return new Ui(e,n,t)}var Ui=class{constructor(n,t,o){this.name=n,this.ast=t,this._normalizer=o,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Vi(i.style,r,o))}),Cl(this.states,"true","1"),Cl(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new xo(n,i,this.states))}),this.fallbackTransition=Ff(n,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,o,i){return this.transitionFactories.find(s=>s.match(n,t,o,i))||null}matchStyles(n,t,o){return this.fallbackTransition.buildStyles(n,t,o)}};function Ff(e,n,t){let o=[(s,a)=>!0],i={type:$.Sequence,steps:[],options:null},r={type:$.Transition,animation:i,matchers:o,options:null,queryCount:0,depCount:0};return new xo(e,r,n)}function Cl(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}var Lf=new Cn,qi=class{constructor(n,t,o){this.bodyNode=n,this._driver=t,this._normalizer=o,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){let o=[],i=[],r=Al(this._driver,t,o,i);if(o.length)throw Yg(o);i.length&&void 0,this._animations.set(n,r)}_buildPlayer(n,t,o){let i=n.element,r=El(this._normalizer,n.keyframes,t,o);return this._driver.animate(i,r,n.duration,n.delay,n.easing,[],!0)}create(n,t,o={}){let i=[],r=this._animations.get(n),s,a=new Map;if(r?(s=Rl(this._driver,t,r,Ml,Ii,new Map,new Map,o,Lf,i),s.forEach(u=>{let d=ze(a,u.element,new Map);u.postStyleProps.forEach(g=>d.set(g,null))})):(i.push(Zg()),s=[]),i.length)throw Xg(i);a.forEach((u,d)=>{u.forEach((g,p)=>{u.set(p,this._driver.computeStyle(d,p,nt))})});let c=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),l=vt(c);return this._playersById.set(n,l),l.onDestroy(()=>this.destroy(n)),this.players.push(l),l}destroy(n){let t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);let o=this.players.indexOf(t);o>=0&&this.players.splice(o,1)}_getPlayer(n){let t=this._playersById.get(n);if(!t)throw Jg(n);return t}listen(n,t,o,i){let r=Qi(t,"","","");return Gi(this._getPlayer(n),o,r,i),()=>{}}command(n,t,o,i){if(o=="register"){this.register(n,i[0]);return}if(o=="create"){let s=i[0]||{};this.create(n,t,s);return}let r=this._getPlayer(n);switch(o){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(n);break}}},Dl="ng-animate-queued",zf=".ng-animate-queued",Pi="ng-animate-disabled",Bf=".ng-animate-disabled",jf="ng-star-inserted",Vf=".ng-star-inserted",Uf=[],Ll={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qf={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ze="__ng_removed",Dn=class{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;let o=n&&n.hasOwnProperty("value"),i=o?n.value:n;if(this.value=$f(i),o){let r=n,{value:s}=r,a=nr(r,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let t=n.params;if(t){let o=this.options.params;Object.keys(t).forEach(i=>{o[i]==null&&(o[i]=t[i])})}}},vn="void",Oi=new Dn(vn),Wi=class{constructor(n,t,o){this.id=n,this.hostElement=t,this._engine=o,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,$e(t,this._hostClassName)}listen(n,t,o,i){if(!this._triggers.has(t))throw ef(o,t);if(o==null||o.length==0)throw tf(t);if(!Hf(o))throw nf(o,t);let r=ze(this._elementListeners,n,[]),s={name:t,phase:o,callback:i};r.push(s);let a=ze(this._engine.statesByElement,n,new Map);return a.has(t)||($e(n,fo),$e(n,fo+"-"+t),a.set(t,Oi)),()=>{this._engine.afterFlush(()=>{let c=r.indexOf(s);c>=0&&r.splice(c,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return this._triggers.has(n)?!1:(this._triggers.set(n,t),!0)}_getTrigger(n){let t=this._triggers.get(n);if(!t)throw of(n);return t}trigger(n,t,o,i=!0){let r=this._getTrigger(t),s=new Sn(this.id,t,n),a=this._engine.statesByElement.get(n);a||($e(n,fo),$e(n,fo+"-"+t),this._engine.statesByElement.set(n,a=new Map));let c=a.get(t),l=new Dn(o,this.id);if(!(o&&o.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(t,l),c||(c=Oi),!(l.value===vn)&&c.value===l.value){if(!Qf(c.params,l.params)){let m=[],_=r.matchStyles(c.value,c.params,m),h=r.matchStyles(l.value,l.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{kt(n,_),st(n,h)})}return}let g=ze(this._engine.playersByElement,n,[]);g.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let p=r.matchTransition(c.value,l.value,n,l.params),f=!1;if(!p){if(!i)return;p=r.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:p,fromState:c,toState:l,player:s,isFallbackTransition:f}),f||($e(n,Dl),s.onStart(()=>{cn(n,Dl)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);let _=this._engine.playersByElement.get(n);if(_){let h=_.indexOf(s);h>=0&&_.splice(h,1)}}),this.players.push(s),g.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,o)=>{this._elementListeners.set(o,t.filter(i=>i.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let t=this._engine.playersByElement.get(n);t&&(t.forEach(o=>o.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){let o=this._engine.driver.query(n,vo,!0);o.forEach(i=>{if(i[Ze])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(s=>s.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>o.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(n,t,o,i){let r=this._engine.statesByElement.get(n),s=new Map;if(r){let a=[];if(r.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){let u=this.trigger(n,l,vn,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),o&&vt(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let t=this._elementListeners.get(n),o=this._engine.statesByElement.get(n);if(t&&o){let i=new Set;t.forEach(r=>{let s=r.name;if(i.has(s))return;i.add(s);let c=this._triggers.get(s).fallbackTransition,l=o.get(s)||Oi,u=new Dn(vn),d=new Sn(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:c,fromState:l,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(n,t){let o=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let i=!1;if(o.totalAnimations){let r=o.players.length?o.playersByQueriedElement.get(n):[];if(r&&r.length)i=!0;else{let s=n;for(;s=s.parentNode;)if(o.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(n),i)o.markElementAsRemoved(this.id,n,!1,t);else{let r=n[Ze];(!r||r===Ll)&&(o.afterFlush(()=>this.clearElementCache(n)),o.destroyInnerAnimations(n),o._onRemovalComplete(n,t))}}insertNode(n,t){$e(n,this._hostClassName)}drainQueuedTransitions(n){let t=[];return this._queue.forEach(o=>{let i=o.player;if(i.destroyed)return;let r=o.element,s=this._elementListeners.get(r);s&&s.forEach(a=>{if(a.name==o.triggerName){let c=Qi(r,o.triggerName,o.fromState.value,o.toState.value);c._data=n,Gi(o.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(o)}),this._queue=[],t.sort((o,i)=>{let r=o.transition.ast.depCount,s=i.transition.ast.depCount;return r==0||s==0?r-s:this._engine.driver.containsElement(o.element,i.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},$i=class{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,o){this.bodyNode=n,this.driver=t,this._normalizer=o,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,r)=>{}}get queuedPlayers(){let n=[];return this._namespaceList.forEach(t=>{t.players.forEach(o=>{o.queued&&n.push(o)})}),n}createNamespace(n,t){let o=new Wi(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(o,t):(this.newHostElements.set(t,o),this.collectEnterElement(t)),this._namespaceLookup[n]=o}_balanceNamespaceList(n,t){let o=this._namespaceList,i=this.namespacesByHostElement;if(o.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){let c=i.get(a);if(c){let l=o.indexOf(c);o.splice(l+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||o.unshift(n)}else o.push(n);return i.set(t,n),n}register(n,t){let o=this._namespaceLookup[n];return o||(o=this.createNamespace(n,t)),o}registerTrigger(n,t,o){let i=this._namespaceLookup[n];i&&i.register(t,o)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let o=this._fetchNamespace(n);this.namespacesByHostElement.delete(o.hostElement);let i=this._namespaceList.indexOf(o);i>=0&&this._namespaceList.splice(i,1),o.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let t=new Set,o=this.statesByElement.get(n);if(o){for(let i of o.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(n,t,o,i){if(yo(t)){let r=this._fetchNamespace(n);if(r)return r.trigger(t,o,i),!0}return!1}insertNode(n,t,o,i){if(!yo(t))return;let r=t[Ze];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){let s=this._fetchNamespace(n);s&&s.insertNode(t,o)}i&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),$e(n,Pi)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),cn(n,Pi))}removeNode(n,t,o){if(yo(t)){let i=n?this._fetchNamespace(n):null;i?i.removeNode(t,o):this.markElementAsRemoved(n,t,!1,o);let r=this.namespacesByHostElement.get(t);r&&r.id!==n&&r.removeNode(t,o)}else this._onRemovalComplete(t,o)}markElementAsRemoved(n,t,o,i,r){this.collectedLeaveElements.push(t),t[Ze]={namespaceId:n,setForRemoval:i,hasAnimation:o,removedBeforeQueried:!1,previousTriggersValues:r}}listen(n,t,o,i,r){return yo(t)?this._fetchNamespace(n).listen(t,o,i,r):()=>{}}_buildInstruction(n,t,o,i,r){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,o,i,n.fromState.options,n.toState.options,t,r)}destroyInnerAnimations(n){let t=this.driver.query(n,vo,!0);t.forEach(o=>this.destroyActiveAnimationsForElement(o)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(n,ki,!0),t.forEach(o=>this.finishActiveQueriedAnimationOnElement(o)))}destroyActiveAnimationsForElement(n){let t=this.playersByElement.get(n);t&&t.forEach(o=>{o.queued?o.markedForDestroy=!0:o.destroy()})}finishActiveQueriedAnimationOnElement(n){let t=this.playersByQueriedElement.get(n);t&&t.forEach(o=>o.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return vt(this.players).onDone(()=>n());n()})}processLeaveNode(n){let t=n[Ze];if(t&&t.setForRemoval){if(n[Ze]=Ll,t.namespaceId){this.destroyInnerAnimations(n);let o=this._fetchNamespace(t.namespaceId);o&&o.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(Pi)&&this.markElementAsDisabled(n,!1),this.driver.query(n,Bf,!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((o,i)=>this._balanceNamespaceList(o,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let o=0;oo()),this._flushFns=[],this._whenQuietFns.length){let o=this._whenQuietFns;this._whenQuietFns=[],t.length?vt(t).onDone(()=>{o.forEach(i=>i())}):o.forEach(i=>i())}}reportError(n){throw rf(n)}_flushAnimations(n,t){let o=new Cn,i=[],r=new Map,s=[],a=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(O=>{u.add(O);let M=this.driver.query(O,zf,!0);for(let I=0;I{let I=Ml+m++;f.set(M,I),O.forEach(U=>$e(U,I))});let _=[],h=new Set,v=new Set;for(let O=0;Oh.add(U)):v.add(M))}let w=new Map,N=xl(g,Array.from(h));N.forEach((O,M)=>{let I=Ii+m++;w.set(M,I),O.forEach(U=>$e(U,I))}),n.push(()=>{p.forEach((O,M)=>{let I=f.get(M);O.forEach(U=>cn(U,I))}),N.forEach((O,M)=>{let I=w.get(M);O.forEach(U=>cn(U,I))}),_.forEach(O=>{this.processLeaveNode(O)})});let z=[],F=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(t).forEach(I=>{let U=I.player,le=I.element;if(z.push(U),this.collectedEnterElements.length){let ve=le[Ze];if(ve&&ve.setForMove){if(ve.previousTriggersValues&&ve.previousTriggersValues.has(I.triggerName)){let bt=ve.previousTriggersValues.get(I.triggerName),Be=this.statesByElement.get(I.element);if(Be&&Be.has(I.triggerName)){let Tn=Be.get(I.triggerName);Tn.value=bt,Be.set(I.triggerName,Tn)}}U.destroy();return}}let Xe=!d||!this.driver.containsElement(d,le),Ae=w.get(le),ft=f.get(le),ae=this._buildInstruction(I,o,ft,Ae,Xe);if(ae.errors&&ae.errors.length){F.push(ae);return}if(Xe){U.onStart(()=>kt(le,ae.fromStyles)),U.onDestroy(()=>st(le,ae.toStyles)),i.push(U);return}if(I.isFallbackTransition){U.onStart(()=>kt(le,ae.fromStyles)),U.onDestroy(()=>st(le,ae.toStyles)),i.push(U);return}let tr=[];ae.timelines.forEach(ve=>{ve.stretchStartingKeyframe=!0,this.disabledNodes.has(ve.element)||tr.push(ve)}),ae.timelines=tr,o.append(le,ae.timelines);let $l={instruction:ae,player:U,element:le};s.push($l),ae.queriedElements.forEach(ve=>ze(a,ve,[]).push(U)),ae.preStyleProps.forEach((ve,bt)=>{if(ve.size){let Be=c.get(bt);Be||c.set(bt,Be=new Set),ve.forEach((Tn,Oo)=>Be.add(Oo))}}),ae.postStyleProps.forEach((ve,bt)=>{let Be=l.get(bt);Be||l.set(bt,Be=new Set),ve.forEach((Tn,Oo)=>Be.add(Oo))})});if(F.length){let O=[];F.forEach(M=>{O.push(sf(M.triggerName,M.errors))}),z.forEach(M=>M.destroy()),this.reportError(O)}let E=new Map,L=new Map;s.forEach(O=>{let M=O.element;o.has(M)&&(L.set(M,M),this._beforeAnimationBuild(O.player.namespaceId,O.instruction,E))}),i.forEach(O=>{let M=O.element;this._getPreviousPlayers(M,!1,O.namespaceId,O.triggerName,null).forEach(U=>{ze(E,M,[]).push(U),U.destroy()})});let V=_.filter(O=>wl(O,c,l)),W=new Map;Tl(W,this.driver,v,l,nt).forEach(O=>{wl(O,c,l)&&V.push(O)});let Y=new Map;p.forEach((O,M)=>{Tl(Y,this.driver,new Set(O),c,Ln)}),V.forEach(O=>{let M=W.get(O),I=Y.get(O);W.set(O,new Map([...M?.entries()??[],...I?.entries()??[]]))});let Te=[],ke=[],at={};s.forEach(O=>{let{element:M,player:I,instruction:U}=O;if(o.has(M)){if(u.has(M)){I.onDestroy(()=>st(M,U.toStyles)),I.disabled=!0,I.overrideTotalTime(U.totalTime),i.push(I);return}let le=at;if(L.size>1){let Ae=M,ft=[];for(;Ae=Ae.parentNode;){let ae=L.get(Ae);if(ae){le=ae;break}ft.push(Ae)}ft.forEach(ae=>L.set(ae,le))}let Xe=this._buildAnimation(I.namespaceId,U,E,r,Y,W);if(I.setRealPlayer(Xe),le===at)Te.push(I);else{let Ae=this.playersByElement.get(le);Ae&&Ae.length&&(I.parentPlayer=vt(Ae)),i.push(I)}}else kt(M,U.fromStyles),I.onDestroy(()=>st(M,U.toStyles)),ke.push(I),u.has(M)&&i.push(I)}),ke.forEach(O=>{let M=r.get(O.element);if(M&&M.length){let I=vt(M);O.setRealPlayer(I)}}),i.forEach(O=>{O.parentPlayer?O.syncPlayerEvents(O.parentPlayer):O.destroy()});for(let O=0;O<_.length;O++){let M=_[O],I=M[Ze];if(cn(M,Ii),I&&I.hasAnimation)continue;let U=[];if(a.size){let Xe=a.get(M);Xe&&Xe.length&&U.push(...Xe);let Ae=this.driver.query(M,ki,!0);for(let ft=0;ft!Xe.destroyed);le.length?Kf(this,M,le):this.processLeaveNode(M)}return _.length=0,Te.forEach(O=>{this.players.push(O),O.onDone(()=>{O.destroy();let M=this.players.indexOf(O);this.players.splice(M,1)}),O.play()}),Te}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,o,i,r){let s=[];if(t){let a=this.playersByQueriedElement.get(n);a&&(s=a)}else{let a=this.playersByElement.get(n);if(a){let c=!r||r==vn;a.forEach(l=>{l.queued||!c&&l.triggerName!=i||s.push(l)})}}return(o||i)&&(s=s.filter(a=>!(o&&o!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(n,t,o){let i=t.triggerName,r=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:i;for(let c of t.timelines){let l=c.element,u=l!==r,d=ze(o,l,[]);this._getPreviousPlayers(l,u,s,a,t.toState).forEach(p=>{let f=p.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),p.destroy(),d.push(p)})}kt(r,t.fromStyles)}_buildAnimation(n,t,o,i,r,s){let a=t.triggerName,c=t.element,l=[],u=new Set,d=new Set,g=t.timelines.map(f=>{let m=f.element;u.add(m);let _=m[Ze];if(_&&_.removedBeforeQueried)return new qt(f.duration,f.delay);let h=m!==c,v=Gf((o.get(m)||Uf).map(E=>E.getRealPlayer())).filter(E=>{let L=E;return L.element?L.element===m:!1}),w=r.get(m),N=s.get(m),z=El(this._normalizer,f.keyframes,w,N),F=this._buildPlayer(f,z,v);if(f.subTimeline&&i&&d.add(m),h){let E=new Sn(n,a,m);E.setRealPlayer(F),l.push(E)}return F});l.forEach(f=>{ze(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>Wf(this.playersByQueriedElement,f.element,f))}),u.forEach(f=>$e(f,hl));let p=vt(g);return p.onDestroy(()=>{u.forEach(f=>cn(f,hl)),st(c,t.toStyles)}),d.forEach(f=>{ze(i,f,[]).push(p)}),p}_buildPlayer(n,t,o){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,o):new qt(n.duration,n.delay)}},Sn=class{constructor(n,t,o){this.namespaceId=n,this.triggerName=t,this.element=o,this._player=new qt,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,o)=>{t.forEach(i=>Gi(n,o,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){ze(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let t=this._player;t.triggerCallback&&t.triggerCallback(n)}};function Wf(e,n,t){let o=e.get(n);if(o){if(o.length){let i=o.indexOf(t);o.splice(i,1)}o.length==0&&e.delete(n)}return o}function $f(e){return e??null}function yo(e){return e&&e.nodeType===1}function Hf(e){return e=="start"||e=="done"}function Sl(e,n){let t=e.style.display;return e.style.display=n??"none",t}function Tl(e,n,t,o,i){let r=[];t.forEach(c=>r.push(Sl(c)));let s=[];o.forEach((c,l)=>{let u=new Map;c.forEach(d=>{let g=n.computeStyle(l,d,i);u.set(d,g),(!g||g.length==0)&&(l[Ze]=qf,s.push(l))}),e.set(l,u)});let a=0;return t.forEach(c=>Sl(c,r[a++])),s}function xl(e,n){let t=new Map;if(e.forEach(a=>t.set(a,[])),n.length==0)return t;let o=1,i=new Set(n),r=new Map;function s(a){if(!a)return o;let c=r.get(a);if(c)return c;let l=a.parentNode;return t.has(l)?c=l:i.has(l)?c=o:c=s(l),r.set(a,c),c}return n.forEach(a=>{let c=s(a);c!==o&&t.get(c).push(a)}),t}function $e(e,n){e.classList?.add(n)}function cn(e,n){e.classList?.remove(n)}function Kf(e,n,t){vt(t).onDone(()=>e.processLeaveNode(n))}function Gf(e){let n=[];return zl(e,n),n}function zl(e,n){for(let t=0;ti.add(r)):n.set(e,o),t.delete(e),!0}var ln=class{constructor(n,t,o){this._driver=t,this._normalizer=o,this._triggerCache={},this.onRemovalComplete=(i,r)=>{},this._transitionEngine=new $i(n.body,t,o),this._timelineEngine=new qi(n.body,t,o),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(n,t,o,i,r){let s=n+"-"+i,a=this._triggerCache[s];if(!a){let c=[],l=[],u=Al(this._driver,r,c,l);if(c.length)throw Gg(i,c);l.length&&void 0,a=Rf(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,i,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,o,i){this._transitionEngine.insertNode(n,t,o,i)}onRemove(n,t,o){this._transitionEngine.removeNode(n,t,o)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,o,i){if(o.charAt(0)=="@"){let[r,s]=fl(o),a=i;this._timelineEngine.command(r,t,s,a)}else this._transitionEngine.trigger(n,t,o,i)}listen(n,t,o,i,r){if(o.charAt(0)=="@"){let[s,a]=fl(o);return this._timelineEngine.listen(s,t,a,r)}return this._transitionEngine.listen(n,t,o,i,r)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};function Yf(e,n){let t=null,o=null;return Array.isArray(n)&&n.length?(t=Mi(n[0]),n.length>1&&(o=Mi(n[n.length-1]))):n instanceof Map&&(t=Mi(n)),t||o?new Hi(e,t,o):null}var Hi=class e{static{this.initialStylesByElement=new WeakMap}constructor(n,t,o){this._element=n,this._startStyles=t,this._endStyles=o,this._state=0;let i=e.initialStylesByElement.get(n);i||e.initialStylesByElement.set(n,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&st(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(st(this._element,this._initialStyles),this._endStyles&&(st(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(kt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(kt(this._element,this._endStyles),this._endStyles=null),st(this._element,this._initialStyles),this._state=3)}};function Mi(e){let n=null;return e.forEach((t,o)=>{Zf(o)&&(n=n||new Map,n.set(o,t))}),n}function Zf(e){return e==="display"||e==="position"}var wo=class{constructor(n,t,o,i){this.element=n,this.keyframes=t,this.options=o,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=o.duration,this._delay=o.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){let t=[];return n.forEach(o=>{t.push(Object.fromEntries(o))}),t}_triggerWebAnimation(n,t,o){return n.animate(this._convertKeyframesToObject(t),o)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((o,i)=>{i!=="offset"&&n.set(i,this._finished?o:Ji(this.element,i))}),this.currentSnapshot=n}triggerCallback(n){let t=n==="start"?this._onStartFns:this._onDoneFns;t.forEach(o=>o()),t.length=0}},Eo=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return Nl(n,t)}getParentElement(n){return Yi(n)}query(n,t,o){return Pl(n,t,o)}computeStyle(n,t,o){return Ji(n,t)}animate(n,t,o,i,r,s=[]){let a=i==0?"both":"forwards",c={duration:o,delay:i,fill:a};r&&(c.easing=r);let l=new Map,u=s.filter(p=>p instanceof wo);yf(o,i)&&u.forEach(p=>{p.currentSnapshot.forEach((f,m)=>l.set(m,f))});let d=ff(t).map(p=>new Map(p));d=_f(n,d,l);let g=Yf(n,d);return new wo(n,d,c,g)}};var _o="@",Bl="@.disabled",No=class{constructor(n,t,o,i){this.namespaceId=n,this.delegate=t,this.engine=o,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,o,i=!0){this.delegate.insertBefore(n,t,o),this.engine.onInsert(this.namespaceId,t,n,i)}removeChild(n,t,o){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,o,i){this.delegate.setAttribute(n,t,o,i)}removeAttribute(n,t,o){this.delegate.removeAttribute(n,t,o)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,o,i){this.delegate.setStyle(n,t,o,i)}removeStyle(n,t,o){this.delegate.removeStyle(n,t,o)}setProperty(n,t,o){t.charAt(0)==_o&&t==Bl?this.disableAnimations(n,!!o):this.delegate.setProperty(n,t,o)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,o){return this.delegate.listen(n,t,o)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}},Ki=class extends No{constructor(n,t,o,i,r){super(t,o,i,r),this.factory=n,this.namespaceId=t}setProperty(n,t,o){t.charAt(0)==_o?t.charAt(1)=="."&&t==Bl?(o=o===void 0?!0:!!o,this.disableAnimations(n,o)):this.engine.process(this.namespaceId,n,t.slice(1),o):this.delegate.setProperty(n,t,o)}listen(n,t,o){if(t.charAt(0)==_o){let i=Xf(n),r=t.slice(1),s="";return r.charAt(0)!=_o&&([r,s]=Jf(r)),this.engine.listen(this.namespaceId,i,r,s,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,o,a)})}return this.delegate.listen(n,t,o)}};function Xf(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Jf(e){let n=e.indexOf("."),t=e.substring(0,n),o=e.slice(n+1);return[t,o]}var Po=class{constructor(n,t,o){this.delegate=n,this.engine=t,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{r?.removeChild(null,i)}}createRenderer(n,t){let o="",i=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){let l=this._rendererCache,u=l.get(i);if(!u){let d=()=>l.delete(i);u=new No(o,i,this.engine,d),l.set(i,u)}return u}let r=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);let a=l=>{Array.isArray(l)?l.forEach(a):this.engine.registerTrigger(r,s,n,l.name,l)};return t.data.animation.forEach(a),new Ki(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,o){if(n>=0&&nt(o));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[s,a]=r;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([t,o])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var tm=(()=>{class e extends ln{constructor(t,o,i){super(t,o,i)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(o){return new(o||e)(St(Ue),St(At),St(Rt))}}static{this.\u0275prov=De({token:e,factory:e.\u0275fac})}}return e})();function nm(){return new Co}function om(e,n,t){return new Po(e,n,t)}var jl=[{provide:Rt,useFactory:nm},{provide:ln,useClass:tm},{provide:br,useFactory:om,deps:[Vr,ln,Se]}],im=[{provide:At,useFactory:()=>new Eo},{provide:ko,useValue:"BrowserAnimations"},...jl],aS=[{provide:At,useClass:Zi},{provide:ko,useValue:"NoopAnimations"},...jl];function Vl(){return Cr("NgEagerAnimations"),[...im]}function Ul(){return[{provide:qn,useValue:{navigation:[{title:"Changelog",route:"/changelog",hidden:!1,metadata:{description:"",tags:{}}},{title:"Components",route:"/components",expandable:!0,expanded:!1,hidden:!1,metadata:{description:"",tags:{}},children:[{title:"Button",route:"/components/button",hidden:!1,metadata:{description:"",tags:{}}},{title:"Icon",route:"/components/icon",hidden:!1,metadata:{description:"",tags:{}}},{title:"Icon Material",route:"/components/icon-material",hidden:!1,metadata:{description:"",tags:{}}}]},{title:"Todo",route:"/todo",hidden:!1,metadata:{description:"",tags:{}}},{title:"Welcome",route:"/get-started",hidden:!1,metadata:{description:"",tags:{}}}]}},{provide:Ls,useValue:""},{provide:zs,useValue:{light:"",dark:""}}]}var ql=[{path:"todo",title:"Todo",loadChildren:()=>import("./chunk-D3UNDUCH.js")},{path:"changelog",title:"Changelog",loadChildren:()=>import("./chunk-I23XA5NM.js")},{path:"get-started",title:"Welcome",loadChildren:()=>import("./chunk-2IUJ2XCY.js")},{path:"components",title:"Components",children:[{path:"",redirectTo:"icon",pathMatch:"full"},{path:"icon",title:"Icon",loadChildren:()=>import("./chunk-Z7QK36IY.js")},{path:"button",title:"Button",loadChildren:()=>import("./chunk-STJ4XM2I.js")},{path:"icon-material",title:"Icon Material",loadChildren:()=>import("./chunk-FPANO7T4.js")}]}];var Wl={providers:[Ar({eventCoalescing:!0}),Vl(),$r([...ql,{path:"",redirectTo:"get-started",pathMatch:"full"},{path:"**",redirectTo:"get-started"}],Hr({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"})),zr(Br(),jr()),Ul(),ll(),ul(to),dl(cl),Rs(al)]};Ur(go,Wl).catch(e=>console.error(e)); + to learn how to provide it.`);this.searchResults=this.query.pipe(ur(1),Ke(t=>this.searchEngine?.search(t).pipe(as())??sr),En(1),Ie(this))}open(){this.dialog.open(new io(Uc),{hasBackdrop:!0,backdropClass:"ng-doc-blur-backdrop",panelClass:"ng-doc-transparent-dialog",positionStrategy:this.dialog.positionStrategy().centerHorizontally().top("5vh"),data:{term:this.query.value,search:t=>this.query.next(t),searchResults:this.searchResults}})}static{this.\u0275fac=function(o){return new(o||yi)}}static{this.\u0275cmp=A({type:yi,selectors:[["ng-doc-search"]],standalone:!0,features:[R],decls:8,vars:3,consts:[[3,"ngDocHotkey"],["ng-doc-button-icon","","size","large","ngDocDropdownOrigin","",3,"click"],["icon","search",3,"size"],["ngDocDropdownOrigin",""],["icon","search","ngDocInputWrapperLeft",""],["ngDocInputString","","readonly","","placeholder","Search...",3,"click"],["ngDocInputWrapperRight","",1,"search-hotkey"]],template:function(o,i){o&1&&(K(0,0),Z("ngDocHotkey",function(){return i.open()}),C(1,"button",1),Z("click",function(){return i.open()}),P(2,"ng-doc-icon",2),D(),C(3,"ng-doc-input-wrapper",3),P(4,"ng-doc-icon",4),C(5,"input",5),Z("click",function(){return i.open()}),D(),C(6,"ng-doc-tag",6),j(7,"/"),D()(),G()),o&2&&(y("ngDocHotkey",xt(2,qp)),b(2),y("size",24))},dependencies:[Wt,Dc,re,zn,Bn,Fn,xc,rn],styles:["[_nghost-%COMP%]{--ng-doc-floated-border-radius: var(--ng-doc-base-gutter);--ng-doc-input-background-color: var(--ng-doc-base-1);--ng-doc-input-border: none;--ng-doc-input-border-hover: none;--ng-doc-icon-color: var(--ng-doc-base-7)}[_nghost-%COMP%] ng-doc-input-wrapper[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] ng-doc-input-wrapper[_ngcontent-%COMP%] ng-doc-icon[_ngcontent-%COMP%], [_nghost-%COMP%] ng-doc-input-wrapper[_ngcontent-%COMP%] ng-doc-tag[_ngcontent-%COMP%]{cursor:pointer}@media (max-width: 1024px){[_nghost-%COMP%] ng-doc-input-wrapper[_ngcontent-%COMP%]{display:none}}@media (min-width: 1024px){[_nghost-%COMP%]{width:240px}[_nghost-%COMP%] button[ng-doc-button-icon][_ngcontent-%COMP%]{display:none}}.search-hotkey[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:calc(var(--ng-doc-base-gutter) * 3);height:calc(var(--ng-doc-base-gutter) * 3);margin-right:var(--ng-doc-base-gutter);--ng-doc-tag-border: 1px solid var(--ng-doc-base-6);--ng-doc-tag-color: var(--ng-doc-base-6);--ng-doc-tag-background: transparent}"],changeDetection:0})}};return e=ce([pe(),de("design:paramtypes",[])],e),e})();var Wp=[[["","ngDocNavbarLeft",""]],[["","ngDocNavbarRight",""]]],$p=["[ngDocNavbarLeft]","[ngDocNavbarRight]"];function Hp(e,n){e&1&&P(0,"ng-doc-search")}var Wc=(()=>{let e=class _i{constructor(t,o,i,r){this.window=t,this.ngZone=o,this.changeDetectorRef=i,this.sidebarService=r,this.search=!0,this.hamburger=!0,this.glassEffect=!0,this.hasBorder=!1,Ft(()=>{ir([be(this.window,"scroll").pipe(je(s=>(s.target?.scrollingElement?.scrollTop??0)>0),wn(),Dt(!1),Qe(this.ngZone)),this.sidebarService.isExpanded()]).pipe(je(([s,a])=>s||a&&this.sidebarService.isMobile),Ie(this)).subscribe(s=>{this.hasBorder=s,this.changeDetectorRef.markForCheck()})})}static{this.\u0275fac=function(o){return new(o||_i)(ee(Wn),ee(Se),ee(he),ee(sn))}}static{this.\u0275cmp=A({type:_i,selectors:[["ng-doc-navbar"]],hostVars:3,hostBindings:function(o,i){o&2&&(ne("data-glass-effect",i.glassEffect),Pn("has-border",i.hasBorder))},inputs:{search:"search",hamburger:"hamburger",glassEffect:"glassEffect"},standalone:!0,features:[R],ngContentSelectors:$p,decls:8,vars:2,consts:[[1,"navbar-container"],[1,"ng-doc-navbar-left"],[1,"ng-doc-navbar-right"],["ng-doc-button-icon","","size","large",1,"ng-doc-menu",3,"click"],["icon","menu",3,"size"]],template:function(o,i){o&1&&(me(Wp),C(0,"div",0)(1,"div",1),oe(2),D(),C(3,"div",2),T(4,Hp,1,0,"ng-doc-search"),oe(5,1),C(6,"button",3),Z("click",function(){return i.sidebarService.toggle()}),P(7,"ng-doc-icon",4),D()()()),o&2&&(b(4),Ne(i.search?4:-1),b(3),y("size",24))},dependencies:[qe,qc,Wt,re],styles:["[_nghost-%COMP%]{position:relative;display:flex;justify-content:center;height:100%;border-bottom:1px solid transparent;transition:var(--ng-doc-transition) border}[_nghost-%COMP%]:not([data-glass-effect=false]){background:color-mix(in srgb,var(--ng-doc-navbar-background) 60%,transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)){[_nghost-%COMP%]{background-color:var(--ng-doc-navbar-background)}}[data-glass-effect=false][_nghost-%COMP%]{background-color:var(--ng-doc-navbar-background)}.has-border[_nghost-%COMP%]{border-bottom:var(--ng-doc-navbar-border, );box-shadow:var(--ng-doc-shadow-color) 0 5px 20px -5px}[_nghost-%COMP%] .navbar-container[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;padding:0 var(--ng-doc-navbar-horizontal-padding);z-index:10;max-width:var(--ng-doc-app-max-width)}[_nghost-%COMP%] .ng-doc-navbar-left[_ngcontent-%COMP%], [_nghost-%COMP%] .ng-doc-navbar-right[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .ng-doc-navbar-left[_ngcontent-%COMP%]{justify-content:flex-start;width:100%;max-width:var(--ng-doc-navbar-left-width)}[_nghost-%COMP%] .ng-doc-navbar-right[_ngcontent-%COMP%]{justify-content:flex-end;margin-left:auto}[_nghost-%COMP%] .ng-doc-menu[_ngcontent-%COMP%]{margin-left:calc(var(--ng-doc-base-gutter) * 2)}@media (min-width: 1024px){[_nghost-%COMP%] .ng-doc-menu[_ngcontent-%COMP%]{display:none}}"],changeDetection:0})}};return e=ce([pe(),de("design:paramtypes",[Window,Se,he,sn])],e),e})();var Hc=ct(Hl(),1);function Kp(e,n){if(e&1&&P(0,"ng-doc-icon",7),e&2){let t=x(2).$implicit;y("customIcon",t.icon)}}function Gp(e,n){if(e&1&&(T(0,Kp,1,1,"ng-doc-icon",6),j(1)),e&2){let t=x().$implicit;y("ngIf",t.icon),b(),ge(" ",t.title," ")}}function Qp(e,n){if(e&1&&(C(0,"div",null,2),j(2),ie(3,"execute"),D()),e&2){let t=Q(1),o=x().$implicit,i=x();b(2),ge(" ",gn(3,1,i.appendElement,o.content,t)," ")}}function Yp(e,n){if(e&1&&(C(0,"ng-doc-tab",5),T(1,Gp,2,2,"ng-template",null,0,te)(3,Qp,4,5,"ng-template",null,1,te),D()),e&2){let t=n.index,o=Q(2),i=Q(4);y("label",o)("content",i)("id",t)}}var $c=(()=>{class e{constructor(){this.tabs=[]}getActiveIndex(t){return Math.max(t.findIndex(o=>o.active),0)}appendElement(t,o){o.appendChild(t)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-tabs"]],inputs:{tabs:"tabs"},standalone:!0,features:[R],decls:3,vars:5,consts:[["label",""],["content",""],["element",""],[3,"openedTab"],[3,"label","content","id",4,"ngFor","ngForOf"],[3,"label","content","id"],[3,"customIcon",4,"ngIf"],[3,"customIcon"]],template:function(o,i){o&1&&(C(0,"ng-doc-tab-group",3),ie(1,"execute"),T(2,Yp,5,3,"ng-doc-tab",4),D()),o&2&&(y("openedTab",Fe(1,2,i.getActiveIndex,i.tabs)),b(2),y("ngForOf",i.tabs))},dependencies:[Vt,Oe,ye,on,Ot,ht,re],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--ng-doc-tabs-border-radius);border:var(--ng-doc-tabs-border);margin:var(--ng-doc-tabs-margin);overflow:hidden;--ng-doc-code-margin: 0;--ng-doc-code-border-radius: 0;--ng-doc-code-border: none;--ng-doc-tab-group-header-background: var(--ng-doc-base-2)}[_nghost-%COMP%] ng-doc-icon[_ngcontent-%COMP%]{margin-right:calc(var(--ng-doc-base-gutter) / 2)}"],changeDetection:0})}}return e})();var Kc={component:gc,selector:"ng-doc-blockquote",extractOptions:e=>({content:[Array.from(e.childNodes)],inputs:{type:e.getAttribute("type")||"default",icon:e.getAttribute("icon")??void 0}})},Gc={component:$t,selector:"pre code",nodeToReplace:e=>e.closest("pre")??e,extractOptions:e=>({inputs:{name:e.parentElement?.getAttribute("name")||void 0,icon:e.parentElement?.getAttribute("icon")||void 0},content:[[e.closest("pre")??e]]})},Qc={component:kc,selector:"ng-doc-demo",extractOptions:e=>({inputs:{componentName:e.getAttribute("componentName")||void 0,options:JSON.parse(e.querySelector("#options")?.textContent??"{}")}})},Yc={component:Rc,selector:"ng-doc-demo-pane",extractOptions:e=>({inputs:{componentName:e.getAttribute("componentName")||void 0,options:JSON.parse(e.querySelector("#options")?.textContent??"")||{}}})},Zc={component:Fc,selector:"ng-doc-heading-anchor",extractOptions:e=>({inputs:{classes:e.getAttribute("class")?.split(" ")||[],anchor:e.getAttribute("anchor")||""}})},Xc={component:re,selector:"ng-doc-icon",extractOptions:e=>({inputs:{icon:e.getAttribute("icon")??"",size:Number(e.getAttribute("size"))||16}})},Jc={component:Lc,selector:'img:not([zoom="false"])',nodeToReplace:(e,n)=>{let o=n.get(Tt).createElement("div");return e.parentNode?.insertBefore(o,e)??e},extractOptions:e=>({inputs:{src:e.getAttribute("src")??"",alt:e.getAttribute("alt")??""},content:[[e]]})},el={component:jc,selector:"pre.mermaid",extractOptions:e=>({inputs:{graph:e.textContent??""}})},tl={component:$s,selector:"ng-doc-playground",extractOptions:e=>({inputs:{id:e.getAttribute("id")||void 0,properties:JSON.parse(e.querySelector("#data")?.textContent?.replace(/\n/g,"\\n")??"")||void 0,pipeName:e.querySelector("#pipeName")?.textContent||void 0,selectors:(e.querySelector("#selectors")?.textContent||"").split(",").map(n=>n.trim()).filter(Hc.isPresent),options:JSON.parse(e.querySelector("#options")?.textContent??"")||{}}})},nl={component:$c,selector:"ng-doc-tab",nodeToReplace:(e,n)=>{let o=n.get(Tt).createElement("div");return e.parentNode?.insertBefore(o,e)??e},extractOptions:(e,n)=>{let t=e.getAttribute("group")??"",o=Array.from(n.querySelectorAll(`ng-doc-tab[group="${t}"]`)),i=o.map(r=>({title:r.getAttribute("name")??"",content:r,icon:r.getAttribute("icon")||void 0,active:r.hasAttribute("active")}));return o.forEach(r=>r.remove()),{inputs:{tabs:i}}}};function Zp(e,n){if(e&1&&(C(0,"a",3)(1,"div",4),P(2,"ng-doc-icon",5),j(3," Previous "),D(),C(4,"div",6),j(5),D()()),e&2){let t=x();y("routerLink",t.prevPage.route),b(5),Pe(t.prevPage.title)}}function Xp(e,n){if(e&1&&(C(0,"a",7)(1,"div",4),j(2," Next "),P(3,"ng-doc-icon",8),D(),C(4,"div",6),j(5),D()()),e&2){let t=x();y("routerLink",t.nextPage.route),b(5),Pe(t.nextPage.title)}}var ol=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-page-navigation"]],inputs:{prevPage:"prevPage",nextPage:"nextPage"},standalone:!0,features:[R],decls:3,vars:2,consts:[[1,"ng-doc-navigation-controls"],["class","ng-doc-prev-page",3,"routerLink",4,"ngIf"],["class","ng-doc-next-page",3,"routerLink",4,"ngIf"],[1,"ng-doc-prev-page",3,"routerLink"],["ng-doc-text","","size","small",1,"ng-doc-navigation-page-label"],["icon","arrow-left","ngDocTextLeft",""],["ng-doc-text","",1,"ng-doc-navigation-page-title"],[1,"ng-doc-next-page",3,"routerLink"],["icon","arrow-right","ngDocTextRight",""]],template:function(o,i){o&1&&(C(0,"div",0),T(1,Zp,6,2,"a",1)(2,Xp,6,2,"a",2),D()),o&2&&(b(),y("ngIf",i.prevPage),b(),y("ngIf",i.nextPage))},dependencies:[Vt,ye,re,Ye,jn,Vn,mt],styles:["[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%]{display:flex;margin-top:calc(var(--ng-doc-base-gutter) * 12);border-top:1px solid var(--ng-doc-base-2);padding-top:calc(var(--ng-doc-base-gutter) * 2)}[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-decoration:unset;transition:var(--ng-doc-transition);--ng-doc-button-hover-background: var(--ng-doc-base-1);--ng-doc-button-active-background: var(--ng-doc-base-2);--ng-doc-text: var(--ng-doc-base-9);--ng-doc-icon-color: var(--ng-doc-text)}[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{opacity:.6}[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%] a.ng-doc-next-page[_ngcontent-%COMP%]{margin-left:auto}[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%] a.ng-doc-prev-page[_ngcontent-%COMP%]{align-items:flex-start}[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%] a.ng-doc-next-page[_ngcontent-%COMP%]{align-items:flex-end}[_nghost-%COMP%] .ng-doc-navigation-controls[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .ng-doc-navigation-page-title[_ngcontent-%COMP%]{--ng-doc-text: var(--ng-doc-link-color)}"],changeDetection:0})}}return e})();He();var Jp=[[["ng-doc-navbar"]],[["","ngDocCustomNavbar",""]],"*",[["ng-doc-sidebar"]],[["","ngDocCustomSidebar",""]]],eg=["ng-doc-navbar","[ngDocCustomNavbar]","*","ng-doc-sidebar","[ngDocCustomSidebar]"];function tg(e,n){e&1&&(oe(0,3),oe(1,4))}function ng(e,n){if(e&1&&(K(0),j(1),G()),e&2){let t=n.polymorpheusOutlet;b(),ge(" ",t,"")}}function og(e,n){if(e&1&&(C(0,"footer"),T(1,ng,2,1,"ng-container",5),D()),e&2){let t=x();b(),y("polymorpheusOutlet",t.footerContent)}}var il=(()=>{let e=class vi{constructor(){this.sidebar=!0,this.footerContent="",this.noWidthLimit=!1,this.sidebarService=B(sn)}static{this.\u0275fac=function(o){return new(o||vi)}}static{this.\u0275cmp=A({type:vi,selectors:[["ng-doc-root"]],viewQuery:function(o,i){if(o&1&&dt(mi,5),o&2){let r;Je(r=et())&&(i.sidenav=r.first)}},hostVars:1,hostBindings:function(o,i){o&2&&ne("data-ng-doc-no-width-limit",i.noWidthLimit)},inputs:{sidebar:"sidebar",footerContent:"footerContent",noWidthLimit:"noWidthLimit"},standalone:!0,features:[Bt([]),R],ngContentSelectors:eg,decls:12,vars:6,consts:[["sidebarContent",""],[1,"ng-doc-root-wrapper"],[1,"ng-doc-header"],[3,"closeEvent","sidebar","opened","hasBackdrop"],[4,"ngIf"],[4,"polymorpheusOutlet"]],template:function(o,i){if(o&1){let r=Re();me(Jp),K(0),C(1,"div",1)(2,"div",2),oe(3),oe(4,1),D(),C(5,"main")(6,"ng-doc-sidenav",3),ie(7,"async"),Z("closeEvent",function(){return we(r),Ee(i.sidebarService.hide())}),T(8,tg,2,0,"ng-template",null,0,te),oe(10,2),D()(),T(11,og,2,1,"footer",4),D(),G()}if(o&2){let r,s=Q(9);b(6),y("sidebar",i.sidebar?s:null)("opened",(r=tt(7,4,i.sidebarService.isExpanded()))!==null&&r!==void 0?r:!0)("hasBackdrop",i.sidebarService.isMobile),b(5),y("ngIf",i.footerContent)}},dependencies:[mi,ye,qe,ot,kn],styles:["[data-ng-doc-no-width-limit=true][_nghost-%COMP%] .ng-doc-root-wrapper[_ngcontent-%COMP%] main[_ngcontent-%COMP%]{max-width:none}[_nghost-%COMP%] .ng-doc-root-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}[_nghost-%COMP%] .ng-doc-root-wrapper[_ngcontent-%COMP%] main[_ngcontent-%COMP%]{display:flex;width:100%;margin-left:auto;margin-right:auto;max-width:var(--ng-doc-app-max-width);padding:var(--ng-doc-main-padding);--ng-doc-sidenav-top: var(--ng-doc-navbar-height);--ng-doc-sidenav-width: var(--ng-doc-sidebar-width);--ng-doc-sidenav-content-padding: var(--ng-doc-page-padding)}[_nghost-%COMP%] .ng-doc-root-wrapper[_ngcontent-%COMP%] footer[_ngcontent-%COMP%]{margin-top:auto}[_nghost-%COMP%] .ng-doc-root-wrapper[_ngcontent-%COMP%] .ng-doc-header[_ngcontent-%COMP%]{position:fixed;top:0;height:var(--ng-doc-navbar-height);width:100%;z-index:15}"],changeDetection:0})}};return e=ce([pe()],e),e})();He();He();var bi=ct(fn(),1);var rl=(()=>{let e=class Ci{constructor(t,o,i){this.elementRef=t,this.router=o,this.renderer=i,this.link="",this.activeClass=[],this.matchOptions={fragment:"exact",paths:"subset",queryParams:"exact",matrixParams:"exact"},this.router.events.pipe(Ce(r=>r instanceof An),je(()=>this.router.isActive(this.link,this.matchOptions)),wn(),Ie(this)).subscribe(r=>{r?(0,bi.asArray)(this.activeClass).forEach(s=>this.renderer.addClass(this.elementRef.nativeElement,s)):(0,bi.asArray)(this.activeClass).forEach(s=>this.renderer.removeClass(this.elementRef.nativeElement,s))})}static{this.\u0275fac=function(o){return new(o||Ci)(ee(ue),ee(Ut),ee(Tt))}}static{this.\u0275dir=xe({type:Ci,selectors:[["","ngDocRouteActive",""]],inputs:{link:[0,"ngDocRouteActive","link"],activeClass:"activeClass",matchOptions:"matchOptions"},standalone:!0})}};return e=ce([pe(),de("design:paramtypes",[ue,Ut,Tt])],e),e})();var ig=["*"];function rg(e,n){e&1&&P(0,"ng-doc-dot")}function sg(e,n){if(e&1&&P(0,"ng-doc-icon",8),e&2){let t=x();y("ngDocRotator",t.expanded)}}function ag(e,n){if(e&1&&(K(0),j(1),G()),e&2){let t=n.polymorpheusOutlet;b(),Pe(t)}}function cg(e,n){if(e&1&&(C(0,"div",9),oe(1),T(2,ag,2,1,"ng-container",10),D()),e&2){let t=x();b(2),y("polymorpheusOutlet",t.content)}}var lg=e=>[e];function dg(e,n){if(e&1&&(C(0,"ng-doc-tag",2),j(1),D()),e&2){let t=n.$implicit;y("color",t.type||"success"),b(),Pe(t.text)}}var ug=e=>({item:e,root:!0}),pg=e=>({item:e,root:!1});function gg(e,n){e&1&&Ve(0)}function fg(e,n){if(e&1&&(K(0),T(1,gg,1,0,"ng-container",5),G()),e&2){let t=n.$implicit;x();let o=Q(5);b(),y("ngTemplateOutlet",o)("ngTemplateOutletContext",On(2,ug,t))}}function mg(e,n){if(e&1&&(P(0,"ng-doc-sidebar-category",8),ie(1,"bind"),ie(2,"execute")),e&2){x();let t=Q(3),o=x(),i=o.item,r=o.root,s=x();y("category",i)("expandable",!!(i!=null&&i.expandable))("expanded",!!(i!=null&&i.expanded)||!(i!=null&&i.expandable)||Fe(2,8,Fe(1,5,s.matchRoute,s),i.route))("isRoot",!!r)("content",t)}}function hg(e,n){e&1&&Ve(0)}function yg(e,n){if(e&1&&(K(0),T(1,hg,1,0,"ng-container",5),G()),e&2){let t=n.$implicit;x(4);let o=Q(5);b(),y("ngTemplateOutlet",o)("ngTemplateOutletContext",On(2,pg,t))}}function _g(e,n){if(e&1&&(T(0,yg,2,4,"ng-container",4),ie(1,"bind"),ie(2,"execute")),e&2){let t=x(2).item,o=x();y("ngForOf",Fe(2,4,Fe(1,1,o.getNavigation,o),t))}}function vg(e,n){if(e&1&&(K(0),T(1,mg,3,11,"ng-doc-sidebar-category",7)(2,_g,3,7,"ng-template",null,2,te),G()),e&2){let t=x().item;b(),y("ngIf",!t.hidden)}}function bg(e,n){if(e&1&&P(0,"ng-doc-sidebar-item",10),e&2){let t=x(2).item;y("item",t)}}function Cg(e,n){if(e&1&&T(0,bg,1,1,"ng-doc-sidebar-item",9),e&2){let t=x().item;y("ngIf",!t.hidden)}}function Dg(e,n){if(e&1&&T(0,vg,4,1,"ng-container",6)(1,Cg,1,1,"ng-template",null,1,te),e&2){let t=n.item,o=Q(2);y("ngIf",t.children==null?null:t.children.length)("ngIfElse",o)}}var Sg=(()=>{let e=class Di{constructor(){this.isRoot=!1,this.content="",this.expandable=!0,this.expanded=!0,this.location=B(Fo),this.changeDetectorRef=B(he),this.location.onUrlChange(()=>{this.location.path().includes(this.category.route??"",0)&&this.expand()})}toggle(){this.expanded?this.collapse():this.expand()}expand(){this.category?.expandable&&(this.expanded=!0,this.changeDetectorRef.markForCheck())}collapse(){this.category?.expandable&&(this.expanded=!1,this.changeDetectorRef.markForCheck())}static{this.\u0275fac=function(o){return new(o||Di)}}static{this.\u0275cmp=A({type:Di,selectors:[["ng-doc-sidebar-category"]],hostVars:2,hostBindings:function(o,i){o&2&&ne("data-ng-doc-is-root",i.isRoot)("data-ng-doc-expandable",i.expandable)},inputs:{category:"category",isRoot:"isRoot",content:"content",expandable:"expandable",expanded:"expanded"},standalone:!0,features:[R],ngContentSelectors:ig,decls:10,vars:6,consts:[["contentTemplate",""],[1,"ng-doc-sidebar-category-wrapper"],[1,"ng-doc-sidebar-category-button",3,"click"],["activeClass","active",1,"ng-doc-sidebar-category",3,"ngDocRouteActive"],[4,"ngIf"],["ng-doc-text",""],["icon","chevron-right","ngDocTextLeft","",3,"ngDocRotator",4,"ngIf"],[3,"expanded","content"],["icon","chevron-right","ngDocTextLeft","",3,"ngDocRotator"],[1,"ng-doc-sidebar-category-children"],[4,"polymorpheusOutlet"]],template:function(o,i){if(o&1){let r=Re();me(),C(0,"div",1)(1,"div",2),Z("click",function(){return we(r),Ee(i.toggle())}),C(2,"div",3),T(3,rg,1,0,"ng-doc-dot",4),C(4,"span",5),T(5,sg,1,1,"ng-doc-icon",6),j(6),D()()(),P(7,"ng-doc-expander",7),T(8,cg,3,1,"ng-template",null,0,te),D()}if(o&2){let r=Q(9);b(2),y("ngDocRouteActive",i.category.route),b(),y("ngIf",!i.expandable),b(2),y("ngIf",i.category.expandable),b(),ge(" ",i.category.title," "),b(),y("expanded",i.expanded)("content",r)}},dependencies:[rl,ye,pi,Ye,re,jn,wc,ws,qe,ot],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;--ng-doc-sidebar-category-indent: calc( var(--ng-doc-sidebar-item-indent) + calc(var(--ng-doc-base-gutter) * 2) );--ng-doc-icon-color: var(--ng-doc-text)}[data-ng-doc-expandable=false][_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%]{padding:var(--ng-doc-sidebar-vetical-padding) var(--ng-doc-base-gutter) var(--ng-doc-sidebar-vetical-padding) var(--ng-doc-sidebar-item-indent)}[data-ng-doc-expandable=true][_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%]{padding:var(--ng-doc-sidebar-vetical-padding) var(--ng-doc-base-gutter) var(--ng-doc-sidebar-vetical-padding) var(--ng-doc-sidebar-item-indent);cursor:pointer;border-radius:var(--ng-doc-base-gutter)}[data-ng-doc-expandable=true][_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%]:hover{background-color:var(--ng-doc-base-1)}[_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%] .ng-doc-sidebar-category[_ngcontent-%COMP%]{display:flex;align-items:center;--ng-doc-dot-background: var(--ng-doc-base-4);--ng-doc-text: var(--ng-doc-heading-color)}[_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%] .ng-doc-sidebar-category[_ngcontent-%COMP%] ng-doc-dot[_ngcontent-%COMP%]{margin-right:calc(var(--ng-doc-base-gutter) * 2)}[_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%] .ng-doc-sidebar-category.active[_ngcontent-%COMP%]{--ng-doc-font-weight: 600;--ng-doc-dot-background: var(--ng-doc-primary)}[_nghost-%COMP%] .ng-doc-sidebar-category-button[_ngcontent-%COMP%] span[ng-doc-text][_ngcontent-%COMP%]{flex-shrink:0;margin-right:var(--ng-doc-base-gutter)}[_nghost-%COMP%] .ng-doc-sidebar-category-children[_ngcontent-%COMP%]{padding-bottom:calc(var(--ng-doc-base-gutter) * 2);--ng-doc-sidebar-item-indent: var(--ng-doc-sidebar-category-indent)}"],changeDetection:0})}};return e=ce([pe(),de("design:paramtypes",[])],e),e})(),Tg=(()=>{class e{constructor(){this.item=lt.required(),this.statuses=Mn(()=>(this.item().metadata?.tags.status??[]).map(o=>{let[i,r]=o.split(/\s+(.+)/);return{type:i.replace(/^:/,""),text:r}}))}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-sidebar-item"]],inputs:{item:[1,"item"]},standalone:!0,features:[R],decls:6,vars:5,consts:[["routerLinkActive","active",1,"ng-doc-sidebar-link",3,"routerLink"],["ng-doc-text","",3,"absoluteContent"],["size","small","mod","light",3,"color"]],template:function(o,i){o&1&&(C(0,"a",0),P(1,"ng-doc-dot"),C(2,"span",1),j(3),xr(4,dg,2,2,"ng-doc-tag",2,Tr),D()()),o&2&&(y("routerLink",On(3,lg,i.item().route)),b(2),y("absoluteContent",!0),b(),ge(" ",i.item().title," "),b(),wr(i.statuses()))},dependencies:[Wr,mt,pi,Ye,rn],styles:["[_nghost-%COMP%]{display:block}.ng-doc-sidebar-link[_ngcontent-%COMP%]{font-family:var(--ng-doc-heading-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);display:flex;align-items:center;gap:var(--ng-doc-base-gutter);padding:var(--ng-doc-sidebar-vetical-padding) var(--ng-doc-sidebar-horizontal-padding) var(--ng-doc-sidebar-vetical-padding) var(--ng-doc-sidebar-item-indent);text-decoration:inherit;cursor:pointer;border-radius:var(--ng-doc-base-gutter);--ng-doc-icon-color: var(--ng-doc-text);--ng-doc-dot-background: var(--ng-doc-base-4);--ng-doc-font-weight: 400}.ng-doc-sidebar-link[_ngcontent-%COMP%] ng-doc-dot[_ngcontent-%COMP%]{margin-right:var(--ng-doc-base-gutter);z-index:1}.ng-doc-sidebar-link[_ngcontent-%COMP%]:hover:not(.active){background:var(--ng-doc-base-1)}.ng-doc-sidebar-link.active[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--ng-doc-primary) 7%,transparent);--ng-doc-text: var(--ng-doc-primary);--ng-doc-dot-background: var(--ng-doc-primary)}.ng-doc-sidebar-link.active[_ngcontent-%COMP%] ng-doc-dot[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_animation .5s ease-out}@keyframes _ngcontent-%COMP%_animation{0%{transform:scale(1)}50%{transform:scale(2)}to{transform:scale(1)}}.ng-doc-sidebar-link[_ngcontent-%COMP%] ng-doc-tag[_ngcontent-%COMP%]{vertical-align:middle;margin-left:var(--ng-doc-base-gutter);font-weight:600}"],changeDetection:0})}}return e})(),sl=(()=>{class e{constructor(){this.location=B(Fo),this.context=B(qn)}getNavigation(t){return t?t.children??[]:this.context.navigation}matchRoute(t){return this.location.path().includes(t??"",0)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=A({type:e,selectors:[["ng-doc-sidebar"]],standalone:!0,features:[R],decls:6,vars:6,consts:[["sidebarTemplate",""],["itemTemplate",""],["categoryContent",""],[1,"ng-doc-side-bar-wrapper"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],[3,"category","expandable","expanded","isRoot","content",4,"ngIf"],[3,"category","expandable","expanded","isRoot","content"],[3,"item",4,"ngIf"],[3,"item"]],template:function(o,i){o&1&&(C(0,"div",3),T(1,fg,2,4,"ng-container",4),ie(2,"bind"),ie(3,"execute"),T(4,Dg,3,2,"ng-template",null,0,te),D()),o&2&&(b(),y("ngForOf",tt(3,4,Fe(2,1,i.getNavigation,i))))},dependencies:[Oe,jt,ye,Sg,Tg,ht,Ms],styles:["[_nghost-%COMP%]{display:block;height:calc(100vh - var(--ng-doc-navbar-height));width:100%;overflow:hidden;padding:var(--ng-doc-sidebar-padding) 0;background:var(--ng-doc-sidebar-background);box-shadow:var(--ng-doc-sidebar-shadow);--ng-doc-sidebar-category-indent: var(--ng-doc-sidebar-horizontal-padding);--ng-doc-sidebar-item-indent: var(--ng-doc-sidebar-horizontal-padding)}[_nghost-%COMP%] .ng-doc-side-bar-wrapper[_ngcontent-%COMP%]{position:relative;overflow:auto;max-height:100%}"],changeDetection:0})}}return e})();var al=[Vs,Xc,Zc,Kc,Us,el,Gc,Qc,Yc,tl,nl,Jc];var cl={breadcrumbs:Is,navigation:ol,toc:Hs};function ll(e){return[{provide:Ro,multi:!0,deps:[Fr],useFactory:n=>()=>n.setOffset([0,120])},{provide:Ro,multi:!0,useFactory:()=>{let n=B(qs);return()=>n.initialize(e?.shiki)}},...Oc(e?.uiKit)]}function dl(e){return[{provide:Fs,useValue:e}]}function ul(e,...n){return{provide:yt,useFactory:()=>new e(...n)}}var co=class e{copyright="Made with \u2764\uFE0F by louiiuol";static \u0275fac=function(t){return new(t||e)};static \u0275cmp=A({type:e,selectors:[["lib-footer"]],hostAttrs:[1,"w-full","flex","items-center","justify-center","bg-white","text-blue-800","px-12","py-8"],standalone:!0,features:[R],decls:2,vars:1,template:function(t,o){t&1&&(C(0,"p"),j(1),D()),t&2&&(b(),Pe(o.copyright))},encapsulation:2,changeDetection:0})};var an=class e{get(n){let t=localStorage.getItem(n);return t?JSON.parse(t):null}set({key:n,value:t}){typeof t=="object"&&(t=JSON.stringify(t)),localStorage.setItem(n,t)}remove(n){localStorage.removeItem(n)}check(n){return localStorage.getItem(n)!==null}static \u0275fac=function(t){return new(t||e)};static \u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"root"})};var _e=[];for(lo=0;lo<256;++lo)_e.push((lo+256).toString(16).slice(1));var lo;function pl(e,n=0){return(_e[e[n+0]]+_e[e[n+1]]+_e[e[n+2]]+_e[e[n+3]]+"-"+_e[e[n+4]]+_e[e[n+5]]+"-"+_e[e[n+6]]+_e[e[n+7]]+"-"+_e[e[n+8]]+_e[e[n+9]]+"-"+_e[e[n+10]]+_e[e[n+11]]+_e[e[n+12]]+_e[e[n+13]]+_e[e[n+14]]+_e[e[n+15]]).toLowerCase()}var uo,wg=new Uint8Array(16);function Si(){if(!uo&&(uo=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!uo))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return uo(wg)}var Eg=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ti={randomUUID:Eg};function Ng(e,n,t){if(Ti.randomUUID&&!n&&!e)return Ti.randomUUID();e=e||{};var o=e.random||(e.rng||Si)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,n){t=t||0;for(var i=0;i<16;++i)n[t+i]=o[i];return n}return pl(o)}var xi=Ng;var po=class e{storage=B(an);localStorageKey="notifications-center";notifications=Ge(this.getLocalNotifications());notify({summary:n,details:t,severity:o="info",life:i=4e3}){let r=xi();this.notifications().push({uuid:r,severity:o,summary:n,details:t,seen:!1,date:new Date}),this.storage.set({key:this.localStorageKey,value:this.notifications()}),setTimeout(()=>this.removeNotification(r),i)}success=n=>this.notify(Ct(J({},n),{severity:"success"}));error=n=>this.notify(Ct(J({},n),{severity:"error"}));warn=n=>this.notify(Ct(J({},n),{severity:"warn"}));getNotifications(){return this.notifications}seenNotification(n){let t=this.notifications().map(o=>(o.uuid===n&&(o.seen=!0),o));this.notifications.set(t),this.storage.set({key:this.localStorageKey,value:t})}clearAllNotifications(){confirm("Are you sure you want to delete all notifications?")&&(this.notifications.set([]),this.storage.remove(this.localStorageKey))}removeNotification(n){let t=this.notifications().filter(o=>o.uuid!==n);this.notifications.set(t),this.storage.set({key:this.localStorageKey,value:t})}getLocalNotifications(){let n=this.storage.get(this.localStorageKey);return n||[]}static \u0275fac=function(t){return new(t||e)};static \u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"root"})};var go=class e{notifier=B(po);storage=B(an);appName="ngx lib";ngAfterViewChecked(){this.greetings()}greetings(){this.storage.check("onboarded")||(this.notifier.notify({summary:"Welcome !",details:"Welcome to this library! Hope it will help you in your project. Enjoy !\u2728"}),this.storage.set({key:"onboarded",value:String(!0)}))}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=A({type:e,selectors:[["lib-root"]],hostAttrs:[1,"bg-primary-100"],standalone:!0,features:[R],decls:8,vars:1,consts:[["ngDocNavbarLeft","",1,"text-2xl","text-primary-500","flex","items-center","gap-2"],["name","construction",1,"cursor-pointer"]],template:function(t,o){t&1&&(C(0,"ng-doc-root")(1,"ng-doc-navbar")(2,"h3",0),P(3,"lib-icon-material",1),j(4),D()(),P(5,"ng-doc-sidebar")(6,"router-outlet")(7,"lib-footer"),D()),t&2&&(b(4),ge(" ",o.appName," "))},dependencies:[qr,il,Wc,sl,Ks,co],encapsulation:2,changeDetection:0})};function gl(e){return new H(3e3,!1)}function Pg(){return new H(3100,!1)}function Og(){return new H(3101,!1)}function Mg(e){return new H(3001,!1)}function Ig(e){return new H(3003,!1)}function kg(e){return new H(3004,!1)}function Ag(e,n){return new H(3005,!1)}function Rg(){return new H(3006,!1)}function Fg(){return new H(3007,!1)}function Lg(e,n){return new H(3008,!1)}function zg(e){return new H(3002,!1)}function Bg(e,n,t,o,i){return new H(3010,!1)}function jg(){return new H(3011,!1)}function Vg(){return new H(3012,!1)}function Ug(){return new H(3200,!1)}function qg(){return new H(3202,!1)}function Wg(){return new H(3013,!1)}function $g(e){return new H(3014,!1)}function Hg(e){return new H(3015,!1)}function Kg(e){return new H(3016,!1)}function Gg(e,n){return new H(3404,!1)}function Qg(e){return new H(3502,!1)}function Yg(e){return new H(3503,!1)}function Zg(){return new H(3300,!1)}function Xg(e){return new H(3504,!1)}function Jg(e){return new H(3301,!1)}function ef(e,n){return new H(3302,!1)}function tf(e){return new H(3303,!1)}function nf(e,n){return new H(3400,!1)}function of(e){return new H(3401,!1)}function rf(e){return new H(3402,!1)}function sf(e,n){return new H(3505,!1)}function vt(e){switch(e.length){case 0:return new qt;case 1:return e[0];default:return new Bo(e)}}function El(e,n,t=new Map,o=new Map){let i=[],r=[],s=-1,a=null;if(n.forEach(c=>{let l=c.get("offset"),u=l==s,d=u&&a||new Map;c.forEach((g,p)=>{let f=p,m=g;if(p!=="offset")switch(f=e.normalizePropertyName(f,i),m){case Ln:m=t.get(p);break;case nt:m=o.get(p);break;default:m=e.normalizeStyleValue(p,f,m,i);break}d.set(f,m)}),u||r.push(d),a=d,s=l}),i.length)throw Qg(i);return r}function Gi(e,n,t,o){switch(n){case"start":e.onStart(()=>o(t&&wi(t,"start",e)));break;case"done":e.onDone(()=>o(t&&wi(t,"done",e)));break;case"destroy":e.onDestroy(()=>o(t&&wi(t,"destroy",e)));break}}function wi(e,n,t){let o=t.totalTime,i=!!t.disabled,r=Qi(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,o??e.totalTime,i),s=e._data;return s!=null&&(r._data=s),r}function Qi(e,n,t,o,i="",r=0,s){return{element:e,triggerName:n,fromState:t,toState:o,phaseName:i,totalTime:r,disabled:!!s}}function ze(e,n,t){let o=e.get(n);return o||e.set(n,o=t),o}function fl(e){let n=e.indexOf(":"),t=e.substring(1,n),o=e.slice(n+1);return[t,o]}var af=typeof document>"u"?null:document.documentElement;function Yi(e){let n=e.parentNode||e.host||null;return n===af?null:n}function cf(e){return e.substring(1,6)=="ebkit"}var Mt=null,ml=!1;function lf(e){Mt||(Mt=df()||{},ml=Mt.style?"WebkitAppearance"in Mt.style:!1);let n=!0;return Mt.style&&!cf(e)&&(n=e in Mt.style,!n&&ml&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Mt.style)),n}function df(){return typeof document<"u"?document.body:null}function Nl(e,n){for(;n;){if(n===e)return!0;n=Yi(n)}return!1}function Pl(e,n,t){if(t)return Array.from(e.querySelectorAll(n));let o=e.querySelector(n);return o?[o]:[]}var Zi=(()=>{class e{validateStyleProperty(t){return lf(t)}containsElement(t,o){return Nl(t,o)}getParentElement(t){return Yi(t)}query(t,o,i){return Pl(t,o,i)}computeStyle(t,o,i){return i||""}animate(t,o,i,r,s,a=[],c){return new qt(i,r)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275prov=De({token:e,factory:e.\u0275fac})}}return e})(),At=class{static{this.NOOP=new Zi}},Rt=class{};var uf=1e3,Ol="{{",pf="}}",Ml="ng-enter",Ii="ng-leave",fo="ng-trigger",vo=".ng-trigger",hl="ng-animating",ki=".ng-animating";function gt(e){if(typeof e=="number")return e;let n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Ai(parseFloat(n[1]),n[2])}function Ai(e,n){switch(n){case"s":return e*uf;default:return e}}function bo(e,n,t){return e.hasOwnProperty("duration")?e:gf(e,n,t)}function gf(e,n,t){let o=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,s="";if(typeof e=="string"){let a=e.match(o);if(a===null)return n.push(gl(e)),{duration:0,delay:0,easing:""};i=Ai(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(r=Ai(parseFloat(c),a[4]));let l=a[5];l&&(s=l)}else i=e;if(!t){let a=!1,c=n.length;i<0&&(n.push(Pg()),a=!0),r<0&&(n.push(Og()),a=!0),a&&n.splice(c,0,gl(e))}return{duration:i,delay:r,easing:s}}function ff(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}function st(e,n,t){n.forEach((o,i)=>{let r=Xi(i);t&&!t.has(i)&&t.set(i,e.style[r]),e.style[r]=o})}function kt(e,n){n.forEach((t,o)=>{let i=Xi(o);e.style[i]=""})}function _n(e){return Array.isArray(e)?e.length==1?e[0]:Xr(e):e}function mf(e,n,t){let o=n.params||{},i=Il(e);i.length&&i.forEach(r=>{o.hasOwnProperty(r)||t.push(Mg(r))})}var Ri=new RegExp(`${Ol}\\s*(.+?)\\s*${pf}`,"g");function Il(e){let n=[];if(typeof e=="string"){let t;for(;t=Ri.exec(e);)n.push(t[1]);Ri.lastIndex=0}return n}function bn(e,n,t){let o=`${e}`,i=o.replace(Ri,(r,s)=>{let a=n[s];return a==null&&(t.push(Ig(s)),a=""),a.toString()});return i==o?e:i}var hf=/-+([a-z0-9])/g;function Xi(e){return e.replace(hf,(...n)=>n[1].toUpperCase())}function yf(e,n){return e===0||n===0}function _f(e,n,t){if(t.size&&n.length){let o=n[0],i=[];if(t.forEach((r,s)=>{o.has(s)||i.push(s),o.set(s,r)}),i.length)for(let r=1;rs.set(a,Ji(e,a)))}}return n}function Le(e,n,t){switch(n.type){case $.Trigger:return e.visitTrigger(n,t);case $.State:return e.visitState(n,t);case $.Transition:return e.visitTransition(n,t);case $.Sequence:return e.visitSequence(n,t);case $.Group:return e.visitGroup(n,t);case $.Animate:return e.visitAnimate(n,t);case $.Keyframes:return e.visitKeyframes(n,t);case $.Style:return e.visitStyle(n,t);case $.Reference:return e.visitReference(n,t);case $.AnimateChild:return e.visitAnimateChild(n,t);case $.AnimateRef:return e.visitAnimateRef(n,t);case $.Query:return e.visitQuery(n,t);case $.Stagger:return e.visitStagger(n,t);default:throw kg(n.type)}}function Ji(e,n){return window.getComputedStyle(e)[n]}var vf=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Co=class extends Rt{normalizePropertyName(n,t){return Xi(n)}normalizeStyleValue(n,t,o,i){let r="",s=o.toString().trim();if(vf.has(t)&&o!==0&&o!=="0")if(typeof o=="number")r="px";else{let a=o.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(Ag(n,o))}return s+r}};var Do="*";function bf(e,n){let t=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(o=>Cf(o,t,n)):t.push(e),t}function Cf(e,n,t){if(e[0]==":"){let c=Df(e,t);if(typeof c=="function"){n.push(c);return}e=c}let o=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(o==null||o.length<4)return t.push(Hg(e)),n;let i=o[1],r=o[2],s=o[3];n.push(yl(i,s));let a=i==Do&&s==Do;r[0]=="<"&&!a&&n.push(yl(s,i))}function Df(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,o)=>parseFloat(o)>parseFloat(t);case":decrement":return(t,o)=>parseFloat(o) *"}}var mo=new Set(["true","1"]),ho=new Set(["false","0"]);function yl(e,n){let t=mo.has(e)||ho.has(e),o=mo.has(n)||ho.has(n);return(i,r)=>{let s=e==Do||e==i,a=n==Do||n==r;return!s&&t&&typeof i=="boolean"&&(s=i?mo.has(e):ho.has(e)),!a&&o&&typeof r=="boolean"&&(a=r?mo.has(n):ho.has(n)),s&&a}}var kl=":self",Sf=new RegExp(`s*${kl}s*,?`,"g");function Al(e,n,t,o){return new Fi(e).build(n,t,o)}var _l="",Fi=class{constructor(n){this._driver=n}build(n,t,o){let i=new Li(t);return this._resetContextStyleTimingState(i),Le(this,_n(n),i)}_resetContextStyleTimingState(n){n.currentQuerySelector=_l,n.collectedStyles=new Map,n.collectedStyles.set(_l,new Map),n.currentTime=0}visitTrigger(n,t){let o=t.queryCount=0,i=t.depCount=0,r=[],s=[];return n.name.charAt(0)=="@"&&t.errors.push(Rg()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==$.State){let c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(u=>{c.name=u,r.push(this.visitState(c,t))}),c.name=l}else if(a.type==$.Transition){let c=this.visitTransition(a,t);o+=c.queryCount,i+=c.depCount,s.push(c)}else t.errors.push(Fg())}),{type:$.Trigger,name:n.name,states:r,transitions:s,queryCount:o,depCount:i,options:null}}visitState(n,t){let o=this.visitStyle(n.styles,t),i=n.options&&n.options.params||null;if(o.containsDynamicStyles){let r=new Set,s=i||{};o.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{Il(c).forEach(l=>{s.hasOwnProperty(l)||r.add(l)})})}),r.size&&t.errors.push(Lg(n.name,[...r.values()]))}return{type:$.State,name:n.name,style:o,options:i?{params:i}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;let o=Le(this,_n(n.animation),t),i=bf(n.expr,t.errors);return{type:$.Transition,matchers:i,animation:o,queryCount:t.queryCount,depCount:t.depCount,options:It(n.options)}}visitSequence(n,t){return{type:$.Sequence,steps:n.steps.map(o=>Le(this,o,t)),options:It(n.options)}}visitGroup(n,t){let o=t.currentTime,i=0,r=n.steps.map(s=>{t.currentTime=o;let a=Le(this,s,t);return i=Math.max(i,t.currentTime),a});return t.currentTime=i,{type:$.Group,steps:r,options:It(n.options)}}visitAnimate(n,t){let o=Ef(n.timings,t.errors);t.currentAnimateTimings=o;let i,r=n.styles?n.styles:Me({});if(r.type==$.Keyframes)i=this.visitKeyframes(r,t);else{let s=n.styles,a=!1;if(!s){a=!0;let l={};o.easing&&(l.easing=o.easing),s=Me(l)}t.currentTime+=o.duration+o.delay;let c=this.visitStyle(s,t);c.isEmptyStep=a,i=c}return t.currentAnimateTimings=null,{type:$.Animate,timings:o,style:i,options:null}}visitStyle(n,t){let o=this._makeStyleAst(n,t);return this._validateStyleAst(o,t),o}_makeStyleAst(n,t){let o=[],i=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of i)typeof a=="string"?a===nt?o.push(a):t.errors.push(zg(a)):o.push(new Map(Object.entries(a)));let r=!1,s=null;return o.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!r)){for(let c of a.values())if(c.toString().indexOf(Ol)>=0){r=!0;break}}}),{type:$.Style,styles:o,easing:s,offset:n.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(n,t){let o=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;o&&r>0&&(r-=o.duration+o.delay),n.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,c)=>{let l=t.collectedStyles.get(t.currentQuerySelector),u=l.get(c),d=!0;u&&(r!=i&&r>=u.startTime&&i<=u.endTime&&(t.errors.push(Bg(c,u.startTime,u.endTime,r,i)),d=!1),r=u.startTime),d&&l.set(c,{startTime:r,endTime:i}),t.options&&mf(a,t.options,t.errors)})})}visitKeyframes(n,t){let o={type:$.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(jg()),o;let i=1,r=0,s=[],a=!1,c=!1,l=0,u=n.steps.map(h=>{let v=this._makeStyleAst(h,t),w=v.offset!=null?v.offset:wf(v.styles),N=0;return w!=null&&(r++,N=v.offset=w),c=c||N<0||N>1,a=a||N0&&r{let w=g>0?v==p?1:g*v:s[v],N=w*_;t.currentTime=f+m.delay+N,m.duration=N,this._validateStyleAst(h,t),h.offset=w,o.styles.push(h)}),o}visitReference(n,t){return{type:$.Reference,animation:Le(this,_n(n.animation),t),options:It(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:$.AnimateChild,options:It(n.options)}}visitAnimateRef(n,t){return{type:$.AnimateRef,animation:this.visitReference(n.animation,t),options:It(n.options)}}visitQuery(n,t){let o=t.currentQuerySelector,i=n.options||{};t.queryCount++,t.currentQuery=n;let[r,s]=Tf(n.selector);t.currentQuerySelector=o.length?o+" "+r:r,ze(t.collectedStyles,t.currentQuerySelector,new Map);let a=Le(this,_n(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=o,{type:$.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:It(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(Wg());let o=n.timings==="full"?{duration:0,delay:0,easing:"full"}:bo(n.timings,t.errors,!0);return{type:$.Stagger,animation:Le(this,_n(n.animation),t),timings:o,options:null}}};function Tf(e){let n=!!e.split(/\s*,\s*/).find(t=>t==kl);return n&&(e=e.replace(Sf,"")),e=e.replace(/@\*/g,vo).replace(/@\w+/g,t=>vo+"-"+t.slice(1)).replace(/:animating/g,ki),[e,n]}function xf(e){return e?J({},e):null}var Li=class{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function wf(e){if(typeof e=="string")return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){let o=t;n=parseFloat(o.get("offset")),o.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}function Ef(e,n){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let r=bo(e,n).duration;return Ei(r,0,"")}let t=e;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Ei(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=bo(t,n);return Ei(i.duration,i.delay,i.easing)}function It(e){return e?(e=J({},e),e.params&&(e.params=xf(e.params))):e={},e}function Ei(e,n,t){return{duration:e,delay:n,easing:t}}function er(e,n,t,o,i,r,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:o,duration:i,delay:r,totalTime:i+r,easing:s,subTimeline:a}}var Cn=class{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let o=this._map.get(n);o||this._map.set(n,o=[]),o.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}},Nf=1,Pf=":enter",Of=new RegExp(Pf,"g"),Mf=":leave",If=new RegExp(Mf,"g");function Rl(e,n,t,o,i,r=new Map,s=new Map,a,c,l=[]){return new zi().buildKeyframes(e,n,t,o,i,r,s,a,c,l)}var zi=class{buildKeyframes(n,t,o,i,r,s,a,c,l,u=[]){l=l||new Cn;let d=new Bi(n,t,l,i,r,u,[]);d.options=c;let g=c.delay?gt(c.delay):0;d.currentTimeline.delayNextStep(g),d.currentTimeline.setStyles([s],null,d.errors,c),Le(this,o,d);let p=d.timelines.filter(f=>f.containsAnimation());if(p.length&&a.size){let f;for(let m=p.length-1;m>=0;m--){let _=p[m];if(_.element===t){f=_;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,d.errors,c)}return p.length?p.map(f=>f.buildKeyframes()):[er(t,[],[],[],0,g,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){let o=t.subInstructions.get(t.element);if(o){let i=t.createSubContext(n.options),r=t.currentTimeline.currentTime,s=this._visitSubInstructions(o,i,i.options);r!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){let o=t.createSubContext(n.options);o.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,o),this.visitReference(n.animation,o),t.transformIntoNewTimeline(o.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,o){for(let i of n){let r=i?.delay;if(r){let s=typeof r=="number"?r:gt(bn(r,i?.params??{},t.errors));o.delayNextStep(s)}}}_visitSubInstructions(n,t,o){let r=t.currentTimeline.currentTime,s=o.duration!=null?gt(o.duration):null,a=o.delay!=null?gt(o.delay):null;return s!==0&&n.forEach(c=>{let l=t.appendInstructionToTimeline(c,s,a);r=Math.max(r,l.duration+l.delay)}),r}visitReference(n,t){t.updateOptions(n.options,!0),Le(this,n.animation,t),t.previousNode=n}visitSequence(n,t){let o=t.subContextCount,i=t,r=n.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==$.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=So);let s=gt(r.delay);i.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>Le(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>o&&i.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){let o=[],i=t.currentTimeline.currentTime,r=n.options&&n.options.delay?gt(n.options.delay):0;n.steps.forEach(s=>{let a=t.createSubContext(n.options);r&&a.delayNextStep(r),Le(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),o.push(a.currentTimeline)}),o.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(i),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){let o=n.strValue,i=t.params?bn(o,t.params,t.errors):o;return bo(i,t.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){let o=t.currentAnimateTimings=this._visitTiming(n.timings,t),i=t.currentTimeline;o.delay&&(t.incrementTime(o.delay),i.snapshotCurrentStyles());let r=n.style;r.type==$.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(o.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){let o=t.currentTimeline,i=t.currentAnimateTimings;!i&&o.hasCurrentStyleProperties()&&o.forwardFrame();let r=i&&i.easing||n.easing;n.isEmptyStep?o.applyEmptyStep(r):o.setStyles(n.styles,r,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){let o=t.currentAnimateTimings,i=t.currentTimeline.duration,r=o.duration,a=t.createSubContext().currentTimeline;a.easing=o.easing,n.styles.forEach(c=>{let l=c.offset||0;a.forwardTime(l*r),a.setStyles(c.styles,c.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+r),t.previousNode=n}visitQuery(n,t){let o=t.currentTimeline.currentTime,i=n.options||{},r=i.delay?gt(i.delay):0;r&&(t.previousNode.type===$.Style||o==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=So);let s=o,a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;let c=null;a.forEach((l,u)=>{t.currentQueryIndex=u;let d=t.createSubContext(n.options,l);r&&d.delayNextStep(r),l===t.element&&(c=d.currentTimeline),Le(this,n.animation,d),d.currentTimeline.applyStylesToKeyframe();let g=d.currentTimeline.currentTime;s=Math.max(s,g)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){let o=t.parentContext,i=t.currentTimeline,r=n.timings,s=Math.abs(r.duration),a=s*(t.currentQueryTotal-1),c=s*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":c=a-c;break;case"full":c=o.currentStaggerTime;break}let u=t.currentTimeline;c&&u.delayNextStep(c);let d=u.currentTime;Le(this,n.animation,t),t.previousNode=n,o.currentStaggerTime=i.currentTime-d+(i.startTime-o.currentTimeline.startTime)}},So={},Bi=class e{constructor(n,t,o,i,r,s,a,c){this._driver=n,this.element=t,this.subInstructions=o,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=So,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new To(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;let o=n,i=this.options;o.duration!=null&&(i.duration=gt(o.duration)),o.delay!=null&&(i.delay=gt(o.delay));let r=o.params;if(r){let s=i.params;s||(s=this.options.params={}),Object.keys(r).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=bn(r[a],s,this.errors))})}}_copyOptions(){let n={};if(this.options){let t=this.options.params;if(t){let o=n.params={};Object.keys(t).forEach(i=>{o[i]=t[i]})}}return n}createSubContext(n=null,t,o){let i=t||this.element,r=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,o||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(n),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(n){return this.previousNode=So,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,o){let i={duration:t??n.duration,delay:this.currentTimeline.currentTime+(o??0)+n.delay,easing:""},r=new ji(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,i,n.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,o,i,r,s){let a=[];if(i&&a.push(this.element),n.length>0){n=n.replace(Of,"."+this._enterClassName),n=n.replace(If,"."+this._leaveClassName);let c=o!=1,l=this._driver.query(this.element,n,c);o!==0&&(l=o<0?l.slice(l.length+o,l.length):l.slice(0,o)),a.push(...l)}return!r&&a.length==0&&s.push($g(t)),a}},To=class e{constructor(n,t,o,i){this._driver=n,this.element=t,this.startTime=o,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new e(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Nf,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,o]of this._globalTimelineStyles)this._backFill.set(t,o||nt),this._currentKeyframe.set(t,nt);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,o,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},s=kf(n,this._globalTimelineStyles);for(let[a,c]of s){let l=bn(c,r,o);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??nt),this._updateStyle(a,l)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,o)=>{let i=this._styleSummary.get(o);(!i||t.time>i.time)&&this._updateStyle(o,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,t=new Set,o=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,c)=>{let l=new Map([...this._backFill,...a]);l.forEach((u,d)=>{u===Ln?n.add(d):u===nt&&t.add(d)}),o||l.set("offset",c/this.duration),i.push(l)});let r=[...n.values()],s=[...t.values()];if(o){let a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return er(this.element,i,r,s,this.duration,this.startTime,this.easing,!1)}},ji=class extends To{constructor(n,t,o,i,r,s,a=!1){super(n,t,s.delay),this.keyframes=o,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:o,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],s=o+t,a=t/s,c=new Map(n[0]);c.set("offset",0),r.push(c);let l=new Map(n[0]);l.set("offset",vl(a)),r.push(l);let u=n.length-1;for(let d=1;d<=u;d++){let g=new Map(n[d]),p=g.get("offset"),f=t+p*o;g.set("offset",vl(f/s)),r.push(g)}o=s,t=0,i="",n=r}return er(this.element,n,this.preStyleProps,this.postStyleProps,o,t,i,!0)}};function vl(e,n=3){let t=Math.pow(10,n-1);return Math.round(e*t)/t}function kf(e,n){let t=new Map,o;return e.forEach(i=>{if(i==="*"){o??=n.keys();for(let r of o)t.set(r,nt)}else for(let[r,s]of i)t.set(r,s)}),t}function bl(e,n,t,o,i,r,s,a,c,l,u,d,g){return{type:0,element:e,triggerName:n,isRemovalTransition:i,fromState:t,fromStyles:r,toState:o,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:g}}var Ni={},xo=class{constructor(n,t,o){this._triggerName=n,this.ast=t,this._stateStyles=o}match(n,t,o,i){return Af(this.ast.matchers,n,t,o,i)}buildStyles(n,t,o){let i=this._stateStyles.get("*");return n!==void 0&&(i=this._stateStyles.get(n?.toString())||i),i?i.buildStyles(t,o):new Map}build(n,t,o,i,r,s,a,c,l,u){let d=[],g=this.ast.options&&this.ast.options.params||Ni,p=a&&a.params||Ni,f=this.buildStyles(o,p,d),m=c&&c.params||Ni,_=this.buildStyles(i,m,d),h=new Set,v=new Map,w=new Map,N=i==="void",z={params:Fl(m,g),delay:this.ast.options?.delay},F=u?[]:Rl(n,t,this.ast.animation,r,s,f,_,z,l,d),E=0;return F.forEach(L=>{E=Math.max(L.duration+L.delay,E)}),d.length?bl(t,this._triggerName,o,i,N,f,_,[],[],v,w,E,d):(F.forEach(L=>{let V=L.element,W=ze(v,V,new Set);L.preStyleProps.forEach(Y=>W.add(Y));let fe=ze(w,V,new Set);L.postStyleProps.forEach(Y=>fe.add(Y)),V!==t&&h.add(V)}),bl(t,this._triggerName,o,i,N,f,_,F,[...h.values()],v,w,E))}};function Af(e,n,t,o,i){return e.some(r=>r(n,t,o,i))}function Fl(e,n){let t=J({},n);return Object.entries(e).forEach(([o,i])=>{i!=null&&(t[o]=i)}),t}var Vi=class{constructor(n,t,o){this.styles=n,this.defaultParams=t,this.normalizer=o}buildStyles(n,t){let o=new Map,i=Fl(n,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((s,a)=>{s&&(s=bn(s,i,t));let c=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,c,s,t),o.set(a,s)})}),o}};function Rf(e,n,t){return new Ui(e,n,t)}var Ui=class{constructor(n,t,o){this.name=n,this.ast=t,this._normalizer=o,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Vi(i.style,r,o))}),Cl(this.states,"true","1"),Cl(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new xo(n,i,this.states))}),this.fallbackTransition=Ff(n,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,o,i){return this.transitionFactories.find(s=>s.match(n,t,o,i))||null}matchStyles(n,t,o){return this.fallbackTransition.buildStyles(n,t,o)}};function Ff(e,n,t){let o=[(s,a)=>!0],i={type:$.Sequence,steps:[],options:null},r={type:$.Transition,animation:i,matchers:o,options:null,queryCount:0,depCount:0};return new xo(e,r,n)}function Cl(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}var Lf=new Cn,qi=class{constructor(n,t,o){this.bodyNode=n,this._driver=t,this._normalizer=o,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){let o=[],i=[],r=Al(this._driver,t,o,i);if(o.length)throw Yg(o);i.length&&void 0,this._animations.set(n,r)}_buildPlayer(n,t,o){let i=n.element,r=El(this._normalizer,n.keyframes,t,o);return this._driver.animate(i,r,n.duration,n.delay,n.easing,[],!0)}create(n,t,o={}){let i=[],r=this._animations.get(n),s,a=new Map;if(r?(s=Rl(this._driver,t,r,Ml,Ii,new Map,new Map,o,Lf,i),s.forEach(u=>{let d=ze(a,u.element,new Map);u.postStyleProps.forEach(g=>d.set(g,null))})):(i.push(Zg()),s=[]),i.length)throw Xg(i);a.forEach((u,d)=>{u.forEach((g,p)=>{u.set(p,this._driver.computeStyle(d,p,nt))})});let c=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),l=vt(c);return this._playersById.set(n,l),l.onDestroy(()=>this.destroy(n)),this.players.push(l),l}destroy(n){let t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);let o=this.players.indexOf(t);o>=0&&this.players.splice(o,1)}_getPlayer(n){let t=this._playersById.get(n);if(!t)throw Jg(n);return t}listen(n,t,o,i){let r=Qi(t,"","","");return Gi(this._getPlayer(n),o,r,i),()=>{}}command(n,t,o,i){if(o=="register"){this.register(n,i[0]);return}if(o=="create"){let s=i[0]||{};this.create(n,t,s);return}let r=this._getPlayer(n);switch(o){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(n);break}}},Dl="ng-animate-queued",zf=".ng-animate-queued",Pi="ng-animate-disabled",Bf=".ng-animate-disabled",jf="ng-star-inserted",Vf=".ng-star-inserted",Uf=[],Ll={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qf={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ze="__ng_removed",Dn=class{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;let o=n&&n.hasOwnProperty("value"),i=o?n.value:n;if(this.value=$f(i),o){let r=n,{value:s}=r,a=nr(r,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let t=n.params;if(t){let o=this.options.params;Object.keys(t).forEach(i=>{o[i]==null&&(o[i]=t[i])})}}},vn="void",Oi=new Dn(vn),Wi=class{constructor(n,t,o){this.id=n,this.hostElement=t,this._engine=o,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,$e(t,this._hostClassName)}listen(n,t,o,i){if(!this._triggers.has(t))throw ef(o,t);if(o==null||o.length==0)throw tf(t);if(!Hf(o))throw nf(o,t);let r=ze(this._elementListeners,n,[]),s={name:t,phase:o,callback:i};r.push(s);let a=ze(this._engine.statesByElement,n,new Map);return a.has(t)||($e(n,fo),$e(n,fo+"-"+t),a.set(t,Oi)),()=>{this._engine.afterFlush(()=>{let c=r.indexOf(s);c>=0&&r.splice(c,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return this._triggers.has(n)?!1:(this._triggers.set(n,t),!0)}_getTrigger(n){let t=this._triggers.get(n);if(!t)throw of(n);return t}trigger(n,t,o,i=!0){let r=this._getTrigger(t),s=new Sn(this.id,t,n),a=this._engine.statesByElement.get(n);a||($e(n,fo),$e(n,fo+"-"+t),this._engine.statesByElement.set(n,a=new Map));let c=a.get(t),l=new Dn(o,this.id);if(!(o&&o.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(t,l),c||(c=Oi),!(l.value===vn)&&c.value===l.value){if(!Qf(c.params,l.params)){let m=[],_=r.matchStyles(c.value,c.params,m),h=r.matchStyles(l.value,l.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{kt(n,_),st(n,h)})}return}let g=ze(this._engine.playersByElement,n,[]);g.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let p=r.matchTransition(c.value,l.value,n,l.params),f=!1;if(!p){if(!i)return;p=r.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:p,fromState:c,toState:l,player:s,isFallbackTransition:f}),f||($e(n,Dl),s.onStart(()=>{cn(n,Dl)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);let _=this._engine.playersByElement.get(n);if(_){let h=_.indexOf(s);h>=0&&_.splice(h,1)}}),this.players.push(s),g.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,o)=>{this._elementListeners.set(o,t.filter(i=>i.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let t=this._engine.playersByElement.get(n);t&&(t.forEach(o=>o.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){let o=this._engine.driver.query(n,vo,!0);o.forEach(i=>{if(i[Ze])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(s=>s.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>o.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(n,t,o,i){let r=this._engine.statesByElement.get(n),s=new Map;if(r){let a=[];if(r.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){let u=this.trigger(n,l,vn,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),o&&vt(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let t=this._elementListeners.get(n),o=this._engine.statesByElement.get(n);if(t&&o){let i=new Set;t.forEach(r=>{let s=r.name;if(i.has(s))return;i.add(s);let c=this._triggers.get(s).fallbackTransition,l=o.get(s)||Oi,u=new Dn(vn),d=new Sn(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:c,fromState:l,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(n,t){let o=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let i=!1;if(o.totalAnimations){let r=o.players.length?o.playersByQueriedElement.get(n):[];if(r&&r.length)i=!0;else{let s=n;for(;s=s.parentNode;)if(o.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(n),i)o.markElementAsRemoved(this.id,n,!1,t);else{let r=n[Ze];(!r||r===Ll)&&(o.afterFlush(()=>this.clearElementCache(n)),o.destroyInnerAnimations(n),o._onRemovalComplete(n,t))}}insertNode(n,t){$e(n,this._hostClassName)}drainQueuedTransitions(n){let t=[];return this._queue.forEach(o=>{let i=o.player;if(i.destroyed)return;let r=o.element,s=this._elementListeners.get(r);s&&s.forEach(a=>{if(a.name==o.triggerName){let c=Qi(r,o.triggerName,o.fromState.value,o.toState.value);c._data=n,Gi(o.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(o)}),this._queue=[],t.sort((o,i)=>{let r=o.transition.ast.depCount,s=i.transition.ast.depCount;return r==0||s==0?r-s:this._engine.driver.containsElement(o.element,i.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},$i=class{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,o){this.bodyNode=n,this.driver=t,this._normalizer=o,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,r)=>{}}get queuedPlayers(){let n=[];return this._namespaceList.forEach(t=>{t.players.forEach(o=>{o.queued&&n.push(o)})}),n}createNamespace(n,t){let o=new Wi(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(o,t):(this.newHostElements.set(t,o),this.collectEnterElement(t)),this._namespaceLookup[n]=o}_balanceNamespaceList(n,t){let o=this._namespaceList,i=this.namespacesByHostElement;if(o.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){let c=i.get(a);if(c){let l=o.indexOf(c);o.splice(l+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||o.unshift(n)}else o.push(n);return i.set(t,n),n}register(n,t){let o=this._namespaceLookup[n];return o||(o=this.createNamespace(n,t)),o}registerTrigger(n,t,o){let i=this._namespaceLookup[n];i&&i.register(t,o)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let o=this._fetchNamespace(n);this.namespacesByHostElement.delete(o.hostElement);let i=this._namespaceList.indexOf(o);i>=0&&this._namespaceList.splice(i,1),o.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let t=new Set,o=this.statesByElement.get(n);if(o){for(let i of o.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(n,t,o,i){if(yo(t)){let r=this._fetchNamespace(n);if(r)return r.trigger(t,o,i),!0}return!1}insertNode(n,t,o,i){if(!yo(t))return;let r=t[Ze];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){let s=this._fetchNamespace(n);s&&s.insertNode(t,o)}i&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),$e(n,Pi)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),cn(n,Pi))}removeNode(n,t,o){if(yo(t)){let i=n?this._fetchNamespace(n):null;i?i.removeNode(t,o):this.markElementAsRemoved(n,t,!1,o);let r=this.namespacesByHostElement.get(t);r&&r.id!==n&&r.removeNode(t,o)}else this._onRemovalComplete(t,o)}markElementAsRemoved(n,t,o,i,r){this.collectedLeaveElements.push(t),t[Ze]={namespaceId:n,setForRemoval:i,hasAnimation:o,removedBeforeQueried:!1,previousTriggersValues:r}}listen(n,t,o,i,r){return yo(t)?this._fetchNamespace(n).listen(t,o,i,r):()=>{}}_buildInstruction(n,t,o,i,r){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,o,i,n.fromState.options,n.toState.options,t,r)}destroyInnerAnimations(n){let t=this.driver.query(n,vo,!0);t.forEach(o=>this.destroyActiveAnimationsForElement(o)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(n,ki,!0),t.forEach(o=>this.finishActiveQueriedAnimationOnElement(o)))}destroyActiveAnimationsForElement(n){let t=this.playersByElement.get(n);t&&t.forEach(o=>{o.queued?o.markedForDestroy=!0:o.destroy()})}finishActiveQueriedAnimationOnElement(n){let t=this.playersByQueriedElement.get(n);t&&t.forEach(o=>o.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return vt(this.players).onDone(()=>n());n()})}processLeaveNode(n){let t=n[Ze];if(t&&t.setForRemoval){if(n[Ze]=Ll,t.namespaceId){this.destroyInnerAnimations(n);let o=this._fetchNamespace(t.namespaceId);o&&o.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(Pi)&&this.markElementAsDisabled(n,!1),this.driver.query(n,Bf,!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((o,i)=>this._balanceNamespaceList(o,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let o=0;oo()),this._flushFns=[],this._whenQuietFns.length){let o=this._whenQuietFns;this._whenQuietFns=[],t.length?vt(t).onDone(()=>{o.forEach(i=>i())}):o.forEach(i=>i())}}reportError(n){throw rf(n)}_flushAnimations(n,t){let o=new Cn,i=[],r=new Map,s=[],a=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(O=>{u.add(O);let M=this.driver.query(O,zf,!0);for(let I=0;I{let I=Ml+m++;f.set(M,I),O.forEach(U=>$e(U,I))});let _=[],h=new Set,v=new Set;for(let O=0;Oh.add(U)):v.add(M))}let w=new Map,N=xl(g,Array.from(h));N.forEach((O,M)=>{let I=Ii+m++;w.set(M,I),O.forEach(U=>$e(U,I))}),n.push(()=>{p.forEach((O,M)=>{let I=f.get(M);O.forEach(U=>cn(U,I))}),N.forEach((O,M)=>{let I=w.get(M);O.forEach(U=>cn(U,I))}),_.forEach(O=>{this.processLeaveNode(O)})});let z=[],F=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(t).forEach(I=>{let U=I.player,le=I.element;if(z.push(U),this.collectedEnterElements.length){let ve=le[Ze];if(ve&&ve.setForMove){if(ve.previousTriggersValues&&ve.previousTriggersValues.has(I.triggerName)){let bt=ve.previousTriggersValues.get(I.triggerName),Be=this.statesByElement.get(I.element);if(Be&&Be.has(I.triggerName)){let Tn=Be.get(I.triggerName);Tn.value=bt,Be.set(I.triggerName,Tn)}}U.destroy();return}}let Xe=!d||!this.driver.containsElement(d,le),Ae=w.get(le),ft=f.get(le),ae=this._buildInstruction(I,o,ft,Ae,Xe);if(ae.errors&&ae.errors.length){F.push(ae);return}if(Xe){U.onStart(()=>kt(le,ae.fromStyles)),U.onDestroy(()=>st(le,ae.toStyles)),i.push(U);return}if(I.isFallbackTransition){U.onStart(()=>kt(le,ae.fromStyles)),U.onDestroy(()=>st(le,ae.toStyles)),i.push(U);return}let tr=[];ae.timelines.forEach(ve=>{ve.stretchStartingKeyframe=!0,this.disabledNodes.has(ve.element)||tr.push(ve)}),ae.timelines=tr,o.append(le,ae.timelines);let $l={instruction:ae,player:U,element:le};s.push($l),ae.queriedElements.forEach(ve=>ze(a,ve,[]).push(U)),ae.preStyleProps.forEach((ve,bt)=>{if(ve.size){let Be=c.get(bt);Be||c.set(bt,Be=new Set),ve.forEach((Tn,Oo)=>Be.add(Oo))}}),ae.postStyleProps.forEach((ve,bt)=>{let Be=l.get(bt);Be||l.set(bt,Be=new Set),ve.forEach((Tn,Oo)=>Be.add(Oo))})});if(F.length){let O=[];F.forEach(M=>{O.push(sf(M.triggerName,M.errors))}),z.forEach(M=>M.destroy()),this.reportError(O)}let E=new Map,L=new Map;s.forEach(O=>{let M=O.element;o.has(M)&&(L.set(M,M),this._beforeAnimationBuild(O.player.namespaceId,O.instruction,E))}),i.forEach(O=>{let M=O.element;this._getPreviousPlayers(M,!1,O.namespaceId,O.triggerName,null).forEach(U=>{ze(E,M,[]).push(U),U.destroy()})});let V=_.filter(O=>wl(O,c,l)),W=new Map;Tl(W,this.driver,v,l,nt).forEach(O=>{wl(O,c,l)&&V.push(O)});let Y=new Map;p.forEach((O,M)=>{Tl(Y,this.driver,new Set(O),c,Ln)}),V.forEach(O=>{let M=W.get(O),I=Y.get(O);W.set(O,new Map([...M?.entries()??[],...I?.entries()??[]]))});let Te=[],ke=[],at={};s.forEach(O=>{let{element:M,player:I,instruction:U}=O;if(o.has(M)){if(u.has(M)){I.onDestroy(()=>st(M,U.toStyles)),I.disabled=!0,I.overrideTotalTime(U.totalTime),i.push(I);return}let le=at;if(L.size>1){let Ae=M,ft=[];for(;Ae=Ae.parentNode;){let ae=L.get(Ae);if(ae){le=ae;break}ft.push(Ae)}ft.forEach(ae=>L.set(ae,le))}let Xe=this._buildAnimation(I.namespaceId,U,E,r,Y,W);if(I.setRealPlayer(Xe),le===at)Te.push(I);else{let Ae=this.playersByElement.get(le);Ae&&Ae.length&&(I.parentPlayer=vt(Ae)),i.push(I)}}else kt(M,U.fromStyles),I.onDestroy(()=>st(M,U.toStyles)),ke.push(I),u.has(M)&&i.push(I)}),ke.forEach(O=>{let M=r.get(O.element);if(M&&M.length){let I=vt(M);O.setRealPlayer(I)}}),i.forEach(O=>{O.parentPlayer?O.syncPlayerEvents(O.parentPlayer):O.destroy()});for(let O=0;O<_.length;O++){let M=_[O],I=M[Ze];if(cn(M,Ii),I&&I.hasAnimation)continue;let U=[];if(a.size){let Xe=a.get(M);Xe&&Xe.length&&U.push(...Xe);let Ae=this.driver.query(M,ki,!0);for(let ft=0;ft!Xe.destroyed);le.length?Kf(this,M,le):this.processLeaveNode(M)}return _.length=0,Te.forEach(O=>{this.players.push(O),O.onDone(()=>{O.destroy();let M=this.players.indexOf(O);this.players.splice(M,1)}),O.play()}),Te}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,o,i,r){let s=[];if(t){let a=this.playersByQueriedElement.get(n);a&&(s=a)}else{let a=this.playersByElement.get(n);if(a){let c=!r||r==vn;a.forEach(l=>{l.queued||!c&&l.triggerName!=i||s.push(l)})}}return(o||i)&&(s=s.filter(a=>!(o&&o!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(n,t,o){let i=t.triggerName,r=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:i;for(let c of t.timelines){let l=c.element,u=l!==r,d=ze(o,l,[]);this._getPreviousPlayers(l,u,s,a,t.toState).forEach(p=>{let f=p.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),p.destroy(),d.push(p)})}kt(r,t.fromStyles)}_buildAnimation(n,t,o,i,r,s){let a=t.triggerName,c=t.element,l=[],u=new Set,d=new Set,g=t.timelines.map(f=>{let m=f.element;u.add(m);let _=m[Ze];if(_&&_.removedBeforeQueried)return new qt(f.duration,f.delay);let h=m!==c,v=Gf((o.get(m)||Uf).map(E=>E.getRealPlayer())).filter(E=>{let L=E;return L.element?L.element===m:!1}),w=r.get(m),N=s.get(m),z=El(this._normalizer,f.keyframes,w,N),F=this._buildPlayer(f,z,v);if(f.subTimeline&&i&&d.add(m),h){let E=new Sn(n,a,m);E.setRealPlayer(F),l.push(E)}return F});l.forEach(f=>{ze(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>Wf(this.playersByQueriedElement,f.element,f))}),u.forEach(f=>$e(f,hl));let p=vt(g);return p.onDestroy(()=>{u.forEach(f=>cn(f,hl)),st(c,t.toStyles)}),d.forEach(f=>{ze(i,f,[]).push(p)}),p}_buildPlayer(n,t,o){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,o):new qt(n.duration,n.delay)}},Sn=class{constructor(n,t,o){this.namespaceId=n,this.triggerName=t,this.element=o,this._player=new qt,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,o)=>{t.forEach(i=>Gi(n,o,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){ze(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let t=this._player;t.triggerCallback&&t.triggerCallback(n)}};function Wf(e,n,t){let o=e.get(n);if(o){if(o.length){let i=o.indexOf(t);o.splice(i,1)}o.length==0&&e.delete(n)}return o}function $f(e){return e??null}function yo(e){return e&&e.nodeType===1}function Hf(e){return e=="start"||e=="done"}function Sl(e,n){let t=e.style.display;return e.style.display=n??"none",t}function Tl(e,n,t,o,i){let r=[];t.forEach(c=>r.push(Sl(c)));let s=[];o.forEach((c,l)=>{let u=new Map;c.forEach(d=>{let g=n.computeStyle(l,d,i);u.set(d,g),(!g||g.length==0)&&(l[Ze]=qf,s.push(l))}),e.set(l,u)});let a=0;return t.forEach(c=>Sl(c,r[a++])),s}function xl(e,n){let t=new Map;if(e.forEach(a=>t.set(a,[])),n.length==0)return t;let o=1,i=new Set(n),r=new Map;function s(a){if(!a)return o;let c=r.get(a);if(c)return c;let l=a.parentNode;return t.has(l)?c=l:i.has(l)?c=o:c=s(l),r.set(a,c),c}return n.forEach(a=>{let c=s(a);c!==o&&t.get(c).push(a)}),t}function $e(e,n){e.classList?.add(n)}function cn(e,n){e.classList?.remove(n)}function Kf(e,n,t){vt(t).onDone(()=>e.processLeaveNode(n))}function Gf(e){let n=[];return zl(e,n),n}function zl(e,n){for(let t=0;ti.add(r)):n.set(e,o),t.delete(e),!0}var ln=class{constructor(n,t,o){this._driver=t,this._normalizer=o,this._triggerCache={},this.onRemovalComplete=(i,r)=>{},this._transitionEngine=new $i(n.body,t,o),this._timelineEngine=new qi(n.body,t,o),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(n,t,o,i,r){let s=n+"-"+i,a=this._triggerCache[s];if(!a){let c=[],l=[],u=Al(this._driver,r,c,l);if(c.length)throw Gg(i,c);l.length&&void 0,a=Rf(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,i,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,o,i){this._transitionEngine.insertNode(n,t,o,i)}onRemove(n,t,o){this._transitionEngine.removeNode(n,t,o)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,o,i){if(o.charAt(0)=="@"){let[r,s]=fl(o),a=i;this._timelineEngine.command(r,t,s,a)}else this._transitionEngine.trigger(n,t,o,i)}listen(n,t,o,i,r){if(o.charAt(0)=="@"){let[s,a]=fl(o);return this._timelineEngine.listen(s,t,a,r)}return this._transitionEngine.listen(n,t,o,i,r)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};function Yf(e,n){let t=null,o=null;return Array.isArray(n)&&n.length?(t=Mi(n[0]),n.length>1&&(o=Mi(n[n.length-1]))):n instanceof Map&&(t=Mi(n)),t||o?new Hi(e,t,o):null}var Hi=class e{static{this.initialStylesByElement=new WeakMap}constructor(n,t,o){this._element=n,this._startStyles=t,this._endStyles=o,this._state=0;let i=e.initialStylesByElement.get(n);i||e.initialStylesByElement.set(n,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&st(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(st(this._element,this._initialStyles),this._endStyles&&(st(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(kt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(kt(this._element,this._endStyles),this._endStyles=null),st(this._element,this._initialStyles),this._state=3)}};function Mi(e){let n=null;return e.forEach((t,o)=>{Zf(o)&&(n=n||new Map,n.set(o,t))}),n}function Zf(e){return e==="display"||e==="position"}var wo=class{constructor(n,t,o,i){this.element=n,this.keyframes=t,this.options=o,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=o.duration,this._delay=o.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){let t=[];return n.forEach(o=>{t.push(Object.fromEntries(o))}),t}_triggerWebAnimation(n,t,o){return n.animate(this._convertKeyframesToObject(t),o)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((o,i)=>{i!=="offset"&&n.set(i,this._finished?o:Ji(this.element,i))}),this.currentSnapshot=n}triggerCallback(n){let t=n==="start"?this._onStartFns:this._onDoneFns;t.forEach(o=>o()),t.length=0}},Eo=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return Nl(n,t)}getParentElement(n){return Yi(n)}query(n,t,o){return Pl(n,t,o)}computeStyle(n,t,o){return Ji(n,t)}animate(n,t,o,i,r,s=[]){let a=i==0?"both":"forwards",c={duration:o,delay:i,fill:a};r&&(c.easing=r);let l=new Map,u=s.filter(p=>p instanceof wo);yf(o,i)&&u.forEach(p=>{p.currentSnapshot.forEach((f,m)=>l.set(m,f))});let d=ff(t).map(p=>new Map(p));d=_f(n,d,l);let g=Yf(n,d);return new wo(n,d,c,g)}};var _o="@",Bl="@.disabled",No=class{constructor(n,t,o,i){this.namespaceId=n,this.delegate=t,this.engine=o,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,o,i=!0){this.delegate.insertBefore(n,t,o),this.engine.onInsert(this.namespaceId,t,n,i)}removeChild(n,t,o){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,o,i){this.delegate.setAttribute(n,t,o,i)}removeAttribute(n,t,o){this.delegate.removeAttribute(n,t,o)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,o,i){this.delegate.setStyle(n,t,o,i)}removeStyle(n,t,o){this.delegate.removeStyle(n,t,o)}setProperty(n,t,o){t.charAt(0)==_o&&t==Bl?this.disableAnimations(n,!!o):this.delegate.setProperty(n,t,o)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,o){return this.delegate.listen(n,t,o)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}},Ki=class extends No{constructor(n,t,o,i,r){super(t,o,i,r),this.factory=n,this.namespaceId=t}setProperty(n,t,o){t.charAt(0)==_o?t.charAt(1)=="."&&t==Bl?(o=o===void 0?!0:!!o,this.disableAnimations(n,o)):this.engine.process(this.namespaceId,n,t.slice(1),o):this.delegate.setProperty(n,t,o)}listen(n,t,o){if(t.charAt(0)==_o){let i=Xf(n),r=t.slice(1),s="";return r.charAt(0)!=_o&&([r,s]=Jf(r)),this.engine.listen(this.namespaceId,i,r,s,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,o,a)})}return this.delegate.listen(n,t,o)}};function Xf(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Jf(e){let n=e.indexOf("."),t=e.substring(0,n),o=e.slice(n+1);return[t,o]}var Po=class{constructor(n,t,o){this.delegate=n,this.engine=t,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{r?.removeChild(null,i)}}createRenderer(n,t){let o="",i=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){let l=this._rendererCache,u=l.get(i);if(!u){let d=()=>l.delete(i);u=new No(o,i,this.engine,d),l.set(i,u)}return u}let r=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);let a=l=>{Array.isArray(l)?l.forEach(a):this.engine.registerTrigger(r,s,n,l.name,l)};return t.data.animation.forEach(a),new Ki(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,o){if(n>=0&&nt(o));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[s,a]=r;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([t,o])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var tm=(()=>{class e extends ln{constructor(t,o,i){super(t,o,i)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(o){return new(o||e)(St(Ue),St(At),St(Rt))}}static{this.\u0275prov=De({token:e,factory:e.\u0275fac})}}return e})();function nm(){return new Co}function om(e,n,t){return new Po(e,n,t)}var jl=[{provide:Rt,useFactory:nm},{provide:ln,useClass:tm},{provide:br,useFactory:om,deps:[Vr,ln,Se]}],im=[{provide:At,useFactory:()=>new Eo},{provide:ko,useValue:"BrowserAnimations"},...jl],aS=[{provide:At,useClass:Zi},{provide:ko,useValue:"NoopAnimations"},...jl];function Vl(){return Cr("NgEagerAnimations"),[...im]}function Ul(){return[{provide:qn,useValue:{navigation:[{title:"Changelog",route:"/changelog",hidden:!1,metadata:{description:"",tags:{}}},{title:"Components",route:"/components",expandable:!0,expanded:!1,hidden:!1,metadata:{description:"",tags:{}},children:[{title:"Button",route:"/components/button",hidden:!1,metadata:{description:"",tags:{}}},{title:"Icon",route:"/components/icon",hidden:!1,metadata:{description:"",tags:{}}},{title:"Icon Material",route:"/components/icon-material",hidden:!1,metadata:{description:"",tags:{}}}]},{title:"Todo",route:"/todo",hidden:!1,metadata:{description:"",tags:{}}},{title:"Welcome",route:"/get-started",hidden:!1,metadata:{description:"",tags:{}}}]}},{provide:Ls,useValue:""},{provide:zs,useValue:{light:"",dark:""}}]}var ql=[{path:"get-started",title:"Welcome",loadChildren:()=>import("./chunk-XM4I3GAQ.js")},{path:"components",title:"Components",children:[{path:"",redirectTo:"icon",pathMatch:"full"},{path:"icon",title:"Icon",loadChildren:()=>import("./chunk-P5KW6MXK.js")},{path:"icon-material",title:"Icon Material",loadChildren:()=>import("./chunk-4FBWBNGT.js")},{path:"button",title:"Button",loadChildren:()=>import("./chunk-EOBEK37K.js")}]},{path:"changelog",title:"Changelog",loadChildren:()=>import("./chunk-GEIAPOAK.js")},{path:"todo",title:"Todo",loadChildren:()=>import("./chunk-5TNL5GRR.js")}];var Wl={providers:[Ar({eventCoalescing:!0}),Vl(),$r([...ql,{path:"",redirectTo:"get-started",pathMatch:"full"},{path:"**",redirectTo:"get-started"}],Hr({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"})),zr(Br(),jr()),Ul(),ll(),ul(to),dl(cl),Rs(al)]};Ur(go,Wl).catch(e=>console.error(e));