diff --git a/index.html b/index.html index 0636a5d..a746936 100644 --- a/index.html +++ b/index.html @@ -10,5 +10,5 @@ - + diff --git a/main-62C3T54Y.js b/main-VPRBSDXV.js similarity index 99% rename from main-62C3T54Y.js rename to main-VPRBSDXV.js index 7ba686c..0a90d1b 100644 --- a/main-62C3T54Y.js +++ b/main-VPRBSDXV.js @@ -5,7 +5,7 @@ ${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` `+t.message,i,n,r),t[Jb]=i,t[ra]=null,t}function s_(t,e,n,r=null){t=t&&t.charAt(0)===` `&&t.charAt(1)==t_?t.slice(2):t;let i=Qe(e);if(Array.isArray(e))i=e.map(Qe).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Qe(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(e_,` `)}`}function fr(t,e){let n=t.hasOwnProperty(na);return n?t[na]:null}function a_(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?Md(n,e):e(n))}function Xg(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ia(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function c_(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(i===1)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=n,t[e+1]=r}}function Td(t,e,n){let r=fo(t,e);return r>=0?t[r|1]=n:(r=~r,c_(t,r,e,n)),r}function su(t,e){let n=fo(t,e);if(n>=0)return t[n|1]}function fo(t,e){return u_(t,e,1)}function u_(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=t[o<e?i=o:r=o+1}return~(i<{n.push(s)};return Md(e,s=>{let a=s;_u(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&sm(i,o),n}function sm(t,e){for(let n=0;n{e(o,r)})}}function _u(t,e,n,r){if(t=He(t),!t)return!1;let i=null,o=og(t),s=!o&&hr(t);if(!o&&!s){let l=t.ngModule;if(o=og(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)_u(c,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let c;try{Md(o.imports,u=>{_u(u,e,n,r)&&(c||=[],c.push(u))})}finally{}c!==void 0&&sm(c,e)}if(!a){let c=fr(i)||(()=>new i);e({provide:i,useFactory:c,deps:ze},i),e({provide:em,useValue:i,multi:!0},i),e({provide:ci,useValue:()=>O(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let c=t;Ad(l,u=>{e(u,c)})}}else return!1;return i!==t&&t.providers!==void 0}function Ad(t,e){for(let n of t)Yg(n)&&(n=n.\u0275providers),Array.isArray(n)?Ad(n,e):e(n)}var f_=ie({provide:String,useValue:ie});function am(t){return t!==null&&typeof t=="object"&&f_ in t}function h_(t){return!!(t&&t.useExisting)}function p_(t){return!!(t&&t.useFactory)}function ui(t){return typeof t=="function"}function g_(t){return!!t.useClass}var Ra=new I(""),Ys={},m_={},au;function xd(){return au===void 0&&(au=new oa),au}var Ke=class{},Ji=class extends Ke{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,Eu(e,s=>this.processProvider(s)),this.records.set(Jg,ni(void 0,this)),i.has("environment")&&this.records.set(Ke,ni(void 0,this));let o=this.records.get(Ra);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(em,ze,q.Self))}destroy(){Yi(this),this._destroyed=!0;let e=W(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),W(e)}}onDestroy(e){return Yi(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){Yi(this);let n=xn(this),r=Ye(void 0),i;try{return e()}finally{xn(n),Ye(r)}}get(e,n=Xi,r=q.Default){if(Yi(this),e.hasOwnProperty(ag))return e[ag](this);r=Na(r);let i,o=xn(this),s=Ye(void 0);try{if(!(r&q.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=b_(e)&&xa(e);c&&this.injectableDefInScope(c)?l=ni(Cu(e),Ys):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=r&q.Self?xd():this.parent;return n=r&q.Optional&&n===Xi?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ra]=a[ra]||[]).unshift(Qe(e)),o)throw a;return o_(a,e,"R3InjectorError",this.source)}else throw a}finally{Ye(s),xn(o)}}resolveInjectorInitializers(){let e=W(null),n=xn(this),r=Ye(void 0),i;try{let o=this.get(ci,ze,q.Self);for(let s of o)s()}finally{xn(n),Ye(r),W(e)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(Qe(r));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=He(e);let n=ui(e)?e:He(e&&e.provide),r=v_(e);if(!ui(e)&&e.multi===!0){let i=this.records.get(n);i||(i=ni(void 0,Ys,!0),i.factory=()=>bu(i.multi),this.records.set(n,i)),n=e,i.multi.push(e)}this.records.set(n,r)}hydrate(e,n){let r=W(null);try{return n.value===Ys&&(n.value=m_,n.value=n.factory()),typeof n.value=="object"&&n.value&&w_(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{W(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let n=He(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Cu(t){let e=xa(t),n=e!==null?e.factory:fr(t);if(n!==null)return n;if(t instanceof I)throw new v(204,!1);if(t instanceof Function)return y_(t);throw new v(204,!1)}function y_(t){if(t.length>0)throw new v(204,!1);let n=Hb(t);return n!==null?()=>n.factory(t):()=>new t}function v_(t){if(am(t))return ni(void 0,t.useValue);{let e=lm(t);return ni(e,Ys)}}function lm(t,e,n){let r;if(ui(t)){let i=He(t);return fr(i)||Cu(i)}else if(am(t))r=()=>He(t.useValue);else if(p_(t))r=()=>t.useFactory(...bu(t.deps||[]));else if(h_(t))r=()=>O(He(t.useExisting));else{let i=He(t&&(t.useClass||t.provide));if(D_(t))r=()=>new i(...bu(t.deps));else return fr(i)||Cu(i)}return r}function Yi(t){if(t.destroyed)throw new v(205,!1)}function ni(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function D_(t){return!!t.deps}function w_(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function b_(t){return typeof t=="function"||typeof t=="object"&&t instanceof I}function Eu(t,e){for(let n of t)Array.isArray(n)?Eu(n,e):n&&Yg(n)?Eu(n.\u0275providers,e):e(n)}function ot(t,e){t instanceof Ji&&Yi(t);let n,r=xn(t),i=Ye(void 0);try{return e()}finally{xn(r),Ye(i)}}function cm(){return Qg()!==void 0||n_()!=null}function ho(t){if(!cm())throw new v(-203,!1)}function __(t){return typeof t=="function"}var cn=0,L=1,N=2,je=3,St=4,Tt=5,eo=6,sa=7,Le=8,di=9,on=10,Ee=11,to=12,cg=13,gi=14,Mt=15,pr=16,ri=17,sn=18,Oa=19,um=20,Nn=21,Qs=22,gr=23,rt=24,Be=25,dm=1;var mr=7,aa=8,fi=9,Ve=10,la=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(la||{});function Rn(t){return Array.isArray(t)&&typeof t[dm]=="object"}function un(t){return Array.isArray(t)&&t[dm]===!0}function Nd(t){return(t.flags&4)!==0}function Pa(t){return t.componentOffset>-1}function Fa(t){return(t.flags&1)===1}function On(t){return!!t.template}function Iu(t){return(t[N]&512)!==0}var Su=class{previousValue;currentValue;firstChange;constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function fm(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}var dn=(()=>{let t=()=>hm;return t.ngInherit=!0,t})();function hm(t){return t.type.prototype.ngOnChanges&&(t.setInput=E_),C_}function C_(){let t=gm(this),e=t?.current;if(e){let n=t.previous;if(n===li)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function E_(t,e,n,r,i){let o=this.declaredInputs[r],s=gm(t)||I_(t,{previous:li,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Su(c&&c.currentValue,n,l===li),fm(t,e,i,n)}var pm="__ngSimpleChanges__";function gm(t){return t[pm]||null}function I_(t,e){return t[pm]=e}var ug=null;var Ut=function(t,e,n){ug?.(t,e,n)},mm="svg",S_="math";function Ht(t){for(;Array.isArray(t);)t=t[cn];return t}function ym(t,e){return Ht(e[t])}function mt(t,e){return Ht(e[t.index])}function Rd(t,e){return t.data[e]}function Od(t,e){return t[e]}function Bn(t,e){let n=e[t];return Rn(n)?n:n[cn]}function Pd(t){return(t[N]&128)===128}function M_(t){return un(t[je])}function Pn(t,e){return e==null?null:t[e]}function vm(t){t[ri]=0}function Fd(t){t[N]&1024||(t[N]|=1024,Pd(t)&&po(t))}function T_(t,e){for(;t>0;)e=e[gi],t--;return e}function ka(t){return!!(t[N]&9216||t[rt]?.dirty)}function Mu(t){t[on].changeDetectionScheduler?.notify(9),t[N]&64&&(t[N]|=1024),ka(t)&&po(t)}function po(t){t[on].changeDetectionScheduler?.notify(0);let e=yr(t);for(;e!==null&&!(e[N]&8192||(e[N]|=8192,!Pd(e)));)e=yr(e)}function Dm(t,e){if((t[N]&256)===256)throw new v(911,!1);t[Nn]===null&&(t[Nn]=[]),t[Nn].push(e)}function A_(t,e){if(t[Nn]===null)return;let n=t[Nn].indexOf(e);n!==-1&&t[Nn].splice(n,1)}function yr(t){let e=t[je];return un(e)?e[je]:e}var B={lFrame:Mm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Tu=!1;function x_(){return B.lFrame.elementDepthCount}function N_(){B.lFrame.elementDepthCount++}function R_(){B.lFrame.elementDepthCount--}function wm(){return B.bindingsEnabled}function O_(){return B.skipHydrationRootTNode!==null}function P_(t){return B.skipHydrationRootTNode===t}function F_(){B.skipHydrationRootTNode=null}function Y(){return B.lFrame.lView}function xe(){return B.lFrame.tView}function Zt(t){return B.lFrame.contextLView=t,t[Le]}function Yt(t){return B.lFrame.contextLView=null,t}function Ge(){let t=bm();for(;t!==null&&t.type===64;)t=t.parent;return t}function bm(){return B.lFrame.currentTNode}function k_(){let t=B.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Ir(t,e){let n=B.lFrame;n.currentTNode=t,n.isParent=e}function kd(){return B.lFrame.isParent}function _m(){B.lFrame.isParent=!1}function L_(){return B.lFrame.contextLView}function Cm(){return Tu}function ca(t){let e=Tu;return Tu=t,e}function Em(){let t=B.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function V_(){return B.lFrame.bindingIndex}function j_(t){return B.lFrame.bindingIndex=t}function go(){return B.lFrame.bindingIndex++}function Ld(t){let e=B.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function B_(){return B.lFrame.inI18n}function U_(t,e){let n=B.lFrame;n.bindingIndex=n.bindingRootIndex=t,Au(e)}function $_(){return B.lFrame.currentDirectiveIndex}function Au(t){B.lFrame.currentDirectiveIndex=t}function H_(t){let e=B.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function z_(){return B.lFrame.currentQueryIndex}function Vd(t){B.lFrame.currentQueryIndex=t}function G_(t){let e=t[L];return e.type===2?e.declTNode:e.type===1?t[Tt]:null}function Im(t,e,n){if(n&q.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(n&q.Host);)if(i=G_(o),i===null||(o=o[gi],i.type&10))break;if(i===null)return!1;e=i,t=o}let r=B.lFrame=Sm();return r.currentTNode=e,r.lView=t,!0}function jd(t){let e=Sm(),n=t[L];B.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Sm(){let t=B.lFrame,e=t===null?null:t.child;return e===null?Mm(t):e}function Mm(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Tm(){let t=B.lFrame;return B.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Am=Tm;function Bd(){let t=Tm();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function W_(t){return(B.lFrame.contextLView=T_(t,B.lFrame.contextLView))[Le]}function fn(){return B.lFrame.selectedIndex}function vr(t){B.lFrame.selectedIndex=t}function Ud(){let t=B.lFrame;return Rd(t.tView,t.selectedIndex)}function xm(){B.lFrame.currentNamespace=mm}function Nm(){q_()}function q_(){B.lFrame.currentNamespace=null}function Z_(){return B.lFrame.currentNamespace}var Rm=!0;function La(){return Rm}function Va(t){Rm=t}function Y_(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=hm(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}i&&(n.preOrderHooks??=[]).push(0-t,i),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function ja(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[l]<0&&(t[ri]+=65536),(a>14>16&&(t[N]&3)===e&&(t[N]+=16384,dg(a,o)):dg(a,o)}var si=-1,Dr=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,n,r){this.factory=e,this.canSeeViewProviders=n,this.injectImpl=r}};function K_(t){return t instanceof Dr}function X_(t){return(t.flags&8)!==0}function J_(t){return(t.flags&16)!==0}function xu(t,e,n){let r=0;for(;re){s=o-1;break}}}for(;o>16}function da(t,e){let n=nC(t),r=e;for(;n>0;)r=r[gi],n--;return r}var Ru=!0;function fa(t){let e=Ru;return Ru=t,e}var rC=256,Fm=rC-1,km=5,iC=0,$t={};function oC(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ki)&&(r=n[Ki]),r==null&&(r=n[Ki]=iC++);let i=r&Fm,o=1<>km)]|=o}function ha(t,e){let n=Lm(t,e);if(n!==-1)return n;let r=e[L];r.firstCreatePass&&(t.injectorIndex=e.length,uu(r.data,t),uu(e,null),uu(r.blueprint,null));let i=$d(t,e),o=t.injectorIndex;if(Pm(i)){let s=ua(i),a=da(i,e),l=a[L].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=i,o}function uu(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Lm(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function $d(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;i!==null;){if(r=$m(i),r===null)return si;if(n++,i=i[gi],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return si}function Ou(t,e,n){oC(t,e,n)}function Vm(t,e,n){if(n&q.Optional||t!==void 0)return t;Sd(e,"NodeInjector")}function jm(t,e,n,r){if(n&q.Optional&&r===void 0&&(r=null),!(n&(q.Self|q.Host))){let i=t[di],o=Ye(void 0);try{return i?i.get(e,r,n&q.Optional):Kg(e,r,n&q.Optional)}finally{Ye(o)}}return Vm(r,e,n)}function Bm(t,e,n,r=q.Default,i){if(t!==null){if(e[N]&2048&&!(r&q.Self)){let s=cC(t,e,n,r,$t);if(s!==$t)return s}let o=Um(t,e,n,r,$t);if(o!==$t)return o}return jm(e,n,r,i)}function Um(t,e,n,r,i){let o=aC(n);if(typeof o=="function"){if(!Im(e,t,r))return r&q.Host?Vm(i,n,r):jm(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&q.Optional))Sd(n);else return s}finally{Am()}}else if(typeof o=="number"){let s=null,a=Lm(t,e),l=si,c=r&q.Host?e[Mt][Tt]:null;for((a===-1||r&q.SkipSelf)&&(l=a===-1?$d(t,e):e[a+8],l===si||!pg(r,!1)?a=-1:(s=e[L],a=ua(l),e=da(l,e)));a!==-1;){let u=e[L];if(hg(o,a,u.data)){let d=sC(a,e,n,s,r,c);if(d!==$t)return d}l=e[a+8],l!==si&&pg(r,e[L].data[a+8]===c)&&hg(o,a,e)?(s=u,a=ua(l),e=da(l,e)):a=-1}}return i}function sC(t,e,n,r,i,o){let s=e[L],a=s.data[t+8],l=r==null?Pa(a)&&Ru:r!=s&&(a.type&3)!==0,c=i&q.Host&&o===a,u=Js(a,s,n,l,c);return u!==null?wr(e,s,u,a):$t}function Js(t,e,n,r,i){let o=t.providerIndexes,s=e.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,u=o>>20,d=r?a:a+u,h=i?a+u:c;for(let p=d;p=l&&m.type===n)return p}if(i){let p=s[l];if(p&&On(p)&&p.type===n)return l}return null}function wr(t,e,n,r){let i=t[n],o=e.data;if(K_(i)){let s=i;s.resolving&&Qb(Yb(o[n]));let a=fa(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Ye(s.injectImpl):null,u=Im(t,r,q.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&Y_(n,o[n],e)}finally{c!==null&&Ye(c),fa(a),s.resolving=!1,Am()}}return i}function aC(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Ki)?t[Ki]:void 0;return typeof e=="number"?e>=0?e&Fm:lC:e}function hg(t,e,n){let r=1<>km)]&r)}function pg(t,e){return!(t&q.Self)&&!(t&q.Host&&e)}var dr=class{_tNode;_lView;constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return Bm(this._tNode,this._lView,e,Na(r),n)}};function lC(){return new dr(Ge(),Y())}function Sr(t){return Aa(()=>{let e=t.prototype.constructor,n=e[na]||Pu(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[na]||Pu(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Pu(t){return Gg(t)?()=>{let e=Pu(He(t));return e&&e()}:fr(t)}function cC(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[N]&2048&&!(s[N]&512);){let a=Um(o,s,n,r|q.Self,$t);if(a!==$t)return a;let l=o.parent;if(!l){let c=s[um];if(c){let u=c.get(n,$t,r);if(u!==$t)return u}l=$m(s),s=s[gi]}o=l}return i}function $m(t){let e=t[L],n=e.type;return n===2?e.declTNode:n===1?t[Tt]:null}function gg(t,e=null,n=null,r){let i=Hm(t,e,n,r);return i.resolveInjectorInitializers(),i}function Hm(t,e=null,n=null,r,i=new Set){let o=[n||ze,d_(t)];return r=r||(typeof t=="object"?void 0:Qe(t)),new Ji(o,e||xd(),r||null,i)}var it=class t{static THROW_IF_NOT_FOUND=Xi;static NULL=new oa;static create(e,n){if(Array.isArray(e))return gg({name:""},n,e,"");{let r=e.name??"";return gg({name:r},e.parent,e.providers,r)}}static \u0275prov=E({token:t,providedIn:"any",factory:()=>O(Jg)});static __NG_ELEMENT_ID__=-1};var uC=new I("");uC.__NG_ELEMENT_ID__=t=>{let e=Ge();if(e===null)throw new v(204,!1);if(e.type&2)return e.value;if(t&q.Optional)return null;throw new v(204,!1)};var zm=!1,We=(()=>{class t{static __NG_ELEMENT_ID__=dC;static __NG_ENV_ID__=n=>n}return t})(),pa=class extends We{_lView;constructor(e){super(),this._lView=e}onDestroy(e){return Dm(this._lView,e),()=>A_(this._lView,e)}};function dC(){return new pa(Y())}var br=class{},Ba=new I("",{providedIn:"root",factory:()=>!1});var Gm=new I(""),Hd=new I(""),hn=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new De(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=E({token:t,providedIn:"root",factory:()=>new t})}return t})();var Fu=class extends _e{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,cm()&&(this.destroyRef=g(We,{optional:!0})??void 0,this.pendingTasks=g(hn,{optional:!0})??void 0)}emit(e){let n=W(null);try{super.next(e)}finally{W(n)}}subscribe(e,n,r){let i=e,o=n||(()=>null),s=r;if(e&&typeof e=="object"){let l=e;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof me&&e.add(a),a}wrapInTimeout(e){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{e(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},we=Fu;function ro(...t){}function Wm(t){let e,n;function r(){t=ro;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function mg(t){return queueMicrotask(()=>t()),()=>{t=ro}}var zd="isAngularZone",ga=zd+"_ID",fC=0,fe=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new we(!1);onMicrotaskEmpty=new we(!1);onStable=new we(!1);onError=new we(!1);constructor(e){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=zm}=e;if(typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,gC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(zd)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new v(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,hC,ro,ro);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},hC={};function Gd(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function pC(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Wm(()=>{t.callbackScheduled=!1,ku(t),t.isCheckStableRunning=!0,Gd(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),ku(t)}function gC(t){let e=()=>{pC(t)},n=fC++;t._inner=t._inner.fork({name:"angular",properties:{[zd]:!0,[ga]:n,[ga+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(mC(l))return r.invokeTask(o,s,a,l);try{return yg(t),r.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),vg(t)}},onInvoke:(r,i,o,s,a,l,c)=>{try{return yg(t),r.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!yC(l)&&e(),vg(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,ku(t),Gd(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function ku(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function yg(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function vg(t){t._nesting--,Gd(t)}var ma=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new we;onMicrotaskEmpty=new we;onStable=new we;onError=new we;run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,i){return e.apply(n,r)}};function mC(t){return qm(t,"__ignore_ng_zone__")}function yC(t){return qm(t,"__scheduler_tick__")}function qm(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var zt=class{_console=console;handleError(e){this._console.error("ERROR",e)}},vC=new I("",{providedIn:"root",factory:()=>{let t=g(fe),e=g(zt);return n=>t.runOutsideAngular(()=>e.handleError(n))}}),Lu=class{destroyed=!1;listeners=null;errorHandler=g(zt,{optional:!0});destroyRef=g(We);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new v(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{let n=this.listeners?.indexOf(e);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(e){if(this.destroyed)throw new v(953,!1);if(this.listeners===null)return;let n=W(null);try{for(let r of this.listeners)try{r(e)}catch(i){this.errorHandler?.handleError(i)}}finally{W(n)}}};function Ua(t){return new Lu}function Dg(t,e){return zg(t,e)}function DC(t){return zg(Hg,t)}var X=(Dg.required=DC,Dg);function wC(){return mi(Ge(),Y())}function mi(t,e){return new ce(mt(t,e))}var ce=(()=>{class t{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=wC}return t})();function bC(t){return t instanceof ce?t.nativeElement:t}function _C(){return this._results[Symbol.iterator]()}var Vu=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new _e}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=l_(e);(this._changesDetected=!a_(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=_C};function Zm(t){return(t.flags&128)===128}var Ym=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Ym||{}),Qm=new Map,CC=0;function EC(){return CC++}function IC(t){Qm.set(t[Oa],t)}function ju(t){Qm.delete(t[Oa])}var wg="__ngContext__";function Fn(t,e){Rn(e)?(t[wg]=e[Oa],IC(e)):t[wg]=e}function Km(t){return Jm(t[to])}function Xm(t){return Jm(t[St])}function Jm(t){for(;t!==null&&!un(t);)t=t[St];return t}var Bu;function ey(t){Bu=t}function ty(){if(Bu!==void 0)return Bu;if(typeof document<"u")return document;throw new v(210,!1)}var $a=new I("",{providedIn:"root",factory:()=>SC}),SC="ng",Wd=new I(""),ge=new I("",{providedIn:"platform",factory:()=>"unknown"});var qd=new I(""),Zd=new I("",{providedIn:"root",factory:()=>ty().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Yd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ny=new I("",{providedIn:"root",factory:()=>Yd});function MC(){let t=new Ha;return g(ge)==="browser"&&(t.store=TC(ty(),g($a))),t}var Ha=(()=>{class t{static \u0275prov=E({token:t,providedIn:"root",factory:MC});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/ry});var bg=new Set;function st(t){bg.has(t)||(bg.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var RC=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=E({token:t,providedIn:"root",factory:()=>new t})}return t})();var OC=()=>null;function Qd(t,e,n=!1){return OC(t,e,n)}var Gt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Gt||{}),zs;function PC(){if(zs===void 0&&(zs=null,vu.trustedTypes))try{zs=vu.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return zs}function za(t){return PC()?.createHTML(t)||t}var an=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$g})`}},Uu=class extends an{getTypeName(){return"HTML"}},$u=class extends an{getTypeName(){return"Style"}},Hu=class extends an{getTypeName(){return"Script"}},zu=class extends an{getTypeName(){return"URL"}},Gu=class extends an{getTypeName(){return"ResourceURL"}};function At(t){return t instanceof an?t.changingThisBreaksApplicationSecurity:t}function Mr(t,e){let n=FC(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${$g})`)}return n===e}function FC(t){return t instanceof an&&t.getTypeName()||null}function iy(t){return new Uu(t)}function oy(t){return new $u(t)}function sy(t){return new Hu(t)}function ay(t){return new zu(t)}function ly(t){return new Gu(t)}function kC(t){let e=new qu(t);return LC()?new Wu(e):e}var Wu=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let n=new window.DOMParser().parseFromString(za(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):(n.firstChild?.remove(),n)}catch{return null}}},qu=class{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let n=this.inertDocument.createElement("template");return n.innerHTML=za(e),n}};function LC(){try{return!!new window.DOMParser().parseFromString(za(""),"text/html")}catch{return!1}}var VC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ga(t){return t=String(t),t.match(VC)?t:"unsafe:"+t}function pn(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function mo(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var cy=pn("area,br,col,hr,img,wbr"),uy=pn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dy=pn("rp,rt"),jC=mo(dy,uy),BC=mo(uy,pn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),UC=mo(dy,pn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),_g=mo(cy,BC,UC,jC),fy=pn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),$C=pn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),HC=pn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),zC=mo(fy,$C,HC),GC=pn("script,style,template"),Zu=class{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let n=e.firstChild,r=!0,i=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){i.push(n),n=ZC(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=qC(n);if(o){n=o;break}n=i.pop()}}return this.buf.join("")}startElement(e){let n=Cg(e).toLowerCase();if(!_g.hasOwnProperty(n))return this.sanitizedSomething=!0,!GC.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=e.attributes;for(let i=0;i"),!0}endElement(e){let n=Cg(e).toLowerCase();_g.hasOwnProperty(n)&&!cy.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(Eg(e))}};function WC(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function qC(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw hy(e);return e}function ZC(t){let e=t.firstChild;if(e&&WC(t,e))throw hy(e);return e}function Cg(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function hy(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var YC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,QC=/([^\#-~ |!])/g;function Eg(t){return t.replace(/&/g,"&").replace(YC,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(QC,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Gs;function py(t,e){let n=null;try{Gs=Gs||kC(t);let r=e?String(e):"";n=Gs.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Gs.getInertBodyElement(r)}while(r!==o);let a=new Zu().sanitizeChildren(Ig(n)||n);return za(a)}finally{if(n){let r=Ig(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Ig(t){return"content"in t&&KC(t)?t.content:null}function KC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var xt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(xt||{});function Tr(t){let e=XC();return e?e.sanitize(xt.URL,t)||"":Mr(t,"URL")?At(t):Ga(ai(t))}function XC(){let t=Y();return t&&t[on].sanitizer}var JC=/^>|^->||--!>|)/g,tE="\u200B$1\u200B";function nE(t){return t.replace(JC,e=>e.replace(eE,tE))}function gy(t){return t instanceof Function?t():t}var kn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(kn||{}),ln=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ln||{}),rE;function Kd(t,e){return rE(t,e)}function ii(t,e,n,r,i){if(r!=null){let o,s=!1;un(r)?o=r:Rn(r)&&(s=!0,r=r[cn]);let a=Ht(r);t===0&&n!==null?i==null?Dy(e,n,a):ya(e,n,a,i||null,!0):t===1&&n!==null?ya(e,n,a,i||null,!0):t===2?DE(e,a,s):t===3&&e.destroyNode(a),o!=null&&bE(e,t,o,n,i)}}function iE(t,e){return t.createText(e)}function oE(t,e,n){t.setValue(e,n)}function sE(t,e){return t.createComment(nE(e))}function my(t,e,n){return t.createElement(e,n)}function aE(t,e){yy(t,e),e[cn]=null,e[Tt]=null}function lE(t,e,n,r,i,o){r[cn]=i,r[Tt]=e,Za(t,r,n,1,i,o)}function yy(t,e){e[on].changeDetectionScheduler?.notify(10),Za(t,e,e[Ee],2,null,null)}function cE(t){let e=t[to];if(!e)return du(t[L],t);for(;e;){let n=null;if(Rn(e))n=e[to];else{let r=e[Ve];r&&(n=r)}if(!n){for(;e&&!e[St]&&e!==t;)Rn(e)&&du(e[L],e),e=e[je];e===null&&(e=t),Rn(e)&&du(e[L],e),n=e&&e[St]}e=n}}function uE(t,e,n,r){let i=Ve+r,o=n.length;r>0&&(n[i-1][St]=e),r0&&(t[n-1][St]=r[St]);let o=ia(t,Ve+e);aE(r[L],r);let s=o[sn];s!==null&&s.detachView(o[L]),r[je]=null,r[St]=null,r[N]&=-129}return r}function Wa(t,e){if(!(e[N]&256)){let n=e[Ee];n.destroyNode&&Za(t,e,n,3,null,null),cE(e)}}function du(t,e){if(e[N]&256)return;let n=W(null);try{e[N]&=-129,e[N]|=256,e[rt]&&Gr(e[rt]),fE(t,e),dE(t,e),e[L].type===1&&e[Ee].destroy();let r=e[pr];if(r!==null&&un(e[je])){r!==e[je]&&Xd(r,e);let i=e[sn];i!==null&&i.detachView(t)}ju(e)}finally{W(n)}}function dE(t,e){let n=t.cleanup,r=e[sa];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(e[sa]=null);let i=e[Nn];if(i!==null){e[Nn]=null;for(let s=0;s-1){let{encapsulation:o}=t.data[r.directiveStart+i];if(o===Gt.None||o===Gt.Emulated)return null}return mt(r,n)}}function ya(t,e,n,r,i){t.insertBefore(e,n,r,i)}function Dy(t,e,n){t.appendChild(e,n)}function Sg(t,e,n,r,i){r!==null?ya(t,e,n,r,i):Dy(t,e,n)}function wy(t,e){return t.parentNode(e)}function gE(t,e){return t.nextSibling(e)}function mE(t,e,n){return vE(t,e,n)}function yE(t,e,n){return t.type&40?mt(t,n):null}var vE=yE,Mg;function qa(t,e,n,r){let i=hE(t,r,e),o=e[Ee],s=r.parent||e[Tt],a=mE(s,r,e);if(i!=null)if(Array.isArray(n))for(let l=0;l-1){let o;for(;++io?d="":d=i[u+1].toLowerCase(),r&2&&c!==d){if(Et(r))return!1;s=!0}}}}return Et(r)||s}function Et(t){return(t&1)===0}function TE(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!Et(s)&&(e+=Tg(o,i),i=""),r=s,o=o||!Et(r);n++}return i!==""&&(e+=Tg(o,i)),e}function OE(t){return t.map(RE).join(",")}function PE(t){let e=[],n=[],r=1,i=2;for(;rBe&&Iy(t,e,Be,!1),Ut(s?2:0,i),n(r,i)}finally{vr(o),Ut(s?3:1,i)}}function tf(t,e,n){if(Nd(e)){let r=W(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function UE(t,e,n,r){let i=ky(e);i.push(n),t.firstCreatePass&&Ly(t).push(r,i.length-1)}function $E(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return O_()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Ag(t,e,n,r,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;r??={};let a,l=kn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(i!==null){if(!i.hasOwnProperty(o))continue;c=i[o]}t===0?xg(r,n,c,a,l):xg(r,n,c,a)}return r}function xg(t,e,n,r,i){let o;t.hasOwnProperty(n)?(o=t[n]).push(e,r):o=t[n]=[e,r],i!==void 0&&o.push(i)}function HE(t,e,n){let r=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,c=null;for(let u=r;u0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function ZE(t,e,n,r){let i=n.directiveStart,o=n.directiveEnd;Pa(n)&&t0(e,n,t.data[i+n.componentOffset]),t.firstCreatePass||ha(n,e),Fn(r,e);let s=n.initialInputs;for(let a=i;a{po(t.lView)},consumerOnSignalRead(){this.lView[rt]=this}});function p0(t){let e=t[rt]??Object.create(g0);return e.lView=t,e}var g0=j(D({},rr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=yr(t.lView);for(;e&&!Hy(e[L]);)e=yr(e);e&&Fd(e)},consumerOnSignalRead(){this.lView[rt]=this}});function Hy(t){return t.type!==2}function zy(t){if(t[gr]===null)return;let e=!0;for(;e;){let n=!1;for(let r of t[gr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));e=n&&!!(t[N]&8192)}}var m0=100;function Gy(t,e=!0,n=0){let i=t[on].rendererFactory,o=!1;o||i.begin?.();try{y0(t,n)}catch(s){throw e&&Vy(t,s),s}finally{o||i.end?.()}}function y0(t,e){let n=Cm();try{ca(!0),Xu(t,e);let r=0;for(;ka(t);){if(r===m0)throw new v(103,!1);r++,Xu(t,1)}}finally{ca(n)}}function v0(t,e,n,r){let i=e[N];if((i&256)===256)return;let o=!1,s=!1;jd(e);let a=!0,l=null,c=null;o||(Hy(t)?(c=u0(e),l=zr(c)):Dp()===null?(a=!1,c=p0(e),l=zr(c)):e[rt]&&(Gr(e[rt]),e[rt]=null));try{vm(e),j_(t.bindingStartIndex),n!==null&&Ty(t,e,n,2,r);let u=(i&3)===3;if(!o)if(u){let p=t.preOrderCheckHooks;p!==null&&Ks(e,p,null)}else{let p=t.preOrderHooks;p!==null&&Xs(e,p,0,null),lu(e,0)}if(s||D0(e),zy(e),Wy(e,0),t.contentQueries!==null&&Fy(t,e),!o)if(u){let p=t.contentCheckHooks;p!==null&&Ks(e,p)}else{let p=t.contentHooks;p!==null&&Xs(e,p,1),lu(e,1)}FE(t,e);let d=t.components;d!==null&&Zy(e,d,0);let h=t.viewQuery;if(h!==null&&Ku(2,h,r),!o)if(u){let p=t.viewCheckHooks;p!==null&&Ks(e,p)}else{let p=t.viewHooks;p!==null&&Xs(e,p,2),lu(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Qs]){for(let p of e[Qs])p();e[Qs]=null}o||(e[N]&=-73)}catch(u){throw o||po(e),u}finally{c!==null&&(Ui(c,l),a&&f0(c)),Bd()}}function Wy(t,e){for(let n=Km(t);n!==null;n=Xm(n))for(let r=Ve;r-1&&(io(e,r),ia(n,r))}this._attachedToViewContainer=!1}Wa(this._lView[L],this._lView)}onDestroy(e){Dm(this._lView,e)}markForCheck(){cf(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Fd(this._cdRefInjectingView||this._lView)}detach(){this._lView[N]&=-129}reattach(){Mu(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,Gy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Iu(this._lView),n=this._lView[pr];n!==null&&!e&&Xd(n,this._lView),yy(this._lView[L],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e;let n=Iu(this._lView),r=this._lView[pr];r!==null&&!n&&vy(r,this._lView),Mu(this._lView)}},so=(()=>{class t{static __NG_ELEMENT_ID__=C0}return t})(),b0=so,_0=class extends b0{_declarationLView;_declarationTContainer;elementRef;constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let i=Ka(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new _r(i)}};function C0(){return Ja(Ge(),Y())}function Ja(t,e){return t.type&4?new _0(e,t,mi(t,e)):null}var Ju=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Qe(e)}.`)}},hi=class{static NULL=new Ju},Ln=class{},ao=class{},ed=class{},Da=class{},Vn=class{},gn=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>E0()}return t})();function E0(){let t=Y(),e=Ge(),n=Bn(e.index,t);return(Rn(n)?n:t)[Ee]}var I0=(()=>{class t{static \u0275prov=E({token:t,providedIn:"root",factory:()=>null})}return t})();function wa(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&_y(t,n,o.join(" "))}}function R0(t,e,n){let r=t.projection=[];for(let i=0;in()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},rd=class extends ao{moduleType;constructor(e){super(),this.moduleType=e}create(e){return new nd(this.moduleType,e,[])}};var _a=class extends Ln{injector;componentFactoryResolver=new ba(this);instance=null;constructor(e){super();let n=new Ji([...e.providers,{provide:Ln,useValue:this},{provide:hi,useValue:this.componentFactoryResolver}],e.parent||xd(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function uf(t,e,n=null){return new _a({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var P0=(()=>{class t{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=om(!1,n.type),i=r.length>0?uf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=E({token:t,providedIn:"environment",factory:()=>new t(O(Ke))})}return t})();function se(t){return Aa(()=>{let e=Yy(t),n=j(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Ym.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(P0).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Gt.Emulated,styles:t.styles||ze,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&st("NgStandalone"),Qy(n);let r=t.dependencies;return n.directiveDefs=Og(r,!1),n.pipeDefs=Og(r,!0),n.id=L0(n),n})}function F0(t){return hr(t)||nm(t)}function k0(t){return t!==null}function Qt(t){return Aa(()=>({type:t.type,bootstrap:t.bootstrap||ze,declarations:t.declarations||ze,imports:t.imports||ze,exports:t.exports||ze,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Rg(t,e){if(t==null)return li;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a=kn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(n[o]=a!==kn.None?[r,a]:r,e[o]=s):n[o]=r}return n}function ye(t){return Aa(()=>{let e=Yy(t);return Qy(e),e})}function Kt(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Yy(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||li,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||ze,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Rg(t.inputs,e),outputs:Rg(t.outputs),debugInfo:null}}function Qy(t){t.features?.forEach(e=>e(t))}function Og(t,e){if(!t)return null;let n=e?rm:F0;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(k0)}function L0(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of n)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}var el=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var Ky=new I("");function Ar(t){return!!t&&typeof t.then=="function"}function Xy(t){return!!t&&typeof t.subscribe=="function"}var Jy=new I("");var ev=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Jy,{optional:!0})??[];injector=g(it);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=ot(this.injector,i);if(Ar(o))n.push(o);else if(Xy(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),tv=(()=>{class t{static \u0275prov=E({token:t,providedIn:"root",factory:()=>new Ca})}return t})(),Ca=class{queuedEffectCount=0;queues=new Map;schedule(e){this.enqueue(e)}enqueue(e){let n=e.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(e)||(this.queuedEffectCount++,r.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,n]of this.queues)e===null?this.flushQueue(n):e.run(()=>this.flushQueue(n))}flushQueue(e){for(let n of e)e.delete(n),this.queuedEffectCount--,n.run()}},tl=new I("");function V0(){Tp(()=>{throw new v(600,!1)})}function j0(t){return t.isBoundToModule}var B0=10;function U0(t,e,n){try{let r=n();return Ar(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var Un=(()=>{class t{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(vC);afterRenderManager=g(RC);zonelessEnabled=g(Ba);rootEffectScheduler=g(tv);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new _e;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=g(hn).hasPendingTasks.pipe(k(n=>!n));whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(Ke);get injector(){return this._injector}bootstrap(n,r){let i=n instanceof Da;if(!this._injector.get(ev).done){let h=!i&&im(n),p=!1;throw new v(405,p)}let s;i?s=n:s=this._injector.get(hi).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=j0(s)?void 0:this._injector.get(Ln),l=r||s.selector,c=s.create(it.NULL,[],l,a),u=c.location.nativeElement,d=c.injector.get(Ky,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),ea(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new v(101,!1);let n=W(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,W(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Vn,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++ka(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;ea(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(tl,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ea(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ea(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function $0(t,e,n,r){if(!n&&!ka(t))return;Gy(t,e,n&&!r?0:1)}var wV=new RegExp(`^(\\d+)*(${xC}|${AC})*(.*)`);var H0=()=>null;function co(t,e){return H0(t,e)}var xr=(()=>{class t{static __NG_ELEMENT_ID__=z0}return t})();function z0(){let t=Ge();return rv(t,Y())}var G0=xr,nv=class extends G0{_lContainer;_hostTNode;_hostLView;constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return mi(this._hostTNode,this._hostLView)}get injector(){return new dr(this._hostTNode,this._hostLView)}get parentInjector(){let e=$d(this._hostTNode,this._hostLView);if(Pm(e)){let n=da(e,this._hostLView),r=ua(e),i=n[L].data[r+8];return new dr(i,n)}else return new dr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=Pg(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-Ve}createEmbeddedView(e,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=co(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,oo(this._hostTNode,s)),a}createComponent(e,n,r,i,o){let s=e&&!__(e),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let l=s?e:new lo(hr(e)),c=r||this.parentInjector;if(!o&&l.ngModule==null){let y=(s?c:this.parentInjector).get(Ke,null);y&&(o=y)}let u=hr(l.componentType??{}),d=co(this._lContainer,u?.id??null),h=d?.firstChild??null,p=l.create(c,i,h,o);return this.insertImpl(p.hostView,a,oo(this._hostTNode,d)),p}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let i=e._lView;if(M_(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[je],c=new nv(l,l[Tt],l[je]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(n),s=this._lContainer;return Xa(s,i,o,r),e.attachToViewContainerRef(),Xg(fu(s),o,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=Pg(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=io(this._lContainer,n);r&&(ia(fu(this._lContainer),n),Wa(r[L],r))}detach(e){let n=this._adjustIndex(e,-1),r=io(this._lContainer,n);return r&&ia(fu(this._lContainer),n)!=null?new _r(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function Pg(t){return t[aa]}function fu(t){return t[aa]||(t[aa]=[])}function rv(t,e){let n,r=e[t.index];return un(r)?n=r:(n=Py(r,e,null,t),e[t.index]=n,Qa(e,n)),q0(n,e,t,r),new nv(n,t,e)}function W0(t,e){let n=t[Ee],r=n.createComment(""),i=mt(e,t),o=wy(n,i);return ya(n,o,r,gE(n,i),!1),r}var q0=Q0,Z0=()=>!1;function Y0(t,e,n){return Z0(t,e,n)}function Q0(t,e,n,r){if(t[mr])return;let i;n.type&8?i=Ht(r):i=W0(e,n),t[mr]=i}var id=class t{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},od=class t{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{let c=o[a+1],u=e[-l];for(let d=Ve;de.trim())}function iI(t,e,n){t.queries===null&&(t.queries=new ad),t.queries.track(new ld(e,n))}function sv(t,e){return t.queries.getByIndex(e)}function oI(t,e){let n=t[L],r=sv(n,e);return r.crossesNgTemplate?cd(n,t,e,[]):iv(n,t,r,e)}function qe(t,e){st("NgSignals");let n=Ap(t),r=n[$e];return e?.equal&&(r.equal=e.equal),n.set=i=>ms(r,i),n.update=i=>xp(r,i),n.asReadonly=sI.bind(n),n}function sI(){let t=this[$e];if(t.readonlyFn===void 0){let e=()=>this();e[$e]=t,t.readonlyFn=e}return t.readonlyFn}function df(t,e,n){let r,i=Vc(()=>{r._dirtyCounter();let o=dI(r,t);if(e&&o===void 0)throw new v(-951,!1);return o});return r=i[$e],r._dirtyCounter=qe(0),r._flatValue=void 0,i}function aI(t){return df(!0,!1,t)}function lI(t){return df(!0,!0,t)}function cI(t){return df(!1,!1,t)}function uI(t,e){let n=t[$e];n._lView=Y(),n._queryIndex=e,n._queryList=ov(n._lView,e),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function dI(t,e){let n=t._lView,r=t._queryIndex;if(n===void 0||r===void 0||n[N]&4)return e?void 0:ze;let i=ov(n,r),o=oI(n,r);return i.reset(o,bC),e?i.first:i._changesDetected||t._flatValue===void 0?t._flatValue=i.toArray():t._flatValue}function Fg(t,e){return aI(e)}function fI(t,e){return lI(e)}var av=(Fg.required=fI,Fg);function nl(t,e){return cI(e)}function hI(t){return Object.getPrototypeOf(t.prototype).constructor}function Nt(t){let e=hI(t.type),n=!0,r=[t];for(;e;){let i;if(On(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new v(903,!1);i=e.\u0275dir}if(i){if(n){r.push(i);let s=t;s.inputs=Ws(t.inputs),s.inputTransforms=Ws(t.inputTransforms),s.declaredInputs=Ws(t.declaredInputs),s.outputs=Ws(t.outputs);let a=i.hostBindings;a&&vI(t,a);let l=i.viewQuery,c=i.contentQueries;if(l&&mI(t,l),c&&yI(t,c),pI(t,i),Ub(t.outputs,i.outputs),On(i)&&i.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;r--){let i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=no(i.hostAttrs,n=no(n,i.hostAttrs))}}function Ws(t){return t===li?{}:t===ze?[]:t}function mI(t,e){let n=t.viewQuery;n?t.viewQuery=(r,i)=>{e(r,i),n(r,i)}:t.viewQuery=e}function yI(t,e){let n=t.contentQueries;n?t.contentQueries=(r,i,o)=>{e(r,i,o),n(r,i,o)}:t.contentQueries=e}function vI(t,e){let n=t.hostBindings;n?t.hostBindings=(r,i)=>{e(r,i),n(r,i)}:t.hostBindings=e}function vo(t){let e=t.inputConfig,n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}t.inputTransforms=n}function lv(t,e,n){return t[e]=n}function Wt(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function cv(t,e,n,r){let i=Wt(t,e,n);return Wt(t,e+1,r)||i}function DI(t){return(t.flags&32)===32}function wI(t,e,n,r,i,o,s,a,l){let c=e.consts,u=yo(e,t,4,s||null,a||null);sf(e,n,u,Pn(c,l)),ja(e,u);let d=u.tView=of(2,u,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}function ud(t,e,n,r,i,o,s,a,l,c){let u=n+Be,d=e.firstCreatePass?wI(u,e,t,r,i,o,s,a,l):e.data[u];Ir(d,!1);let h=bI(e,t,d,n);La()&&qa(e,t,h,d),Fn(h,t);let p=Py(h,t,h,d);return t[u]=p,Qa(t,p),Y0(p,d,t),Fa(d)&&nf(e,t,d),l!=null&&rf(t,d,c),d}function lt(t,e,n,r,i,o,s,a){let l=Y(),c=xe(),u=Pn(c.consts,o);return ud(l,c,t,e,n,r,i,u,s,a),lt}var bI=_I;function _I(t,e,n,r){return Va(!0),e[Ee].createComment("")}function yt(t,e,n,r){let i=Y(),o=go();if(Wt(i,o,e)){let s=xe(),a=Ud();n0(a,i,t,e,n,r)}return yt}function uv(t,e,n,r){return Wt(t,go(),n)?e+ai(n)+r:at}function CI(t,e,n,r,i,o){let s=V_(),a=cv(t,s,n,i);return Ld(2),a?e+ai(n)+r+ai(i)+o:at}function qs(t,e){return t<<17|e<<2}function Cr(t){return t>>17&32767}function EI(t){return(t&2)==2}function II(t,e){return t&131071|e<<17}function dd(t){return t|2}function pi(t){return(t&131068)>>2}function hu(t,e){return t&-131069|e<<2}function SI(t){return(t&1)===1}function fd(t){return t|1}function MI(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=Cr(s),l=pi(s);t[r]=n;let c=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||fo(d,u)>0)&&(c=!0)}else u=n;if(i)if(l!==0){let h=Cr(t[a+1]);t[r+1]=qs(h,a),h!==0&&(t[h+1]=hu(t[h+1],r)),t[a+1]=II(t[a+1],r)}else t[r+1]=qs(a,0),a!==0&&(t[a+1]=hu(t[a+1],r)),a=r;else t[r+1]=qs(l,0),a===0?a=r:t[l+1]=hu(t[l+1],r),l=r;c&&(t[r+1]=dd(t[r+1])),kg(t,u,r,!0),kg(t,u,r,!1),TI(e,u,t,r,o),s=qs(a,l),o?e.classBindings=s:e.styleBindings=s}function TI(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&fo(o,e)>=0&&(n[r+1]=fd(n[r+1]))}function kg(t,e,n,r){let i=t[n+1],o=e===null,s=r?Cr(i):pi(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];AI(l,e)&&(a=!0,t[s+1]=r?fd(c):dd(c)),s=r?Cr(c):pi(c)}a&&(t[n+1]=r?dd(i):fd(i))}function AI(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?fo(t,e)>=0:!1}var It={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xI(t){return t.substring(It.key,It.keyEnd)}function NI(t){return RI(t),dv(t,fv(t,0,It.textEnd))}function dv(t,e){let n=It.textEnd;return n===e?-1:(e=It.keyEnd=OI(t,It.key=e,n),fv(t,e,n))}function RI(t){It.key=0,It.keyEnd=0,It.value=0,It.valueEnd=0,It.textEnd=t.length}function fv(t,e,n){for(;e32;)e++;return e}function V(t,e,n){let r=Y(),i=go();if(Wt(r,i,e)){let o=xe(),s=Ud();xy(o,s,r,t,e,r[Ee],n,!1)}return V}function hd(t,e,n,r,i){let o=e.inputs,s=i?"class":"style";af(t,n,o[s],s,r)}function Do(t,e,n){return hv(t,e,n,!1),Do}function Xt(t,e){return hv(t,e,null,!0),Xt}function Ue(t){FI(UI,PI,t,!0)}function PI(t,e){for(let n=NI(e);n>=0;n=dv(e,n))Td(t,xI(e),!0)}function hv(t,e,n,r){let i=Y(),o=xe(),s=Ld(2);if(o.firstUpdatePass&&gv(o,t,s,r),e!==at&&Wt(i,s,e)){let a=o.data[fn()];mv(o,a,i,i[Ee],t,i[s+1]=HI(e,n),r,s)}}function FI(t,e,n,r){let i=xe(),o=Ld(2);i.firstUpdatePass&&gv(i,null,o,r);let s=Y();if(n!==at&&Wt(s,o,n)){let a=i.data[fn()];if(yv(a,r)&&!pv(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(n=Du(l,n||"")),hd(i,a,s,n,r)}else $I(i,a,s,s[Ee],s[o+1],s[o+1]=BI(t,e,n),r,o)}}function pv(t,e){return e>=t.expandoStartIndex}function gv(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[fn()],s=pv(t,n);yv(o,r)&&e===null&&!s&&(e=!1),e=kI(i,o,e,r),MI(i,o,e,n,s,r)}}function kI(t,e,n,r){let i=H_(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=pu(null,t,e,n,r),n=uo(n,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(n=pu(i,t,e,n,r),o===null){let l=LI(t,e,r);l!==void 0&&Array.isArray(l)&&(l=pu(null,t,e,l[1],r),l=uo(l,e.attrs,r),VI(t,e,r,l))}else o=jI(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function LI(t,e,n){let r=n?e.classBindings:e.styleBindings;if(pi(r)!==0)return t[Cr(r)]}function VI(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[Cr(i)]=r}function jI(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=t[i],c=Array.isArray(l),u=c?l[1]:l,d=u===null,h=n[i+1];h===at&&(h=d?ze:void 0);let p=d?su(h,r):u===r?h:void 0;if(c&&!Ea(p)&&(p=su(l,r)),Ea(p)&&(a=p,s))return a;let m=t[i+1];i=s?Cr(m):pi(m)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=su(l,r))}return a}function Ea(t){return t!==void 0}function HI(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Qe(At(t)))),t}function yv(t,e){return(t.flags&(e?8:16))!==0}var pd=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),i=Math.max(e,n),o=this.detach(i);if(i-r>1){let s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(e,n){this.attach(n,this.detach(e))}};function gu(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function zI(t,e,n){let r,i,o=0,s=t.length-1,a=void 0;if(Array.isArray(e)){let l=e.length-1;for(;o<=s&&o<=l;){let c=t.at(o),u=e[o],d=gu(o,c,o,u,n);if(d!==0){d<0&&t.updateValue(o,u),o++;continue}let h=t.at(s),p=e[l],m=gu(s,h,l,p,n);if(m!==0){m<0&&t.updateValue(s,p),s--,l--;continue}let y=n(o,c),w=n(s,h),S=n(o,u);if(Object.is(S,w)){let F=n(l,p);Object.is(F,y)?(t.swap(o,s),t.updateValue(s,p),l--,s--):t.move(s,o),t.updateValue(o,u),o++;continue}if(r??=new Ia,i??=jg(t,o,s,n),gd(t,r,o,S))t.updateValue(o,u),o++,s++;else if(i.has(S))r.set(y,t.detach(o)),s--;else{let F=t.create(o,e[o]);t.attach(o,F),o++,s++}}for(;o<=l;)Vg(t,r,n,o,e[o]),o++}else if(e!=null){let l=e[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let u=t.at(o),d=c.value,h=gu(o,u,o,d,n);if(h!==0)h<0&&t.updateValue(o,d),o++,c=l.next();else{r??=new Ia,i??=jg(t,o,s,n);let p=n(o,d);if(gd(t,r,o,p))t.updateValue(o,d),o++,s++,c=l.next();else if(!i.has(p))t.attach(o,t.create(o,d)),o++,s++,c=l.next();else{let m=n(o,u);r.set(m,t.detach(o)),s--}}}for(;!c.done;)Vg(t,r,n,t.length,c.value),c=l.next()}for(;o<=s;)t.destroy(t.detach(s--));r?.forEach(l=>{t.destroy(l)})}function gd(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Vg(t,e,n,r,i){if(gd(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function jg(t,e,n,r){let i=new Set;for(let o=e;o<=n;o++)i.add(r(o,t.at(o)));return i}var Ia=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let n=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(e,n)}forEach(e){for(let[n,r]of this.kvMap)if(e(r,n),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),e(r,n)}}};function $n(t,e){st("NgControlFlow");let n=Y(),r=go(),i=n[r]!==at?n[r]:-1,o=i!==-1?Sa(n,Be+i):void 0,s=0;if(Wt(n,r,t)){let a=W(null);try{if(o!==void 0&&Uy(o,s),t!==-1){let l=Be+t,c=Sa(n,l),u=Dd(n[L],l),d=co(c,u.tView.ssrId),h=Ka(n,u,e,{dehydratedView:d});Xa(c,h,s,oo(u,d))}}finally{W(a)}}else if(o!==void 0){let a=By(o,s);a!==void 0&&(a[Le]=e)}}var md=class{lContainer;$implicit;$index;constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Ve}};function rl(t,e){return e}var yd=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function Rt(t,e,n,r,i,o,s,a,l,c,u,d,h){st("NgControlFlow");let p=Y(),m=xe(),y=l!==void 0,w=Y(),S=a?s.bind(w[Mt][Le]):s,F=new yd(y,S);w[Be+t]=F,ud(p,m,t+1,e,n,r,i,Pn(m.consts,o)),y&&ud(p,m,t+2,l,c,u,d,Pn(m.consts,h))}var vd=class extends pd{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-Ve}at(e){return this.getLView(e)[Le].$implicit}attach(e,n){let r=n[eo];this.needsIndexUpdate||=e!==this.length,Xa(this.lContainer,n,e,oo(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,GI(this.lContainer,e)}create(e,n){let r=co(this.lContainer,this.templateTNode.tView.ssrId),i=Ka(this.hostLView,this.templateTNode,new md(this.lContainer,n,e),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(e){Wa(e[L],e),this.operationsCounter?.recordDestroy()}updateValue(e,n){this.getLView(e)[Le].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(Va(!0),my(r,i,Z_()));function YI(t,e,n,r,i){let o=e.consts,s=Pn(o,r),a=yo(e,t,8,"ng-container",s);s!==null&&wa(a,s,!0);let l=Pn(o,i);return sf(e,n,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function vv(t,e,n){let r=Y(),i=xe(),o=t+Be,s=i.firstCreatePass?YI(o,i,r,e,n):i.data[o];Ir(s,!0);let a=QI(i,r,s,t);return r[o]=a,La()&&qa(i,r,a,s),Fn(a,r),Fa(s)&&(nf(i,r,s),tf(i,s,r)),n!=null&&rf(r,s),vv}function Dv(){let t=Ge(),e=xe();return kd()?_m():(t=t.parent,Ir(t,!1)),e.firstCreatePass&&(ja(e,t),Nd(t)&&e.queries.elementEnd(t)),Dv}function il(t,e,n){return vv(t,e,n),Dv(),il}var QI=(t,e,n,r)=>(Va(!0),sE(e[Ee],""));function mn(){return Y()}var Ma="en-US";var KI=Ma;function XI(t){typeof t=="string"&&(KI=t.toLowerCase().replace(/_/g,"-"))}var JI=(t,e,n)=>{};function Ne(t,e,n,r){let i=Y(),o=xe(),s=Ge();return tS(o,i,i[Ee],s,t,e,r),Ne}function eS(t,e,n,r){let i=t.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function tS(t,e,n,r,i,o,s){let a=Fa(r),c=t.firstCreatePass&&Ly(t),u=e[Le],d=ky(e),h=!0;if(r.type&3||s){let y=mt(r,e),w=s?s(y):y,S=d.length,F=s?Q=>s(Ht(Q[r.index])):r.index,P=null;if(!s&&a&&(P=eS(t,e,i,r.index)),P!==null){let Q=P.__ngLastListenerFn__||P;Q.__ngNextListenerFn__=o,P.__ngLastListenerFn__=o,h=!1}else{o=Ug(r,e,u,o),JI(y,i,o);let Q=n.listen(w,i,o);d.push(o,Q),c&&c.push(i,F,S,S+1)}}else o=Ug(r,e,u,o);let p=r.outputs,m;if(h&&p!==null&&(m=p[i])){let y=m.length;if(y)for(let w=0;w-1?Bn(t.index,e):e;cf(s,5);let a=Bg(e,n,r,o),l=i.__ngNextListenerFn__;for(;l;)a=Bg(e,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function Se(t=1){return W_(t)}function wo(t,e,n){return wv(t,"",e,"",n),wo}function wv(t,e,n,r,i){let o=Y(),s=uv(o,e,n,r);if(s!==at){let a=xe(),l=Ud();xy(a,l,o,t,s,o[Ee],i,!1)}return wv}function bo(t,e,n,r){uI(t,nI(e,n,r))}function ol(t=1){Vd(z_()+t)}function nS(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function bv(t){let e=L_();return Od(e,Be+t)}function f(t,e=""){let n=Y(),r=xe(),i=t+Be,o=r.firstCreatePass?yo(r,i,1,e,null):r.data[i],s=rS(r,n,o,e,t);n[i]=s,La()&&qa(r,n,s,o),Ir(o,!1)}var rS=(t,e,n,r,i)=>(Va(!0),iE(e[Ee],r));function _o(t){return Oe("",t,""),_o}function Oe(t,e,n){let r=Y(),i=uv(r,t,e,n);return i!==at&&jy(r,fn(),i),Oe}function ff(t,e,n,r,i){let o=Y(),s=CI(o,t,e,n,r,i);return s!==at&&jy(o,fn(),s),ff}function iS(t,e,n){let r=xe();if(r.firstCreatePass){let i=On(t);wd(n,r.data,r.blueprint,i,!0),wd(e,r.data,r.blueprint,i,!1)}}function wd(t,e,n,r,i){if(t=He(t),Array.isArray(t))for(let o=0;o>20;if(ui(t)||!t.multi){let p=new Dr(c,i,ne),m=yu(l,e,i?u:u+h,d);m===-1?(Ou(ha(a,s),o,l),mu(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{let p=yu(l,e,u+h,d),m=yu(l,e,u,u+h),y=p>=0&&n[p],w=m>=0&&n[m];if(i&&!w||!i&&!y){Ou(ha(a,s),o,l);let S=aS(i?sS:oS,n.length,i,r,c);!i&&w&&(n[m].providerFactory=S),mu(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(S),s.push(S)}else{let S=_v(n[i?m:p],c,!i&&r);mu(o,t,p>-1?p:m,S)}!i&&r&&w&&n[m].componentProviders++}}}function mu(t,e,n,r){let i=ui(e),o=g_(e);if(i||o){let l=(o?He(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let u=c.indexOf(n);u===-1?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function _v(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function yu(t,e,n,r){for(let i=n;i{n.providersResolver=(r,i)=>iS(r,i?i(t):t,e)}}function Cv(t,e){let n=t[e];return n===at?void 0:n}function lS(t,e,n,r,i,o){let s=e+n;return Wt(t,s,i)?lv(t,s+1,o?r.call(o,i):r(i)):Cv(t,s+1)}function cS(t,e,n,r,i,o,s){let a=e+n;return cv(t,a,i,o)?lv(t,a+2,s?r.call(s,i,o):r(i,o)):Cv(t,a+2)}function re(t,e){let n=xe(),r,i=t+Be;n.firstCreatePass?(r=uS(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=fr(r.type,!0)),s,a=Ye(ne);try{let l=fa(!1),c=o();return fa(l),nS(n,Y(),i,c),c}finally{Ye(a)}}function uS(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function Pt(t,e,n){let r=t+Be,i=Y(),o=Od(i,r);return Ev(i,r)?lS(i,Em(),e,o.transform,n,o):o.transform(n)}function be(t,e,n,r){let i=t+Be,o=Y(),s=Od(o,i);return Ev(o,i)?cS(o,Em(),e,s.transform,n,r,s):s.transform(n,r)}function Ev(t,e){return t[L].data[e].pure}function Iv(t,e){return Ja(t,e)}var _d=class{ngModuleFactory;componentFactories;constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},hf=(()=>{class t{compileModuleSync(n){return new rd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),i=tm(n),o=gy(i.declarations).reduce((s,a)=>{let l=hr(a);return l&&s.push(new lo(l)),s},[]);return new _d(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var dS=(()=>{class t{zone=g(fe);changeDetectionScheduler=g(br);applicationRef=g(Un);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function fS({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new fe(j(D({},hS()),{scheduleInRootZone:n})),[{provide:fe,useFactory:t},{provide:ci,multi:!0,useFactory:()=>{let r=g(dS,{optional:!0});return()=>r.initialize()}},{provide:ci,multi:!0,useFactory:()=>{let r=g(pS);return()=>{r.initialize()}}},e===!0?{provide:Gm,useValue:!0}:[],{provide:Hd,useValue:n??zm}]}function hS(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var pS=(()=>{class t{subscription=new me;initialized=!1;zone=g(fe);pendingTasks=g(hn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{fe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{fe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Sv=(()=>{class t{appRef=g(Un);taskService=g(hn);ngZone=g(fe);zonelessEnabled=g(Ba);disableScheduling=g(Gm,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new me;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ga):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Hd,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ma||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(r))return;let i=this.useMicrotaskScheduler?mg:Wm;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ga+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,mg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Mv(){return st("NgZoneless"),jn([{provide:br,useExisting:Sv},{provide:fe,useClass:ma},{provide:Ba,useValue:!0},{provide:Hd,useValue:!1},[]])}function gS(){return typeof $localize<"u"&&$localize.locale||Ma}var pf=new I("",{providedIn:"root",factory:()=>g(pf,q.Optional|q.SkipSelf)||gS()});var Cd=new I("");function Zs(t){return!t.moduleRef}function mS(t){let e=Zs(t)?t.r3Injector:t.moduleRef.injector,n=e.get(fe);return n.run(()=>{Zs(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(zt,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Zs(t)){let o=()=>e.destroy(),s=t.platformInjector.get(Cd);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Cd);s.add(o),t.moduleRef.onDestroy(()=>{ea(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return U0(r,n,()=>{let o=e.get(ev);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(pf,Ma);if(XI(s||Ma),Zs(t)){let a=e.get(Un);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return yS(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function yS(t,e){let n=t.injector.get(Un);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new v(-403,!1);e.push(t)}var ta=null;function vS(t=[],e){return it.create({name:e,providers:[{provide:Ra,useValue:"platform"},{provide:Cd,useValue:new Set([()=>ta=null])},...t]})}function DS(t=[]){if(ta)return ta;let e=vS(t);return ta=e,V0(),wS(e),e}function wS(t){let e=t.get(Wd,null);ot(t,()=>{e?.forEach(n=>n())})}var vt=(()=>{class t{static __NG_ELEMENT_ID__=bS}return t})();function bS(t){return _S(Ge(),Y(),(t&16)===16)}function _S(t,e,n){if(Pa(t)&&!n){let r=Bn(t.index,e);return new _r(r,r)}else if(t.type&175){let r=e[Mt];return new _r(r,e)}return null}function Tv(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=DS(r),o=[fS({}),{provide:br,useExisting:Sv},...n||[]],s=new _a({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return mS({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}}function yn(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function gf(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function vn(t,e){st("NgSignals");let n=Vc(t);return e?.equal&&(n[$e].equal=e.equal),n}function Jt(t){let e=W(null);try{return t()}finally{W(e)}}var Av=(()=>{class t{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=CS}return t})();function CS(){return new Av(Y(),Ge())}var ES=!1,IS=(()=>{class t extends Ca{pendingTasks=g(hn);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=E({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ed=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(e,n,r,i,o,s){this.scheduler=e,this.effectFn=n,this.zone=r,this.injector=o,this.watcher=Np(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(n){this.injector.get(zt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function SS(){}function xv(t,e){st("NgSignals"),!e?.injector&&ho(SS);let n=e?.injector??g(it),r=e?.manualCleanup!==!0?n.get(We):null,i=new Ed(n.get(IS),t,typeof Zone>"u"?null:Zone.current,r,n,e?.allowSignalWrites??!1),o=n.get(vt,null,{optional:!0});return!o||!(o._lView[N]&8)?i.watcher.notify():(o._lView[Qs]??=[]).push(i.watcher.notify),i}var MS=ES;var Id=class{[$e];constructor(e){this[$e]=e}destroy(){this[$e].destroy()}};function Ft(t,e){if(MS)return xv(t,e);st("NgSignals"),!e?.injector&&ho(Ft);let n=e?.injector??g(it),r=e?.manualCleanup!==!0?n.get(We):null,i,o=n.get(Av,null,{optional:!0}),s=n.get(br);return o!==null&&!e?.forceRoot?(i=xS(o.view,s,t),r instanceof pa&&r._lView===o.view&&(r=null)):i=NS(t,n.get(tv),s),i.injector=n,r!==null&&(i.onDestroyFn=r.onDestroy(()=>i.destroy())),new Id(i)}var Nv=j(D({},rr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:ro,run(){if(this.dirty=!1,this.hasRun&&!$i(this))return;this.hasRun=!0;let t=r=>(this.cleanupFns??=[]).push(r),e=zr(this),n=ca(!1);try{this.maybeCleanup(),this.fn(t)}finally{ca(n),Ui(this,e)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),TS=j(D({},Nv),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Gr(this),this.onDestroyFn(),this.maybeCleanup()}}),AS=j(D({},Nv),{consumerMarkedDirty(){this.view[N]|=8192,po(this.view),this.notifier.notify(14)},destroy(){Gr(this),this.onDestroyFn(),this.maybeCleanup(),this.view[gr]?.delete(this)}});function xS(t,e,n){let r=Object.create(AS);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=e,r.fn=n,t[gr]??=new Set,t[gr].add(r),r.consumerMarkedDirty(r),r}function NS(t,e,n){let r=Object.create(TS);return r.fn=t,r.scheduler=e,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}var Fv=null;function Dn(){return Fv}function kv(t){Fv??=t}var sl=class{};var ae=new I(""),Lv=(()=>{class t{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(PS),providedIn:"platform"})}return t})();var PS=(()=>{class t extends Lv{_location;_history;_doc=g(ae);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Dn().getBaseHref(this._doc)}onPopState(n){let r=Dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Vv(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function Rv(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function Nr(t){return t&&t[0]!=="?"?"?"+t:t}var al=(()=>{class t{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(jv),providedIn:"root"})}return t})(),FS=new I(""),jv=(()=>{class t extends al{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(ae).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Vv(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Nr(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Nr(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Nr(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||t)(O(Lv),O(FS,8))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Co=(()=>{class t{_subject=new _e;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=VS(Rv(Ov(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Nr(r))}normalize(n){return t.stripTrailingSlash(LS(this._basePath,Ov(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nr(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nr(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=Nr;static joinWithSlash=Vv;static stripTrailingSlash=Rv;static \u0275fac=function(r){return new(r||t)(O(al))};static \u0275prov=E({token:t,factory:()=>kS(),providedIn:"root"})}return t})();function kS(){return new Co(O(al))}function LS(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function Ov(t){return t.replace(/\/index.html$/,"")}function VS(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}function ll(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Bv=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(n,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||t)(ne(xr))};static \u0275dir=ye({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[dn]})}return t})();function jS(t,e){return new v(2100,!1)}var Uv=(()=>{class t{transform(n){if(n==null)return null;if(typeof n!="string")throw jS(t,n);return n.toUpperCase()}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=Kt({name:"uppercase",type:t,pure:!0})}return t})();var yf="browser",BS="server";function Eo(t){return t===yf}function ct(t){return t===BS}var yi=class{};var $v=t=>t.src,US=new I("",{providedIn:"root",factory:()=>$v});var $S=new I("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),HS=(()=>{class t{preloadedImages=g($S);document=g(ae);createPreloadLinkTag(n,r,i,o){if(this.preloadedImages.has(r))return;this.preloadedImages.add(r);let s=n.createElement("link");n.setAttribute(s,"as","image"),n.setAttribute(s,"href",r),n.setAttribute(s,"rel","preload"),n.setAttribute(s,"fetchpriority","high"),o&&n.setAttribute(s,"imageSizes",o),i&&n.setAttribute(s,"imageSrcset",i),n.appendChild(this.document.head,s)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Pv=/^((\s*\d+w\s*(,|$)){1,})$/;var zS=[1,2],GS=640;var WS=1920,qS=1080;var Dt=(()=>{class t{imageLoader=g(US);config=ZS(g(ny));renderer=g(gn);imgElement=g(ce).nativeElement;injector=g(it);isServer=ct(g(ge));preloadLinkCreator=g(HS);lcpObserver=null;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;ngOnInit(){st("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&Pv.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw"),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0);let i=this._renderedSrc;this.lcpObserver!==null&&r&&i&&r!==i&&this.injector.get(fe).runOutsideAngular(()=>{this.lcpObserver?.updateImage(r,i)})}}callImageLoader(n){let r=n;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=Pv.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let o=n?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(o=>o>=GS)),r.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return zS.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>WS||this.height>qS),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==$v&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let s=this.injector.get(vt);i(),o(),this.placeholder=!1,s.markForCheck()},i=this.renderer.listen(n,"load",r),o=this.renderer.listen(n,"error",r);YS(n,r)}ngOnDestroy(){}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=ye({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,i){r&2&&Do("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",QS],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",gf],height:[2,"height","height",gf],loading:"loading",priority:[2,"priority","priority",yn],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",yn],fill:[2,"fill","fill",yn],placeholder:[2,"placeholder","placeholder",KS],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[vo,dn]})}return t})();function ZS(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((n,r)=>n-r)),Object.assign({},Yd,t,e)}function YS(t,e){t.complete&&t.naturalWidth&&e()}function QS(t){return typeof t=="string"?t:At(t)}function KS(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:yn(t)}var So=class{},ul=class{},wn=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=n.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let i=(e.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let o=e.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(e,n){let r=e.toLowerCase();this.maybeSetNormalizedName(e,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var Df=class{encodeKey(e){return Hv(e)}encodeValue(e){return Hv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function eM(t,e){let n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}var tM=/%(\d[a-f0-9])/gi,nM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Hv(t){return encodeURIComponent(t).replace(tM,(e,n)=>nM[n]??e)}function cl(t){return`${t}`}var zn=class t{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new Df,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=eM(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let r=e.fromObject[n],i=Array.isArray(r)?r.map(cl):[cl(r)];this.map.set(n,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(r=>{let i=e[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(cl(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let r=this.map.get(e.param)||[],i=r.indexOf(cl(e.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var wf=class{map=new Map;set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function rM(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function zv(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Gv(t){return typeof Blob<"u"&&t instanceof Blob}function Wv(t){return typeof FormData<"u"&&t instanceof FormData}function iM(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Io=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(e,n,r,i){this.url=n,this.method=e.toUpperCase();let o;if(rM(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new wn,this.context??=new wf,!this.params)this.params=new zn,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),l=a===-1?"?":ah.set(p,e.setHeaders[p]),c)),e.setParams&&(u=Object.keys(e.setParams).reduce((h,p)=>h.set(p,e.setParams[p]),u)),new t(n,r,s,{params:u,headers:c,context:d,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},Gn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Gn||{}),Mo=class{headers;status;statusText;url;ok;type;constructor(e,n=200,r="OK"){this.headers=e.headers||new wn,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},dl=class t extends Mo{constructor(e={}){super(e)}type=Gn.ResponseHeader;clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},To=class t extends Mo{body;constructor(e={}){super(e),this.body=e.body!==void 0?e.body:null}type=Gn.Response;clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Hn=class extends Mo{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Qv=200,oM=204;function vf(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Cf=(()=>{class t{handler;constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof Io)o=n;else{let l;i.headers instanceof wn?l=i.headers:l=new wn(i.headers);let c;i.params&&(i.params instanceof zn?c=i.params:c=new zn({fromObject:i.params})),o=new Io(n,r,i.body!==void 0?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=A(o).pipe(Tn(l=>this.handler.handle(l)));if(n instanceof Io||i.observe==="events")return s;let a=s.pipe(Ce(l=>l instanceof To));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(k(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(k(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new zn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,vf(i,r))}post(n,r,i={}){return this.request("POST",n,vf(i,r))}put(n,r,i={}){return this.request("PUT",n,vf(i,r))}static \u0275fac=function(r){return new(r||t)(O(So))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),sM=/^\)\]\}',?\n/,aM="X-Request-URL";function qv(t){if(t.url)return t.url;let e=aM.toLocaleLowerCase();return t.headers.get(e)}var lM=(()=>{class t{fetchImpl=g(bf,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=g(fe);handle(n){return new H(r=>{let i=new AbortController;return this.doRequest(n,i.signal,r).then(_f,o=>r.error(new Hn({error:o}))),()=>i.abort()})}async doRequest(n,r,i){let o=this.createRequestInit(n),s;try{let p=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,D({signal:r},o)));cM(p),i.next({type:Gn.Sent}),s=await p}catch(p){i.error(new Hn({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}));return}let a=new wn(s.headers),l=s.statusText,c=qv(s)??n.urlWithParams,u=s.status,d=null;if(n.reportProgress&&i.next(new dl({headers:a,status:u,statusText:l,url:c})),s.body){let p=s.headers.get("content-length"),m=[],y=s.body.getReader(),w=0,S,F,P=typeof Zone<"u"&&Zone.current;await this.ngZone.runOutsideAngular(async()=>{for(;;){let{done:ve,value:J}=await y.read();if(ve)break;if(m.push(J),w+=J.length,n.reportProgress){F=n.responseType==="text"?(F??"")+(S??=new TextDecoder).decode(J,{stream:!0}):void 0;let le=()=>i.next({type:Gn.DownloadProgress,total:p?+p:void 0,loaded:w,partialText:F});P?P.run(le):le()}}});let Q=this.concatChunks(m,w);try{let ve=s.headers.get("Content-Type")??"";d=this.parseBody(n,Q,ve)}catch(ve){i.error(new Hn({error:ve,headers:new wn(s.headers),status:s.status,statusText:s.statusText,url:qv(s)??n.urlWithParams}));return}}u===0&&(u=d?Qv:0),u>=200&&u<300?(i.next(new To({body:d,headers:a,status:u,statusText:l,url:c})),i.complete()):i.error(new Hn({error:d,headers:a,status:u,statusText:l,url:c}))}parseBody(n,r,i){switch(n.responseType){case"json":let o=new TextDecoder().decode(r).replace(sM,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((o,s)=>r[o]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let o=n.detectContentTypeHeader();o!==null&&(r["Content-Type"]=o)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:i}}concatChunks(n,r){let i=new Uint8Array(r),o=0;for(let s of n)i.set(s,o),o+=s.length;return i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),bf=class{};function _f(){}function cM(t){t.then(_f,_f)}function uM(t,e){return e(t)}function dM(t,e,n){return(r,i)=>ot(n,()=>e(r,o=>t(o,i)))}var Kv=new I(""),fM=new I(""),hM=new I("",{providedIn:"root",factory:()=>!0});var Zv=(()=>{class t extends So{backend;injector;chain=null;pendingTasks=g(hn);contributeToStability=g(hM);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Kv),...this.injector.get(fM,[])]));this.chain=r.reduceRight((i,o)=>dM(i,o,this.injector),uM)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(ur(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(O(ul),O(Ke))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();var pM=/^\)\]\}',?\n/;function gM(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Yv=(()=>{class t{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?oe(r.\u0275loadImpl()):A(null)).pipe(Re(()=>new H(o=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,w)=>s.setRequestHeader(y,w.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader("Content-Type",y)}if(n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),l=null,c=()=>{if(l!==null)return l;let y=s.statusText||"OK",w=new wn(s.getAllResponseHeaders()),S=gM(s)||n.url;return l=new dl({headers:w,status:s.status,statusText:y,url:S}),l},u=()=>{let{headers:y,status:w,statusText:S,url:F}=c(),P=null;w!==oM&&(P=typeof s.response>"u"?s.responseText:s.response),w===0&&(w=P?Qv:0);let Q=w>=200&&w<300;if(n.responseType==="json"&&typeof P=="string"){let ve=P;P=P.replace(pM,"");try{P=P!==""?JSON.parse(P):null}catch(J){P=ve,Q&&(Q=!1,P={error:J,text:P})}}Q?(o.next(new To({body:P,headers:y,status:w,statusText:S,url:F||void 0})),o.complete()):o.error(new Hn({error:P,headers:y,status:w,statusText:S,url:F||void 0}))},d=y=>{let{url:w}=c(),S=new Hn({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:w||void 0});o.error(S)},h=!1,p=y=>{h||(o.next(c()),h=!0);let w={type:Gn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),n.responseType==="text"&&s.responseText&&(w.partialText=s.responseText),o.next(w)},m=y=>{let w={type:Gn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),o.next(w)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",p),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),o.next({type:Gn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",p),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(O(yi))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Xv=new I(""),mM="XSRF-TOKEN",yM=new I("",{providedIn:"root",factory:()=>mM}),vM="X-XSRF-TOKEN",DM=new I("",{providedIn:"root",factory:()=>vM}),fl=class{},wM=(()=>{class t{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ll(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||t)(O(ae),O(ge),O(yM))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();function bM(t,e){let n=t.url.toLowerCase();if(!g(Xv)||t.method==="GET"||t.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(t);let r=g(fl).getToken(),i=g(DM);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),e(t)}function Jv(...t){let e=[Cf,Yv,Zv,{provide:So,useExisting:Zv},{provide:ul,useFactory:()=>g(lM,{optional:!0})??g(Yv)},{provide:Kv,useValue:bM,multi:!0},{provide:Xv,useValue:!0},{provide:fl,useClass:wM}];for(let n of t)e.push(...n.\u0275providers);return jn(e)}var If=class extends sl{supportsDOMEvents=!0},Sf=class t extends If{static makeCurrent(){kv(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=CM();return n==null?null:EM(n)}resetBaseElement(){Ao=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return ll(document.cookie,e)}},Ao=null;function CM(){return Ao=Ao||document.querySelector("base"),Ao?Ao.getAttribute("href"):null}function EM(t){return new URL(t,document.baseURI).pathname}var IM=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Mf=new I(""),iD=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new v(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||t)(O(Mf),O(fe))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),hl=class{_doc;constructor(e){this._doc=e}manager},Tf="ng-app-id";function eD(t){for(let e of t)e.remove()}function tD(t,e){let n=e.createElement("style");return n.textContent=t,n}function SM(t,e,n){let r=t.head?.querySelectorAll(`style[${Tf}="${e}"]`);if(r)for(let i of r)i.textContent&&(i.removeAttribute(Tf),n.set(i.textContent,{usage:0,elements:[i]}))}function Af(t,e){let n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}var oD=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.isServer=ct(o),SM(n,r,this.inline),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,tD);r?.forEach(i=>this.addUsage(i,this.external,Af))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(eD(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])eD(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,tD(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Af(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Tf,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||t)(O(ae),O($a),O(Zd,8),O(ge))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Ef={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Nf=/%COMP%/g,sD="%COMP%",MM=`_nghost-${sD}`,TM=`_ngcontent-${sD}`,AM=!0,xM=new I("",{providedIn:"root",factory:()=>AM});function NM(t){return TM.replace(Nf,t)}function RM(t){return MM.replace(Nf,t)}function aD(t,e){return e.map(n=>n.replace(Nf,t))}var pl=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.platformIsServer=ct(a),this.defaultRenderer=new xo(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Gt.ShadowDom&&(r=j(D({},r),{encapsulation:Gt.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof gl?i.applyToHost(n):i instanceof No&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Gt.Emulated:o=new gl(l,c,r,this.appId,u,s,a,d);break;case Gt.ShadowDom:return new xf(l,c,n,r,s,a,this.nonce,d);default:o=new No(l,c,r,u,s,a,d);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(r){return new(r||t)(O(iD),O(oD),O($a),O(xM),O(ae),O(ge),O(fe),O(Zd))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),xo=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,n,r,i){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=i}destroy(){}destroyNode=null;createElement(e,n){return n?this.doc.createElementNS(Ef[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(nD(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(nD(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){n.remove()}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new v(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;let o=Ef[i];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let i=Ef[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(ln.DashCase|ln.Important)?e.style.setProperty(n,r,i&ln.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&ln.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=Dn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function nD(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var xf=class extends xo{sharedStylesHost;hostEl;shadowRoot;constructor(e,n,r,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=aD(i.id,i.styles);for(let d of c){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=d,this.shadowRoot.appendChild(h)}let u=i.getExternalStyles?.();if(u)for(let d of u){let h=Af(d,o);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(null,n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},No=class extends xo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,n,r,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=l?aD(l,r.styles):r.styles,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},gl=class extends No{contentAttr;hostAttr;constructor(e,n,r,i,o,s,a,l){let c=i+"-"+r.id;super(e,n,r,o,s,a,l,c),this.contentAttr=NM(c),this.hostAttr=RM(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},OM=(()=>{class t extends hl{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}static \u0275fac=function(r){return new(r||t)(O(ae))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),rD=["alt","control","meta","shift"],PM={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},FM={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},kM=(()=>{class t extends hl{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i){let o=t.parseEventName(r),s=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Dn().onAndCancel(n,o.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),rD.forEach(c=>{let u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,r.length!=0||o.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let i=PM[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),rD.forEach(s=>{if(s!==i){let a=FM[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||t)(O(ae))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();function lD(t,e){return Tv(D({rootComponent:t},LM(e)))}function LM(t){return{appProviders:[...$M,...t?.providers??[]],platformProviders:UM}}function VM(){Sf.makeCurrent()}function jM(){return new zt}function BM(){return ey(document),document}var UM=[{provide:ge,useValue:yf},{provide:Wd,useValue:VM,multi:!0},{provide:ae,useFactory:BM,deps:[]}];var $M=[{provide:Ra,useValue:"root"},{provide:zt,useFactory:jM,deps:[]},{provide:Mf,useClass:OM,multi:!0,deps:[ae,fe,ge]},{provide:Mf,useClass:kM,multi:!0,deps:[ae]},pl,oD,iD,{provide:Vn,useExisting:pl},{provide:yi,useClass:IM,deps:[]},[]];var cD=(()=>{class t{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||t)(O(ae))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Rf=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=O(HM),i},providedIn:"root"})}return t})(),HM=(()=>{class t extends Rf{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case xt.NONE:return r;case xt.HTML:return Mr(r,"HTML")?At(r):py(this._doc,String(r)).toString();case xt.STYLE:return Mr(r,"Style")?At(r):r;case xt.SCRIPT:if(Mr(r,"Script"))return At(r);throw new v(5200,!1);case xt.URL:return Mr(r,"URL")?At(r):Ga(String(r));case xt.RESOURCE_URL:if(Mr(r,"ResourceURL"))return At(r);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return iy(n)}bypassSecurityTrustStyle(n){return oy(n)}bypassSecurityTrustScript(n){return sy(n)}bypassSecurityTrustUrl(n){return ay(n)}bypassSecurityTrustResourceUrl(n){return ly(n)}static \u0275fac=function(r){return new(r||t)(O(ae))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Z=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(Z||{}),en="*";function uD(t,e=null){return{type:Z.Sequence,steps:t,options:e}}function Of(t){return{type:Z.Style,styles:t,offset:null}}var Wn=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,n=0){this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ro=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let n=0,r=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let n=e*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){let e=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},ml="!";function dD(t){return new v(3e3,!1)}function GM(){return new v(3100,!1)}function WM(){return new v(3101,!1)}function qM(t){return new v(3001,!1)}function ZM(t){return new v(3003,!1)}function YM(t){return new v(3004,!1)}function QM(t,e){return new v(3005,!1)}function KM(){return new v(3006,!1)}function XM(){return new v(3007,!1)}function JM(t,e){return new v(3008,!1)}function eT(t){return new v(3002,!1)}function tT(t,e,n,r,i){return new v(3010,!1)}function nT(){return new v(3011,!1)}function rT(){return new v(3012,!1)}function iT(){return new v(3200,!1)}function oT(){return new v(3202,!1)}function sT(){return new v(3013,!1)}function aT(t){return new v(3014,!1)}function lT(t){return new v(3015,!1)}function cT(t){return new v(3016,!1)}function uT(t,e){return new v(3404,!1)}function dT(t){return new v(3502,!1)}function fT(t){return new v(3503,!1)}function hT(){return new v(3300,!1)}function pT(t){return new v(3504,!1)}function gT(t){return new v(3301,!1)}function mT(t,e){return new v(3302,!1)}function yT(t){return new v(3303,!1)}function vT(t,e){return new v(3400,!1)}function DT(t){return new v(3401,!1)}function wT(t){return new v(3402,!1)}function bT(t,e){return new v(3505,!1)}function qn(t){switch(t.length){case 0:return new Wn;case 1:return t[0];default:return new Ro(t)}}function ID(t,e,n=new Map,r=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((h,p)=>{let m=p,y=h;if(p!=="offset")switch(m=t.normalizePropertyName(m,i),y){case ml:y=n.get(p);break;case en:y=r.get(p);break;default:y=t.normalizeStyleValue(p,m,y,i);break}d.set(m,y)}),u||o.push(d),a=d,s=c}),i.length)throw dT(i);return o}function th(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&Pf(n,"start",t)));break;case"done":t.onDone(()=>r(n&&Pf(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&Pf(n,"destroy",t)));break}}function Pf(t,e,n){let r=n.totalTime,i=!!n.disabled,o=nh(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,i),s=t._data;return s!=null&&(o._data=s),o}function nh(t,e,n,r,i="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function dt(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function fD(t){let e=t.indexOf(":"),n=t.substring(1,e),r=t.slice(e+1);return[n,r]}var _T=typeof document>"u"?null:document.documentElement;function rh(t){let e=t.parentNode||t.host||null;return e===_T?null:e}function CT(t){return t.substring(1,6)=="ebkit"}var Rr=null,hD=!1;function ET(t){Rr||(Rr=IT()||{},hD=Rr.style?"WebkitAppearance"in Rr.style:!1);let e=!0;return Rr.style&&!CT(t)&&(e=t in Rr.style,!e&&hD&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Rr.style)),e}function IT(){return typeof document<"u"?document.body:null}function SD(t,e){for(;e;){if(e===t)return!0;e=rh(e)}return!1}function MD(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var ih=(()=>{class t{validateStyleProperty(n){return ET(n)}containsElement(n,r){return SD(n,r)}getParentElement(n){return rh(n)}query(n,r,i){return MD(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,s,a=[],l){return new Wn(i,o)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Fr=class{static NOOP=new ih},kr=class{};var ST=1e3,TD="{{",MT="}}",AD="ng-enter",Bf="ng-leave",yl="ng-trigger",_l=".ng-trigger",pD="ng-animating",Uf=".ng-animating";function bn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:$f(parseFloat(e[1]),e[2])}function $f(t,e){switch(e){case"s":return t*ST;default:return t}}function Cl(t,e,n){return t.hasOwnProperty("duration")?t:TT(t,e,n)}function TT(t,e,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof t=="string"){let a=t.match(r);if(a===null)return e.push(dD(t)),{duration:0,delay:0,easing:""};i=$f(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=$f(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else i=t;if(!n){let a=!1,l=e.length;i<0&&(e.push(GM()),a=!0),o<0&&(e.push(WM()),a=!0),a&&e.splice(l,0,dD(t))}return{duration:i,delay:o,easing:s}}function AT(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function tn(t,e,n){e.forEach((r,i)=>{let o=oh(i);n&&!n.has(i)&&n.set(i,t.style[o]),t.style[o]=r})}function Pr(t,e){e.forEach((n,r)=>{let i=oh(r);t.style[i]=""})}function Oo(t){return Array.isArray(t)?t.length==1?t[0]:uD(t):t}function xT(t,e,n){let r=e.params||{},i=xD(t);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(qM(o))})}var Hf=new RegExp(`${TD}\\s*(.+?)\\s*${MT}`,"g");function xD(t){let e=[];if(typeof t=="string"){let n;for(;n=Hf.exec(t);)e.push(n[1]);Hf.lastIndex=0}return e}function Fo(t,e,n){let r=`${t}`,i=r.replace(Hf,(o,s)=>{let a=e[s];return a==null&&(n.push(ZM(s)),a=""),a.toString()});return i==r?t:i}var NT=/-+([a-z0-9])/g;function oh(t){return t.replace(NT,(...e)=>e[1].toUpperCase())}function RT(t,e){return t===0||e===0}function OT(t,e,n){if(n.size&&e.length){let r=e[0],i=[];if(n.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;os.set(a,sh(t,a)))}}return e}function ut(t,e,n){switch(e.type){case Z.Trigger:return t.visitTrigger(e,n);case Z.State:return t.visitState(e,n);case Z.Transition:return t.visitTransition(e,n);case Z.Sequence:return t.visitSequence(e,n);case Z.Group:return t.visitGroup(e,n);case Z.Animate:return t.visitAnimate(e,n);case Z.Keyframes:return t.visitKeyframes(e,n);case Z.Style:return t.visitStyle(e,n);case Z.Reference:return t.visitReference(e,n);case Z.AnimateChild:return t.visitAnimateChild(e,n);case Z.AnimateRef:return t.visitAnimateRef(e,n);case Z.Query:return t.visitQuery(e,n);case Z.Stagger:return t.visitStagger(e,n);default:throw YM(e.type)}}function sh(t,e){return window.getComputedStyle(t)[e]}var PT=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"]),El=class extends kr{normalizePropertyName(e,n){return oh(e)}normalizeStyleValue(e,n,r,i){let o="",s=r.toString().trim();if(PT.has(n)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(QM(e,r))}return s+o}};var Il="*";function FT(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>kT(r,n,e)):n.push(t),n}function kT(t,e,n){if(t[0]==":"){let l=LT(t,n);if(typeof l=="function"){e.push(l);return}t=l}let r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(lT(t)),e;let i=r[1],o=r[2],s=r[3];e.push(gD(i,s));let a=i==Il&&s==Il;o[0]=="<"&&!a&&e.push(gD(s,i))}function LT(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r) *"}}var vl=new Set(["true","1"]),Dl=new Set(["false","0"]);function gD(t,e){let n=vl.has(t)||Dl.has(t),r=vl.has(e)||Dl.has(e);return(i,o)=>{let s=t==Il||t==i,a=e==Il||e==o;return!s&&n&&typeof i=="boolean"&&(s=i?vl.has(t):Dl.has(t)),!a&&r&&typeof o=="boolean"&&(a=o?vl.has(e):Dl.has(e)),s&&a}}var ND=":self",VT=new RegExp(`s*${ND}s*,?`,"g");function RD(t,e,n,r){return new zf(t).build(e,n,r)}var mD="",zf=class{_driver;constructor(e){this._driver=e}build(e,n,r){let i=new Gf(n);return this._resetContextStyleTimingState(i),ut(this,Oo(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=mD,e.collectedStyles=new Map,e.collectedStyles.set(mD,new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&n.errors.push(KM()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==Z.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,n))}),l.name=c}else if(a.type==Z.Transition){let l=this.visitTransition(a,n);r+=l.queryCount,i+=l.depCount,s.push(l)}else n.errors.push(XM())}),{type:Z.Trigger,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(e,n){let r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){let o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{xD(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&n.errors.push(JM(e.name,[...o.values()]))}return{type:Z.State,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let r=ut(this,Oo(e.animation),n),i=FT(e.expr,n.errors);return{type:Z.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:Or(e.options)}}visitSequence(e,n){return{type:Z.Sequence,steps:e.steps.map(r=>ut(this,r,n)),options:Or(e.options)}}visitGroup(e,n){let r=n.currentTime,i=0,o=e.steps.map(s=>{n.currentTime=r;let a=ut(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:Z.Group,steps:o,options:Or(e.options)}}visitAnimate(e,n){let r=$T(e.timings,n.errors);n.currentAnimateTimings=r;let i,o=e.styles?e.styles:Of({});if(o.type==Z.Keyframes)i=this.visitKeyframes(o,n);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};r.easing&&(c.easing=r.easing),s=Of(c)}n.currentTime+=r.duration+r.delay;let l=this.visitStyle(s,n);l.isEmptyStep=a,i=l}return n.currentAnimateTimings=null,{type:Z.Animate,timings:r,style:i,options:null}}visitStyle(e,n){let r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){let r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===en?r.push(a):n.errors.push(eT(a)):r.push(new Map(Object.entries(a)));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(TD)>=0){o=!0;break}}}),{type:Z.Style,styles:r,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,n){let r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=n.collectedStyles.get(n.currentQuerySelector),u=c.get(l),d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(n.errors.push(tT(l,u.startTime,u.endTime,o,i)),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:i}),n.options&&xT(a,n.options,n.errors)})})}visitKeyframes(e,n){let r={type:Z.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(nT()),r;let i=1,o=0,s=[],a=!1,l=!1,c=0,u=e.steps.map(S=>{let F=this._makeStyleAst(S,n),P=F.offset!=null?F.offset:UT(F.styles),Q=0;return P!=null&&(o++,Q=F.offset=P),l=l||Q<0||Q>1,a=a||Q0&&o{let P=h>0?F==p?1:h*F:s[F],Q=P*w;n.currentTime=m+y.delay+Q,y.duration=Q,this._validateStyleAst(S,n),S.offset=P,r.styles.push(S)}),r}visitReference(e,n){return{type:Z.Reference,animation:ut(this,Oo(e.animation),n),options:Or(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:Z.AnimateChild,options:Or(e.options)}}visitAnimateRef(e,n){return{type:Z.AnimateRef,animation:this.visitReference(e.animation,n),options:Or(e.options)}}visitQuery(e,n){let r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;let[o,s]=jT(e.selector);n.currentQuerySelector=r.length?r+" "+o:o,dt(n.collectedStyles,n.currentQuerySelector,new Map);let a=ut(this,Oo(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:Z.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Or(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(sT());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Cl(e.timings,n.errors,!0);return{type:Z.Stagger,animation:ut(this,Oo(e.animation),n),timings:r,options:null}}};function jT(t){let e=!!t.split(/\s*,\s*/).find(n=>n==ND);return e&&(t=t.replace(VT,"")),t=t.replace(/@\*/g,_l).replace(/@\w+/g,n=>_l+"-"+n.slice(1)).replace(/:animating/g,Uf),[t,e]}function BT(t){return t?D({},t):null}var Gf=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function UT(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function $T(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Cl(t,e).duration;return Ff(o,0,"")}let n=t;if(n.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Ff(0,0,"");return o.dynamic=!0,o.strValue=n,o}let i=Cl(n,e);return Ff(i.duration,i.delay,i.easing)}function Or(t){return t?(t=D({},t),t.params&&(t.params=BT(t.params))):t={},t}function Ff(t,e,n){return{duration:t,delay:e,easing:n}}function ah(t,e,n,r,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var ko=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}},HT=1,zT=":enter",GT=new RegExp(zT,"g"),WT=":leave",qT=new RegExp(WT,"g");function OD(t,e,n,r,i,o=new Map,s=new Map,a,l,c=[]){return new Wf().buildKeyframes(t,e,n,r,i,o,s,a,l,c)}var Wf=class{buildKeyframes(e,n,r,i,o,s,a,l,c,u=[]){c=c||new ko;let d=new qf(e,n,c,i,o,u,[]);d.options=l;let h=l.delay?bn(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),ut(this,r,d);let p=d.timelines.filter(m=>m.containsAnimation());if(p.length&&a.size){let m;for(let y=p.length-1;y>=0;y--){let w=p[y];if(w.element===n){m=w;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,l)}return p.length?p.map(m=>m.buildKeyframes()):[ah(n,[],[],[],0,h,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let r=n.subInstructions.get(n.element);if(r){let i=n.createSubContext(e.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=e}visitAnimateRef(e,n){let r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,r),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,r){for(let i of e){let o=i?.delay;if(o){let s=typeof o=="number"?o:bn(Fo(o,i?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(e,n,r){let o=n.currentTimeline.currentTime,s=r.duration!=null?bn(r.duration):null,a=r.delay!=null?bn(r.delay):null;return s!==0&&e.forEach(l=>{let c=n.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,n){n.updateOptions(e.options,!0),ut(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let r=n.subContextCount,i=n,o=e.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==Z.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Sl);let s=bn(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>ut(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let r=[],i=n.currentTimeline.currentTime,o=e.options&&e.options.delay?bn(e.options.delay):0;e.steps.forEach(s=>{let a=n.createSubContext(e.options);o&&a.delayNextStep(o),ut(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){let r=e.strValue,i=n.params?Fo(r,n.params,n.errors):r;return Cl(i,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());let o=e.style;o.type==Z.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(o):r.setStyles(e.styles,o,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){let r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=e}visitQuery(e,n){let r=n.currentTimeline.currentTime,i=e.options||{},o=i.delay?bn(i.delay):0;o&&(n.previousNode.type===Z.Style||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Sl);let s=r,a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{n.currentQueryIndex=u;let d=n.createSubContext(e.options,c);o&&d.delayNextStep(o),c===n.element&&(l=d.currentTimeline),ut(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let h=d.currentTimeline.currentTime;s=Math.max(s,h)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let r=n.parentContext,i=n.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1),l=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime;break}let u=n.currentTimeline;l&&u.delayNextStep(l);let d=u.currentTime;ut(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}},Sl={},qf=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Sl;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,n,r,i,o,s,a,l){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new Ml(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let r=e,i=this.options;r.duration!=null&&(i.duration=bn(r.duration)),r.delay!=null&&(i.delay=bn(r.delay));let o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=Fo(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){let i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Sl,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){let i={duration:n??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},o=new Zf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(GT,"."+this._enterClassName),e=e.replace(qT,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,e,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!o&&a.length==0&&s.push(aT(n)),a}},Ml=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,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(e){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||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+=HT,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||en),this._currentKeyframe.set(n,en);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&this._previousKeyframe.set("easing",n);let o=i&&i.params||{},s=ZT(e,this._globalTimelineStyles);for(let[a,l]of s){let c=Fo(l,o,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??en),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{let i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((u,d)=>{u===ml?e.add(d):u===en&&n.add(d)}),r||c.set("offset",l/this.duration),i.push(c)});let o=[...e.values()],s=[...n.values()];if(r){let a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return ah(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},Zf=class extends Ml{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,n,r,i,o,s,a=!1){super(e,n,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){let o=[],s=r+n,a=n/s,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",yD(a)),o.push(c);let u=e.length-1;for(let d=1;d<=u;d++){let h=new Map(e[d]),p=h.get("offset"),m=n+p*r;h.set("offset",yD(m/s)),o.push(h)}r=s,n=0,i="",e=o}return ah(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}};function yD(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function ZT(t,e){let n=new Map,r;return t.forEach(i=>{if(i==="*"){r??=e.keys();for(let o of r)n.set(o,en)}else for(let[o,s]of i)n.set(o,s)}),n}function vD(t,e,n,r,i,o,s,a,l,c,u,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}var kf={},Tl=class{_triggerName;ast;_stateStyles;constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return YT(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(n,r):new Map}build(e,n,r,i,o,s,a,l,c,u){let d=[],h=this.ast.options&&this.ast.options.params||kf,p=a&&a.params||kf,m=this.buildStyles(r,p,d),y=l&&l.params||kf,w=this.buildStyles(i,y,d),S=new Set,F=new Map,P=new Map,Q=i==="void",ve={params:PD(y,h),delay:this.ast.options?.delay},J=u?[]:OD(e,n,this.ast.animation,o,s,m,w,ve,c,d),le=0;return J.forEach(Te=>{le=Math.max(Te.duration+Te.delay,le)}),d.length?vD(n,this._triggerName,r,i,Q,m,w,[],[],F,P,le,d):(J.forEach(Te=>{let rn=Te.element,Hr=dt(F,rn,new Set);Te.preStyleProps.forEach(tr=>Hr.add(tr));let gp=dt(P,rn,new Set);Te.postStyleProps.forEach(tr=>gp.add(tr)),rn!==n&&S.add(rn)}),vD(n,this._triggerName,r,i,Q,m,w,J,[...S.values()],F,P,le))}};function YT(t,e,n,r,i){return t.some(o=>o(e,n,r,i))}function PD(t,e){let n=D({},e);return Object.entries(t).forEach(([r,i])=>{i!=null&&(n[r]=i)}),n}var Yf=class{styles;defaultParams;normalizer;constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){let r=new Map,i=PD(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Fo(s,i,n));let l=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,l,s,n),r.set(a,s)})}),r}};function QT(t,e,n){return new Qf(t,e,n)}var Qf=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,n.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new Yf(i.style,o,r))}),DD(this.states,"true","1"),DD(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new Tl(e,i,this.states))}),this.fallbackTransition=KT(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(s=>s.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}};function KT(t,e,n){let r=[(s,a)=>!0],i={type:Z.Sequence,steps:[],options:null},o={type:Z.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new Tl(t,o,e)}function DD(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var XT=new ko,Kf=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r}register(e,n){let r=[],i=[],o=RD(this._driver,n,r,i);if(r.length)throw fT(r);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,n,r){let i=e.element,o=ID(this._normalizer,e.keyframes,n,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=OD(this._driver,n,o,AD,Bf,new Map,new Map,r,XT,i),s.forEach(u=>{let d=dt(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(i.push(hT()),s=[]),i.length)throw pT(i);a.forEach((u,d)=>{u.forEach((h,p)=>{u.set(p,this._driver.computeStyle(d,p,en))})});let l=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),c=qn(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw gT(e);return n}listen(e,n,r,i){let o=nh(n,"","","");return th(this._getPlayer(e),r,o,i),()=>{}}command(e,n,r,i){if(r=="register"){this.register(e,i[0]);return}if(r=="create"){let s=i[0]||{};this.create(e,n,s);return}let o=this._getPlayer(e);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},wD="ng-animate-queued",JT=".ng-animate-queued",Lf="ng-animate-disabled",eA=".ng-animate-disabled",tA="ng-star-inserted",nA=".ng-star-inserted",rA=[],FD={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},iA={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},kt="__ng_removed",Lo=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let r=e&&e.hasOwnProperty("value"),i=r?e.value:e;if(this.value=sA(i),r){let o=e,{value:s}=o,a=xc(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let r=this.options.params;Object.keys(n).forEach(i=>{r[i]==null&&(r[i]=n[i])})}}},Po="void",Vf=new Lo(Po),Xf=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this._hostClassName="ng-tns-"+e,wt(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.has(n))throw mT(r,n);if(r==null||r.length==0)throw yT(n);if(!aA(r))throw vT(r,n);let o=dt(this._elementListeners,e,[]),s={name:n,phase:r,callback:i};o.push(s);let a=dt(this._engine.statesByElement,e,new Map);return a.has(n)||(wt(e,yl),wt(e,yl+"-"+n),a.set(n,Vf)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw DT(e);return n}trigger(e,n,r,i=!0){let o=this._getTrigger(n),s=new Vo(this.id,n,e),a=this._engine.statesByElement.get(e);a||(wt(e,yl),wt(e,yl+"-"+n),this._engine.statesByElement.set(e,a=new Map));let l=a.get(n),c=new Lo(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(n,c),l||(l=Vf),!(c.value===Po)&&l.value===c.value){if(!uA(l.params,c.params)){let y=[],w=o.matchStyles(l.value,l.params,y),S=o.matchStyles(c.value,c.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{Pr(e,w),tn(e,S)})}return}let h=dt(this._engine.playersByElement,e,[]);h.forEach(y=>{y.namespaceId==this.id&&y.triggerName==n&&y.queued&&y.destroy()});let p=o.matchTransition(l.value,c.value,e,c.params),m=!1;if(!p){if(!i)return;p=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(wt(e,wD),s.onStart(()=>{vi(e,wD)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);let w=this._engine.playersByElement.get(e);if(w){let S=w.indexOf(s);S>=0&&w.splice(S,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let r=this._engine.driver.query(e,_l,!0);r.forEach(i=>{if(i[kt])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,Po,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,s),r&&qn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){let i=new Set;n.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let l=this._triggers.get(s).fallbackTransition,c=r.get(s)||Vf,u=new Lo(Po),d=new Vo(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,n){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){let o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{let o=e[kt];(!o||o===FD)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){wt(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){let l=nh(o,r.triggerName,r.fromState.value,r.toState.value);l._data=e,th(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{let o=r.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Jf=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,n)=>{};_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,r){this.bodyNode=e,this.driver=n,this._normalizer=r}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){let r=new Xf(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){let l=i.get(a);if(l){let c=r.indexOf(l);r.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(e)}else r.push(e);return i.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,r=this.statesByElement.get(e);if(r){for(let i of r.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}}return n}trigger(e,n,r,i){if(wl(n)){let o=this._fetchNamespace(e);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!wl(n))return;let o=n[kt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),wt(e,Lf)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),vi(e,Lf))}removeNode(e,n,r){if(wl(n)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(n,r):this.markElementAsRemoved(e,n,!1,r);let o=this.namespacesByHostElement.get(n);o&&o.id!==e&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(e,n,r,i,o){this.collectedLeaveElements.push(n),n[kt]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,n,r,i,o){return wl(n)?this._fetchNamespace(e).listen(n,r,i,o):()=>{}}_buildInstruction(e,n,r,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,o)}destroyInnerAnimations(e){let n=this.driver.query(e,_l,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,Uf,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return qn(this.players).onDone(()=>e());e()})}processLeaveNode(e){let n=e[kt];if(n&&n.setForRemoval){if(e[kt]=FD,n.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}e.classList?.contains(Lf)&&this.markElementAsDisabled(e,!1),this.driver.query(e,eA,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?qn(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw wT(e)}_flushAnimations(e,n){let r=new ko,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(M=>{u.add(M);let T=this.driver.query(M,JT,!0);for(let R=0;R{let R=AD+y++;m.set(T,R),M.forEach(K=>wt(K,R))});let w=[],S=new Set,F=new Set;for(let M=0;MS.add(K)):F.add(T))}let P=new Map,Q=CD(h,Array.from(S));Q.forEach((M,T)=>{let R=Bf+y++;P.set(T,R),M.forEach(K=>wt(K,R))}),e.push(()=>{p.forEach((M,T)=>{let R=m.get(T);M.forEach(K=>vi(K,R))}),Q.forEach((M,T)=>{let R=P.get(T);M.forEach(K=>vi(K,R))}),w.forEach(M=>{this.processLeaveNode(M)})});let ve=[],J=[];for(let M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(n).forEach(R=>{let K=R.player,Ae=R.element;if(ve.push(K),this.collectedEnterElements.length){let Fe=Ae[kt];if(Fe&&Fe.setForMove){if(Fe.previousTriggersValues&&Fe.previousTriggersValues.has(R.triggerName)){let nr=Fe.previousTriggersValues.get(R.triggerName),pt=this.statesByElement.get(R.element);if(pt&&pt.has(R.triggerName)){let ds=pt.get(R.triggerName);ds.value=nr,pt.set(R.triggerName,ds)}}K.destroy();return}}let jt=!d||!this.driver.containsElement(d,Ae),Je=P.get(Ae),En=m.get(Ae),he=this._buildInstruction(R,r,En,Je,jt);if(he.errors&&he.errors.length){J.push(he);return}if(jt){K.onStart(()=>Pr(Ae,he.fromStyles)),K.onDestroy(()=>tn(Ae,he.toStyles)),i.push(K);return}if(R.isFallbackTransition){K.onStart(()=>Pr(Ae,he.fromStyles)),K.onDestroy(()=>tn(Ae,he.toStyles)),i.push(K);return}let vp=[];he.timelines.forEach(Fe=>{Fe.stretchStartingKeyframe=!0,this.disabledNodes.has(Fe.element)||vp.push(Fe)}),he.timelines=vp,r.append(Ae,he.timelines);let ob={instruction:he,player:K,element:Ae};s.push(ob),he.queriedElements.forEach(Fe=>dt(a,Fe,[]).push(K)),he.preStyleProps.forEach((Fe,nr)=>{if(Fe.size){let pt=l.get(nr);pt||l.set(nr,pt=new Set),Fe.forEach((ds,Ac)=>pt.add(Ac))}}),he.postStyleProps.forEach((Fe,nr)=>{let pt=c.get(nr);pt||c.set(nr,pt=new Set),Fe.forEach((ds,Ac)=>pt.add(Ac))})});if(J.length){let M=[];J.forEach(T=>{M.push(bT(T.triggerName,T.errors))}),ve.forEach(T=>T.destroy()),this.reportError(M)}let le=new Map,Te=new Map;s.forEach(M=>{let T=M.element;r.has(T)&&(Te.set(T,T),this._beforeAnimationBuild(M.player.namespaceId,M.instruction,le))}),i.forEach(M=>{let T=M.element;this._getPreviousPlayers(T,!1,M.namespaceId,M.triggerName,null).forEach(K=>{dt(le,T,[]).push(K),K.destroy()})});let rn=w.filter(M=>ED(M,l,c)),Hr=new Map;_D(Hr,this.driver,F,c,en).forEach(M=>{ED(M,l,c)&&rn.push(M)});let tr=new Map;p.forEach((M,T)=>{_D(tr,this.driver,new Set(M),l,ml)}),rn.forEach(M=>{let T=Hr.get(M),R=tr.get(M);Hr.set(M,new Map([...T?.entries()??[],...R?.entries()??[]]))});let Tc=[],mp=[],yp={};s.forEach(M=>{let{element:T,player:R,instruction:K}=M;if(r.has(T)){if(u.has(T)){R.onDestroy(()=>tn(T,K.toStyles)),R.disabled=!0,R.overrideTotalTime(K.totalTime),i.push(R);return}let Ae=yp;if(Te.size>1){let Je=T,En=[];for(;Je=Je.parentNode;){let he=Te.get(Je);if(he){Ae=he;break}En.push(Je)}En.forEach(he=>Te.set(he,Ae))}let jt=this._buildAnimation(R.namespaceId,K,le,o,tr,Hr);if(R.setRealPlayer(jt),Ae===yp)Tc.push(R);else{let Je=this.playersByElement.get(Ae);Je&&Je.length&&(R.parentPlayer=qn(Je)),i.push(R)}}else Pr(T,K.fromStyles),R.onDestroy(()=>tn(T,K.toStyles)),mp.push(R),u.has(T)&&i.push(R)}),mp.forEach(M=>{let T=o.get(M.element);if(T&&T.length){let R=qn(T);M.setRealPlayer(R)}}),i.forEach(M=>{M.parentPlayer?M.syncPlayerEvents(M.parentPlayer):M.destroy()});for(let M=0;M!jt.destroyed);Ae.length?lA(this,T,Ae):this.processLeaveNode(T)}return w.length=0,Tc.forEach(M=>{this.players.push(M),M.onDone(()=>{M.destroy();let T=this.players.indexOf(M);this.players.splice(T,1)}),M.play()}),Tc}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,o){let s=[];if(n){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==Po;a.forEach(c=>{c.queued||!l&&c.triggerName!=i||s.push(c)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,n,r){let i=n.triggerName,o=n.element,s=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:i;for(let l of n.timelines){let c=l.element,u=c!==o,d=dt(r,c,[]);this._getPreviousPlayers(c,u,s,a,n.toState).forEach(p=>{let m=p.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),p.destroy(),d.push(p)})}Pr(o,n.fromStyles)}_buildAnimation(e,n,r,i,o,s){let a=n.triggerName,l=n.element,c=[],u=new Set,d=new Set,h=n.timelines.map(m=>{let y=m.element;u.add(y);let w=y[kt];if(w&&w.removedBeforeQueried)return new Wn(m.duration,m.delay);let S=y!==l,F=cA((r.get(y)||rA).map(le=>le.getRealPlayer())).filter(le=>{let Te=le;return Te.element?Te.element===y:!1}),P=o.get(y),Q=s.get(y),ve=ID(this._normalizer,m.keyframes,P,Q),J=this._buildPlayer(m,ve,F);if(m.subTimeline&&i&&d.add(y),S){let le=new Vo(e,a,y);le.setRealPlayer(J),c.push(le)}return J});c.forEach(m=>{dt(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>oA(this.playersByQueriedElement,m.element,m))}),u.forEach(m=>wt(m,pD));let p=qn(h);return p.onDestroy(()=>{u.forEach(m=>vi(m,pD)),tn(l,n.toStyles)}),d.forEach(m=>{dt(i,m,[]).push(p)}),p}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new Wn(e.duration,e.delay)}},Vo=class{namespaceId;triggerName;element;_player=new Wn;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>th(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){dt(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function oA(t,e,n){let r=t.get(e);if(r){if(r.length){let i=r.indexOf(n);r.splice(i,1)}r.length==0&&t.delete(e)}return r}function sA(t){return t??null}function wl(t){return t&&t.nodeType===1}function aA(t){return t=="start"||t=="done"}function bD(t,e){let n=t.style.display;return t.style.display=e??"none",n}function _D(t,e,n,r,i){let o=[];n.forEach(l=>o.push(bD(l)));let s=[];r.forEach((l,c)=>{let u=new Map;l.forEach(d=>{let h=e.computeStyle(c,d,i);u.set(d,h),(!h||h.length==0)&&(c[kt]=iA,s.push(c))}),t.set(c,u)});let a=0;return n.forEach(l=>bD(l,o[a++])),s}function CD(t,e){let n=new Map;if(t.forEach(a=>n.set(a,[])),e.length==0)return n;let r=1,i=new Set(e),o=new Map;function s(a){if(!a)return r;let l=o.get(a);if(l)return l;let c=a.parentNode;return n.has(c)?l=c:i.has(c)?l=r:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==r&&n.get(l).push(a)}),n}function wt(t,e){t.classList?.add(e)}function vi(t,e){t.classList?.remove(e)}function lA(t,e,n){qn(n).onDone(()=>t.processLeaveNode(e))}function cA(t){let e=[];return kD(t,e),e}function kD(t,e){for(let n=0;ni.add(o)):e.set(t,r),n.delete(t),!0}var Di=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,n)=>{};constructor(e,n,r){this._driver=n,this._normalizer=r,this._transitionEngine=new Jf(e.body,n,r),this._timelineEngine=new Kf(e.body,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,n,r,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let l=[],c=[],u=RD(this._driver,o,l,c);if(l.length)throw uT(i,l);c.length&&void 0,a=QT(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,i,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r){this._transitionEngine.removeNode(e,n,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if(r.charAt(0)=="@"){let[o,s]=fD(r),a=i;this._timelineEngine.command(o,n,s,a)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,o){if(r.charAt(0)=="@"){let[s,a]=fD(r);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(e,n,r,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function dA(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=jf(e[0]),e.length>1&&(r=jf(e[e.length-1]))):e instanceof Map&&(n=jf(e)),n||r?new fA(t,n,r):null}var fA=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(n,r,i){this._element=n,this._startStyles=r,this._endStyles=i;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&tn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tn(this._element,this._initialStyles),this._endStyles&&(tn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Pr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Pr(this._element,this._endStyles),this._endStyles=null),tn(this._element,this._initialStyles),this._state=3)}}return t})();function jf(t){let e=null;return t.forEach((n,r)=>{hA(r)&&(e=e||new Map,e.set(r,n))}),e}function hA(t){return t==="display"||t==="position"}var Al=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,n,r,i){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let n=[];return e.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(e,n,r){return e.animate(this._convertKeyframesToObject(n),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&e.set(i,this._finished?r:sh(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},xl=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,n){return SD(e,n)}getParentElement(e){return rh(e)}query(e,n,r){return MD(e,n,r)}computeStyle(e,n,r){return sh(e,n)}animate(e,n,r,i,o,s=[]){let a=i==0?"both":"forwards",l={duration:r,delay:i,fill:a};o&&(l.easing=o);let c=new Map,u=s.filter(p=>p instanceof Al);RT(r,i)&&u.forEach(p=>{p.currentSnapshot.forEach((m,y)=>c.set(y,m))});let d=AT(n).map(p=>new Map(p));d=OT(e,d,c);let h=dA(e,d);return new Al(e,d,l,h)}};var bl="@",LD="@.disabled",Nl=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,n,r,i){this.namespaceId=e,this.delegate=n,this.engine=r,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.parentNode(n)&&this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){n.charAt(0)==bl&&n==LD?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}},eh=class extends Nl{factory;constructor(e,n,r,i,o){super(n,r,i,o),this.factory=e,this.namespaceId=n}setProperty(e,n,r){n.charAt(0)==bl?n.charAt(1)=="."&&n==LD?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,n.slice(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if(n.charAt(0)==bl){let i=pA(e),o=n.slice(1),s="";return o.charAt(0)!=bl&&([o,s]=gA(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,r,a)})}return this.delegate.listen(e,n,r)}};function pA(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function gA(t){let e=t.indexOf("."),n=t.substring(0,e),r=t.slice(e+1);return[n,r]}var Rl=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,n.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(e,n){let r="",i=this.delegate.createRenderer(e,n);if(!e||!n?.data?.animation){let c=this._rendererCache,u=c.get(i);if(!u){let d=()=>c.delete(i);u=new Nl(r,i,this.engine,d),c.set(i,u)}return u}let o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return n.data.animation.forEach(a),new eh(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){if(e>=0&&en(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}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 yA=(()=>{class t extends Di{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||t)(O(ae),O(Fr),O(kr))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();function vA(){return new El}function DA(t,e,n){return new Rl(t,e,n)}var VD=[{provide:kr,useFactory:vA},{provide:Di,useClass:yA},{provide:Vn,useFactory:DA,deps:[pl,Di,fe]}],wA=[{provide:Fr,useFactory:()=>new xl},{provide:qd,useValue:"BrowserAnimations"},...VD],Fj=[{provide:Fr,useClass:ih},{provide:qd,useValue:"NoopAnimations"},...VD];function jD(){return st("NgEagerAnimations"),[...wA]}var $="primary",ts=Symbol("RouteTitle"),fh=class{params;constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Ii(t){return new fh(t)}function bA(t,e,n){let r=n.path.split("/");if(r.length>t.length||n.pathMatch==="full"&&(e.hasChildren()||r.lengthr[o]===i)}else return t===e}function ZD(t){return t.length>0?t[t.length-1]:null}function Yn(t){return Qc(t)?t:Ar(t)?oe(Promise.resolve(t)):A(t)}var CA={exact:QD,subset:KD},YD={exact:EA,subset:IA,ignored:()=>!0};function BD(t,e,n){return CA[n.paths](t.root,e.root,n.matrixParams)&&YD[n.queryParams](t.queryParams,e.queryParams)&&!(n.fragment==="exact"&&t.fragment!==e.fragment)}function EA(t,e){return nn(t,e)}function QD(t,e,n){if(!Vr(t.segments,e.segments)||!Fl(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let r in e.children)if(!t.children[r]||!QD(t.children[r],e.children[r],n))return!1;return!0}function IA(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>qD(t[n],e[n]))}function KD(t,e,n){return XD(t,e,e.segments,n)}function XD(t,e,n,r){if(t.segments.length>n.length){let i=t.segments.slice(0,n.length);return!(!Vr(i,n)||e.hasChildren()||!Fl(i,n,r))}else if(t.segments.length===n.length){if(!Vr(t.segments,n)||!Fl(t.segments,n,r))return!1;for(let i in e.children)if(!t.children[i]||!KD(t.children[i],e.children[i],r))return!1;return!0}else{let i=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!Vr(t.segments,i)||!Fl(t.segments,i,r)||!t.children[$]?!1:XD(t.children[$],e,o,r)}}function Fl(t,e,n){return e.every((r,i)=>YD[n](t[i].parameters,r.parameters))}var Cn=class{root;queryParams;fragment;_queryParamMap;constructor(e=new te([],{}),n={},r=null){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Ii(this.queryParams),this._queryParamMap}toString(){return TA.serialize(this)}},te=class{segments;children;parent=null;constructor(e,n){this.segments=e,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return kl(this)}},Lr=class{path;parameters;_parameterMap;constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap??=Ii(this.parameters),this._parameterMap}toString(){return ew(this)}};function SA(t,e){return Vr(t,e)&&t.every((n,r)=>nn(n.parameters,e[r].parameters))}function Vr(t,e){return t.length!==e.length?!1:t.every((n,r)=>n.path===e[r].path)}function MA(t,e){let n=[];return Object.entries(t.children).forEach(([r,i])=>{r===$&&(n=n.concat(e(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==$&&(n=n.concat(e(i,r)))}),n}var jh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>new Go,providedIn:"root"})}return t})(),Go=class{parse(e){let n=new gh(e);return new Cn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${jo(e.root,!0)}`,r=NA(e.queryParams),i=typeof e.fragment=="string"?`#${AA(e.fragment)}`:"";return`${n}${r}${i}`}},TA=new Go;function kl(t){return t.segments.map(e=>ew(e)).join("/")}function jo(t,e){if(!t.hasChildren())return kl(t);if(e){let n=t.children[$]?jo(t.children[$],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&r.push(`${i}:${jo(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=MA(t,(r,i)=>i===$?[jo(t.children[$],!1)]:[`${i}:${jo(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${kl(t)}/${n[0]}`:`${kl(t)}/(${n.join("//")})`}}function JD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ol(t){return JD(t).replace(/%3B/gi,";")}function AA(t){return encodeURI(t)}function ph(t){return JD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ll(t){return decodeURIComponent(t)}function UD(t){return Ll(t.replace(/\+/g,"%20"))}function ew(t){return`${ph(t.path)}${xA(t.parameters)}`}function xA(t){return Object.entries(t).map(([e,n])=>`;${ph(e)}=${ph(n)}`).join("")}function NA(t){let e=Object.entries(t).map(([n,r])=>Array.isArray(r)?r.map(i=>`${Ol(n)}=${Ol(i)}`).join("&"):`${Ol(n)}=${Ol(r)}`).filter(n=>n);return e.length?`?${e.join("&")}`:""}var RA=/^[^\/()?;#]+/;function lh(t){let e=t.match(RA);return e?e[0]:""}var OA=/^[^\/()?;=#]+/;function PA(t){let e=t.match(OA);return e?e[0]:""}var FA=/^[^=?&#]+/;function kA(t){let e=t.match(FA);return e?e[0]:""}var LA=/^[^&#]+/;function VA(t){let e=t.match(LA);return e?e[0]:""}var gh=class{url;remaining;constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new te([],{}):new te([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(r[$]=new te(e,n)),r}parseSegment(){let e=lh(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new Lr(Ll(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=PA(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=lh(this.remaining);i&&(r=i,this.capture(r))}e[Ll(n)]=Ll(r)}parseQueryParam(e){let n=kA(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=VA(this.remaining);s&&(r=s,this.capture(r))}let i=UD(n),o=UD(r);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=lh(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new v(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[$]:new te([],s),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new v(4011,!1)}};function tw(t){return t.segments.length>0?new te([],{[$]:t}):t}function nw(t){let e={};for(let[r,i]of Object.entries(t.children)){let o=nw(i);if(r===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[r]=o)}let n=new te(t.segments,e);return jA(n)}function jA(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new te(t.segments.concat(e.segments),e.children)}return t}function Wo(t){return t instanceof Cn}function BA(t,e,n=null,r=null){let i=rw(t);return iw(i,e,n,r)}function rw(t){let e;function n(o){let s={};for(let l of o.children){let c=n(l);s[l.outlet]=c}let a=new te(o.url,s);return o===t&&(e=a),a}let r=n(t.root),i=tw(r);return e??i}function iw(t,e,n,r){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return ch(i,i,i,n,r);let o=UA(e);if(o.toRoot())return ch(i,i,new te([],{}),n,r);let s=$A(o,i,t),a=s.processChildren?$o(s.segmentGroup,s.index,o.commands):sw(s.segmentGroup,s.index,o.commands);return ch(i,s.segmentGroup,a,n,r)}function Vl(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function qo(t){return typeof t=="object"&&t!=null&&t.outlets}function ch(t,e,n,r,i){let o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let s;t===e?s=n:s=ow(t,e,n);let a=tw(nw(s));return new Cn(a,o,i)}function ow(t,e,n){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===e?r[i]=n:r[i]=ow(o,e,n)}),new te(t.segments,r)}var jl=class{isAbsolute;numberOfDoubleDots;commands;constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&Vl(r[0]))throw new v(4003,!1);let i=r.find(qo);if(i&&i!==ZD(r))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function UA(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new jl(!0,0,t);let e=0,n=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?n=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new jl(n,e,r)}var _i=class{segmentGroup;processChildren;index;constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}};function $A(t,e,n){if(t.isAbsolute)return new _i(e,!0,0);if(!n)return new _i(e,!1,NaN);if(n.parent===null)return new _i(n,!0,0);let r=Vl(t.commands[0])?0:1,i=n.segments.length-1+r;return HA(n,i,t.numberOfDoubleDots)}function HA(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new v(4005,!1);i=r.segments.length}return new _i(r,!1,i-o)}function zA(t){return qo(t[0])?t[0].outlets:{[$]:t}}function sw(t,e,n){if(t??=new te([],{}),t.segments.length===0&&t.hasChildren())return $o(t,e,n);let r=GA(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=$o(t.children[$],e,n);return new te(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=sw(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new te(t.segments,i)}}function GA(t,e,n){let r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;let s=t.segments[i],a=n[r];if(qo(a))break;let l=`${a}`,c=r0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!HD(l,c,s))return o;r+=2}else{if(!HD(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function mh(t,e,n){let r=t.segments.slice(0,e),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(e[n]=mh(new te([],{}),0,r))}),e}function $D(t){let e={};return Object.entries(t).forEach(([n,r])=>e[n]=`${r}`),e}function HD(t,e,n){return t==n.path&&nn(e,n.parameters)}var Ho="imperative",Pe=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(Pe||{}),bt=class{id;url;constructor(e,n){this.id=e,this.url=n}},Zo=class extends bt{type=Pe.NavigationStart;navigationTrigger;restoredState;constructor(e,n,r="imperative",i=null){super(e,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},jr=class extends bt{urlAfterRedirects;type=Pe.NavigationEnd;constructor(e,n,r){super(e,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ht=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(ht||{}),yh=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(yh||{}),_n=class extends bt{reason;code;type=Pe.NavigationCancel;constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Br=class extends bt{reason;code;type=Pe.NavigationSkipped;constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i}},Yo=class extends bt{error;target;type=Pe.NavigationError;constructor(e,n,r,i){super(e,n),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Bl=class extends bt{urlAfterRedirects;state;type=Pe.RoutesRecognized;constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vh=class extends bt{urlAfterRedirects;state;type=Pe.GuardsCheckStart;constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dh=class extends bt{urlAfterRedirects;state;shouldActivate;type=Pe.GuardsCheckEnd;constructor(e,n,r,i,o){super(e,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},wh=class extends bt{urlAfterRedirects;state;type=Pe.ResolveStart;constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},bh=class extends bt{urlAfterRedirects;state;type=Pe.ResolveEnd;constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},_h=class{route;type=Pe.RouteConfigLoadStart;constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ch=class{route;type=Pe.RouteConfigLoadEnd;constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Eh=class{snapshot;type=Pe.ChildActivationStart;constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ih=class{snapshot;type=Pe.ChildActivationEnd;constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sh=class{snapshot;type=Pe.ActivationStart;constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mh=class{snapshot;type=Pe.ActivationEnd;constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Qo=class{},Si=class{url;navigationBehaviorOptions;constructor(e,n){this.url=e,this.navigationBehaviorOptions=n}};function qA(t,e){return t.providers&&!t._injector&&(t._injector=uf(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Lt(t){return t.outlet||$}function ZA(t,e){let n=t.filter(r=>Lt(r)===e);return n.push(...t.filter(r=>Lt(r)!==e)),n}function ns(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let n=e.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Th=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ns(this.route?.snapshot)??this.rootInjector}constructor(e){this.rootInjector=e,this.children=new ql(this.rootInjector)}},ql=(()=>{class t{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Th(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||t)(O(Ke))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ul=class{_root;constructor(e){this._root=e}get root(){return this._root.value}parent(e){let n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){let n=Ah(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){let n=Ah(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=xh(e,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return xh(e,this._root).map(n=>n.value)}};function Ah(t,e){if(t===e.value)return e;for(let n of e.children){let r=Ah(t,n);if(r)return r}return null}function xh(t,e){if(t===e.value)return[e];for(let n of e.children){let r=xh(t,n);if(r.length)return r.unshift(e),r}return[]}var ft=class{value;children;constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}};function bi(t){let e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}var $l=class extends Ul{snapshot;constructor(e,n){super(e),this.snapshot=n,Bh(this,e)}toString(){return this.snapshot.toString()}};function aw(t){let e=YA(t),n=new De([new Lr("",{})]),r=new De({}),i=new De({}),o=new De({}),s=new De(""),a=new Zn(n,r,o,s,i,$,t,e.root);return a.snapshot=e.root,new $l(new ft(a,[]),e)}function YA(t){let e={},n={},r={},i="",o=new Ci([],e,r,i,n,$,t,null,{});return new zl("",new ft(o,[]))}var Zn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(e,n,r,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(k(c=>c[ts]))??A(void 0),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(k(e=>Ii(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(k(e=>Ii(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Hl(t,e,n="emptyOnly"){let r,{routeConfig:i}=t;return e!==null&&(n==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?r={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),i?.data),t._resolvedData)}:r={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),t._resolvedData??{})},i&&cw(i)&&(r.resolve[ts]=i.title),r}var Ci=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ts]}constructor(e,n,r,i,o,s,a,l,c){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ii(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ii(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${n}')`}},zl=class extends Ul{url;constructor(e,n){super(n),this.url=e,Bh(this,n)}toString(){return lw(this._root)}};function Bh(t,e){e.value._routerState=t,e.children.forEach(n=>Bh(t,n))}function lw(t){let e=t.children.length>0?` { ${t.children.map(lw).join(", ")} } `:"";return`${t.value}${e}`}function uh(t){if(t.snapshot){let e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,nn(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),nn(e.params,n.params)||t.paramsSubject.next(n.params),_A(e.url,n.url)||t.urlSubject.next(n.url),nn(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Nh(t,e){let n=nn(t.params,e.params)&&SA(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||Nh(t.parent,e.parent))}function cw(t){return typeof t.title=="string"||t.title===null}var QA=new I(""),KA=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=$;activateEvents=new we;deactivateEvents=new we;attachEvents=new we;detachEvents=new we;routerOutletData=X(void 0);parentContexts=g(ql);location=g(xr);changeDetector=g(vt);inputBinder=g(Uh,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Rh(n,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=ye({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[dn]})}return t})(),Rh=class t{route;childContexts;parent;outletData;__ngOutletInjector(e){return new t(this.route,this.childContexts,e,this.outletData)}constructor(e,n,r,i){this.route=e,this.childContexts=n,this.parent=r,this.outletData=i}get(e,n){return e===Zn?this.route:e===ql?this.childContexts:e===QA?this.outletData:this.parent.get(e,n)}},Uh=new I("");function XA(t,e,n){let r=Ko(t,e._root,n?n._root:void 0);return new $l(r,e)}function Ko(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=e.value;let i=JA(t,e,n);return new ft(r,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Ko(t,a)),s}}let r=ex(e.value),i=e.children.map(o=>Ko(t,o));return new ft(r,i)}}function JA(t,e,n){return e.children.map(r=>{for(let i of n.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Ko(t,r,i);return Ko(t,r)})}function ex(t){return new Zn(new De(t.url),new De(t.params),new De(t.queryParams),new De(t.fragment),new De(t.data),t.outlet,t.component,t)}var Xo=class{redirectTo;navigationBehaviorOptions;constructor(e,n){this.redirectTo=e,this.navigationBehaviorOptions=n}},uw="ngNavigationCancelingError";function Gl(t,e){let{redirectTo:n,navigationBehaviorOptions:r}=Wo(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=dw(!1,ht.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function dw(t,e){let n=new Error(`NavigationCancelingError: ${t||""}`);return n[uw]=!0,n.cancellationCode=e,n}function tx(t){return fw(t)&&Wo(t.url)}function fw(t){return!!t&&t[uw]}var nx=(t,e,n,r)=>k(i=>(new Oh(e,i.targetRouterState,i.currentRouterState,n,r).activate(t),i)),Oh=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(e,n,r,i,o){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),uh(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){let i=bi(n);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(e,n,s.children)}else this.deactivateChildRoutes(e,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=bi(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=bi(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(e,n,r){let i=bi(n);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Mh(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Ih(e.value.snapshot))}activateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(uh(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(e,n,s.children)}else this.activateChildRoutes(e,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),uh(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,r)}},Wl=class{path;route;constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Ei=class{component;route;constructor(e,n){this.component=e,this.route=n}};function rx(t,e,n){let r=t._root,i=e?e._root:null;return Bo(r,i,n,[r.value])}function ix(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Ti(t,e){let n=Symbol(),r=e.get(t,n);return r===n?typeof t=="function"&&!Wg(t)?t:e.get(t):r}function Bo(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=bi(e);return t.children.forEach(s=>{ox(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>zo(a,n.getContext(s),i)),i}function ox(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=sx(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Wl(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Bo(t,e,a?a.children:null,r,i):Bo(t,e,n,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ei(a.outlet.component,s))}else s&&zo(e,a,i),i.canActivateChecks.push(new Wl(r)),o.component?Bo(t,null,a?a.children:null,r,i):Bo(t,null,n,r,i);return i}function sx(t,e,n){if(typeof n=="function")return n(t,e);switch(n){case"pathParamsChange":return!Vr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Vr(t.url,e.url)||!nn(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nh(t,e)||!nn(t.queryParams,e.queryParams);case"paramsChange":default:return!Nh(t,e)}}function zo(t,e,n){let r=bi(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?e?zo(s,e.children.getContext(o),n):zo(s,null,n):zo(s,e,n)}),i.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new Ei(e.outlet.component,i)):n.canDeactivateChecks.push(new Ei(null,i)):n.canDeactivateChecks.push(new Ei(null,i))}function rs(t){return typeof t=="function"}function ax(t){return typeof t=="boolean"}function lx(t){return t&&rs(t.canLoad)}function cx(t){return t&&rs(t.canActivate)}function ux(t){return t&&rs(t.canActivateChild)}function dx(t){return t&&rs(t.canDeactivate)}function fx(t){return t&&rs(t.canMatch)}function hw(t){return t instanceof Ct||t?.name==="EmptyError"}var Pl=Symbol("INITIAL_VALUE");function Mi(){return Re(t=>Bs(t.map(e=>e.pipe(nt(1),ou(Pl)))).pipe(k(e=>{for(let n of e)if(n!==!0){if(n===Pl)return Pl;if(n===!1||hx(n))return n}return!0}),Ce(e=>e!==Pl),nt(1)))}function hx(t){return Wo(t)||t instanceof Xo}function px(t,e){return pe(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?A(j(D({},n),{guardsResult:!0})):gx(s,r,i,t).pipe(pe(a=>a&&ax(a)?mx(r,o,t,e):A(a)),k(a=>j(D({},n),{guardsResult:a})))})}function gx(t,e,n,r){return oe(t).pipe(pe(i=>bx(i.component,i.route,n,e,r)),Bt(i=>i!==!0,!0))}function mx(t,e,n,r){return oe(e).pipe(Tn(i=>Mn(vx(i.route.parent,r),yx(i.route,r),wx(t,i.path,n),Dx(t,i.route,n))),Bt(i=>i!==!0,!0))}function yx(t,e){return t!==null&&e&&e(new Sh(t)),A(!0)}function vx(t,e){return t!==null&&e&&e(new Eh(t)),A(!0)}function Dx(t,e,n){let r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||r.length===0)return A(!0);let i=r.map(o=>Us(()=>{let s=ns(e)??n,a=Ti(o,s),l=cx(a)?a.canActivate(e,t):ot(s,()=>a(e,t));return Yn(l).pipe(Bt())}));return A(i).pipe(Mi())}function wx(t,e,n){let r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>ix(s)).filter(s=>s!==null).map(s=>Us(()=>{let a=s.guards.map(l=>{let c=ns(s.node)??n,u=Ti(l,c),d=ux(u)?u.canActivateChild(r,t):ot(c,()=>u(r,t));return Yn(d).pipe(Bt())});return A(a).pipe(Mi())}));return A(o).pipe(Mi())}function bx(t,e,n,r,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return A(!0);let s=o.map(a=>{let l=ns(e)??i,c=Ti(a,l),u=dx(c)?c.canDeactivate(t,e,n,r):ot(l,()=>c(t,e,n,r));return Yn(u).pipe(Bt())});return A(s).pipe(Mi())}function _x(t,e,n,r){let i=e.canLoad;if(i===void 0||i.length===0)return A(!0);let o=i.map(s=>{let a=Ti(s,t),l=lx(a)?a.canLoad(e,n):ot(t,()=>a(e,n));return Yn(l)});return A(o).pipe(Mi(),pw(r))}function pw(t){return Gc(de(e=>{if(typeof e!="boolean")throw Gl(t,e)}),k(e=>e===!0))}function Cx(t,e,n,r){let i=e.canMatch;if(!i||i.length===0)return A(!0);let o=i.map(s=>{let a=Ti(s,t),l=fx(a)?a.canMatch(e,n):ot(t,()=>a(e,n));return Yn(l)});return A(o).pipe(Mi(),pw(r))}var Jo=class{segmentGroup;constructor(e){this.segmentGroup=e||null}},es=class extends Error{urlTree;constructor(e){super(),this.urlTree=e}};function wi(t){return gt(new Jo(t))}function Ex(t){return gt(new v(4e3,!1))}function Ix(t){return gt(dw(!1,ht.GuardRejected))}var Ph=class{urlSerializer;urlTree;constructor(e,n){this.urlSerializer=e,this.urlTree=n}lineralizeSegments(e,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return A(r);if(i.numberOfChildren>1||!i.children[$])return Ex(`${e.redirectTo}`);i=i.children[$]}}applyRedirectCommands(e,n,r,i,o){if(typeof n!="string"){let a=n,{queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,params:p,data:m,title:y}=i,w=ot(o,()=>a({params:p,data:m,queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,title:y}));if(w instanceof Cn)throw new es(w);n=w}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,r);if(n[0]==="/")throw new es(s);return s}applyRedirectCreateUrlTree(e,n,r,i){let o=this.createSegmentGroup(e,n.root,r,i);return new Cn(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let r={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(e,n,r,i){let o=this.createSegments(e,n.segments,r,i),s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,r,i)}),new te(o,s)}createSegments(e,n,r,i){return n.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,r))}findPosParam(e,n,r){let i=r[n.path.substring(1)];if(!i)throw new v(4001,!1);return i}findOrReturn(e,n){let r=0;for(let i of n){if(i.path===e.path)return n.splice(r),i;r++}return e}},Fh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Sx(t,e,n,r,i){let o=gw(t,e,n);return o.matched?(r=qA(e,r),Cx(r,e,n,i).pipe(k(s=>s===!0?o:D({},Fh)))):A(o)}function gw(t,e,n){if(e.path==="**")return Mx(n);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||n.length>0)?D({},Fh):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(e.matcher||bA)(n,t,e);if(!i)return D({},Fh);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Mx(t){return{matched:!0,parameters:t.length>0?ZD(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function zD(t,e,n,r){return n.length>0&&xx(t,n,r)?{segmentGroup:new te(e,Ax(r,new te(n,t.children))),slicedSegments:[]}:n.length===0&&Nx(t,n,r)?{segmentGroup:new te(t.segments,Tx(t,n,r,t.children)),slicedSegments:n}:{segmentGroup:new te(t.segments,t.children),slicedSegments:n}}function Tx(t,e,n,r){let i={};for(let o of n)if(Zl(t,e,o)&&!r[Lt(o)]){let s=new te([],{});i[Lt(o)]=s}return D(D({},r),i)}function Ax(t,e){let n={};n[$]=e;for(let r of t)if(r.path===""&&Lt(r)!==$){let i=new te([],{});n[Lt(r)]=i}return n}function xx(t,e,n){return n.some(r=>Zl(t,e,r)&&Lt(r)!==$)}function Nx(t,e,n){return n.some(r=>Zl(t,e,r))}function Zl(t,e,n){return(t.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function Rx(t,e,n){return e.length===0&&!t.children[n]}var kh=class{};function Ox(t,e,n,r,i,o,s="emptyOnly"){return new Lh(t,e,n,r,i,s,o).recognize()}var Px=31,Lh=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(e,n,r,i,o,s,a){this.injector=e,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Ph(this.urlSerializer,this.urlTree)}noMatchError(e){return new v(4002,`'${e.segmentGroup}'`)}recognize(){let e=zD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(k(({children:n,rootSnapshot:r})=>{let i=new ft(r,n),o=new zl("",i),s=BA(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let n=new Ci([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),$,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,$,n).pipe(k(r=>({children:r,rootSnapshot:n})),tt(r=>{if(r instanceof es)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Jo?this.noMatchError(r):r}))}processSegmentGroup(e,n,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(e,n,r,o):this.processSegment(e,n,r,r.segments,i,!0,o).pipe(k(s=>s instanceof ft?[s]:[]))}processChildren(e,n,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return oe(o).pipe(Tn(s=>{let a=r.children[s],l=ZA(n,s);return this.processSegmentGroup(e,l,a,s,i)}),iu((s,a)=>(s.push(...a),s)),An(null),ru(),pe(s=>{if(s===null)return wi(r);let a=mw(s);return Fx(a),A(a)}))}processSegment(e,n,r,i,o,s,a){return oe(n).pipe(Tn(l=>this.processSegmentAgainstRoute(l._injector??e,n,l,r,i,o,s,a).pipe(tt(c=>{if(c instanceof Jo)return A(null);throw c}))),Bt(l=>!!l),tt(l=>{if(hw(l))return Rx(r,i,o)?A(new kh):wi(r);throw l}))}processSegmentAgainstRoute(e,n,r,i,o,s,a,l){return Lt(r)!==s&&(s===$||!Zl(i,o,r))?wi(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,r,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s,l):wi(i)}expandSegmentAgainstRouteUsingRedirect(e,n,r,i,o,s,a){let{matched:l,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=gw(n,i,o);if(!l)return wi(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Px&&(this.allowRedirects=!1));let p=new Ci(o,c,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,GD(i),Lt(i),i.component??i._loadedComponent??null,i,WD(i)),m=Hl(p,a,this.paramsInheritanceStrategy);p.params=Object.freeze(m.params),p.data=Object.freeze(m.data);let y=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,p,e);return this.applyRedirects.lineralizeSegments(i,y).pipe(pe(w=>this.processSegment(e,r,n,w.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,n,r,i,o,s){let a=Sx(n,r,i,e,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(Re(l=>l.matched?(e=r._injector??e,this.getChildConfig(e,r,i).pipe(Re(({routes:c})=>{let u=r._loadedInjector??e,{parameters:d,consumedSegments:h,remainingSegments:p}=l,m=new Ci(h,d,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,GD(r),Lt(r),r.component??r._loadedComponent??null,r,WD(r)),y=Hl(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(y.params),m.data=Object.freeze(y.data);let{segmentGroup:w,slicedSegments:S}=zD(n,h,p,c);if(S.length===0&&w.hasChildren())return this.processChildren(u,c,w,m).pipe(k(P=>new ft(m,P)));if(c.length===0&&S.length===0)return A(new ft(m,[]));let F=Lt(r)===o;return this.processSegment(u,c,w,S,F?$:o,!0,m).pipe(k(P=>new ft(m,P instanceof ft?[P]:[])))}))):wi(n)))}getChildConfig(e,n,r){return n.children?A({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?A({routes:n._loadedRoutes,injector:n._loadedInjector}):_x(e,n,r,this.urlSerializer).pipe(pe(i=>i?this.configLoader.loadChildren(e,n).pipe(de(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):Ix(n))):A({routes:[],injector:e})}};function Fx(t){t.sort((e,n)=>e.value.outlet===$?-1:n.value.outlet===$?1:e.value.outlet.localeCompare(n.value.outlet))}function kx(t){let e=t.value.routeConfig;return e&&e.path===""}function mw(t){let e=[],n=new Set;for(let r of t){if(!kx(r)){e.push(r);continue}let i=e.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):e.push(r)}for(let r of n){let i=mw(r.children);e.push(new ft(r.value,i))}return e.filter(r=>!n.has(r))}function GD(t){return t.data||{}}function WD(t){return t.resolve||{}}function Lx(t,e,n,r,i,o){return pe(s=>Ox(t,e,n,r,s.extractedUrl,i,o).pipe(k(({state:a,tree:l})=>j(D({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function Vx(t,e){return pe(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return A(n);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of yw(l))s.add(c);let a=0;return oe(s).pipe(Tn(l=>o.has(l)?jx(l,r,t,e):(l.data=Hl(l,l.parent,t).resolve,A(void 0))),de(()=>a++),ti(1),pe(l=>a===s.size?A(n):ke))})}function yw(t){let e=t.children.map(n=>yw(n)).flat();return[t,...e]}function jx(t,e,n,r){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!cw(i)&&(o[ts]=i.title),Bx(o,t,e,r).pipe(k(s=>(t._resolvedData=s,t.data=Hl(t,t.parent,n).resolve,null)))}function Bx(t,e,n,r){let i=hh(t);if(i.length===0)return A({});let o={};return oe(i).pipe(pe(s=>Ux(t[s],e,n,r).pipe(Bt(),de(a=>{if(a instanceof Xo)throw Gl(new Go,a);o[s]=a}))),ti(1),qi(o),tt(s=>hw(s)?ke:gt(s)))}function Ux(t,e,n,r){let i=ns(e)??r,o=Ti(t,i),s=o.resolve?o.resolve(e,n):ot(i,()=>o(e,n));return Yn(s)}function dh(t){return Re(e=>{let n=t(e);return n?oe(n).pipe(k(()=>e)):A(e)})}var vw=(()=>{class t{buildTitle(n){let r,i=n.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===$);return r}getResolvedTitleForRoute(n){return n.data[ts]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g($x),providedIn:"root"})}return t})(),$x=(()=>{class t extends vw{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(O(cD))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$h=new I("",{providedIn:"root",factory:()=>({})}),Hx=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=se({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(r,i){r&1&&U(0,"router-outlet")},dependencies:[KA],encapsulation:2})}return t})();function Hh(t){let e=t.children&&t.children.map(Hh),n=e?j(D({},t),{children:e}):D({},t);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==$&&(n.component=Hx),n}var zh=new I(""),zx=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(hf);loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return A(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Yn(n.loadComponent()).pipe(k(Dw),de(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),ur(()=>{this.componentLoaders.delete(n)})),i=new Kr(r,()=>new _e).pipe(Qr());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return A({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Gx(r,this.compiler,n,this.onLoadEndListener).pipe(ur(()=>{this.childrenLoaders.delete(r)})),s=new Kr(o,()=>new _e).pipe(Qr());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Gx(t,e,n,r){return Yn(t.loadChildren()).pipe(k(Dw),pe(i=>i instanceof ao||Array.isArray(i)?A(i):oe(e.compileModuleAsync(i))),k(i=>{r&&r(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(zh,[],{optional:!0,self:!0}).flat()),{routes:s.map(Hh),injector:o}}))}function Wx(t){return t&&typeof t=="object"&&"default"in t}function Dw(t){return Wx(t)?t.default:t}var Gh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(qx),providedIn:"root"})}return t})(),qx=(()=>{class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Zx=new I("");var Yx=new I(""),Qx=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new _e;transitionAbortSubject=new _e;configLoader=g(zx);environmentInjector=g(Ke);urlSerializer=g(jh);rootContexts=g(ql);location=g(Co);inputBindingEnabled=g(Uh,{optional:!0})!==null;titleStrategy=g(vw);options=g($h,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(Gh);createViewTransition=g(Zx,{optional:!0});navigationErrorHandler=g(Yx,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>A(void 0);rootComponentType=null;constructor(){let n=i=>this.events.next(new _h(i)),r=i=>this.events.next(new Ch(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(j(D(D({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,i){return this.transitions=new De({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Ho,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ce(o=>o.id!==0),k(o=>j(D({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Re(o=>{let s=!1,a=!1;return A(o).pipe(Re(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",ht.SupersededByNewNavigation),ke;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?j(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!c&&u!=="reload"){let d="";return this.events.next(new Br(l.id,this.urlSerializer.serialize(l.rawUrl),d,yh.IgnoredSameUrlNavigation)),l.resolve(!1),ke}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return A(l).pipe(Re(d=>{let h=this.transitions?.getValue();return this.events.next(new Zo(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?ke:Promise.resolve(d)}),Lx(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),de(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=j(D({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new Bl(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:d,extractedUrl:h,source:p,restoredState:m,extras:y}=l,w=new Zo(d,this.urlSerializer.serialize(h),p,m);this.events.next(w);let S=aw(this.rootComponentType).snapshot;return this.currentTransition=o=j(D({},l),{targetSnapshot:S,urlAfterRedirects:h,extras:j(D({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,A(o)}else{let d="";return this.events.next(new Br(l.id,this.urlSerializer.serialize(l.extractedUrl),d,yh.IgnoredByUrlHandlingStrategy)),l.resolve(!1),ke}}),de(l=>{let c=new vh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),k(l=>(this.currentTransition=o=j(D({},l),{guards:rx(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),o)),px(this.environmentInjector,l=>this.events.next(l)),de(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw Gl(this.urlSerializer,l.guardsResult);let c=new Dh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),Ce(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",ht.GuardRejected),!1)),dh(l=>{if(l.guards.canActivateChecks.length)return A(l).pipe(de(c=>{let u=new wh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Re(c=>{let u=!1;return A(c).pipe(Vx(this.paramsInheritanceStrategy,this.environmentInjector),de({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",ht.NoDataFromResolver)}}))}),de(c=>{let u=new bh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),dh(l=>{let c=u=>{let d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(de(h=>{u.component=h}),k(()=>{})));for(let h of u.children)d.push(...c(h));return d};return Bs(c(l.targetSnapshot.root)).pipe(An(null),nt(1))}),dh(()=>this.afterPreactivation()),Re(()=>{let{currentSnapshot:l,targetSnapshot:c}=o,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?oe(u).pipe(k(()=>o)):A(o)}),k(l=>{let c=XA(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o=j(D({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),de(()=>{this.events.next(new Qo)}),nx(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),nt(1),de({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new jr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Zi(this.transitionAbortSubject.pipe(de(l=>{throw l}))),ur(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",ht.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),tt(l=>{if(a=!0,fw(l))this.events.next(new _n(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),tx(l)?this.events.next(new Si(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{let c=new Yo(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{let u=ot(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof Xo){let{message:d,cancellationCode:h}=Gl(this.urlSerializer,u);this.events.next(new _n(o.id,this.urlSerializer.serialize(o.extractedUrl),d,h)),this.events.next(new Si(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),l}catch(u){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(u)}}return ke}))}))}cancelNavigationTransition(n,r,i){let o=new _n(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Kx(t){return t!==Ho}var Xx=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(Jx),providedIn:"root"})}return t})(),Vh=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},Jx=(()=>{class t extends Vh{static \u0275fac=(()=>{let n;return function(i){return(n||(n=Sr(t)))(i||t)}})();static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ww=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(eN),providedIn:"root"})}return t})(),eN=(()=>{class t extends ww{location=g(Co);urlSerializer=g(jh);options=g($h,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=g(Gh);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Cn;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=aw(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Zo)this.stateMemento=this.createStateMemento();else if(n instanceof Br)this.rawUrlTree=r.initialUrl;else if(n instanceof Bl){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else n instanceof Qo?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof _n&&(n.code===ht.GuardRejected||n.code===ht.NoDataFromResolver)?this.restoreHistory(r):n instanceof Yo?this.restoreHistory(r,!0):n instanceof jr&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let i=n instanceof Cn?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let o=this.browserPageId,s=D(D({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(i,"",s)}else{let o=D(D({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Sr(t)))(i||t)}})();static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Uo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Uo||{});function tN(t,e){t.events.pipe(Ce(n=>n instanceof jr||n instanceof _n||n instanceof Yo||n instanceof Br),k(n=>n instanceof jr||n instanceof Br?Uo.COMPLETE:(n instanceof _n?n.code===ht.Redirect||n.code===ht.SupersededByNewNavigation:!1)?Uo.REDIRECTING:Uo.FAILED),Ce(n=>n!==Uo.REDIRECTING),nt(1)).subscribe(()=>{e()})}var nN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ai=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(el);stateManager=g(ww);options=g($h,{optional:!0})||{};pendingTasks=g(hn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Qx);urlSerializer=g(jh);location=g(Co);urlHandlingStrategy=g(Gh);_events=new _e;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(Xx);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(zh,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(Uh,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new me;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof _n&&r.code!==ht.Redirect&&r.code!==ht.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof jr)this.navigated=!0;else if(r instanceof Si){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),l=D({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Kx(i.source)},s);this.scheduleNavigation(a,Ho,null,l,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}oN(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ho,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let l=D({},i);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Hh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=D(D({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let h=i?i.snapshot:this.routerState.snapshot.root;d=rw(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return iw(d,n,u,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){let i=Wo(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Ho,null,r)}navigate(n,r={skipLocationChange:!1}){return iN(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let i;if(r===!0?i=D({},nN):r===!1?i=D({},rN):i=r,Wo(n))return BD(this.currentUrlTree,n,i);let o=this.parseUrl(n);return BD(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.entries(n).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h});let u=this.pendingTasks.add();return tN(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function iN(t){for(let e=0;en.\u0275providers)])}function aN(t){return t.routerState.root}function lN(){let t=g(it);return e=>{let n=t.get(Un);if(e!==n.components[0])return;let r=t.get(Ai),i=t.get(cN);t.get(uN)===1&&r.initialNavigation(),t.get(dN,null,q.Optional)?.setUpPreloading(),t.get(sN,null,q.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var cN=new I("",{factory:()=>new _e}),uN=new I("",{providedIn:"root",factory:()=>1});var dN=new I("");var Yl=new I("DOMAIN");var Ur=class t{constructor(){this.domain=g(Yl);this.http=g(Cf);this.platformId=g(ge);this.transferState=g(Ha)}getData(e,n,r){if(r){let o=this.transferState.hasKey(r),s=this.transferState.get(r,n);if(o)return A(s)}let i=Eo(this.platformId)?this.domain[1]:this.domain[0];return this.http.get(e.startsWith("http")?e:`${i}/${e}`).pipe(de(o=>{r&&this.transferState.set(r,o)}),tt(()=>(r&&this.transferState.set(r,n),A(n))))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}};var xi=class t{constructor(){this.http=g(Ur);this.platformId=g(ge)}getAllStars(){return ct(this.platformId)?A(0):this.http.getData("https://api.github.com/users/JsDaddy/repos",[],"all-stars").pipe(Gi(),Jc((e,{stargazers_count:n})=>e+n,0))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}};var Ql=new I("HIGHLIGHT_OPTIONS");var Ni=function(t){return t.FULL_WITH_CORE_LIBRARY_IMPORTS="The full library and the core library were imported, only one of them should be imported!",t.FULL_WITH_LANGUAGE_IMPORTS="The highlighting languages were imported they are not needed!",t.CORE_WITHOUT_LANGUAGE_IMPORTS="The highlighting languages were not imported!",t.LANGUAGE_WITHOUT_CORE_IMPORTS="The core library was not imported!",t.NO_FULL_AND_NO_CORE_IMPORTS="Highlight.js library was not imported!",t}(Ni||{}),fN=(()=>{class t{constructor(){this.document=g(ae),this.isPlatformBrowser=Eo(g(ge)),this.options=g(Ql,{optional:!0}),this._ready=new De(null),this.ready=Kc(this._ready.asObservable().pipe(Ce(n=>!!n))),this.isPlatformBrowser&&(this.document.defaultView.hljs?this._ready.next(this.document.defaultView.hljs):this._loadLibrary().pipe(Re(n=>this.options?.lineNumbersLoader?(this.document.defaultView.hljs=n,this.loadLineNumbers().pipe(de(r=>{r.activateLineNumbers(),this._ready.next(n)}))):(this._ready.next(n),ke)),tt(n=>(console.error("[HLJS] ",n),this._ready.error(n),ke))).subscribe(),this.options?.themePath&&this.loadTheme(this.options.themePath))}_loadLibrary(){if(this.options){if(this.options.fullLibraryLoader&&this.options.coreLibraryLoader)return gt(()=>Ni.FULL_WITH_CORE_LIBRARY_IMPORTS);if(this.options.fullLibraryLoader&&this.options.languages)return gt(()=>Ni.FULL_WITH_LANGUAGE_IMPORTS);if(this.options.coreLibraryLoader&&!this.options.languages)return gt(()=>Ni.CORE_WITHOUT_LANGUAGE_IMPORTS);if(!this.options.coreLibraryLoader&&this.options.languages)return gt(()=>Ni.LANGUAGE_WITHOUT_CORE_IMPORTS);if(this.options.fullLibraryLoader)return this.loadFullLibrary();if(this.options.coreLibraryLoader&&this.options.languages&&Object.keys(this.options.languages).length)return this.loadCoreLibrary().pipe(Re(n=>this._loadLanguages(n)))}return gt(()=>Ni.NO_FULL_AND_NO_CORE_IMPORTS)}_loadLanguages(n){let r=Object.entries(this.options.languages).map(([i,o])=>Wh(o()).pipe(de(s=>n.registerLanguage(i,s))));return Wi(r).pipe(k(()=>n))}loadCoreLibrary(){return Wh(this.options.coreLibraryLoader())}loadFullLibrary(){return Wh(this.options.fullLibraryLoader())}loadLineNumbers(){return oe(this.options.lineNumbersLoader())}setTheme(n){this.isPlatformBrowser&&(this._themeLinkElement?this._themeLinkElement.href=n:this.loadTheme(n))}loadTheme(n){this._themeLinkElement=this.document.createElement("link"),this._themeLinkElement.href=n,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.document.head.appendChild(this._themeLinkElement)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Wh=t=>oe(t).pipe(Ce(e=>!!e?.default),k(e=>e.default)),hN=(()=>{class t{constructor(){this.loader=g(fN),this.options=g(Ql,{optional:!0}),this.hljsSignal=qe(null),this.hljs=vn(()=>this.hljsSignal()),this.loader.ready.then(n=>{this.hljsSignal.set(n),this.options?.highlightOptions&&n.configure(this.options.highlightOptions)})}async highlight(n,r){return(await this.loader.ready).highlight(n,r)}async highlightAuto(n,r){return(await this.loader.ready).highlightAuto(n,r)}async highlightElement(n){(await this.loader.ready).highlightElement(n)}async highlightAll(){(await this.loader.ready).highlightAll()}async configure(n){(await this.loader.ready).configure(n)}async registerLanguage(n,r){(await this.loader.ready).registerLanguage(n,r)}async unregisterLanguage(n){(await this.loader.ready).unregisterLanguage(n)}async registerAliases(n,{languageName:r}){(await this.loader.ready).registerAliases(n,{languageName:r})}async listLanguages(){return(await this.loader.ready).listLanguages()}async getLanguage(n){return(await this.loader.ready).getLanguage(n)}async safeMode(){(await this.loader.ready).safeMode()}async debugMode(){(await this.loader.ready).debugMode()}async lineNumbersBlock(n,r){let i=await this.loader.ready;i.lineNumbersBlock&&i.lineNumbersBlock(n,r)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),qh;function pN(){if(!qh)try{qh=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:t=>t})}catch{}return qh}function gN(t){return pN()?.createHTML(t)||t}var _w=(()=>{class t{constructor(){this._hljs=g(hN),this._nativeElement=g(ce).nativeElement,this._sanitizer=g(Rf),this._platform=g(ge),Eo(this._platform)&&(Ft(()=>{let n=this.code();this.setTextContent(n||""),n&&this.highlightElement(n)}),Ft(()=>{let n=this.highlightResult();this.setInnerHTML(n?.value),this.highlighted.emit(n)}))}setTextContent(n){requestAnimationFrame(()=>this._nativeElement.textContent=n)}setInnerHTML(n){requestAnimationFrame(()=>this._nativeElement.innerHTML=gN(this._sanitizer.sanitize(xt.HTML,n)||""))}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275dir=ye({type:t,standalone:!1})}}return t})(),Cw=(()=>{class t extends _w{constructor(){super(...arguments),this.code=X(null,{alias:"highlight"}),this.highlightResult=qe(null),this.highlighted=new we}async highlightElement(n){let r=await this._hljs.highlight(n,{language:this.language,ignoreIllegals:this.ignoreIllegals});this.highlightResult.set(r)}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Sr(t)))(i||t)}})()}static{this.\u0275dir=ye({type:t,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(r,i){r&2&&Xt("hljs",!0)},inputs:{code:[1,"highlight","code"],language:"language",ignoreIllegals:[2,"ignoreIllegals","ignoreIllegals",yn]},outputs:{highlighted:"highlighted"},features:[Me([{provide:_w,useExisting:t}]),vo,Nt]})}}return t})();var Ew=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=Qt({type:t})}static{this.\u0275inj=qt({})}}return t})();var Kl=new I("config"),Zh=new I("NEW_CONFIG"),Yh=new I("INITIAL_CONFIG"),Iw={img:"data:image/svg+xml;base64,PHN2ZyBjbGFzcz0ibGRzLXNwaW5uZXIiIHdpZHRoPSIzOXB4IiAgaGVpZ2h0PSIzOXB4IiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIiBzdHlsZT0iYmFja2dyb3VuZDogbm9uZTsiPjxnIHRyYW5zZm9ybT0icm90YXRlKDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9Ii0zLjUiIHJ4PSIwLjk1MDAwMDAwMDAwMDAwMDEiIHJ5PSItMC4wNyIgd2lkdGg9IjUiIGhlaWdodD0iMjciIGZpbGw9IiNGOTc3NTYiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49Ii0wLjkxNjY2NjY2NjY2NjY2NjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMCA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iLTMuNSIgcng9IjAuOTUwMDAwMDAwMDAwMDAwMSIgcnk9Ii0wLjA3IiB3aWR0aD0iNSIgaGVpZ2h0PSIyNyIgZmlsbD0iI0Y5Nzc1NiI+ICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBkdXI9IjFzIiBiZWdpbj0iLTAuODMzMzMzMzMzMzMzMzMzNHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDYwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC43NXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDkwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC42NjY2NjY2NjY2NjY2NjY2cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC41ODMzMzMzMzMzMzMzMzM0cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTUwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC41cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTgwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC40MTY2NjY2NjY2NjY2NjY3cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMjEwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC4zMzMzMzMzMzMzMzMzMzMzcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMjQwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC4yNXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDI3MCA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iLTMuNSIgcng9IjAuOTUwMDAwMDAwMDAwMDAwMSIgcnk9Ii0wLjA3IiB3aWR0aD0iNSIgaGVpZ2h0PSIyNyIgZmlsbD0iI0Y5Nzc1NiI+ICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBkdXI9IjFzIiBiZWdpbj0iLTAuMTY2NjY2NjY2NjY2NjY2NjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9Ii0zLjUiIHJ4PSIwLjk1MDAwMDAwMDAwMDAwMDEiIHJ5PSItMC4wNyIgd2lkdGg9IjUiIGhlaWdodD0iMjciIGZpbGw9IiNGOTc3NTYiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49Ii0wLjA4MzMzMzMzMzMzMzMzMzMzcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMzMwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSIwcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PC9zdmc+",loaderStyles:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",background:"rgba(255, 255, 255, 0.8)","z-index":"50",display:"flex","justify-content":"center","align-items":"center"},imgStyles:{width:"30px"},hostStyles:{position:"relative"},rotate:{iterations:1/0}};var Ri=class t{constructor(){this._config=g(Kl);this._el=g(ce);this._renderer=g(gn);this.ngxLoaderIndicator=X(!1);Ft(()=>{this.processValue(this.ngxLoaderIndicator())})}processValue(e){if(!e){this.loaderEl instanceof HTMLDivElement&&this._setStyles(this.loaderEl,{display:"none"});return}let{rotate:n,hostStyles:r,loaderStyles:i,imgStyles:o,img:s}=this._config;this.loaderEl=this._renderer.createElement("div");let a=this._renderer.createElement("img");a.animate([{transform:"rotate(360deg)"},{transform:"rotate(0deg)"}],n),this._renderer.appendChild(this._el.nativeElement,this.loaderEl),this._renderer.appendChild(this.loaderEl,a),this._setStyles(this._el.nativeElement,r),this._setStyles(this.loaderEl,i),this._setStyles(a,o),s&&this._renderer.setAttribute(a,"src",s)}_setStyles(e,n){n&&Object.keys(n).forEach(r=>{this._renderer.setStyle(e,r,n[r])})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=ye({type:t,selectors:[["","ngxLoaderIndicator",""]],inputs:{ngxLoaderIndicator:[1,"ngxLoaderIndicator"]}})}};function yN(t,e){let n=e.loaderStyles??null,r=e.imgStyles??null,i=e.rotate??null;return j(D(D({},t),e),{loaderStyles:D(D({},t.loaderStyles),n),imgStyles:D(D({},t.imgStyles),r),rotate:D(D({},t.rotate),i)})}function Qh(t){return[{provide:Zh,useValue:t},{provide:Yh,useValue:Iw},{provide:Kl,useFactory:yN,deps:[Yh,Zh]}]}function Sw(t){return jn(Qh(t))}var Xl=class t{transform(e){return e?"block":"hidden"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Kt({name:"hide",type:t,pure:!0})}};var Xe=class t{transform(e,n="",r=!1){return e?n?`assets/images/${n}/${e}.${r?"webp":"svg"}`:`assets/images/${e}.svg`:""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Kt({name:"asset",type:t,pure:!0})}};var Qn=class t{transform(e){return`Navigate to ${e??""}`}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Kt({name:"anchorLabel",type:t,pure:!0})}};var Oi=class t{constructor(){this.jsDaddyWebsite="https://jsdaddy.io/";this.openSourceVisitBtnPath="open-source/visit-btn"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-visit-btn"]],decls:13,vars:8,consts:[["target","_self",3,"href"],[1,"flex","items-center","justify-between","bg-yellow","text-text","flex-row","py-15px","px-[32px]","w-full","h-[45px]","rounded-10px"],["width","20","height","20","alt","Chevron button",3,"ngSrc"]],template:function(n,r){n&1&&(b(0,"a",0),re(1,"anchorLabel"),f(2,` +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=n.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let i=(e.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let o=e.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(e,n){let r=e.toLowerCase();this.maybeSetNormalizedName(e,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var Df=class{encodeKey(e){return Hv(e)}encodeValue(e){return Hv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function eM(t,e){let n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}var tM=/%(\d[a-f0-9])/gi,nM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Hv(t){return encodeURIComponent(t).replace(tM,(e,n)=>nM[n]??e)}function cl(t){return`${t}`}var zn=class t{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new Df,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=eM(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let r=e.fromObject[n],i=Array.isArray(r)?r.map(cl):[cl(r)];this.map.set(n,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(r=>{let i=e[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(cl(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let r=this.map.get(e.param)||[],i=r.indexOf(cl(e.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var wf=class{map=new Map;set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function rM(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function zv(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Gv(t){return typeof Blob<"u"&&t instanceof Blob}function Wv(t){return typeof FormData<"u"&&t instanceof FormData}function iM(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Io=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(e,n,r,i){this.url=n,this.method=e.toUpperCase();let o;if(rM(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new wn,this.context??=new wf,!this.params)this.params=new zn,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),l=a===-1?"?":ah.set(p,e.setHeaders[p]),c)),e.setParams&&(u=Object.keys(e.setParams).reduce((h,p)=>h.set(p,e.setParams[p]),u)),new t(n,r,s,{params:u,headers:c,context:d,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},Gn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Gn||{}),Mo=class{headers;status;statusText;url;ok;type;constructor(e,n=200,r="OK"){this.headers=e.headers||new wn,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},dl=class t extends Mo{constructor(e={}){super(e)}type=Gn.ResponseHeader;clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},To=class t extends Mo{body;constructor(e={}){super(e),this.body=e.body!==void 0?e.body:null}type=Gn.Response;clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Hn=class extends Mo{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Qv=200,oM=204;function vf(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Cf=(()=>{class t{handler;constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof Io)o=n;else{let l;i.headers instanceof wn?l=i.headers:l=new wn(i.headers);let c;i.params&&(i.params instanceof zn?c=i.params:c=new zn({fromObject:i.params})),o=new Io(n,r,i.body!==void 0?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=A(o).pipe(Tn(l=>this.handler.handle(l)));if(n instanceof Io||i.observe==="events")return s;let a=s.pipe(Ce(l=>l instanceof To));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(k(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(k(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new zn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,vf(i,r))}post(n,r,i={}){return this.request("POST",n,vf(i,r))}put(n,r,i={}){return this.request("PUT",n,vf(i,r))}static \u0275fac=function(r){return new(r||t)(O(So))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),sM=/^\)\]\}',?\n/,aM="X-Request-URL";function qv(t){if(t.url)return t.url;let e=aM.toLocaleLowerCase();return t.headers.get(e)}var lM=(()=>{class t{fetchImpl=g(bf,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=g(fe);handle(n){return new H(r=>{let i=new AbortController;return this.doRequest(n,i.signal,r).then(_f,o=>r.error(new Hn({error:o}))),()=>i.abort()})}async doRequest(n,r,i){let o=this.createRequestInit(n),s;try{let p=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,D({signal:r},o)));cM(p),i.next({type:Gn.Sent}),s=await p}catch(p){i.error(new Hn({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}));return}let a=new wn(s.headers),l=s.statusText,c=qv(s)??n.urlWithParams,u=s.status,d=null;if(n.reportProgress&&i.next(new dl({headers:a,status:u,statusText:l,url:c})),s.body){let p=s.headers.get("content-length"),m=[],y=s.body.getReader(),w=0,S,F,P=typeof Zone<"u"&&Zone.current;await this.ngZone.runOutsideAngular(async()=>{for(;;){let{done:ve,value:J}=await y.read();if(ve)break;if(m.push(J),w+=J.length,n.reportProgress){F=n.responseType==="text"?(F??"")+(S??=new TextDecoder).decode(J,{stream:!0}):void 0;let le=()=>i.next({type:Gn.DownloadProgress,total:p?+p:void 0,loaded:w,partialText:F});P?P.run(le):le()}}});let Q=this.concatChunks(m,w);try{let ve=s.headers.get("Content-Type")??"";d=this.parseBody(n,Q,ve)}catch(ve){i.error(new Hn({error:ve,headers:new wn(s.headers),status:s.status,statusText:s.statusText,url:qv(s)??n.urlWithParams}));return}}u===0&&(u=d?Qv:0),u>=200&&u<300?(i.next(new To({body:d,headers:a,status:u,statusText:l,url:c})),i.complete()):i.error(new Hn({error:d,headers:a,status:u,statusText:l,url:c}))}parseBody(n,r,i){switch(n.responseType){case"json":let o=new TextDecoder().decode(r).replace(sM,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((o,s)=>r[o]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let o=n.detectContentTypeHeader();o!==null&&(r["Content-Type"]=o)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:i}}concatChunks(n,r){let i=new Uint8Array(r),o=0;for(let s of n)i.set(s,o),o+=s.length;return i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),bf=class{};function _f(){}function cM(t){t.then(_f,_f)}function uM(t,e){return e(t)}function dM(t,e,n){return(r,i)=>ot(n,()=>e(r,o=>t(o,i)))}var Kv=new I(""),fM=new I(""),hM=new I("",{providedIn:"root",factory:()=>!0});var Zv=(()=>{class t extends So{backend;injector;chain=null;pendingTasks=g(hn);contributeToStability=g(hM);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Kv),...this.injector.get(fM,[])]));this.chain=r.reduceRight((i,o)=>dM(i,o,this.injector),uM)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(ur(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(O(ul),O(Ke))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();var pM=/^\)\]\}',?\n/;function gM(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Yv=(()=>{class t{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?oe(r.\u0275loadImpl()):A(null)).pipe(Re(()=>new H(o=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,w)=>s.setRequestHeader(y,w.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader("Content-Type",y)}if(n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),l=null,c=()=>{if(l!==null)return l;let y=s.statusText||"OK",w=new wn(s.getAllResponseHeaders()),S=gM(s)||n.url;return l=new dl({headers:w,status:s.status,statusText:y,url:S}),l},u=()=>{let{headers:y,status:w,statusText:S,url:F}=c(),P=null;w!==oM&&(P=typeof s.response>"u"?s.responseText:s.response),w===0&&(w=P?Qv:0);let Q=w>=200&&w<300;if(n.responseType==="json"&&typeof P=="string"){let ve=P;P=P.replace(pM,"");try{P=P!==""?JSON.parse(P):null}catch(J){P=ve,Q&&(Q=!1,P={error:J,text:P})}}Q?(o.next(new To({body:P,headers:y,status:w,statusText:S,url:F||void 0})),o.complete()):o.error(new Hn({error:P,headers:y,status:w,statusText:S,url:F||void 0}))},d=y=>{let{url:w}=c(),S=new Hn({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:w||void 0});o.error(S)},h=!1,p=y=>{h||(o.next(c()),h=!0);let w={type:Gn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),n.responseType==="text"&&s.responseText&&(w.partialText=s.responseText),o.next(w)},m=y=>{let w={type:Gn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),o.next(w)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",p),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),o.next({type:Gn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",p),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(O(yi))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Xv=new I(""),mM="XSRF-TOKEN",yM=new I("",{providedIn:"root",factory:()=>mM}),vM="X-XSRF-TOKEN",DM=new I("",{providedIn:"root",factory:()=>vM}),fl=class{},wM=(()=>{class t{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ll(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||t)(O(ae),O(ge),O(yM))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();function bM(t,e){let n=t.url.toLowerCase();if(!g(Xv)||t.method==="GET"||t.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(t);let r=g(fl).getToken(),i=g(DM);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),e(t)}function Jv(...t){let e=[Cf,Yv,Zv,{provide:So,useExisting:Zv},{provide:ul,useFactory:()=>g(lM,{optional:!0})??g(Yv)},{provide:Kv,useValue:bM,multi:!0},{provide:Xv,useValue:!0},{provide:fl,useClass:wM}];for(let n of t)e.push(...n.\u0275providers);return jn(e)}var If=class extends sl{supportsDOMEvents=!0},Sf=class t extends If{static makeCurrent(){kv(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=CM();return n==null?null:EM(n)}resetBaseElement(){Ao=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return ll(document.cookie,e)}},Ao=null;function CM(){return Ao=Ao||document.querySelector("base"),Ao?Ao.getAttribute("href"):null}function EM(t){return new URL(t,document.baseURI).pathname}var IM=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Mf=new I(""),iD=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new v(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||t)(O(Mf),O(fe))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),hl=class{_doc;constructor(e){this._doc=e}manager},Tf="ng-app-id";function eD(t){for(let e of t)e.remove()}function tD(t,e){let n=e.createElement("style");return n.textContent=t,n}function SM(t,e,n){let r=t.head?.querySelectorAll(`style[${Tf}="${e}"]`);if(r)for(let i of r)i.textContent&&(i.removeAttribute(Tf),n.set(i.textContent,{usage:0,elements:[i]}))}function Af(t,e){let n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}var oD=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.isServer=ct(o),SM(n,r,this.inline),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,tD);r?.forEach(i=>this.addUsage(i,this.external,Af))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(eD(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])eD(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,tD(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Af(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Tf,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||t)(O(ae),O($a),O(Zd,8),O(ge))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Ef={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Nf=/%COMP%/g,sD="%COMP%",MM=`_nghost-${sD}`,TM=`_ngcontent-${sD}`,AM=!0,xM=new I("",{providedIn:"root",factory:()=>AM});function NM(t){return TM.replace(Nf,t)}function RM(t){return MM.replace(Nf,t)}function aD(t,e){return e.map(n=>n.replace(Nf,t))}var pl=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.platformIsServer=ct(a),this.defaultRenderer=new xo(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Gt.ShadowDom&&(r=j(D({},r),{encapsulation:Gt.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof gl?i.applyToHost(n):i instanceof No&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Gt.Emulated:o=new gl(l,c,r,this.appId,u,s,a,d);break;case Gt.ShadowDom:return new xf(l,c,n,r,s,a,this.nonce,d);default:o=new No(l,c,r,u,s,a,d);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(r){return new(r||t)(O(iD),O(oD),O($a),O(xM),O(ae),O(ge),O(fe),O(Zd))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),xo=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,n,r,i){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=i}destroy(){}destroyNode=null;createElement(e,n){return n?this.doc.createElementNS(Ef[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(nD(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(nD(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){n.remove()}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new v(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;let o=Ef[i];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let i=Ef[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(ln.DashCase|ln.Important)?e.style.setProperty(n,r,i&ln.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&ln.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=Dn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function nD(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var xf=class extends xo{sharedStylesHost;hostEl;shadowRoot;constructor(e,n,r,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=aD(i.id,i.styles);for(let d of c){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=d,this.shadowRoot.appendChild(h)}let u=i.getExternalStyles?.();if(u)for(let d of u){let h=Af(d,o);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(null,n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},No=class extends xo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,n,r,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=l?aD(l,r.styles):r.styles,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},gl=class extends No{contentAttr;hostAttr;constructor(e,n,r,i,o,s,a,l){let c=i+"-"+r.id;super(e,n,r,o,s,a,l,c),this.contentAttr=NM(c),this.hostAttr=RM(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},OM=(()=>{class t extends hl{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}static \u0275fac=function(r){return new(r||t)(O(ae))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),rD=["alt","control","meta","shift"],PM={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},FM={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},kM=(()=>{class t extends hl{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i){let o=t.parseEventName(r),s=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Dn().onAndCancel(n,o.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),rD.forEach(c=>{let u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,r.length!=0||o.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let i=PM[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),rD.forEach(s=>{if(s!==i){let a=FM[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||t)(O(ae))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();function lD(t,e){return Tv(D({rootComponent:t},LM(e)))}function LM(t){return{appProviders:[...$M,...t?.providers??[]],platformProviders:UM}}function VM(){Sf.makeCurrent()}function jM(){return new zt}function BM(){return ey(document),document}var UM=[{provide:ge,useValue:yf},{provide:Wd,useValue:VM,multi:!0},{provide:ae,useFactory:BM,deps:[]}];var $M=[{provide:Ra,useValue:"root"},{provide:zt,useFactory:jM,deps:[]},{provide:Mf,useClass:OM,multi:!0,deps:[ae,fe,ge]},{provide:Mf,useClass:kM,multi:!0,deps:[ae]},pl,oD,iD,{provide:Vn,useExisting:pl},{provide:yi,useClass:IM,deps:[]},[]];var cD=(()=>{class t{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||t)(O(ae))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Rf=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=O(HM),i},providedIn:"root"})}return t})(),HM=(()=>{class t extends Rf{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case xt.NONE:return r;case xt.HTML:return Mr(r,"HTML")?At(r):py(this._doc,String(r)).toString();case xt.STYLE:return Mr(r,"Style")?At(r):r;case xt.SCRIPT:if(Mr(r,"Script"))return At(r);throw new v(5200,!1);case xt.URL:return Mr(r,"URL")?At(r):Ga(String(r));case xt.RESOURCE_URL:if(Mr(r,"ResourceURL"))return At(r);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return iy(n)}bypassSecurityTrustStyle(n){return oy(n)}bypassSecurityTrustScript(n){return sy(n)}bypassSecurityTrustUrl(n){return ay(n)}bypassSecurityTrustResourceUrl(n){return ly(n)}static \u0275fac=function(r){return new(r||t)(O(ae))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Z=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(Z||{}),en="*";function uD(t,e=null){return{type:Z.Sequence,steps:t,options:e}}function Of(t){return{type:Z.Style,styles:t,offset:null}}var Wn=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,n=0){this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ro=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let n=0,r=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let n=e*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){let e=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},ml="!";function dD(t){return new v(3e3,!1)}function GM(){return new v(3100,!1)}function WM(){return new v(3101,!1)}function qM(t){return new v(3001,!1)}function ZM(t){return new v(3003,!1)}function YM(t){return new v(3004,!1)}function QM(t,e){return new v(3005,!1)}function KM(){return new v(3006,!1)}function XM(){return new v(3007,!1)}function JM(t,e){return new v(3008,!1)}function eT(t){return new v(3002,!1)}function tT(t,e,n,r,i){return new v(3010,!1)}function nT(){return new v(3011,!1)}function rT(){return new v(3012,!1)}function iT(){return new v(3200,!1)}function oT(){return new v(3202,!1)}function sT(){return new v(3013,!1)}function aT(t){return new v(3014,!1)}function lT(t){return new v(3015,!1)}function cT(t){return new v(3016,!1)}function uT(t,e){return new v(3404,!1)}function dT(t){return new v(3502,!1)}function fT(t){return new v(3503,!1)}function hT(){return new v(3300,!1)}function pT(t){return new v(3504,!1)}function gT(t){return new v(3301,!1)}function mT(t,e){return new v(3302,!1)}function yT(t){return new v(3303,!1)}function vT(t,e){return new v(3400,!1)}function DT(t){return new v(3401,!1)}function wT(t){return new v(3402,!1)}function bT(t,e){return new v(3505,!1)}function qn(t){switch(t.length){case 0:return new Wn;case 1:return t[0];default:return new Ro(t)}}function ID(t,e,n=new Map,r=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((h,p)=>{let m=p,y=h;if(p!=="offset")switch(m=t.normalizePropertyName(m,i),y){case ml:y=n.get(p);break;case en:y=r.get(p);break;default:y=t.normalizeStyleValue(p,m,y,i);break}d.set(m,y)}),u||o.push(d),a=d,s=c}),i.length)throw dT(i);return o}function th(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&Pf(n,"start",t)));break;case"done":t.onDone(()=>r(n&&Pf(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&Pf(n,"destroy",t)));break}}function Pf(t,e,n){let r=n.totalTime,i=!!n.disabled,o=nh(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,i),s=t._data;return s!=null&&(o._data=s),o}function nh(t,e,n,r,i="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function dt(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function fD(t){let e=t.indexOf(":"),n=t.substring(1,e),r=t.slice(e+1);return[n,r]}var _T=typeof document>"u"?null:document.documentElement;function rh(t){let e=t.parentNode||t.host||null;return e===_T?null:e}function CT(t){return t.substring(1,6)=="ebkit"}var Rr=null,hD=!1;function ET(t){Rr||(Rr=IT()||{},hD=Rr.style?"WebkitAppearance"in Rr.style:!1);let e=!0;return Rr.style&&!CT(t)&&(e=t in Rr.style,!e&&hD&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Rr.style)),e}function IT(){return typeof document<"u"?document.body:null}function SD(t,e){for(;e;){if(e===t)return!0;e=rh(e)}return!1}function MD(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var ih=(()=>{class t{validateStyleProperty(n){return ET(n)}containsElement(n,r){return SD(n,r)}getParentElement(n){return rh(n)}query(n,r,i){return MD(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,s,a=[],l){return new Wn(i,o)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Fr=class{static NOOP=new ih},kr=class{};var ST=1e3,TD="{{",MT="}}",AD="ng-enter",Bf="ng-leave",yl="ng-trigger",_l=".ng-trigger",pD="ng-animating",Uf=".ng-animating";function bn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:$f(parseFloat(e[1]),e[2])}function $f(t,e){switch(e){case"s":return t*ST;default:return t}}function Cl(t,e,n){return t.hasOwnProperty("duration")?t:TT(t,e,n)}function TT(t,e,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof t=="string"){let a=t.match(r);if(a===null)return e.push(dD(t)),{duration:0,delay:0,easing:""};i=$f(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=$f(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else i=t;if(!n){let a=!1,l=e.length;i<0&&(e.push(GM()),a=!0),o<0&&(e.push(WM()),a=!0),a&&e.splice(l,0,dD(t))}return{duration:i,delay:o,easing:s}}function AT(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function tn(t,e,n){e.forEach((r,i)=>{let o=oh(i);n&&!n.has(i)&&n.set(i,t.style[o]),t.style[o]=r})}function Pr(t,e){e.forEach((n,r)=>{let i=oh(r);t.style[i]=""})}function Oo(t){return Array.isArray(t)?t.length==1?t[0]:uD(t):t}function xT(t,e,n){let r=e.params||{},i=xD(t);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(qM(o))})}var Hf=new RegExp(`${TD}\\s*(.+?)\\s*${MT}`,"g");function xD(t){let e=[];if(typeof t=="string"){let n;for(;n=Hf.exec(t);)e.push(n[1]);Hf.lastIndex=0}return e}function Fo(t,e,n){let r=`${t}`,i=r.replace(Hf,(o,s)=>{let a=e[s];return a==null&&(n.push(ZM(s)),a=""),a.toString()});return i==r?t:i}var NT=/-+([a-z0-9])/g;function oh(t){return t.replace(NT,(...e)=>e[1].toUpperCase())}function RT(t,e){return t===0||e===0}function OT(t,e,n){if(n.size&&e.length){let r=e[0],i=[];if(n.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;os.set(a,sh(t,a)))}}return e}function ut(t,e,n){switch(e.type){case Z.Trigger:return t.visitTrigger(e,n);case Z.State:return t.visitState(e,n);case Z.Transition:return t.visitTransition(e,n);case Z.Sequence:return t.visitSequence(e,n);case Z.Group:return t.visitGroup(e,n);case Z.Animate:return t.visitAnimate(e,n);case Z.Keyframes:return t.visitKeyframes(e,n);case Z.Style:return t.visitStyle(e,n);case Z.Reference:return t.visitReference(e,n);case Z.AnimateChild:return t.visitAnimateChild(e,n);case Z.AnimateRef:return t.visitAnimateRef(e,n);case Z.Query:return t.visitQuery(e,n);case Z.Stagger:return t.visitStagger(e,n);default:throw YM(e.type)}}function sh(t,e){return window.getComputedStyle(t)[e]}var PT=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"]),El=class extends kr{normalizePropertyName(e,n){return oh(e)}normalizeStyleValue(e,n,r,i){let o="",s=r.toString().trim();if(PT.has(n)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(QM(e,r))}return s+o}};var Il="*";function FT(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>kT(r,n,e)):n.push(t),n}function kT(t,e,n){if(t[0]==":"){let l=LT(t,n);if(typeof l=="function"){e.push(l);return}t=l}let r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(lT(t)),e;let i=r[1],o=r[2],s=r[3];e.push(gD(i,s));let a=i==Il&&s==Il;o[0]=="<"&&!a&&e.push(gD(s,i))}function LT(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r) *"}}var vl=new Set(["true","1"]),Dl=new Set(["false","0"]);function gD(t,e){let n=vl.has(t)||Dl.has(t),r=vl.has(e)||Dl.has(e);return(i,o)=>{let s=t==Il||t==i,a=e==Il||e==o;return!s&&n&&typeof i=="boolean"&&(s=i?vl.has(t):Dl.has(t)),!a&&r&&typeof o=="boolean"&&(a=o?vl.has(e):Dl.has(e)),s&&a}}var ND=":self",VT=new RegExp(`s*${ND}s*,?`,"g");function RD(t,e,n,r){return new zf(t).build(e,n,r)}var mD="",zf=class{_driver;constructor(e){this._driver=e}build(e,n,r){let i=new Gf(n);return this._resetContextStyleTimingState(i),ut(this,Oo(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=mD,e.collectedStyles=new Map,e.collectedStyles.set(mD,new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&n.errors.push(KM()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==Z.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,n))}),l.name=c}else if(a.type==Z.Transition){let l=this.visitTransition(a,n);r+=l.queryCount,i+=l.depCount,s.push(l)}else n.errors.push(XM())}),{type:Z.Trigger,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(e,n){let r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){let o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{xD(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&n.errors.push(JM(e.name,[...o.values()]))}return{type:Z.State,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let r=ut(this,Oo(e.animation),n),i=FT(e.expr,n.errors);return{type:Z.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:Or(e.options)}}visitSequence(e,n){return{type:Z.Sequence,steps:e.steps.map(r=>ut(this,r,n)),options:Or(e.options)}}visitGroup(e,n){let r=n.currentTime,i=0,o=e.steps.map(s=>{n.currentTime=r;let a=ut(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:Z.Group,steps:o,options:Or(e.options)}}visitAnimate(e,n){let r=$T(e.timings,n.errors);n.currentAnimateTimings=r;let i,o=e.styles?e.styles:Of({});if(o.type==Z.Keyframes)i=this.visitKeyframes(o,n);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};r.easing&&(c.easing=r.easing),s=Of(c)}n.currentTime+=r.duration+r.delay;let l=this.visitStyle(s,n);l.isEmptyStep=a,i=l}return n.currentAnimateTimings=null,{type:Z.Animate,timings:r,style:i,options:null}}visitStyle(e,n){let r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){let r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===en?r.push(a):n.errors.push(eT(a)):r.push(new Map(Object.entries(a)));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(TD)>=0){o=!0;break}}}),{type:Z.Style,styles:r,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,n){let r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=n.collectedStyles.get(n.currentQuerySelector),u=c.get(l),d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(n.errors.push(tT(l,u.startTime,u.endTime,o,i)),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:i}),n.options&&xT(a,n.options,n.errors)})})}visitKeyframes(e,n){let r={type:Z.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(nT()),r;let i=1,o=0,s=[],a=!1,l=!1,c=0,u=e.steps.map(S=>{let F=this._makeStyleAst(S,n),P=F.offset!=null?F.offset:UT(F.styles),Q=0;return P!=null&&(o++,Q=F.offset=P),l=l||Q<0||Q>1,a=a||Q0&&o{let P=h>0?F==p?1:h*F:s[F],Q=P*w;n.currentTime=m+y.delay+Q,y.duration=Q,this._validateStyleAst(S,n),S.offset=P,r.styles.push(S)}),r}visitReference(e,n){return{type:Z.Reference,animation:ut(this,Oo(e.animation),n),options:Or(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:Z.AnimateChild,options:Or(e.options)}}visitAnimateRef(e,n){return{type:Z.AnimateRef,animation:this.visitReference(e.animation,n),options:Or(e.options)}}visitQuery(e,n){let r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;let[o,s]=jT(e.selector);n.currentQuerySelector=r.length?r+" "+o:o,dt(n.collectedStyles,n.currentQuerySelector,new Map);let a=ut(this,Oo(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:Z.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Or(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(sT());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Cl(e.timings,n.errors,!0);return{type:Z.Stagger,animation:ut(this,Oo(e.animation),n),timings:r,options:null}}};function jT(t){let e=!!t.split(/\s*,\s*/).find(n=>n==ND);return e&&(t=t.replace(VT,"")),t=t.replace(/@\*/g,_l).replace(/@\w+/g,n=>_l+"-"+n.slice(1)).replace(/:animating/g,Uf),[t,e]}function BT(t){return t?D({},t):null}var Gf=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function UT(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function $T(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Cl(t,e).duration;return Ff(o,0,"")}let n=t;if(n.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Ff(0,0,"");return o.dynamic=!0,o.strValue=n,o}let i=Cl(n,e);return Ff(i.duration,i.delay,i.easing)}function Or(t){return t?(t=D({},t),t.params&&(t.params=BT(t.params))):t={},t}function Ff(t,e,n){return{duration:t,delay:e,easing:n}}function ah(t,e,n,r,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var ko=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}},HT=1,zT=":enter",GT=new RegExp(zT,"g"),WT=":leave",qT=new RegExp(WT,"g");function OD(t,e,n,r,i,o=new Map,s=new Map,a,l,c=[]){return new Wf().buildKeyframes(t,e,n,r,i,o,s,a,l,c)}var Wf=class{buildKeyframes(e,n,r,i,o,s,a,l,c,u=[]){c=c||new ko;let d=new qf(e,n,c,i,o,u,[]);d.options=l;let h=l.delay?bn(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),ut(this,r,d);let p=d.timelines.filter(m=>m.containsAnimation());if(p.length&&a.size){let m;for(let y=p.length-1;y>=0;y--){let w=p[y];if(w.element===n){m=w;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,l)}return p.length?p.map(m=>m.buildKeyframes()):[ah(n,[],[],[],0,h,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let r=n.subInstructions.get(n.element);if(r){let i=n.createSubContext(e.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=e}visitAnimateRef(e,n){let r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,r),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,r){for(let i of e){let o=i?.delay;if(o){let s=typeof o=="number"?o:bn(Fo(o,i?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(e,n,r){let o=n.currentTimeline.currentTime,s=r.duration!=null?bn(r.duration):null,a=r.delay!=null?bn(r.delay):null;return s!==0&&e.forEach(l=>{let c=n.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,n){n.updateOptions(e.options,!0),ut(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let r=n.subContextCount,i=n,o=e.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==Z.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Sl);let s=bn(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>ut(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let r=[],i=n.currentTimeline.currentTime,o=e.options&&e.options.delay?bn(e.options.delay):0;e.steps.forEach(s=>{let a=n.createSubContext(e.options);o&&a.delayNextStep(o),ut(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){let r=e.strValue,i=n.params?Fo(r,n.params,n.errors):r;return Cl(i,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());let o=e.style;o.type==Z.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(o):r.setStyles(e.styles,o,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){let r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=e}visitQuery(e,n){let r=n.currentTimeline.currentTime,i=e.options||{},o=i.delay?bn(i.delay):0;o&&(n.previousNode.type===Z.Style||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Sl);let s=r,a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{n.currentQueryIndex=u;let d=n.createSubContext(e.options,c);o&&d.delayNextStep(o),c===n.element&&(l=d.currentTimeline),ut(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let h=d.currentTimeline.currentTime;s=Math.max(s,h)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let r=n.parentContext,i=n.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1),l=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime;break}let u=n.currentTimeline;l&&u.delayNextStep(l);let d=u.currentTime;ut(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}},Sl={},qf=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Sl;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,n,r,i,o,s,a,l){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new Ml(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let r=e,i=this.options;r.duration!=null&&(i.duration=bn(r.duration)),r.delay!=null&&(i.delay=bn(r.delay));let o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=Fo(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){let i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Sl,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){let i={duration:n??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},o=new Zf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(GT,"."+this._enterClassName),e=e.replace(qT,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,e,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!o&&a.length==0&&s.push(aT(n)),a}},Ml=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,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(e){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||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+=HT,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||en),this._currentKeyframe.set(n,en);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&this._previousKeyframe.set("easing",n);let o=i&&i.params||{},s=ZT(e,this._globalTimelineStyles);for(let[a,l]of s){let c=Fo(l,o,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??en),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{let i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((u,d)=>{u===ml?e.add(d):u===en&&n.add(d)}),r||c.set("offset",l/this.duration),i.push(c)});let o=[...e.values()],s=[...n.values()];if(r){let a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return ah(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},Zf=class extends Ml{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,n,r,i,o,s,a=!1){super(e,n,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){let o=[],s=r+n,a=n/s,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",yD(a)),o.push(c);let u=e.length-1;for(let d=1;d<=u;d++){let h=new Map(e[d]),p=h.get("offset"),m=n+p*r;h.set("offset",yD(m/s)),o.push(h)}r=s,n=0,i="",e=o}return ah(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}};function yD(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function ZT(t,e){let n=new Map,r;return t.forEach(i=>{if(i==="*"){r??=e.keys();for(let o of r)n.set(o,en)}else for(let[o,s]of i)n.set(o,s)}),n}function vD(t,e,n,r,i,o,s,a,l,c,u,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}var kf={},Tl=class{_triggerName;ast;_stateStyles;constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return YT(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(n,r):new Map}build(e,n,r,i,o,s,a,l,c,u){let d=[],h=this.ast.options&&this.ast.options.params||kf,p=a&&a.params||kf,m=this.buildStyles(r,p,d),y=l&&l.params||kf,w=this.buildStyles(i,y,d),S=new Set,F=new Map,P=new Map,Q=i==="void",ve={params:PD(y,h),delay:this.ast.options?.delay},J=u?[]:OD(e,n,this.ast.animation,o,s,m,w,ve,c,d),le=0;return J.forEach(Te=>{le=Math.max(Te.duration+Te.delay,le)}),d.length?vD(n,this._triggerName,r,i,Q,m,w,[],[],F,P,le,d):(J.forEach(Te=>{let rn=Te.element,Hr=dt(F,rn,new Set);Te.preStyleProps.forEach(tr=>Hr.add(tr));let gp=dt(P,rn,new Set);Te.postStyleProps.forEach(tr=>gp.add(tr)),rn!==n&&S.add(rn)}),vD(n,this._triggerName,r,i,Q,m,w,J,[...S.values()],F,P,le))}};function YT(t,e,n,r,i){return t.some(o=>o(e,n,r,i))}function PD(t,e){let n=D({},e);return Object.entries(t).forEach(([r,i])=>{i!=null&&(n[r]=i)}),n}var Yf=class{styles;defaultParams;normalizer;constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){let r=new Map,i=PD(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Fo(s,i,n));let l=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,l,s,n),r.set(a,s)})}),r}};function QT(t,e,n){return new Qf(t,e,n)}var Qf=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,n.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new Yf(i.style,o,r))}),DD(this.states,"true","1"),DD(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new Tl(e,i,this.states))}),this.fallbackTransition=KT(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(s=>s.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}};function KT(t,e,n){let r=[(s,a)=>!0],i={type:Z.Sequence,steps:[],options:null},o={type:Z.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new Tl(t,o,e)}function DD(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var XT=new ko,Kf=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r}register(e,n){let r=[],i=[],o=RD(this._driver,n,r,i);if(r.length)throw fT(r);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,n,r){let i=e.element,o=ID(this._normalizer,e.keyframes,n,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=OD(this._driver,n,o,AD,Bf,new Map,new Map,r,XT,i),s.forEach(u=>{let d=dt(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(i.push(hT()),s=[]),i.length)throw pT(i);a.forEach((u,d)=>{u.forEach((h,p)=>{u.set(p,this._driver.computeStyle(d,p,en))})});let l=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),c=qn(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw gT(e);return n}listen(e,n,r,i){let o=nh(n,"","","");return th(this._getPlayer(e),r,o,i),()=>{}}command(e,n,r,i){if(r=="register"){this.register(e,i[0]);return}if(r=="create"){let s=i[0]||{};this.create(e,n,s);return}let o=this._getPlayer(e);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},wD="ng-animate-queued",JT=".ng-animate-queued",Lf="ng-animate-disabled",eA=".ng-animate-disabled",tA="ng-star-inserted",nA=".ng-star-inserted",rA=[],FD={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},iA={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},kt="__ng_removed",Lo=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let r=e&&e.hasOwnProperty("value"),i=r?e.value:e;if(this.value=sA(i),r){let o=e,{value:s}=o,a=xc(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let r=this.options.params;Object.keys(n).forEach(i=>{r[i]==null&&(r[i]=n[i])})}}},Po="void",Vf=new Lo(Po),Xf=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this._hostClassName="ng-tns-"+e,wt(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.has(n))throw mT(r,n);if(r==null||r.length==0)throw yT(n);if(!aA(r))throw vT(r,n);let o=dt(this._elementListeners,e,[]),s={name:n,phase:r,callback:i};o.push(s);let a=dt(this._engine.statesByElement,e,new Map);return a.has(n)||(wt(e,yl),wt(e,yl+"-"+n),a.set(n,Vf)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw DT(e);return n}trigger(e,n,r,i=!0){let o=this._getTrigger(n),s=new Vo(this.id,n,e),a=this._engine.statesByElement.get(e);a||(wt(e,yl),wt(e,yl+"-"+n),this._engine.statesByElement.set(e,a=new Map));let l=a.get(n),c=new Lo(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(n,c),l||(l=Vf),!(c.value===Po)&&l.value===c.value){if(!uA(l.params,c.params)){let y=[],w=o.matchStyles(l.value,l.params,y),S=o.matchStyles(c.value,c.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{Pr(e,w),tn(e,S)})}return}let h=dt(this._engine.playersByElement,e,[]);h.forEach(y=>{y.namespaceId==this.id&&y.triggerName==n&&y.queued&&y.destroy()});let p=o.matchTransition(l.value,c.value,e,c.params),m=!1;if(!p){if(!i)return;p=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(wt(e,wD),s.onStart(()=>{vi(e,wD)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);let w=this._engine.playersByElement.get(e);if(w){let S=w.indexOf(s);S>=0&&w.splice(S,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let r=this._engine.driver.query(e,_l,!0);r.forEach(i=>{if(i[kt])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,Po,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,s),r&&qn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){let i=new Set;n.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let l=this._triggers.get(s).fallbackTransition,c=r.get(s)||Vf,u=new Lo(Po),d=new Vo(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,n){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){let o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{let o=e[kt];(!o||o===FD)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){wt(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){let l=nh(o,r.triggerName,r.fromState.value,r.toState.value);l._data=e,th(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{let o=r.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Jf=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,n)=>{};_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,r){this.bodyNode=e,this.driver=n,this._normalizer=r}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){let r=new Xf(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){let l=i.get(a);if(l){let c=r.indexOf(l);r.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(e)}else r.push(e);return i.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,r=this.statesByElement.get(e);if(r){for(let i of r.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}}return n}trigger(e,n,r,i){if(wl(n)){let o=this._fetchNamespace(e);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!wl(n))return;let o=n[kt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),wt(e,Lf)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),vi(e,Lf))}removeNode(e,n,r){if(wl(n)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(n,r):this.markElementAsRemoved(e,n,!1,r);let o=this.namespacesByHostElement.get(n);o&&o.id!==e&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(e,n,r,i,o){this.collectedLeaveElements.push(n),n[kt]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,n,r,i,o){return wl(n)?this._fetchNamespace(e).listen(n,r,i,o):()=>{}}_buildInstruction(e,n,r,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,o)}destroyInnerAnimations(e){let n=this.driver.query(e,_l,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,Uf,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return qn(this.players).onDone(()=>e());e()})}processLeaveNode(e){let n=e[kt];if(n&&n.setForRemoval){if(e[kt]=FD,n.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}e.classList?.contains(Lf)&&this.markElementAsDisabled(e,!1),this.driver.query(e,eA,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?qn(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw wT(e)}_flushAnimations(e,n){let r=new ko,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(M=>{u.add(M);let T=this.driver.query(M,JT,!0);for(let R=0;R{let R=AD+y++;m.set(T,R),M.forEach(K=>wt(K,R))});let w=[],S=new Set,F=new Set;for(let M=0;MS.add(K)):F.add(T))}let P=new Map,Q=CD(h,Array.from(S));Q.forEach((M,T)=>{let R=Bf+y++;P.set(T,R),M.forEach(K=>wt(K,R))}),e.push(()=>{p.forEach((M,T)=>{let R=m.get(T);M.forEach(K=>vi(K,R))}),Q.forEach((M,T)=>{let R=P.get(T);M.forEach(K=>vi(K,R))}),w.forEach(M=>{this.processLeaveNode(M)})});let ve=[],J=[];for(let M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(n).forEach(R=>{let K=R.player,Ae=R.element;if(ve.push(K),this.collectedEnterElements.length){let Fe=Ae[kt];if(Fe&&Fe.setForMove){if(Fe.previousTriggersValues&&Fe.previousTriggersValues.has(R.triggerName)){let nr=Fe.previousTriggersValues.get(R.triggerName),pt=this.statesByElement.get(R.element);if(pt&&pt.has(R.triggerName)){let ds=pt.get(R.triggerName);ds.value=nr,pt.set(R.triggerName,ds)}}K.destroy();return}}let jt=!d||!this.driver.containsElement(d,Ae),Je=P.get(Ae),En=m.get(Ae),he=this._buildInstruction(R,r,En,Je,jt);if(he.errors&&he.errors.length){J.push(he);return}if(jt){K.onStart(()=>Pr(Ae,he.fromStyles)),K.onDestroy(()=>tn(Ae,he.toStyles)),i.push(K);return}if(R.isFallbackTransition){K.onStart(()=>Pr(Ae,he.fromStyles)),K.onDestroy(()=>tn(Ae,he.toStyles)),i.push(K);return}let vp=[];he.timelines.forEach(Fe=>{Fe.stretchStartingKeyframe=!0,this.disabledNodes.has(Fe.element)||vp.push(Fe)}),he.timelines=vp,r.append(Ae,he.timelines);let ob={instruction:he,player:K,element:Ae};s.push(ob),he.queriedElements.forEach(Fe=>dt(a,Fe,[]).push(K)),he.preStyleProps.forEach((Fe,nr)=>{if(Fe.size){let pt=l.get(nr);pt||l.set(nr,pt=new Set),Fe.forEach((ds,Ac)=>pt.add(Ac))}}),he.postStyleProps.forEach((Fe,nr)=>{let pt=c.get(nr);pt||c.set(nr,pt=new Set),Fe.forEach((ds,Ac)=>pt.add(Ac))})});if(J.length){let M=[];J.forEach(T=>{M.push(bT(T.triggerName,T.errors))}),ve.forEach(T=>T.destroy()),this.reportError(M)}let le=new Map,Te=new Map;s.forEach(M=>{let T=M.element;r.has(T)&&(Te.set(T,T),this._beforeAnimationBuild(M.player.namespaceId,M.instruction,le))}),i.forEach(M=>{let T=M.element;this._getPreviousPlayers(T,!1,M.namespaceId,M.triggerName,null).forEach(K=>{dt(le,T,[]).push(K),K.destroy()})});let rn=w.filter(M=>ED(M,l,c)),Hr=new Map;_D(Hr,this.driver,F,c,en).forEach(M=>{ED(M,l,c)&&rn.push(M)});let tr=new Map;p.forEach((M,T)=>{_D(tr,this.driver,new Set(M),l,ml)}),rn.forEach(M=>{let T=Hr.get(M),R=tr.get(M);Hr.set(M,new Map([...T?.entries()??[],...R?.entries()??[]]))});let Tc=[],mp=[],yp={};s.forEach(M=>{let{element:T,player:R,instruction:K}=M;if(r.has(T)){if(u.has(T)){R.onDestroy(()=>tn(T,K.toStyles)),R.disabled=!0,R.overrideTotalTime(K.totalTime),i.push(R);return}let Ae=yp;if(Te.size>1){let Je=T,En=[];for(;Je=Je.parentNode;){let he=Te.get(Je);if(he){Ae=he;break}En.push(Je)}En.forEach(he=>Te.set(he,Ae))}let jt=this._buildAnimation(R.namespaceId,K,le,o,tr,Hr);if(R.setRealPlayer(jt),Ae===yp)Tc.push(R);else{let Je=this.playersByElement.get(Ae);Je&&Je.length&&(R.parentPlayer=qn(Je)),i.push(R)}}else Pr(T,K.fromStyles),R.onDestroy(()=>tn(T,K.toStyles)),mp.push(R),u.has(T)&&i.push(R)}),mp.forEach(M=>{let T=o.get(M.element);if(T&&T.length){let R=qn(T);M.setRealPlayer(R)}}),i.forEach(M=>{M.parentPlayer?M.syncPlayerEvents(M.parentPlayer):M.destroy()});for(let M=0;M!jt.destroyed);Ae.length?lA(this,T,Ae):this.processLeaveNode(T)}return w.length=0,Tc.forEach(M=>{this.players.push(M),M.onDone(()=>{M.destroy();let T=this.players.indexOf(M);this.players.splice(T,1)}),M.play()}),Tc}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,o){let s=[];if(n){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==Po;a.forEach(c=>{c.queued||!l&&c.triggerName!=i||s.push(c)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,n,r){let i=n.triggerName,o=n.element,s=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:i;for(let l of n.timelines){let c=l.element,u=c!==o,d=dt(r,c,[]);this._getPreviousPlayers(c,u,s,a,n.toState).forEach(p=>{let m=p.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),p.destroy(),d.push(p)})}Pr(o,n.fromStyles)}_buildAnimation(e,n,r,i,o,s){let a=n.triggerName,l=n.element,c=[],u=new Set,d=new Set,h=n.timelines.map(m=>{let y=m.element;u.add(y);let w=y[kt];if(w&&w.removedBeforeQueried)return new Wn(m.duration,m.delay);let S=y!==l,F=cA((r.get(y)||rA).map(le=>le.getRealPlayer())).filter(le=>{let Te=le;return Te.element?Te.element===y:!1}),P=o.get(y),Q=s.get(y),ve=ID(this._normalizer,m.keyframes,P,Q),J=this._buildPlayer(m,ve,F);if(m.subTimeline&&i&&d.add(y),S){let le=new Vo(e,a,y);le.setRealPlayer(J),c.push(le)}return J});c.forEach(m=>{dt(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>oA(this.playersByQueriedElement,m.element,m))}),u.forEach(m=>wt(m,pD));let p=qn(h);return p.onDestroy(()=>{u.forEach(m=>vi(m,pD)),tn(l,n.toStyles)}),d.forEach(m=>{dt(i,m,[]).push(p)}),p}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new Wn(e.duration,e.delay)}},Vo=class{namespaceId;triggerName;element;_player=new Wn;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>th(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){dt(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function oA(t,e,n){let r=t.get(e);if(r){if(r.length){let i=r.indexOf(n);r.splice(i,1)}r.length==0&&t.delete(e)}return r}function sA(t){return t??null}function wl(t){return t&&t.nodeType===1}function aA(t){return t=="start"||t=="done"}function bD(t,e){let n=t.style.display;return t.style.display=e??"none",n}function _D(t,e,n,r,i){let o=[];n.forEach(l=>o.push(bD(l)));let s=[];r.forEach((l,c)=>{let u=new Map;l.forEach(d=>{let h=e.computeStyle(c,d,i);u.set(d,h),(!h||h.length==0)&&(c[kt]=iA,s.push(c))}),t.set(c,u)});let a=0;return n.forEach(l=>bD(l,o[a++])),s}function CD(t,e){let n=new Map;if(t.forEach(a=>n.set(a,[])),e.length==0)return n;let r=1,i=new Set(e),o=new Map;function s(a){if(!a)return r;let l=o.get(a);if(l)return l;let c=a.parentNode;return n.has(c)?l=c:i.has(c)?l=r:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==r&&n.get(l).push(a)}),n}function wt(t,e){t.classList?.add(e)}function vi(t,e){t.classList?.remove(e)}function lA(t,e,n){qn(n).onDone(()=>t.processLeaveNode(e))}function cA(t){let e=[];return kD(t,e),e}function kD(t,e){for(let n=0;ni.add(o)):e.set(t,r),n.delete(t),!0}var Di=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,n)=>{};constructor(e,n,r){this._driver=n,this._normalizer=r,this._transitionEngine=new Jf(e.body,n,r),this._timelineEngine=new Kf(e.body,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,n,r,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let l=[],c=[],u=RD(this._driver,o,l,c);if(l.length)throw uT(i,l);c.length&&void 0,a=QT(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,i,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r){this._transitionEngine.removeNode(e,n,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if(r.charAt(0)=="@"){let[o,s]=fD(r),a=i;this._timelineEngine.command(o,n,s,a)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,o){if(r.charAt(0)=="@"){let[s,a]=fD(r);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(e,n,r,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function dA(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=jf(e[0]),e.length>1&&(r=jf(e[e.length-1]))):e instanceof Map&&(n=jf(e)),n||r?new fA(t,n,r):null}var fA=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(n,r,i){this._element=n,this._startStyles=r,this._endStyles=i;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&tn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tn(this._element,this._initialStyles),this._endStyles&&(tn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Pr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Pr(this._element,this._endStyles),this._endStyles=null),tn(this._element,this._initialStyles),this._state=3)}}return t})();function jf(t){let e=null;return t.forEach((n,r)=>{hA(r)&&(e=e||new Map,e.set(r,n))}),e}function hA(t){return t==="display"||t==="position"}var Al=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,n,r,i){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let n=[];return e.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(e,n,r){return e.animate(this._convertKeyframesToObject(n),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&e.set(i,this._finished?r:sh(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},xl=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,n){return SD(e,n)}getParentElement(e){return rh(e)}query(e,n,r){return MD(e,n,r)}computeStyle(e,n,r){return sh(e,n)}animate(e,n,r,i,o,s=[]){let a=i==0?"both":"forwards",l={duration:r,delay:i,fill:a};o&&(l.easing=o);let c=new Map,u=s.filter(p=>p instanceof Al);RT(r,i)&&u.forEach(p=>{p.currentSnapshot.forEach((m,y)=>c.set(y,m))});let d=AT(n).map(p=>new Map(p));d=OT(e,d,c);let h=dA(e,d);return new Al(e,d,l,h)}};var bl="@",LD="@.disabled",Nl=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,n,r,i){this.namespaceId=e,this.delegate=n,this.engine=r,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.parentNode(n)&&this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){n.charAt(0)==bl&&n==LD?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}},eh=class extends Nl{factory;constructor(e,n,r,i,o){super(n,r,i,o),this.factory=e,this.namespaceId=n}setProperty(e,n,r){n.charAt(0)==bl?n.charAt(1)=="."&&n==LD?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,n.slice(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if(n.charAt(0)==bl){let i=pA(e),o=n.slice(1),s="";return o.charAt(0)!=bl&&([o,s]=gA(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,r,a)})}return this.delegate.listen(e,n,r)}};function pA(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function gA(t){let e=t.indexOf("."),n=t.substring(0,e),r=t.slice(e+1);return[n,r]}var Rl=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,n.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(e,n){let r="",i=this.delegate.createRenderer(e,n);if(!e||!n?.data?.animation){let c=this._rendererCache,u=c.get(i);if(!u){let d=()=>c.delete(i);u=new Nl(r,i,this.engine,d),c.set(i,u)}return u}let o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return n.data.animation.forEach(a),new eh(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){if(e>=0&&en(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}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 yA=(()=>{class t extends Di{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||t)(O(ae),O(Fr),O(kr))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();function vA(){return new El}function DA(t,e,n){return new Rl(t,e,n)}var VD=[{provide:kr,useFactory:vA},{provide:Di,useClass:yA},{provide:Vn,useFactory:DA,deps:[pl,Di,fe]}],wA=[{provide:Fr,useFactory:()=>new xl},{provide:qd,useValue:"BrowserAnimations"},...VD],Fj=[{provide:Fr,useClass:ih},{provide:qd,useValue:"NoopAnimations"},...VD];function jD(){return st("NgEagerAnimations"),[...wA]}var $="primary",ts=Symbol("RouteTitle"),fh=class{params;constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Ii(t){return new fh(t)}function bA(t,e,n){let r=n.path.split("/");if(r.length>t.length||n.pathMatch==="full"&&(e.hasChildren()||r.lengthr[o]===i)}else return t===e}function ZD(t){return t.length>0?t[t.length-1]:null}function Yn(t){return Qc(t)?t:Ar(t)?oe(Promise.resolve(t)):A(t)}var CA={exact:QD,subset:KD},YD={exact:EA,subset:IA,ignored:()=>!0};function BD(t,e,n){return CA[n.paths](t.root,e.root,n.matrixParams)&&YD[n.queryParams](t.queryParams,e.queryParams)&&!(n.fragment==="exact"&&t.fragment!==e.fragment)}function EA(t,e){return nn(t,e)}function QD(t,e,n){if(!Vr(t.segments,e.segments)||!Fl(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let r in e.children)if(!t.children[r]||!QD(t.children[r],e.children[r],n))return!1;return!0}function IA(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>qD(t[n],e[n]))}function KD(t,e,n){return XD(t,e,e.segments,n)}function XD(t,e,n,r){if(t.segments.length>n.length){let i=t.segments.slice(0,n.length);return!(!Vr(i,n)||e.hasChildren()||!Fl(i,n,r))}else if(t.segments.length===n.length){if(!Vr(t.segments,n)||!Fl(t.segments,n,r))return!1;for(let i in e.children)if(!t.children[i]||!KD(t.children[i],e.children[i],r))return!1;return!0}else{let i=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!Vr(t.segments,i)||!Fl(t.segments,i,r)||!t.children[$]?!1:XD(t.children[$],e,o,r)}}function Fl(t,e,n){return e.every((r,i)=>YD[n](t[i].parameters,r.parameters))}var Cn=class{root;queryParams;fragment;_queryParamMap;constructor(e=new te([],{}),n={},r=null){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Ii(this.queryParams),this._queryParamMap}toString(){return TA.serialize(this)}},te=class{segments;children;parent=null;constructor(e,n){this.segments=e,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return kl(this)}},Lr=class{path;parameters;_parameterMap;constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap??=Ii(this.parameters),this._parameterMap}toString(){return ew(this)}};function SA(t,e){return Vr(t,e)&&t.every((n,r)=>nn(n.parameters,e[r].parameters))}function Vr(t,e){return t.length!==e.length?!1:t.every((n,r)=>n.path===e[r].path)}function MA(t,e){let n=[];return Object.entries(t.children).forEach(([r,i])=>{r===$&&(n=n.concat(e(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==$&&(n=n.concat(e(i,r)))}),n}var jh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>new Go,providedIn:"root"})}return t})(),Go=class{parse(e){let n=new gh(e);return new Cn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${jo(e.root,!0)}`,r=NA(e.queryParams),i=typeof e.fragment=="string"?`#${AA(e.fragment)}`:"";return`${n}${r}${i}`}},TA=new Go;function kl(t){return t.segments.map(e=>ew(e)).join("/")}function jo(t,e){if(!t.hasChildren())return kl(t);if(e){let n=t.children[$]?jo(t.children[$],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&r.push(`${i}:${jo(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=MA(t,(r,i)=>i===$?[jo(t.children[$],!1)]:[`${i}:${jo(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${kl(t)}/${n[0]}`:`${kl(t)}/(${n.join("//")})`}}function JD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ol(t){return JD(t).replace(/%3B/gi,";")}function AA(t){return encodeURI(t)}function ph(t){return JD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ll(t){return decodeURIComponent(t)}function UD(t){return Ll(t.replace(/\+/g,"%20"))}function ew(t){return`${ph(t.path)}${xA(t.parameters)}`}function xA(t){return Object.entries(t).map(([e,n])=>`;${ph(e)}=${ph(n)}`).join("")}function NA(t){let e=Object.entries(t).map(([n,r])=>Array.isArray(r)?r.map(i=>`${Ol(n)}=${Ol(i)}`).join("&"):`${Ol(n)}=${Ol(r)}`).filter(n=>n);return e.length?`?${e.join("&")}`:""}var RA=/^[^\/()?;#]+/;function lh(t){let e=t.match(RA);return e?e[0]:""}var OA=/^[^\/()?;=#]+/;function PA(t){let e=t.match(OA);return e?e[0]:""}var FA=/^[^=?&#]+/;function kA(t){let e=t.match(FA);return e?e[0]:""}var LA=/^[^&#]+/;function VA(t){let e=t.match(LA);return e?e[0]:""}var gh=class{url;remaining;constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new te([],{}):new te([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(r[$]=new te(e,n)),r}parseSegment(){let e=lh(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new Lr(Ll(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=PA(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=lh(this.remaining);i&&(r=i,this.capture(r))}e[Ll(n)]=Ll(r)}parseQueryParam(e){let n=kA(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=VA(this.remaining);s&&(r=s,this.capture(r))}let i=UD(n),o=UD(r);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=lh(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new v(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[$]:new te([],s),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new v(4011,!1)}};function tw(t){return t.segments.length>0?new te([],{[$]:t}):t}function nw(t){let e={};for(let[r,i]of Object.entries(t.children)){let o=nw(i);if(r===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[r]=o)}let n=new te(t.segments,e);return jA(n)}function jA(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new te(t.segments.concat(e.segments),e.children)}return t}function Wo(t){return t instanceof Cn}function BA(t,e,n=null,r=null){let i=rw(t);return iw(i,e,n,r)}function rw(t){let e;function n(o){let s={};for(let l of o.children){let c=n(l);s[l.outlet]=c}let a=new te(o.url,s);return o===t&&(e=a),a}let r=n(t.root),i=tw(r);return e??i}function iw(t,e,n,r){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return ch(i,i,i,n,r);let o=UA(e);if(o.toRoot())return ch(i,i,new te([],{}),n,r);let s=$A(o,i,t),a=s.processChildren?$o(s.segmentGroup,s.index,o.commands):sw(s.segmentGroup,s.index,o.commands);return ch(i,s.segmentGroup,a,n,r)}function Vl(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function qo(t){return typeof t=="object"&&t!=null&&t.outlets}function ch(t,e,n,r,i){let o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let s;t===e?s=n:s=ow(t,e,n);let a=tw(nw(s));return new Cn(a,o,i)}function ow(t,e,n){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===e?r[i]=n:r[i]=ow(o,e,n)}),new te(t.segments,r)}var jl=class{isAbsolute;numberOfDoubleDots;commands;constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&Vl(r[0]))throw new v(4003,!1);let i=r.find(qo);if(i&&i!==ZD(r))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function UA(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new jl(!0,0,t);let e=0,n=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?n=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new jl(n,e,r)}var _i=class{segmentGroup;processChildren;index;constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}};function $A(t,e,n){if(t.isAbsolute)return new _i(e,!0,0);if(!n)return new _i(e,!1,NaN);if(n.parent===null)return new _i(n,!0,0);let r=Vl(t.commands[0])?0:1,i=n.segments.length-1+r;return HA(n,i,t.numberOfDoubleDots)}function HA(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new v(4005,!1);i=r.segments.length}return new _i(r,!1,i-o)}function zA(t){return qo(t[0])?t[0].outlets:{[$]:t}}function sw(t,e,n){if(t??=new te([],{}),t.segments.length===0&&t.hasChildren())return $o(t,e,n);let r=GA(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=$o(t.children[$],e,n);return new te(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=sw(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new te(t.segments,i)}}function GA(t,e,n){let r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;let s=t.segments[i],a=n[r];if(qo(a))break;let l=`${a}`,c=r0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!HD(l,c,s))return o;r+=2}else{if(!HD(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function mh(t,e,n){let r=t.segments.slice(0,e),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(e[n]=mh(new te([],{}),0,r))}),e}function $D(t){let e={};return Object.entries(t).forEach(([n,r])=>e[n]=`${r}`),e}function HD(t,e,n){return t==n.path&&nn(e,n.parameters)}var Ho="imperative",Pe=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(Pe||{}),bt=class{id;url;constructor(e,n){this.id=e,this.url=n}},Zo=class extends bt{type=Pe.NavigationStart;navigationTrigger;restoredState;constructor(e,n,r="imperative",i=null){super(e,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},jr=class extends bt{urlAfterRedirects;type=Pe.NavigationEnd;constructor(e,n,r){super(e,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ht=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(ht||{}),yh=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(yh||{}),_n=class extends bt{reason;code;type=Pe.NavigationCancel;constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Br=class extends bt{reason;code;type=Pe.NavigationSkipped;constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i}},Yo=class extends bt{error;target;type=Pe.NavigationError;constructor(e,n,r,i){super(e,n),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Bl=class extends bt{urlAfterRedirects;state;type=Pe.RoutesRecognized;constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vh=class extends bt{urlAfterRedirects;state;type=Pe.GuardsCheckStart;constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dh=class extends bt{urlAfterRedirects;state;shouldActivate;type=Pe.GuardsCheckEnd;constructor(e,n,r,i,o){super(e,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},wh=class extends bt{urlAfterRedirects;state;type=Pe.ResolveStart;constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},bh=class extends bt{urlAfterRedirects;state;type=Pe.ResolveEnd;constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},_h=class{route;type=Pe.RouteConfigLoadStart;constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ch=class{route;type=Pe.RouteConfigLoadEnd;constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Eh=class{snapshot;type=Pe.ChildActivationStart;constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ih=class{snapshot;type=Pe.ChildActivationEnd;constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sh=class{snapshot;type=Pe.ActivationStart;constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mh=class{snapshot;type=Pe.ActivationEnd;constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Qo=class{},Si=class{url;navigationBehaviorOptions;constructor(e,n){this.url=e,this.navigationBehaviorOptions=n}};function qA(t,e){return t.providers&&!t._injector&&(t._injector=uf(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Lt(t){return t.outlet||$}function ZA(t,e){let n=t.filter(r=>Lt(r)===e);return n.push(...t.filter(r=>Lt(r)!==e)),n}function ns(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let n=e.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Th=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ns(this.route?.snapshot)??this.rootInjector}constructor(e){this.rootInjector=e,this.children=new ql(this.rootInjector)}},ql=(()=>{class t{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Th(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||t)(O(Ke))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ul=class{_root;constructor(e){this._root=e}get root(){return this._root.value}parent(e){let n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){let n=Ah(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){let n=Ah(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=xh(e,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return xh(e,this._root).map(n=>n.value)}};function Ah(t,e){if(t===e.value)return e;for(let n of e.children){let r=Ah(t,n);if(r)return r}return null}function xh(t,e){if(t===e.value)return[e];for(let n of e.children){let r=xh(t,n);if(r.length)return r.unshift(e),r}return[]}var ft=class{value;children;constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}};function bi(t){let e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}var $l=class extends Ul{snapshot;constructor(e,n){super(e),this.snapshot=n,Bh(this,e)}toString(){return this.snapshot.toString()}};function aw(t){let e=YA(t),n=new De([new Lr("",{})]),r=new De({}),i=new De({}),o=new De({}),s=new De(""),a=new Zn(n,r,o,s,i,$,t,e.root);return a.snapshot=e.root,new $l(new ft(a,[]),e)}function YA(t){let e={},n={},r={},i="",o=new Ci([],e,r,i,n,$,t,null,{});return new zl("",new ft(o,[]))}var Zn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(e,n,r,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(k(c=>c[ts]))??A(void 0),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(k(e=>Ii(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(k(e=>Ii(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Hl(t,e,n="emptyOnly"){let r,{routeConfig:i}=t;return e!==null&&(n==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?r={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),i?.data),t._resolvedData)}:r={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),t._resolvedData??{})},i&&cw(i)&&(r.resolve[ts]=i.title),r}var Ci=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ts]}constructor(e,n,r,i,o,s,a,l,c){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ii(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ii(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${n}')`}},zl=class extends Ul{url;constructor(e,n){super(n),this.url=e,Bh(this,n)}toString(){return lw(this._root)}};function Bh(t,e){e.value._routerState=t,e.children.forEach(n=>Bh(t,n))}function lw(t){let e=t.children.length>0?` { ${t.children.map(lw).join(", ")} } `:"";return`${t.value}${e}`}function uh(t){if(t.snapshot){let e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,nn(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),nn(e.params,n.params)||t.paramsSubject.next(n.params),_A(e.url,n.url)||t.urlSubject.next(n.url),nn(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Nh(t,e){let n=nn(t.params,e.params)&&SA(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||Nh(t.parent,e.parent))}function cw(t){return typeof t.title=="string"||t.title===null}var QA=new I(""),KA=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=$;activateEvents=new we;deactivateEvents=new we;attachEvents=new we;detachEvents=new we;routerOutletData=X(void 0);parentContexts=g(ql);location=g(xr);changeDetector=g(vt);inputBinder=g(Uh,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Rh(n,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=ye({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[dn]})}return t})(),Rh=class t{route;childContexts;parent;outletData;__ngOutletInjector(e){return new t(this.route,this.childContexts,e,this.outletData)}constructor(e,n,r,i){this.route=e,this.childContexts=n,this.parent=r,this.outletData=i}get(e,n){return e===Zn?this.route:e===ql?this.childContexts:e===QA?this.outletData:this.parent.get(e,n)}},Uh=new I("");function XA(t,e,n){let r=Ko(t,e._root,n?n._root:void 0);return new $l(r,e)}function Ko(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=e.value;let i=JA(t,e,n);return new ft(r,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Ko(t,a)),s}}let r=ex(e.value),i=e.children.map(o=>Ko(t,o));return new ft(r,i)}}function JA(t,e,n){return e.children.map(r=>{for(let i of n.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Ko(t,r,i);return Ko(t,r)})}function ex(t){return new Zn(new De(t.url),new De(t.params),new De(t.queryParams),new De(t.fragment),new De(t.data),t.outlet,t.component,t)}var Xo=class{redirectTo;navigationBehaviorOptions;constructor(e,n){this.redirectTo=e,this.navigationBehaviorOptions=n}},uw="ngNavigationCancelingError";function Gl(t,e){let{redirectTo:n,navigationBehaviorOptions:r}=Wo(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=dw(!1,ht.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function dw(t,e){let n=new Error(`NavigationCancelingError: ${t||""}`);return n[uw]=!0,n.cancellationCode=e,n}function tx(t){return fw(t)&&Wo(t.url)}function fw(t){return!!t&&t[uw]}var nx=(t,e,n,r)=>k(i=>(new Oh(e,i.targetRouterState,i.currentRouterState,n,r).activate(t),i)),Oh=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(e,n,r,i,o){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),uh(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){let i=bi(n);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(e,n,s.children)}else this.deactivateChildRoutes(e,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=bi(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=bi(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(e,n,r){let i=bi(n);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Mh(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Ih(e.value.snapshot))}activateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(uh(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(e,n,s.children)}else this.activateChildRoutes(e,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),uh(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,r)}},Wl=class{path;route;constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Ei=class{component;route;constructor(e,n){this.component=e,this.route=n}};function rx(t,e,n){let r=t._root,i=e?e._root:null;return Bo(r,i,n,[r.value])}function ix(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Ti(t,e){let n=Symbol(),r=e.get(t,n);return r===n?typeof t=="function"&&!Wg(t)?t:e.get(t):r}function Bo(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=bi(e);return t.children.forEach(s=>{ox(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>zo(a,n.getContext(s),i)),i}function ox(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=sx(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Wl(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Bo(t,e,a?a.children:null,r,i):Bo(t,e,n,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ei(a.outlet.component,s))}else s&&zo(e,a,i),i.canActivateChecks.push(new Wl(r)),o.component?Bo(t,null,a?a.children:null,r,i):Bo(t,null,n,r,i);return i}function sx(t,e,n){if(typeof n=="function")return n(t,e);switch(n){case"pathParamsChange":return!Vr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Vr(t.url,e.url)||!nn(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nh(t,e)||!nn(t.queryParams,e.queryParams);case"paramsChange":default:return!Nh(t,e)}}function zo(t,e,n){let r=bi(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?e?zo(s,e.children.getContext(o),n):zo(s,null,n):zo(s,e,n)}),i.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new Ei(e.outlet.component,i)):n.canDeactivateChecks.push(new Ei(null,i)):n.canDeactivateChecks.push(new Ei(null,i))}function rs(t){return typeof t=="function"}function ax(t){return typeof t=="boolean"}function lx(t){return t&&rs(t.canLoad)}function cx(t){return t&&rs(t.canActivate)}function ux(t){return t&&rs(t.canActivateChild)}function dx(t){return t&&rs(t.canDeactivate)}function fx(t){return t&&rs(t.canMatch)}function hw(t){return t instanceof Ct||t?.name==="EmptyError"}var Pl=Symbol("INITIAL_VALUE");function Mi(){return Re(t=>Bs(t.map(e=>e.pipe(nt(1),ou(Pl)))).pipe(k(e=>{for(let n of e)if(n!==!0){if(n===Pl)return Pl;if(n===!1||hx(n))return n}return!0}),Ce(e=>e!==Pl),nt(1)))}function hx(t){return Wo(t)||t instanceof Xo}function px(t,e){return pe(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?A(j(D({},n),{guardsResult:!0})):gx(s,r,i,t).pipe(pe(a=>a&&ax(a)?mx(r,o,t,e):A(a)),k(a=>j(D({},n),{guardsResult:a})))})}function gx(t,e,n,r){return oe(t).pipe(pe(i=>bx(i.component,i.route,n,e,r)),Bt(i=>i!==!0,!0))}function mx(t,e,n,r){return oe(e).pipe(Tn(i=>Mn(vx(i.route.parent,r),yx(i.route,r),wx(t,i.path,n),Dx(t,i.route,n))),Bt(i=>i!==!0,!0))}function yx(t,e){return t!==null&&e&&e(new Sh(t)),A(!0)}function vx(t,e){return t!==null&&e&&e(new Eh(t)),A(!0)}function Dx(t,e,n){let r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||r.length===0)return A(!0);let i=r.map(o=>Us(()=>{let s=ns(e)??n,a=Ti(o,s),l=cx(a)?a.canActivate(e,t):ot(s,()=>a(e,t));return Yn(l).pipe(Bt())}));return A(i).pipe(Mi())}function wx(t,e,n){let r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>ix(s)).filter(s=>s!==null).map(s=>Us(()=>{let a=s.guards.map(l=>{let c=ns(s.node)??n,u=Ti(l,c),d=ux(u)?u.canActivateChild(r,t):ot(c,()=>u(r,t));return Yn(d).pipe(Bt())});return A(a).pipe(Mi())}));return A(o).pipe(Mi())}function bx(t,e,n,r,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return A(!0);let s=o.map(a=>{let l=ns(e)??i,c=Ti(a,l),u=dx(c)?c.canDeactivate(t,e,n,r):ot(l,()=>c(t,e,n,r));return Yn(u).pipe(Bt())});return A(s).pipe(Mi())}function _x(t,e,n,r){let i=e.canLoad;if(i===void 0||i.length===0)return A(!0);let o=i.map(s=>{let a=Ti(s,t),l=lx(a)?a.canLoad(e,n):ot(t,()=>a(e,n));return Yn(l)});return A(o).pipe(Mi(),pw(r))}function pw(t){return Gc(de(e=>{if(typeof e!="boolean")throw Gl(t,e)}),k(e=>e===!0))}function Cx(t,e,n,r){let i=e.canMatch;if(!i||i.length===0)return A(!0);let o=i.map(s=>{let a=Ti(s,t),l=fx(a)?a.canMatch(e,n):ot(t,()=>a(e,n));return Yn(l)});return A(o).pipe(Mi(),pw(r))}var Jo=class{segmentGroup;constructor(e){this.segmentGroup=e||null}},es=class extends Error{urlTree;constructor(e){super(),this.urlTree=e}};function wi(t){return gt(new Jo(t))}function Ex(t){return gt(new v(4e3,!1))}function Ix(t){return gt(dw(!1,ht.GuardRejected))}var Ph=class{urlSerializer;urlTree;constructor(e,n){this.urlSerializer=e,this.urlTree=n}lineralizeSegments(e,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return A(r);if(i.numberOfChildren>1||!i.children[$])return Ex(`${e.redirectTo}`);i=i.children[$]}}applyRedirectCommands(e,n,r,i,o){if(typeof n!="string"){let a=n,{queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,params:p,data:m,title:y}=i,w=ot(o,()=>a({params:p,data:m,queryParams:l,fragment:c,routeConfig:u,url:d,outlet:h,title:y}));if(w instanceof Cn)throw new es(w);n=w}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,r);if(n[0]==="/")throw new es(s);return s}applyRedirectCreateUrlTree(e,n,r,i){let o=this.createSegmentGroup(e,n.root,r,i);return new Cn(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let r={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(e,n,r,i){let o=this.createSegments(e,n.segments,r,i),s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,r,i)}),new te(o,s)}createSegments(e,n,r,i){return n.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,r))}findPosParam(e,n,r){let i=r[n.path.substring(1)];if(!i)throw new v(4001,!1);return i}findOrReturn(e,n){let r=0;for(let i of n){if(i.path===e.path)return n.splice(r),i;r++}return e}},Fh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Sx(t,e,n,r,i){let o=gw(t,e,n);return o.matched?(r=qA(e,r),Cx(r,e,n,i).pipe(k(s=>s===!0?o:D({},Fh)))):A(o)}function gw(t,e,n){if(e.path==="**")return Mx(n);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||n.length>0)?D({},Fh):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(e.matcher||bA)(n,t,e);if(!i)return D({},Fh);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Mx(t){return{matched:!0,parameters:t.length>0?ZD(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function zD(t,e,n,r){return n.length>0&&xx(t,n,r)?{segmentGroup:new te(e,Ax(r,new te(n,t.children))),slicedSegments:[]}:n.length===0&&Nx(t,n,r)?{segmentGroup:new te(t.segments,Tx(t,n,r,t.children)),slicedSegments:n}:{segmentGroup:new te(t.segments,t.children),slicedSegments:n}}function Tx(t,e,n,r){let i={};for(let o of n)if(Zl(t,e,o)&&!r[Lt(o)]){let s=new te([],{});i[Lt(o)]=s}return D(D({},r),i)}function Ax(t,e){let n={};n[$]=e;for(let r of t)if(r.path===""&&Lt(r)!==$){let i=new te([],{});n[Lt(r)]=i}return n}function xx(t,e,n){return n.some(r=>Zl(t,e,r)&&Lt(r)!==$)}function Nx(t,e,n){return n.some(r=>Zl(t,e,r))}function Zl(t,e,n){return(t.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function Rx(t,e,n){return e.length===0&&!t.children[n]}var kh=class{};function Ox(t,e,n,r,i,o,s="emptyOnly"){return new Lh(t,e,n,r,i,s,o).recognize()}var Px=31,Lh=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(e,n,r,i,o,s,a){this.injector=e,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Ph(this.urlSerializer,this.urlTree)}noMatchError(e){return new v(4002,`'${e.segmentGroup}'`)}recognize(){let e=zD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(k(({children:n,rootSnapshot:r})=>{let i=new ft(r,n),o=new zl("",i),s=BA(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let n=new Ci([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),$,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,$,n).pipe(k(r=>({children:r,rootSnapshot:n})),tt(r=>{if(r instanceof es)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Jo?this.noMatchError(r):r}))}processSegmentGroup(e,n,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(e,n,r,o):this.processSegment(e,n,r,r.segments,i,!0,o).pipe(k(s=>s instanceof ft?[s]:[]))}processChildren(e,n,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return oe(o).pipe(Tn(s=>{let a=r.children[s],l=ZA(n,s);return this.processSegmentGroup(e,l,a,s,i)}),iu((s,a)=>(s.push(...a),s)),An(null),ru(),pe(s=>{if(s===null)return wi(r);let a=mw(s);return Fx(a),A(a)}))}processSegment(e,n,r,i,o,s,a){return oe(n).pipe(Tn(l=>this.processSegmentAgainstRoute(l._injector??e,n,l,r,i,o,s,a).pipe(tt(c=>{if(c instanceof Jo)return A(null);throw c}))),Bt(l=>!!l),tt(l=>{if(hw(l))return Rx(r,i,o)?A(new kh):wi(r);throw l}))}processSegmentAgainstRoute(e,n,r,i,o,s,a,l){return Lt(r)!==s&&(s===$||!Zl(i,o,r))?wi(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,r,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s,l):wi(i)}expandSegmentAgainstRouteUsingRedirect(e,n,r,i,o,s,a){let{matched:l,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=gw(n,i,o);if(!l)return wi(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Px&&(this.allowRedirects=!1));let p=new Ci(o,c,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,GD(i),Lt(i),i.component??i._loadedComponent??null,i,WD(i)),m=Hl(p,a,this.paramsInheritanceStrategy);p.params=Object.freeze(m.params),p.data=Object.freeze(m.data);let y=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,p,e);return this.applyRedirects.lineralizeSegments(i,y).pipe(pe(w=>this.processSegment(e,r,n,w.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,n,r,i,o,s){let a=Sx(n,r,i,e,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(Re(l=>l.matched?(e=r._injector??e,this.getChildConfig(e,r,i).pipe(Re(({routes:c})=>{let u=r._loadedInjector??e,{parameters:d,consumedSegments:h,remainingSegments:p}=l,m=new Ci(h,d,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,GD(r),Lt(r),r.component??r._loadedComponent??null,r,WD(r)),y=Hl(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(y.params),m.data=Object.freeze(y.data);let{segmentGroup:w,slicedSegments:S}=zD(n,h,p,c);if(S.length===0&&w.hasChildren())return this.processChildren(u,c,w,m).pipe(k(P=>new ft(m,P)));if(c.length===0&&S.length===0)return A(new ft(m,[]));let F=Lt(r)===o;return this.processSegment(u,c,w,S,F?$:o,!0,m).pipe(k(P=>new ft(m,P instanceof ft?[P]:[])))}))):wi(n)))}getChildConfig(e,n,r){return n.children?A({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?A({routes:n._loadedRoutes,injector:n._loadedInjector}):_x(e,n,r,this.urlSerializer).pipe(pe(i=>i?this.configLoader.loadChildren(e,n).pipe(de(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):Ix(n))):A({routes:[],injector:e})}};function Fx(t){t.sort((e,n)=>e.value.outlet===$?-1:n.value.outlet===$?1:e.value.outlet.localeCompare(n.value.outlet))}function kx(t){let e=t.value.routeConfig;return e&&e.path===""}function mw(t){let e=[],n=new Set;for(let r of t){if(!kx(r)){e.push(r);continue}let i=e.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):e.push(r)}for(let r of n){let i=mw(r.children);e.push(new ft(r.value,i))}return e.filter(r=>!n.has(r))}function GD(t){return t.data||{}}function WD(t){return t.resolve||{}}function Lx(t,e,n,r,i,o){return pe(s=>Ox(t,e,n,r,s.extractedUrl,i,o).pipe(k(({state:a,tree:l})=>j(D({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function Vx(t,e){return pe(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return A(n);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of yw(l))s.add(c);let a=0;return oe(s).pipe(Tn(l=>o.has(l)?jx(l,r,t,e):(l.data=Hl(l,l.parent,t).resolve,A(void 0))),de(()=>a++),ti(1),pe(l=>a===s.size?A(n):ke))})}function yw(t){let e=t.children.map(n=>yw(n)).flat();return[t,...e]}function jx(t,e,n,r){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!cw(i)&&(o[ts]=i.title),Bx(o,t,e,r).pipe(k(s=>(t._resolvedData=s,t.data=Hl(t,t.parent,n).resolve,null)))}function Bx(t,e,n,r){let i=hh(t);if(i.length===0)return A({});let o={};return oe(i).pipe(pe(s=>Ux(t[s],e,n,r).pipe(Bt(),de(a=>{if(a instanceof Xo)throw Gl(new Go,a);o[s]=a}))),ti(1),qi(o),tt(s=>hw(s)?ke:gt(s)))}function Ux(t,e,n,r){let i=ns(e)??r,o=Ti(t,i),s=o.resolve?o.resolve(e,n):ot(i,()=>o(e,n));return Yn(s)}function dh(t){return Re(e=>{let n=t(e);return n?oe(n).pipe(k(()=>e)):A(e)})}var vw=(()=>{class t{buildTitle(n){let r,i=n.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===$);return r}getResolvedTitleForRoute(n){return n.data[ts]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g($x),providedIn:"root"})}return t})(),$x=(()=>{class t extends vw{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(O(cD))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$h=new I("",{providedIn:"root",factory:()=>({})}),Hx=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=se({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(r,i){r&1&&U(0,"router-outlet")},dependencies:[KA],encapsulation:2})}return t})();function Hh(t){let e=t.children&&t.children.map(Hh),n=e?j(D({},t),{children:e}):D({},t);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==$&&(n.component=Hx),n}var zh=new I(""),zx=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(hf);loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return A(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Yn(n.loadComponent()).pipe(k(Dw),de(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),ur(()=>{this.componentLoaders.delete(n)})),i=new Kr(r,()=>new _e).pipe(Qr());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return A({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Gx(r,this.compiler,n,this.onLoadEndListener).pipe(ur(()=>{this.childrenLoaders.delete(r)})),s=new Kr(o,()=>new _e).pipe(Qr());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Gx(t,e,n,r){return Yn(t.loadChildren()).pipe(k(Dw),pe(i=>i instanceof ao||Array.isArray(i)?A(i):oe(e.compileModuleAsync(i))),k(i=>{r&&r(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(zh,[],{optional:!0,self:!0}).flat()),{routes:s.map(Hh),injector:o}}))}function Wx(t){return t&&typeof t=="object"&&"default"in t}function Dw(t){return Wx(t)?t.default:t}var Gh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(qx),providedIn:"root"})}return t})(),qx=(()=>{class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Zx=new I("");var Yx=new I(""),Qx=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new _e;transitionAbortSubject=new _e;configLoader=g(zx);environmentInjector=g(Ke);urlSerializer=g(jh);rootContexts=g(ql);location=g(Co);inputBindingEnabled=g(Uh,{optional:!0})!==null;titleStrategy=g(vw);options=g($h,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(Gh);createViewTransition=g(Zx,{optional:!0});navigationErrorHandler=g(Yx,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>A(void 0);rootComponentType=null;constructor(){let n=i=>this.events.next(new _h(i)),r=i=>this.events.next(new Ch(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(j(D(D({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,i){return this.transitions=new De({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Ho,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ce(o=>o.id!==0),k(o=>j(D({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Re(o=>{let s=!1,a=!1;return A(o).pipe(Re(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",ht.SupersededByNewNavigation),ke;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?j(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!c&&u!=="reload"){let d="";return this.events.next(new Br(l.id,this.urlSerializer.serialize(l.rawUrl),d,yh.IgnoredSameUrlNavigation)),l.resolve(!1),ke}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return A(l).pipe(Re(d=>{let h=this.transitions?.getValue();return this.events.next(new Zo(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?ke:Promise.resolve(d)}),Lx(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),de(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=j(D({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new Bl(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:d,extractedUrl:h,source:p,restoredState:m,extras:y}=l,w=new Zo(d,this.urlSerializer.serialize(h),p,m);this.events.next(w);let S=aw(this.rootComponentType).snapshot;return this.currentTransition=o=j(D({},l),{targetSnapshot:S,urlAfterRedirects:h,extras:j(D({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,A(o)}else{let d="";return this.events.next(new Br(l.id,this.urlSerializer.serialize(l.extractedUrl),d,yh.IgnoredByUrlHandlingStrategy)),l.resolve(!1),ke}}),de(l=>{let c=new vh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),k(l=>(this.currentTransition=o=j(D({},l),{guards:rx(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),o)),px(this.environmentInjector,l=>this.events.next(l)),de(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw Gl(this.urlSerializer,l.guardsResult);let c=new Dh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),Ce(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",ht.GuardRejected),!1)),dh(l=>{if(l.guards.canActivateChecks.length)return A(l).pipe(de(c=>{let u=new wh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Re(c=>{let u=!1;return A(c).pipe(Vx(this.paramsInheritanceStrategy,this.environmentInjector),de({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",ht.NoDataFromResolver)}}))}),de(c=>{let u=new bh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),dh(l=>{let c=u=>{let d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(de(h=>{u.component=h}),k(()=>{})));for(let h of u.children)d.push(...c(h));return d};return Bs(c(l.targetSnapshot.root)).pipe(An(null),nt(1))}),dh(()=>this.afterPreactivation()),Re(()=>{let{currentSnapshot:l,targetSnapshot:c}=o,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?oe(u).pipe(k(()=>o)):A(o)}),k(l=>{let c=XA(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o=j(D({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),de(()=>{this.events.next(new Qo)}),nx(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),nt(1),de({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new jr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Zi(this.transitionAbortSubject.pipe(de(l=>{throw l}))),ur(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",ht.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),tt(l=>{if(a=!0,fw(l))this.events.next(new _n(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),tx(l)?this.events.next(new Si(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{let c=new Yo(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{let u=ot(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof Xo){let{message:d,cancellationCode:h}=Gl(this.urlSerializer,u);this.events.next(new _n(o.id,this.urlSerializer.serialize(o.extractedUrl),d,h)),this.events.next(new Si(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),l}catch(u){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(u)}}return ke}))}))}cancelNavigationTransition(n,r,i){let o=new _n(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Kx(t){return t!==Ho}var Xx=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(Jx),providedIn:"root"})}return t})(),Vh=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},Jx=(()=>{class t extends Vh{static \u0275fac=(()=>{let n;return function(i){return(n||(n=Sr(t)))(i||t)}})();static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ww=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:()=>g(eN),providedIn:"root"})}return t})(),eN=(()=>{class t extends ww{location=g(Co);urlSerializer=g(jh);options=g($h,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=g(Gh);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Cn;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=aw(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Zo)this.stateMemento=this.createStateMemento();else if(n instanceof Br)this.rawUrlTree=r.initialUrl;else if(n instanceof Bl){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else n instanceof Qo?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof _n&&(n.code===ht.GuardRejected||n.code===ht.NoDataFromResolver)?this.restoreHistory(r):n instanceof Yo?this.restoreHistory(r,!0):n instanceof jr&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let i=n instanceof Cn?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let o=this.browserPageId,s=D(D({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(i,"",s)}else{let o=D(D({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Sr(t)))(i||t)}})();static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Uo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Uo||{});function tN(t,e){t.events.pipe(Ce(n=>n instanceof jr||n instanceof _n||n instanceof Yo||n instanceof Br),k(n=>n instanceof jr||n instanceof Br?Uo.COMPLETE:(n instanceof _n?n.code===ht.Redirect||n.code===ht.SupersededByNewNavigation:!1)?Uo.REDIRECTING:Uo.FAILED),Ce(n=>n!==Uo.REDIRECTING),nt(1)).subscribe(()=>{e()})}var nN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ai=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(el);stateManager=g(ww);options=g($h,{optional:!0})||{};pendingTasks=g(hn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Qx);urlSerializer=g(jh);location=g(Co);urlHandlingStrategy=g(Gh);_events=new _e;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(Xx);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(zh,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(Uh,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new me;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof _n&&r.code!==ht.Redirect&&r.code!==ht.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof jr)this.navigated=!0;else if(r instanceof Si){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),l=D({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Kx(i.source)},s);this.scheduleNavigation(a,Ho,null,l,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}oN(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ho,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let l=D({},i);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Hh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=D(D({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let h=i?i.snapshot:this.routerState.snapshot.root;d=rw(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return iw(d,n,u,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){let i=Wo(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Ho,null,r)}navigate(n,r={skipLocationChange:!1}){return iN(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let i;if(r===!0?i=D({},nN):r===!1?i=D({},rN):i=r,Wo(n))return BD(this.currentUrlTree,n,i);let o=this.parseUrl(n);return BD(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.entries(n).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h});let u=this.pendingTasks.add();return tN(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function iN(t){for(let e=0;en.\u0275providers)])}function aN(t){return t.routerState.root}function lN(){let t=g(it);return e=>{let n=t.get(Un);if(e!==n.components[0])return;let r=t.get(Ai),i=t.get(cN);t.get(uN)===1&&r.initialNavigation(),t.get(dN,null,q.Optional)?.setUpPreloading(),t.get(sN,null,q.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var cN=new I("",{factory:()=>new _e}),uN=new I("",{providedIn:"root",factory:()=>1});var dN=new I("");var Yl=new I("DOMAIN");var Ur=class t{constructor(){this.domain=g(Yl);this.http=g(Cf);this.platformId=g(ge);this.transferState=g(Ha)}getData(e,n,r){if(r){let o=this.transferState.hasKey(r),s=this.transferState.get(r,n);if(o)return A(s)}let i=Eo(this.platformId)?this.domain[1]:this.domain[0];return this.http.get(e.startsWith("http")?e:`${i}/${e}`).pipe(de(o=>{r&&this.transferState.set(r,o)}),tt(()=>(r&&this.transferState.set(r,n),A(n))))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}};var xi=class t{constructor(){this.http=g(Ur);this.platformId=g(ge)}getAllStars(){return ct(this.platformId)?A(0):this.http.getData("https://api.github.com/users/JsDaddy/repos",[],"all-stars").pipe(Gi(),Jc((e,{stargazers_count:n})=>e+n,0))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}};var Ql=new I("HIGHLIGHT_OPTIONS");var Ni=function(t){return t.FULL_WITH_CORE_LIBRARY_IMPORTS="The full library and the core library were imported, only one of them should be imported!",t.FULL_WITH_LANGUAGE_IMPORTS="The highlighting languages were imported they are not needed!",t.CORE_WITHOUT_LANGUAGE_IMPORTS="The highlighting languages were not imported!",t.LANGUAGE_WITHOUT_CORE_IMPORTS="The core library was not imported!",t.NO_FULL_AND_NO_CORE_IMPORTS="Highlight.js library was not imported!",t}(Ni||{}),fN=(()=>{class t{constructor(){this.document=g(ae),this.isPlatformBrowser=Eo(g(ge)),this.options=g(Ql,{optional:!0}),this._ready=new De(null),this.ready=Kc(this._ready.asObservable().pipe(Ce(n=>!!n))),this.isPlatformBrowser&&(this.document.defaultView.hljs?this._ready.next(this.document.defaultView.hljs):this._loadLibrary().pipe(Re(n=>this.options?.lineNumbersLoader?(this.document.defaultView.hljs=n,this.loadLineNumbers().pipe(de(r=>{r.activateLineNumbers(),this._ready.next(n)}))):(this._ready.next(n),ke)),tt(n=>(console.error("[HLJS] ",n),this._ready.error(n),ke))).subscribe(),this.options?.themePath&&this.loadTheme(this.options.themePath))}_loadLibrary(){if(this.options){if(this.options.fullLibraryLoader&&this.options.coreLibraryLoader)return gt(()=>Ni.FULL_WITH_CORE_LIBRARY_IMPORTS);if(this.options.fullLibraryLoader&&this.options.languages)return gt(()=>Ni.FULL_WITH_LANGUAGE_IMPORTS);if(this.options.coreLibraryLoader&&!this.options.languages)return gt(()=>Ni.CORE_WITHOUT_LANGUAGE_IMPORTS);if(!this.options.coreLibraryLoader&&this.options.languages)return gt(()=>Ni.LANGUAGE_WITHOUT_CORE_IMPORTS);if(this.options.fullLibraryLoader)return this.loadFullLibrary();if(this.options.coreLibraryLoader&&this.options.languages&&Object.keys(this.options.languages).length)return this.loadCoreLibrary().pipe(Re(n=>this._loadLanguages(n)))}return gt(()=>Ni.NO_FULL_AND_NO_CORE_IMPORTS)}_loadLanguages(n){let r=Object.entries(this.options.languages).map(([i,o])=>Wh(o()).pipe(de(s=>n.registerLanguage(i,s))));return Wi(r).pipe(k(()=>n))}loadCoreLibrary(){return Wh(this.options.coreLibraryLoader())}loadFullLibrary(){return Wh(this.options.fullLibraryLoader())}loadLineNumbers(){return oe(this.options.lineNumbersLoader())}setTheme(n){this.isPlatformBrowser&&(this._themeLinkElement?this._themeLinkElement.href=n:this.loadTheme(n))}loadTheme(n){this._themeLinkElement=this.document.createElement("link"),this._themeLinkElement.href=n,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.document.head.appendChild(this._themeLinkElement)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Wh=t=>oe(t).pipe(Ce(e=>!!e?.default),k(e=>e.default)),hN=(()=>{class t{constructor(){this.loader=g(fN),this.options=g(Ql,{optional:!0}),this.hljsSignal=qe(null),this.hljs=vn(()=>this.hljsSignal()),this.loader.ready.then(n=>{this.hljsSignal.set(n),this.options?.highlightOptions&&n.configure(this.options.highlightOptions)})}async highlight(n,r){return(await this.loader.ready).highlight(n,r)}async highlightAuto(n,r){return(await this.loader.ready).highlightAuto(n,r)}async highlightElement(n){(await this.loader.ready).highlightElement(n)}async highlightAll(){(await this.loader.ready).highlightAll()}async configure(n){(await this.loader.ready).configure(n)}async registerLanguage(n,r){(await this.loader.ready).registerLanguage(n,r)}async unregisterLanguage(n){(await this.loader.ready).unregisterLanguage(n)}async registerAliases(n,{languageName:r}){(await this.loader.ready).registerAliases(n,{languageName:r})}async listLanguages(){return(await this.loader.ready).listLanguages()}async getLanguage(n){return(await this.loader.ready).getLanguage(n)}async safeMode(){(await this.loader.ready).safeMode()}async debugMode(){(await this.loader.ready).debugMode()}async lineNumbersBlock(n,r){let i=await this.loader.ready;i.lineNumbersBlock&&i.lineNumbersBlock(n,r)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),qh;function pN(){if(!qh)try{qh=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:t=>t})}catch{}return qh}function gN(t){return pN()?.createHTML(t)||t}var _w=(()=>{class t{constructor(){this._hljs=g(hN),this._nativeElement=g(ce).nativeElement,this._sanitizer=g(Rf),this._platform=g(ge),Eo(this._platform)&&(Ft(()=>{let n=this.code();this.setTextContent(n||""),n&&this.highlightElement(n)}),Ft(()=>{let n=this.highlightResult();this.setInnerHTML(n?.value),this.highlighted.emit(n)}))}setTextContent(n){requestAnimationFrame(()=>this._nativeElement.textContent=n)}setInnerHTML(n){requestAnimationFrame(()=>this._nativeElement.innerHTML=gN(this._sanitizer.sanitize(xt.HTML,n)||""))}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275dir=ye({type:t,standalone:!1})}}return t})(),Cw=(()=>{class t extends _w{constructor(){super(...arguments),this.code=X(null,{alias:"highlight"}),this.highlightResult=qe(null),this.highlighted=new we}async highlightElement(n){let r=await this._hljs.highlight(n,{language:this.language,ignoreIllegals:this.ignoreIllegals});this.highlightResult.set(r)}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Sr(t)))(i||t)}})()}static{this.\u0275dir=ye({type:t,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(r,i){r&2&&Xt("hljs",!0)},inputs:{code:[1,"highlight","code"],language:"language",ignoreIllegals:[2,"ignoreIllegals","ignoreIllegals",yn]},outputs:{highlighted:"highlighted"},features:[Me([{provide:_w,useExisting:t}]),vo,Nt]})}}return t})();var Ew=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=Qt({type:t})}static{this.\u0275inj=qt({})}}return t})();var Kl=new I("config"),Zh=new I("NEW_CONFIG"),Yh=new I("INITIAL_CONFIG"),Iw={img:"data:image/svg+xml;base64,PHN2ZyBjbGFzcz0ibGRzLXNwaW5uZXIiIHdpZHRoPSIzOXB4IiAgaGVpZ2h0PSIzOXB4IiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIiBzdHlsZT0iYmFja2dyb3VuZDogbm9uZTsiPjxnIHRyYW5zZm9ybT0icm90YXRlKDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9Ii0zLjUiIHJ4PSIwLjk1MDAwMDAwMDAwMDAwMDEiIHJ5PSItMC4wNyIgd2lkdGg9IjUiIGhlaWdodD0iMjciIGZpbGw9IiNGOTc3NTYiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49Ii0wLjkxNjY2NjY2NjY2NjY2NjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMCA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iLTMuNSIgcng9IjAuOTUwMDAwMDAwMDAwMDAwMSIgcnk9Ii0wLjA3IiB3aWR0aD0iNSIgaGVpZ2h0PSIyNyIgZmlsbD0iI0Y5Nzc1NiI+ICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBkdXI9IjFzIiBiZWdpbj0iLTAuODMzMzMzMzMzMzMzMzMzNHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDYwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC43NXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDkwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC42NjY2NjY2NjY2NjY2NjY2cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC41ODMzMzMzMzMzMzMzMzM0cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTUwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC41cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTgwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC40MTY2NjY2NjY2NjY2NjY3cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMjEwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC4zMzMzMzMzMzMzMzMzMzMzcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMjQwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSItMC4yNXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+ICA8L3JlY3Q+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDI3MCA1MCA1MCkiPiAgPHJlY3QgeD0iNDcuNSIgeT0iLTMuNSIgcng9IjAuOTUwMDAwMDAwMDAwMDAwMSIgcnk9Ii0wLjA3IiB3aWR0aD0iNSIgaGVpZ2h0PSIyNyIgZmlsbD0iI0Y5Nzc1NiI+ICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBkdXI9IjFzIiBiZWdpbj0iLTAuMTY2NjY2NjY2NjY2NjY2NjZzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPiAgPC9yZWN0PjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgzMDAgNTAgNTApIj4gIDxyZWN0IHg9IjQ3LjUiIHk9Ii0zLjUiIHJ4PSIwLjk1MDAwMDAwMDAwMDAwMDEiIHJ5PSItMC4wNyIgd2lkdGg9IjUiIGhlaWdodD0iMjciIGZpbGw9IiNGOTc3NTYiPiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjE7MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49Ii0wLjA4MzMzMzMzMzMzMzMzMzMzcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMzMwIDUwIDUwKSI+ICA8cmVjdCB4PSI0Ny41IiB5PSItMy41IiByeD0iMC45NTAwMDAwMDAwMDAwMDAxIiByeT0iLTAuMDciIHdpZHRoPSI1IiBoZWlnaHQ9IjI3IiBmaWxsPSIjRjk3NzU2Ij4gICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIxOzAiIGtleVRpbWVzPSIwOzEiIGR1cj0iMXMiIGJlZ2luPSIwcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT4gIDwvcmVjdD48L2c+PC9zdmc+",loaderStyles:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",background:"rgba(255, 255, 255, 0.8)","z-index":"50",display:"flex","justify-content":"center","align-items":"center"},imgStyles:{width:"30px"},hostStyles:{position:"relative"},rotate:{iterations:1/0}};var Ri=class t{constructor(){this._config=g(Kl);this._el=g(ce);this._renderer=g(gn);this.ngxLoaderIndicator=X(!1);Ft(()=>{this.processValue(this.ngxLoaderIndicator())})}processValue(e){if(!e){this.loaderEl instanceof HTMLDivElement&&this._setStyles(this.loaderEl,{display:"none"});return}let{rotate:n,hostStyles:r,loaderStyles:i,imgStyles:o,img:s}=this._config;this.loaderEl=this._renderer.createElement("div");let a=this._renderer.createElement("img");a.animate([{transform:"rotate(360deg)"},{transform:"rotate(0deg)"}],n),this._renderer.appendChild(this._el.nativeElement,this.loaderEl),this._renderer.appendChild(this.loaderEl,a),this._setStyles(this._el.nativeElement,r),this._setStyles(this.loaderEl,i),this._setStyles(a,o),s&&this._renderer.setAttribute(a,"src",s)}_setStyles(e,n){n&&Object.keys(n).forEach(r=>{this._renderer.setStyle(e,r,n[r])})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=ye({type:t,selectors:[["","ngxLoaderIndicator",""]],inputs:{ngxLoaderIndicator:[1,"ngxLoaderIndicator"]}})}};function yN(t,e){let n=e?.loaderStyles??null,r=e?.imgStyles??null,i=e?.rotate??null;return j(D(D({},t),e),{loaderStyles:D(D({},t.loaderStyles),n),imgStyles:D(D({},t.imgStyles),r),rotate:D(D({},t.rotate),i)})}function Qh(t){return[{provide:Zh,useValue:t},{provide:Yh,useValue:Iw},{provide:Kl,useFactory:yN,deps:[Yh,Zh]}]}function Sw(t){return jn(Qh(t))}var Xl=class t{transform(e){return e?"block":"hidden"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Kt({name:"hide",type:t,pure:!0})}};var Xe=class t{transform(e,n="",r=!1){return e?n?`assets/images/${n}/${e}.${r?"webp":"svg"}`:`assets/images/${e}.svg`:""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Kt({name:"asset",type:t,pure:!0})}};var Qn=class t{transform(e){return`Navigate to ${e??""}`}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Kt({name:"anchorLabel",type:t,pure:!0})}};var Oi=class t{constructor(){this.jsDaddyWebsite="https://jsdaddy.io/";this.openSourceVisitBtnPath="open-source/visit-btn"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-visit-btn"]],decls:13,vars:8,consts:[["target","_self",3,"href"],[1,"flex","items-center","justify-between","bg-yellow","text-text","flex-row","py-15px","px-[32px]","w-full","h-[45px]","rounded-10px"],["width","20","height","20","alt","Chevron button",3,"ngSrc"]],template:function(n,r){n&1&&(b(0,"a",0),re(1,"anchorLabel"),f(2,` `),b(3,"button",1),f(4,` `),b(5,"span"),f(6,"Visit WebSite"),_(),f(7,` `),U(8,"img",2),re(9,"asset"),f(10,` @@ -192,7 +192,7 @@ providers: [ `),_(),f(45,` `)),t&2){let n=e.$implicit,r=Se();C(),Ue(r.activeCardId()===n.id?"border border-solid border-yellow bg-yellow/[.05]":""),C(4),Oe(` `,n.header,` - `),C(2),V("id",n.anchor),C(6),V("ngSrc",be(14,10,"hand-box",r.openSourceCardsPath)),C(12),$n(n.customCodeProvider?25:-1),C(3),V("highlight",n.code),C(2),V("ngSrc",be(31,13,"input-vector",r.openSourceCardsPath)),C(10),$n(n.cardType?40:-1),C(),$n(n.cardType?-1:41)}}var Sc=class t{constructor(){this.cardDocs=X();this.cards=nl("cards",{read:ce});this.openSourceCardsPath="open-source/cards";this.scrollService=g(os);this.activeCardId=is(this.scrollService.activeCard$);Ft(()=>{this.scrollService.onScroll(this.cards())})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-cards"]],viewQuery:function(n,r){n&1&&bo(r.cards,mR,5,ce),n&2&&ol()},inputs:{cardDocs:[1,"cardDocs"]},features:[Me([os])],decls:2,vars:0,consts:[["cards",""],[1,"flex","flex-col","p-2.5","gap-2.5","bg-dark/[.02]","rounded-15px"],[1,"ml-4","flex","items-center","text-title","text-dark","uppercase","tracking-[.25em]"],[1,"flex","justify-between","gap-30px","mob:flex-col","mob:gap-15px","scroll-mt-[185px]",3,"id"],[1,"flex-[55%]","rounded-10px","bg-full-white","p-15px"],[1,"flex","items-start","gap-2.5","mb-5"],["width","20","height","20","alt","Hand with box",3,"ngSrc"],[1,"text-span","text-dark/[.25]"],[1,"uppercase","tracking-[.25em]","text-span","text-dark/[.45]"],[1,"flex","flex-col","mt-2.5","gap-2.5"],[1,"flex","text-span"],["type","text","language","html",1,"bg-white","w-full","h-fit","pl-15px","rounded-10px","border-none","overflow-hidden","whitespace-pre-line",3,"highlight"],["height","18","width","13","alt","Input vector",1,"relative","right-5","self-center",3,"ngSrc"],[1,"flex-[45%]","rounded-10px","p-15px","bg-dark"],[1,"flex","flex-col","gap-30px"],["language","html",1,"bg-white","w-full","h-fit","pl-15px","rounded-10px","border-none","overflow-hidden","whitespace-pre-wrap",3,"highlight"]],template:function(n,r){n&1&&Rt(0,bR,46,16,null,null,yR),n&2&&Ot(r.cardDocs())},dependencies:[Dt,Ew,Cw,Xe,sc,Ic],styles:["[_nghost-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;gap:1rem;border-top-width:1px;border-top-color:#0000001a;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:1.25rem 1rem;padding-left:22px;padding-right:1rem}"]})}};var Mc=class t{constructor(){this.card=xw;this.lists=Aw;this.githubMaskLink="https://jsdaddy.github.io/ngx-loader-indicator/";this.title="Ngx-Loader Indicator";this.subtitle="Awesome loader for angular applications. No wrappers only you elements";this.chips=["Website","Angular","Typescript","Carousel","Spinner"]}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-root"]],features:[Me([{provide:ic,useValue:"1.10.1"}])],decls:22,vars:6,consts:[[1,"flex","flex-col"],[3,"activeLink"],[1,"flex","overflow-auto","mt-[64px]"],[1,"drawer-container","flex","flex-col"],[3,"lists"],[1,"flex","flex-col","w-full","p-0","mt-[55px]","desk:mt-0","desk:pl-[310px]"],[3,"title","subtitle","chips"],[3,"cardDocs"]],template:function(n,r){n&1&&(b(0,"div",0),f(1,` + `),C(2),V("id",n.anchor),C(6),V("ngSrc",be(14,10,"hand-box",r.openSourceCardsPath)),C(12),$n(n.customCodeProvider?25:-1),C(3),V("highlight",n.code),C(2),V("ngSrc",be(31,13,"input-vector",r.openSourceCardsPath)),C(10),$n(n.cardType?40:-1),C(),$n(n.cardType?-1:41)}}var Sc=class t{constructor(){this.cardDocs=X();this.cards=nl("cards",{read:ce});this.openSourceCardsPath="open-source/cards";this.scrollService=g(os);this.activeCardId=is(this.scrollService.activeCard$);Ft(()=>{this.scrollService.onScroll(this.cards())})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-cards"]],viewQuery:function(n,r){n&1&&bo(r.cards,mR,5,ce),n&2&&ol()},inputs:{cardDocs:[1,"cardDocs"]},features:[Me([os])],decls:2,vars:0,consts:[["cards",""],[1,"flex","flex-col","p-2.5","gap-2.5","bg-dark/[.02]","rounded-15px"],[1,"ml-4","flex","items-center","text-title","text-dark","uppercase","tracking-[.25em]"],[1,"flex","justify-between","gap-30px","mob:flex-col","mob:gap-15px","scroll-mt-[185px]",3,"id"],[1,"flex-[55%]","rounded-10px","bg-full-white","p-15px"],[1,"flex","items-start","gap-2.5","mb-5"],["width","20","height","20","alt","Hand with box",3,"ngSrc"],[1,"text-span","text-dark/[.25]"],[1,"uppercase","tracking-[.25em]","text-span","text-dark/[.45]"],[1,"flex","flex-col","mt-2.5","gap-2.5"],[1,"flex","text-span"],["type","text","language","html",1,"bg-white","w-full","h-fit","pl-15px","rounded-10px","border-none","overflow-hidden","whitespace-pre-line",3,"highlight"],["height","18","width","13","alt","Input vector",1,"relative","right-5","self-center",3,"ngSrc"],[1,"flex-[45%]","rounded-10px","p-15px","bg-dark"],[1,"flex","flex-col","gap-30px"],["language","html",1,"bg-white","w-full","h-fit","pl-15px","rounded-10px","border-none","overflow-hidden","whitespace-pre-wrap",3,"highlight"]],template:function(n,r){n&1&&Rt(0,bR,46,16,null,null,yR),n&2&&Ot(r.cardDocs())},dependencies:[Dt,Ew,Cw,Xe,sc,Ic],styles:["[_nghost-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;gap:1rem;border-top-width:1px;border-top-color:#0000001a;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:1.25rem 1rem;padding-left:22px;padding-right:1rem}"]})}};var Mc=class t{constructor(){this.card=xw;this.lists=Aw;this.githubMaskLink="https://jsdaddy.github.io/ngx-loader-indicator/";this.title="Ngx-Loader Indicator";this.subtitle="Awesome loader for angular applications. No wrappers only you elements";this.chips=["Website","Angular","Typescript","Carousel","Spinner"]}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=se({type:t,selectors:[["jsdaddy-open-source-root"]],features:[Me([{provide:ic,useValue:"1.10.2"}])],decls:22,vars:6,consts:[[1,"flex","flex-col"],[3,"activeLink"],[1,"flex","overflow-auto","mt-[64px]"],[1,"drawer-container","flex","flex-col"],[3,"lists"],[1,"flex","flex-col","w-full","p-0","mt-[55px]","desk:mt-0","desk:pl-[310px]"],[3,"title","subtitle","chips"],[3,"cardDocs"]],template:function(n,r){n&1&&(b(0,"div",0),f(1,` `),U(2,"jsdaddy-open-source-header",1),f(3,` `),b(4,"section",2),f(5,` `),b(6,"div",3),f(7,`