|
- "use strict";(self.webpackChunkiot_web_ui=self.webpackChunkiot_web_ui||[]).push([[179],{8943:(dt,Te,S)=>{S.d(Te,{m:()=>Kr});var s=S(5879),F=S(1462),B=S(6814);S(2495),S(9773),S(6593);let ue=(()=>{class T{}return T.\u0275fac=function(V){return new(V||T)},T.\u0275mod=s.oAB({type:T}),T.\u0275inj=s.cJS({imports:[F.IR]}),T})();var ve=S(3814);let Kn=(()=>{class T{}return T.\u0275fac=function(V){return new(V||T)},T.\u0275mod=s.oAB({type:T}),T.\u0275inj=s.cJS({imports:[F.IR]}),T})(),Nr=(()=>{class T{constructor(V,le){(0,B.PM)(le)&&!V&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(V,le=[]){return{ngModule:T,providers:V.serverLoaded?[{provide:F.WU,useValue:{...F.g5,...V}},{provide:F.Bs,useValue:le,multi:!0},{provide:F.wY,useValue:!0}]:[{provide:F.WU,useValue:{...F.g5,...V}},{provide:F.Bs,useValue:le,multi:!0}]}}}return T.\u0275fac=function(V){return new(V||T)(s.LFG(F.wY),s.LFG(s.Lbi))},T.\u0275mod=s.oAB({type:T}),T.\u0275inj=s.cJS({imports:[ve.ae,ue,Kn,ve.ae,ue,Kn]}),T})();var Yr=S(2296);let Kr=(()=>{class T{static#e=this.\u0275fac=function(le){return new(le||T)};static#t=this.\u0275mod=s.oAB({type:T});static#n=this.\u0275inj=s.cJS({imports:[Yr.ot,Nr]})}return T})()},396:(dt,Te,S)=>{var s=S(6593),F=S(2058),B=S(5879);const re=[{path:"",redirectTo:"/overview",pathMatch:"full"},{path:"overview",loadChildren:()=>S.e(299).then(S.bind(S,7299)).then(E=>E.OverviewModule)}];let ie=(()=>{class E{static#e=this.\u0275fac=function(v){return new(v||E)};static#t=this.\u0275mod=B.oAB({type:E});static#n=this.\u0275inj=B.cJS({imports:[F.Bz.forRoot(re),F.Bz]})}return E})(),ne=(()=>{class E{constructor(){this.title="Iot-web-ui"}static#e=this.\u0275fac=function(v){return new(v||E)};static#t=this.\u0275cmp=B.Xpm({type:E,selectors:[["app-root"]],decls:1,vars:0,template:function(v,C){1&v&&B._UZ(0,"router-outlet")},dependencies:[F.lC]})}return E})();class Ce{}class Ve{}const we="*";function je(E,l=null){return{type:2,steps:E,options:l}}function ke(E){return{type:6,styles:E,offset:null}}class Me{constructor(l=0,f=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=l+f}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}onStart(l){this._originalOnStartFns.push(l),this._onStartFns.push(l)}onDone(l){this._originalOnDoneFns.push(l),this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(l=>l()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(l){this._position=this.totalTime?l*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(l){const f="start"==l?this._onStartFns:this._onDoneFns;f.forEach(v=>v()),f.length=0}}class Be{constructor(l){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=l;let f=0,v=0,C=0;const N=this.players.length;0==N?queueMicrotask(()=>this._onFinish()):this.players.forEach(W=>{W.onDone(()=>{++f==N&&this._onFinish()}),W.onDestroy(()=>{++v==N&&this._onDestroy()}),W.onStart(()=>{++C==N&&this._onStart()})}),this.totalTime=this.players.reduce((W,K)=>Math.max(W,K.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this.players.forEach(l=>l.init())}onStart(l){this._onStartFns.push(l)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(l=>l()),this._onStartFns=[])}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(l=>l.play())}pause(){this.players.forEach(l=>l.pause())}restart(){this.players.forEach(l=>l.restart())}finish(){this._onFinish(),this.players.forEach(l=>l.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(l=>l.destroy()),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}reset(){this.players.forEach(l=>l.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(l){const f=l*this.totalTime;this.players.forEach(v=>{const C=v.totalTime?Math.min(1,f/v.totalTime):1;v.setPosition(C)})}getPosition(){const l=this.players.reduce((f,v)=>null===f||v.totalTime>f.totalTime?v:f,null);return null!=l?l.getPosition():0}beforeDestroy(){this.players.forEach(l=>{l.beforeDestroy&&l.beforeDestroy()})}triggerCallback(l){const f="start"==l?this._onStartFns:this._onDoneFns;f.forEach(v=>v()),f.length=0}}function vt(E){return new B.vHH(3e3,!1)}function On(E){switch(E.length){case 0:return new Me;case 1:return E[0];default:return new Be(E)}}function Qt(E,l,f=new Map,v=new Map){const C=[],N=[];let W=-1,K=null;if(l.forEach(he=>{const Ne=he.get("offset"),it=Ne==W,st=it&&K||new Map;he.forEach((qt,h)=>{let x=h,y=qt;if("offset"!==h)switch(x=E.normalizePropertyName(x,C),y){case"!":y=f.get(h);break;case we:y=v.get(h);break;default:y=E.normalizeStyleValue(h,x,y,C)}st.set(x,y)}),it||N.push(st),K=st,W=Ne}),C.length)throw function nn(E){return new B.vHH(3502,!1)}();return N}function hn(E,l,f,v){switch(l){case"start":E.onStart(()=>v(f&&Ut(f,"start",E)));break;case"done":E.onDone(()=>v(f&&Ut(f,"done",E)));break;case"destroy":E.onDestroy(()=>v(f&&Ut(f,"destroy",E)))}}function Ut(E,l,f){const N=ut(E.element,E.triggerName,E.fromState,E.toState,l||E.phaseName,f.totalTime??E.totalTime,!!f.disabled),W=E._data;return null!=W&&(N._data=W),N}function ut(E,l,f,v,C="",N=0,W){return{element:E,triggerName:l,fromState:f,toState:v,phaseName:C,totalTime:N,disabled:!!W}}function _n(E,l,f){let v=E.get(l);return v||E.set(l,v=f),v}function te(E){const l=E.indexOf(":");return[E.substring(1,l),E.slice(l+1)]}const Fe=(()=>typeof document>"u"?null:document.documentElement)();function R(E){const l=E.parentNode||E.host||null;return l===Fe?null:l}let ee=null,Ie=!1;function se(E,l){for(;l;){if(l===E)return!0;l=R(l)}return!1}function Pe(E,l,f){if(f)return Array.from(E.querySelectorAll(l));const v=E.querySelector(l);return v?[v]:[]}let fe=(()=>{class E{validateStyleProperty(f){return function Xe(E){ee||(ee=function He(){return typeof document<"u"?document.body:null}()||{},Ie=!!ee.style&&"WebkitAppearance"in ee.style);let l=!0;return ee.style&&!function $(E){return"ebkit"==E.substring(1,6)}(E)&&(l=E in ee.style,!l&&Ie&&(l="Webkit"+E.charAt(0).toUpperCase()+E.slice(1)in ee.style)),l}(f)}matchesElement(f,v){return!1}containsElement(f,v){return se(f,v)}getParentElement(f){return R(f)}query(f,v,C){return Pe(f,v,C)}computeStyle(f,v,C){return C||""}animate(f,v,C,N,W,K=[],he){return new Me(C,N)}static#e=this.\u0275fac=function(v){return new(v||E)};static#t=this.\u0275prov=B.Yz7({token:E,factory:E.\u0275fac})}return E})(),Q=(()=>{class E{static#e=this.NOOP=new fe}return E})();const w=1e3,H="ng-enter",De="ng-leave",et="ng-trigger",mt=".ng-trigger",Ct="ng-animating",Et=".ng-animating";function gt(E){if("number"==typeof E)return E;const l=E.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:Ht(parseFloat(l[1]),l[2])}function Ht(E,l){return"s"===l?E*w:E}function pn(E,l,f){return E.hasOwnProperty("duration")?E:function ti(E,l,f){let C,N=0,W="";if("string"==typeof E){const K=E.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===K)return l.push(vt()),{duration:0,delay:0,easing:""};C=Ht(parseFloat(K[1]),K[2]);const he=K[3];null!=he&&(N=Ht(parseFloat(he),K[4]));const Ne=K[5];Ne&&(W=Ne)}else C=E;if(!f){let K=!1,he=l.length;C<0&&(l.push(function ct(){return new B.vHH(3100,!1)}()),K=!0),N<0&&(l.push(function At(){return new B.vHH(3101,!1)}()),K=!0),K&&l.splice(he,0,vt())}return{duration:C,delay:N,easing:W}}(E,l,f)}function ni(E,l={}){return Object.keys(E).forEach(f=>{l[f]=E[f]}),l}function di(E){const l=new Map;return Object.keys(E).forEach(f=>{l.set(f,E[f])}),l}function ri(E,l=new Map,f){if(f)for(let[v,C]of f)l.set(v,C);for(let[v,C]of E)l.set(v,C);return l}function Cn(E,l,f){l.forEach((v,C)=>{const N=tr(C);f&&!f.has(C)&&f.set(C,E.style[N]),E.style[N]=v})}function Mn(E,l){l.forEach((f,v)=>{const C=tr(v);E.style[C]=""})}function Pt(E){return Array.isArray(E)?1==E.length?E[0]:je(E):E}const Oi=new RegExp("{{\\s*(.+?)\\s*}}","g");function gr(E){let l=[];if("string"==typeof E){let f;for(;f=Oi.exec(E);)l.push(f[1]);Oi.lastIndex=0}return l}function Mi(E,l,f){const v=E.toString(),C=v.replace(Oi,(N,W)=>{let K=l[W];return null==K&&(f.push(function Zn(E){return new B.vHH(3003,!1)}()),K=""),K.toString()});return C==v?E:C}function oi(E){const l=[];let f=E.next();for(;!f.done;)l.push(f.value),f=E.next();return l}const Fi=/-+([a-z0-9])/g;function tr(E){return E.replace(Fi,(...l)=>l[1].toUpperCase())}function Vn(E,l,f){switch(l.type){case 7:return E.visitTrigger(l,f);case 0:return E.visitState(l,f);case 1:return E.visitTransition(l,f);case 2:return E.visitSequence(l,f);case 3:return E.visitGroup(l,f);case 4:return E.visitAnimate(l,f);case 5:return E.visitKeyframes(l,f);case 6:return E.visitStyle(l,f);case 8:return E.visitReference(l,f);case 9:return E.visitAnimateChild(l,f);case 10:return E.visitAnimateRef(l,f);case 11:return E.visitQuery(l,f);case 12:return E.visitStagger(l,f);default:throw function Jn(E){return new B.vHH(3004,!1)}()}}function $i(E,l){return window.getComputedStyle(E)[l]}const Dn="*";function Gi(E,l){const f=[];return"string"==typeof E?E.split(/\s*,\s*/).forEach(v=>function zi(E,l,f){if(":"==E[0]){const he=function to(E,l){switch(E){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(f,v)=>parseFloat(v)>parseFloat(f);case":decrement":return(f,v)=>parseFloat(v)<parseFloat(f);default:return l.push(function Ze(E){return new B.vHH(3016,!1)}()),"* => *"}}(E,f);if("function"==typeof he)return void l.push(he);E=he}const v=E.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==v||v.length<4)return f.push(function Yt(E){return new B.vHH(3015,!1)}()),l;const C=v[1],N=v[2],W=v[3];l.push(Pr(C,W));"<"==N[0]&&!(C==Dn&&W==Dn)&&l.push(Pr(W,C))}(v,f,l)):f.push(E),f}const Wi=new Set(["true","1"]),Yi=new Set(["false","0"]);function Pr(E,l){const f=Wi.has(E)||Yi.has(E),v=Wi.has(l)||Yi.has(l);return(C,N)=>{let W=E==Dn||E==C,K=l==Dn||l==N;return!W&&f&&"boolean"==typeof C&&(W=C?Wi.has(E):Yi.has(E)),!K&&v&&"boolean"==typeof N&&(K=N?Wi.has(l):Yi.has(l)),W&&K}}const br=new RegExp("s*:selfs*,?","g");function Kn(E,l,f,v){return new Nr(E).build(l,f,v)}class Nr{constructor(l){this._driver=l}build(l,f,v){const C=new T(f);return this._resetContextStyleTimingState(C),Vn(this,Pt(l),C)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles=new Map,l.collectedStyles.set("",new Map),l.currentTime=0}visitTrigger(l,f){let v=f.queryCount=0,C=f.depCount=0;const N=[],W=[];return"@"==l.name.charAt(0)&&f.errors.push(function Bn(){return new B.vHH(3006,!1)}()),l.definitions.forEach(K=>{if(this._resetContextStyleTimingState(f),0==K.type){const he=K,Ne=he.name;Ne.toString().split(/\s*,\s*/).forEach(it=>{he.name=it,N.push(this.visitState(he,f))}),he.name=Ne}else if(1==K.type){const he=this.visitTransition(K,f);v+=he.queryCount,C+=he.depCount,W.push(he)}else f.errors.push(function ei(){return new B.vHH(3007,!1)}())}),{type:7,name:l.name,states:N,transitions:W,queryCount:v,depCount:C,options:null}}visitState(l,f){const v=this.visitStyle(l.styles,f),C=l.options&&l.options.params||null;if(v.containsDynamicStyles){const N=new Set,W=C||{};v.styles.forEach(K=>{K instanceof Map&&K.forEach(he=>{gr(he).forEach(Ne=>{W.hasOwnProperty(Ne)||N.add(Ne)})})}),N.size&&(oi(N.values()),f.errors.push(function ue(E,l){return new B.vHH(3008,!1)}()))}return{type:0,name:l.name,style:v,options:C?{params:C}:null}}visitTransition(l,f){f.queryCount=0,f.depCount=0;const v=Vn(this,Pt(l.animation),f);return{type:1,matchers:Gi(l.expr,f.errors),animation:v,queryCount:f.queryCount,depCount:f.depCount,options:le(l.options)}}visitSequence(l,f){return{type:2,steps:l.steps.map(v=>Vn(this,v,f)),options:le(l.options)}}visitGroup(l,f){const v=f.currentTime;let C=0;const N=l.steps.map(W=>{f.currentTime=v;const K=Vn(this,W,f);return C=Math.max(C,f.currentTime),K});return f.currentTime=C,{type:3,steps:N,options:le(l.options)}}visitAnimate(l,f){const v=function V(E,l){if(E.hasOwnProperty("duration"))return E;if("number"==typeof E)return ft(pn(E,l).duration,0,"");const f=E;if(f.split(/\s+/).some(N=>"{"==N.charAt(0)&&"{"==N.charAt(1))){const N=ft(0,0,"");return N.dynamic=!0,N.strValue=f,N}const C=pn(f,l);return ft(C.duration,C.delay,C.easing)}(l.timings,f.errors);f.currentAnimateTimings=v;let C,N=l.styles?l.styles:ke({});if(5==N.type)C=this.visitKeyframes(N,f);else{let W=l.styles,K=!1;if(!W){K=!0;const Ne={};v.easing&&(Ne.easing=v.easing),W=ke(Ne)}f.currentTime+=v.duration+v.delay;const he=this.visitStyle(W,f);he.isEmptyStep=K,C=he}return f.currentAnimateTimings=null,{type:4,timings:v,style:C,options:null}}visitStyle(l,f){const v=this._makeStyleAst(l,f);return this._validateStyleAst(v,f),v}_makeStyleAst(l,f){const v=[],C=Array.isArray(l.styles)?l.styles:[l.styles];for(let K of C)"string"==typeof K?K===we?v.push(K):f.errors.push(new B.vHH(3002,!1)):v.push(di(K));let N=!1,W=null;return v.forEach(K=>{if(K instanceof Map&&(K.has("easing")&&(W=K.get("easing"),K.delete("easing")),!N))for(let he of K.values())if(he.toString().indexOf("{{")>=0){N=!0;break}}),{type:6,styles:v,easing:W,offset:l.offset,containsDynamicStyles:N,options:null}}_validateStyleAst(l,f){const v=f.currentAnimateTimings;let C=f.currentTime,N=f.currentTime;v&&N>0&&(N-=v.duration+v.delay),l.styles.forEach(W=>{"string"!=typeof W&&W.forEach((K,he)=>{const Ne=f.collectedStyles.get(f.currentQuerySelector),it=Ne.get(he);let st=!0;it&&(N!=C&&N>=it.startTime&&C<=it.endTime&&(f.errors.push(function Se(E,l,f,v,C){return new B.vHH(3010,!1)}()),st=!1),N=it.startTime),st&&Ne.set(he,{startTime:N,endTime:C}),f.options&&function Hi(E,l,f){const v=l.params||{},C=gr(E);C.length&&C.forEach(N=>{v.hasOwnProperty(N)||f.push(function kn(E){return new B.vHH(3001,!1)}())})}(K,f.options,f.errors)})})}visitKeyframes(l,f){const v={type:5,styles:[],options:null};if(!f.currentAnimateTimings)return f.errors.push(function pe(){return new B.vHH(3011,!1)}()),v;let N=0;const W=[];let K=!1,he=!1,Ne=0;const it=l.steps.map(L=>{const ce=this._makeStyleAst(L,f);let Oe=null!=ce.offset?ce.offset:function J(E){if("string"==typeof E)return null;let l=null;if(Array.isArray(E))E.forEach(f=>{if(f instanceof Map&&f.has("offset")){const v=f;l=parseFloat(v.get("offset")),v.delete("offset")}});else if(E instanceof Map&&E.has("offset")){const f=E;l=parseFloat(f.get("offset")),f.delete("offset")}return l}(ce.styles),nt=0;return null!=Oe&&(N++,nt=ce.offset=Oe),he=he||nt<0||nt>1,K=K||nt<Ne,Ne=nt,W.push(nt),ce});he&&f.errors.push(function ge(){return new B.vHH(3012,!1)}()),K&&f.errors.push(function Ke(){return new B.vHH(3200,!1)}());const st=l.steps.length;let qt=0;N>0&&N<st?f.errors.push(function We(){return new B.vHH(3202,!1)}()):0==N&&(qt=1/(st-1));const h=st-1,x=f.currentTime,y=f.currentAnimateTimings,D=y.duration;return it.forEach((L,ce)=>{const Oe=qt>0?ce==h?1:qt*ce:W[ce],nt=Oe*D;f.currentTime=x+y.delay+nt,y.duration=nt,this._validateStyleAst(L,f),L.offset=Oe,v.styles.push(L)}),v}visitReference(l,f){return{type:8,animation:Vn(this,Pt(l.animation),f),options:le(l.options)}}visitAnimateChild(l,f){return f.depCount++,{type:9,options:le(l.options)}}visitAnimateRef(l,f){return{type:10,animation:this.visitReference(l.animation,f),options:le(l.options)}}visitQuery(l,f){const v=f.currentQuerySelector,C=l.options||{};f.queryCount++,f.currentQuery=l;const[N,W]=function Yr(E){const l=!!E.split(/\s*,\s*/).find(f=>":self"==f);return l&&(E=E.replace(br,"")),E=E.replace(/@\*/g,mt).replace(/@\w+/g,f=>mt+"-"+f.slice(1)).replace(/:animating/g,Et),[E,l]}(l.selector);f.currentQuerySelector=v.length?v+" "+N:N,_n(f.collectedStyles,f.currentQuerySelector,new Map);const K=Vn(this,Pt(l.animation),f);return f.currentQuery=null,f.currentQuerySelector=v,{type:11,selector:N,limit:C.limit||0,optional:!!C.optional,includeSelf:W,animation:K,originalSelector:l.selector,options:le(l.options)}}visitStagger(l,f){f.currentQuery||f.errors.push(function dn(){return new B.vHH(3013,!1)}());const v="full"===l.timings?{duration:0,delay:0,easing:"full"}:pn(l.timings,f.errors,!0);return{type:12,animation:Vn(this,Pt(l.animation),f),timings:v,options:null}}}class T{constructor(l){this.errors=l,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function le(E){return E?(E=ni(E)).params&&(E.params=function Kr(E){return E?ni(E):null}(E.params)):E={},E}function ft(E,l,f){return{duration:E,delay:l,easing:f}}function bt(E,l,f,v,C,N,W=null,K=!1){return{type:1,element:E,keyframes:l,preStyleProps:f,postStyleProps:v,duration:C,delay:N,totalTime:C+N,easing:W,subTimeline:K}}class Dt{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,f){let v=this._map.get(l);v||this._map.set(l,v=[]),v.push(...f)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const Qn=new RegExp(":enter","g"),_r=new RegExp(":leave","g");function nr(E,l,f,v,C,N=new Map,W=new Map,K,he,Ne=[]){return(new Lr).buildKeyframes(E,l,f,v,C,N,W,K,he,Ne)}class Lr{buildKeyframes(l,f,v,C,N,W,K,he,Ne,it=[]){Ne=Ne||new Dt;const st=new ir(l,f,Ne,C,N,it,[]);st.options=he;const qt=he.delay?gt(he.delay):0;st.currentTimeline.delayNextStep(qt),st.currentTimeline.setStyles([W],null,st.errors,he),Vn(this,v,st);const h=st.timelines.filter(x=>x.containsAnimation());if(h.length&&K.size){let x;for(let y=h.length-1;y>=0;y--){const D=h[y];if(D.element===f){x=D;break}}x&&!x.allowOnlyTimelineStyles()&&x.setStyles([K],null,st.errors,he)}return h.length?h.map(x=>x.buildKeyframes()):[bt(f,[],[],[],0,qt,"",!1)]}visitTrigger(l,f){}visitState(l,f){}visitTransition(l,f){}visitAnimateChild(l,f){const v=f.subInstructions.get(f.element);if(v){const C=f.createSubContext(l.options),N=f.currentTimeline.currentTime,W=this._visitSubInstructions(v,C,C.options);N!=W&&f.transformIntoNewTimeline(W)}f.previousNode=l}visitAnimateRef(l,f){const v=f.createSubContext(l.options);v.transformIntoNewTimeline(),this._applyAnimationRefDelays([l.options,l.animation.options],f,v),this.visitReference(l.animation,v),f.transformIntoNewTimeline(v.currentTimeline.currentTime),f.previousNode=l}_applyAnimationRefDelays(l,f,v){for(const C of l){const N=C?.delay;if(N){const W="number"==typeof N?N:gt(Mi(N,C?.params??{},f.errors));v.delayNextStep(W)}}}_visitSubInstructions(l,f,v){let N=f.currentTimeline.currentTime;const W=null!=v.duration?gt(v.duration):null,K=null!=v.delay?gt(v.delay):null;return 0!==W&&l.forEach(he=>{const Ne=f.appendInstructionToTimeline(he,W,K);N=Math.max(N,Ne.duration+Ne.delay)}),N}visitReference(l,f){f.updateOptions(l.options,!0),Vn(this,l.animation,f),f.previousNode=l}visitSequence(l,f){const v=f.subContextCount;let C=f;const N=l.options;if(N&&(N.params||N.delay)&&(C=f.createSubContext(N),C.transformIntoNewTimeline(),null!=N.delay)){6==C.previousNode.type&&(C.currentTimeline.snapshotCurrentStyles(),C.previousNode=Pi);const W=gt(N.delay);C.delayNextStep(W)}l.steps.length&&(l.steps.forEach(W=>Vn(this,W,C)),C.currentTimeline.applyStylesToKeyframe(),C.subContextCount>v&&C.transformIntoNewTimeline()),f.previousNode=l}visitGroup(l,f){const v=[];let C=f.currentTimeline.currentTime;const N=l.options&&l.options.delay?gt(l.options.delay):0;l.steps.forEach(W=>{const K=f.createSubContext(l.options);N&&K.delayNextStep(N),Vn(this,W,K),C=Math.max(C,K.currentTimeline.currentTime),v.push(K.currentTimeline)}),v.forEach(W=>f.currentTimeline.mergeTimelineCollectedStyles(W)),f.transformIntoNewTimeline(C),f.previousNode=l}_visitTiming(l,f){if(l.dynamic){const v=l.strValue;return pn(f.params?Mi(v,f.params,f.errors):v,f.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,f){const v=f.currentAnimateTimings=this._visitTiming(l.timings,f),C=f.currentTimeline;v.delay&&(f.incrementTime(v.delay),C.snapshotCurrentStyles());const N=l.style;5==N.type?this.visitKeyframes(N,f):(f.incrementTime(v.duration),this.visitStyle(N,f),C.applyStylesToKeyframe()),f.currentAnimateTimings=null,f.previousNode=l}visitStyle(l,f){const v=f.currentTimeline,C=f.currentAnimateTimings;!C&&v.hasCurrentStyleProperties()&&v.forwardFrame();const N=C&&C.easing||l.easing;l.isEmptyStep?v.applyEmptyStep(N):v.setStyles(l.styles,N,f.errors,f.options),f.previousNode=l}visitKeyframes(l,f){const v=f.currentAnimateTimings,C=f.currentTimeline.duration,N=v.duration,K=f.createSubContext().currentTimeline;K.easing=v.easing,l.styles.forEach(he=>{K.forwardTime((he.offset||0)*N),K.setStyles(he.styles,he.easing,f.errors,f.options),K.applyStylesToKeyframe()}),f.currentTimeline.mergeTimelineCollectedStyles(K),f.transformIntoNewTimeline(C+N),f.previousNode=l}visitQuery(l,f){const v=f.currentTimeline.currentTime,C=l.options||{},N=C.delay?gt(C.delay):0;N&&(6===f.previousNode.type||0==v&&f.currentTimeline.hasCurrentStyleProperties())&&(f.currentTimeline.snapshotCurrentStyles(),f.previousNode=Pi);let W=v;const K=f.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!C.optional,f.errors);f.currentQueryTotal=K.length;let he=null;K.forEach((Ne,it)=>{f.currentQueryIndex=it;const st=f.createSubContext(l.options,Ne);N&&st.delayNextStep(N),Ne===f.element&&(he=st.currentTimeline),Vn(this,l.animation,st),st.currentTimeline.applyStylesToKeyframe(),W=Math.max(W,st.currentTimeline.currentTime)}),f.currentQueryIndex=0,f.currentQueryTotal=0,f.transformIntoNewTimeline(W),he&&(f.currentTimeline.mergeTimelineCollectedStyles(he),f.currentTimeline.snapshotCurrentStyles()),f.previousNode=l}visitStagger(l,f){const v=f.parentContext,C=f.currentTimeline,N=l.timings,W=Math.abs(N.duration),K=W*(f.currentQueryTotal-1);let he=W*f.currentQueryIndex;switch(N.duration<0?"reverse":N.easing){case"reverse":he=K-he;break;case"full":he=v.currentStaggerTime}const it=f.currentTimeline;he&&it.delayNextStep(he);const st=it.currentTime;Vn(this,l.animation,f),f.previousNode=l,v.currentStaggerTime=C.currentTime-st+(C.startTime-v.currentTimeline.startTime)}}const Pi={};class ir{constructor(l,f,v,C,N,W,K,he){this._driver=l,this.element=f,this.subInstructions=v,this._enterClassName=C,this._leaveClassName=N,this.errors=W,this.timelines=K,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Pi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=he||new en(this._driver,f,0),K.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,f){if(!l)return;const v=l;let C=this.options;null!=v.duration&&(C.duration=gt(v.duration)),null!=v.delay&&(C.delay=gt(v.delay));const N=v.params;if(N){let W=C.params;W||(W=this.options.params={}),Object.keys(N).forEach(K=>{(!f||!W.hasOwnProperty(K))&&(W[K]=Mi(N[K],W,this.errors))})}}_copyOptions(){const l={};if(this.options){const f=this.options.params;if(f){const v=l.params={};Object.keys(f).forEach(C=>{v[C]=f[C]})}}return l}createSubContext(l=null,f,v){const C=f||this.element,N=new ir(this._driver,C,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(C,v||0));return N.previousNode=this.previousNode,N.currentAnimateTimings=this.currentAnimateTimings,N.options=this._copyOptions(),N.updateOptions(l),N.currentQueryIndex=this.currentQueryIndex,N.currentQueryTotal=this.currentQueryTotal,N.parentContext=this,this.subContextCount++,N}transformIntoNewTimeline(l){return this.previousNode=Pi,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,f,v){const C={duration:f??l.duration,delay:this.currentTimeline.currentTime+(v??0)+l.delay,easing:""},N=new tt(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,C,l.stretchStartingKeyframe);return this.timelines.push(N),C}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,f,v,C,N,W){let K=[];if(C&&K.push(this.element),l.length>0){l=(l=l.replace(Qn,"."+this._enterClassName)).replace(_r,"."+this._leaveClassName);let Ne=this._driver.query(this.element,l,1!=v);0!==v&&(Ne=v<0?Ne.slice(Ne.length+v,Ne.length):Ne.slice(0,v)),K.push(...Ne)}return!N&&0==K.length&&W.push(function pt(E){return new B.vHH(3014,!1)}()),K}}class en{constructor(l,f,v,C){this._driver=l,this.element=f,this.startTime=v,this._elementTimelineStylesLookup=C,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(f),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(f,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(l){const f=1===this._keyframes.size&&this._pendingStyles.size;this.duration||f?(this.forwardTime(this.currentTime+l),f&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,f){return this.applyStylesToKeyframe(),new en(this._driver,l,f||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+=1,this._loadKeyframe()}forwardTime(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,f){this._localTimelineStyles.set(l,f),this._globalTimelineStyles.set(l,f),this._styleSummary.set(l,{time:this.currentTime,value:f})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&this._previousKeyframe.set("easing",l);for(let[f,v]of this._globalTimelineStyles)this._backFill.set(f,v||we),this._currentKeyframe.set(f,we);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,f,v,C){f&&this._previousKeyframe.set("easing",f);const N=C&&C.params||{},W=function on(E,l){const f=new Map;let v;return E.forEach(C=>{if("*"===C){v=v||l.keys();for(let N of v)f.set(N,we)}else ri(C,f)}),f}(l,this._globalTimelineStyles);for(let[K,he]of W){const Ne=Mi(he,N,v);this._pendingStyles.set(K,Ne),this._localTimelineStyles.has(K)||this._backFill.set(K,this._globalTimelineStyles.get(K)??we),this._updateStyle(K,Ne)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((l,f)=>{this._currentKeyframe.set(f,l)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((l,f)=>{this._currentKeyframe.has(f)||this._currentKeyframe.set(f,l)}))}snapshotCurrentStyles(){for(let[l,f]of this._localTimelineStyles)this._pendingStyles.set(l,f),this._updateStyle(l,f)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let f in this._currentKeyframe)l.push(f);return l}mergeTimelineCollectedStyles(l){l._styleSummary.forEach((f,v)=>{const C=this._styleSummary.get(v);(!C||f.time>C.time)&&this._updateStyle(v,f.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,f=new Set,v=1===this._keyframes.size&&0===this.duration;let C=[];this._keyframes.forEach((K,he)=>{const Ne=ri(K,new Map,this._backFill);Ne.forEach((it,st)=>{"!"===it?l.add(st):it===we&&f.add(st)}),v||Ne.set("offset",he/this.duration),C.push(Ne)});const N=l.size?oi(l.values()):[],W=f.size?oi(f.values()):[];if(v){const K=C[0],he=new Map(K);K.set("offset",0),he.set("offset",1),C=[K,he]}return bt(this.element,C,N,W,this.duration,this.startTime,this.easing,!1)}}class tt extends en{constructor(l,f,v,C,N,W,K=!1){super(l,f,W.delay),this.keyframes=v,this.preStyleProps=C,this.postStyleProps=N,this._stretchStartingKeyframe=K,this.timings={duration:W.duration,delay:W.delay,easing:W.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:f,duration:v,easing:C}=this.timings;if(this._stretchStartingKeyframe&&f){const N=[],W=v+f,K=f/W,he=ri(l[0]);he.set("offset",0),N.push(he);const Ne=ri(l[0]);Ne.set("offset",Tt(K)),N.push(Ne);const it=l.length-1;for(let st=1;st<=it;st++){let qt=ri(l[st]);const h=qt.get("offset");qt.set("offset",Tt((f+h*v)/W)),N.push(qt)}v=W,f=0,C="",l=N}return bt(this.element,l,this.preStyleProps,this.postStyleProps,v,f,C,!0)}}function Tt(E,l=3){const f=Math.pow(10,l-1);return Math.round(E*f)/f}class Ai{}const Si=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"]);class An extends Ai{normalizePropertyName(l,f){return tr(l)}normalizeStyleValue(l,f,v,C){let N="";const W=v.toString().trim();if(Si.has(f)&&0!==v&&"0"!==v)if("number"==typeof v)N="px";else{const K=v.match(/^[+-]?[\d\.]+([a-z]*)$/);K&&0==K[1].length&&C.push(function Rn(E,l){return new B.vHH(3005,!1)}())}return W+N}}function hi(E,l,f,v,C,N,W,K,he,Ne,it,st,qt){return{type:0,element:E,triggerName:l,isRemovalTransition:C,fromState:f,fromStyles:N,toState:v,toStyles:W,timelines:K,queriedElements:he,preStyleProps:Ne,postStyleProps:it,totalTime:st,errors:qt}}const Ei={};class Rt{constructor(l,f,v){this._triggerName=l,this.ast=f,this._stateStyles=v}match(l,f,v,C){return function bo(E,l,f,v,C){return E.some(N=>N(l,f,v,C))}(this.ast.matchers,l,f,v,C)}buildStyles(l,f,v){let C=this._stateStyles.get("*");return void 0!==l&&(C=this._stateStyles.get(l?.toString())||C),C?C.buildStyles(f,v):new Map}build(l,f,v,C,N,W,K,he,Ne,it){const st=[],qt=this.ast.options&&this.ast.options.params||Ei,x=this.buildStyles(v,K&&K.params||Ei,st),y=he&&he.params||Ei,D=this.buildStyles(C,y,st),L=new Set,ce=new Map,Oe=new Map,nt="void"===C,tn={params:Dr(y,qt),delay:this.ast.options?.delay},Gt=it?[]:nr(l,f,this.ast.animation,N,W,x,D,tn,Ne,st);let Ot=0;if(Gt.forEach(sn=>{Ot=Math.max(sn.duration+sn.delay,Ot)}),st.length)return hi(f,this._triggerName,v,C,nt,x,D,[],[],ce,Oe,Ot,st);Gt.forEach(sn=>{const Zt=sn.element,Gn=_n(ce,Zt,new Set);sn.preStyleProps.forEach(zn=>Gn.add(zn));const mi=_n(Oe,Zt,new Set);sn.postStyleProps.forEach(zn=>mi.add(zn)),Zt!==f&&L.add(Zt)});const St=oi(L.values());return hi(f,this._triggerName,v,C,nt,x,D,Gt,St,ce,Oe,Ot)}}function Dr(E,l){const f=ni(l);for(const v in E)E.hasOwnProperty(v)&&null!=E[v]&&(f[v]=E[v]);return f}class Sn{constructor(l,f,v){this.styles=l,this.defaultParams=f,this.normalizer=v}buildStyles(l,f){const v=new Map,C=ni(this.defaultParams);return Object.keys(l).forEach(N=>{const W=l[N];null!==W&&(C[N]=W)}),this.styles.styles.forEach(N=>{"string"!=typeof N&&N.forEach((W,K)=>{W&&(W=Mi(W,C,f));const he=this.normalizer.normalizePropertyName(K,f);W=this.normalizer.normalizeStyleValue(K,he,W,f),v.set(K,W)})}),v}}class rr{constructor(l,f,v){this.name=l,this.ast=f,this._normalizer=v,this.transitionFactories=[],this.states=new Map,f.states.forEach(C=>{this.states.set(C.name,new Sn(C.style,C.options&&C.options.params||{},v))}),or(this.states,"true","1"),or(this.states,"false","0"),f.transitions.forEach(C=>{this.transitionFactories.push(new Rt(l,C,this.states))}),this.fallbackTransition=function Ii(E,l,f){return new Rt(E,{type:1,animation:{type:2,steps:[],options:null},matchers:[(W,K)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,f,v,C){return this.transitionFactories.find(W=>W.match(l,f,v,C))||null}matchStyles(l,f,v){return this.fallbackTransition.buildStyles(l,f,v)}}function or(E,l,f){E.has(l)?E.has(f)||E.set(f,E.get(l)):E.has(f)&&E.set(l,E.get(f))}const _o=new Dt;class Ki{constructor(l,f,v){this.bodyNode=l,this._driver=f,this._normalizer=v,this._animations=new Map,this._playersById=new Map,this.players=[]}register(l,f){const v=[],N=Kn(this._driver,f,v,[]);if(v.length)throw function En(E){return new B.vHH(3503,!1)}();this._animations.set(l,N)}_buildPlayer(l,f,v){const C=l.element,N=Qt(this._normalizer,l.keyframes,f,v);return this._driver.animate(C,N,l.duration,l.delay,l.easing,[],!0)}create(l,f,v={}){const C=[],N=this._animations.get(l);let W;const K=new Map;if(N?(W=nr(this._driver,f,N,H,De,new Map,new Map,v,_o,C),W.forEach(it=>{const st=_n(K,it.element,new Map);it.postStyleProps.forEach(qt=>st.set(qt,null))})):(C.push(function fn(){return new B.vHH(3300,!1)}()),W=[]),C.length)throw function ci(E){return new B.vHH(3504,!1)}();K.forEach((it,st)=>{it.forEach((qt,h)=>{it.set(h,this._driver.computeStyle(st,h,we))})});const Ne=On(W.map(it=>{const st=K.get(it.element);return this._buildPlayer(it,new Map,st)}));return this._playersById.set(l,Ne),Ne.onDestroy(()=>this.destroy(l)),this.players.push(Ne),Ne}destroy(l){const f=this._getPlayer(l);f.destroy(),this._playersById.delete(l);const v=this.players.indexOf(f);v>=0&&this.players.splice(v,1)}_getPlayer(l){const f=this._playersById.get(l);if(!f)throw function jn(E){return new B.vHH(3301,!1)}();return f}listen(l,f,v,C){const N=ut(f,"","","");return hn(this._getPlayer(l),v,N,C),()=>{}}command(l,f,v,C){if("register"==v)return void this.register(l,C[0]);if("create"==v)return void this.create(l,f,C[0]||{});const N=this._getPlayer(l);switch(v){case"play":N.play();break;case"pause":N.pause();break;case"reset":N.reset();break;case"restart":N.restart();break;case"finish":N.finish();break;case"init":N.init();break;case"setPosition":N.setPosition(parseFloat(C[0]));break;case"destroy":this.destroy(l)}}}const Qi="ng-animate-queued",Br="ng-animate-disabled",Er=[],pi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},sr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},gn="__ng_removed";class ar{get params(){return this.options.params}constructor(l,f=""){this.namespaceId=f;const v=l&&l.hasOwnProperty("value");if(this.value=function io(E){return E??null}(v?l.value:l),v){const N=ni(l);delete N.value,this.options=N}else this.options={};this.options.params||(this.options.params={})}absorbOptions(l){const f=l.params;if(f){const v=this.options.params;Object.keys(f).forEach(C=>{null==v[C]&&(v[C]=f[C])})}}}const yn="void",Wo=new ar(yn);class ai{constructor(l,f,v){this.id=l,this.hostElement=f,this._engine=v,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,qn(f,this._hostClassName)}listen(l,f,v,C){if(!this._triggers.has(f))throw function wn(E,l){return new B.vHH(3302,!1)}();if(null==v||0==v.length)throw function Un(E){return new B.vHH(3303,!1)}();if(!function qi(E){return"start"==E||"done"==E}(v))throw function Ln(E,l){return new B.vHH(3400,!1)}();const N=_n(this._elementListeners,l,[]),W={name:f,phase:v,callback:C};N.push(W);const K=_n(this._engine.statesByElement,l,new Map);return K.has(f)||(qn(l,et),qn(l,et+"-"+f),K.set(f,Wo)),()=>{this._engine.afterFlush(()=>{const he=N.indexOf(W);he>=0&&N.splice(he,1),this._triggers.has(f)||K.delete(f)})}}register(l,f){return!this._triggers.has(l)&&(this._triggers.set(l,f),!0)}_getTrigger(l){const f=this._triggers.get(l);if(!f)throw function _t(E){return new B.vHH(3401,!1)}();return f}trigger(l,f,v,C=!0){const N=this._getTrigger(f),W=new wr(this.id,f,l);let K=this._engine.statesByElement.get(l);K||(qn(l,et),qn(l,et+"-"+f),this._engine.statesByElement.set(l,K=new Map));let he=K.get(f);const Ne=new ar(v,this.id);if(!(v&&v.hasOwnProperty("value"))&&he&&Ne.absorbOptions(he.options),K.set(f,Ne),he||(he=Wo),Ne.value!==yn&&he.value===Ne.value){if(!function Pn(E,l){const f=Object.keys(E),v=Object.keys(l);if(f.length!=v.length)return!1;for(let C=0;C<f.length;C++){const N=f[C];if(!l.hasOwnProperty(N)||E[N]!==l[N])return!1}return!0}(he.params,Ne.params)){const y=[],D=N.matchStyles(he.value,he.params,y),L=N.matchStyles(Ne.value,Ne.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{Mn(l,D),Cn(l,L)})}return}const qt=_n(this._engine.playersByElement,l,[]);qt.forEach(y=>{y.namespaceId==this.id&&y.triggerName==f&&y.queued&&y.destroy()});let h=N.matchTransition(he.value,Ne.value,l,Ne.params),x=!1;if(!h){if(!C)return;h=N.fallbackTransition,x=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:f,transition:h,fromState:he,toState:Ne,player:W,isFallbackTransition:x}),x||(qn(l,Qi),W.onStart(()=>{wi(l,Qi)})),W.onDone(()=>{let y=this.players.indexOf(W);y>=0&&this.players.splice(y,1);const D=this._engine.playersByElement.get(l);if(D){let L=D.indexOf(W);L>=0&&D.splice(L,1)}}),this.players.push(W),qt.push(W),W}deregister(l){this._triggers.delete(l),this._engine.statesByElement.forEach(f=>f.delete(l)),this._elementListeners.forEach((f,v)=>{this._elementListeners.set(v,f.filter(C=>C.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const f=this._engine.playersByElement.get(l);f&&(f.forEach(v=>v.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,f){const v=this._engine.driver.query(l,mt,!0);v.forEach(C=>{if(C[gn])return;const N=this._engine.fetchNamespacesByElement(C);N.size?N.forEach(W=>W.triggerLeaveAnimation(C,f,!1,!0)):this.clearElementCache(C)}),this._engine.afterFlushAnimationsDone(()=>v.forEach(C=>this.clearElementCache(C)))}triggerLeaveAnimation(l,f,v,C){const N=this._engine.statesByElement.get(l),W=new Map;if(N){const K=[];if(N.forEach((he,Ne)=>{if(W.set(Ne,he.value),this._triggers.has(Ne)){const it=this.trigger(l,Ne,yn,C);it&&K.push(it)}}),K.length)return this._engine.markElementAsRemoved(this.id,l,!0,f,W),v&&On(K).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const f=this._elementListeners.get(l),v=this._engine.statesByElement.get(l);if(f&&v){const C=new Set;f.forEach(N=>{const W=N.name;if(C.has(W))return;C.add(W);const he=this._triggers.get(W).fallbackTransition,Ne=v.get(W)||Wo,it=new ar(yn),st=new wr(this.id,W,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:W,transition:he,fromState:Ne,toState:it,player:st,isFallbackTransition:!0})})}}removeNode(l,f){const v=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,f),this.triggerLeaveAnimation(l,f,!0))return;let C=!1;if(v.totalAnimations){const N=v.players.length?v.playersByQueriedElement.get(l):[];if(N&&N.length)C=!0;else{let W=l;for(;W=W.parentNode;)if(v.statesByElement.get(W)){C=!0;break}}}if(this.prepareLeaveAnimationListeners(l),C)v.markElementAsRemoved(this.id,l,!1,f);else{const N=l[gn];(!N||N===pi)&&(v.afterFlush(()=>this.clearElementCache(l)),v.destroyInnerAnimations(l),v._onRemovalComplete(l,f))}}insertNode(l,f){qn(l,this._hostClassName)}drainQueuedTransitions(l){const f=[];return this._queue.forEach(v=>{const C=v.player;if(C.destroyed)return;const N=v.element,W=this._elementListeners.get(N);W&&W.forEach(K=>{if(K.name==v.triggerName){const he=ut(N,v.triggerName,v.fromState.value,v.toState.value);he._data=l,hn(v.player,K.phase,he,K.callback)}}),C.markedForDestroy?this._engine.afterFlush(()=>{C.destroy()}):f.push(v)}),this._queue=[],f.sort((v,C)=>{const N=v.transition.ast.depCount,W=C.transition.ast.depCount;return 0==N||0==W?N-W:this._engine.driver.containsElement(v.element,C.element)?1:-1})}destroy(l){this.players.forEach(f=>f.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}}class ii{_onRemovalComplete(l,f){this.onRemovalComplete(l,f)}constructor(l,f,v){this.bodyNode=l,this.driver=f,this._normalizer=v,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(C,N)=>{}}get queuedPlayers(){const l=[];return this._namespaceList.forEach(f=>{f.players.forEach(v=>{v.queued&&l.push(v)})}),l}createNamespace(l,f){const v=new ai(l,f,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,f)?this._balanceNamespaceList(v,f):(this.newHostElements.set(f,v),this.collectEnterElement(f)),this._namespaceLookup[l]=v}_balanceNamespaceList(l,f){const v=this._namespaceList,C=this.namespacesByHostElement;if(v.length-1>=0){let W=!1,K=this.driver.getParentElement(f);for(;K;){const he=C.get(K);if(he){const Ne=v.indexOf(he);v.splice(Ne+1,0,l),W=!0;break}K=this.driver.getParentElement(K)}W||v.unshift(l)}else v.push(l);return C.set(f,l),l}register(l,f){let v=this._namespaceLookup[l];return v||(v=this.createNamespace(l,f)),v}registerTrigger(l,f,v){let C=this._namespaceLookup[l];C&&C.register(f,v)&&this.totalAnimations++}destroy(l,f){l&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const v=this._fetchNamespace(l);this.namespacesByHostElement.delete(v.hostElement);const C=this._namespaceList.indexOf(v);C>=0&&this._namespaceList.splice(C,1),v.destroy(f),delete this._namespaceLookup[l]}))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const f=new Set,v=this.statesByElement.get(l);if(v)for(let C of v.values())if(C.namespaceId){const N=this._fetchNamespace(C.namespaceId);N&&f.add(N)}return f}trigger(l,f,v,C){if(li(f)){const N=this._fetchNamespace(l);if(N)return N.trigger(f,v,C),!0}return!1}insertNode(l,f,v,C){if(!li(f))return;const N=f[gn];if(N&&N.setForRemoval){N.setForRemoval=!1,N.setForMove=!0;const W=this.collectedLeaveElements.indexOf(f);W>=0&&this.collectedLeaveElements.splice(W,1)}if(l){const W=this._fetchNamespace(l);W&&W.insertNode(f,v)}C&&this.collectEnterElement(f)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,f){f?this.disabledNodes.has(l)||(this.disabledNodes.add(l),qn(l,Br)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),wi(l,Br))}removeNode(l,f,v){if(li(f)){const C=l?this._fetchNamespace(l):null;C?C.removeNode(f,v):this.markElementAsRemoved(l,f,!1,v);const N=this.namespacesByHostElement.get(f);N&&N.id!==l&&N.removeNode(f,v)}else this._onRemovalComplete(f,v)}markElementAsRemoved(l,f,v,C,N){this.collectedLeaveElements.push(f),f[gn]={namespaceId:l,setForRemoval:C,hasAnimation:v,removedBeforeQueried:!1,previousTriggersValues:N}}listen(l,f,v,C,N){return li(f)?this._fetchNamespace(l).listen(f,v,C,N):()=>{}}_buildInstruction(l,f,v,C,N){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,v,C,l.fromState.options,l.toState.options,f,N)}destroyInnerAnimations(l){let f=this.driver.query(l,mt,!0);f.forEach(v=>this.destroyActiveAnimationsForElement(v)),0!=this.playersByQueriedElement.size&&(f=this.driver.query(l,Et,!0),f.forEach(v=>this.finishActiveQueriedAnimationOnElement(v)))}destroyActiveAnimationsForElement(l){const f=this.playersByElement.get(l);f&&f.forEach(v=>{v.queued?v.markedForDestroy=!0:v.destroy()})}finishActiveQueriedAnimationOnElement(l){const f=this.playersByQueriedElement.get(l);f&&f.forEach(v=>v.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return On(this.players).onDone(()=>l());l()})}processLeaveNode(l){const f=l[gn];if(f&&f.setForRemoval){if(l[gn]=pi,f.namespaceId){this.destroyInnerAnimations(l);const v=this._fetchNamespace(f.namespaceId);v&&v.clearElementCache(l)}this._onRemovalComplete(l,f.setForRemoval)}l.classList?.contains(Br)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(v=>{this.markElementAsDisabled(v,!1)})}flush(l=-1){let f=[];if(this.newHostElements.size&&(this.newHostElements.forEach((v,C)=>this._balanceNamespaceList(v,C)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let v=0;v<this.collectedEnterElements.length;v++)qn(this.collectedEnterElements[v],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const v=[];try{f=this._flushAnimations(v,l)}finally{for(let C=0;C<v.length;C++)v[C]()}}else for(let v=0;v<this.collectedLeaveElements.length;v++)this.processLeaveNode(this.collectedLeaveElements[v]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(v=>v()),this._flushFns=[],this._whenQuietFns.length){const v=this._whenQuietFns;this._whenQuietFns=[],f.length?On(f).onDone(()=>{v.forEach(C=>C())}):v.forEach(C=>C())}}reportError(l){throw function Lt(E){return new B.vHH(3402,!1)}()}_flushAnimations(l,f){const v=new Dt,C=[],N=new Map,W=[],K=new Map,he=new Map,Ne=new Map,it=new Set;this.disabledNodes.forEach(rt=>{it.add(rt);const lt=this.driver.query(rt,".ng-animate-queued",!0);for(let xt=0;xt<lt.length;xt++)it.add(lt[xt])});const st=this.bodyNode,qt=Array.from(this.statesByElement.keys()),h=Do(qt,this.collectedEnterElements),x=new Map;let y=0;h.forEach((rt,lt)=>{const xt=H+y++;x.set(lt,xt),rt.forEach(rn=>qn(rn,xt))});const D=[],L=new Set,ce=new Set;for(let rt=0;rt<this.collectedLeaveElements.length;rt++){const lt=this.collectedLeaveElements[rt],xt=lt[gn];xt&&xt.setForRemoval&&(D.push(lt),L.add(lt),xt.hasAnimation?this.driver.query(lt,".ng-star-inserted",!0).forEach(rn=>L.add(rn)):ce.add(lt))}const Oe=new Map,nt=Do(qt,Array.from(L));nt.forEach((rt,lt)=>{const xt=De+y++;Oe.set(lt,xt),rt.forEach(rn=>qn(rn,xt))}),l.push(()=>{h.forEach((rt,lt)=>{const xt=x.get(lt);rt.forEach(rn=>wi(rn,xt))}),nt.forEach((rt,lt)=>{const xt=Oe.get(lt);rt.forEach(rn=>wi(rn,xt))}),D.forEach(rt=>{this.processLeaveNode(rt)})});const tn=[],Gt=[];for(let rt=this._namespaceList.length-1;rt>=0;rt--)this._namespaceList[rt].drainQueuedTransitions(f).forEach(xt=>{const rn=xt.player,Bt=xt.element;if(tn.push(rn),this.collectedEnterElements.length){const mn=Bt[gn];if(mn&&mn.setForMove){if(mn.previousTriggersValues&&mn.previousTriggersValues.has(xt.triggerName)){const Hr=mn.previousTriggersValues.get(xt.triggerName),Zi=this.statesByElement.get(xt.element);if(Zi&&Zi.has(xt.triggerName)){const Qo=Zi.get(xt.triggerName);Qo.value=Hr,Zi.set(xt.triggerName,Qo)}}return void rn.destroy()}}const Bi=!st||!this.driver.containsElement(st,Bt),vn=Oe.get(Bt),Wn=x.get(Bt),Nn=this._buildInstruction(xt,v,Wn,vn,Bi);if(Nn.errors&&Nn.errors.length)return void Gt.push(Nn);if(Bi)return rn.onStart(()=>Mn(Bt,Nn.fromStyles)),rn.onDestroy(()=>Cn(Bt,Nn.toStyles)),void C.push(rn);if(xt.isFallbackTransition)return rn.onStart(()=>Mn(Bt,Nn.fromStyles)),rn.onDestroy(()=>Cn(Bt,Nn.toStyles)),void C.push(rn);const Ao=[];Nn.timelines.forEach(mn=>{mn.stretchStartingKeyframe=!0,this.disabledNodes.has(mn.element)||Ao.push(mn)}),Nn.timelines=Ao,v.append(Bt,Nn.timelines),W.push({instruction:Nn,player:rn,element:Bt}),Nn.queriedElements.forEach(mn=>_n(K,mn,[]).push(rn)),Nn.preStyleProps.forEach((mn,Hr)=>{if(mn.size){let Zi=he.get(Hr);Zi||he.set(Hr,Zi=new Set),mn.forEach((Qo,cr)=>Zi.add(cr))}}),Nn.postStyleProps.forEach((mn,Hr)=>{let Zi=Ne.get(Hr);Zi||Ne.set(Hr,Zi=new Set),mn.forEach((Qo,cr)=>Zi.add(cr))})});if(Gt.length){const rt=[];Gt.forEach(lt=>{rt.push(function bn(E,l){return new B.vHH(3505,!1)}())}),tn.forEach(lt=>lt.destroy()),this.reportError(rt)}const Ot=new Map,St=new Map;W.forEach(rt=>{const lt=rt.element;v.has(lt)&&(St.set(lt,lt),this._beforeAnimationBuild(rt.player.namespaceId,rt.instruction,Ot))}),C.forEach(rt=>{const lt=rt.element;this._getPreviousPlayers(lt,!1,rt.namespaceId,rt.triggerName,null).forEach(rn=>{_n(Ot,lt,[]).push(rn),rn.destroy()})});const sn=D.filter(rt=>No(rt,he,Ne)),Zt=new Map;ro(Zt,this.driver,ce,Ne,we).forEach(rt=>{No(rt,he,Ne)&&sn.push(rt)});const mi=new Map;h.forEach((rt,lt)=>{ro(mi,this.driver,new Set(rt),he,"!")}),sn.forEach(rt=>{const lt=Zt.get(rt),xt=mi.get(rt);Zt.set(rt,new Map([...lt?.entries()??[],...xt?.entries()??[]]))});const zn=[],Ar=[],fi={};W.forEach(rt=>{const{element:lt,player:xt,instruction:rn}=rt;if(v.has(lt)){if(it.has(lt))return xt.onDestroy(()=>Cn(lt,rn.toStyles)),xt.disabled=!0,xt.overrideTotalTime(rn.totalTime),void C.push(xt);let Bt=fi;if(St.size>1){let vn=lt;const Wn=[];for(;vn=vn.parentNode;){const Nn=St.get(vn);if(Nn){Bt=Nn;break}Wn.push(vn)}Wn.forEach(Nn=>St.set(Nn,Bt))}const Bi=this._buildAnimation(xt.namespaceId,rn,Ot,N,mi,Zt);if(xt.setRealPlayer(Bi),Bt===fi)zn.push(xt);else{const vn=this.playersByElement.get(Bt);vn&&vn.length&&(xt.parentPlayer=On(vn)),C.push(xt)}}else Mn(lt,rn.fromStyles),xt.onDestroy(()=>Cn(lt,rn.toStyles)),Ar.push(xt),it.has(lt)&&C.push(xt)}),Ar.forEach(rt=>{const lt=N.get(rt.element);if(lt&<.length){const xt=On(lt);rt.setRealPlayer(xt)}}),C.forEach(rt=>{rt.parentPlayer?rt.syncPlayerEvents(rt.parentPlayer):rt.destroy()});for(let rt=0;rt<D.length;rt++){const lt=D[rt],xt=lt[gn];if(wi(lt,De),xt&&xt.hasAnimation)continue;let rn=[];if(K.size){let Bi=K.get(lt);Bi&&Bi.length&&rn.push(...Bi);let vn=this.driver.query(lt,Et,!0);for(let Wn=0;Wn<vn.length;Wn++){let Nn=K.get(vn[Wn]);Nn&&Nn.length&&rn.push(...Nn)}}const Bt=rn.filter(Bi=>!Bi.destroyed);Bt.length?xo(this,lt,Bt):this.processLeaveNode(lt)}return D.length=0,zn.forEach(rt=>{this.players.push(rt),rt.onDone(()=>{rt.destroy();const lt=this.players.indexOf(rt);this.players.splice(lt,1)}),rt.play()}),zn}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,f,v,C,N){let W=[];if(f){const K=this.playersByQueriedElement.get(l);K&&(W=K)}else{const K=this.playersByElement.get(l);if(K){const he=!N||N==yn;K.forEach(Ne=>{Ne.queued||!he&&Ne.triggerName!=C||W.push(Ne)})}}return(v||C)&&(W=W.filter(K=>!(v&&v!=K.namespaceId||C&&C!=K.triggerName))),W}_beforeAnimationBuild(l,f,v){const N=f.element,W=f.isRemovalTransition?void 0:l,K=f.isRemovalTransition?void 0:f.triggerName;for(const he of f.timelines){const Ne=he.element,it=Ne!==N,st=_n(v,Ne,[]);this._getPreviousPlayers(Ne,it,W,K,f.toState).forEach(h=>{const x=h.getRealPlayer();x.beforeDestroy&&x.beforeDestroy(),h.destroy(),st.push(h)})}Mn(N,f.fromStyles)}_buildAnimation(l,f,v,C,N,W){const K=f.triggerName,he=f.element,Ne=[],it=new Set,st=new Set,qt=f.timelines.map(x=>{const y=x.element;it.add(y);const D=y[gn];if(D&&D.removedBeforeQueried)return new Me(x.duration,x.delay);const L=y!==he,ce=function jr(E){const l=[];return Po(E,l),l}((v.get(y)||Er).map(Ot=>Ot.getRealPlayer())).filter(Ot=>!!Ot.element&&Ot.element===y),Oe=N.get(y),nt=W.get(y),tn=Qt(this._normalizer,x.keyframes,Oe,nt),Gt=this._buildPlayer(x,tn,ce);if(x.subTimeline&&C&&st.add(y),L){const Ot=new wr(l,K,y);Ot.setRealPlayer(Gt),Ne.push(Ot)}return Gt});Ne.forEach(x=>{_n(this.playersByQueriedElement,x.element,[]).push(x),x.onDone(()=>function Li(E,l,f){let v=E.get(l);if(v){if(v.length){const C=v.indexOf(f);v.splice(C,1)}0==v.length&&E.delete(l)}return v}(this.playersByQueriedElement,x.element,x))}),it.forEach(x=>qn(x,Ct));const h=On(qt);return h.onDestroy(()=>{it.forEach(x=>wi(x,Ct)),Cn(he,f.toStyles)}),st.forEach(x=>{_n(C,x,[]).push(h)}),h}_buildPlayer(l,f,v){return f.length>0?this.driver.animate(l.element,f,l.duration,l.delay,l.easing,v):new Me(l.duration,l.delay)}}class wr{constructor(l,f,v){this.namespaceId=l,this.triggerName=f,this.element=v,this._player=new Me,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,this._queuedCallbacks.forEach((f,v)=>{f.forEach(C=>hn(l,v,void 0,C))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const f=this._player;f.triggerCallback&&l.onStart(()=>f.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,f){_n(this._queuedCallbacks,l,[]).push(f)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}init(){this._player.init()}hasStarted(){return!this.queued&&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(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const f=this._player;f.triggerCallback&&f.triggerCallback(l)}}function li(E){return E&&1===E.nodeType}function Cr(E,l){const f=E.style.display;return E.style.display=l??"none",f}function ro(E,l,f,v,C){const N=[];f.forEach(he=>N.push(Cr(he)));const W=[];v.forEach((he,Ne)=>{const it=new Map;he.forEach(st=>{const qt=l.computeStyle(Ne,st,C);it.set(st,qt),(!qt||0==qt.length)&&(Ne[gn]=sr,W.push(Ne))}),E.set(Ne,it)});let K=0;return f.forEach(he=>Cr(he,N[K++])),W}function Do(E,l){const f=new Map;if(E.forEach(K=>f.set(K,[])),0==l.length)return f;const C=new Set(l),N=new Map;function W(K){if(!K)return 1;let he=N.get(K);if(he)return he;const Ne=K.parentNode;return he=f.has(Ne)?Ne:C.has(Ne)?1:W(Ne),N.set(K,he),he}return l.forEach(K=>{const he=W(K);1!==he&&f.get(he).push(K)}),f}function qn(E,l){E.classList?.add(l)}function wi(E,l){E.classList?.remove(l)}function xo(E,l,f){On(f).onDone(()=>E.processLeaveNode(l))}function Po(E,l){for(let f=0;f<E.length;f++){const v=E[f];v instanceof Be?Po(v.players,l):l.push(v)}}function No(E,l,f){const v=f.get(E);if(!v)return!1;let C=l.get(E);return C?v.forEach(N=>C.add(N)):l.set(E,v),f.delete(E),!0}class Eo{constructor(l,f,v){this.bodyNode=l,this._driver=f,this._normalizer=v,this._triggerCache={},this.onRemovalComplete=(C,N)=>{},this._transitionEngine=new ii(l,f,v),this._timelineEngine=new Ki(l,f,v),this._transitionEngine.onRemovalComplete=(C,N)=>this.onRemovalComplete(C,N)}registerTrigger(l,f,v,C,N){const W=l+"-"+C;let K=this._triggerCache[W];if(!K){const he=[],it=Kn(this._driver,N,he,[]);if(he.length)throw function Kt(E,l){return new B.vHH(3404,!1)}();K=function kr(E,l,f){return new rr(E,l,f)}(C,it,this._normalizer),this._triggerCache[W]=K}this._transitionEngine.registerTrigger(f,C,K)}register(l,f){this._transitionEngine.register(l,f)}destroy(l,f){this._transitionEngine.destroy(l,f)}onInsert(l,f,v,C){this._transitionEngine.insertNode(l,f,v,C)}onRemove(l,f,v){this._transitionEngine.removeNode(l,f,v)}disableAnimations(l,f){this._transitionEngine.markElementAsDisabled(l,f)}process(l,f,v,C){if("@"==v.charAt(0)){const[N,W]=te(v);this._timelineEngine.command(N,f,W,C)}else this._transitionEngine.trigger(l,f,v,C)}listen(l,f,v,C,N){if("@"==v.charAt(0)){const[W,K]=te(v);return this._timelineEngine.listen(W,f,K,N)}return this._transitionEngine.listen(l,f,v,C,N)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(l){this._transitionEngine.afterFlushAnimationsDone(l)}}let us=(()=>{class E{static#e=this.initialStylesByElement=new WeakMap;constructor(f,v,C){this._element=f,this._startStyles=v,this._endStyles=C,this._state=0;let N=E.initialStylesByElement.get(f);N||E.initialStylesByElement.set(f,N=new Map),this._initialStyles=N}start(){this._state<1&&(this._startStyles&&Cn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Cn(this._element,this._initialStyles),this._endStyles&&(Cn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(E.initialStylesByElement.delete(this._element),this._startStyles&&(Mn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Mn(this._element,this._endStyles),this._endStyles=null),Cn(this._element,this._initialStyles),this._state=3)}}return E})();function wo(E){let l=null;return E.forEach((f,v)=>{(function oo(E){return"display"===E||"position"===E})(v)&&(l=l||new Map,l.set(v,f))}),l}class ki{constructor(l,f,v,C){this.element=l,this.keyframes=f,this.options=v,this._specialStyles=C,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=v.duration,this._delay=v.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:new Map;const f=()=>this._onFinish();this.domPlayer.addEventListener("finish",f),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",f)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(l){const f=[];return l.forEach(v=>{f.push(Object.fromEntries(v))}),f}_triggerWebAnimation(l,f,v){return l.animate(this._convertKeyframesToObject(f),v)}onStart(l){this._originalOnStartFns.push(l),this._onStartFns.push(l)}onDone(l){this._originalOnDoneFns.push(l),this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),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(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l=new Map;this.hasStarted()&&this._finalKeyframe.forEach((v,C)=>{"offset"!==C&&l.set(C,this._finished?v:$i(this.element,C))}),this.currentSnapshot=l}triggerCallback(l){const f="start"===l?this._onStartFns:this._onDoneFns;f.forEach(v=>v()),f.length=0}}class Lo{validateStyleProperty(l){return!0}validateAnimatableStyleProperty(l){return!0}matchesElement(l,f){return!1}containsElement(l,f){return se(l,f)}getParentElement(l){return R(l)}query(l,f,v){return Pe(l,f,v)}computeStyle(l,f,v){return window.getComputedStyle(l)[f]}animate(l,f,v,C,N,W=[]){const he={duration:v,delay:C,fill:0==C?"both":"forwards"};N&&(he.easing=N);const Ne=new Map,it=W.filter(h=>h instanceof ki);(function Vi(E,l){return 0===E||0===l})(v,C)&&it.forEach(h=>{h.currentSnapshot.forEach((x,y)=>Ne.set(y,x))});let st=function er(E){return E.length?E[0]instanceof Map?E:E.map(l=>di(l)):[]}(f).map(h=>ri(h));st=function Or(E,l,f){if(f.size&&l.length){let v=l[0],C=[];if(f.forEach((N,W)=>{v.has(W)||C.push(W),v.set(W,N)}),C.length)for(let N=1;N<l.length;N++){let W=l[N];C.forEach(K=>W.set(K,$i(E,K)))}}return l}(l,st,Ne);const qt=function Js(E,l){let f=null,v=null;return Array.isArray(l)&&l.length?(f=wo(l[0]),l.length>1&&(v=wo(l[l.length-1]))):l instanceof Map&&(f=wo(l)),f||v?new us(E,f,v):null}(l,st);return new ki(l,st,he,qt)}}var Qr=S(6814);let so=(()=>{class E extends Ce{constructor(f,v){super(),this._nextAnimationId=0,this._renderer=f.createRenderer(v.body,{id:"0",encapsulation:B.ifc.None,styles:[],data:{animation:[]}})}build(f){const v=this._nextAnimationId.toString();this._nextAnimationId++;const C=Array.isArray(f)?je(f):f;return Co(this._renderer,null,v,"register",[C]),new ko(v,this._renderer)}static#e=this.\u0275fac=function(v){return new(v||E)(B.LFG(B.FYo),B.LFG(Qr.K0))};static#t=this.\u0275prov=B.Yz7({token:E,factory:E.\u0275fac})}return E})();class ko extends Ve{constructor(l,f){super(),this._id=l,this._renderer=f}create(l,f){return new qr(this._id,l,f||{},this._renderer)}}class qr{constructor(l,f,v,C){this.id=l,this.element=f,this._renderer=C,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",v)}_listen(l,f){return this._renderer.listen(this.element,`@@${this.id}:${l}`,f)}_command(l,...f){return Co(this._renderer,this.element,this.id,l,f)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(l){this._command("setPosition",l)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Co(E,l,f,v,C){return E.setProperty(l,`@@${f}:${v}`,C)}const xe="@.disabled";let z=(()=>{class E{constructor(f,v,C){this.delegate=f,this.engine=v,this._zone=C,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,v.onRemovalComplete=(N,W)=>{const K=W?.parentNode(N);K&&W.removeChild(K,N)}}createRenderer(f,v){const N=this.delegate.createRenderer(f,v);if(!(f&&v&&v.data&&v.data.animation)){let it=this._rendererCache.get(N);return it||(it=new j("",N,this.engine,()=>this._rendererCache.delete(N)),this._rendererCache.set(N,it)),it}const W=v.id,K=v.id+"-"+this._currentId;this._currentId++,this.engine.register(K,f);const he=it=>{Array.isArray(it)?it.forEach(he):this.engine.registerTrigger(W,K,f,it.name,it)};return v.data.animation.forEach(he),new Y(this,K,N,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(f,v,C){f>=0&&f<this._microtaskId?this._zone.run(()=>v(C)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(N=>{const[W,K]=N;W(K)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([v,C]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(v){return new(v||E)(B.LFG(B.FYo),B.LFG(Eo),B.LFG(B.R0b))};static#t=this.\u0275prov=B.Yz7({token:E,factory:E.\u0275fac})}return E})();class j{constructor(l,f,v,C){this.namespaceId=l,this.delegate=f,this.engine=v,this._onDestroy=C}get data(){return this.delegate.data}destroyNode(l){this.delegate.destroyNode?.(l)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(l,f){return this.delegate.createElement(l,f)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,f){this.delegate.appendChild(l,f),this.engine.onInsert(this.namespaceId,f,l,!1)}insertBefore(l,f,v,C=!0){this.delegate.insertBefore(l,f,v),this.engine.onInsert(this.namespaceId,f,l,C)}removeChild(l,f,v){this.engine.onRemove(this.namespaceId,f,this.delegate)}selectRootElement(l,f){return this.delegate.selectRootElement(l,f)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,f,v,C){this.delegate.setAttribute(l,f,v,C)}removeAttribute(l,f,v){this.delegate.removeAttribute(l,f,v)}addClass(l,f){this.delegate.addClass(l,f)}removeClass(l,f){this.delegate.removeClass(l,f)}setStyle(l,f,v,C){this.delegate.setStyle(l,f,v,C)}removeStyle(l,f,v){this.delegate.removeStyle(l,f,v)}setProperty(l,f,v){"@"==f.charAt(0)&&f==xe?this.disableAnimations(l,!!v):this.delegate.setProperty(l,f,v)}setValue(l,f){this.delegate.setValue(l,f)}listen(l,f,v){return this.delegate.listen(l,f,v)}disableAnimations(l,f){this.engine.disableAnimations(l,f)}}class Y extends j{constructor(l,f,v,C,N){super(f,v,C,N),this.factory=l,this.namespaceId=f}setProperty(l,f,v){"@"==f.charAt(0)?"."==f.charAt(1)&&f==xe?this.disableAnimations(l,v=void 0===v||!!v):this.engine.process(this.namespaceId,l,f.slice(1),v):this.delegate.setProperty(l,f,v)}listen(l,f,v){if("@"==f.charAt(0)){const C=function Ae(E){switch(E){case"body":return document.body;case"document":return document;case"window":return window;default:return E}}(l);let N=f.slice(1),W="";return"@"!=N.charAt(0)&&([N,W]=function qe(E){const l=E.indexOf(".");return[E.substring(0,l),E.slice(l+1)]}(N)),this.engine.listen(this.namespaceId,C,N,W,K=>{this.factory.scheduleListenerCallback(K._data||-1,v,K)})}return this.delegate.listen(l,f,v)}}const $n=[{provide:Ce,useClass:so},{provide:Ai,useFactory:function un(){return new An}},{provide:Eo,useClass:(()=>{class E extends Eo{constructor(f,v,C,N){super(f.body,v,C)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(v){return new(v||E)(B.LFG(Qr.K0),B.LFG(Q),B.LFG(Ai),B.LFG(B.z2F))};static#t=this.\u0275prov=B.Yz7({token:E,factory:E.\u0275fac})}return E})()},{provide:B.FYo,useFactory:function gi(E,l,f){return new z(E,l,f)},deps:[s.se,Eo,B.R0b]}],Mr=[{provide:Q,useFactory:()=>new Lo},{provide:B.QbO,useValue:"BrowserAnimations"},...$n],ao=[{provide:Q,useClass:fe},{provide:B.QbO,useValue:"NoopAnimations"},...$n];let Bo=(()=>{class E{static withConfig(f){return{ngModule:E,providers:f.disableAnimations?ao:Mr}}static#e=this.\u0275fac=function(v){return new(v||E)};static#t=this.\u0275mod=B.oAB({type:E});static#n=this.\u0275inj=B.cJS({providers:Mr,imports:[s.b2]})}return E})();var Ko=S(8943);let Ur=(()=>{class E{static#e=this.\u0275fac=function(v){return new(v||E)};static#t=this.\u0275mod=B.oAB({type:E});static#n=this.\u0275inj=B.cJS({imports:[Qr.ez,Ko.m,F.Bz]})}return E})(),lr=(()=>{class E{static#e=this.\u0275fac=function(v){return new(v||E)};static#t=this.\u0275mod=B.oAB({type:E});static#n=this.\u0275inj=B.cJS({imports:[Qr.ez,Ur,Ur]})}return E})(),Uo=(()=>{class E{static#e=this.\u0275fac=function(v){return new(v||E)};static#t=this.\u0275mod=B.oAB({type:E,bootstrap:[ne]});static#n=this.\u0275inj=B.cJS({imports:[s.b2,ie,Bo,lr]})}return E})();s.q6().bootstrapModule(Uo).catch(E=>console.error(E))},5619:(dt,Te,S)=>{S.d(Te,{X:()=>F});var s=S(8645);class F extends s.x{constructor(re){super(),this._value=re}get value(){return this.getValue()}_subscribe(re){const ie=super._subscribe(re);return!ie.closed&&re.next(this._value),ie}getValue(){const{hasError:re,thrownError:ie,_value:ne}=this;if(re)throw ie;return this._throwIfClosed(),ne}next(re){super.next(this._value=re)}}},5592:(dt,Te,S)=>{S.d(Te,{y:()=>Ve});var s=S(305),F=S(7394),B=S(4850),re=S(8407),ie=S(2653),ne=S(4674),Ce=S(1441);let Ve=(()=>{class ae{constructor(ke){ke&&(this._subscribe=ke)}lift(ke){const Je=new ae;return Je.source=this,Je.operator=ke,Je}subscribe(ke,Je,Ue){const ht=function de(ae){return ae&&ae instanceof s.Lv||function q(ae){return ae&&(0,ne.m)(ae.next)&&(0,ne.m)(ae.error)&&(0,ne.m)(ae.complete)}(ae)&&(0,F.Nn)(ae)}(ke)?ke:new s.Hp(ke,Je,Ue);return(0,Ce.x)(()=>{const{operator:yt,source:It}=this;ht.add(yt?yt.call(ht,It):It?this._subscribe(ht):this._trySubscribe(ht))}),ht}_trySubscribe(ke){try{return this._subscribe(ke)}catch(Je){ke.error(Je)}}forEach(ke,Je){return new(Je=we(Je))((Ue,ht)=>{const yt=new s.Hp({next:It=>{try{ke(It)}catch(kt){ht(kt),yt.unsubscribe()}},error:ht,complete:Ue});this.subscribe(yt)})}_subscribe(ke){var Je;return null===(Je=this.source)||void 0===Je?void 0:Je.subscribe(ke)}[B.L](){return this}pipe(...ke){return(0,re.U)(ke)(this)}toPromise(ke){return new(ke=we(ke))((Je,Ue)=>{let ht;this.subscribe(yt=>ht=yt,yt=>Ue(yt),()=>Je(ht))})}}return ae.create=je=>new ae(je),ae})();function we(ae){var je;return null!==(je=ae??ie.config.Promise)&&void 0!==je?je:Promise}},8645:(dt,Te,S)=>{S.d(Te,{u:()=>Ve,x:()=>Ce});var s=S(5592),F=S(7394);const re=(0,S(2306).d)(we=>function(){we(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=S(9039),ne=S(1441);let Ce=(()=>{class we extends s.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(de){const ae=new Ve(this,this);return ae.operator=de,ae}_throwIfClosed(){if(this.closed)throw new re}next(de){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ae of this.currentObservers)ae.next(de)}})}error(de){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=de;const{observers:ae}=this;for(;ae.length;)ae.shift().error(de)}})}complete(){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:de}=this;for(;de.length;)de.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var de;return(null===(de=this.observers)||void 0===de?void 0:de.length)>0}_trySubscribe(de){return this._throwIfClosed(),super._trySubscribe(de)}_subscribe(de){return this._throwIfClosed(),this._checkFinalizedStatuses(de),this._innerSubscribe(de)}_innerSubscribe(de){const{hasError:ae,isStopped:je,observers:ke}=this;return ae||je?F.Lc:(this.currentObservers=null,ke.push(de),new F.w0(()=>{this.currentObservers=null,(0,ie.P)(ke,de)}))}_checkFinalizedStatuses(de){const{hasError:ae,thrownError:je,isStopped:ke}=this;ae?de.error(je):ke&&de.complete()}asObservable(){const de=new s.y;return de.source=this,de}}return we.create=(q,de)=>new Ve(q,de),we})();class Ve extends Ce{constructor(q,de){super(),this.destination=q,this.source=de}next(q){var de,ae;null===(ae=null===(de=this.destination)||void 0===de?void 0:de.next)||void 0===ae||ae.call(de,q)}error(q){var de,ae;null===(ae=null===(de=this.destination)||void 0===de?void 0:de.error)||void 0===ae||ae.call(de,q)}complete(){var q,de;null===(de=null===(q=this.destination)||void 0===q?void 0:q.complete)||void 0===de||de.call(q)}_subscribe(q){var de,ae;return null!==(ae=null===(de=this.source)||void 0===de?void 0:de.subscribe(q))&&void 0!==ae?ae:F.Lc}}},305:(dt,Te,S)=>{S.d(Te,{Hp:()=>Ue,Lv:()=>ae});var s=S(4674),F=S(7394),B=S(2653),re=S(3894),ie=S(2420);const ne=we("C",void 0,void 0);function we(_e,be,Me){return{kind:_e,value:be,error:Me}}var q=S(7599),de=S(1441);class ae extends F.w0{constructor(be){super(),this.isStopped=!1,be?(this.destination=be,(0,F.Nn)(be)&&be.add(this)):this.destination=kt}static create(be,Me,Be){return new Ue(be,Me,Be)}next(be){this.isStopped?It(function Ve(_e){return we("N",_e,void 0)}(be),this):this._next(be)}error(be){this.isStopped?It(function Ce(_e){return we("E",void 0,_e)}(be),this):(this.isStopped=!0,this._error(be))}complete(){this.isStopped?It(ne,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(be){this.destination.next(be)}_error(be){try{this.destination.error(be)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const je=Function.prototype.bind;function ke(_e,be){return je.call(_e,be)}class Je{constructor(be){this.partialObserver=be}next(be){const{partialObserver:Me}=this;if(Me.next)try{Me.next(be)}catch(Be){ht(Be)}}error(be){const{partialObserver:Me}=this;if(Me.error)try{Me.error(be)}catch(Be){ht(Be)}else ht(be)}complete(){const{partialObserver:be}=this;if(be.complete)try{be.complete()}catch(Me){ht(Me)}}}class Ue extends ae{constructor(be,Me,Be){let ze;if(super(),(0,s.m)(be)||!be)ze={next:be??void 0,error:Me??void 0,complete:Be??void 0};else{let Ye;this&&B.config.useDeprecatedNextContext?(Ye=Object.create(be),Ye.unsubscribe=()=>this.unsubscribe(),ze={next:be.next&&ke(be.next,Ye),error:be.error&&ke(be.error,Ye),complete:be.complete&&ke(be.complete,Ye)}):ze=be}this.destination=new Je(ze)}}function ht(_e){B.config.useDeprecatedSynchronousErrorHandling?(0,de.O)(_e):(0,re.h)(_e)}function It(_e,be){const{onStoppedNotification:Me}=B.config;Me&&q.z.setTimeout(()=>Me(_e,be))}const kt={closed:!0,next:ie.Z,error:function yt(_e){throw _e},complete:ie.Z}},7394:(dt,Te,S)=>{S.d(Te,{Lc:()=>ne,w0:()=>ie,Nn:()=>Ce});var s=S(4674);const B=(0,S(2306).d)(we=>function(de){we(this),this.message=de?`${de.length} errors occurred during unsubscription:\n${de.map((ae,je)=>`${je+1}) ${ae.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=de});var re=S(9039);class ie{constructor(q){this.initialTeardown=q,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let q;if(!this.closed){this.closed=!0;const{_parentage:de}=this;if(de)if(this._parentage=null,Array.isArray(de))for(const ke of de)ke.remove(this);else de.remove(this);const{initialTeardown:ae}=this;if((0,s.m)(ae))try{ae()}catch(ke){q=ke instanceof B?ke.errors:[ke]}const{_finalizers:je}=this;if(je){this._finalizers=null;for(const ke of je)try{Ve(ke)}catch(Je){q=q??[],Je instanceof B?q=[...q,...Je.errors]:q.push(Je)}}if(q)throw new B(q)}}add(q){var de;if(q&&q!==this)if(this.closed)Ve(q);else{if(q instanceof ie){if(q.closed||q._hasParent(this))return;q._addParent(this)}(this._finalizers=null!==(de=this._finalizers)&&void 0!==de?de:[]).push(q)}}_hasParent(q){const{_parentage:de}=this;return de===q||Array.isArray(de)&&de.includes(q)}_addParent(q){const{_parentage:de}=this;this._parentage=Array.isArray(de)?(de.push(q),de):de?[de,q]:q}_removeParent(q){const{_parentage:de}=this;de===q?this._parentage=null:Array.isArray(de)&&(0,re.P)(de,q)}remove(q){const{_finalizers:de}=this;de&&(0,re.P)(de,q),q instanceof ie&&q._removeParent(this)}}ie.EMPTY=(()=>{const we=new ie;return we.closed=!0,we})();const ne=ie.EMPTY;function Ce(we){return we instanceof ie||we&&"closed"in we&&(0,s.m)(we.remove)&&(0,s.m)(we.add)&&(0,s.m)(we.unsubscribe)}function Ve(we){(0,s.m)(we)?we():we.unsubscribe()}},2653:(dt,Te,S)=>{S.d(Te,{config:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(dt,Te,S)=>{S.d(Te,{a:()=>q});var s=S(5592),F=S(7453),B=S(7715),re=S(2737),ie=S(7400),ne=S(4564),Ce=S(2714),Ve=S(8251),we=S(7103);function q(...je){const ke=(0,ne.yG)(je),Je=(0,ne.jO)(je),{args:Ue,keys:ht}=(0,F.D)(je);if(0===Ue.length)return(0,B.D)([],ke);const yt=new s.y(function de(je,ke,Je=re.y){return Ue=>{ae(ke,()=>{const{length:ht}=je,yt=new Array(ht);let It=ht,kt=ht;for(let _e=0;_e<ht;_e++)ae(ke,()=>{const be=(0,B.D)(je[_e],ke);let Me=!1;be.subscribe((0,Ve.x)(Ue,Be=>{yt[_e]=Be,Me||(Me=!0,kt--),kt||Ue.next(Je(yt.slice()))},()=>{--It||Ue.complete()}))},Ue)},Ue)}}(Ue,ke,ht?It=>(0,Ce.n)(ht,It):re.y));return Je?yt.pipe((0,ie.Z)(Je)):yt}function ae(je,ke,Je){je?(0,we.f)(Je,je,ke):ke()}},5211:(dt,Te,S)=>{S.d(Te,{z:()=>ie});var s=S(7537),B=S(4564),re=S(7715);function ie(...ne){return function F(){return(0,s.J)(1)}()((0,re.D)(ne,(0,B.yG)(ne)))}},6232:(dt,Te,S)=>{S.d(Te,{E:()=>F});const F=new(S(5592).y)(ie=>ie.complete())},7715:(dt,Te,S)=>{S.d(Te,{D:()=>Be});var s=S(4829),F=S(7103),B=S(9360),re=S(8251);function ie(ze,Ye=0){return(0,B.e)((vt,ct)=>{vt.subscribe((0,re.x)(ct,At=>(0,F.f)(ct,ze,()=>ct.next(At),Ye),()=>(0,F.f)(ct,ze,()=>ct.complete(),Ye),At=>(0,F.f)(ct,ze,()=>ct.error(At),Ye)))})}function ne(ze,Ye=0){return(0,B.e)((vt,ct)=>{ct.add(ze.schedule(()=>vt.subscribe(ct),Ye))})}var we=S(5592),de=S(4971),ae=S(4674);function ke(ze,Ye){if(!ze)throw new Error("Iterable cannot be null");return new we.y(vt=>{(0,F.f)(vt,Ye,()=>{const ct=ze[Symbol.asyncIterator]();(0,F.f)(vt,Ye,()=>{ct.next().then(At=>{At.done?vt.complete():vt.next(At.value)})},0,!0)})})}var Je=S(8382),Ue=S(4026),ht=S(4266),yt=S(3664),It=S(5726),kt=S(9853),_e=S(541);function Be(ze,Ye){return Ye?function Me(ze,Ye){if(null!=ze){if((0,Je.c)(ze))return function Ce(ze,Ye){return(0,s.Xf)(ze).pipe(ne(Ye),ie(Ye))}(ze,Ye);if((0,ht.z)(ze))return function q(ze,Ye){return new we.y(vt=>{let ct=0;return Ye.schedule(function(){ct===ze.length?vt.complete():(vt.next(ze[ct++]),vt.closed||this.schedule())})})}(ze,Ye);if((0,Ue.t)(ze))return function Ve(ze,Ye){return(0,s.Xf)(ze).pipe(ne(Ye),ie(Ye))}(ze,Ye);if((0,It.D)(ze))return ke(ze,Ye);if((0,yt.T)(ze))return function je(ze,Ye){return new we.y(vt=>{let ct;return(0,F.f)(vt,Ye,()=>{ct=ze[de.h](),(0,F.f)(vt,Ye,()=>{let At,kn;try{({value:At,done:kn}=ct.next())}catch(Zn){return void vt.error(Zn)}kn?vt.complete():vt.next(At)},0,!0)}),()=>(0,ae.m)(ct?.return)&&ct.return()})}(ze,Ye);if((0,_e.L)(ze))return function be(ze,Ye){return ke((0,_e.Q)(ze),Ye)}(ze,Ye)}throw(0,kt.z)(ze)}(ze,Ye):(0,s.Xf)(ze)}},4829:(dt,Te,S)=>{S.d(Te,{Xf:()=>je});var s=S(7582),F=S(4266),B=S(4026),re=S(5592),ie=S(8382),ne=S(5726),Ce=S(9853),Ve=S(3664),we=S(541),q=S(4674),de=S(3894),ae=S(4850);function je(_e){if(_e instanceof re.y)return _e;if(null!=_e){if((0,ie.c)(_e))return function ke(_e){return new re.y(be=>{const Me=_e[ae.L]();if((0,q.m)(Me.subscribe))return Me.subscribe(be);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(_e);if((0,F.z)(_e))return function Je(_e){return new re.y(be=>{for(let Me=0;Me<_e.length&&!be.closed;Me++)be.next(_e[Me]);be.complete()})}(_e);if((0,B.t)(_e))return function Ue(_e){return new re.y(be=>{_e.then(Me=>{be.closed||(be.next(Me),be.complete())},Me=>be.error(Me)).then(null,de.h)})}(_e);if((0,ne.D)(_e))return yt(_e);if((0,Ve.T)(_e))return function ht(_e){return new re.y(be=>{for(const Me of _e)if(be.next(Me),be.closed)return;be.complete()})}(_e);if((0,we.L)(_e))return function It(_e){return yt((0,we.Q)(_e))}(_e)}throw(0,Ce.z)(_e)}function yt(_e){return new re.y(be=>{(function kt(_e,be){var Me,Be,ze,Ye;return(0,s.mG)(this,void 0,void 0,function*(){try{for(Me=(0,s.KL)(_e);!(Be=yield Me.next()).done;)if(be.next(Be.value),be.closed)return}catch(vt){ze={error:vt}}finally{try{Be&&!Be.done&&(Ye=Me.return)&&(yield Ye.call(Me))}finally{if(ze)throw ze.error}}be.complete()})})(_e,be).catch(Me=>be.error(Me))})}},3019:(dt,Te,S)=>{S.d(Te,{T:()=>ne});var s=S(7537),F=S(4829),B=S(6232),re=S(4564),ie=S(7715);function ne(...Ce){const Ve=(0,re.yG)(Ce),we=(0,re._6)(Ce,1/0),q=Ce;return q.length?1===q.length?(0,F.Xf)(q[0]):(0,s.J)(we)((0,ie.D)(q,Ve)):B.E}},2096:(dt,Te,S)=>{S.d(Te,{of:()=>B});var s=S(4564),F=S(7715);function B(...re){const ie=(0,s.yG)(re);return(0,F.D)(re,ie)}},8504:(dt,Te,S)=>{S.d(Te,{_:()=>B});var s=S(5592),F=S(4674);function B(re,ie){const ne=(0,F.m)(re)?re:()=>re,Ce=Ve=>Ve.error(ne());return new s.y(ie?Ve=>ie.schedule(Ce,0,Ve):Ce)}},8251:(dt,Te,S)=>{S.d(Te,{x:()=>F});var s=S(305);function F(re,ie,ne,Ce,Ve){return new B(re,ie,ne,Ce,Ve)}class B extends s.Lv{constructor(ie,ne,Ce,Ve,we,q){super(ie),this.onFinalize=we,this.shouldUnsubscribe=q,this._next=ne?function(de){try{ne(de)}catch(ae){ie.error(ae)}}:super._next,this._error=Ve?function(de){try{Ve(de)}catch(ae){ie.error(ae)}finally{this.unsubscribe()}}:super._error,this._complete=Ce?function(){try{Ce()}catch(de){ie.error(de)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ie;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ne}=this;super.unsubscribe(),!ne&&(null===(ie=this.onFinalize)||void 0===ie||ie.call(this))}}}},6306:(dt,Te,S)=>{S.d(Te,{K:()=>re});var s=S(4829),F=S(8251),B=S(9360);function re(ie){return(0,B.e)((ne,Ce)=>{let q,Ve=null,we=!1;Ve=ne.subscribe((0,F.x)(Ce,void 0,void 0,de=>{q=(0,s.Xf)(ie(de,re(ie)(ne))),Ve?(Ve.unsubscribe(),Ve=null,q.subscribe(Ce)):we=!0})),we&&(Ve.unsubscribe(),Ve=null,q.subscribe(Ce))})}},6328:(dt,Te,S)=>{S.d(Te,{b:()=>B});var s=S(1631),F=S(4674);function B(re,ie){return(0,F.m)(ie)?(0,s.z)(re,ie,1):(0,s.z)(re,1)}},3997:(dt,Te,S)=>{S.d(Te,{x:()=>re});var s=S(2737),F=S(9360),B=S(8251);function re(ne,Ce=s.y){return ne=ne??ie,(0,F.e)((Ve,we)=>{let q,de=!0;Ve.subscribe((0,B.x)(we,ae=>{const je=Ce(ae);(de||!ne(q,je))&&(de=!1,q=je,we.next(ae))}))})}function ie(ne,Ce){return ne===Ce}},2181:(dt,Te,S)=>{S.d(Te,{h:()=>B});var s=S(9360),F=S(8251);function B(re,ie){return(0,s.e)((ne,Ce)=>{let Ve=0;ne.subscribe((0,F.x)(Ce,we=>re.call(ie,we,Ve++)&&Ce.next(we)))})}},4716:(dt,Te,S)=>{S.d(Te,{x:()=>F});var s=S(9360);function F(B){return(0,s.e)((re,ie)=>{try{re.subscribe(ie)}finally{ie.add(B)}})}},7398:(dt,Te,S)=>{S.d(Te,{U:()=>B});var s=S(9360),F=S(8251);function B(re,ie){return(0,s.e)((ne,Ce)=>{let Ve=0;ne.subscribe((0,F.x)(Ce,we=>{Ce.next(re.call(ie,we,Ve++))}))})}},7537:(dt,Te,S)=>{S.d(Te,{J:()=>B});var s=S(1631),F=S(2737);function B(re=1/0){return(0,s.z)(F.y,re)}},1631:(dt,Te,S)=>{S.d(Te,{z:()=>Ve});var s=S(7398),F=S(4829),B=S(9360),re=S(7103),ie=S(8251),Ce=S(4674);function Ve(we,q,de=1/0){return(0,Ce.m)(q)?Ve((ae,je)=>(0,s.U)((ke,Je)=>q(ae,ke,je,Je))((0,F.Xf)(we(ae,je))),de):("number"==typeof q&&(de=q),(0,B.e)((ae,je)=>function ne(we,q,de,ae,je,ke,Je,Ue){const ht=[];let yt=0,It=0,kt=!1;const _e=()=>{kt&&!ht.length&&!yt&&q.complete()},be=Be=>yt<ae?Me(Be):ht.push(Be),Me=Be=>{ke&&q.next(Be),yt++;let ze=!1;(0,F.Xf)(de(Be,It++)).subscribe((0,ie.x)(q,Ye=>{je?.(Ye),ke?be(Ye):q.next(Ye)},()=>{ze=!0},void 0,()=>{if(ze)try{for(yt--;ht.length&&yt<ae;){const Ye=ht.shift();Je?(0,re.f)(q,Je,()=>Me(Ye)):Me(Ye)}_e()}catch(Ye){q.error(Ye)}}))};return we.subscribe((0,ie.x)(q,be,()=>{kt=!0,_e()})),()=>{Ue?.()}}(ae,je,we,de)))}},3020:(dt,Te,S)=>{S.d(Te,{B:()=>ie});var s=S(4829),F=S(8645),B=S(305),re=S(9360);function ie(Ce={}){const{connector:Ve=(()=>new F.x),resetOnError:we=!0,resetOnComplete:q=!0,resetOnRefCountZero:de=!0}=Ce;return ae=>{let je,ke,Je,Ue=0,ht=!1,yt=!1;const It=()=>{ke?.unsubscribe(),ke=void 0},kt=()=>{It(),je=Je=void 0,ht=yt=!1},_e=()=>{const be=je;kt(),be?.unsubscribe()};return(0,re.e)((be,Me)=>{Ue++,!yt&&!ht&&It();const Be=Je=Je??Ve();Me.add(()=>{Ue--,0===Ue&&!yt&&!ht&&(ke=ne(_e,de))}),Be.subscribe(Me),!je&&Ue>0&&(je=new B.Hp({next:ze=>Be.next(ze),error:ze=>{yt=!0,It(),ke=ne(kt,we,ze),Be.error(ze)},complete:()=>{ht=!0,It(),ke=ne(kt,q),Be.complete()}}),(0,s.Xf)(be).subscribe(je))})(ae)}}function ne(Ce,Ve,...we){if(!0===Ve)return void Ce();if(!1===Ve)return;const q=new B.Hp({next:()=>{q.unsubscribe(),Ce()}});return(0,s.Xf)(Ve(...we)).subscribe(q)}},7921:(dt,Te,S)=>{S.d(Te,{O:()=>re});var s=S(5211),F=S(4564),B=S(9360);function re(...ie){const ne=(0,F.yG)(ie);return(0,B.e)((Ce,Ve)=>{(ne?(0,s.z)(ie,Ce,ne):(0,s.z)(ie,Ce)).subscribe(Ve)})}},4664:(dt,Te,S)=>{S.d(Te,{w:()=>re});var s=S(4829),F=S(9360),B=S(8251);function re(ie,ne){return(0,F.e)((Ce,Ve)=>{let we=null,q=0,de=!1;const ae=()=>de&&!we&&Ve.complete();Ce.subscribe((0,B.x)(Ve,je=>{we?.unsubscribe();let ke=0;const Je=q++;(0,s.Xf)(ie(je,Je)).subscribe(we=(0,B.x)(Ve,Ue=>Ve.next(ne?ne(je,Ue,Je,ke++):Ue),()=>{we=null,ae()}))},()=>{de=!0,ae()}))})}},8180:(dt,Te,S)=>{S.d(Te,{q:()=>re});var s=S(6232),F=S(9360),B=S(8251);function re(ie){return ie<=0?()=>s.E:(0,F.e)((ne,Ce)=>{let Ve=0;ne.subscribe((0,B.x)(Ce,we=>{++Ve<=ie&&(Ce.next(we),ie<=Ve&&Ce.complete())}))})}},9773:(dt,Te,S)=>{S.d(Te,{R:()=>ie});var s=S(9360),F=S(8251),B=S(4829),re=S(2420);function ie(ne){return(0,s.e)((Ce,Ve)=>{(0,B.Xf)(ne).subscribe((0,F.x)(Ve,()=>Ve.complete(),re.Z)),!Ve.closed&&Ce.subscribe(Ve)})}},9397:(dt,Te,S)=>{S.d(Te,{b:()=>ie});var s=S(4674),F=S(9360),B=S(8251),re=S(2737);function ie(ne,Ce,Ve){const we=(0,s.m)(ne)||Ce||Ve?{next:ne,error:Ce,complete:Ve}:ne;return we?(0,F.e)((q,de)=>{var ae;null===(ae=we.subscribe)||void 0===ae||ae.call(we);let je=!0;q.subscribe((0,B.x)(de,ke=>{var Je;null===(Je=we.next)||void 0===Je||Je.call(we,ke),de.next(ke)},()=>{var ke;je=!1,null===(ke=we.complete)||void 0===ke||ke.call(we),de.complete()},ke=>{var Je;je=!1,null===(Je=we.error)||void 0===Je||Je.call(we,ke),de.error(ke)},()=>{var ke,Je;je&&(null===(ke=we.unsubscribe)||void 0===ke||ke.call(we)),null===(Je=we.finalize)||void 0===Je||Je.call(we)}))}):re.y}},4552:(dt,Te,S)=>{S.d(Te,{l:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},7599:(dt,Te,S)=>{S.d(Te,{z:()=>s});const s={setTimeout(F,B,...re){const{delegate:ie}=s;return ie?.setTimeout?ie.setTimeout(F,B,...re):setTimeout(F,B,...re)},clearTimeout(F){const{delegate:B}=s;return(B?.clearTimeout||clearTimeout)(F)},delegate:void 0}},4971:(dt,Te,S)=>{S.d(Te,{h:()=>F});const F=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(dt,Te,S)=>{S.d(Te,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},4564:(dt,Te,S)=>{S.d(Te,{_6:()=>ne,jO:()=>re,yG:()=>ie});var s=S(4674);function B(Ce){return Ce[Ce.length-1]}function re(Ce){return(0,s.m)(B(Ce))?Ce.pop():void 0}function ie(Ce){return function F(Ce){return Ce&&(0,s.m)(Ce.schedule)}(B(Ce))?Ce.pop():void 0}function ne(Ce,Ve){return"number"==typeof B(Ce)?Ce.pop():Ve}},7453:(dt,Te,S)=>{S.d(Te,{D:()=>ie});const{isArray:s}=Array,{getPrototypeOf:F,prototype:B,keys:re}=Object;function ie(Ce){if(1===Ce.length){const Ve=Ce[0];if(s(Ve))return{args:Ve,keys:null};if(function ne(Ce){return Ce&&"object"==typeof Ce&&F(Ce)===B}(Ve)){const we=re(Ve);return{args:we.map(q=>Ve[q]),keys:we}}}return{args:Ce,keys:null}}},9039:(dt,Te,S)=>{function s(F,B){if(F){const re=F.indexOf(B);0<=re&&F.splice(re,1)}}S.d(Te,{P:()=>s})},2306:(dt,Te,S)=>{function s(F){const re=F(ie=>{Error.call(ie),ie.stack=(new Error).stack});return re.prototype=Object.create(Error.prototype),re.prototype.constructor=re,re}S.d(Te,{d:()=>s})},2714:(dt,Te,S)=>{function s(F,B){return F.reduce((re,ie,ne)=>(re[ie]=B[ne],re),{})}S.d(Te,{n:()=>s})},1441:(dt,Te,S)=>{S.d(Te,{O:()=>re,x:()=>B});var s=S(2653);let F=null;function B(ie){if(s.config.useDeprecatedSynchronousErrorHandling){const ne=!F;if(ne&&(F={errorThrown:!1,error:null}),ie(),ne){const{errorThrown:Ce,error:Ve}=F;if(F=null,Ce)throw Ve}}else ie()}function re(ie){s.config.useDeprecatedSynchronousErrorHandling&&F&&(F.errorThrown=!0,F.error=ie)}},7103:(dt,Te,S)=>{function s(F,B,re,ie=0,ne=!1){const Ce=B.schedule(function(){re(),ne?F.add(this.schedule(null,ie)):this.unsubscribe()},ie);if(F.add(Ce),!ne)return Ce}S.d(Te,{f:()=>s})},2737:(dt,Te,S)=>{function s(F){return F}S.d(Te,{y:()=>s})},4266:(dt,Te,S)=>{S.d(Te,{z:()=>s});const s=F=>F&&"number"==typeof F.length&&"function"!=typeof F},5726:(dt,Te,S)=>{S.d(Te,{D:()=>F});var s=S(4674);function F(B){return Symbol.asyncIterator&&(0,s.m)(B?.[Symbol.asyncIterator])}},4674:(dt,Te,S)=>{function s(F){return"function"==typeof F}S.d(Te,{m:()=>s})},8382:(dt,Te,S)=>{S.d(Te,{c:()=>B});var s=S(4850),F=S(4674);function B(re){return(0,F.m)(re[s.L])}},3664:(dt,Te,S)=>{S.d(Te,{T:()=>B});var s=S(4971),F=S(4674);function B(re){return(0,F.m)(re?.[s.h])}},4026:(dt,Te,S)=>{S.d(Te,{t:()=>F});var s=S(4674);function F(B){return(0,s.m)(B?.then)}},541:(dt,Te,S)=>{S.d(Te,{L:()=>re,Q:()=>B});var s=S(7582),F=S(4674);function B(ie){return(0,s.FC)(this,arguments,function*(){const Ce=ie.getReader();try{for(;;){const{value:Ve,done:we}=yield(0,s.qq)(Ce.read());if(we)return yield(0,s.qq)(void 0);yield yield(0,s.qq)(Ve)}}finally{Ce.releaseLock()}})}function re(ie){return(0,F.m)(ie?.getReader)}},9360:(dt,Te,S)=>{S.d(Te,{A:()=>F,e:()=>B});var s=S(4674);function F(re){return(0,s.m)(re?.lift)}function B(re){return ie=>{if(F(ie))return ie.lift(function(ne){try{return re(ne,this)}catch(Ce){this.error(Ce)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(dt,Te,S)=>{S.d(Te,{Z:()=>re});var s=S(7398);const{isArray:F}=Array;function re(ie){return(0,s.U)(ne=>function B(ie,ne){return F(ne)?ie(...ne):ie(ne)}(ie,ne))}},2420:(dt,Te,S)=>{function s(){}S.d(Te,{Z:()=>s})},8407:(dt,Te,S)=>{S.d(Te,{U:()=>B,z:()=>F});var s=S(2737);function F(...re){return B(re)}function B(re){return 0===re.length?s.y:1===re.length?re[0]:function(ne){return re.reduce((Ce,Ve)=>Ve(Ce),ne)}}},3894:(dt,Te,S)=>{S.d(Te,{h:()=>B});var s=S(2653),F=S(7599);function B(re){F.z.setTimeout(()=>{const{onUnhandledError:ie}=s.config;if(!ie)throw re;ie(re)})}},9853:(dt,Te,S)=>{function s(F){return new TypeError(`You provided ${null!==F&&"object"==typeof F?"an invalid object":`'${F}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}S.d(Te,{z:()=>s})},8229:(dt,Te,S)=>{S.d(Te,{tE:()=>Lo,qm:()=>Co,X6:()=>ro,yG:()=>Do});var s=S(6814),F=S(5879),B=S(2831),re=S(5619),ie=S(8645),ne=S(2096),Wi=S(2181);function Yi(xe){return(0,Wi.h)((z,j)=>xe<=j)}var Pr=S(3997),vr=S(9773),br=S(2495),Kn=S(2572),Wr=S(5211),Nr=S(5592),Yr=S(8180),Kr=S(7394);class T extends Kr.w0{constructor(z,j){super()}schedule(z,j=0){return this}}const J={setInterval(xe,z,...j){const{delegate:Y}=J;return Y?.setInterval?Y.setInterval(xe,z,...j):setInterval(xe,z,...j)},clearInterval(xe){const{delegate:z}=J;return(z?.clearInterval||clearInterval)(xe)},delegate:void 0};var V=S(9039),ft=S(4552);class bt{constructor(z,j=bt.now){this.schedulerActionCtor=z,this.now=j}schedule(z,j=0,Y){return new this.schedulerActionCtor(this,z).schedule(Y,j)}}bt.now=ft.l.now;const Jt=new class Dt extends bt{constructor(z,j=bt.now){super(z,j),this.actions=[],this._active=!1}flush(z){const{actions:j}=this;if(this._active)return void j.push(z);let Y;this._active=!0;do{if(Y=z.execute(z.state,z.delay))break}while(z=j.shift());if(this._active=!1,Y){for(;z=j.shift();)z.unsubscribe();throw Y}}}(class le extends T{constructor(z,j){super(z,j),this.scheduler=z,this.work=j,this.pending=!1}schedule(z,j=0){var Y;if(this.closed)return this;this.state=z;const Ae=this.id,qe=this.scheduler;return null!=Ae&&(this.id=this.recycleAsyncId(qe,Ae,j)),this.pending=!0,this.delay=j,this.id=null!==(Y=this.id)&&void 0!==Y?Y:this.requestAsyncId(qe,this.id,j),this}requestAsyncId(z,j,Y=0){return J.setInterval(z.flush.bind(z,this),Y)}recycleAsyncId(z,j,Y=0){if(null!=Y&&this.delay===Y&&!1===this.pending)return j;null!=j&&J.clearInterval(j)}execute(z,j){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Y=this._execute(z,j);if(Y)return Y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(z,j){let Ae,Y=!1;try{this.work(z)}catch(qe){Y=!0,Ae=qe||new Error("Scheduled action threw falsy error")}if(Y)return this.unsubscribe(),Ae}unsubscribe(){if(!this.closed){const{id:z,scheduler:j}=this,{actions:Y}=j;this.work=this.state=this.scheduler=null,this.pending=!1,(0,V.P)(Y,this),null!=z&&(this.id=this.recycleAsyncId(j,z,null)),this.delay=null,super.unsubscribe()}}});var Qn=S(9360),Fn=S(8251),nr=S(7398),Lr=S(7921);const ir=new Set;let en,tt=(()=>{class xe{constructor(j,Y){this._platform=j,this._nonce=Y,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):on}matchMedia(j){return(this._platform.WEBKIT||this._platform.BLINK)&&function Tt(xe,z){if(!ir.has(xe))try{en||(en=document.createElement("style"),z&&(en.nonce=z),en.setAttribute("type","text/css"),document.head.appendChild(en)),en.sheet&&(en.sheet.insertRule(`@media ${xe} {body{ }}`,0),ir.add(xe))}catch(j){console.error(j)}}(j,this._nonce),this._matchMedia(j)}static#e=this.\u0275fac=function(Y){return new(Y||xe)(F.LFG(B.t4),F.LFG(F.Ojb,8))};static#t=this.\u0275prov=F.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();function on(xe){return{matches:"all"===xe||""===xe,media:xe,addListener:()=>{},removeListener:()=>{}}}let si=(()=>{class xe{constructor(j,Y){this._mediaMatcher=j,this._zone=Y,this._queries=new Map,this._destroySubject=new ie.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(j){return Ai((0,br.Eq)(j)).some(Ae=>this._registerQuery(Ae).mql.matches)}observe(j){const Ae=Ai((0,br.Eq)(j)).map(Mt=>this._registerQuery(Mt).observable);let qe=(0,Kn.a)(Ae);return qe=(0,Wr.z)(qe.pipe((0,Yr.q)(1)),qe.pipe(Yi(1),function _r(xe,z=Jt){return(0,Qn.e)((j,Y)=>{let Ae=null,qe=null,Mt=null;const un=()=>{if(Ae){Ae.unsubscribe(),Ae=null;const $n=qe;qe=null,Y.next($n)}};function gi(){const $n=Mt+xe,Mr=z.now();if(Mr<$n)return Ae=this.schedule(void 0,$n-Mr),void Y.add(Ae);un()}j.subscribe((0,Fn.x)(Y,$n=>{qe=$n,Mt=z.now(),Ae||(Ae=z.schedule(gi,xe),Y.add(Ae))},()=>{un(),Y.complete()},void 0,()=>{qe=Ae=null}))})}(0))),qe.pipe((0,nr.U)(Mt=>{const un={matches:!1,breakpoints:{}};return Mt.forEach(({matches:gi,query:$n})=>{un.matches=un.matches||gi,un.breakpoints[$n]=gi}),un}))}_registerQuery(j){if(this._queries.has(j))return this._queries.get(j);const Y=this._mediaMatcher.matchMedia(j),qe={observable:new Nr.y(Mt=>{const un=gi=>this._zone.run(()=>Mt.next(gi));return Y.addListener(un),()=>{Y.removeListener(un)}}).pipe((0,Lr.O)(Y),(0,nr.U)(({matches:Mt})=>({query:j,matches:Mt})),(0,vr.R)(this._destroySubject)),mql:Y};return this._queries.set(j,qe),qe}static#e=this.\u0275fac=function(Y){return new(Y||xe)(F.LFG(tt),F.LFG(F.R0b))};static#t=this.\u0275prov=F.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();function Ai(xe){return xe.map(z=>z.split(",")).reduce((z,j)=>z.concat(j)).map(z=>z.trim())}function ro(xe){return 0===xe.buttons||0===xe.detail}function Do(xe){const z=xe.touches&&xe.touches[0]||xe.changedTouches&&xe.changedTouches[0];return!(!z||-1!==z.identifier||null!=z.radiusX&&1!==z.radiusX||null!=z.radiusY&&1!==z.radiusY)}const qn=new F.OlP("cdk-input-modality-detector-options"),wi={ignoreKeys:[18,17,224,91,16]},jr=(0,B.i$)({passive:!0,capture:!0});let Po=(()=>{class xe{get mostRecentModality(){return this._modality.value}constructor(j,Y,Ae,qe){this._platform=j,this._mostRecentTarget=null,this._modality=new re.X(null),this._lastTouchMs=0,this._onKeydown=Mt=>{this._options?.ignoreKeys?.some(un=>un===Mt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,B.sA)(Mt))},this._onMousedown=Mt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ro(Mt)?"keyboard":"mouse"),this._mostRecentTarget=(0,B.sA)(Mt))},this._onTouchstart=Mt=>{Do(Mt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,B.sA)(Mt))},this._options={...wi,...qe},this.modalityDetected=this._modality.pipe(Yi(1)),this.modalityChanged=this.modalityDetected.pipe((0,Pr.x)()),j.isBrowser&&Y.runOutsideAngular(()=>{Ae.addEventListener("keydown",this._onKeydown,jr),Ae.addEventListener("mousedown",this._onMousedown,jr),Ae.addEventListener("touchstart",this._onTouchstart,jr)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,jr),document.removeEventListener("mousedown",this._onMousedown,jr),document.removeEventListener("touchstart",this._onTouchstart,jr))}static#e=this.\u0275fac=function(Y){return new(Y||xe)(F.LFG(B.t4),F.LFG(F.R0b),F.LFG(s.K0),F.LFG(qn,8))};static#t=this.\u0275prov=F.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();const oo=new F.OlP("cdk-focus-monitor-default-options"),ki=(0,B.i$)({passive:!0,capture:!0});let Lo=(()=>{class xe{constructor(j,Y,Ae,qe,Mt){this._ngZone=j,this._platform=Y,this._inputModalityDetector=Ae,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ie.x,this._rootNodeFocusAndBlurListener=un=>{for(let $n=(0,B.sA)(un);$n;$n=$n.parentElement)"focus"===un.type?this._onFocus(un,$n):this._onBlur(un,$n)},this._document=qe,this._detectionMode=Mt?.detectionMode||0}monitor(j,Y=!1){const Ae=(0,br.fI)(j);if(!this._platform.isBrowser||1!==Ae.nodeType)return(0,ne.of)();const qe=(0,B.kV)(Ae)||this._getDocument(),Mt=this._elementInfo.get(Ae);if(Mt)return Y&&(Mt.checkChildren=!0),Mt.subject;const un={checkChildren:Y,subject:new ie.x,rootNode:qe};return this._elementInfo.set(Ae,un),this._registerGlobalListeners(un),un.subject}stopMonitoring(j){const Y=(0,br.fI)(j),Ae=this._elementInfo.get(Y);Ae&&(Ae.subject.complete(),this._setClasses(Y),this._elementInfo.delete(Y),this._removeGlobalListeners(Ae))}focusVia(j,Y,Ae){const qe=(0,br.fI)(j);qe===this._getDocument().activeElement?this._getClosestElementsInfo(qe).forEach(([un,gi])=>this._originChanged(un,Y,gi)):(this._setOrigin(Y),"function"==typeof qe.focus&&qe.focus(Ae))}ngOnDestroy(){this._elementInfo.forEach((j,Y)=>this.stopMonitoring(Y))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(j){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(j)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:j&&this._isLastInteractionFromInputLabel(j)?"mouse":"program"}_shouldBeAttributedToTouch(j){return 1===this._detectionMode||!!j?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(j,Y){j.classList.toggle("cdk-focused",!!Y),j.classList.toggle("cdk-touch-focused","touch"===Y),j.classList.toggle("cdk-keyboard-focused","keyboard"===Y),j.classList.toggle("cdk-mouse-focused","mouse"===Y),j.classList.toggle("cdk-program-focused","program"===Y)}_setOrigin(j,Y=!1){this._ngZone.runOutsideAngular(()=>{this._origin=j,this._originFromTouchInteraction="touch"===j&&Y,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(j,Y){const Ae=this._elementInfo.get(Y),qe=(0,B.sA)(j);!Ae||!Ae.checkChildren&&Y!==qe||this._originChanged(Y,this._getFocusOrigin(qe),Ae)}_onBlur(j,Y){const Ae=this._elementInfo.get(Y);!Ae||Ae.checkChildren&&j.relatedTarget instanceof Node&&Y.contains(j.relatedTarget)||(this._setClasses(Y),this._emitOrigin(Ae,null))}_emitOrigin(j,Y){j.subject.observers.length&&this._ngZone.run(()=>j.subject.next(Y))}_registerGlobalListeners(j){if(!this._platform.isBrowser)return;const Y=j.rootNode,Ae=this._rootNodeFocusListenerCount.get(Y)||0;Ae||this._ngZone.runOutsideAngular(()=>{Y.addEventListener("focus",this._rootNodeFocusAndBlurListener,ki),Y.addEventListener("blur",this._rootNodeFocusAndBlurListener,ki)}),this._rootNodeFocusListenerCount.set(Y,Ae+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,vr.R)(this._stopInputModalityDetector)).subscribe(qe=>{this._setOrigin(qe,!0)}))}_removeGlobalListeners(j){const Y=j.rootNode;if(this._rootNodeFocusListenerCount.has(Y)){const Ae=this._rootNodeFocusListenerCount.get(Y);Ae>1?this._rootNodeFocusListenerCount.set(Y,Ae-1):(Y.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ki),Y.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ki),this._rootNodeFocusListenerCount.delete(Y))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(j,Y,Ae){this._setClasses(j,Y),this._emitOrigin(Ae,Y),this._lastFocusOrigin=Y}_getClosestElementsInfo(j){const Y=[];return this._elementInfo.forEach((Ae,qe)=>{(qe===j||Ae.checkChildren&&qe.contains(j))&&Y.push([qe,Ae])}),Y}_isLastInteractionFromInputLabel(j){const{_mostRecentTarget:Y,mostRecentModality:Ae}=this._inputModalityDetector;if("mouse"!==Ae||!Y||Y===j||"INPUT"!==j.nodeName&&"TEXTAREA"!==j.nodeName||j.disabled)return!1;const qe=j.labels;if(qe)for(let Mt=0;Mt<qe.length;Mt++)if(qe[Mt].contains(Y))return!0;return!1}static#e=this.\u0275fac=function(Y){return new(Y||xe)(F.LFG(F.R0b),F.LFG(B.t4),F.LFG(Po),F.LFG(s.K0,8),F.LFG(oo,8))};static#t=this.\u0275prov=F.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();const so="cdk-high-contrast-black-on-white",ko="cdk-high-contrast-white-on-black",qr="cdk-high-contrast-active";let Co=(()=>{class xe{constructor(j,Y){this._platform=j,this._document=Y,this._breakpointSubscription=(0,F.f3M)(si).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const j=this._document.createElement("div");j.style.backgroundColor="rgb(1,2,3)",j.style.position="absolute",this._document.body.appendChild(j);const Y=this._document.defaultView||window,Ae=Y&&Y.getComputedStyle?Y.getComputedStyle(j):null,qe=(Ae&&Ae.backgroundColor||"").replace(/ /g,"");switch(j.remove(),qe){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const j=this._document.body.classList;j.remove(qr,so,ko),this._hasCheckedHighContrastMode=!0;const Y=this.getHighContrastMode();1===Y?j.add(qr,so):2===Y&&j.add(qr,ko)}}static#e=this.\u0275fac=function(Y){return new(Y||xe)(F.LFG(B.t4),F.LFG(s.K0))};static#t=this.\u0275prov=F.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})()},9388:(dt,Te,S)=>{S.d(Te,{Is:()=>Ce,vT:()=>we});var s=S(5879),F=S(6814);const B=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function re(){return(0,s.f3M)(F.K0)}}),ie=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Ce=(()=>{class q{constructor(ae){this.value="ltr",this.change=new s.vpe,ae&&(this.value=function ne(q){const de=q?.toLowerCase()||"";return"auto"===de&&typeof navigator<"u"&&navigator?.language?ie.test(navigator.language)?"rtl":"ltr":"rtl"===de?"rtl":"ltr"}((ae.body?ae.body.dir:null)||(ae.documentElement?ae.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(je){return new(je||q)(s.LFG(B,8))};static#t=this.\u0275prov=s.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})(),we=(()=>{class q{static#e=this.\u0275fac=function(je){return new(je||q)};static#t=this.\u0275mod=s.oAB({type:q});static#n=this.\u0275inj=s.cJS({})}return q})()},2495:(dt,Te,S)=>{S.d(Te,{Eq:()=>ie,Ig:()=>F,fI:()=>Ce});var s=S(5879);function F(we){return null!=we&&"false"!=`${we}`}function ie(we){return Array.isArray(we)?we:[we]}function Ce(we){return we instanceof s.SBq?we.nativeElement:we}},2831:(dt,Te,S)=>{S.d(Te,{Oy:()=>_e,i$:()=>de,kV:()=>yt,sA:()=>kt,t4:()=>re});var s=S(5879),F=S(6814);let B;try{B=typeof Intl<"u"&&Intl.v8BreakIterator}catch{B=!1}let we,Ue,re=(()=>{class be{constructor(Be){this._platformId=Be,this.isBrowser=this._platformId?(0,F.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!B)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(ze){return new(ze||be)(s.LFG(s.Lbi))};static#t=this.\u0275prov=s.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})();function de(be){return function q(){if(null==we&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>we=!0}))}finally{we=we||!1}return we}()?be:!!be.capture}function yt(be){if(function ht(){if(null==Ue){const be=typeof document<"u"?document.head:null;Ue=!(!be||!be.createShadowRoot&&!be.attachShadow)}return Ue}()){const Me=be.getRootNode?be.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&Me instanceof ShadowRoot)return Me}return null}function kt(be){return be.composedPath?be.composedPath()[0]:be.target}function _e(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6814:(dt,Te,S)=>{S.d(Te,{Do:()=>Ue,EM:()=>rr,HT:()=>re,JF:()=>Ki,K0:()=>ne,Mx:()=>oi,NF:()=>Ni,PC:()=>Pr,PM:()=>bo,S$:()=>je,V_:()=>Ve,Ye:()=>ht,b0:()=>Je,bD:()=>An,ez:()=>Si,mk:()=>Rr,q:()=>B,w_:()=>ie});var s=S(5879);let F=null;function B(){return F}function re(h){F||(F=h)}class ie{}const ne=new s.OlP("DocumentToken");let Ce=(()=>{class h{historyGo(y){throw new Error("Not implemented")}static#e=this.\u0275fac=function(D){return new(D||h)};static#t=this.\u0275prov=s.Yz7({token:h,factory:function(){return(0,s.f3M)(we)},providedIn:"platform"})}return h})();const Ve=new s.OlP("Location Initialized");let we=(()=>{class h extends Ce{constructor(){super(),this._doc=(0,s.f3M)(ne),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return B().getBaseHref(this._doc)}onPopState(y){const D=B().getGlobalEventTarget(this._doc,"window");return D.addEventListener("popstate",y,!1),()=>D.removeEventListener("popstate",y)}onHashChange(y){const D=B().getGlobalEventTarget(this._doc,"window");return D.addEventListener("hashchange",y,!1),()=>D.removeEventListener("hashchange",y)}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(y){this._location.pathname=y}pushState(y,D,L){this._history.pushState(y,D,L)}replaceState(y,D,L){this._history.replaceState(y,D,L)}forward(){this._history.forward()}back(){this._history.back()}historyGo(y=0){this._history.go(y)}getState(){return this._history.state}static#e=this.\u0275fac=function(D){return new(D||h)};static#t=this.\u0275prov=s.Yz7({token:h,factory:function(){return new h},providedIn:"platform"})}return h})();function q(h,x){if(0==h.length)return x;if(0==x.length)return h;let y=0;return h.endsWith("/")&&y++,x.startsWith("/")&&y++,2==y?h+x.substring(1):1==y?h+x:h+"/"+x}function de(h){const x=h.match(/#|\?|$/),y=x&&x.index||h.length;return h.slice(0,y-("/"===h[y-1]?1:0))+h.slice(y)}function ae(h){return h&&"?"!==h[0]?"?"+h:h}let je=(()=>{class h{historyGo(y){throw new Error("Not implemented")}static#e=this.\u0275fac=function(D){return new(D||h)};static#t=this.\u0275prov=s.Yz7({token:h,factory:function(){return(0,s.f3M)(Je)},providedIn:"root"})}return h})();const ke=new s.OlP("appBaseHref");let Je=(()=>{class h extends je{constructor(y,D){super(),this._platformLocation=y,this._removeListenerFns=[],this._baseHref=D??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)(ne).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}prepareExternalUrl(y){return q(this._baseHref,y)}path(y=!1){const D=this._platformLocation.pathname+ae(this._platformLocation.search),L=this._platformLocation.hash;return L&&y?`${D}${L}`:D}pushState(y,D,L,ce){const Oe=this.prepareExternalUrl(L+ae(ce));this._platformLocation.pushState(y,D,Oe)}replaceState(y,D,L,ce){const Oe=this.prepareExternalUrl(L+ae(ce));this._platformLocation.replaceState(y,D,Oe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}static#e=this.\u0275fac=function(D){return new(D||h)(s.LFG(Ce),s.LFG(ke,8))};static#t=this.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})(),Ue=(()=>{class h extends je{constructor(y,D){super(),this._platformLocation=y,this._baseHref="",this._removeListenerFns=[],null!=D&&(this._baseHref=D)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}path(y=!1){let D=this._platformLocation.hash;return null==D&&(D="#"),D.length>0?D.substring(1):D}prepareExternalUrl(y){const D=q(this._baseHref,y);return D.length>0?"#"+D:D}pushState(y,D,L,ce){let Oe=this.prepareExternalUrl(L+ae(ce));0==Oe.length&&(Oe=this._platformLocation.pathname),this._platformLocation.pushState(y,D,Oe)}replaceState(y,D,L,ce){let Oe=this.prepareExternalUrl(L+ae(ce));0==Oe.length&&(Oe=this._platformLocation.pathname),this._platformLocation.replaceState(y,D,Oe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}static#e=this.\u0275fac=function(D){return new(D||h)(s.LFG(Ce),s.LFG(ke,8))};static#t=this.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac})}return h})(),ht=(()=>{class h{constructor(y){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=y;const D=this._locationStrategy.getBaseHref();this._basePath=function _e(h){if(new RegExp("^(https?:)?//").test(h)){const[,y]=h.split(/\/\/[^\/]+/);return y}return h}(de(kt(D))),this._locationStrategy.onPopState(L=>{this._subject.emit({url:this.path(!0),pop:!0,state:L.state,type:L.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(y=!1){return this.normalize(this._locationStrategy.path(y))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(y,D=""){return this.path()==this.normalize(y+ae(D))}normalize(y){return h.stripTrailingSlash(function It(h,x){if(!h||!x.startsWith(h))return x;const y=x.substring(h.length);return""===y||["/",";","?","#"].includes(y[0])?y:x}(this._basePath,kt(y)))}prepareExternalUrl(y){return y&&"/"!==y[0]&&(y="/"+y),this._locationStrategy.prepareExternalUrl(y)}go(y,D="",L=null){this._locationStrategy.pushState(L,"",y,D),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+ae(D)),L)}replaceState(y,D="",L=null){this._locationStrategy.replaceState(L,"",y,D),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+ae(D)),L)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(y=0){this._locationStrategy.historyGo?.(y)}onUrlChange(y){return this._urlChangeListeners.push(y),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(D=>{this._notifyUrlChangeListeners(D.url,D.state)})),()=>{const D=this._urlChangeListeners.indexOf(y);this._urlChangeListeners.splice(D,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(y="",D){this._urlChangeListeners.forEach(L=>L(y,D))}subscribe(y,D,L){return this._subject.subscribe({next:y,error:D,complete:L})}static#e=this.normalizeQueryParams=ae;static#t=this.joinWithSlash=q;static#n=this.stripTrailingSlash=de;static#i=this.\u0275fac=function(D){return new(D||h)(s.LFG(je))};static#r=this.\u0275prov=s.Yz7({token:h,factory:function(){return function yt(){return new ht((0,s.LFG)(je))}()},providedIn:"root"})}return h})();function kt(h){return h.replace(/\/index.html$/,"")}function oi(h,x){x=encodeURIComponent(x);for(const y of h.split(";")){const D=y.indexOf("="),[L,ce]=-1==D?[y,""]:[y.slice(0,D),y.slice(D+1)];if(L.trim()===x)return decodeURIComponent(ce)}return null}const Fi=/\s+/,tr=[];let Rr=(()=>{class h{constructor(y,D,L,ce){this._iterableDiffers=y,this._keyValueDiffers=D,this._ngEl=L,this._renderer=ce,this.initialClasses=tr,this.stateMap=new Map}set klass(y){this.initialClasses=null!=y?y.trim().split(Fi):tr}set ngClass(y){this.rawClass="string"==typeof y?y.trim().split(Fi):y}ngDoCheck(){for(const D of this.initialClasses)this._updateState(D,!0);const y=this.rawClass;if(Array.isArray(y)||y instanceof Set)for(const D of y)this._updateState(D,!0);else if(null!=y)for(const D of Object.keys(y))this._updateState(D,!!y[D]);this._applyStateDiff()}_updateState(y,D){const L=this.stateMap.get(y);void 0!==L?(L.enabled!==D&&(L.changed=!0,L.enabled=D),L.touched=!0):this.stateMap.set(y,{enabled:D,changed:!0,touched:!0})}_applyStateDiff(){for(const y of this.stateMap){const D=y[0],L=y[1];L.changed?(this._toggleClass(D,L.enabled),L.changed=!1):L.touched||(L.enabled&&this._toggleClass(D,!1),this.stateMap.delete(D)),L.touched=!1}}_toggleClass(y,D){(y=y.trim()).length>0&&y.split(Fi).forEach(L=>{D?this._renderer.addClass(this._ngEl.nativeElement,L):this._renderer.removeClass(this._ngEl.nativeElement,L)})}static#e=this.\u0275fac=function(D){return new(D||h)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))};static#t=this.\u0275dir=s.lG2({type:h,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return h})(),Pr=(()=>{class h{constructor(y,D,L){this._ngEl=y,this._differs=D,this._renderer=L,this._ngStyle=null,this._differ=null}set ngStyle(y){this._ngStyle=y,!this._differ&&y&&(this._differ=this._differs.find(y).create())}ngDoCheck(){if(this._differ){const y=this._differ.diff(this._ngStyle);y&&this._applyChanges(y)}}_setStyle(y,D){const[L,ce]=y.split("."),Oe=-1===L.indexOf("-")?void 0:s.JOm.DashCase;null!=D?this._renderer.setStyle(this._ngEl.nativeElement,L,ce?`${D}${ce}`:D,Oe):this._renderer.removeStyle(this._ngEl.nativeElement,L,Oe)}_applyChanges(y){y.forEachRemovedItem(D=>this._setStyle(D.key,null)),y.forEachAddedItem(D=>this._setStyle(D.key,D.currentValue)),y.forEachChangedItem(D=>this._setStyle(D.key,D.currentValue))}static#e=this.\u0275fac=function(D){return new(D||h)(s.Y36(s.SBq),s.Y36(s.aQg),s.Y36(s.Qsj))};static#t=this.\u0275dir=s.lG2({type:h,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return h})(),Si=(()=>{class h{static#e=this.\u0275fac=function(D){return new(D||h)};static#t=this.\u0275mod=s.oAB({type:h});static#n=this.\u0275inj=s.cJS({})}return h})();const An="browser",hi="server";function Ni(h){return h===An}function bo(h){return h===hi}let rr=(()=>{class h{static#e=this.\u0275prov=(0,s.Yz7)({token:h,providedIn:"root",factory:()=>new Ii((0,s.LFG)(ne),window)})}return h})();class Ii{constructor(x,y){this.document=x,this.window=y,this.offset=()=>[0,0]}setOffset(x){this.offset=Array.isArray(x)?()=>x:x}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(x){this.supportsScrolling()&&this.window.scrollTo(x[0],x[1])}scrollToAnchor(x){if(!this.supportsScrolling())return;const y=function or(h,x){const y=h.getElementById(x)||h.getElementsByName(x)[0];if(y)return y;if("function"==typeof h.createTreeWalker&&h.body&&"function"==typeof h.body.attachShadow){const D=h.createTreeWalker(h.body,NodeFilter.SHOW_ELEMENT);let L=D.currentNode;for(;L;){const ce=L.shadowRoot;if(ce){const Oe=ce.getElementById(x)||ce.querySelector(`[name="${x}"]`);if(Oe)return Oe}L=D.nextNode()}}return null}(this.document,x);y&&(this.scrollToElement(y),y.focus())}setHistoryScrollRestoration(x){this.supportsScrolling()&&(this.window.history.scrollRestoration=x)}scrollToElement(x){const y=x.getBoundingClientRect(),D=y.left+this.window.pageXOffset,L=y.top+this.window.pageYOffset,ce=this.offset();this.window.scrollTo(D-ce[0],L-ce[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Ki{}},5879:(dt,Te,S)=>{S.d(Te,{$8M:()=>wc,$WT:()=>Qn,$Z:()=>Wh,AFp:()=>fh,AaK:()=>ae,CRH:()=>Lm,EJc:()=>Cw,EiD:()=>eh,F$t:()=>Vp,F4k:()=>kp,FYo:()=>bh,FiY:()=>ol,GfV:()=>_h,HDt:()=>ry,Hsn:()=>$p,JOm:()=>hl,JVY:()=>vb,JZr:()=>kt,L6k:()=>bb,LAX:()=>Db,LFG:()=>Ct,Lbi:()=>nu,Lck:()=>sE,MMx:()=>um,NdJ:()=>Wu,Ojb:()=>Qb,OlP:()=>ut,P3R:()=>ih,PXZ:()=>eC,Q6J:()=>Uu,QGY:()=>zu,QbO:()=>Kb,Qsj:()=>u_,R0b:()=>Ci,RDi:()=>db,Rgc:()=>ja,SBq:()=>Da,Sil:()=>Sw,Suo:()=>Nm,TTD:()=>St,TgZ:()=>zl,VuI:()=>NC,XFs:()=>_t,Xpm:()=>Nr,Xq5:()=>bp,Xts:()=>va,Y36:()=>Ps,YKP:()=>lm,Yjl:()=>bt,Yz7:()=>Ze,Z0I:()=>nn,ZZ4:()=>Fd,_UZ:()=>Vu,_c5:()=>EC,_uU:()=>fg,aQg:()=>Pd,c2e:()=>iy,cJS:()=>cn,cg1:()=>ed,dDg:()=>qw,dqk:()=>Qt,eBb:()=>_b,eFA:()=>py,eJc:()=>yd,ekj:()=>Xu,eoX:()=>uy,f3M:()=>gt,g9A:()=>hh,h0i:()=>ls,hGG:()=>wC,hij:()=>Ql,iGM:()=>Pm,ifc:()=>Cn,ip1:()=>ny,jDz:()=>dm,kL8:()=>Pg,lG2:()=>ft,lqb:()=>ho,lri:()=>ly,mCW:()=>xl,n5z:()=>nf,oAB:()=>J,pB0:()=>xb,q3G:()=>is,qFp:()=>kC,qLn:()=>$o,qOj:()=>Ou,qZA:()=>Wl,qzn:()=>Ms,rWj:()=>cy,rg0:()=>ce,s9C:()=>Yu,sBO:()=>lC,s_b:()=>nc,soG:()=>rc,tb:()=>Ad,tp0:()=>sl,uIk:()=>Pu,vHH:()=>_e,vpe:()=>po,wAp:()=>Ys,xp6:()=>Gh,z2F:()=>Zs,z3N:()=>So,zSh:()=>Xc,zs3:()=>Zr});var s=S(8645),F=S(7394),B=S(5592),re=S(3019),ie=S(5619),ne=S(2096),Ce=S(3020),Ve=S(4664),we=S(3997);function q(e){for(let t in e)if(e[t]===q)return t;throw Error("Could not find renamed property on target object.")}function de(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ae).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function je(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ke=q({__forward_ref__:q});function Je(e){return e.__forward_ref__=Je,e.toString=function(){return ae(this())},e}function Ue(e){return ht(e)?e():e}function ht(e){return"function"==typeof e&&e.hasOwnProperty(ke)&&e.__forward_ref__===Je}function yt(e){return e&&!!e.\u0275providers}const kt="https://g.co/ng/security#xss";class _e extends Error{constructor(t,n){super(function be(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Me(e){return"string"==typeof e?e:null==e?"":String(e)}function ct(e,t){throw new _e(-201,!1)}function Ke(e,t){null==e&&function We(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Ze(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function cn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Kt(e){return En(e,jn)||En(e,Un)}function nn(e){return null!==Kt(e)}function En(e,t){return e.hasOwnProperty(t)?e[t]:null}function ci(e){return e&&(e.hasOwnProperty(wn)||e.hasOwnProperty(Ln))?e[wn]:null}const jn=q({\u0275prov:q}),wn=q({\u0275inj:q}),Un=q({ngInjectableDef:q}),Ln=q({ngInjectorDef:q});var _t=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(_t||{});let Lt;function bn(e){const t=Lt;return Lt=e,t}function ui(e,t,n){const i=Kt(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&_t.Optional?null:void 0!==t?t:void ct(ae(e))}const Qt=globalThis;class ut{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Ze({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Pe={},Re="__NG_DI_FLAG__",fe="ngTempTokenPath",w=/\n/gm,O="__source";let H;function et(e){const t=H;return H=e,t}function mt(e,t=_t.Default){if(void 0===H)throw new _e(-203,!1);return null===H?ui(e,void 0,t):H.get(e,t&_t.Optional?null:void 0,t)}function Ct(e,t=_t.Default){return(function Ft(){return Lt}()||mt)(Ue(e),t)}function gt(e,t=_t.Default){return Ct(e,Ht(t))}function Ht(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pn(e){const t=[];for(let n=0;n<e.length;n++){const i=Ue(e[n]);if(Array.isArray(i)){if(0===i.length)throw new _e(900,!1);let r,o=_t.Default;for(let a=0;a<i.length;a++){const u=i[a],p=ni(u);"number"==typeof p?-1===p?r=u.token:o|=p:r=u}t.push(Ct(r,o))}else t.push(Ct(i))}return t}function ti(e,t){return e[Re]=t,e.prototype[Re]=t,e}function ni(e){return e[Re]}function Hn(e){return{toString:e}.toString()}var ri=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ri||{}),Cn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Cn||{});const Mn={},Pt=[],Hi=q({\u0275cmp:q}),Oi=q({\u0275dir:q}),gr=q({\u0275pipe:q}),Mi=q({\u0275mod:q}),oi=q({\u0275fac:q}),Fi=q({__NG_ELEMENT_ID__:q}),tr=q({__NG_ENV_ID__:q});function Rr(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}function Vi(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const o=n[i++],a=n[i++],u=n[i++];e.setAttribute(t,a,u,o)}else{const o=r,a=n[++i];Vn(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),i++}}return i}function Or(e){return 3===e||4===e||6===e}function Vn(e){return 64===e.charCodeAt(0)}function $i(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||Fr(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function Fr(e,t,n,i,r){let o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){const u=e[o++];if("number"==typeof u){if(u===t){a=-1;break}if(u>t){a=o-1;break}}}for(;o<e.length;){const u=e[o];if("number"==typeof u)break;if(u===n){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}const eo="ng-template";function mr(e,t,n){let i=0,r=!0;for(;i<e.length;){let o=e[i++];if("string"==typeof o&&r){const a=e[i++];if(n&&"class"===o&&-1!==Rr(a.toLowerCase(),t,0))return!0}else{if(1===o){for(;i<e.length&&"string"==typeof(o=e[i++]);)if(o.toLowerCase()===t)return!0;return!1}"number"==typeof o&&(r=!1)}}return!1}function Di(e){return 4===e.type&&e.value!==eo}function yr(e,t,n){return t===(4!==e.type||n?e.value:eo)}function xi(e,t,n){let i=4;const r=e.attrs||[],o=function Wi(e){for(let t=0;t<e.length;t++)if(Or(e[t]))return t;return e.length}(r);let a=!1;for(let u=0;u<t.length;u++){const p=t[u];if("number"!=typeof p){if(!a)if(4&i){if(i=2|1&i,""!==p&&!yr(e,p,n)||""===p&&1===t.length){if(Dn(i))return!1;a=!0}}else{const b=8&i?p:t[++u];if(8&i&&null!==e.attrs){if(!mr(e.attrs,b,n)){if(Dn(i))return!1;a=!0}continue}const k=Gi(8&i?"class":p,r,Di(e),n);if(-1===k){if(Dn(i))return!1;a=!0;continue}if(""!==b){let X;X=k>o?"":r[k+1].toLowerCase();const oe=8&i?X:null;if(oe&&-1!==Rr(oe,b,0)||2&i&&b!==X){if(Dn(i))return!1;a=!0}}}}else{if(!a&&!Dn(i)&&!Dn(p))return!1;if(a&&Dn(p))continue;a=!1,i=p|1&i}}return Dn(i)||a}function Dn(e){return 0==(1&e)}function Gi(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){const a=t[r];if(a===e)return r;if(3===a||6===a)o=!0;else{if(1===a||2===a){let u=t[++r];for(;"string"==typeof u;)u=t[++r];continue}if(4===a)break;if(0===a){r+=4;continue}}r+=o?1:2}return-1}return function Yi(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function zi(e,t,n=!1){for(let i=0;i<t.length;i++)if(xi(e,t[i],n))return!0;return!1}function Pr(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function vr(e,t){return e?":not("+t.trim()+")":t}function br(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&i){const u=e[++n];r+="["+a+(u.length>0?'="'+u+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!Dn(a)&&(t+=vr(o,r),r=""),i=a,o=o||!Dn(i);n++}return""!==r&&(t+=vr(o,r)),t}function Nr(e){return Hn(()=>{const t=_r(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ri.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Cn.Emulated,styles:e.styles||Pt,_:null,schemas:e.schemas||null,tView:null,id:""};nr(n);const i=e.dependencies;return n.directiveDefs=Lr(i,!1),n.pipeDefs=Lr(i,!0),n.id=function ir(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of n)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Kr(e){return Dt(e)||Jt(e)}function T(e){return null!==e}function J(e){return Hn(()=>({type:e.type,bootstrap:e.bootstrap||Pt,declarations:e.declarations||Pt,imports:e.imports||Pt,exports:e.exports||Pt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function le(e,t){if(null==e)return Mn;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}function ft(e){return Hn(()=>{const t=_r(e);return nr(t),t})}function bt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Dt(e){return e[Hi]||null}function Jt(e){return e[Oi]||null}function xn(e){return e[gr]||null}function Qn(e){const t=Dt(e)||Jt(e)||xn(e);return null!==t&&t.standalone}function Fn(e,t){const n=e[Mi]||null;if(!n&&!0===t)throw new Error(`Type ${ae(e)} does not have '\u0275mod' property.`);return n}function _r(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Mn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Pt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:le(e.inputs,t),outputs:le(e.outputs)}}function nr(e){e.features?.forEach(t=>t(e))}function Lr(e,t){if(!e)return null;const n=t?xn:Kr;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(T)}const en=0,tt=1,Tt=2,on=3,si=4,Ai=5,Xn=6,Si=7,An=8,hi=9,Ei=10,Rt=11,Ni=12,bo=13,Dr=14,Sn=15,kr=16,rr=17,Ii=18,or=19,_o=20,Ki=21,Qi=22,xr=23,Br=24,$t=25,no=1,Er=2,pi=7,gn=9,yn=11;function ai(e){return Array.isArray(e)&&"object"==typeof e[no]}function ii(e){return Array.isArray(e)&&!0===e[no]}function wr(e){return 0!=(4&e.flags)}function Li(e){return e.componentOffset>-1}function io(e){return 1==(1&e.flags)}function li(e){return!!e.template}function qi(e){return 0!=(512&e[Tt])}function Ti(e,t){return e.hasOwnProperty(oi)?e[oi]:null}let Y=null,Ae=!1;function qe(e){const t=Y;return Y=e,t}const Mt={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function gi(e){if(!Ur(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Yo(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function ao(e){e.dirty=!0,function $n(e){if(void 0===e.liveConsumerNode)return;const t=Ae;Ae=!0;try{for(const n of e.liveConsumerNode)n.dirty||ao(n)}finally{Ae=t}}(e),e.consumerMarkedDirty?.(e)}function Bo(e){return e&&(e.nextProducerIndex=0),qe(e)}function Mo(e,t){if(qe(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ur(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)jo(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Yo(e){lr(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(gi(n),i!==n.version))return!0}return!1}function ds(e){if(lr(e),Ur(e))for(let t=0;t<e.producerNode.length;t++)jo(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function jo(e,t){if(function Uo(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),lr(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)jo(e.producerNode[i],e.producerIndexOfThis[i]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];lr(r),r.producerIndexOfThis[i]=t}}function Ur(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function lr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let W=null;function ce(e){const t=qe(null);try{return e()}finally{qe(t)}}const nt=()=>{},tn=(()=>({...Mt,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:nt}))();class Ot{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function St(){return sn}function sn(e){return e.type.prototype.ngOnChanges&&(e.setInput=Gn),Zt}function Zt(){const e=zn(this),t=e?.current;if(t){const n=e.previous;if(n===Mn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Gn(e,t,n,i){const r=this.declaredInputs[n],o=zn(e)||function Ar(e,t){return e[mi]=t}(e,{previous:Mn,current:null}),a=o.current||(o.current={}),u=o.previous,p=u[r];a[r]=new Ot(p&&p.currentValue,t,u===Mn),e[i]=t}St.ngInherit=!0;const mi="__ngSimpleChanges__";function zn(e){return e[mi]||null}const lt=function(e,t,n){};function Bt(e){for(;Array.isArray(e);)e=e[en];return e}function vn(e,t){return Bt(t[e])}function Wn(e,t){return Bt(t[e.index])}function Ao(e,t){return e.data[t]}function mn(e,t){const n=t[e];return ai(n)?n:n[en]}function cr(e,t){return null==t?null:e[t]}function fs(e){e[rr]=0}function Va(e){1024&e[Tt]||(e[Tt]|=1024,ea(e,1))}function uc(e){1024&e[Tt]&&(e[Tt]&=-1025,ea(e,-1))}function ea(e,t){let n=e[on];if(null===n)return;n[Ai]+=t;let i=n;for(n=n[on];null!==n&&(1===t&&1===i[Ai]||-1===t&&0===i[Ai]);)n[Ai]+=t,i=n,n=n[on]}const Nt={lFrame:Vt(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function za(){return Nt.bindingsEnabled}function Ho(){return null!==Nt.skipHydrationRootTNode}function Ge(){return Nt.lFrame.lView}function an(){return Nt.lFrame.tView}function yi(){let e=Ka();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ka(){return Nt.lFrame.currentTNode}function $r(e,t){const n=Nt.lFrame;n.currentTNode=e,n.isParent=t}function na(){return Nt.lFrame.isParent}function ia(){Nt.lFrame.isParent=!1}function Zo(){return Nt.lFrame.bindingIndex++}function d(e,t){const n=Nt.lFrame;n.bindingIndex=n.bindingRootIndex=e,c(t)}function c(e){Nt.lFrame.currentDirectiveIndex=e}function _(){return Nt.lFrame.currentQueryIndex}function I(e){Nt.lFrame.currentQueryIndex=e}function U(e){const t=e[tt];return 2===t.type?t.declTNode:1===t.type?e[Xn]:null}function Ee(e,t,n){if(n&_t.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&_t.Host||(r=U(o),null===r||(o=o[Dr],10&r.type))););if(null===r)return!1;t=r,e=o}const i=Nt.lFrame=ot();return i.currentTNode=t,i.lView=e,!0}function me(e){const t=ot(),n=e[tt];Nt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ot(){const e=Nt.lFrame,t=null===e?null:e.child;return null===t?Vt(e):t}function Vt(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function In(){const e=Nt.lFrame;return Nt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ln=In;function Sr(){const e=In();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function vi(){return Nt.lFrame.selectedIndex}function ur(e){Nt.lFrame.selectedIndex=e}function Yn(){const e=Nt.lFrame;return Ao(e.tView,e.selectedIndex)}let Gd=!0;function Qa(){return Gd}function Vo(e){Gd=e}function qa(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:u,ngAfterViewInit:p,ngAfterViewChecked:b,ngOnDestroy:M}=o;a&&(e.contentHooks??=[]).push(-n,a),u&&((e.contentHooks??=[]).push(n,u),(e.contentCheckHooks??=[]).push(n,u)),p&&(e.viewHooks??=[]).push(-n,p),b&&((e.viewHooks??=[]).push(n,b),(e.viewCheckHooks??=[]).push(n,b)),null!=M&&(e.destroyHooks??=[]).push(n,M)}}function Za(e,t,n){zd(e,t,3,n)}function Xa(e,t,n,i){(3&e[Tt])===n&&zd(e,t,n,i)}function yc(e,t){let n=e[Tt];(3&n)===t&&(n&=8191,n+=1,e[Tt]=n)}function zd(e,t,n,i){const o=i??-1,a=t.length-1;let u=0;for(let p=void 0!==i?65535&e[rr]:0;p<a;p++)if("number"==typeof t[p+1]){if(u=t[p],null!=i&&u>=i)break}else t[p]<0&&(e[rr]+=65536),(u<o||-1==o)&&(Wy(e,n,t,p),e[rr]=(4294901760&e[rr])+p+2),p++}function Wd(e,t){lt(4,e,t);const n=qe(null);try{t.call(e)}finally{qe(n),lt(5,e,t)}}function Wy(e,t,n,i){const r=n[i]<0,o=n[i+1],u=e[r?-n[i]:n[i]];r?e[Tt]>>13<e[rr]>>16&&(3&e[Tt])===t&&(e[Tt]+=8192,Wd(u,o)):Wd(u,o)}const hs=-1;class oa{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function bc(e){return e!==hs}function sa(e){return 32767&e}function aa(e,t){let n=function qy(e){return e>>16}(e),i=t;for(;n>0;)i=i[Dr],n--;return i}let _c=!0;function Ja(e){const t=_c;return _c=e,t}const Yd=255,Kd=5;let Zy=0;const fo={};function el(e,t){const n=Qd(e,t);if(-1!==n)return n;const i=t[tt];i.firstCreatePass&&(e.injectorIndex=t.length,Dc(i.data,e),Dc(t,null),Dc(i.blueprint,null));const r=tl(e,t),o=e.injectorIndex;if(bc(r)){const a=sa(r),u=aa(r,t),p=u[tt].data;for(let b=0;b<8;b++)t[o+b]=u[a+b]|p[a+b]}return t[o+8]=r,o}function Dc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qd(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function tl(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=rf(r),null===i)return hs;if(n++,r=r[Dr],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return hs}function xc(e,t,n){!function Xy(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Fi)&&(i=n[Fi]),null==i&&(i=n[Fi]=Zy++);const r=i&Yd;t.data[e+(r>>Kd)]|=1<<r}(e,t,n)}function qd(e,t,n){if(n&_t.Optional||void 0!==e)return e;ct()}function Zd(e,t,n,i){if(n&_t.Optional&&void 0===i&&(i=null),!(n&(_t.Self|_t.Host))){const r=e[hi],o=bn(void 0);try{return r?r.get(t,i,n&_t.Optional):ui(t,i,n&_t.Optional)}finally{bn(o)}}return qd(i,0,n)}function Xd(e,t,n,i=_t.Default,r){if(null!==e){if(2048&t[Tt]&&!(i&_t.Self)){const a=function rv(e,t,n,i,r){let o=e,a=t;for(;null!==o&&null!==a&&2048&a[Tt]&&!(512&a[Tt]);){const u=Jd(o,a,n,i|_t.Self,fo);if(u!==fo)return u;let p=o.parent;if(!p){const b=a[_o];if(b){const M=b.get(n,fo,i);if(M!==fo)return M}p=rf(a),a=a[Dr]}o=p}return r}(e,t,n,i,fo);if(a!==fo)return a}const o=Jd(e,t,n,i,fo);if(o!==fo)return o}return Zd(t,n,i,r)}function Jd(e,t,n,i,r){const o=function tv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Fi)?e[Fi]:void 0;return"number"==typeof t?t>=0?t&Yd:iv:t}(n);if("function"==typeof o){if(!Ee(t,e,i))return i&_t.Host?qd(r,0,i):Zd(t,n,i,r);try{let a;if(a=o(i),null!=a||i&_t.Optional)return a;ct()}finally{ln()}}else if("number"==typeof o){let a=null,u=Qd(e,t),p=hs,b=i&_t.Host?t[Sn][Xn]:null;for((-1===u||i&_t.SkipSelf)&&(p=-1===u?tl(e,t):t[u+8],p!==hs&&tf(i,!1)?(a=t[tt],u=sa(p),t=aa(p,t)):u=-1);-1!==u;){const M=t[tt];if(ef(o,u,M.data)){const k=ev(u,t,n,a,i,b);if(k!==fo)return k}p=t[u+8],p!==hs&&tf(i,t[tt].data[u+8]===b)&&ef(o,u,t)?(a=M,u=sa(p),t=aa(p,t)):u=-1}}return r}function ev(e,t,n,i,r,o){const a=t[tt],u=a.data[e+8],M=nl(u,a,n,null==i?Li(u)&&_c:i!=a&&0!=(3&u.type),r&_t.Host&&o===u);return null!==M?es(t,a,M,u):fo}function nl(e,t,n,i,r){const o=e.providerIndexes,a=t.data,u=1048575&o,p=e.directiveStart,M=o>>20,X=r?u+M:e.directiveEnd;for(let oe=i?u:u+M;oe<X;oe++){const Le=a[oe];if(oe<p&&n===Le||oe>=p&&Le.type===n)return oe}if(r){const oe=a[p];if(oe&&li(oe)&&oe.type===n)return p}return null}function es(e,t,n,i){let r=e[n];const o=t.data;if(function Yy(e){return e instanceof oa}(r)){const a=r;a.resolving&&function ze(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _e(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Be(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Me(e)}(o[n]));const u=Ja(a.canSeeViewProviders);a.resolving=!0;const b=a.injectImpl?bn(a.injectImpl):null;Ee(e,i,_t.Default);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function zy(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const a=sn(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}r&&(n.preOrderHooks??=[]).push(0-e,r),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==b&&bn(b),Ja(u),a.resolving=!1,ln()}}return r}function ef(e,t,n){return!!(n[t+(e>>Kd)]&1<<e)}function tf(e,t){return!(e&_t.Self||e&_t.Host&&t)}class Xi{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Xd(this._tNode,this._lView,t,Ht(i),n)}}function iv(){return new Xi(yi(),Ge())}function nf(e){return Hn(()=>{const t=e.prototype.constructor,n=t[oi]||Ec(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[oi]||Ec(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Ec(e){return ht(e)?()=>{const t=Ec(Ue(e));return t&&t()}:Ti(e)}function rf(e){const t=e[tt],n=t.type;return 2===n?t.declTNode:1===n?e[Xn]:null}function wc(e){return function Jy(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r<i;){const o=n[r];if(Or(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(o===t)return n[r+1];r+=2}}}return null}(yi(),e)}const gs="__parameters__";function ys(e,t,n){return Hn(()=>{const i=function Cc(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const a=new r(...o);return u.annotation=a,u;function u(p,b,M){const k=p.hasOwnProperty(gs)?p[gs]:Object.defineProperty(p,gs,{value:[]})[gs];for(;k.length<=M;)k.push(null);return(k[M]=k[M]||[]).push(a),p}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function bs(e,t){e.forEach(n=>Array.isArray(n)?bs(n,t):t(n))}function af(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function il(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ua(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Ir(e,t,n){let i=_s(e,t);return i>=0?e[1|i]=n:(i=~i,function dv(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Mc(e,t){const n=_s(e,t);if(n>=0)return e[1|n]}function _s(e,t){return function lf(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const o=i+(r-i>>1),a=e[o<<n];if(t===a)return o<<n;a>t?r=o:i=o+1}return~(r<<n)}(e,t,1)}const ol=ti(ys("Optional"),8),sl=ti(ys("SkipSelf"),4);function dl(e){return 128==(128&e.flags)}var hl=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(hl||{});const Rc=new Map;let Nv=0;const Fc="__ngContext__";function ji(e,t){ai(t)?(e[Fc]=t[or],function kv(e){Rc.set(e[or],e)}(t)):e[Fc]=t}let Pc;function Nc(e,t){return Pc(e,t)}function ha(e){const t=e[on];return ii(t)?t[on]:t}function Sf(e){return Tf(e[Ni])}function If(e){return Tf(e[si])}function Tf(e){for(;null!==e&&!ii(e);)e=e[si];return e}function Es(e,t,n,i,r){if(null!=i){let o,a=!1;ii(i)?o=i:ai(i)&&(a=!0,i=i[en]);const u=Bt(i);0===e&&null!==n?null==r?Pf(t,n,u):ts(t,n,u,r||null,!0):1===e&&null!==n?ts(t,n,u,r||null,!0):2===e?function bl(e,t,n){const i=yl(e,t);i&&function nb(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,u,a):3===e&&t.destroyNode(u),null!=o&&function ob(e,t,n,i,r){const o=n[pi];o!==Bt(n)&&Es(t,e,i,o,r);for(let u=yn;u<n.length;u++){const p=n[u];ga(p[tt],p,e,t,i,o)}}(t,e,o,n,r)}}function gl(e,t,n){return e.createElement(t,n)}function Of(e,t){const n=e[gn],i=n.indexOf(t);uc(t),n.splice(i,1)}function ml(e,t){if(e.length<=yn)return;const n=yn+t,i=e[n];if(i){const r=i[kr];null!==r&&r!==e&&Of(r,i),t>0&&(e[n-1][si]=i[si]);const o=il(e,yn+t);!function Kv(e,t){ga(e,t,t[Rt],2,null,null),t[en]=null,t[Xn]=null}(i[tt],i);const a=o[Ii];null!==a&&a.detachView(o[tt]),i[on]=null,i[si]=null,i[Tt]&=-129}return i}function kc(e,t){if(!(256&t[Tt])){const n=t[Rt];t[xr]&&ds(t[xr]),t[Br]&&ds(t[Br]),n.destroyNode&&ga(e,t,n,3,null,null),function Zv(e){let t=e[Ni];if(!t)return Bc(e[tt],e);for(;t;){let n=null;if(ai(t))n=t[Ni];else{const i=t[yn];i&&(n=i)}if(!n){for(;t&&!t[si]&&t!==e;)ai(t)&&Bc(t[tt],t),t=t[on];null===t&&(t=e),ai(t)&&Bc(t[tt],t),n=t&&t[si]}t=n}}(t)}}function Bc(e,t){if(!(256&t[Tt])){t[Tt]&=-129,t[Tt]|=256,function tb(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof oa)){const o=n[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const u=r[o[a]],p=o[a+1];lt(4,u,p);try{p.call(u)}finally{lt(5,u,p)}}else{lt(4,r,o);try{o.call(r)}finally{lt(5,r,o)}}}}}(e,t),function eb(e,t){const n=e.cleanup,i=t[Si];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const a=n[o+3];a>=0?i[a]():i[-a].unsubscribe(),o+=2}else n[o].call(i[n[o+1]]);null!==i&&(t[Si]=null);const r=t[Ki];if(null!==r){t[Ki]=null;for(let o=0;o<r.length;o++)(0,r[o])()}}(e,t),1===t[tt].type&&t[Rt].destroy();const n=t[kr];if(null!==n&&ii(t[on])){n!==t[on]&&Of(n,t);const i=t[Ii];null!==i&&i.detachView(e)}!function Bv(e){Rc.delete(e[or])}(t)}}function jc(e,t,n){return function Ff(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[en];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Cn.None||o===Cn.Emulated)return null}return Wn(i,n)}}(e,t.parent,n)}function ts(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Pf(e,t,n){e.appendChild(t,n)}function Nf(e,t,n,i,r){null!==i?ts(e,t,n,i,r):Pf(e,t,n)}function yl(e,t){return e.parentNode(t)}function Lf(e,t,n){return Bf(e,t,n)}let Uc,_l,Gc,Dl,Bf=function kf(e,t,n){return 40&e.type?Wn(e,n):null};function vl(e,t,n,i){const r=jc(e,i,t),o=t[Rt],u=Lf(i.parent||t[Xn],i,t);if(null!=r)if(Array.isArray(n))for(let p=0;p<n.length;p++)Nf(o,r,n[p],u,!1);else Nf(o,r,n,u,!1);void 0!==Uc&&Uc(o,i,t,n,r)}function pa(e,t){if(null!==t){const n=t.type;if(3&n)return Wn(t,e);if(4&n)return Hc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return pa(e,i);{const r=e[t.index];return ii(r)?Hc(-1,r):Bt(r)}}if(32&n)return Nc(t,e)()||Bt(e[t.index]);{const i=Uf(e,t);return null!==i?Array.isArray(i)?i[0]:pa(ha(e[Sn]),i):pa(e,t.next)}}return null}function Uf(e,t){return null!==t?e[Sn][Xn].projection[t.projection]:null}function Hc(e,t){const n=yn+e+1;if(n<t.length){const i=t[n],r=i[tt].firstChild;if(null!==r)return pa(i,r)}return t[pi]}function Vc(e,t,n,i,r,o,a){for(;null!=n;){const u=i[n.index],p=n.type;if(a&&0===t&&(u&&ji(Bt(u),i),n.flags|=2),32!=(32&n.flags))if(8&p)Vc(e,t,n.child,i,r,o,!1),Es(t,e,r,u,o);else if(32&p){const b=Nc(n,i);let M;for(;M=b();)Es(t,e,r,M,o);Es(t,e,r,u,o)}else 16&p?Vf(e,t,i,n,r,o):Es(t,e,r,u,o);n=a?n.projectionNext:n.next}}function ga(e,t,n,i,r,o){Vc(n,i,e.firstChild,t,r,o,!1)}function Vf(e,t,n,i,r,o){const a=n[Sn],p=a[Xn].projection[i.projection];if(Array.isArray(p))for(let b=0;b<p.length;b++)Es(t,e,r,p[b],o);else{let b=p;const M=a[on];dl(i)&&(b.flags|=128),Vc(e,t,b,M,r,o,!0)}}function $f(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Gf(e,t,n){const{mergedAttrs:i,classes:r,styles:o}=n;null!==i&&Vi(e,t,i),null!==r&&$f(e,t,r),null!==o&&function ab(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function ws(e){return function $c(){if(void 0===_l&&(_l=null,Qt.trustedTypes))try{_l=Qt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _l}()?.createHTML(e)||e}function db(e){Gc=e}function Yf(e){return function zc(){if(void 0===Dl&&(Dl=null,Qt.trustedTypes))try{Dl=Qt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Dl}()?.createScriptURL(e)||e}class ns{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${kt})`}}class fb extends ns{getTypeName(){return"HTML"}}class hb extends ns{getTypeName(){return"Style"}}class pb extends ns{getTypeName(){return"Script"}}class gb extends ns{getTypeName(){return"URL"}}class mb extends ns{getTypeName(){return"ResourceURL"}}function So(e){return e instanceof ns?e.changingThisBreaksApplicationSecurity:e}function Ms(e,t){const n=function yb(e){return e instanceof ns&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${kt})`)}return n===t}function vb(e){return new fb(e)}function bb(e){return new hb(e)}function _b(e){return new pb(e)}function Db(e){return new gb(e)}function xb(e){return new mb(e)}class Eb{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ws(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class wb{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=ws(t),n}}const Mb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xl(e){return(e=String(e)).match(Mb)?e:"unsafe:"+e}function Io(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ma(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Qf=Io("area,br,col,hr,img,wbr"),qf=Io("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Zf=Io("rp,rt"),Wc=ma(Qf,ma(qf,Io("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")),ma(Zf,Io("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")),ma(Zf,qf)),Yc=Io("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xf=ma(Yc,Io("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"),Io("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")),Ab=Io("script,style,template");class Sb{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=this.checkClobberedElement(n,n.nextSibling);if(r){n=r;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Wc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ab.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),a=o.name,u=a.toLowerCase();if(!Xf.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let p=o.value;Yc[u]&&(p=xl(p)),this.buf.push(" ",a,'="',Jf(p),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Wc.hasOwnProperty(n)&&!Qf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Jf(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Ib=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tb=/([^\#-~ |!])/g;function Jf(e){return e.replace(/&/g,"&").replace(Ib,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Tb,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let El;function eh(e,t){let n=null;try{El=El||function Kf(e){const t=new wb(e);return function Cb(){try{return!!(new window.DOMParser).parseFromString(ws(""),"text/html")}catch{return!1}}()?new Eb(t):t}(e);let i=t?String(t):"";n=El.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=El.getInertBodyElement(i)}while(i!==o);return ws((new Sb).sanitizeChildren(Kc(n)||n))}finally{if(n){const i=Kc(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Kc(e){return"content"in e&&function Rb(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var is=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(is||{});function th(e){const t=ya();return t?t.sanitize(is.URL,e)||"":Ms(e,"URL")?So(e):xl(Me(e))}function nh(e){const t=ya();if(t)return Yf(t.sanitize(is.RESOURCE_URL,e)||"");if(Ms(e,"ResourceURL"))return Yf(So(e));throw new _e(904,!1)}function ih(e,t,n){return function kb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?nh:th}(t,n)(e)}function ya(){const e=Ge();return e&&e[Ei].sanitizer}const va=new ut("ENVIRONMENT_INITIALIZER"),rh=new ut("INJECTOR",-1),oh=new ut("INJECTOR_DEF_TYPES");class Qc{get(t,n=Pe){if(n===Pe){const i=new Error(`NullInjectorError: No provider for ${ae(t)}!`);throw i.name="NullInjectorError",i}return n}}function Bb(...e){return{\u0275providers:ah(0,e),\u0275fromNgModule:!0}}function ah(e,...t){const n=[],i=new Set;let r;const o=a=>{n.push(a)};return bs(t,a=>{const u=a;wl(u,o,[],i)&&(r||=[],r.push(u))}),void 0!==r&&lh(r,o),n}function lh(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:r}=e[n];qc(r,o=>{t(o,i)})}}function wl(e,t,n,i){if(!(e=Ue(e)))return!1;let r=null,o=ci(e);const a=!o&&Dt(e);if(o||a){if(a&&!a.standalone)return!1;r=e}else{const p=e.ngModule;if(o=ci(p),!o)return!1;r=p}const u=i.has(r);if(a){if(u)return!1;if(i.add(r),a.dependencies){const p="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const b of p)wl(b,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!u){let b;i.add(r);try{bs(o.imports,M=>{wl(M,t,n,i)&&(b||=[],b.push(M))})}finally{}void 0!==b&&lh(b,t)}if(!u){const b=Ti(r)||(()=>new r);t({provide:r,useFactory:b,deps:Pt},r),t({provide:oh,useValue:r,multi:!0},r),t({provide:va,useValue:()=>Ct(r),multi:!0},r)}const p=o.providers;if(null!=p&&!u){const b=e;qc(p,M=>{t(M,b)})}}}return r!==e&&void 0!==e.providers}function qc(e,t){for(let n of e)yt(n)&&(n=n.\u0275providers),Array.isArray(n)?qc(n,t):t(n)}const jb=q({provide:String,useValue:q});function Zc(e){return null!==e&&"object"==typeof e&&jb in e}function rs(e){return"function"==typeof e}const Xc=new ut("Set Injector scope."),Cl={},Hb={};let Jc;function Ml(){return void 0===Jc&&(Jc=new Qc),Jc}class ho{}class As extends ho{get destroyed(){return this._destroyed}constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,tu(t,a=>this.processProvider(a)),this.records.set(rh,Ss(void 0,this)),r.has("environment")&&this.records.set(ho,Ss(void 0,this));const o=this.records.get(Xc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(oh.multi,Pt,_t.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=et(this),i=bn(void 0);try{return t()}finally{et(n),bn(i)}}get(t,n=Pe,i=_t.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(tr))return t[tr](this);i=Ht(i);const o=et(this),a=bn(void 0);try{if(!(i&_t.SkipSelf)){let p=this.records.get(t);if(void 0===p){const b=function Wb(e){return"function"==typeof e||"object"==typeof e&&e instanceof ut}(t)&&Kt(t);p=b&&this.injectableDefInScope(b)?Ss(eu(t),Cl):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(i&_t.Self?Ml():this.parent).get(t,n=i&_t.Optional&&n===Pe?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[fe]=u[fe]||[]).unshift(ae(t)),o)throw u;return function di(e,t,n,i){const r=e[fe];throw t[O]&&r.unshift(t[O]),e.message=function er(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=ae(t);if(Array.isArray(t))r=t.map(ae).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let u=t[a];o.push(a+":"+("string"==typeof u?JSON.stringify(u):ae(u)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(w,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[fe]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{bn(a),et(o)}}resolveInjectorInitializers(){const t=et(this),n=bn(void 0);try{const r=this.get(va.multi,Pt,_t.Self);for(const o of r)o()}finally{et(t),bn(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(ae(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _e(205,!1)}processProvider(t){let n=rs(t=Ue(t))?t:Ue(t&&t.provide);const i=function $b(e){return Zc(e)?Ss(void 0,e.useValue):Ss(function dh(e,t,n){let i;if(rs(e)){const r=Ue(e);return Ti(r)||eu(r)}if(Zc(e))i=()=>Ue(e.useValue);else if(function uh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...pn(e.deps||[]));else if(function ch(e){return!(!e||!e.useExisting)}(e))i=()=>Ct(Ue(e.useExisting));else{const r=Ue(e&&(e.useClass||e.provide));if(!function Gb(e){return!!e.deps}(e))return Ti(r)||eu(r);i=()=>new r(...pn(e.deps))}return i}(e),Cl)}(t);if(rs(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=Ss(void 0,Cl,!0),r.factory=()=>pn(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Cl&&(n.value=Hb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function zb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Ue(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function eu(e){const t=Kt(e),n=null!==t?t.factory:Ti(e);if(null!==n)return n;if(e instanceof ut)throw new _e(204,!1);if(e instanceof Function)return function Vb(e){const t=e.length;if(t>0)throw ua(t,"?"),new _e(204,!1);const n=function fn(e){return e&&(e[jn]||e[Un])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new _e(204,!1)}function Ss(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function tu(e,t){for(const n of e)Array.isArray(n)?tu(n,t):n&&yt(n)?tu(n.\u0275providers,t):t(n)}const fh=new ut("AppId",{providedIn:"root",factory:()=>Yb}),Yb="ng",hh=new ut("Platform Initializer"),nu=new ut("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Kb=new ut("AnimationModuleType"),Qb=new ut("CSP nonce",{providedIn:"root",factory:()=>function Cs(){if(void 0!==Gc)return Gc;if(typeof document<"u")return document;throw new _e(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let ph=(e,t,n)=>null;function uu(e,t,n=!1){return ph(e,t,n)}class o_{}class yh{}class a_{resolveComponentFactory(t){throw function s_(e){const t=Error(`No component factory found for ${ae(e)}.`);return t.ngComponent=e,t}(t)}}let Ol=(()=>{class e{static#e=this.NULL=new a_}return e})();function l_(){return Rs(yi(),Ge())}function Rs(e,t){return new Da(Wn(e,t))}let Da=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=l_}return e})();function c_(e){return e instanceof Da?e.nativeElement:e}class bh{}let u_=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function d_(){const e=Ge(),n=mn(yi().index,e);return(ai(n)?n:e)[Rt]}()}return e})(),f_=(()=>{class e{static#e=this.\u0275prov=Ze({token:e,providedIn:"root",factory:()=>null})}return e})();class _h{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const h_=new _h("16.2.12"),hu={};function wh(e,t=null,n=null,i){const r=Ch(e,t,n,i);return r.resolveInjectorInitializers(),r}function Ch(e,t=null,n=null,i,r=new Set){const o=[n||Pt,Bb(e)];return i=i||("object"==typeof e?void 0:ae(e)),new As(o,t||Ml(),i||null,r)}let Zr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Pe;static#t=this.NULL=new Qc;static create(n,i){if(Array.isArray(n))return wh({name:""},i,n,"");{const r=n.name??"";return wh({name:r},n.parent,n.providers,r)}}static#n=this.\u0275prov=Ze({token:e,providedIn:"any",factory:()=>Ct(rh)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function gu(e){return e.ngOriginalError}class $o{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&gu(t);for(;n&&gu(n);)n=gu(n);return n||null}}function yu(e){return t=>{setTimeout(e,void 0,t)}}const po=class __ extends s.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let r=t,o=n||(()=>null),a=i;if(t&&"object"==typeof t){const p=t;r=p.next?.bind(p),o=p.error?.bind(p),a=p.complete?.bind(p)}this.__isAsync&&(o=yu(o),r&&(r=yu(r)),a&&(a=yu(a)));const u=super.subscribe({next:r,error:o,complete:a});return t instanceof F.w0&&t.add(u),u}};function Ah(...e){}class Ci{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new po(!1),this.onMicrotaskEmpty=new po(!1),this.onStable=new po(!1),this.onError=new po(!1),typeof Zone>"u")throw new _e(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function D_(){const e="function"==typeof Qt.requestAnimationFrame;let t=Qt[e?"requestAnimationFrame":"setTimeout"],n=Qt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function w_(e){const t=()=>{!function E_(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Qt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,bu(e),e.isCheckStableRunning=!0,vu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),bu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,a,u)=>{if(function M_(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(u))return n.invokeTask(r,o,a,u);try{return Sh(e),n.invokeTask(r,o,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Ih(e)}},onInvoke:(n,i,r,o,a,u,p)=>{try{return Sh(e),n.invoke(r,o,a,u,p)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ih(e)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,bu(e),vu(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,i,r,o)=>(n.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ci.isInAngularZone())throw new _e(909,!1)}static assertNotInAngularZone(){if(Ci.isInAngularZone())throw new _e(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,x_,Ah,Ah);try{return o.runTask(a,n,i)}finally{o.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const x_={};function vu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function bu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Sh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ih(e){e._nesting--,vu(e)}class C_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new po,this.onMicrotaskEmpty=new po,this.onStable=new po,this.onError=new po}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}const Th=new ut("",{providedIn:"root",factory:Rh});function Rh(){const e=gt(Ci);let t=!0;const n=new B.y(r=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{r.next(t),r.complete()})}),i=new B.y(r=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{Ci.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const a=e.onUnstable.subscribe(()=>{Ci.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{r.next(!1)}))});return()=>{o.unsubscribe(),a.unsubscribe()}});return(0,re.T)(n,i.pipe((0,Ce.B)()))}function To(e){return e instanceof Function?e():e}let _u=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=Ze({token:e,providedIn:"root",factory:()=>new e})}return e})();function xa(e){for(;e;){e[Tt]|=64;const t=ha(e);if(qi(e)&&!t)return e;e=t}return null}const Lh=new ut("",{providedIn:"root",factory:()=>!1});let Pl=null;function Uh(e,t){return e[t]??$h()}function Hh(e,t){const n=$h();n.producerNode?.length&&(e[t]=Pl,n.lView=e,Pl=Vh())}const L_={...Mt,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{xa(e.lView)},lView:null};function Vh(){return Object.create(L_)}function $h(){return Pl??=Vh(),Pl}const zt={};function Gh(e){zh(an(),Ge(),vi()+e,!1)}function zh(e,t,n,i){if(!i)if(3==(3&t[Tt])){const o=e.preOrderCheckHooks;null!==o&&Za(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Xa(t,o,0,n)}ur(n)}function Ps(e,t=_t.Default){const n=Ge();return null===n?Ct(e,t):Xd(yi(),n,Ue(e),t)}function Wh(){throw new Error("invalid")}function Nl(e,t,n,i,r,o,a,u,p,b,M){const k=t.blueprint.slice();return k[en]=r,k[Tt]=140|i,(null!==b||e&&2048&e[Tt])&&(k[Tt]|=2048),fs(k),k[on]=k[Dr]=e,k[An]=n,k[Ei]=a||e&&e[Ei],k[Rt]=u||e&&e[Rt],k[hi]=p||e&&e[hi]||null,k[Xn]=o,k[or]=function Lv(){return Nv++}(),k[Qi]=M,k[_o]=b,k[Sn]=2==t.type?e[Sn]:k,k}function Ns(e,t,n,i,r){let o=e.data[t];if(null===o)o=function Du(e,t,n,i,r){const o=Ka(),a=na(),p=e.data[t]=function G_(e,t,n,i,r,o){let a=t?t.injectorIndex:-1,u=0;return Ho()&&(u|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=p),null!==o&&(a?null==o.child&&null!==p.parent&&(o.child=p):null===o.next&&(o.next=p,p.prev=o)),p}(e,t,n,i,r),function Vd(){return Nt.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const a=function qo(){const e=Nt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return $r(o,!0),o}function Ea(e,t,n,i){if(0===n)return-1;const r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Yh(e,t,n,i,r){const o=Uh(t,xr),a=vi(),u=2&i;try{ur(-1),u&&t.length>$t&&zh(e,t,$t,!1),lt(u?2:0,r);const b=u?o:null,M=Bo(b);try{null!==b&&(b.dirty=!1),n(i,r)}finally{Mo(b,M)}}finally{u&&null===t[xr]&&Hh(t,xr),ur(a),lt(u?3:1,r)}}function xu(e,t,n){if(wr(t)){const i=qe(null);try{const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const u=e.data[a];u.contentQueries&&u.contentQueries(1,n[a],a)}}finally{qe(i)}}}function Kh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Cu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Cu(e,t,n,i,r,o,a,u,p,b,M){const k=$t+i,X=k+r,oe=function B_(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:zt);return n}(k,X),Le="function"==typeof b?b():b;return oe[tt]={type:e,blueprint:oe,template:n,queries:null,viewQuery:u,declTNode:t,data:oe.slice().fill(null,k),bindingStartIndex:k,expandoStartIndex:X,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:p,consts:Le,incompleteFirstPass:!1,ssrId:M}}let Qh=e=>null;function qh(e,t,n,i){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const o=e[r];null===i?Zh(n,t,r,o):i.hasOwnProperty(r)&&Zh(n,t,i[r],o)}return n}function Zh(e,t,n,i){e.hasOwnProperty(n)?e[n].push(t,i):e[n]=[t,i]}function Tr(e,t,n,i,r,o,a,u){const p=Wn(t,n);let M,b=t.inputs;!u&&null!=b&&(M=b[i])?(Tu(e,n,M,i,r),Li(t)&&function Y_(e,t){const n=mn(t,e);16&n[Tt]||(n[Tt]|=64)}(n,t.index)):3&t.type&&(i=function W_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=a?a(r,t.value||"",i):r,o.setProperty(p,i,r))}function Xh(e,t,n,i,r,o){for(let b=0;b<i.length;b++)xc(el(n,t),e,i[b].type);!function n0(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let b=0;b<i.length;b++){const M=i[b];M.providersResolver&&M.providersResolver(M)}let a=!1,u=!1,p=Ea(e,t,i.length,null);for(let b=0;b<i.length;b++){const M=i[b];n.mergedAttrs=$i(n.mergedAttrs,M.hostAttrs),r0(e,n,t,p,M),t0(p,M,r),null!==M.contentQueries&&(n.flags|=4),(null!==M.hostBindings||null!==M.hostAttrs||0!==M.hostVars)&&(n.flags|=64);const k=M.type.prototype;!a&&(k.ngOnChanges||k.ngOnInit||k.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!u&&(k.ngOnChanges||k.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),p++}!function z_(e,t,n){const r=t.directiveEnd,o=e.data,a=t.attrs,u=[];let p=null,b=null;for(let M=t.directiveStart;M<r;M++){const k=o[M],X=n?n.get(k):null,Le=X?X.outputs:null;p=qh(k.inputs,M,p,X?X.inputs:null),b=qh(k.outputs,M,b,Le);const Qe=null===p||null===a||Di(t)?null:a0(p,M,a);u.push(Qe)}null!==p&&(p.hasOwnProperty("class")&&(t.flags|=8),p.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=u,t.inputs=p,t.outputs=b}(e,n,o)}function Jh(e,t,n){const i=n.directiveStart,r=n.directiveEnd,o=n.index,a=function g(){return Nt.lFrame.currentDirectiveIndex}();try{ur(o);for(let u=i;u<r;u++){const p=e.data[u],b=t[u];c(u),(null!==p.hostBindings||0!==p.hostVars||null!==p.hostAttrs)&&X_(p,b)}}finally{ur(-1),c(a)}}function X_(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Au(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function t0(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;li(t)&&(n[""]=e)}}function r0(e,t,n,i,r){e.data[i]=r;const o=r.factory||(r.factory=Ti(r.type)),a=new oa(o,li(r),Ps);e.blueprint[i]=a,n[i]=a,function Q_(e,t,n,i,r){const o=r.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function q_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(n,i,o)}}(e,t,i,Ea(e,n,r.hostVars,zt),r)}function go(e,t,n,i,r,o){const a=Wn(e,t);!function Su(e,t,n,i,r,o,a){if(null==o)e.removeAttribute(t,r,n);else{const u=null==a?Me(o):a(o,i||"",r);e.setAttribute(t,r,u,n)}}(t[Rt],a,o,e.value,n,i,r)}function s0(e,t,n,i,r,o){const a=o[t];if(null!==a)for(let u=0;u<a.length;)ep(i,n,a[u++],a[u++],a[u++])}function ep(e,t,n,i,r){const o=qe(null);try{const a=e.inputTransforms;null!==a&&a.hasOwnProperty(i)&&(r=a[i].call(t,r)),null!==e.setInput?e.setInput(t,r,n,i):t[i]=r}finally{qe(o)}}function a0(e,t,n){let i=null,r=0;for(;r<n.length;){const o=n[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===i&&(i=[]);const a=e[o];for(let u=0;u<a.length;u+=2)if(a[u]===t){i.push(o,a[u+1],n[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function np(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i+1];if(-1!==o){const a=e.data[o];I(n[i]),a.contentQueries(2,t[o],o)}}}function Ll(e,t){return e[Ni]?e[bo][si]=t:e[Ni]=t,e[bo]=t,t}function Iu(e,t,n){I(0);const i=qe(null);try{t(e,n)}finally{qe(i)}}function ip(e){return e[Si]||(e[Si]=[])}function rp(e){return e.cleanup||(e.cleanup=[])}function sp(e,t){const n=e[hi],i=n?n.get($o,null):null;i&&i.handleError(t)}function Tu(e,t,n,i,r){for(let o=0;o<n.length;){const a=n[o++],u=n[o++];ep(e.data[a],t[a],i,u,r)}}function l0(e,t){const n=mn(t,e),i=n[tt];!function c0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const r=n[en];null!==r&&null===n[Qi]&&(n[Qi]=uu(r,n[hi])),Ru(i,n,n[An])}function Ru(e,t,n){me(t);try{const i=e.viewQuery;null!==i&&Iu(1,i,n);const r=e.template;null!==r&&Yh(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&np(e,t),e.staticViewQueries&&Iu(2,e.viewQuery,n);const o=e.components;null!==o&&function u0(e,t){for(let n=0;n<t.length;n++)l0(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[Tt]&=-5,Sr()}}let ap=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,i,r){const o=typeof Zone>"u"?null:Zone.current,a=function Oe(e,t,n){const i=Object.create(tn);n&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=t;const r=a=>{i.cleanupFn=a};return i.ref={notify:()=>ao(i),run:()=>{if(i.dirty=!1,i.hasRun&&!Yo(i))return;i.hasRun=!0;const a=Bo(i);try{i.cleanupFn(),i.cleanupFn=nt,i.fn(r)}finally{Mo(i,a)}},cleanup:()=>i.cleanupFn()},i.ref}(n,b=>{this.all.has(b)&&this.queue.set(b,o)},r);let u;this.all.add(a),a.notify();const p=()=>{a.cleanup(),u?.(),this.all.delete(a),this.queue.delete(a)};return u=i?.onDestroy(p),{destroy:p}}flush(){if(0!==this.queue.size)for(const[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=Ze({token:e,providedIn:"root",factory:()=>new e})}return e})();function kl(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(let a=0;a<t.length;a++){const u=t[a];"number"==typeof u?o=u:1==o?r=je(r,u):2==o&&(i=je(i,u+": "+t[++a]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function wa(e,t,n,i,r=!1){for(;null!==n;){const o=t[n.index];null!==o&&i.push(Bt(o)),ii(o)&&lp(o,i);const a=n.type;if(8&a)wa(e,t,n.child,i);else if(32&a){const u=Nc(n,t);let p;for(;p=u();)i.push(p)}else if(16&a){const u=Uf(t,n);if(Array.isArray(u))i.push(...u);else{const p=ha(t[Sn]);wa(p[tt],p,u,i,!0)}}n=r?n.projectionNext:n.next}return i}function lp(e,t){for(let n=yn;n<e.length;n++){const i=e[n],r=i[tt].firstChild;null!==r&&wa(i[tt],i,r,t)}e[pi]!==e[en]&&t.push(e[pi])}function Bl(e,t,n,i=!0){const r=t[Ei],o=r.rendererFactory,a=r.afterRenderEventManager;o.begin?.(),a?.begin();try{cp(e,t,e.template,n)}catch(p){throw i&&sp(t,p),p}finally{o.end?.(),r.effectManager?.flush(),a?.end()}}function cp(e,t,n,i){const r=t[Tt];if(256!=(256&r)){t[Ei].effectManager?.flush(),me(t);try{fs(t),function gc(e){return Nt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Yh(e,t,n,2,i);const a=3==(3&r);if(a){const b=e.preOrderCheckHooks;null!==b&&Za(t,b,null)}else{const b=e.preOrderHooks;null!==b&&Xa(t,b,0,null),yc(t,0)}if(function h0(e){for(let t=Sf(e);null!==t;t=If(t)){if(!t[Er])continue;const n=t[gn];for(let i=0;i<n.length;i++){Va(n[i])}}}(t),up(t,2),null!==e.contentQueries&&np(e,t),a){const b=e.contentCheckHooks;null!==b&&Za(t,b)}else{const b=e.contentHooks;null!==b&&Xa(t,b,1),yc(t,1)}!function k_(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const i=Uh(t,Br);try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)ur(~o);else{const a=o,u=n[++r],p=n[++r];d(u,a),i.dirty=!1;const b=Bo(i);try{p(2,t[a])}finally{Mo(i,b)}}}}finally{null===t[Br]&&Hh(t,Br),ur(-1)}}(e,t);const u=e.components;null!==u&&fp(t,u,0);const p=e.viewQuery;if(null!==p&&Iu(2,p,i),a){const b=e.viewCheckHooks;null!==b&&Za(t,b)}else{const b=e.viewHooks;null!==b&&Xa(t,b,2),yc(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Tt]&=-73,uc(t)}finally{Sr()}}}function up(e,t){for(let n=Sf(e);null!==n;n=If(n))for(let i=yn;i<n.length;i++)dp(n[i],t)}function p0(e,t,n){dp(mn(t,e),n)}function dp(e,t){if(!function Zi(e){return 128==(128&e[Tt])}(e))return;const n=e[tt],i=e[Tt];if(80&i&&0===t||1024&i||2===t)cp(n,e,n.template,e[An]);else if(e[Ai]>0){up(e,1);const r=n.components;null!==r&&fp(e,r,1)}}function fp(e,t,n){for(let i=0;i<t.length;i++)p0(e,t[i],n)}class Ca{get rootNodes(){const t=this._lView,n=t[tt];return wa(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[An]}set context(t){this._lView[An]=t}get destroyed(){return 256==(256&this._lView[Tt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[on];if(ii(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(ml(t,i),il(n,i))}this._attachedToViewContainer=!1}kc(this._lView[tt],this._lView)}onDestroy(t){!function Vr(e,t){if(256==(256&e[Tt]))throw new _e(911,!1);null===e[Ki]&&(e[Ki]=[]),e[Ki].push(t)}(this._lView,t)}markForCheck(){xa(this._cdRefInjectingView||this._lView)}detach(){this._lView[Tt]&=-129}reattach(){this._lView[Tt]|=128}detectChanges(){Bl(this._lView[tt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _e(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function qv(e,t){ga(e,t,t[Rt],2,null,null)}(this._lView[tt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _e(902,!1);this._appRef=t}}class g0 extends Ca{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Bl(t[tt],t,t[An],!1)}checkNoChanges(){}get context(){return null}}class hp extends Ol{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Dt(t);return new Ma(n,this.ngModule)}}function pp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class y0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=Ht(i);const r=this.injector.get(t,hu,i);return r!==hu||n===hu?r:this.parentInjector.get(t,n,i)}}class Ma extends yh{get inputs(){const t=this.componentDef,n=t.inputTransforms,i=pp(t.inputs);if(null!==n)for(const r of i)n.hasOwnProperty(r.propName)&&(r.transform=n[r.propName]);return i}get outputs(){return pp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Kn(e){return e.map(br).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){let o=(r=r||this.ngModule)instanceof ho?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new y0(t,o):t,u=a.get(bh,null);if(null===u)throw new _e(407,!1);const k={rendererFactory:u,sanitizer:a.get(f_,null),effectManager:a.get(ap,null),afterRenderEventManager:a.get(_u,null)},X=u.createRenderer(null,this.componentDef),oe=this.componentDef.selectors[0][0]||"div",Le=i?function j_(e,t,n,i){const o=i.get(Lh,!1)||n===Cn.ShadowDom,a=e.selectRootElement(t,o);return function U_(e){Qh(e)}(a),a}(X,i,this.componentDef.encapsulation,a):gl(X,oe,function m0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(oe)),wt=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let $e=null;null!==Le&&($e=uu(Le,a,!0));const jt=Cu(0,null,null,1,0,null,null,null,null,null,null),Xt=Nl(null,jt,null,wt,null,null,k,X,a,null,$e);let Tn,pr;me(Xt);try{const Oo=this.componentDef;let Xs,Ld=null;Oo.findHostDirectiveDefs?(Xs=[],Ld=new Map,Oo.findHostDirectiveDefs(Oo,Xs,Ld),Xs.push(Oo)):Xs=[Oo];const BC=function b0(e,t){const n=e[tt],i=$t;return e[i]=t,Ns(n,i,2,"#host",null)}(Xt,Le),jC=function _0(e,t,n,i,r,o,a){const u=r[tt];!function D0(e,t,n,i){for(const r of e)t.mergedAttrs=$i(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(kl(t,t.mergedAttrs,!0),null!==n&&Gf(i,n,t))}(i,e,t,a);let p=null;null!==t&&(p=uu(t,r[hi]));const b=o.rendererFactory.createRenderer(t,n);let M=16;n.signals?M=4096:n.onPush&&(M=64);const k=Nl(r,Kh(n),null,M,r[e.index],e,o,b,null,null,p);return u.firstCreatePass&&Au(u,e,i.length-1),Ll(r,k),r[e.index]=k}(BC,Le,Oo,Xs,Xt,k,X);pr=Ao(jt,$t),Le&&function E0(e,t,n,i){if(i)Vi(e,n,["ng-version",h_.full]);else{const{attrs:r,classes:o}=function Wr(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&t.push(o,e[++i]):8===r&&n.push(o);else{if(!Dn(r))break;r=o}i++}return{attrs:t,classes:n}}(t.selectors[0]);r&&Vi(e,n,r),o&&o.length>0&&$f(e,n,o.join(" "))}}(X,Oo,Le,i),void 0!==n&&function w0(e,t,n){const i=e.projection=[];for(let r=0;r<t.length;r++){const o=n[r];i.push(null!=o?Array.from(o):null)}}(pr,this.ngContentSelectors,n),Tn=function x0(e,t,n,i,r,o){const a=yi(),u=r[tt],p=Wn(a,r);Xh(u,r,a,n,null,i);for(let M=0;M<n.length;M++)ji(es(r,u,a.directiveStart+M,a),r);Jh(u,r,a),p&&ji(p,r);const b=es(r,u,a.directiveStart+a.componentOffset,a);if(e[An]=r[An]=b,null!==o)for(const M of o)M(b,t);return xu(u,a,e),b}(jC,Oo,Xs,Ld,Xt,[C0]),Ru(jt,Xt,null)}finally{Sr()}return new v0(this.componentType,Tn,Rs(pr,Xt),Xt,pr)}}class v0 extends o_{constructor(t,n,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new g0(r),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;Tu(o[tt],o,r,t,n),this.previousInputValues.set(t,n),xa(mn(this._tNode.index,o))}}get injector(){return new Xi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function C0(){const e=yi();qa(Ge()[tt],e)}function Ou(e){let t=function gp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(li(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _e(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);const a=e;a.inputs=jl(e.inputs),a.inputTransforms=jl(e.inputTransforms),a.declaredInputs=jl(e.declaredInputs),a.outputs=jl(e.outputs);const u=r.hostBindings;u&&I0(e,u);const p=r.viewQuery,b=r.contentQueries;if(p&&A0(e,p),b&&S0(e,b),de(e.inputs,r.inputs),de(e.declaredInputs,r.declaredInputs),de(e.outputs,r.outputs),null!==r.inputTransforms&&(null===a.inputTransforms&&(a.inputTransforms={}),de(a.inputTransforms,r.inputTransforms)),li(r)&&r.data.animation){const M=e.data;M.animation=(M.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let a=0;a<o.length;a++){const u=o[a];u&&u.ngInherit&&u(e),u===Ou&&(n=!1)}}t=Object.getPrototypeOf(t)}!function M0(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=$i(r.hostAttrs,n=$i(n,r.hostAttrs))}}(i)}function jl(e){return e===Mn?{}:e===Pt?[]:e}function A0(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function S0(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,o)=>{t(i,r,o),n(i,r,o)}:t}function I0(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}function bp(e){const t=e.inputConfig,n={};for(const i in t)if(t.hasOwnProperty(i)){const r=t[i];Array.isArray(r)&&r[2]&&(n[i]=r[2])}e.inputTransforms=n}function Ul(e){return!!Fu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Fu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ui(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Pu(e,t,n,i){const r=Ge();return Ui(r,Zo(),t)&&(an(),go(Yn(),r,e,t,n,i)),Pu}function ks(e,t,n,i){return Ui(e,Zo(),n)?t+Me(n)+i:zt}function Uu(e,t,n){const i=Ge();return Ui(i,Zo(),t)&&Tr(an(),Yn(),i,e,t,i[Rt],n,!1),Uu}function Hu(e,t,n,i,r){const a=r?"class":"style";Tu(e,n,t.inputs[a],a,i)}function zl(e,t,n,i){const r=Ge(),o=an(),a=$t+e,u=r[Rt],p=o.firstCreatePass?function sD(e,t,n,i,r,o){const a=t.consts,p=Ns(t,e,2,i,cr(a,r));return function Mu(e,t,n,i){if(za()){const r=null===i?null:{"":-1},o=function J_(e,t){const n=e.directiveRegistry;let i=null,r=null;if(n)for(let o=0;o<n.length;o++){const a=n[o];if(zi(t,a.selectors,!1))if(i||(i=[]),li(a))if(null!==a.findHostDirectiveDefs){const u=[];r=r||new Map,a.findHostDirectiveDefs(a,u,r),i.unshift(...u,a),Au(e,t,u.length)}else i.unshift(a),Au(e,t,0);else r=r||new Map,a.findHostDirectiveDefs?.(a,i,r),i.push(a)}return null===i?null:[i,r]}(e,n);let a,u;null===o?a=u=null:[a,u]=o,null!==a&&Xh(e,t,n,a,r,u),r&&function e0(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const o=n[t[r+1]];if(null==o)throw new _e(-301,!1);i.push(t[r],o)}}}(n,i,r)}n.mergedAttrs=$i(n.mergedAttrs,n.attrs)}(t,n,p,cr(a,o)),null!==p.attrs&&kl(p,p.attrs,!1),null!==p.mergedAttrs&&kl(p,p.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,p),p}(a,o,r,t,n,i):o.data[a],b=Pp(o,r,p,u,t,e);r[a]=b;const M=io(p);return $r(p,!0),Gf(u,b,p),32!=(32&p.flags)&&Qa()&&vl(o,r,b,p),0===function $a(){return Nt.lFrame.elementDepthCount}()&&ji(b,r),function Ga(){Nt.lFrame.elementDepthCount++}(),M&&(function Eu(e,t,n){za()&&(function Z_(e,t,n,i){const r=n.directiveStart,o=n.directiveEnd;Li(n)&&function o0(e,t,n){const i=Wn(t,e),r=Kh(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const u=Ll(e,Nl(e,r,null,a,i,t,null,e[Ei].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=u}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||el(n,t),ji(i,t);const a=n.initialInputs;for(let u=r;u<o;u++){const p=e.data[u],b=es(t,e,u,n);ji(b,t),null!==a&&s0(0,u-r,b,p,0,a),li(p)&&(mn(n.index,t)[An]=es(t,e,u,n))}}(e,t,n,Wn(n,t)),64==(64&n.flags)&&Jh(e,t,n))}(o,r,p),xu(o,p,r)),null!==i&&function wu(e,t,n=Wn){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const a=i[o+1],u=-1===a?n(t,e):e[a];e[r++]=u}}}(r,p),zl}function Wl(){let e=yi();na()?ia():(e=e.parent,$r(e,!1));const t=e;(function kd(e){return Nt.skipHydrationRootTNode===e})(t)&&function jd(){Nt.skipHydrationRootTNode=null}(),function ta(){Nt.lFrame.elementDepthCount--}();const n=an();return n.firstCreatePass&&(qa(n,e),wr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Ky(e){return 0!=(8&e.flags)}(t)&&Hu(n,t,Ge(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Qy(e){return 0!=(16&e.flags)}(t)&&Hu(n,t,Ge(),t.stylesWithoutHost,!1),Wl}function Vu(e,t,n,i){return zl(e,t,n,i),Wl(),Vu}let Pp=(e,t,n,i,r,o)=>(Vo(!0),gl(i,r,function $d(){return Nt.lFrame.currentNamespace}()));function zu(e){return!!e&&"function"==typeof e.then}function kp(e){return!!e&&"function"==typeof e.subscribe}function Wu(e,t,n,i){const r=Ge(),o=an(),a=yi();return function jp(e,t,n,i,r,o,a){const u=io(i),b=e.firstCreatePass&&rp(e),M=t[An],k=ip(t);let X=!0;if(3&i.type||a){const Qe=Wn(i,t),at=a?a(Qe):Qe,wt=k.length,$e=a?Xt=>a(Bt(Xt[i.index])):i.index;let jt=null;if(!a&&u&&(jt=function hD(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const a=r[o];if(a===n&&r[o+1]===i){const u=t[Si],p=r[o+2];return u.length>p?u[p]:null}"string"==typeof a&&(o+=2)}return null}(e,t,r,i.index)),null!==jt)(jt.__ngLastListenerFn__||jt).__ngNextListenerFn__=o,jt.__ngLastListenerFn__=o,X=!1;else{o=Hp(i,t,M,o,!1);const Xt=n.listen(at,r,o);k.push(o,Xt),b&&b.push(r,$e,wt,wt+1)}}else o=Hp(i,t,M,o,!1);const oe=i.outputs;let Le;if(X&&null!==oe&&(Le=oe[r])){const Qe=Le.length;if(Qe)for(let at=0;at<Qe;at+=2){const Tn=t[Le[at]][Le[at+1]].subscribe(o),pr=k.length;k.push(o,Tn),b&&b.push(r,i.index,pr,-(pr+1))}}}(o,r,r[Rt],a,e,t,i),Wu}function Up(e,t,n,i){try{return lt(6,t,n),!1!==n(i)}catch(r){return sp(e,r),!1}finally{lt(7,t,n)}}function Hp(e,t,n,i,r){return function o(a){if(a===Function)return i;xa(e.componentOffset>-1?mn(e.index,t):t);let p=Up(t,n,i,a),b=o.__ngNextListenerFn__;for(;b;)p=Up(t,n,b,a)&&p,b=b.__ngNextListenerFn__;return r&&!1===p&&a.preventDefault(),p}}function gD(e,t){let n=null;const i=function to(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let r=0;r<t.length;r++){const o=t[r];if("*"!==o){if(null===i?zi(e,o,!0):Pr(i,o))return r}else n=r}return n}function Vp(e){const t=Ge()[Sn][Xn];if(!t.projection){const i=t.projection=ua(e?e.length:1,null),r=i.slice();let o=t.child;for(;null!==o;){const a=e?gD(o,e):0;null!==a&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o),o=o.next}}}function $p(e,t=0,n){const i=Ge(),r=an(),o=Ns(r,$t+e,16,null,n||null);null===o.projection&&(o.projection=t),ia(),(!i[Qi]||Ho())&&32!=(32&o.flags)&&function rb(e,t,n){Vf(t[Rt],0,t,n,jc(e,n,t),Lf(n.parent||t[Xn],n,t))}(r,i,o)}function Yu(e,t,n){return Ku(e,"",t,"",n),Yu}function Ku(e,t,n,i,r){const o=Ge(),a=ks(o,t,n,i);return a!==zt&&Tr(an(),Yn(),o,e,a,o[Rt],r,!1),Ku}function Yl(e,t){return e<<17|t<<2}function Go(e){return e>>17&32767}function Qu(e){return 2|e}function ss(e){return(131068&e)>>2}function qu(e,t){return-131069&e|t<<2}function Zu(e){return 1|e}function Xp(e,t,n,i,r){const o=e[n+1],a=null===t;let u=i?Go(o):ss(o),p=!1;for(;0!==u&&(!1===p||a);){const M=e[u+1];DD(e[u],t)&&(p=!0,e[u+1]=i?Zu(M):Qu(M)),u=i?Go(M):ss(M)}p&&(e[n+1]=i?Qu(o):Zu(o))}function DD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&_s(e,t)>=0}function Xu(e,t){return function Xr(e,t,n,i){const r=Ge(),o=an(),a=function uo(e){const t=Nt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);o.firstUpdatePass&&function ag(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[vi()],a=function sg(e,t){return t>=e.expandoStartIndex}(e,n);(function dg(e,t){return 0!=(e.flags&(t?8:16))})(o,i)&&null===t&&!a&&(t=!1),t=function TD(e,t,n,i){const r=function m(e){const t=Nt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Ra(n=Ju(null,e,t,n,i),t.attrs,i),o=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(n=Ju(r,e,t,n,i),null===o){let p=function RD(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==ss(i))return e[Go(i)]}(e,t,i);void 0!==p&&Array.isArray(p)&&(p=Ju(null,e,t,p[1],i),p=Ra(p,t.attrs,i),function OD(e,t,n,i){e[Go(n?t.classBindings:t.styleBindings)]=i}(e,t,i,p))}else o=function FD(e,t,n){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=Ra(i,e[o].hostAttrs,n);return Ra(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function bD(e,t,n,i,r,o){let a=o?t.classBindings:t.styleBindings,u=Go(a),p=ss(a);e[i]=n;let M,b=!1;if(Array.isArray(n)?(M=n[1],(null===M||_s(n,M)>0)&&(b=!0)):M=n,r)if(0!==p){const X=Go(e[u+1]);e[i+1]=Yl(X,u),0!==X&&(e[X+1]=qu(e[X+1],i)),e[u+1]=function yD(e,t){return 131071&e|t<<17}(e[u+1],i)}else e[i+1]=Yl(u,0),0!==u&&(e[u+1]=qu(e[u+1],i)),u=i;else e[i+1]=Yl(p,0),0===u?u=i:e[p+1]=qu(e[p+1],i),p=i;b&&(e[i+1]=Qu(e[i+1])),Xp(e,M,i,!0),Xp(e,M,i,!1),function _D(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&_s(o,t)>=0&&(n[i+1]=Zu(n[i+1]))}(t,M,e,i,o),a=Yl(u,p),o?t.classBindings=a:t.styleBindings=a}(r,o,t,n,a,i)}}(o,e,a,i),t!==zt&&Ui(r,a,t)&&function cg(e,t,n,i,r,o,a,u){if(!(3&t.type))return;const p=e.data,b=p[u+1],M=function vD(e){return 1==(1&e)}(b)?ug(p,t,n,r,ss(b),a):void 0;Kl(M)||(Kl(o)||function mD(e){return 2==(2&e)}(b)&&(o=ug(p,null,n,r,u,a)),function sb(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=-1===i.indexOf("-")?void 0:hl.DashCase;null==r?e.removeStyle(n,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=hl.Important),e.setStyle(n,i,r,o))}}(i,a,vn(vi(),n),r,o))}(o,o.data[vi()],r,r[Rt],e,r[a+1]=function kD(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ae(So(e)))),e}(t,n),i,a)}(e,t,null,!0),Xu}function Ju(e,t,n,i,r){let o=null;const a=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u<a&&(o=t[u],i=Ra(i,o.hostAttrs,r),o!==e);)u++;return null!==e&&(n.directiveStylingLast=u),i}function Ra(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?r=a:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ir(e,a,!!n||t[++o]))}return void 0===e?null:e}function ug(e,t,n,i,r,o){const a=null===t;let u;for(;r>0;){const p=e[r],b=Array.isArray(p),M=b?p[1]:p,k=null===M;let X=n[r+1];X===zt&&(X=k?Pt:void 0);let oe=k?Mc(X,i):M===i?X:void 0;if(b&&!Kl(oe)&&(oe=Mc(p,i)),Kl(oe)&&(u=oe,a))return u;const Le=e[r+1];r=a?Go(Le):ss(Le)}if(null!==t){let p=o?t.residualClasses:t.residualStyles;null!=p&&(u=Mc(p,i))}return u}function Kl(e){return void 0!==e}function fg(e,t=""){const n=Ge(),i=an(),r=e+$t,o=i.firstCreatePass?Ns(i,r,1,t,null):i.data[r],a=hg(i,n,o,t,e);n[r]=a,Qa()&&vl(i,n,a,o),$r(o,!1)}let hg=(e,t,n,i,r)=>(Vo(!0),function pl(e,t){return e.createText(t)}(t[Rt],i));function Ql(e,t,n){const i=Ge(),r=ks(i,e,t,n);return r!==zt&&function Ro(e,t,n){const i=vn(t,e);!function Rf(e,t,n){e.setValue(t,n)}(e[Rt],i,n)}(i,vi(),r),Ql}const as=void 0;var ox=["en",[["a","p"],["AM","PM"],as],[["AM","PM"],as,as],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],as,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],as,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",as,"{1} 'at' {0}",as],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function rx(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Ws={};function ed(e){const t=function sx(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ng(t);if(n)return n;const i=t.split("-")[0];if(n=Ng(i),n)return n;if("en"===i)return ox;throw new _e(701,!1)}function Pg(e){return ed(e)[Ys.PluralCase]}function Ng(e){return e in Ws||(Ws[e]=Qt.ng&&Qt.ng.common&&Qt.ng.common.locales&&Qt.ng.common.locales[e]),Ws[e]}var Ys=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ys||{});const Ks="en-US";let Lg=Ks;class ls{}class lm{}function sE(e,t){return new ad(e,t??null,[])}class ad extends ls{constructor(t,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new hp(this);const r=Fn(t);this._bootstrapComponents=To(r.bootstrap),this._r3Injector=Ch(t,n,[{provide:ls,useValue:this},{provide:Ol,useValue:this.componentFactoryResolver},...i],ae(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ld extends lm{constructor(t){super(),this.moduleType=t}create(t){return new ad(this.moduleType,t,[])}}class cm extends ls{constructor(t){super(),this.componentFactoryResolver=new hp(this),this.instance=null;const n=new As([...t.providers,{provide:ls,useValue:this},{provide:Ol,useValue:this.componentFactoryResolver}],t.parent||Ml(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function um(e,t,n=null){return new cm({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let lE=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=ah(0,n.type),r=i.length>0?um([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Ze({token:e,providedIn:"environment",factory:()=>new e(Ct(ho))})}return e})();function dm(e){e.getStandaloneInjector=t=>t.get(lE).getOrCreateStandaloneInjector(e)}function PE(){return this._results[Symbol.iterator]()}class ud{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new po)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=ud.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=PE)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const r=function Gr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function cv(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=t[i];if(n&&(r=n(r),o=n(o)),o!==r)return!1}return!0}(i._results,r,n))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function LE(e,t,n,i=!0){const r=t[tt];if(function Xv(e,t,n,i){const r=yn+i,o=n.length;i>0&&(n[r-1][si]=t),i<o-yn?(t[si]=n[r],af(n,yn+i,t)):(n.push(t),t[si]=null),t[on]=n;const a=t[kr];null!==a&&n!==a&&function Jv(e,t){const n=e[gn];t[Sn]!==t[on][on][Sn]&&(e[Er]=!0),null===n?e[gn]=[t]:n.push(t)}(a,t);const u=t[Ii];null!==u&&u.insertView(e),t[Tt]|=128}(r,t,e,n),i){const o=Hc(n,e),a=t[Rt],u=yl(a,e[pi]);null!==u&&function Qv(e,t,n,i,r,o){i[en]=r,i[Xn]=t,ga(e,i,n,1,r,o)}(r,e[Xn],a,t,u,o)}}let ja=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=jE}return e})();const kE=ja,BE=class extends kE{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const r=function NE(e,t,n,i){const r=t.tView,u=Nl(e,r,n,4096&e[Tt]?4096:16,null,t,null,null,null,i?.injector??null,i?.hydrationInfo??null);u[kr]=e[t.index];const b=e[Ii];return null!==b&&(u[Ii]=b.createEmbeddedView(r)),Ru(r,u,n),u}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:i});return new Ca(r)}};function jE(){return ec(yi(),Ge())}function ec(e,t){return 4&e.type?new BE(t,e,Rs(e,t)):null}let nc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=zE}return e})();function zE(){return Im(yi(),Ge())}const WE=nc,Am=class extends WE{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Rs(this._hostTNode,this._hostLView)}get injector(){return new Xi(this._hostTNode,this._hostLView)}get parentInjector(){const t=tl(this._hostTNode,this._hostLView);if(bc(t)){const n=aa(t,this._hostLView),i=sa(t);return new Xi(n[tt].data[i+8],n)}return new Xi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Sm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-yn}createEmbeddedView(t,n,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const u=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(u,r,false),u}createComponent(t,n,i,r,o){const a=t&&!function ca(e){return"function"==typeof e}(t);let u;if(a)u=n;else{const Qe=n||{};u=Qe.index,i=Qe.injector,r=Qe.projectableNodes,o=Qe.environmentInjector||Qe.ngModuleRef}const p=a?t:new Ma(Dt(t)),b=i||this.parentInjector;if(!o&&null==p.ngModule){const at=(a?b:this.parentInjector).get(ho,null);at&&(o=at)}Dt(p.componentType??{});const oe=p.create(b,r,null,o);return this.insertImpl(oe.hostView,u,false),oe}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,i){const r=t._lView;if(function Qo(e){return ii(e[on])}(r)){const p=this.indexOf(t);if(-1!==p)this.detach(p);else{const b=r[on],M=new Am(b,b[Xn],b[on]);M.detach(M.indexOf(t))}}const a=this._adjustIndex(n),u=this._lContainer;return LE(u,r,a,!i),t.attachToViewContainerRef(),af(dd(u),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Sm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=ml(this._lContainer,n);i&&(il(dd(this._lContainer),n),kc(i[tt],i))}detach(t){const n=this._adjustIndex(t,-1),i=ml(this._lContainer,n);return i&&null!=il(dd(this._lContainer),n)?new Ca(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Sm(e){return e[8]}function dd(e){return e[8]||(e[8]=[])}function Im(e,t){let n;const i=t[e.index];return ii(i)?n=i:(n=function tp(e,t,n,i){return[e,!0,!1,t,null,0,i,n,null,null,null]}(i,t,null,e),t[e.index]=n,Ll(t,n)),Tm(n,t,e,i),new Am(n,e,t)}let Tm=function Rm(e,t,n,i){if(e[pi])return;let r;r=8&n.type?Bt(i):function YE(e,t){const n=e[Rt],i=n.createComment(""),r=Wn(t,e);return ts(n,yl(n,r),i,function ib(e,t){return e.nextSibling(t)}(n,r),!1),i}(t,n),e[pi]=r};class fd{constructor(t){this.queryList=t,this.matches=null}clone(){return new fd(this.queryList)}setDirty(){this.queryList.setDirty()}}class hd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let o=0;o<i;o++){const a=n.getByIndex(o);r.push(this.queries[a.indexInDeclarationView].clone())}return new hd(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==jm(t,n).matches&&this.queries[n].setDirty()}}class Om{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class pd{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const r=null!==n?n.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,null!==n?n.push(o):n=[o])}return null!==n?new pd(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class gd{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new gd(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(t,n,qE(n,o)),this.matchTNodeWithReadOption(t,n,nl(n,t,o,!1,!1))}else i===ja?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,nl(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Da||r===nc||r===ja&&4&n.type)this.addMatch(n.index,-2);else{const o=nl(n,t,r,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function qE(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function XE(e,t,n,i){return-1===n?function ZE(e,t){return 11&e.type?Rs(e,t):4&e.type?ec(e,t):null}(t,e):-2===n?function JE(e,t,n){return n===Da?Rs(t,e):n===ja?ec(t,e):n===nc?Im(t,e):void 0}(e,t,i):es(e,e[tt],n,t)}function Fm(e,t,n,i){const r=t[Ii].queries[i];if(null===r.matches){const o=e.data,a=n.matches,u=[];for(let p=0;p<a.length;p+=2){const b=a[p];u.push(b<0?null:XE(t,o[b],a[p+1],n.metadata.read))}r.matches=u}return r.matches}function md(e,t,n,i){const r=e.queries.getByIndex(n),o=r.matches;if(null!==o){const a=Fm(e,t,r,n);for(let u=0;u<o.length;u+=2){const p=o[u];if(p>0)i.push(a[u/2]);else{const b=o[u+1],M=t[-p];for(let k=yn;k<M.length;k++){const X=M[k];X[kr]===X[on]&&md(X[tt],X,b,i)}if(null!==M[gn]){const k=M[gn];for(let X=0;X<k.length;X++){const oe=k[X];md(oe[tt],oe,b,i)}}}}}return i}function Pm(e){const t=Ge(),n=an(),i=_();I(i+1);const r=jm(n,i);if(e.dirty&&function Hr(e){return 4==(4&e[Tt])}(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const o=r.crossesNgTemplate?md(n,t,i,[]):Fm(n,t,r,i);e.reset(o,c_),e.notifyOnChanges()}return!0}return!1}function Nm(e,t,n,i){const r=an();if(r.firstCreatePass){const o=yi();(function Bm(e,t,n){null===e.queries&&(e.queries=new pd),e.queries.track(new gd(t,n))})(r,new Om(t,n,i),o.index),function nw(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(r,e),2==(2&n)&&(r.staticContentQueries=!0)}!function km(e,t,n){const i=new ud(4==(4&n));(function $_(e,t,n,i){const r=ip(t);r.push(n),e.firstCreatePass&&rp(e).push(i,r.length-1)})(e,t,i,i.destroy),null===t[Ii]&&(t[Ii]=new hd),t[Ii].queries.push(new fd(i))}(r,Ge(),n)}function Lm(){return function tw(e,t){return e[Ii].queries[t].queryList}(Ge(),_())}function jm(e,t){return e.queries.getByIndex(t)}function yd(e){return!!Fn(e)}const ny=new ut("Application Initializer");let xd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=gt(ny,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const r of this.appInits){const o=r();if(zu(o))n.push(o);else if(kp(o)){const a=new Promise((u,p)=>{o.subscribe({complete:u,error:p})});n.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ze({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),iy=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ze({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const rc=new ut("LocaleId",{providedIn:"root",factory:()=>gt(rc,_t.Optional|_t.SkipSelf)||function ww(){return typeof $localize<"u"&&$localize.locale||Ks}()}),Cw=new ut("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let ry=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ie.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ze({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Aw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Sw=(()=>{class e{compileModuleSync(n){return new ld(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),o=To(Fn(n).declarations).reduce((a,u)=>{const p=Dt(u);return p&&a.push(new Ma(p)),a},[]);return new Aw(i,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ze({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ly=new ut(""),cy=new ut("");let Cd,qw=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Cd||(function Zw(e){Cd=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ci.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:r})}whenStable(n,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(Ct(Ci),Ct(uy),Ct(cy))};static#t=this.\u0275prov=Ze({token:e,factory:e.\u0275fac})}return e})(),uy=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Cd?.findTestabilityInTree(this,n,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ze({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),zo=null;const dy=new ut("AllowMultipleToken"),Md=new ut("PlatformDestroyListeners"),Ad=new ut("appBootstrapListener");class eC{constructor(t,n){this.name=t,this.token=n}}function py(e,t,n=[]){const i=`Platform: ${t}`,r=new ut(i);return(o=[])=>{let a=Sd();if(!a||a.injector.get(dy,!1)){const u=[...n,...o,{provide:r,useValue:!0}];e?e(u):function tC(e){if(zo&&!zo.get(dy,!1))throw new _e(400,!1);(function fy(){!function he(e){W=e}(()=>{throw new _e(600,!1)})})(),zo=e;const t=e.get(my);(function hy(e){e.get(hh,null)?.forEach(n=>n())})(e)}(function gy(e=[],t){return Zr.create({name:t,providers:[{provide:Xc,useValue:"platform"},{provide:Md,useValue:new Set([()=>zo=null])},...e]})}(u,i))}return function iC(e){const t=Sd();if(!t)throw new _e(401,!1);return t}()}}function Sd(){return zo?.get(my)??null}let my=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function rC(e="zone.js",t){return"noop"===e?new C_:"zone.js"===e?new Ci(t):e}(i?.ngZone,function yy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function aE(e,t,n){return new ad(e,t,n)}(n.moduleType,this.injector,function xy(e){return[{provide:Ci,useFactory:e},{provide:va,multi:!0,useFactory:()=>{const t=gt(sC,{optional:!0});return()=>t.initialize()}},{provide:Dy,useFactory:oC},{provide:Th,useFactory:Rh}]}(()=>r)),a=o.injector.get($o,null);return r.runOutsideAngular(()=>{const u=r.onError.subscribe({next:p=>{a.handleError(p)}});o.onDestroy(()=>{sc(this._modules,o),u.unsubscribe()})}),function vy(e,t,n){try{const i=n();return zu(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(a,r,()=>{const u=o.injector.get(xd);return u.runInitializers(),u.donePromise.then(()=>(function kg(e){Ke(e,"Expected localeId to be defined"),"string"==typeof e&&(Lg=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(rc,Ks)||Ks),this._moduleDoBootstrap(o),o))})})}bootstrapModule(n,i=[]){const r=by({},i);return function Xw(e,t,n){const i=new ld(n);return Promise.resolve(i)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(n){const i=n.injector.get(Zs);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new _e(-403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _e(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Md,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(Ct(Zr))};static#t=this.\u0275prov=Ze({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function by(e,t){return Array.isArray(t)?t.reduce(by,e):{...e,...t}}let Zs=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=gt(Dy),this.zoneIsStable=gt(Th),this.componentTypes=[],this.components=[],this.isStable=gt(ry).hasPendingTasks.pipe((0,Ve.w)(n=>n?(0,ne.of)(!1):this.zoneIsStable),(0,we.x)(),(0,Ce.B)()),this._injector=gt(ho)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof yh;if(!this._injector.get(xd).done)throw!r&&Qn(n),new _e(405,!1);let a;a=r?n:this._injector.get(Ol).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const u=function Jw(e){return e.isBoundToModule}(a)?void 0:this._injector.get(ls),b=a.create(Zr.NULL,[],i||a.selector,u),M=b.location.nativeElement,k=b.injector.get(ly,null);return k?.registerApplication(M),b.onDestroy(()=>{this.detachView(b.hostView),sc(this.components,b),k?.unregisterApplication(M)}),this._loadComponent(b),b}tick(){if(this._runningTick)throw new _e(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;sc(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Ad,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(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),()=>sc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _e(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ze({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Dy=new ut("",{providedIn:"root",factory:()=>gt($o).handleError.bind(void 0)});function oC(){const e=gt(Ci),t=gt($o);return n=>e.runOutsideAngular(()=>t.handleError(n))}let sC=(()=>{class e{constructor(){this.zone=gt(Ci),this.applicationRef=gt(Zs)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Ze({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let lC=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=cC}return e})();function cC(e){return function uC(e,t,n){if(Li(e)&&!n){const i=mn(e.index,t);return new Ca(i,i)}return 47&e.type?new Ca(t[Sn],t):null}(yi(),Ge(),16==(16&e))}class My{constructor(){}supports(t){return Ul(t)}create(t){return new mC(t)}}const gC=(e,t)=>t;class mC{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||gC}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){const a=!i||n&&n.currentIndex<Sy(i,r,o)?n:i,u=Sy(a,r,o),p=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(n=n._next,null==a.previousIndex)r++;else{o||(o=[]);const b=u-r,M=p-r;if(b!=M){for(let X=0;X<b;X++){const oe=X<o.length?o[X]:o[X]=0,Le=oe+X;M<=Le&&Le<b&&(o[X]=oe+1)}o[a.previousIndex]=M-b}}u!==p&&t(a,u,p)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ul(t))throw new _e(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,o,a,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let u=0;u<this.length;u++)o=t[u],a=this._trackByFn(u,o),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,o,a,u)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,a,u),i=!0),n=n._next}else r=0,function L0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,u=>{a=this._trackByFn(r,u),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,u,a,r)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,a,r),i=!0),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new yC(n,i),o,r),t}_verifyReinsertion(t,n,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ay),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ay),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class yC{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class vC{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class Ay{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new vC,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Sy(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class Iy{constructor(){}supports(t){return t instanceof Map||Fu(t)}create(){return new bC}}class bC{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Fu(t)))throw new _e(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,n);const o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}const i=new _C(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class _C{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Ty(){return new Fd([new My])}let Fd=(()=>{class e{static#e=this.\u0275prov=Ze({token:e,providedIn:"root",factory:Ty});constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Ty()),deps:[[e,new sl,new ol]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new _e(901,!1)}}return e})();function Ry(){return new Pd([new Iy])}let Pd=(()=>{class e{static#e=this.\u0275prov=Ze({token:e,providedIn:"root",factory:Ry});constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Ry()),deps:[[e,new sl,new ol]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new _e(901,!1)}}return e})();const EC=py(null,"core",[]);let wC=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(i){return new(i||e)(Ct(Zs))};static#t=this.\u0275mod=J({type:e});static#n=this.\u0275inj=cn({})}return e})();function NC(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function kC(e){const t=Dt(e);if(!t)return null;const n=new Ma(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},5766:(dt,Te,S)=>{function s(q){for(let de in q){let ae=q[de]??"";switch(de){case"display":q.display="flex"===ae?["-webkit-flex","flex"]:"inline-flex"===ae?["-webkit-inline-flex","inline-flex"]:ae;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":q["-webkit-"+de]=ae;break;case"flex-direction":q["-webkit-flex-direction"]=ae,q["flex-direction"]=ae;break;case"order":q.order=q["-webkit-"+de]=isNaN(+ae)?"0":ae}}return q}S.d(Te,{Ar:()=>re,GK:()=>s,iQ:()=>B,kt:()=>we,tj:()=>ne});const F="inline",B=["row","column","row-reverse","column-reverse"];function re(q){let[de,ae,je]=ie(q);return function Ve(q,de=null,ae=!1){return{display:ae?"inline-flex":"flex","box-sizing":"border-box","flex-direction":q,"flex-wrap":de||null}}(de,ae,je)}function ie(q){q=q?.toLowerCase()??"";let[de,ae,je]=q.split(" ");return B.find(ke=>ke===de)||(de=B[0]),ae===F&&(ae=je!==F?je:"",je=F),[de,Ce(ae),!!je]}function ne(q){let[de]=ie(q);return de.indexOf("row")>-1}function Ce(q){if(q)switch(q.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":q="wrap-reverse";break;case"no":case"none":case"nowrap":q="nowrap";break;default:q="wrap"}return q}function we(q,...de){if(null==q)throw TypeError("Cannot convert undefined or null to object");for(let ae of de)if(null!=ae)for(let je in ae)ae.hasOwnProperty(je)&&(q[je]=ae[je]);return q}},1462:(dt,Te,S)=>{S.d(Te,{Bs:()=>It,FL:()=>_n,IR:()=>je,Ot:()=>hn,QI:()=>_e,RK:()=>be,WU:()=>ht,g5:()=>Ue,iR:()=>Un,wY:()=>yt,yB:()=>jn});var s=S(5879),F=S(6814),B=S(5619),re=S(5592),ie=S(3019),ne=S(8645),Ce=S(5766),Ve=S(2181),we=S(9397);const de={provide:s.tb,useFactory:function q(te,Fe){return()=>{if((0,F.NF)(Fe)){const R=Array.from(te.querySelectorAll(`[class*=${ae}]`)),$=/\bflex-layout-.+?\b/g;R.forEach(ee=>{ee.classList.contains(`${ae}ssr`)&&ee.parentNode?ee.parentNode.removeChild(ee):ee.className.replace($,"")})}}},deps:[F.K0,s.Lbi],multi:!0},ae="flex-layout-";let je=(()=>{class te{}return te.\u0275fac=function(R){return new(R||te)},te.\u0275mod=s.oAB({type:te}),te.\u0275inj=s.cJS({providers:[de]}),te})();class ke{constructor(Fe=!1,R="all",$="",ee="",Ie=0){this.matches=Fe,this.mediaQuery=R,this.mqAlias=$,this.suffix=ee,this.priority=Ie,this.property=""}clone(){return new ke(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let Je=(()=>{class te{constructor(){this.stylesheet=new Map}addStyleToElement(R,$,ee){const Ie=this.stylesheet.get(R);Ie?Ie.set($,ee):this.stylesheet.set(R,new Map([[$,ee]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(R,$){const ee=this.stylesheet.get(R);let Ie="";if(ee){const Xe=ee.get($);("number"==typeof Xe||"string"==typeof Xe)&&(Ie=Xe+"")}return Ie}}return te.\u0275fac=function(R){return new(R||te)},te.\u0275prov=s.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();const Ue={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},ht=new s.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Ue}),yt=new s.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),It=new s.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function kt(te,Fe){return te=te?.clone()??new ke,Fe&&(te.mqAlias=Fe.alias,te.mediaQuery=Fe.mediaQuery,te.suffix=Fe.suffix,te.priority=Fe.priority),te}class _e{constructor(){this.shouldCache=!0}sideEffect(Fe,R,$){}}let be=(()=>{class te{constructor(R,$,ee,Ie){this._serverStylesheet=R,this._serverModuleLoaded=$,this._platformId=ee,this.layoutConfig=Ie}applyStyleToElement(R,$,ee=null){let Ie={};"string"==typeof $&&(Ie[$]=ee,$=Ie),Ie=this.layoutConfig.disableVendorPrefixes?$:(0,Ce.GK)($),this._applyMultiValueStyleToElement(Ie,R)}applyStyleToElements(R,$=[]){const ee=this.layoutConfig.disableVendorPrefixes?R:(0,Ce.GK)(R);$.forEach(Ie=>{this._applyMultiValueStyleToElement(ee,Ie)})}getFlowDirection(R){const $="flex-direction";let ee=this.lookupStyle(R,$);return[ee||"row",this.lookupInlineStyle(R,$)||(0,F.PM)(this._platformId)&&this._serverModuleLoaded?ee:""]}hasWrap(R){return"wrap"===this.lookupStyle(R,"flex-wrap")}lookupAttributeValue(R,$){return R.getAttribute($)??""}lookupInlineStyle(R,$){return(0,F.NF)(this._platformId)?R.style.getPropertyValue($):function Me(te,Fe){return Ye(te)[Fe]??""}(R,$)}lookupStyle(R,$,ee=!1){let Ie="";return R&&((Ie=this.lookupInlineStyle(R,$))||((0,F.NF)(this._platformId)?ee||(Ie=getComputedStyle(R).getPropertyValue($)):this._serverModuleLoaded&&(Ie=this._serverStylesheet.getStyleForElement(R,$)))),Ie?Ie.trim():""}_applyMultiValueStyleToElement(R,$){Object.keys(R).sort().forEach(ee=>{const Ie=R[ee],Xe=Array.isArray(Ie)?Ie:[Ie];Xe.sort();for(let G of Xe)G=G?G+"":"",(0,F.NF)(this._platformId)||!this._serverModuleLoaded?(0,F.NF)(this._platformId)?$.style.setProperty(ee,G):Be($,ee,G):this._serverStylesheet.addStyleToElement($,ee,G)})}}return te.\u0275fac=function(R){return new(R||te)(s.LFG(Je),s.LFG(yt),s.LFG(s.Lbi),s.LFG(ht))},te.\u0275prov=s.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();function Be(te,Fe,R){Fe=Fe.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const $=Ye(te);$[Fe]=R??"",function ze(te,Fe){let R="";for(const $ in Fe)Fe[$]&&(R+=`${$}:${Fe[$]};`);te.setAttribute("style",R)}(te,$)}function Ye(te){const Fe={},R=te.getAttribute("style");if(R){const $=R.split(/;+/g);for(let ee=0;ee<$.length;ee++){const Ie=$[ee].trim();if(Ie.length>0){const Xe=Ie.indexOf(":");if(-1===Xe)throw new Error(`Invalid CSS style: ${Ie}`);Fe[Ie.substr(0,Xe).trim()]=Ie.substr(Xe+1).trim()}}}return Fe}function vt(te,Fe){return(Fe&&Fe.priority||0)-(te&&te.priority||0)}function ct(te,Fe){return(te.priority||0)-(Fe.priority||0)}let At=(()=>{class te{constructor(R,$,ee){this._zone=R,this._platformId=$,this._document=ee,this.source=new B.X(new ke(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const R=[];return this.registry.forEach(($,ee)=>{$.matches&&R.push(ee)}),R}isActive(R){return this.registry.get(R)?.matches??this.registerQuery(R).some(ee=>ee.matches)}observe(R,$=!1){if(R&&R.length){const ee=this._observable$.pipe((0,Ve.h)(Xe=>!$||R.indexOf(Xe.mediaQuery)>-1)),Ie=new re.y(Xe=>{const G=this.registerQuery(R);if(G.length){const He=G.pop();G.forEach(se=>{Xe.next(se)}),this.source.next(He)}Xe.complete()});return(0,ie.T)(Ie,ee)}return this._observable$}registerQuery(R){const $=Array.isArray(R)?R:[R],ee=[];return function Zn(te,Fe){const R=te.filter($=>!kn[$]);if(R.length>0){const $=R.join(", ");try{const ee=Fe.createElement("style");ee.setAttribute("type","text/css"),ee.styleSheet||ee.appendChild(Fe.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${$} {.fx-query-test{ }}\n`)),Fe.head.appendChild(ee),R.forEach(Ie=>kn[Ie]=ee)}catch(ee){console.error(ee)}}}($,this._document),$.forEach(Ie=>{const Xe=He=>{this._zone.run(()=>this.source.next(new ke(He.matches,Ie)))};let G=this.registry.get(Ie);G||(G=this.buildMQL(Ie),G.addListener(Xe),this.pendingRemoveListenerFns.push(()=>G.removeListener(Xe)),this.registry.set(Ie,G)),G.matches&&ee.push(new ke(!0,Ie))}),ee}ngOnDestroy(){let R;for(;R=this.pendingRemoveListenerFns.pop();)R()}buildMQL(R){return function Rn(te,Fe){return Fe&&window.matchMedia("all").addListener?window.matchMedia(te):function Jn(te){const Fe=new EventTarget;return Fe.matches="all"===te||""===te,Fe.media=te,Fe.addListener=()=>{},Fe.removeListener=()=>{},Fe.addEventListener=()=>{},Fe.dispatchEvent=()=>!1,Fe.onchange=null,Fe}(te)}(R,(0,F.NF)(this._platformId))}}return te.\u0275fac=function(R){return new(R||te)(s.LFG(s.R0b),s.LFG(s.Lbi),s.LFG(F.K0))},te.\u0275prov=s.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();const kn={},Bn=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],ei="(orientation: portrait) and (max-width: 599.98px)",ue="(orientation: landscape) and (max-width: 959.98px)",ve="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",ye="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",Se="(orientation: portrait) and (min-width: 840px)",pe="(orientation: landscape) and (min-width: 1280px)",ge={HANDSET:`${ei}, ${ue}`,TABLET:`${ve} , ${ye}`,WEB:`${Se}, ${pe} `,HANDSET_PORTRAIT:`${ei}`,TABLET_PORTRAIT:`${ve} `,WEB_PORTRAIT:`${Se}`,HANDSET_LANDSCAPE:`${ue}`,TABLET_LANDSCAPE:`${ye}`,WEB_LANDSCAPE:`${pe}`},Ke=[{alias:"handset",priority:2e3,mediaQuery:ge.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:ge.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:ge.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:ge.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:ge.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:ge.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:ge.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:ge.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:ge.WEB_PORTRAIT,overlapping:!0}],We=/(\.|-|_)/g;function dn(te){let Fe=te.length>0?te.charAt(0):"",R=te.length>1?te.slice(1):"";return Fe.toUpperCase()+R}const Wt=new s.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const te=(0,s.f3M)(It),Fe=(0,s.f3M)(ht),R=[].concat.apply([],(te||[]).map(ee=>Array.isArray(ee)?ee:[ee]));return function Ze(te,Fe=[]){const R={};return te.forEach($=>{R[$.alias]=$}),Fe.forEach($=>{R[$.alias]?(0,Ce.kt)(R[$.alias],$):R[$.alias]=$}),function Yt(te){return te.forEach(Fe=>{Fe.suffix||(Fe.suffix=function pt(te){return te.replace(We,"|").split("|").map(dn).join("")}(Fe.alias),Fe.overlapping=!!Fe.overlapping)}),te}(Object.keys(R).map($=>R[$]))}((Fe.disableDefaultBps?[]:Bn).concat(Fe.addOrientationBps?Ke:[]),R)}});let cn=(()=>{class te{constructor(R){this.findByMap=new Map,this.items=[...R].sort(ct)}findByAlias(R){return R?this.findWithPredicate(R,$=>$.alias===R):null}findByQuery(R){return this.findWithPredicate(R,$=>$.mediaQuery===R)}get overlappings(){return this.items.filter(R=>R.overlapping)}get aliases(){return this.items.map(R=>R.alias)}get suffixes(){return this.items.map(R=>R?.suffix??"")}findWithPredicate(R,$){let ee=this.findByMap.get(R);return ee||(ee=this.items.find($)??null,this.findByMap.set(R,ee)),ee??null}}return te.\u0275fac=function(R){return new(R||te)(s.LFG(Wt))},te.\u0275prov=s.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();const Kt="print",nn={alias:Kt,mediaQuery:Kt,priority:1e3};let En=(()=>{class te{constructor(R,$,ee){this.breakpoints=R,this.layoutConfig=$,this._document=ee,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new fn,this.deactivations=[]}withPrintQuery(R){return[...R,Kt]}isPrintEvent(R){return R.mediaQuery.startsWith(Kt)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(R=>this.breakpoints.findByAlias(R)).filter(R=>null!==R)}getEventBreakpoints({mediaQuery:R}){const $=this.breakpoints.findByQuery(R);return($?[...this.printBreakPoints,$]:this.printBreakPoints).sort(vt)}updateEvent(R){let $=this.breakpoints.findByQuery(R.mediaQuery);return this.isPrintEvent(R)&&($=this.getEventBreakpoints(R)[0],R.mediaQuery=$?.mediaQuery??""),kt(R,$)}registerBeforeAfterPrintHooks(R){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const $=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(R,this.getEventBreakpoints(new ke(!0,Kt))),R.updateStyles())},ee=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(R),R.updateStyles())};this._document.defaultView.addEventListener("beforeprint",$),this._document.defaultView.addEventListener("afterprint",ee),this.beforePrintEventListeners.push($),this.afterPrintEventListeners.push(ee)}interceptEvents(R){return $=>{this.isPrintEvent($)?$.matches&&!this.isPrinting?(this.startPrinting(R,this.getEventBreakpoints($)),R.updateStyles()):!$.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(R),R.updateStyles()):this.collectActivations(R,$)}}blockPropagation(){return R=>!(this.isPrinting||this.isPrintEvent(R))}startPrinting(R,$){this.isPrinting=!0,this.formerActivations=R.activatedBreakpoints,R.activatedBreakpoints=this.queue.addPrintBreakpoints($)}stopPrinting(R){R.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(R,$){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!$.matches){const ee=this.breakpoints.findByQuery($.mediaQuery);if(ee){const Ie=this.formerActivations&&this.formerActivations.includes(ee),Xe=!this.formerActivations&&R.activatedBreakpoints.includes(ee);(Ie||Xe)&&(this.deactivations.push(ee),this.deactivations.sort(vt))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(R=>this._document.defaultView.removeEventListener("beforeprint",R)),this.afterPrintEventListeners.forEach(R=>this._document.defaultView.removeEventListener("afterprint",R)))}}return te.\u0275fac=function(R){return new(R||te)(s.LFG(cn),s.LFG(ht),s.LFG(F.K0))},te.\u0275prov=s.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();class fn{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(Fe){return Fe.push(nn),Fe.sort(vt),Fe.forEach(R=>this.addBreakpoint(R)),this.printBreakpoints}addBreakpoint(Fe){Fe&&void 0===this.printBreakpoints.find($=>$.mediaQuery===Fe.mediaQuery)&&(this.printBreakpoints=function ci(te){return te?.mediaQuery.startsWith(Kt)??!1}(Fe)?[Fe,...this.printBreakpoints]:[...this.printBreakpoints,Fe])}clear(){this.printBreakpoints=[]}}let jn=(()=>{class te{constructor(R,$,ee){this.matchMedia=R,this.breakpoints=$,this.hook=ee,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new ne.x,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(R){this._activatedBreakpoints=[...R]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(R){this._useFallbacks=R}onMediaChange(R){const $=this.findByQuery(R.mediaQuery);if($){R=kt(R,$);const ee=this.activatedBreakpoints.indexOf($);R.matches&&-1===ee?(this._activatedBreakpoints.push($),this._activatedBreakpoints.sort(vt),this.updateStyles()):!R.matches&&-1!==ee&&(this._activatedBreakpoints.splice(ee,1),this._activatedBreakpoints.sort(vt),this.updateStyles())}}init(R,$,ee,Ie,Xe=[]){wn(this.updateMap,R,$,ee),wn(this.clearMap,R,$,Ie),this.buildElementKeyMap(R,$),this.watchExtraTriggers(R,$,Xe)}getValue(R,$,ee){const Ie=this.elementMap.get(R);if(Ie){const Xe=void 0!==ee?Ie.get(ee):this.getActivatedValues(Ie,$);if(Xe)return Xe.get($)}}hasValue(R,$){const ee=this.elementMap.get(R);if(ee){const Ie=this.getActivatedValues(ee,$);if(Ie)return void 0!==Ie.get($)||!1}return!1}setValue(R,$,ee,Ie){let Xe=this.elementMap.get(R);if(Xe){const He=(Xe.get(Ie)??new Map).set($,ee);Xe.set(Ie,He),this.elementMap.set(R,Xe)}else Xe=(new Map).set(Ie,(new Map).set($,ee)),this.elementMap.set(R,Xe);const G=this.getValue(R,$);void 0!==G&&this.updateElement(R,$,G)}trackValue(R,$){return this.subject.asObservable().pipe((0,Ve.h)(ee=>ee.element===R&&ee.key===$))}updateStyles(){this.elementMap.forEach((R,$)=>{const ee=new Set(this.elementKeyMap.get($));let Ie=this.getActivatedValues(R);Ie&&Ie.forEach((Xe,G)=>{this.updateElement($,G,Xe),ee.delete(G)}),ee.forEach(Xe=>{if(Ie=this.getActivatedValues(R,Xe),Ie){const G=Ie.get(Xe);this.updateElement($,Xe,G)}else this.clearElement($,Xe)})})}clearElement(R,$){const ee=this.clearMap.get(R);if(ee){const Ie=ee.get($);Ie&&(Ie(),this.subject.next({element:R,key:$,value:""}))}}updateElement(R,$,ee){const Ie=this.updateMap.get(R);if(Ie){const Xe=Ie.get($);Xe&&(Xe(ee),this.subject.next({element:R,key:$,value:ee}))}}releaseElement(R){const $=this.watcherMap.get(R);$&&($.forEach(Ie=>Ie.unsubscribe()),this.watcherMap.delete(R));const ee=this.elementMap.get(R);ee&&(ee.forEach((Ie,Xe)=>ee.delete(Xe)),this.elementMap.delete(R))}triggerUpdate(R,$){const ee=this.elementMap.get(R);if(ee){const Ie=this.getActivatedValues(ee,$);Ie&&($?this.updateElement(R,$,Ie.get($)):Ie.forEach((Xe,G)=>this.updateElement(R,G,Xe)))}}buildElementKeyMap(R,$){let ee=this.elementKeyMap.get(R);ee||(ee=new Set,this.elementKeyMap.set(R,ee)),ee.add($)}watchExtraTriggers(R,$,ee){if(ee&&ee.length){let Ie=this.watcherMap.get(R);if(Ie||(Ie=new Map,this.watcherMap.set(R,Ie)),!Ie.get($)){const G=(0,ie.T)(...ee).subscribe(()=>{const He=this.getValue(R,$);this.updateElement(R,$,He)});Ie.set($,G)}}}findByQuery(R){return this.breakpoints.findByQuery(R)}getActivatedValues(R,$){for(let Ie=0;Ie<this.activatedBreakpoints.length;Ie++){const G=R.get(this.activatedBreakpoints[Ie].alias);if(G&&(void 0===$||G.has($)&&null!=G.get($)))return G}if(!this._useFallbacks)return;const ee=R.get("");return void 0===$||ee&&ee.has($)?ee:void 0}observeActivations(){const R=this.breakpoints.items.map($=>$.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(R)).pipe((0,we.b)(this.hook.interceptEvents(this)),(0,Ve.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return te.\u0275fac=function(R){return new(R||te)(s.LFG(At),s.LFG(cn),s.LFG(En))},te.\u0275prov=s.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();function wn(te,Fe,R,$){if(void 0!==$){const ee=te.get(Fe)??new Map;ee.set(R,$),te.set(Fe,ee)}}let Un=(()=>{class te{constructor(R,$,ee,Ie){this.elementRef=R,this.styleBuilder=$,this.styler=ee,this.marshal=Ie,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new ne.x,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(R){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,R,this.marshal.activatedAlias)}ngOnChanges(R){Object.keys(R).forEach($=>{if(-1!==this.inputs.indexOf($)){const ee=$.split(".").slice(1).join(".");this.setValue(R[$].currentValue,ee)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(R=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),R)}addStyles(R,$){const ee=this.styleBuilder,Ie=ee.shouldCache;let Xe=this.styleCache.get(R);(!Xe||!Ie)&&(Xe=ee.buildStyles(R,$),Ie&&this.styleCache.set(R,Xe)),this.mru={...Xe},this.applyStyleToElement(Xe),ee.sideEffect(R,Xe,$)}clearStyles(){Object.keys(this.mru).forEach(R=>{this.mru[R]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(R,$=!1){if(R){const[ee,Ie]=this.styler.getFlowDirection(R);if(!Ie&&$){const Xe=(0,Ce.Ar)(ee);this.styler.applyStyleToElements(Xe,[R])}return ee.trim()}return"row"}hasWrap(R){return this.styler.hasWrap(R)}applyStyleToElement(R,$,ee=this.nativeElement){this.styler.applyStyleToElement(ee,R,$)}setValue(R,$){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,R,$)}updateWithValue(R){this.currentValue!==R&&(this.addStyles(R),this.currentValue=R)}}return te.\u0275fac=function(R){return new(R||te)(s.Y36(s.SBq),s.Y36(_e),s.Y36(be),s.Y36(jn))},te.\u0275dir=s.lG2({type:te,features:[s.TTD]}),te})();function hn(te,Fe="1",R="1"){let $=[Fe,R,te],ee=te.indexOf("calc");if(ee>0){$[2]=Ut(te.substring(ee).trim());let Ie=te.substr(0,ee).trim().split(" ");2==Ie.length&&($[0]=Ie[0],$[1]=Ie[1])}else if(0==ee)$[2]=Ut(te.trim());else{let Ie=te.split(" ");$=3===Ie.length?Ie:[Fe,R,te]}return $}function Ut(te){return te.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}EventTarget;const ut="x";function _n(te,Fe){if(void 0===Fe)return te;const R=$=>{const ee=+$.slice(0,-ut.length);return te.endsWith(ut)&&!isNaN(ee)?`${ee*Fe.value}${Fe.unit}`:te};return te.includes(" ")?te.split(" ").map(R).join(" "):R(te)}},3814:(dt,Te,S)=>{S.d(Te,{SQ:()=>yt,Wh:()=>hn,ae:()=>Xe,xw:()=>de,yH:()=>Jn});var s=S(5879),F=S(9388),B=S(1462),re=S(5766),ie=S(8645),ne=S(9773);let Ce=(()=>{class G extends B.QI{buildStyles(se,{display:Pe}){const Re=(0,re.Ar)(se);return{...Re,display:"none"===Pe?Pe:Re.display}}}return G.\u0275fac=function(){let He;return function(Pe){return(He||(He=s.n5z(G)))(Pe||G)}}(),G.\u0275prov=s.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();const Ve=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let q=(()=>{class G extends B.iR{constructor(se,Pe,Re,fe,Q){super(se,Re,Pe,fe),this._config=Q,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(se){const Re=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=ae.get(Re)??new Map,ae.set(Re,this.styleCache),this.currentValue!==se&&(this.addStyles(se,{display:Re}),this.currentValue=se)}}return G.\u0275fac=function(se){return new(se||G)(s.Y36(s.SBq),s.Y36(B.RK),s.Y36(Ce),s.Y36(B.yB),s.Y36(B.WU))},G.\u0275dir=s.lG2({type:G,features:[s.qOj]}),G})(),de=(()=>{class G extends q{constructor(){super(...arguments),this.inputs=Ve}}return G.\u0275fac=function(){let He;return function(Pe){return(He||(He=s.n5z(G)))(Pe||G)}}(),G.\u0275dir=s.lG2({type:G,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[s.qOj]}),G})();const ae=new Map,je={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let ke=(()=>{class G extends B.QI{constructor(se,Pe){super(),this._styler=se,this._config=Pe}buildStyles(se,Pe){return se.endsWith(Me)?(se=se.slice(0,se.indexOf(Me)),function ze(G,He){const[se,Pe]=G.split(" "),fe=O=>`-${O}`;let Q="0px",w=fe(Pe??se),P="0px";return"rtl"===He?P=fe(se):Q=fe(se),{margin:`0px ${Q} ${w} ${P}`}}(se=(0,B.FL)(se,this._config.multiplier),Pe.directionality)):{}}sideEffect(se,Pe,Re){const fe=Re.items;if(se.endsWith(Me)){se=se.slice(0,se.indexOf(Me));const Q=function Be(G,He){const[se,Pe]=G.split(" ");let fe="0px",w="0px";return"rtl"===He?w=se:fe=se,{padding:`0px ${fe} ${Pe??se} ${w}`}}(se=(0,B.FL)(se,this._config.multiplier),Re.directionality);this._styler.applyStyleToElements(Q,Re.items)}else{se=(0,B.FL)(se,this._config.multiplier),se=this.addFallbackUnit(se);const Q=fe.pop(),w=function vt(G,He){const se=Ye(He.directionality,He.layout),Pe={...je};return Pe[se]=G,Pe}(se,Re);this._styler.applyStyleToElements(w,fe),this._styler.applyStyleToElements(je,[Q])}}addFallbackUnit(se){return isNaN(+se)?se:`${se}${this._config.defaultUnit}`}}return G.\u0275fac=function(se){return new(se||G)(s.LFG(B.RK),s.LFG(B.WU))},G.\u0275prov=s.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();const Je=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let ht=(()=>{class G extends B.iR{constructor(se,Pe,Re,fe,Q,w){super(se,Q,fe,w),this.zone=Pe,this.directionality=Re,this.styleUtils=fe,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new ie.x;const P=[this.directionality.change,this.observerSubject.asObservable()];this.init(P),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,ne.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const se=this.nativeElement.children,Pe=[];for(let Re=se.length;Re--;)Pe[Re]=se[Re];return Pe}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(se){const Re=se.value.split(" ");this.layout=Re[0],re.iQ.find(fe=>fe===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(se){const Pe=this.childrenNodes.filter(Re=>1===Re.nodeType&&this.willDisplay(Re)).sort((Re,fe)=>{const Q=+this.styler.lookupStyle(Re,"order"),w=+this.styler.lookupStyle(fe,"order");return isNaN(Q)||isNaN(w)||Q===w?0:Q>w?1:-1});if(Pe.length>0){const Re=this.directionality.value,fe=this.layout;"row"===fe&&"rtl"===Re?this.styleCache=It:"row"===fe&&"rtl"!==Re?this.styleCache=_e:"column"===fe&&"rtl"===Re?this.styleCache=kt:"column"===fe&&"rtl"!==Re&&(this.styleCache=be),this.addStyles(se,{directionality:Re,items:Pe,layout:fe})}}clearStyles(){const se=Object.keys(this.mru).length>0,Pe=se?"padding":Ye(this.directionality.value,this.layout);se&&super.clearStyles(),this.styleUtils.applyStyleToElements({[Pe]:""},this.childrenNodes)}willDisplay(se){const Pe=this.marshal.getValue(se,"show-hide");return!0===Pe||void 0===Pe&&"none"!==this.styleUtils.lookupStyle(se,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(se=>{se.some(Re=>Re.addedNodes&&Re.addedNodes.length>0||Re.removedNodes&&Re.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return G.\u0275fac=function(se){return new(se||G)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(F.Is),s.Y36(B.RK),s.Y36(ke),s.Y36(B.yB))},G.\u0275dir=s.lG2({type:G,features:[s.qOj]}),G})(),yt=(()=>{class G extends ht{constructor(){super(...arguments),this.inputs=Je}}return G.\u0275fac=function(){let He;return function(Pe){return(He||(He=s.n5z(G)))(Pe||G)}}(),G.\u0275dir=s.lG2({type:G,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[s.qOj]}),G})();const It=new Map,kt=new Map,_e=new Map,be=new Map,Me=" grid";function Ye(G,He){switch(He){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===G?"margin-left":"margin-right";case"row-reverse":return"rtl"===G?"margin-right":"margin-left"}}let ct=(()=>{class G extends B.QI{constructor(se){super(),this.layoutConfig=se}buildStyles(se,Pe){let[Re,fe,...Q]=se.split(" "),w=Q.join(" ");const P=Pe.direction.indexOf("column")>-1?"column":"row",O=(0,re.tj)(P)?"max-width":"max-height",H=(0,re.tj)(P)?"min-width":"min-height",De=String(w).indexOf("calc")>-1,et=De||"auto"===w,mt=String(w).indexOf("%")>-1&&!De,Ct=String(w).indexOf("px")>-1||String(w).indexOf("rem")>-1||String(w).indexOf("em")>-1||String(w).indexOf("vw")>-1||String(w).indexOf("vh")>-1;let Et=De||Ct;Re="0"==Re?0:Re,fe="0"==fe?0:fe;const gt=!Re&&!fe;let Ht={};const pn={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(w||""){case"":w="row"===P?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":Re=0,w="auto";break;case"grow":w="100%";break;case"noshrink":fe=0,w="auto";break;case"auto":break;case"none":Re=0,fe=0,w="auto";break;default:!Et&&!mt&&!isNaN(w)&&(w+="%"),"0%"===w&&(Et=!0),"0px"===w&&(w="0%"),Ht=(0,re.kt)(pn,De?{"flex-grow":Re,"flex-shrink":fe,"flex-basis":Et?w:"100%"}:{flex:`${Re} ${fe} ${Et?w:"100%"}`})}return Ht.flex||Ht["flex-grow"]||(Ht=(0,re.kt)(pn,De?{"flex-grow":Re,"flex-shrink":fe,"flex-basis":w}:{flex:`${Re} ${fe} ${w}`})),"0%"!==w&&"0px"!==w&&"0.000000001px"!==w&&"auto"!==w&&(Ht[H]=gt||Et&&Re?w:null,Ht[O]=gt||!et&&fe?w:null),Ht[H]||Ht[O]?Pe.hasWrap&&(Ht[De?"flex-basis":"flex"]=Ht[O]?De?Ht[O]:`${Re} ${fe} ${Ht[O]}`:De?Ht[H]:`${Re} ${fe} ${Ht[H]}`):Ht=(0,re.kt)(pn,De?{"flex-grow":Re,"flex-shrink":fe,"flex-basis":w}:{flex:`${Re} ${fe} ${w}`}),(0,re.kt)(Ht,{"box-sizing":"border-box"})}}return G.\u0275fac=function(se){return new(se||G)(s.LFG(B.WU))},G.\u0275prov=s.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();const At=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let Zn=(()=>{class G extends B.iR{constructor(se,Pe,Re,fe,Q){super(se,fe,Pe,Q),this.layoutConfig=Re,this.marshal=Q,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(se){this.flexShrink=se||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(se){this.flexGrow=se||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,ne.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,ne.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(se){const Re=se.value.split(" ");this.direction=Re[0],this.wrap=void 0!==Re[1]&&"wrap"===Re[1],this.triggerUpdate()}updateWithValue(se){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const Re=this.direction,fe=Re.startsWith("row"),Q=this.wrap;fe&&Q?this.styleCache=ei:fe&&!Q?this.styleCache=Rn:!fe&&Q?this.styleCache=ue:!fe&&!Q&&(this.styleCache=Bn);const w=String(se).replace(";",""),P=(0,B.Ot)(w,this.flexGrow,this.flexShrink);this.addStyles(P.join(" "),{direction:Re,hasWrap:Q})}triggerReflow(){const se=this.activatedValue;if(void 0!==se){const Pe=(0,B.Ot)(se+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,Pe.join(" "))}}}return G.\u0275fac=function(se){return new(se||G)(s.Y36(s.SBq),s.Y36(B.RK),s.Y36(B.WU),s.Y36(ct),s.Y36(B.yB))},G.\u0275dir=s.lG2({type:G,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[s.qOj]}),G})(),Jn=(()=>{class G extends Zn{constructor(){super(...arguments),this.inputs=At}}return G.\u0275fac=function(){let He;return function(Pe){return(He||(He=s.n5z(G)))(Pe||G)}}(),G.\u0275dir=s.lG2({type:G,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[s.qOj]}),G})();const Rn=new Map,Bn=new Map,ei=new Map,ue=new Map;let bn=(()=>{class G extends B.QI{buildStyles(se,Pe){const Re={},[fe,Q]=se.split(" ");switch(fe){case"center":Re["justify-content"]="center";break;case"space-around":Re["justify-content"]="space-around";break;case"space-between":Re["justify-content"]="space-between";break;case"space-evenly":Re["justify-content"]="space-evenly";break;case"end":case"flex-end":Re["justify-content"]="flex-end";break;default:Re["justify-content"]="flex-start"}switch(Q){case"start":case"flex-start":Re["align-items"]=Re["align-content"]="flex-start";break;case"center":Re["align-items"]=Re["align-content"]="center";break;case"end":case"flex-end":Re["align-items"]=Re["align-content"]="flex-end";break;case"space-between":Re["align-content"]="space-between",Re["align-items"]="stretch";break;case"space-around":Re["align-content"]="space-around",Re["align-items"]="stretch";break;case"baseline":Re["align-content"]="stretch",Re["align-items"]="baseline";break;default:Re["align-items"]=Re["align-content"]="stretch"}return(0,re.kt)(Re,{display:Pe.inline?"inline-flex":"flex","flex-direction":Pe.layout,"box-sizing":"border-box","max-width":"stretch"===Q?(0,re.tj)(Pe.layout)?null:"100%":null,"max-height":"stretch"===Q&&(0,re.tj)(Pe.layout)?"100%":null})}}return G.\u0275fac=function(){let He;return function(Pe){return(He||(He=s.n5z(G)))(Pe||G)}}(),G.\u0275prov=s.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();const ui=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let Qt=(()=>{class G extends B.iR{constructor(se,Pe,Re,fe){super(se,Re,Pe,fe),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,ne.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(se){const Pe=this.layout||"row",Re=this.inline;"row"===Pe&&Re?this.styleCache=Fe:"row"!==Pe||Re?"row-reverse"===Pe&&Re?this.styleCache=$:"row-reverse"!==Pe||Re?"column"===Pe&&Re?this.styleCache=R:"column"!==Pe||Re?"column-reverse"===Pe&&Re?this.styleCache=ee:"column-reverse"===Pe&&!Re&&(this.styleCache=te):this.styleCache=ut:this.styleCache=_n:this.styleCache=Ut,this.addStyles(se,{layout:Pe,inline:Re})}onLayoutChange(se){const Pe=se.value.split(" ");this.layout=Pe[0],this.inline=se.value.includes("inline"),re.iQ.find(Re=>Re===this.layout)||(this.layout="row"),this.triggerUpdate()}}return G.\u0275fac=function(se){return new(se||G)(s.Y36(s.SBq),s.Y36(B.RK),s.Y36(bn),s.Y36(B.yB))},G.\u0275dir=s.lG2({type:G,features:[s.qOj]}),G})(),hn=(()=>{class G extends Qt{constructor(){super(...arguments),this.inputs=ui}}return G.\u0275fac=function(){let He;return function(Pe){return(He||(He=s.n5z(G)))(Pe||G)}}(),G.\u0275dir=s.lG2({type:G,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[s.qOj]}),G})();const Ut=new Map,ut=new Map,_n=new Map,te=new Map,Fe=new Map,R=new Map,$=new Map,ee=new Map;let Xe=(()=>{class G{}return G.\u0275fac=function(se){return new(se||G)},G.\u0275mod=s.oAB({type:G}),G.\u0275inj=s.cJS({imports:[B.IR,F.vT]}),G})()},2296:(dt,Te,S)=>{S.d(Te,{lW:()=>ze,ot:()=>ve});var s=S(2831),F=S(5879),B=S(8229),re=S(2495),ie=S(3680);const ne=["mat-button",""],Ce=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Ve=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],It=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],kt=(0,ie.pj)((0,ie.Id)((0,ie.Kr)(class{constructor(ye){this._elementRef=ye}})));let _e=(()=>{class ye extends kt{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(pe){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,pe)}get disableRipple(){return this._disableRipple}set disableRipple(pe){this._disableRipple=(0,re.Ig)(pe),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(pe){this._disabled=(0,re.Ig)(pe),this._updateRippleDisabled()}constructor(pe,ge,Ke,We){super(pe),this._platform=ge,this._ngZone=Ke,this._animationMode=We,this._focusMonitor=(0,F.f3M)(B.tE),this._rippleLoader=(0,F.f3M)(ie.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const dn=pe.nativeElement.classList;for(const pt of It)this._hasHostAttributes(pt.selector)&&pt.mdcClasses.forEach(Yt=>{dn.add(Yt)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(pe="program",ge){pe?this._focusMonitor.focusVia(this._elementRef.nativeElement,pe,ge):this._elementRef.nativeElement.focus(ge)}_hasHostAttributes(...pe){return pe.some(ge=>this._elementRef.nativeElement.hasAttribute(ge))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(ge){F.$Z()};static#t=this.\u0275dir=F.lG2({type:ye,features:[F.qOj]})}return ye})(),ze=(()=>{class ye extends _e{constructor(pe,ge,Ke,We){super(pe,ge,Ke,We)}static#e=this.\u0275fac=function(ge){return new(ge||ye)(F.Y36(F.SBq),F.Y36(s.t4),F.Y36(F.R0b),F.Y36(F.QbO,8))};static#t=this.\u0275cmp=F.Xpm({type:ye,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(ge,Ke){2&ge&&(F.uIk("disabled",Ke.disabled||null),F.ekj("_mat-animation-noopable","NoopAnimations"===Ke._animationMode)("mat-unthemed",!Ke.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[F.qOj],attrs:ne,ngContentSelectors:Ve,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ge,Ke){1&ge&&(F.F$t(Ce),F._UZ(0,"span",0),F.Hsn(1),F.TgZ(2,"span",1),F.Hsn(3,1),F.qZA(),F.Hsn(4,2),F._UZ(5,"span",2)(6,"span",3)),2&ge&&F.ekj("mdc-button__ripple",!Ke._isFab)("mdc-fab__ripple",Ke._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return ye})(),ve=(()=>{class ye{static#e=this.\u0275fac=function(ge){return new(ge||ye)};static#t=this.\u0275mod=F.oAB({type:ye});static#n=this.\u0275inj=F.cJS({imports:[ie.BQ,ie.si,ie.BQ]})}return ye})()},3680:(dt,Te,S)=>{S.d(Te,{BQ:()=>_e,Fq:()=>Re,si:()=>_t,pj:()=>Ye,Kr:()=>vt,Id:()=>ze});var s=S(5879),F=S(8229),B=S(9388),ie=S(6814),ne=S(2831),Ce=S(2495);const kt=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function It(){return!0}});let _e=(()=>{class fe{constructor(w,P,O){this._sanityChecks=P,this._document=O,this._hasDoneGlobalChecks=!1,w._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(w){return!(0,ne.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[w])}static#e=this.\u0275fac=function(P){return new(P||fe)(s.LFG(F.qm),s.LFG(kt,8),s.LFG(ie.K0))};static#t=this.\u0275mod=s.oAB({type:fe});static#n=this.\u0275inj=s.cJS({imports:[B.vT,B.vT]})}return fe})();function ze(fe){return class extends fe{get disabled(){return this._disabled}set disabled(Q){this._disabled=(0,Ce.Ig)(Q)}constructor(...Q){super(...Q),this._disabled=!1}}}function Ye(fe,Q){return class extends fe{get color(){return this._color}set color(w){const P=w||this.defaultColor;P!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),P&&this._elementRef.nativeElement.classList.add(`mat-${P}`),this._color=P)}constructor(...w){super(...w),this.defaultColor=Q,this.color=Q}}}function vt(fe){return class extends fe{get disableRipple(){return this._disableRipple}set disableRipple(Q){this._disableRipple=(0,Ce.Ig)(Q)}constructor(...Q){super(...Q),this._disableRipple=!1}}}class Ze{constructor(Q,w,P,O=!1){this._renderer=Q,this.element=w,this.config=P,this._animationForciblyDisabledThroughCss=O,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Wt=(0,ne.i$)({passive:!0,capture:!0});class cn{constructor(){this._events=new Map,this._delegateEventHandler=Q=>{const w=(0,ne.sA)(Q);w&&this._events.get(Q.type)?.forEach((P,O)=>{(O===w||O.contains(w))&&P.forEach(H=>H.handleEvent(Q))})}}addHandler(Q,w,P,O){const H=this._events.get(w);if(H){const De=H.get(P);De?De.add(O):H.set(P,new Set([O]))}else this._events.set(w,new Map([[P,new Set([O])]])),Q.runOutsideAngular(()=>{document.addEventListener(w,this._delegateEventHandler,Wt)})}removeHandler(Q,w,P){const O=this._events.get(Q);if(!O)return;const H=O.get(w);H&&(H.delete(P),0===H.size&&O.delete(w),0===O.size&&(this._events.delete(Q),document.removeEventListener(Q,this._delegateEventHandler,Wt)))}}const Kt={enterDuration:225,exitDuration:150},En=(0,ne.i$)({passive:!0,capture:!0}),fn=["mousedown","touchstart"],ci=["mouseup","mouseleave","touchend","touchcancel"];class jn{static#e=this._eventManager=new cn;constructor(Q,w,P,O){this._target=Q,this._ngZone=w,this._platform=O,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,O.isBrowser&&(this._containerElement=(0,Ce.fI)(P))}fadeInRipple(Q,w,P={}){const O=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),H={...Kt,...P.animation};P.centered&&(Q=O.left+O.width/2,w=O.top+O.height/2);const De=P.radius||function wn(fe,Q,w){const P=Math.max(Math.abs(fe-w.left),Math.abs(fe-w.right)),O=Math.max(Math.abs(Q-w.top),Math.abs(Q-w.bottom));return Math.sqrt(P*P+O*O)}(Q,w,O),et=Q-O.left,mt=w-O.top,Ct=H.enterDuration,Et=document.createElement("div");Et.classList.add("mat-ripple-element"),Et.style.left=et-De+"px",Et.style.top=mt-De+"px",Et.style.height=2*De+"px",Et.style.width=2*De+"px",null!=P.color&&(Et.style.backgroundColor=P.color),Et.style.transitionDuration=`${Ct}ms`,this._containerElement.appendChild(Et);const gt=window.getComputedStyle(Et),pn=gt.transitionDuration,ti="none"===gt.transitionProperty||"0s"===pn||"0s, 0s"===pn||0===O.width&&0===O.height,ni=new Ze(this,Et,P,ti);Et.style.transform="scale3d(1, 1, 1)",ni.state=0,P.persistent||(this._mostRecentTransientRipple=ni);let di=null;return!ti&&(Ct||H.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const er=()=>this._finishRippleTransition(ni),Hn=()=>this._destroyRipple(ni);Et.addEventListener("transitionend",er),Et.addEventListener("transitioncancel",Hn),di={onTransitionEnd:er,onTransitionCancel:Hn}}),this._activeRipples.set(ni,di),(ti||!Ct)&&this._finishRippleTransition(ni),ni}fadeOutRipple(Q){if(2===Q.state||3===Q.state)return;const w=Q.element,P={...Kt,...Q.config.animation};w.style.transitionDuration=`${P.exitDuration}ms`,w.style.opacity="0",Q.state=2,(Q._animationForciblyDisabledThroughCss||!P.exitDuration)&&this._finishRippleTransition(Q)}fadeOutAll(){this._getActiveRipples().forEach(Q=>Q.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Q=>{Q.config.persistent||Q.fadeOut()})}setupTriggerEvents(Q){const w=(0,Ce.fI)(Q);!this._platform.isBrowser||!w||w===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=w,fn.forEach(P=>{jn._eventManager.addHandler(this._ngZone,P,w,this)}))}handleEvent(Q){"mousedown"===Q.type?this._onMousedown(Q):"touchstart"===Q.type?this._onTouchStart(Q):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ci.forEach(w=>{this._triggerElement.addEventListener(w,this,En)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Q){0===Q.state?this._startFadeOutTransition(Q):2===Q.state&&this._destroyRipple(Q)}_startFadeOutTransition(Q){const w=Q===this._mostRecentTransientRipple,{persistent:P}=Q.config;Q.state=1,!P&&(!w||!this._isPointerDown)&&Q.fadeOut()}_destroyRipple(Q){const w=this._activeRipples.get(Q)??null;this._activeRipples.delete(Q),this._activeRipples.size||(this._containerRect=null),Q===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Q.state=3,null!==w&&(Q.element.removeEventListener("transitionend",w.onTransitionEnd),Q.element.removeEventListener("transitioncancel",w.onTransitionCancel)),Q.element.remove()}_onMousedown(Q){const w=(0,F.X6)(Q),P=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!w&&!P&&(this._isPointerDown=!0,this.fadeInRipple(Q.clientX,Q.clientY,this._target.rippleConfig))}_onTouchStart(Q){if(!this._target.rippleDisabled&&!(0,F.yG)(Q)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const w=Q.changedTouches;if(w)for(let P=0;P<w.length;P++)this.fadeInRipple(w[P].clientX,w[P].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(Q=>{!Q.config.persistent&&(1===Q.state||Q.config.terminateOnPointerUp&&0===Q.state)&&Q.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Q=this._triggerElement;Q&&(fn.forEach(w=>jn._eventManager.removeHandler(w,Q,this)),this._pointerUpEventsRegistered&&ci.forEach(w=>Q.removeEventListener(w,this,En)))}}const Un=new s.OlP("mat-ripple-global-options");let Ln=(()=>{class fe{get disabled(){return this._disabled}set disabled(w){w&&this.fadeOutAllNonPersistent(),this._disabled=w,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(w){this._trigger=w,this._setupTriggerEventsIfEnabled()}constructor(w,P,O,H,De){this._elementRef=w,this._animationMode=De,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=H||{},this._rippleRenderer=new jn(this,P,w,O)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(w,P=0,O){return"number"==typeof w?this._rippleRenderer.fadeInRipple(w,P,{...this.rippleConfig,...O}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...w})}static#e=this.\u0275fac=function(P){return new(P||fe)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(ne.t4),s.Y36(Un,8),s.Y36(s.QbO,8))};static#t=this.\u0275dir=s.lG2({type:fe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(P,O){2&P&&s.ekj("mat-ripple-unbounded",O.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return fe})(),_t=(()=>{class fe{static#e=this.\u0275fac=function(P){return new(P||fe)};static#t=this.\u0275mod=s.oAB({type:fe});static#n=this.\u0275inj=s.cJS({imports:[_e,_e]})}return fe})();const Ie={capture:!0},Xe=["focus","click","mouseenter","touchstart"],G="mat-ripple-loader-uninitialized",He="mat-ripple-loader-class-name",se="mat-ripple-loader-centered",Pe="mat-ripple-loader-disabled";let Re=(()=>{class fe{constructor(){this._document=(0,s.f3M)(ie.K0,{optional:!0}),this._animationMode=(0,s.f3M)(s.QbO,{optional:!0}),this._globalRippleOptions=(0,s.f3M)(Un,{optional:!0}),this._platform=(0,s.f3M)(ne.t4),this._ngZone=(0,s.f3M)(s.R0b),this._hosts=new Map,this._onInteraction=w=>{if(!(w.target instanceof HTMLElement))return;const O=w.target.closest(`[${G}]`);O&&this._createRipple(O)},this._ngZone.runOutsideAngular(()=>{for(const w of Xe)this._document?.addEventListener(w,this._onInteraction,Ie)})}ngOnDestroy(){const w=this._hosts.keys();for(const P of w)this.destroyRipple(P);for(const P of Xe)this._document?.removeEventListener(P,this._onInteraction,Ie)}configureRipple(w,P){w.setAttribute(G,""),(P.className||!w.hasAttribute(He))&&w.setAttribute(He,P.className||""),P.centered&&w.setAttribute(se,""),P.disabled&&w.setAttribute(Pe,"")}getRipple(w){return this._hosts.get(w)||this._createRipple(w)}setDisabled(w,P){const O=this._hosts.get(w);O?O.disabled=P:P?w.setAttribute(Pe,""):w.removeAttribute(Pe)}_createRipple(w){if(!this._document)return;const P=this._hosts.get(w);if(P)return P;w.querySelector(".mat-ripple")?.remove();const O=this._document.createElement("span");O.classList.add("mat-ripple",w.getAttribute(He)),w.append(O);const H=new Ln(new s.SBq(O),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return H._isInitialized=!0,H.trigger=w,H.centered=w.hasAttribute(se),H.disabled=w.hasAttribute(Pe),this.attachRipple(w,H),H}attachRipple(w,P){w.removeAttribute(G),this._hosts.set(w,P)}destroyRipple(w){const P=this._hosts.get(w);P&&(P.ngOnDestroy(),this._hosts.delete(w))}static#e=this.\u0275fac=function(P){return new(P||fe)};static#t=this.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})()},6593:(dt,Te,S)=>{S.d(Te,{Dx:()=>wn,H7:()=>$,b2:()=>nn,q6:()=>Ze,se:()=>Ye});var s=S(5879),F=S(6814);class B extends F.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class re extends B{static makeCurrent(){(0,F.HT)(new re)}onAndCancel(P,O,H){return P.addEventListener(O,H),()=>{P.removeEventListener(O,H)}}dispatchEvent(P,O){P.dispatchEvent(O)}remove(P){P.parentNode&&P.parentNode.removeChild(P)}createElement(P,O){return(O=O||this.getDefaultDocument()).createElement(P)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(P){return P.nodeType===Node.ELEMENT_NODE}isShadowRoot(P){return P instanceof DocumentFragment}getGlobalEventTarget(P,O){return"window"===O?window:"document"===O?P:"body"===O?P.body:null}getBaseHref(P){const O=function ne(){return ie=ie||document.querySelector("base"),ie?ie.getAttribute("href"):null}();return null==O?null:function Ve(w){Ce=Ce||document.createElement("a"),Ce.setAttribute("href",w);const P=Ce.pathname;return"/"===P.charAt(0)?P:`/${P}`}(O)}resetBaseElement(){ie=null}getUserAgent(){return window.navigator.userAgent}getCookie(P){return(0,F.Mx)(document.cookie,P)}}let Ce,ie=null,q=(()=>{class w{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(H){return new(H||w)};static#t=this.\u0275prov=s.Yz7({token:w,factory:w.\u0275fac})}return w})();const de=new s.OlP("EventManagerPlugins");let ae=(()=>{class w{constructor(O,H){this._zone=H,this._eventNameToPlugin=new Map,O.forEach(De=>{De.manager=this}),this._plugins=O.slice().reverse()}addEventListener(O,H,De){return this._findPluginFor(H).addEventListener(O,H,De)}getZone(){return this._zone}_findPluginFor(O){let H=this._eventNameToPlugin.get(O);if(H)return H;if(H=this._plugins.find(et=>et.supports(O)),!H)throw new s.vHH(5101,!1);return this._eventNameToPlugin.set(O,H),H}static#e=this.\u0275fac=function(H){return new(H||w)(s.LFG(de),s.LFG(s.R0b))};static#t=this.\u0275prov=s.Yz7({token:w,factory:w.\u0275fac})}return w})();class je{constructor(P){this._doc=P}}const ke="ng-app-id";let Je=(()=>{class w{constructor(O,H,De,et={}){this.doc=O,this.appId=H,this.nonce=De,this.platformId=et,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,F.PM)(et),this.resetHostNodes()}addStyles(O){for(const H of O)1===this.changeUsageCount(H,1)&&this.onStyleAdded(H)}removeStyles(O){for(const H of O)this.changeUsageCount(H,-1)<=0&&this.onStyleRemoved(H)}ngOnDestroy(){const O=this.styleNodesInDOM;O&&(O.forEach(H=>H.remove()),O.clear());for(const H of this.getAllStyles())this.onStyleRemoved(H);this.resetHostNodes()}addHost(O){this.hostNodes.add(O);for(const H of this.getAllStyles())this.addStyleToHost(O,H)}removeHost(O){this.hostNodes.delete(O)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(O){for(const H of this.hostNodes)this.addStyleToHost(H,O)}onStyleRemoved(O){const H=this.styleRef;H.get(O)?.elements?.forEach(De=>De.remove()),H.delete(O)}collectServerRenderedStyles(){const O=this.doc.head?.querySelectorAll(`style[${ke}="${this.appId}"]`);if(O?.length){const H=new Map;return O.forEach(De=>{null!=De.textContent&&H.set(De.textContent,De)}),H}return null}changeUsageCount(O,H){const De=this.styleRef;if(De.has(O)){const et=De.get(O);return et.usage+=H,et.usage}return De.set(O,{usage:H,elements:[]}),H}getStyleElement(O,H){const De=this.styleNodesInDOM,et=De?.get(H);if(et?.parentNode===O)return De.delete(H),et.removeAttribute(ke),et;{const mt=this.doc.createElement("style");return this.nonce&&mt.setAttribute("nonce",this.nonce),mt.textContent=H,this.platformIsServer&&mt.setAttribute(ke,this.appId),mt}}addStyleToHost(O,H){const De=this.getStyleElement(O,H);O.appendChild(De);const et=this.styleRef,mt=et.get(H)?.elements;mt?mt.push(De):et.set(H,{elements:[De],usage:1})}resetHostNodes(){const O=this.hostNodes;O.clear(),O.add(this.doc.head)}static#e=this.\u0275fac=function(H){return new(H||w)(s.LFG(F.K0),s.LFG(s.AFp),s.LFG(s.Ojb,8),s.LFG(s.Lbi))};static#t=this.\u0275prov=s.Yz7({token:w,factory:w.\u0275fac})}return w})();const Ue={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/MathML/"},ht=/%COMP%/g,be=new s.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ze(w,P){return P.map(O=>O.replace(ht,w))}let Ye=(()=>{class w{constructor(O,H,De,et,mt,Ct,Et,gt=null){this.eventManager=O,this.sharedStylesHost=H,this.appId=De,this.removeStylesOnCompDestroy=et,this.doc=mt,this.platformId=Ct,this.ngZone=Et,this.nonce=gt,this.rendererByCompId=new Map,this.platformIsServer=(0,F.PM)(Ct),this.defaultRenderer=new vt(O,mt,Et,this.platformIsServer)}createRenderer(O,H){if(!O||!H)return this.defaultRenderer;this.platformIsServer&&H.encapsulation===s.ifc.ShadowDom&&(H={...H,encapsulation:s.ifc.Emulated});const De=this.getOrCreateRenderer(O,H);return De instanceof Rn?De.applyToHost(O):De instanceof Jn&&De.applyStyles(),De}getOrCreateRenderer(O,H){const De=this.rendererByCompId;let et=De.get(H.id);if(!et){const mt=this.doc,Ct=this.ngZone,Et=this.eventManager,gt=this.sharedStylesHost,Ht=this.removeStylesOnCompDestroy,pn=this.platformIsServer;switch(H.encapsulation){case s.ifc.Emulated:et=new Rn(Et,gt,H,this.appId,Ht,mt,Ct,pn);break;case s.ifc.ShadowDom:return new Zn(Et,gt,O,H,mt,Ct,this.nonce,pn);default:et=new Jn(Et,gt,H,Ht,mt,Ct,pn)}De.set(H.id,et)}return et}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(H){return new(H||w)(s.LFG(ae),s.LFG(Je),s.LFG(s.AFp),s.LFG(be),s.LFG(F.K0),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(s.Ojb))};static#t=this.\u0275prov=s.Yz7({token:w,factory:w.\u0275fac})}return w})();class vt{constructor(P,O,H,De){this.eventManager=P,this.doc=O,this.ngZone=H,this.platformIsServer=De,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(P,O){return O?this.doc.createElementNS(Ue[O]||O,P):this.doc.createElement(P)}createComment(P){return this.doc.createComment(P)}createText(P){return this.doc.createTextNode(P)}appendChild(P,O){(kn(P)?P.content:P).appendChild(O)}insertBefore(P,O,H){P&&(kn(P)?P.content:P).insertBefore(O,H)}removeChild(P,O){P&&P.removeChild(O)}selectRootElement(P,O){let H="string"==typeof P?this.doc.querySelector(P):P;if(!H)throw new s.vHH(-5104,!1);return O||(H.textContent=""),H}parentNode(P){return P.parentNode}nextSibling(P){return P.nextSibling}setAttribute(P,O,H,De){if(De){O=De+":"+O;const et=Ue[De];et?P.setAttributeNS(et,O,H):P.setAttribute(O,H)}else P.setAttribute(O,H)}removeAttribute(P,O,H){if(H){const De=Ue[H];De?P.removeAttributeNS(De,O):P.removeAttribute(`${H}:${O}`)}else P.removeAttribute(O)}addClass(P,O){P.classList.add(O)}removeClass(P,O){P.classList.remove(O)}setStyle(P,O,H,De){De&(s.JOm.DashCase|s.JOm.Important)?P.style.setProperty(O,H,De&s.JOm.Important?"important":""):P.style[O]=H}removeStyle(P,O,H){H&s.JOm.DashCase?P.style.removeProperty(O):P.style[O]=""}setProperty(P,O,H){P[O]=H}setValue(P,O){P.nodeValue=O}listen(P,O,H){if("string"==typeof P&&!(P=(0,F.q)().getGlobalEventTarget(this.doc,P)))throw new Error(`Unsupported event target ${P} for event ${O}`);return this.eventManager.addEventListener(P,O,this.decoratePreventDefault(H))}decoratePreventDefault(P){return O=>{if("__ngUnwrap__"===O)return P;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>P(O)):P(O))&&O.preventDefault()}}}function kn(w){return"TEMPLATE"===w.tagName&&void 0!==w.content}class Zn extends vt{constructor(P,O,H,De,et,mt,Ct,Et){super(P,et,mt,Et),this.sharedStylesHost=O,this.hostEl=H,this.shadowRoot=H.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const gt=ze(De.id,De.styles);for(const Ht of gt){const pn=document.createElement("style");Ct&&pn.setAttribute("nonce",Ct),pn.textContent=Ht,this.shadowRoot.appendChild(pn)}}nodeOrShadowRoot(P){return P===this.hostEl?this.shadowRoot:P}appendChild(P,O){return super.appendChild(this.nodeOrShadowRoot(P),O)}insertBefore(P,O,H){return super.insertBefore(this.nodeOrShadowRoot(P),O,H)}removeChild(P,O){return super.removeChild(this.nodeOrShadowRoot(P),O)}parentNode(P){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(P)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Jn extends vt{constructor(P,O,H,De,et,mt,Ct,Et){super(P,et,mt,Ct),this.sharedStylesHost=O,this.removeStylesOnCompDestroy=De,this.styles=Et?ze(Et,H.styles):H.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Rn extends Jn{constructor(P,O,H,De,et,mt,Ct,Et){const gt=De+"-"+H.id;super(P,O,H,et,mt,Ct,Et,gt),this.contentAttr=function Me(w){return"_ngcontent-%COMP%".replace(ht,w)}(gt),this.hostAttr=function Be(w){return"_nghost-%COMP%".replace(ht,w)}(gt)}applyToHost(P){this.applyStyles(),this.setAttribute(P,this.hostAttr,"")}createElement(P,O){const H=super.createElement(P,O);return super.setAttribute(H,this.contentAttr,""),H}}let Bn=(()=>{class w extends je{constructor(O){super(O)}supports(O){return!0}addEventListener(O,H,De){return O.addEventListener(H,De,!1),()=>this.removeEventListener(O,H,De)}removeEventListener(O,H,De){return O.removeEventListener(H,De)}static#e=this.\u0275fac=function(H){return new(H||w)(s.LFG(F.K0))};static#t=this.\u0275prov=s.Yz7({token:w,factory:w.\u0275fac})}return w})();const ei=["alt","control","meta","shift"],ue={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ve={alt:w=>w.altKey,control:w=>w.ctrlKey,meta:w=>w.metaKey,shift:w=>w.shiftKey};let ye=(()=>{class w extends je{constructor(O){super(O)}supports(O){return null!=w.parseEventName(O)}addEventListener(O,H,De){const et=w.parseEventName(H),mt=w.eventCallback(et.fullKey,De,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,F.q)().onAndCancel(O,et.domEventName,mt))}static parseEventName(O){const H=O.toLowerCase().split("."),De=H.shift();if(0===H.length||"keydown"!==De&&"keyup"!==De)return null;const et=w._normalizeKey(H.pop());let mt="",Ct=H.indexOf("code");if(Ct>-1&&(H.splice(Ct,1),mt="code."),ei.forEach(gt=>{const Ht=H.indexOf(gt);Ht>-1&&(H.splice(Ht,1),mt+=gt+".")}),mt+=et,0!=H.length||0===et.length)return null;const Et={};return Et.domEventName=De,Et.fullKey=mt,Et}static matchEventFullKeyCode(O,H){let De=ue[O.key]||O.key,et="";return H.indexOf("code.")>-1&&(De=O.code,et="code."),!(null==De||!De)&&(De=De.toLowerCase()," "===De?De="space":"."===De&&(De="dot"),ei.forEach(mt=>{mt!==De&&(0,ve[mt])(O)&&(et+=mt+".")}),et+=De,et===H)}static eventCallback(O,H,De){return et=>{w.matchEventFullKeyCode(et,O)&&De.runGuarded(()=>H(et))}}static _normalizeKey(O){return"esc"===O?"escape":O}static#e=this.\u0275fac=function(H){return new(H||w)(s.LFG(F.K0))};static#t=this.\u0275prov=s.Yz7({token:w,factory:w.\u0275fac})}return w})();const Ze=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:F.bD},{provide:s.g9A,useValue:function We(){re.makeCurrent()},multi:!0},{provide:F.K0,useFactory:function pt(){return(0,s.RDi)(document),document},deps:[]}]),Wt=new s.OlP(""),cn=[{provide:s.rWj,useClass:class we{addToWindow(P){s.dqk.getAngularTestability=(H,De=!0)=>{const et=P.findTestabilityInTree(H,De);if(null==et)throw new s.vHH(5103,!1);return et},s.dqk.getAllAngularTestabilities=()=>P.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>P.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(H=>{const De=s.dqk.getAllAngularTestabilities();let et=De.length,mt=!1;const Ct=function(Et){mt=mt||Et,et--,0==et&&H(mt)};De.forEach(Et=>{Et.whenStable(Ct)})})}findTestabilityInTree(P,O,H){return null==O?null:P.getTestability(O)??(H?(0,F.q)().isShadowRoot(O)?this.findTestabilityInTree(P,O.host,!0):this.findTestabilityInTree(P,O.parentElement,!0):null)}},deps:[]},{provide:s.lri,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]}],Kt=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function dn(){return new s.qLn},deps:[]},{provide:de,useClass:Bn,multi:!0,deps:[F.K0,s.R0b,s.Lbi]},{provide:de,useClass:ye,multi:!0,deps:[F.K0]},Ye,Je,ae,{provide:s.FYo,useExisting:Ye},{provide:F.JF,useClass:q,deps:[]},[]];let nn=(()=>{class w{constructor(O){}static withServerTransition(O){return{ngModule:w,providers:[{provide:s.AFp,useValue:O.appId}]}}static#e=this.\u0275fac=function(H){return new(H||w)(s.LFG(Wt,12))};static#t=this.\u0275mod=s.oAB({type:w});static#n=this.\u0275inj=s.cJS({providers:[...Kt,...cn],imports:[F.ez,s.hGG]})}return w})(),wn=(()=>{class w{constructor(O){this._doc=O}getTitle(){return this._doc.title}setTitle(O){this._doc.title=O||""}static#e=this.\u0275fac=function(H){return new(H||w)(s.LFG(F.K0))};static#t=this.\u0275prov=s.Yz7({token:w,factory:function(H){let De=null;return De=H?new H:function jn(){return new wn((0,s.LFG)(F.K0))}(),De},providedIn:"root"})}return w})();typeof window<"u"&&window;let $=(()=>{class w{static#e=this.\u0275fac=function(H){return new(H||w)};static#t=this.\u0275prov=s.Yz7({token:w,factory:function(H){let De=null;return De=H?new(H||w):s.LFG(Ie),De},providedIn:"root"})}return w})(),Ie=(()=>{class w extends ${constructor(O){super(),this._doc=O}sanitize(O,H){if(null==H)return null;switch(O){case s.q3G.NONE:return H;case s.q3G.HTML:return(0,s.qzn)(H,"HTML")?(0,s.z3N)(H):(0,s.EiD)(this._doc,String(H)).toString();case s.q3G.STYLE:return(0,s.qzn)(H,"Style")?(0,s.z3N)(H):H;case s.q3G.SCRIPT:if((0,s.qzn)(H,"Script"))return(0,s.z3N)(H);throw new s.vHH(5200,!1);case s.q3G.URL:return(0,s.qzn)(H,"URL")?(0,s.z3N)(H):(0,s.mCW)(String(H));case s.q3G.RESOURCE_URL:if((0,s.qzn)(H,"ResourceURL"))return(0,s.z3N)(H);throw new s.vHH(5201,!1);default:throw new s.vHH(5202,!1)}}bypassSecurityTrustHtml(O){return(0,s.JVY)(O)}bypassSecurityTrustStyle(O){return(0,s.L6k)(O)}bypassSecurityTrustScript(O){return(0,s.eBb)(O)}bypassSecurityTrustUrl(O){return(0,s.LAX)(O)}bypassSecurityTrustResourceUrl(O){return(0,s.pB0)(O)}static#e=this.\u0275fac=function(H){return new(H||w)(s.LFG(F.K0))};static#t=this.\u0275prov=s.Yz7({token:w,factory:function(H){let De=null;return De=H?new H:function ee(w){return new Ie(w.get(F.K0))}(s.LFG(s.zs3)),De},providedIn:"root"})}return w})()},2058:(dt,Te,S)=>{S.d(Te,{Bz:()=>qo,lC:()=>Si});var s=S(5879),F=S(5592),B=S(4674),ie=S(7715),ne=S(2096),Ce=S(5619),Ve=S(2572);const q=(0,S(2306).d)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"});var de=S(5211),ae=S(4829);function je(d){return new F.y(g=>{(0,ae.Xf)(d()).subscribe(g)})}var ke=S(8407),Je=S(8504),Ue=S(6232),ht=S(7394),yt=S(9360),It=S(8251);function kt(){return(0,yt.e)((d,g)=>{let c=null;d._refCount++;const m=(0,It.x)(g,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(c=null);const _=d._connection,I=c;c=null,_&&(!I||_===I)&&_.unsubscribe(),g.unsubscribe()});d.subscribe(m),m.closed||(c=d.connect())})}class _e extends F.y{constructor(g,c){super(),this.source=g,this.subjectFactory=c,this._subject=null,this._refCount=0,this._connection=null,(0,yt.A)(g)&&(this.lift=g.lift)}_subscribe(g){return this.getSubject().subscribe(g)}getSubject(){const g=this._subject;return(!g||g.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:g}=this;this._subject=this._connection=null,g?.unsubscribe()}connect(){let g=this._connection;if(!g){g=this._connection=new ht.w0;const c=this.getSubject();g.add(this.source.subscribe((0,It.x)(c,void 0,()=>{this._teardown(),c.complete()},m=>{this._teardown(),c.error(m)},()=>this._teardown()))),g.closed&&(this._connection=null,g=ht.w0.EMPTY)}return g}refCount(){return kt()(this)}}var be=S(8645),Me=S(6814),Be=S(7398),ze=S(4664),Ye=S(8180),vt=S(7921),ct=S(2181),At=S(1631);function kn(d){return(0,yt.e)((g,c)=>{let m=!1;g.subscribe((0,It.x)(c,_=>{m=!0,c.next(_)},()=>{m||c.next(d),c.complete()}))})}function Zn(d=Jn){return(0,yt.e)((g,c)=>{let m=!1;g.subscribe((0,It.x)(c,_=>{m=!0,c.next(_)},()=>m?c.complete():c.error(d())))})}function Jn(){return new q}var Rn=S(2737);function Bn(d,g){const c=arguments.length>=2;return m=>m.pipe(d?(0,ct.h)((_,I)=>d(_,I,m)):Rn.y,(0,Ye.q)(1),c?kn(g):Zn(()=>new q))}var ei=S(6328),ue=S(9397),ve=S(6306);function pe(d){return d<=0?()=>Ue.E:(0,yt.e)((g,c)=>{let m=[];g.subscribe((0,It.x)(c,_=>{m.push(_),d<m.length&&m.shift()},()=>{for(const _ of m)c.next(_);c.complete()},void 0,()=>{m=null}))})}var We=S(4716),dn=S(9773),pt=S(7537),Yt=S(6593);const Ze="primary",Wt=Symbol("RouteTitle");class cn{constructor(g){this.params=g||{}}has(g){return Object.prototype.hasOwnProperty.call(this.params,g)}get(g){if(this.has(g)){const c=this.params[g];return Array.isArray(c)?c[0]:c}return null}getAll(g){if(this.has(g)){const c=this.params[g];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function Kt(d){return new cn(d)}function nn(d,g,c){const m=c.path.split("/");if(m.length>d.length||"full"===c.pathMatch&&(g.hasChildren()||m.length<d.length))return null;const _={};for(let I=0;I<m.length;I++){const U=m[I],Ee=d[I];if(U.startsWith(":"))_[U.substring(1)]=Ee;else if(U!==Ee.path)return null}return{consumed:d.slice(0,m.length),posParams:_}}function fn(d,g){const c=d?Object.keys(d):void 0,m=g?Object.keys(g):void 0;if(!c||!m||c.length!=m.length)return!1;let _;for(let I=0;I<c.length;I++)if(_=c[I],!ci(d[_],g[_]))return!1;return!0}function ci(d,g){if(Array.isArray(d)&&Array.isArray(g)){if(d.length!==g.length)return!1;const c=[...d].sort(),m=[...g].sort();return c.every((_,I)=>m[I]===_)}return d===g}function jn(d){return d.length>0?d[d.length-1]:null}function wn(d){return function re(d){return!!d&&(d instanceof F.y||(0,B.m)(d.lift)&&(0,B.m)(d.subscribe))}(d)?d:(0,s.QGY)(d)?(0,ie.D)(Promise.resolve(d)):(0,ne.of)(d)}const Un={exact:function Ft(d,g,c){if(!te(d.segments,g.segments)||!Qt(d.segments,g.segments,c)||d.numberOfChildren!==g.numberOfChildren)return!1;for(const m in g.children)if(!d.children[m]||!Ft(d.children[m],g.children[m],c))return!1;return!0},subset:ui},Ln={exact:function Lt(d,g){return fn(d,g)},subset:function bn(d,g){return Object.keys(g).length<=Object.keys(d).length&&Object.keys(g).every(c=>ci(d[c],g[c]))},ignored:()=>!0};function _t(d,g,c){return Un[c.paths](d.root,g.root,c.matrixParams)&&Ln[c.queryParams](d.queryParams,g.queryParams)&&!("exact"===c.fragment&&d.fragment!==g.fragment)}function ui(d,g,c){return On(d,g,g.segments,c)}function On(d,g,c,m){if(d.segments.length>c.length){const _=d.segments.slice(0,c.length);return!(!te(_,c)||g.hasChildren()||!Qt(_,c,m))}if(d.segments.length===c.length){if(!te(d.segments,c)||!Qt(d.segments,c,m))return!1;for(const _ in g.children)if(!d.children[_]||!ui(d.children[_],g.children[_],m))return!1;return!0}{const _=c.slice(0,d.segments.length),I=c.slice(d.segments.length);return!!(te(d.segments,_)&&Qt(d.segments,_,m)&&d.children[Ze])&&On(d.children[Ze],g,I,m)}}function Qt(d,g,c){return g.every((m,_)=>Ln[c](d[_].parameters,m.parameters))}class hn{constructor(g=new Ut([],{}),c={},m=null){this.root=g,this.queryParams=c,this.fragment=m}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Kt(this.queryParams)),this._queryParamMap}toString(){return ee.serialize(this)}}class Ut{constructor(g,c){this.segments=g,this.children=c,this.parent=null,Object.values(c).forEach(m=>m.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ie(this)}}class ut{constructor(g,c){this.path=g,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=Kt(this.parameters)),this._parameterMap}toString(){return Q(this)}}function te(d,g){return d.length===g.length&&d.every((c,m)=>c.path===g[m].path)}let R=(()=>{class d{static#e=this.\u0275fac=function(m){return new(m||d)};static#t=this.\u0275prov=s.Yz7({token:d,factory:function(){return new $},providedIn:"root"})}return d})();class ${parse(g){const c=new Ht(g);return new hn(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(g){const c=`/${Xe(g.root,!0)}`,m=function P(d){const g=Object.keys(d).map(c=>{const m=d[c];return Array.isArray(m)?m.map(_=>`${He(c)}=${He(_)}`).join("&"):`${He(c)}=${He(m)}`}).filter(c=>!!c);return g.length?`?${g.join("&")}`:""}(g.queryParams);return`${c}${m}${"string"==typeof g.fragment?`#${function se(d){return encodeURI(d)}(g.fragment)}`:""}`}}const ee=new $;function Ie(d){return d.segments.map(g=>Q(g)).join("/")}function Xe(d,g){if(!d.hasChildren())return Ie(d);if(g){const c=d.children[Ze]?Xe(d.children[Ze],!1):"",m=[];return Object.entries(d.children).forEach(([_,I])=>{_!==Ze&&m.push(`${_}:${Xe(I,!1)}`)}),m.length>0?`${c}(${m.join("//")})`:c}{const c=function Fe(d,g){let c=[];return Object.entries(d.children).forEach(([m,_])=>{m===Ze&&(c=c.concat(g(_,m)))}),Object.entries(d.children).forEach(([m,_])=>{m!==Ze&&(c=c.concat(g(_,m)))}),c}(d,(m,_)=>_===Ze?[Xe(d.children[Ze],!1)]:[`${_}:${Xe(m,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[Ze]?`${Ie(d)}/${c[0]}`:`${Ie(d)}/(${c.join("//")})`}}function G(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function He(d){return G(d).replace(/%3B/gi,";")}function Pe(d){return G(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Re(d){return decodeURIComponent(d)}function fe(d){return Re(d.replace(/\+/g,"%20"))}function Q(d){return`${Pe(d.path)}${function w(d){return Object.keys(d).map(g=>`;${Pe(g)}=${Pe(d[g])}`).join("")}(d.parameters)}`}const O=/^[^\/()?;#]+/;function H(d){const g=d.match(O);return g?g[0]:""}const De=/^[^\/()?;=#]+/,mt=/^[^=?&#]+/,Et=/^[^&#]+/;class Ht{constructor(g){this.url=g,this.remaining=g}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ut([],{}):new Ut([],this.parseChildren())}parseQueryParams(){const g={};if(this.consumeOptional("?"))do{this.parseQueryParam(g)}while(this.consumeOptional("&"));return g}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const g=[];for(this.peekStartsWith("(")||g.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),g.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let m={};return this.peekStartsWith("(")&&(m=this.parseParens(!1)),(g.length>0||Object.keys(c).length>0)&&(m[Ze]=new Ut(g,c)),m}parseSegment(){const g=H(this.remaining);if(""===g&&this.peekStartsWith(";"))throw new s.vHH(4009,!1);return this.capture(g),new ut(Re(g),this.parseMatrixParams())}parseMatrixParams(){const g={};for(;this.consumeOptional(";");)this.parseParam(g);return g}parseParam(g){const c=function et(d){const g=d.match(De);return g?g[0]:""}(this.remaining);if(!c)return;this.capture(c);let m="";if(this.consumeOptional("=")){const _=H(this.remaining);_&&(m=_,this.capture(m))}g[Re(c)]=Re(m)}parseQueryParam(g){const c=function Ct(d){const g=d.match(mt);return g?g[0]:""}(this.remaining);if(!c)return;this.capture(c);let m="";if(this.consumeOptional("=")){const U=function gt(d){const g=d.match(Et);return g?g[0]:""}(this.remaining);U&&(m=U,this.capture(m))}const _=fe(c),I=fe(m);if(g.hasOwnProperty(_)){let U=g[_];Array.isArray(U)||(U=[U],g[_]=U),U.push(I)}else g[_]=I}parseParens(g){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const m=H(this.remaining),_=this.remaining[m.length];if("/"!==_&&")"!==_&&";"!==_)throw new s.vHH(4010,!1);let I;m.indexOf(":")>-1?(I=m.slice(0,m.indexOf(":")),this.capture(I),this.capture(":")):g&&(I=Ze);const U=this.parseChildren();c[I]=1===Object.keys(U).length?U[Ze]:new Ut([],U),this.consumeOptional("//")}return c}peekStartsWith(g){return this.remaining.startsWith(g)}consumeOptional(g){return!!this.peekStartsWith(g)&&(this.remaining=this.remaining.substring(g.length),!0)}capture(g){if(!this.consumeOptional(g))throw new s.vHH(4011,!1)}}function pn(d){return d.segments.length>0?new Ut([],{[Ze]:d}):d}function ti(d){const g={};for(const m of Object.keys(d.children)){const I=ti(d.children[m]);if(m===Ze&&0===I.segments.length&&I.hasChildren())for(const[U,Ee]of Object.entries(I.children))g[U]=Ee;else(I.segments.length>0||I.hasChildren())&&(g[m]=I)}return function ni(d){if(1===d.numberOfChildren&&d.children[Ze]){const g=d.children[Ze];return new Ut(d.segments.concat(g.segments),g.children)}return d}(new Ut(d.segments,g))}function di(d){return d instanceof hn}function Hn(d){let g;const _=pn(function c(I){const U={};for(const me of I.children){const ot=c(me);U[me.outlet]=ot}const Ee=new Ut(I.url,U);return I===d&&(g=Ee),Ee}(d.root));return g??_}function ri(d,g,c,m){let _=d;for(;_.parent;)_=_.parent;if(0===g.length)return Pt(_,_,_,c,m);const I=function gr(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new Oi(!0,0,d);let g=0,c=!1;const m=d.reduce((_,I,U)=>{if("object"==typeof I&&null!=I){if(I.outlets){const Ee={};return Object.entries(I.outlets).forEach(([me,ot])=>{Ee[me]="string"==typeof ot?ot.split("/"):ot}),[..._,{outlets:Ee}]}if(I.segmentPath)return[..._,I.segmentPath]}return"string"!=typeof I?[..._,I]:0===U?(I.split("/").forEach((Ee,me)=>{0==me&&"."===Ee||(0==me&&""===Ee?c=!0:".."===Ee?g++:""!=Ee&&_.push(Ee))}),_):[..._,I]},[]);return new Oi(c,g,m)}(g);if(I.toRoot())return Pt(_,_,new Ut([],{}),c,m);const U=function oi(d,g,c){if(d.isAbsolute)return new Mi(g,!0,0);if(!c)return new Mi(g,!1,NaN);if(null===c.parent)return new Mi(c,!0,0);const m=Cn(d.commands[0])?0:1;return function Fi(d,g,c){let m=d,_=g,I=c;for(;I>_;){if(I-=_,m=m.parent,!m)throw new s.vHH(4005,!1);_=m.segments.length}return new Mi(m,!1,_-I)}(c,c.segments.length-1+m,d.numberOfDoubleDots)}(I,_,d),Ee=U.processChildren?Vi(U.segmentGroup,U.index,I.commands):Rr(U.segmentGroup,U.index,I.commands);return Pt(_,U.segmentGroup,Ee,c,m)}function Cn(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function Mn(d){return"object"==typeof d&&null!=d&&d.outlets}function Pt(d,g,c,m,_){let U,I={};m&&Object.entries(m).forEach(([me,ot])=>{I[me]=Array.isArray(ot)?ot.map(Vt=>`${Vt}`):`${ot}`}),U=d===g?c:Hi(d,g,c);const Ee=pn(ti(U));return new hn(Ee,I,_)}function Hi(d,g,c){const m={};return Object.entries(d.children).forEach(([_,I])=>{m[_]=I===g?c:Hi(I,g,c)}),new Ut(d.segments,m)}class Oi{constructor(g,c,m){if(this.isAbsolute=g,this.numberOfDoubleDots=c,this.commands=m,g&&m.length>0&&Cn(m[0]))throw new s.vHH(4003,!1);const _=m.find(Mn);if(_&&_!==jn(m))throw new s.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Mi{constructor(g,c,m){this.segmentGroup=g,this.processChildren=c,this.index=m}}function Rr(d,g,c){if(d||(d=new Ut([],{})),0===d.segments.length&&d.hasChildren())return Vi(d,g,c);const m=function Or(d,g,c){let m=0,_=g;const I={match:!1,pathIndex:0,commandIndex:0};for(;_<d.segments.length;){if(m>=c.length)return I;const U=d.segments[_],Ee=c[m];if(Mn(Ee))break;const me=`${Ee}`,ot=m<c.length-1?c[m+1]:null;if(_>0&&void 0===me)break;if(me&&ot&&"object"==typeof ot&&void 0===ot.outlets){if(!eo(me,ot,U))return I;m+=2}else{if(!eo(me,{},U))return I;m++}_++}return{match:!0,pathIndex:_,commandIndex:m}}(d,g,c),_=c.slice(m.commandIndex);if(m.match&&m.pathIndex<d.segments.length){const I=new Ut(d.segments.slice(0,m.pathIndex),{});return I.children[Ze]=new Ut(d.segments.slice(m.pathIndex),d.children),Vi(I,0,_)}return m.match&&0===_.length?new Ut(d.segments,{}):m.match&&!d.hasChildren()?Vn(d,g,c):m.match?Vi(d,0,_):Vn(d,g,c)}function Vi(d,g,c){if(0===c.length)return new Ut(d.segments,{});{const m=function tr(d){return Mn(d[0])?d[0].outlets:{[Ze]:d}}(c),_={};if(Object.keys(m).some(I=>I!==Ze)&&d.children[Ze]&&1===d.numberOfChildren&&0===d.children[Ze].segments.length){const I=Vi(d.children[Ze],g,c);return new Ut(d.segments,I.children)}return Object.entries(m).forEach(([I,U])=>{"string"==typeof U&&(U=[U]),null!==U&&(_[I]=Rr(d.children[I],g,U))}),Object.entries(d.children).forEach(([I,U])=>{void 0===m[I]&&(_[I]=U)}),new Ut(d.segments,_)}}function Vn(d,g,c){const m=d.segments.slice(0,g);let _=0;for(;_<c.length;){const I=c[_];if(Mn(I)){const me=$i(I.outlets);return new Ut(m,me)}if(0===_&&Cn(c[0])){m.push(new ut(d.segments[g].path,Fr(c[0]))),_++;continue}const U=Mn(I)?I.outlets[Ze]:`${I}`,Ee=_<c.length-1?c[_+1]:null;U&&Ee&&Cn(Ee)?(m.push(new ut(U,Fr(Ee))),_+=2):(m.push(new ut(U,{})),_++)}return new Ut(m,{})}function $i(d){const g={};return Object.entries(d).forEach(([c,m])=>{"string"==typeof m&&(m=[m]),null!==m&&(g[c]=Vn(new Ut([],{}),0,m))}),g}function Fr(d){const g={};return Object.entries(d).forEach(([c,m])=>g[c]=`${m}`),g}function eo(d,g,c){return d==c.path&&fn(g,c.parameters)}const mr="imperative";class Di{constructor(g,c){this.id=g,this.url=c}}class yr extends Di{constructor(g,c,m="imperative",_=null){super(g,c),this.type=0,this.navigationTrigger=m,this.restoredState=_}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class xi extends Di{constructor(g,c,m){super(g,c),this.urlAfterRedirects=m,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Dn extends Di{constructor(g,c,m,_){super(g,c),this.reason=m,this.code=_,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Gi extends Di{constructor(g,c,m,_){super(g,c),this.reason=m,this.code=_,this.type=16}}class zi extends Di{constructor(g,c,m,_){super(g,c),this.error=m,this.target=_,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class to extends Di{constructor(g,c,m,_){super(g,c),this.urlAfterRedirects=m,this.state=_,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wi extends Di{constructor(g,c,m,_){super(g,c),this.urlAfterRedirects=m,this.state=_,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yi extends Di{constructor(g,c,m,_,I){super(g,c),this.urlAfterRedirects=m,this.state=_,this.shouldActivate=I,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Pr extends Di{constructor(g,c,m,_){super(g,c),this.urlAfterRedirects=m,this.state=_,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vr extends Di{constructor(g,c,m,_){super(g,c),this.urlAfterRedirects=m,this.state=_,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class br{constructor(g){this.route=g,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Kn{constructor(g){this.route=g,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Wr{constructor(g){this.snapshot=g,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nr{constructor(g){this.snapshot=g,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yr{constructor(g){this.snapshot=g,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kr{constructor(g){this.snapshot=g,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class T{constructor(g,c,m){this.routerEvent=g,this.position=c,this.anchor=m,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class J{}class V{constructor(g){this.url=g}}class ft{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new bt,this.attachRef=null}}let bt=(()=>{class d{constructor(){this.contexts=new Map}onChildOutletCreated(c,m){const _=this.getOrCreateContext(c);_.outlet=m,this.contexts.set(c,_)}onChildOutletDestroyed(c){const m=this.getContext(c);m&&(m.outlet=null,m.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let m=this.getContext(c);return m||(m=new ft,this.contexts.set(c,m)),m}getContext(c){return this.contexts.get(c)||null}static#e=this.\u0275fac=function(m){return new(m||d)};static#t=this.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})();class Dt{constructor(g){this._root=g}get root(){return this._root.value}parent(g){const c=this.pathFromRoot(g);return c.length>1?c[c.length-2]:null}children(g){const c=Jt(g,this._root);return c?c.children.map(m=>m.value):[]}firstChild(g){const c=Jt(g,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(g){const c=xn(g,this._root);return c.length<2?[]:c[c.length-2].children.map(_=>_.value).filter(_=>_!==g)}pathFromRoot(g){return xn(g,this._root).map(c=>c.value)}}function Jt(d,g){if(d===g.value)return g;for(const c of g.children){const m=Jt(d,c);if(m)return m}return null}function xn(d,g){if(d===g.value)return[g];for(const c of g.children){const m=xn(d,c);if(m.length)return m.unshift(g),m}return[]}class Qn{constructor(g,c){this.value=g,this.children=c}toString(){return`TreeNode(${this.value})`}}function Fn(d){const g={};return d&&d.children.forEach(c=>g[c.value.outlet]=c),g}class _r extends Dt{constructor(g,c){super(g),this.snapshot=c,on(this,g)}toString(){return this.snapshot.toString()}}function nr(d,g){const c=function Lr(d,g){const U=new tt([],{},{},"",{},Ze,g,null,{});return new Tt("",new Qn(U,[]))}(0,g),m=new Ce.X([new ut("",{})]),_=new Ce.X({}),I=new Ce.X({}),U=new Ce.X({}),Ee=new Ce.X(""),me=new Pi(m,_,U,Ee,I,Ze,g,c.root);return me.snapshot=c.root,new _r(new Qn(me,[]),c)}class Pi{constructor(g,c,m,_,I,U,Ee,me){this.urlSubject=g,this.paramsSubject=c,this.queryParamsSubject=m,this.fragmentSubject=_,this.dataSubject=I,this.outlet=U,this.component=Ee,this._futureSnapshot=me,this.title=this.dataSubject?.pipe((0,Be.U)(ot=>ot[Wt]))??(0,ne.of)(void 0),this.url=g,this.params=c,this.queryParams=m,this.fragment=_,this.data=I}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._paramMap=this.params.pipe((0,Be.U)(g=>Kt(g)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Be.U)(g=>Kt(g)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ir(d,g="emptyOnly"){const c=d.pathFromRoot;let m=0;if("always"!==g)for(m=c.length-1;m>=1;){const _=c[m],I=c[m-1];if(_.routeConfig&&""===_.routeConfig.path)m--;else{if(I.component)break;m--}}return function en(d){return d.reduce((g,c)=>({params:{...g.params,...c.params},data:{...g.data,...c.data},resolve:{...c.data,...g.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(m))}class tt{get title(){return this.data?.[Wt]}constructor(g,c,m,_,I,U,Ee,me,ot){this.url=g,this.params=c,this.queryParams=m,this.fragment=_,this.data=I,this.outlet=U,this.component=Ee,this.routeConfig=me,this._resolve=ot}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._paramMap=Kt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Kt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(m=>m.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Tt extends Dt{constructor(g,c){super(c),this.url=g,on(this,c)}toString(){return si(this._root)}}function on(d,g){g.value._routerState=d,g.children.forEach(c=>on(d,c))}function si(d){const g=d.children.length>0?` { ${d.children.map(si).join(", ")} } `:"";return`${d.value}${g}`}function Ai(d){if(d.snapshot){const g=d.snapshot,c=d._futureSnapshot;d.snapshot=c,fn(g.queryParams,c.queryParams)||d.queryParamsSubject.next(c.queryParams),g.fragment!==c.fragment&&d.fragmentSubject.next(c.fragment),fn(g.params,c.params)||d.paramsSubject.next(c.params),function En(d,g){if(d.length!==g.length)return!1;for(let c=0;c<d.length;++c)if(!fn(d[c],g[c]))return!1;return!0}(g.url,c.url)||d.urlSubject.next(c.url),fn(g.data,c.data)||d.dataSubject.next(c.data)}else d.snapshot=d._futureSnapshot,d.dataSubject.next(d._futureSnapshot.data)}function Xn(d,g){const c=fn(d.params,g.params)&&function _n(d,g){return te(d,g)&&d.every((c,m)=>fn(c.parameters,g[m].parameters))}(d.url,g.url);return c&&!(!d.parent!=!g.parent)&&(!d.parent||Xn(d.parent,g.parent))}let Si=(()=>{class d{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ze,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.attachEvents=new s.vpe,this.detachEvents=new s.vpe,this.parentContexts=(0,s.f3M)(bt),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb),this.inputBinder=(0,s.f3M)(hi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(c){if(c.name){const{firstChange:m,previousValue:_}=c.name;if(m)return;this.isTrackedInParentContexts(_)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(_)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(c){return this.parentContexts.getContext(c)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const c=this.parentContexts.getContext(this.name);c?.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,!1);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,m){this.activated=c,this._activatedRoute=m,this.location.insert(c.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,m){if(this.isActivated)throw new s.vHH(4013,!1);this._activatedRoute=c;const _=this.location,U=c.snapshot.component,Ee=this.parentContexts.getOrCreateContext(this.name).children,me=new An(c,Ee,_.injector);this.activated=_.createComponent(U,{index:_.length,injector:me,environmentInjector:m??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(m){return new(m||d)};static#t=this.\u0275dir=s.lG2({type:d,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[s.TTD]})}return d})();class An{constructor(g,c,m){this.route=g,this.childContexts=c,this.parent=m}get(g,c){return g===Pi?this.route:g===bt?this.childContexts:this.parent.get(g,c)}}const hi=new s.OlP("");let Ei=(()=>{class d{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(c){this.unsubscribeFromRouteData(c),this.subscribeToRouteData(c)}unsubscribeFromRouteData(c){this.outletDataSubscriptions.get(c)?.unsubscribe(),this.outletDataSubscriptions.delete(c)}subscribeToRouteData(c){const{activatedRoute:m}=c,_=(0,Ve.a)([m.queryParams,m.params,m.data]).pipe((0,ze.w)(([I,U,Ee],me)=>(Ee={...I,...U,...Ee},0===me?(0,ne.of)(Ee):Promise.resolve(Ee)))).subscribe(I=>{if(!c.isActivated||!c.activatedComponentRef||c.activatedRoute!==m||null===m.component)return void this.unsubscribeFromRouteData(c);const U=(0,s.qFp)(m.component);if(U)for(const{templateName:Ee}of U.inputs)c.activatedComponentRef.setInput(Ee,I[Ee]);else this.unsubscribeFromRouteData(c)});this.outletDataSubscriptions.set(c,_)}static#e=this.\u0275fac=function(m){return new(m||d)};static#t=this.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac})}return d})();function Ni(d,g,c){if(c&&d.shouldReuseRoute(g.value,c.value.snapshot)){const m=c.value;m._futureSnapshot=g.value;const _=function bo(d,g,c){return g.children.map(m=>{for(const _ of c.children)if(d.shouldReuseRoute(m.value,_.value.snapshot))return Ni(d,m,_);return Ni(d,m)})}(d,g,c);return new Qn(m,_)}{if(d.shouldAttach(g.value)){const I=d.retrieve(g.value);if(null!==I){const U=I.route;return U.value._futureSnapshot=g.value,U.children=g.children.map(Ee=>Ni(d,Ee)),U}}const m=function Dr(d){return new Pi(new Ce.X(d.url),new Ce.X(d.params),new Ce.X(d.queryParams),new Ce.X(d.fragment),new Ce.X(d.data),d.outlet,d.component,d)}(g.value),_=g.children.map(I=>Ni(d,I));return new Qn(m,_)}}const Sn="ngNavigationCancelingError";function kr(d,g){const{redirectTo:c,navigationBehaviorOptions:m}=di(g)?{redirectTo:g,navigationBehaviorOptions:void 0}:g,_=rr(!1,0,g);return _.url=c,_.navigationBehaviorOptions=m,_}function rr(d,g,c){const m=new Error("NavigationCancelingError: "+(d||""));return m[Sn]=!0,m.cancellationCode=g,c&&(m.url=c),m}function or(d){return d&&d[Sn]}let _o=(()=>{class d{static#e=this.\u0275fac=function(m){return new(m||d)};static#t=this.\u0275cmp=s.Xpm({type:d,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(m,_){1&m&&s._UZ(0,"router-outlet")},dependencies:[Si],encapsulation:2})}return d})();function sr(d){const g=d.children&&d.children.map(sr),c=g?{...d,children:g}:{...d};return!c.component&&!c.loadComponent&&(g||c.loadChildren)&&c.outlet&&c.outlet!==Ze&&(c.component=_o),c}function gn(d){return d.outlet||Ze}function yn(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let g=d.parent;g;g=g.parent){const c=g.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class ii{constructor(g,c,m,_,I){this.routeReuseStrategy=g,this.futureState=c,this.currState=m,this.forwardEvent=_,this.inputBindingEnabled=I}activate(g){const c=this.futureState._root,m=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,m,g),Ai(this.futureState.root),this.activateChildRoutes(c,m,g)}deactivateChildRoutes(g,c,m){const _=Fn(c);g.children.forEach(I=>{const U=I.value.outlet;this.deactivateRoutes(I,_[U],m),delete _[U]}),Object.values(_).forEach(I=>{this.deactivateRouteAndItsChildren(I,m)})}deactivateRoutes(g,c,m){const _=g.value,I=c?c.value:null;if(_===I)if(_.component){const U=m.getContext(_.outlet);U&&this.deactivateChildRoutes(g,c,U.children)}else this.deactivateChildRoutes(g,c,m);else I&&this.deactivateRouteAndItsChildren(c,m)}deactivateRouteAndItsChildren(g,c){g.value.component&&this.routeReuseStrategy.shouldDetach(g.value.snapshot)?this.detachAndStoreRouteSubtree(g,c):this.deactivateRouteAndOutlet(g,c)}detachAndStoreRouteSubtree(g,c){const m=c.getContext(g.value.outlet),_=m&&g.value.component?m.children:c,I=Fn(g);for(const U of Object.keys(I))this.deactivateRouteAndItsChildren(I[U],_);if(m&&m.outlet){const U=m.outlet.detach(),Ee=m.children.onOutletDeactivated();this.routeReuseStrategy.store(g.value.snapshot,{componentRef:U,route:g,contexts:Ee})}}deactivateRouteAndOutlet(g,c){const m=c.getContext(g.value.outlet),_=m&&g.value.component?m.children:c,I=Fn(g);for(const U of Object.keys(I))this.deactivateRouteAndItsChildren(I[U],_);m&&(m.outlet&&(m.outlet.deactivate(),m.children.onOutletDeactivated()),m.attachRef=null,m.route=null)}activateChildRoutes(g,c,m){const _=Fn(c);g.children.forEach(I=>{this.activateRoutes(I,_[I.value.outlet],m),this.forwardEvent(new Kr(I.value.snapshot))}),g.children.length&&this.forwardEvent(new Nr(g.value.snapshot))}activateRoutes(g,c,m){const _=g.value,I=c?c.value:null;if(Ai(_),_===I)if(_.component){const U=m.getOrCreateContext(_.outlet);this.activateChildRoutes(g,c,U.children)}else this.activateChildRoutes(g,c,m);else if(_.component){const U=m.getOrCreateContext(_.outlet);if(this.routeReuseStrategy.shouldAttach(_.snapshot)){const Ee=this.routeReuseStrategy.retrieve(_.snapshot);this.routeReuseStrategy.store(_.snapshot,null),U.children.onOutletReAttached(Ee.contexts),U.attachRef=Ee.componentRef,U.route=Ee.route.value,U.outlet&&U.outlet.attach(Ee.componentRef,Ee.route.value),Ai(Ee.route.value),this.activateChildRoutes(g,null,U.children)}else{const Ee=yn(_.snapshot);U.attachRef=null,U.route=_,U.injector=Ee,U.outlet&&U.outlet.activateWith(_,U.injector),this.activateChildRoutes(g,null,U.children)}}else this.activateChildRoutes(g,null,m)}}class wr{constructor(g){this.path=g,this.route=this.path[this.path.length-1]}}class Li{constructor(g,c){this.component=g,this.route=c}}function io(d,g,c){const m=d._root;return Cr(m,g?g._root:null,c,[m.value])}function qi(d,g){const c=Symbol(),m=g.get(d,c);return m===c?"function"!=typeof d||(0,s.Z0I)(d)?g.get(d):d:m}function Cr(d,g,c,m,_={canDeactivateChecks:[],canActivateChecks:[]}){const I=Fn(g);return d.children.forEach(U=>{(function ro(d,g,c,m,_={canDeactivateChecks:[],canActivateChecks:[]}){const I=d.value,U=g?g.value:null,Ee=c?c.getContext(d.value.outlet):null;if(U&&I.routeConfig===U.routeConfig){const me=function Do(d,g,c){if("function"==typeof c)return c(d,g);switch(c){case"pathParamsChange":return!te(d.url,g.url);case"pathParamsOrQueryParamsChange":return!te(d.url,g.url)||!fn(d.queryParams,g.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xn(d,g)||!fn(d.queryParams,g.queryParams);default:return!Xn(d,g)}}(U,I,I.routeConfig.runGuardsAndResolvers);me?_.canActivateChecks.push(new wr(m)):(I.data=U.data,I._resolvedData=U._resolvedData),Cr(d,g,I.component?Ee?Ee.children:null:c,m,_),me&&Ee&&Ee.outlet&&Ee.outlet.isActivated&&_.canDeactivateChecks.push(new Li(Ee.outlet.component,U))}else U&&qn(g,Ee,_),_.canActivateChecks.push(new wr(m)),Cr(d,null,I.component?Ee?Ee.children:null:c,m,_)})(U,I[U.value.outlet],c,m.concat([U.value]),_),delete I[U.value.outlet]}),Object.entries(I).forEach(([U,Ee])=>qn(Ee,c.getContext(U),_)),_}function qn(d,g,c){const m=Fn(d),_=d.value;Object.entries(m).forEach(([I,U])=>{qn(U,_.component?g?g.children.getContext(I):null:g,c)}),c.canDeactivateChecks.push(new Li(_.component&&g&&g.outlet&&g.outlet.isActivated?g.outlet.component:null,_))}function wi(d){return"function"==typeof d}function wo(d){return d instanceof q||"EmptyError"===d?.name}const oo=Symbol("INITIAL_VALUE");function ki(){return(0,ze.w)(d=>(0,Ve.a)(d.map(g=>g.pipe((0,Ye.q)(1),(0,vt.O)(oo)))).pipe((0,Be.U)(g=>{for(const c of g)if(!0!==c){if(c===oo)return oo;if(!1===c||c instanceof hn)return c}return!0}),(0,ct.h)(g=>g!==oo),(0,Ye.q)(1)))}function j(d){return(0,ke.z)((0,ue.b)(g=>{if(di(g))throw kr(0,g)}),(0,Be.U)(g=>!0===g))}class Ae{constructor(g){this.segmentGroup=g||null}}class qe{constructor(g){this.urlTree=g}}function Mt(d){return(0,Je._)(new Ae(d))}function un(d){return(0,Je._)(new qe(d))}class Mr{constructor(g,c){this.urlSerializer=g,this.urlTree=c}noMatchError(g){return new s.vHH(4002,!1)}lineralizeSegments(g,c){let m=[],_=c.root;for(;;){if(m=m.concat(_.segments),0===_.numberOfChildren)return(0,ne.of)(m);if(_.numberOfChildren>1||!_.children[Ze])return(0,Je._)(new s.vHH(4e3,!1));_=_.children[Ze]}}applyRedirectCommands(g,c,m){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),g,m)}applyRedirectCreateUrlTree(g,c,m,_){const I=this.createSegmentGroup(g,c.root,m,_);return new hn(I,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(g,c){const m={};return Object.entries(g).forEach(([_,I])=>{if("string"==typeof I&&I.startsWith(":")){const Ee=I.substring(1);m[_]=c[Ee]}else m[_]=I}),m}createSegmentGroup(g,c,m,_){const I=this.createSegments(g,c.segments,m,_);let U={};return Object.entries(c.children).forEach(([Ee,me])=>{U[Ee]=this.createSegmentGroup(g,me,m,_)}),new Ut(I,U)}createSegments(g,c,m,_){return c.map(I=>I.path.startsWith(":")?this.findPosParam(g,I,_):this.findOrReturn(I,m))}findPosParam(g,c,m){const _=m[c.path.substring(1)];if(!_)throw new s.vHH(4001,!1);return _}findOrReturn(g,c){let m=0;for(const _ of c){if(_.path===g.path)return c.splice(m),_;m++}return g}}const ao={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Bo(d,g,c,m,_){const I=Mo(d,g,c);return I.matched?(m=function Ki(d,g){return d.providers&&!d._injector&&(d._injector=(0,s.MMx)(d.providers,g,`Route: ${d.path}`)),d._injector??g}(g,m),function Y(d,g,c,m){const _=g.canMatch;if(!_||0===_.length)return(0,ne.of)(!0);const I=_.map(U=>{const Ee=qi(U,d);return wn(function Eo(d){return d&&wi(d.canMatch)}(Ee)?Ee.canMatch(g,c):d.runInContext(()=>Ee(g,c)))});return(0,ne.of)(I).pipe(ki(),j())}(m,g,c).pipe((0,Be.U)(U=>!0===U?I:{...ao}))):(0,ne.of)(I)}function Mo(d,g,c){if(""===g.path)return"full"===g.pathMatch&&(d.hasChildren()||c.length>0)?{...ao}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const _=(g.matcher||nn)(c,d,g);if(!_)return{...ao};const I={};Object.entries(_.posParams??{}).forEach(([Ee,me])=>{I[Ee]=me.path});const U=_.consumed.length>0?{...I,..._.consumed[_.consumed.length-1].parameters}:I;return{matched:!0,consumedSegments:_.consumed,remainingSegments:c.slice(_.consumed.length),parameters:U,positionalParamSegments:_.posParams??{}}}function Yo(d,g,c,m){return c.length>0&&function jo(d,g,c){return c.some(m=>lr(d,g,m)&&gn(m)!==Ze)}(d,c,m)?{segmentGroup:new Ut(g,Ko(m,new Ut(c,d.children))),slicedSegments:[]}:0===c.length&&function Ur(d,g,c){return c.some(m=>lr(d,g,m))}(d,c,m)?{segmentGroup:new Ut(d.segments,ds(d,0,c,m,d.children)),slicedSegments:c}:{segmentGroup:new Ut(d.segments,d.children),slicedSegments:c}}function ds(d,g,c,m,_){const I={};for(const U of m)if(lr(d,c,U)&&!_[gn(U)]){const Ee=new Ut([],{});I[gn(U)]=Ee}return{..._,...I}}function Ko(d,g){const c={};c[Ze]=g;for(const m of d)if(""===m.path&&gn(m)!==Ze){const _=new Ut([],{});c[gn(m)]=_}return c}function lr(d,g,c){return(!(d.hasChildren()||g.length>0)||"full"!==c.pathMatch)&&""===c.path}class f{constructor(g,c,m,_,I,U,Ee){this.injector=g,this.configLoader=c,this.rootComponentType=m,this.config=_,this.urlTree=I,this.paramsInheritanceStrategy=U,this.urlSerializer=Ee,this.allowRedirects=!0,this.applyRedirects=new Mr(this.urlSerializer,this.urlTree)}noMatchError(g){return new s.vHH(4002,!1)}recognize(){const g=Yo(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,g,Ze).pipe((0,ve.K)(c=>{if(c instanceof qe)return this.allowRedirects=!1,this.urlTree=c.urlTree,this.match(c.urlTree);throw c instanceof Ae?this.noMatchError(c):c}),(0,Be.U)(c=>{const m=new tt([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ze,this.rootComponentType,null,{}),_=new Qn(m,c),I=new Tt("",_),U=function er(d,g,c=null,m=null){return ri(Hn(d),g,c,m)}(m,[],this.urlTree.queryParams,this.urlTree.fragment);return U.queryParams=this.urlTree.queryParams,I.url=this.urlSerializer.serialize(U),this.inheritParamsAndData(I._root),{state:I,tree:U}}))}match(g){return this.processSegmentGroup(this.injector,this.config,g.root,Ze).pipe((0,ve.K)(m=>{throw m instanceof Ae?this.noMatchError(m):m}))}inheritParamsAndData(g){const c=g.value,m=ir(c,this.paramsInheritanceStrategy);c.params=Object.freeze(m.params),c.data=Object.freeze(m.data),g.children.forEach(_=>this.inheritParamsAndData(_))}processSegmentGroup(g,c,m,_){return 0===m.segments.length&&m.hasChildren()?this.processChildren(g,c,m):this.processSegment(g,c,m,m.segments,_,!0)}processChildren(g,c,m){const _=[];for(const I of Object.keys(m.children))"primary"===I?_.unshift(I):_.push(I);return(0,ie.D)(_).pipe((0,ei.b)(I=>{const U=m.children[I],Ee=function ar(d,g){const c=d.filter(m=>gn(m)===g);return c.push(...d.filter(m=>gn(m)!==g)),c}(c,I);return this.processSegmentGroup(g,Ee,U,I)}),function Se(d,g){return(0,yt.e)(function ye(d,g,c,m,_){return(I,U)=>{let Ee=c,me=g,ot=0;I.subscribe((0,It.x)(U,Vt=>{const In=ot++;me=Ee?d(me,Vt,In):(Ee=!0,Vt),m&&U.next(me)},_&&(()=>{Ee&&U.next(me),U.complete()})))}}(d,g,arguments.length>=2,!0))}((I,U)=>(I.push(...U),I)),kn(null),function ge(d,g){const c=arguments.length>=2;return m=>m.pipe(d?(0,ct.h)((_,I)=>d(_,I,m)):Rn.y,pe(1),c?kn(g):Zn(()=>new q))}(),(0,At.z)(I=>{if(null===I)return Mt(m);const U=N(I);return function v(d){d.sort((g,c)=>g.value.outlet===Ze?-1:c.value.outlet===Ze?1:g.value.outlet.localeCompare(c.value.outlet))}(U),(0,ne.of)(U)}))}processSegment(g,c,m,_,I,U){return(0,ie.D)(c).pipe((0,ei.b)(Ee=>this.processSegmentAgainstRoute(Ee._injector??g,c,Ee,m,_,I,U).pipe((0,ve.K)(me=>{if(me instanceof Ae)return(0,ne.of)(null);throw me}))),Bn(Ee=>!!Ee),(0,ve.K)(Ee=>{if(wo(Ee))return function E(d,g,c){return 0===g.length&&!d.children[c]}(m,_,I)?(0,ne.of)([]):Mt(m);throw Ee}))}processSegmentAgainstRoute(g,c,m,_,I,U,Ee){return function Uo(d,g,c,m){return!!(gn(d)===m||m!==Ze&&lr(g,c,d))&&("**"===d.path||Mo(g,d,c).matched)}(m,_,I,U)?void 0===m.redirectTo?this.matchSegmentAgainstRoute(g,_,m,I,U,Ee):Ee&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(g,_,c,m,I,U):Mt(_):Mt(_)}expandSegmentAgainstRouteUsingRedirect(g,c,m,_,I,U){return"**"===_.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(g,m,_,U):this.expandRegularSegmentAgainstRouteUsingRedirect(g,c,m,_,I,U)}expandWildCardWithParamsAgainstRouteUsingRedirect(g,c,m,_){const I=this.applyRedirects.applyRedirectCommands([],m.redirectTo,{});return m.redirectTo.startsWith("/")?un(I):this.applyRedirects.lineralizeSegments(m,I).pipe((0,At.z)(U=>{const Ee=new Ut(U,{});return this.processSegment(g,c,Ee,U,_,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(g,c,m,_,I,U){const{matched:Ee,consumedSegments:me,remainingSegments:ot,positionalParamSegments:Vt}=Mo(c,_,I);if(!Ee)return Mt(c);const In=this.applyRedirects.applyRedirectCommands(me,_.redirectTo,Vt);return _.redirectTo.startsWith("/")?un(In):this.applyRedirects.lineralizeSegments(_,In).pipe((0,At.z)(ln=>this.processSegment(g,m,c,ln.concat(ot),U,!1)))}matchSegmentAgainstRoute(g,c,m,_,I,U){let Ee;if("**"===m.path){const me=_.length>0?jn(_).parameters:{},ot=new tt(_,me,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,K(m),gn(m),m.component??m._loadedComponent??null,m,he(m));Ee=(0,ne.of)({snapshot:ot,consumedSegments:[],remainingSegments:[]}),c.children={}}else Ee=Bo(c,m,_,g).pipe((0,Be.U)(({matched:me,consumedSegments:ot,remainingSegments:Vt,parameters:In})=>me?{snapshot:new tt(ot,In,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,K(m),gn(m),m.component??m._loadedComponent??null,m,he(m)),consumedSegments:ot,remainingSegments:Vt}:null));return Ee.pipe((0,ze.w)(me=>null===me?Mt(c):this.getChildConfig(g=m._injector??g,m,_).pipe((0,ze.w)(({routes:ot})=>{const Vt=m._loadedInjector??g,{snapshot:In,consumedSegments:ln,remainingSegments:Sr}=me,{segmentGroup:Xo,slicedSegments:Jo}=Yo(c,ln,Sr,ot);if(0===Jo.length&&Xo.hasChildren())return this.processChildren(Vt,ot,Xo).pipe((0,Be.U)(ur=>null===ur?null:[new Qn(In,ur)]));if(0===ot.length&&0===Jo.length)return(0,ne.of)([new Qn(In,[])]);const vi=gn(m)===I;return this.processSegment(Vt,ot,Xo,Jo,vi?Ze:I,!0).pipe((0,Be.U)(ur=>[new Qn(In,ur)]))}))))}getChildConfig(g,c,m){return c.children?(0,ne.of)({routes:c.children,injector:g}):c.loadChildren?void 0!==c._loadedRoutes?(0,ne.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function z(d,g,c,m){const _=g.canLoad;if(void 0===_||0===_.length)return(0,ne.of)(!0);const I=_.map(U=>{const Ee=qi(U,d);return wn(function jr(d){return d&&wi(d.canLoad)}(Ee)?Ee.canLoad(g,c):d.runInContext(()=>Ee(g,c)))});return(0,ne.of)(I).pipe(ki(),j())}(g,c,m).pipe((0,At.z)(_=>_?this.configLoader.loadChildren(g,c).pipe((0,ue.b)(I=>{c._loadedRoutes=I.routes,c._loadedInjector=I.injector})):function $n(d){return(0,Je._)(rr(!1,3))}())):(0,ne.of)({routes:[],injector:g})}}function C(d){const g=d.value.routeConfig;return g&&""===g.path}function N(d){const g=[],c=new Set;for(const m of d){if(!C(m)){g.push(m);continue}const _=g.find(I=>m.value.routeConfig===I.value.routeConfig);void 0!==_?(_.children.push(...m.children),c.add(_)):g.push(m)}for(const m of c){const _=N(m.children);g.push(new Qn(m.value,_))}return g.filter(m=>!c.has(m))}function K(d){return d.data||{}}function he(d){return d.resolve||{}}function y(d){return"string"==typeof d.title||null===d.title}function D(d){return(0,ze.w)(g=>{const c=d(g);return c?(0,ie.D)(c).pipe((0,Be.U)(()=>g)):(0,ne.of)(g)})}const L=new s.OlP("ROUTES");let ce=(()=>{class d{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,s.f3M)(s.Sil)}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,ne.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const m=wn(c.loadComponent()).pipe((0,Be.U)(tn),(0,ue.b)(I=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=I}),(0,We.x)(()=>{this.componentLoaders.delete(c)})),_=new _e(m,()=>new be.x).pipe(kt());return this.componentLoaders.set(c,_),_}loadChildren(c,m){if(this.childrenLoaders.get(m))return this.childrenLoaders.get(m);if(m._loadedRoutes)return(0,ne.of)({routes:m._loadedRoutes,injector:m._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(m);const I=function Oe(d,g,c,m){return wn(d.loadChildren()).pipe((0,Be.U)(tn),(0,At.z)(_=>_ instanceof s.YKP||Array.isArray(_)?(0,ne.of)(_):(0,ie.D)(g.compileModuleAsync(_))),(0,Be.U)(_=>{m&&m(d);let I,U,Ee=!1;return Array.isArray(_)?(U=_,!0):(I=_.create(c).injector,U=I.get(L,[],{optional:!0,self:!0}).flat()),{routes:U.map(sr),injector:I}}))}(m,this.compiler,c,this.onLoadEndListener).pipe((0,We.x)(()=>{this.childrenLoaders.delete(m)})),U=new _e(I,()=>new be.x).pipe(kt());return this.childrenLoaders.set(m,U),U}static#e=this.\u0275fac=function(m){return new(m||d)};static#t=this.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})();function tn(d){return function nt(d){return d&&"object"==typeof d&&"default"in d}(d)?d.default:d}let Gt=(()=>{class d{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new be.x,this.transitionAbortSubject=new be.x,this.configLoader=(0,s.f3M)(ce),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(R),this.rootContexts=(0,s.f3M)(bt),this.inputBindingEnabled=null!==(0,s.f3M)(hi,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,ne.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=_=>this.events.next(new Kn(_)),this.configLoader.onLoadStartListener=_=>this.events.next(new br(_))}complete(){this.transitions?.complete()}handleNavigationRequest(c){const m=++this.navigationId;this.transitions?.next({...this.transitions.value,...c,id:m})}setupNavigations(c,m,_){return this.transitions=new Ce.X({id:0,currentUrlTree:m,currentRawUrl:m,currentBrowserUrl:m,extractedUrl:c.urlHandlingStrategy.extract(m),urlAfterRedirects:c.urlHandlingStrategy.extract(m),rawUrl:m,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:mr,restoredState:null,currentSnapshot:_.snapshot,targetSnapshot:null,currentRouterState:_,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ct.h)(I=>0!==I.id),(0,Be.U)(I=>({...I,extractedUrl:c.urlHandlingStrategy.extract(I.rawUrl)})),(0,ze.w)(I=>{this.currentTransition=I;let U=!1,Ee=!1;return(0,ne.of)(I).pipe((0,ue.b)(me=>{this.currentNavigation={id:me.id,initialUrl:me.rawUrl,extractedUrl:me.extractedUrl,trigger:me.source,extras:me.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ze.w)(me=>{const ot=me.currentBrowserUrl.toString(),Vt=!c.navigated||me.extractedUrl.toString()!==ot||ot!==me.currentUrlTree.toString();if(!Vt&&"reload"!==(me.extras.onSameUrlNavigation??c.onSameUrlNavigation)){const ln="";return this.events.next(new Gi(me.id,this.urlSerializer.serialize(me.rawUrl),ln,0)),me.resolve(null),Ue.E}if(c.urlHandlingStrategy.shouldProcessUrl(me.rawUrl))return(0,ne.of)(me).pipe((0,ze.w)(ln=>{const Sr=this.transitions?.getValue();return this.events.next(new yr(ln.id,this.urlSerializer.serialize(ln.extractedUrl),ln.source,ln.restoredState)),Sr!==this.transitions?.getValue()?Ue.E:Promise.resolve(ln)}),function Ne(d,g,c,m,_,I){return(0,At.z)(U=>function l(d,g,c,m,_,I,U="emptyOnly"){return new f(d,g,c,m,_,U,I).recognize()}(d,g,c,m,U.extractedUrl,_,I).pipe((0,Be.U)(({state:Ee,tree:me})=>({...U,targetSnapshot:Ee,urlAfterRedirects:me}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,ue.b)(ln=>{I.targetSnapshot=ln.targetSnapshot,I.urlAfterRedirects=ln.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:ln.urlAfterRedirects};const Sr=new to(ln.id,this.urlSerializer.serialize(ln.extractedUrl),this.urlSerializer.serialize(ln.urlAfterRedirects),ln.targetSnapshot);this.events.next(Sr)}));if(Vt&&c.urlHandlingStrategy.shouldProcessUrl(me.currentRawUrl)){const{id:ln,extractedUrl:Sr,source:Xo,restoredState:Jo,extras:vi}=me,ur=new yr(ln,this.urlSerializer.serialize(Sr),Xo,Jo);this.events.next(ur);const Yn=nr(0,this.rootComponentType).snapshot;return this.currentTransition=I={...me,targetSnapshot:Yn,urlAfterRedirects:Sr,extras:{...vi,skipLocationChange:!1,replaceUrl:!1}},(0,ne.of)(I)}{const ln="";return this.events.next(new Gi(me.id,this.urlSerializer.serialize(me.extractedUrl),ln,1)),me.resolve(null),Ue.E}}),(0,ue.b)(me=>{const ot=new Wi(me.id,this.urlSerializer.serialize(me.extractedUrl),this.urlSerializer.serialize(me.urlAfterRedirects),me.targetSnapshot);this.events.next(ot)}),(0,Be.U)(me=>(this.currentTransition=I={...me,guards:io(me.targetSnapshot,me.currentSnapshot,this.rootContexts)},I)),function Lo(d,g){return(0,At.z)(c=>{const{targetSnapshot:m,currentSnapshot:_,guards:{canActivateChecks:I,canDeactivateChecks:U}}=c;return 0===U.length&&0===I.length?(0,ne.of)({...c,guardsResult:!0}):function Qr(d,g,c,m){return(0,ie.D)(d).pipe((0,At.z)(_=>function xe(d,g,c,m,_){const I=g&&g.routeConfig?g.routeConfig.canDeactivate:null;if(!I||0===I.length)return(0,ne.of)(!0);const U=I.map(Ee=>{const me=yn(g)??_,ot=qi(Ee,me);return wn(function No(d){return d&&wi(d.canDeactivate)}(ot)?ot.canDeactivate(d,g,c,m):me.runInContext(()=>ot(d,g,c,m))).pipe(Bn())});return(0,ne.of)(U).pipe(ki())}(_.component,_.route,c,g,m)),Bn(_=>!0!==_,!0))}(U,m,_,d).pipe((0,At.z)(Ee=>Ee&&function xo(d){return"boolean"==typeof d}(Ee)?function so(d,g,c,m){return(0,ie.D)(g).pipe((0,ei.b)(_=>(0,de.z)(function qr(d,g){return null!==d&&g&&g(new Wr(d)),(0,ne.of)(!0)}(_.route.parent,m),function ko(d,g){return null!==d&&g&&g(new Yr(d)),(0,ne.of)(!0)}(_.route,m),function Ti(d,g,c){const m=g[g.length-1],I=g.slice(0,g.length-1).reverse().map(U=>function li(d){const g=d.routeConfig?d.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:d,guards:g}:null}(U)).filter(U=>null!==U).map(U=>je(()=>{const Ee=U.guards.map(me=>{const ot=yn(U.node)??c,Vt=qi(me,ot);return wn(function Pn(d){return d&&wi(d.canActivateChild)}(Vt)?Vt.canActivateChild(m,d):ot.runInContext(()=>Vt(m,d))).pipe(Bn())});return(0,ne.of)(Ee).pipe(ki())}));return(0,ne.of)(I).pipe(ki())}(d,_.path,c),function Co(d,g,c){const m=g.routeConfig?g.routeConfig.canActivate:null;if(!m||0===m.length)return(0,ne.of)(!0);const _=m.map(I=>je(()=>{const U=yn(g)??c,Ee=qi(I,U);return wn(function Po(d){return d&&wi(d.canActivate)}(Ee)?Ee.canActivate(g,d):U.runInContext(()=>Ee(g,d))).pipe(Bn())}));return(0,ne.of)(_).pipe(ki())}(d,_.route,c))),Bn(_=>!0!==_,!0))}(m,I,d,g):(0,ne.of)(Ee)),(0,Be.U)(Ee=>({...c,guardsResult:Ee})))})}(this.environmentInjector,me=>this.events.next(me)),(0,ue.b)(me=>{if(I.guardsResult=me.guardsResult,di(me.guardsResult))throw kr(0,me.guardsResult);const ot=new Yi(me.id,this.urlSerializer.serialize(me.extractedUrl),this.urlSerializer.serialize(me.urlAfterRedirects),me.targetSnapshot,!!me.guardsResult);this.events.next(ot)}),(0,ct.h)(me=>!!me.guardsResult||(this.cancelNavigationTransition(me,"",3),!1)),D(me=>{if(me.guards.canActivateChecks.length)return(0,ne.of)(me).pipe((0,ue.b)(ot=>{const Vt=new Pr(ot.id,this.urlSerializer.serialize(ot.extractedUrl),this.urlSerializer.serialize(ot.urlAfterRedirects),ot.targetSnapshot);this.events.next(Vt)}),(0,ze.w)(ot=>{let Vt=!1;return(0,ne.of)(ot).pipe(function it(d,g){return(0,At.z)(c=>{const{targetSnapshot:m,guards:{canActivateChecks:_}}=c;if(!_.length)return(0,ne.of)(c);let I=0;return(0,ie.D)(_).pipe((0,ei.b)(U=>function st(d,g,c,m){const _=d.routeConfig,I=d._resolve;return void 0!==_?.title&&!y(_)&&(I[Wt]=_.title),function qt(d,g,c,m){const _=function h(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===_.length)return(0,ne.of)({});const I={};return(0,ie.D)(_).pipe((0,At.z)(U=>function x(d,g,c,m){const _=yn(g)??m,I=qi(d,_);return wn(I.resolve?I.resolve(g,c):_.runInContext(()=>I(g,c)))}(d[U],g,c,m).pipe(Bn(),(0,ue.b)(Ee=>{I[U]=Ee}))),pe(1),function Ke(d){return(0,Be.U)(()=>d)}(I),(0,ve.K)(U=>wo(U)?Ue.E:(0,Je._)(U)))}(I,d,g,m).pipe((0,Be.U)(U=>(d._resolvedData=U,d.data=ir(d,c).resolve,_&&y(_)&&(d.data[Wt]=_.title),null)))}(U.route,m,d,g)),(0,ue.b)(()=>I++),pe(1),(0,At.z)(U=>I===_.length?(0,ne.of)(c):Ue.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,ue.b)({next:()=>Vt=!0,complete:()=>{Vt||this.cancelNavigationTransition(ot,"",2)}}))}),(0,ue.b)(ot=>{const Vt=new vr(ot.id,this.urlSerializer.serialize(ot.extractedUrl),this.urlSerializer.serialize(ot.urlAfterRedirects),ot.targetSnapshot);this.events.next(Vt)}))}),D(me=>{const ot=Vt=>{const In=[];Vt.routeConfig?.loadComponent&&!Vt.routeConfig._loadedComponent&&In.push(this.configLoader.loadComponent(Vt.routeConfig).pipe((0,ue.b)(ln=>{Vt.component=ln}),(0,Be.U)(()=>{})));for(const ln of Vt.children)In.push(...ot(ln));return In};return(0,Ve.a)(ot(me.targetSnapshot.root)).pipe(kn(),(0,Ye.q)(1))}),D(()=>this.afterPreactivation()),(0,Be.U)(me=>{const ot=function Rt(d,g,c){const m=Ni(d,g._root,c?c._root:void 0);return new _r(m,g)}(c.routeReuseStrategy,me.targetSnapshot,me.currentRouterState);return this.currentTransition=I={...me,targetRouterState:ot},I}),(0,ue.b)(()=>{this.events.next(new J)}),((d,g,c,m)=>(0,Be.U)(_=>(new ii(g,_.targetRouterState,_.currentRouterState,c,m).activate(d),_)))(this.rootContexts,c.routeReuseStrategy,me=>this.events.next(me),this.inputBindingEnabled),(0,Ye.q)(1),(0,ue.b)({next:me=>{U=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new xi(me.id,this.urlSerializer.serialize(me.extractedUrl),this.urlSerializer.serialize(me.urlAfterRedirects))),c.titleStrategy?.updateTitle(me.targetRouterState.snapshot),me.resolve(!0)},complete:()=>{U=!0}}),(0,dn.R)(this.transitionAbortSubject.pipe((0,ue.b)(me=>{throw me}))),(0,We.x)(()=>{U||Ee||this.cancelNavigationTransition(I,"",1),this.currentNavigation?.id===I.id&&(this.currentNavigation=null)}),(0,ve.K)(me=>{if(Ee=!0,or(me))this.events.next(new Dn(I.id,this.urlSerializer.serialize(I.extractedUrl),me.message,me.cancellationCode)),function Ii(d){return or(d)&&di(d.url)}(me)?this.events.next(new V(me.url)):I.resolve(!1);else{this.events.next(new zi(I.id,this.urlSerializer.serialize(I.extractedUrl),me,I.targetSnapshot??void 0));try{I.resolve(c.errorHandler(me))}catch(ot){I.reject(ot)}}return Ue.E}))}))}cancelNavigationTransition(c,m,_){const I=new Dn(c.id,this.urlSerializer.serialize(c.extractedUrl),m,_);this.events.next(I),c.resolve(!1)}static#e=this.\u0275fac=function(m){return new(m||d)};static#t=this.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})();function Ot(d){return d!==mr}let St=(()=>{class d{buildTitle(c){let m,_=c.root;for(;void 0!==_;)m=this.getResolvedTitleForRoute(_)??m,_=_.children.find(I=>I.outlet===Ze);return m}getResolvedTitleForRoute(c){return c.data[Wt]}static#e=this.\u0275fac=function(m){return new(m||d)};static#t=this.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(sn)},providedIn:"root"})}return d})(),sn=(()=>{class d extends St{constructor(c){super(),this.title=c}updateTitle(c){const m=this.buildTitle(c);void 0!==m&&this.title.setTitle(m)}static#e=this.\u0275fac=function(m){return new(m||d)(s.LFG(Yt.Dx))};static#t=this.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})(),Zt=(()=>{class d{static#e=this.\u0275fac=function(m){return new(m||d)};static#t=this.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(mi)},providedIn:"root"})}return d})();class Gn{shouldDetach(g){return!1}store(g,c){}shouldAttach(g){return!1}retrieve(g){return null}shouldReuseRoute(g,c){return g.routeConfig===c.routeConfig}}let mi=(()=>{class d extends Gn{static#e=this.\u0275fac=function(){let c;return function(_){return(c||(c=s.n5z(d)))(_||d)}}();static#t=this.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})();const zn=new s.OlP("",{providedIn:"root",factory:()=>({})});let Ar=(()=>{class d{static#e=this.\u0275fac=function(m){return new(m||d)};static#t=this.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(fi)},providedIn:"root"})}return d})(),fi=(()=>{class d{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,m){return c}static#e=this.\u0275fac=function(m){return new(m||d)};static#t=this.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})();var rt=function(d){return d[d.COMPLETE=0]="COMPLETE",d[d.FAILED=1]="FAILED",d[d.REDIRECTING=2]="REDIRECTING",d}(rt||{});function lt(d,g){d.events.pipe((0,ct.h)(c=>c instanceof xi||c instanceof Dn||c instanceof zi||c instanceof Gi),(0,Be.U)(c=>c instanceof xi||c instanceof Gi?rt.COMPLETE:c instanceof Dn&&(0===c.code||1===c.code)?rt.REDIRECTING:rt.FAILED),(0,ct.h)(c=>c!==rt.REDIRECTING),(0,Ye.q)(1)).subscribe(()=>{g()})}function xt(d){throw d}function rn(d,g,c){return g.parse("/")}const Bt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Bi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let vn=(()=>{class d{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,s.f3M)(s.c2e),this.isNgZoneEnabled=!1,this._events=new be.x,this.options=(0,s.f3M)(zn,{optional:!0})||{},this.pendingTasks=(0,s.f3M)(s.HDt),this.errorHandler=this.options.errorHandler||xt,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||rn,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,s.f3M)(Ar),this.routeReuseStrategy=(0,s.f3M)(Zt),this.titleStrategy=(0,s.f3M)(St),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,s.f3M)(L,{optional:!0})?.flat()??[],this.navigationTransitions=(0,s.f3M)(Gt),this.urlSerializer=(0,s.f3M)(R),this.location=(0,s.f3M)(Me.Ye),this.componentInputBindingEnabled=!!(0,s.f3M)(hi,{optional:!0}),this.eventsSubscription=new ht.w0,this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new hn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=nr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(c=>{this.lastSuccessfulId=c.id,this.currentPageId=this.browserPageId},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const c=this.navigationTransitions.events.subscribe(m=>{try{const{currentTransition:_}=this.navigationTransitions;if(null===_)return void(Nn(m)&&this._events.next(m));if(m instanceof yr)Ot(_.source)&&(this.browserUrlTree=_.extractedUrl);else if(m instanceof Gi)this.rawUrlTree=_.rawUrl;else if(m instanceof to){if("eager"===this.urlUpdateStrategy){if(!_.extras.skipLocationChange){const I=this.urlHandlingStrategy.merge(_.urlAfterRedirects,_.rawUrl);this.setBrowserUrl(I,_)}this.browserUrlTree=_.urlAfterRedirects}}else if(m instanceof J)this.currentUrlTree=_.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(_.urlAfterRedirects,_.rawUrl),this.routerState=_.targetRouterState,"deferred"===this.urlUpdateStrategy&&(_.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,_),this.browserUrlTree=_.urlAfterRedirects);else if(m instanceof Dn)0!==m.code&&1!==m.code&&(this.navigated=!0),(3===m.code||2===m.code)&&this.restoreHistory(_);else if(m instanceof V){const I=this.urlHandlingStrategy.merge(m.url,_.currentRawUrl),U={skipLocationChange:_.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ot(_.source)};this.scheduleNavigation(I,mr,null,U,{resolve:_.resolve,reject:_.reject,promise:_.promise})}m instanceof zi&&this.restoreHistory(_,!0),m instanceof xi&&(this.navigated=!0),Nn(m)&&this._events.next(m)}catch(_){this.navigationTransitions.transitionAbortSubject.next(_)}});this.eventsSubscription.add(c)}resetRootComponentType(c){this.routerState.root.component=c,this.navigationTransitions.rootComponentType=c}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const c=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),mr,c)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const m="popstate"===c.type?"popstate":"hashchange";"popstate"===m&&setTimeout(()=>{this.navigateToSyncWithBrowser(c.url,m,c.state)},0)}))}navigateToSyncWithBrowser(c,m,_){const I={replaceUrl:!0},U=_?.navigationId?_:null;if(_){const me={..._};delete me.navigationId,delete me.\u0275routerPageId,0!==Object.keys(me).length&&(I.state=me)}const Ee=this.parseUrl(c);this.scheduleNavigation(Ee,m,U,I)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(c){this.config=c.map(sr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(c,m={}){const{relativeTo:_,queryParams:I,fragment:U,queryParamsHandling:Ee,preserveFragment:me}=m,ot=me?this.currentUrlTree.fragment:U;let In,Vt=null;switch(Ee){case"merge":Vt={...this.currentUrlTree.queryParams,...I};break;case"preserve":Vt=this.currentUrlTree.queryParams;break;default:Vt=I||null}null!==Vt&&(Vt=this.removeEmptyProps(Vt));try{In=Hn(_?_.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof c[0]||!c[0].startsWith("/"))&&(c=[]),In=this.currentUrlTree.root}return ri(In,c,Vt,ot??null)}navigateByUrl(c,m={skipLocationChange:!1}){const _=di(c)?c:this.parseUrl(c),I=this.urlHandlingStrategy.merge(_,this.rawUrlTree);return this.scheduleNavigation(I,mr,null,m)}navigate(c,m={skipLocationChange:!1}){return function Wn(d){for(let g=0;g<d.length;g++)if(null==d[g])throw new s.vHH(4008,!1)}(c),this.navigateByUrl(this.createUrlTree(c,m),m)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let m;try{m=this.urlSerializer.parse(c)}catch(_){m=this.malformedUriErrorHandler(_,this.urlSerializer,c)}return m}isActive(c,m){let _;if(_=!0===m?{...Bt}:!1===m?{...Bi}:m,di(c))return _t(this.currentUrlTree,c,_);const I=this.parseUrl(c);return _t(this.currentUrlTree,I,_)}removeEmptyProps(c){return Object.keys(c).reduce((m,_)=>{const I=c[_];return null!=I&&(m[_]=I),m},{})}scheduleNavigation(c,m,_,I,U){if(this.disposed)return Promise.resolve(!1);let Ee,me,ot;U?(Ee=U.resolve,me=U.reject,ot=U.promise):ot=new Promise((In,ln)=>{Ee=In,me=ln});const Vt=this.pendingTasks.add();return lt(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Vt))}),this.navigationTransitions.handleNavigationRequest({source:m,restoredState:_,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:c,extras:I,resolve:Ee,reject:me,promise:ot,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ot.catch(In=>Promise.reject(In))}setBrowserUrl(c,m){const _=this.urlSerializer.serialize(c);if(this.location.isCurrentPathEqualTo(_)||m.extras.replaceUrl){const U={...m.extras.state,...this.generateNgRouterState(m.id,this.browserPageId)};this.location.replaceState(_,"",U)}else{const I={...m.extras.state,...this.generateNgRouterState(m.id,this.browserPageId+1)};this.location.go(_,"",I)}}restoreHistory(c,m=!1){if("computed"===this.canceledNavigationResolution){const I=this.currentPageId-this.browserPageId;0!==I?this.location.historyGo(I):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===I&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(m&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(c,m){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:m}:{navigationId:c}}static#e=this.\u0275fac=function(m){return new(m||d)};static#t=this.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})();function Nn(d){return!(d instanceof J||d instanceof V)}class Hr{}let cr=(()=>{class d{constructor(c,m,_,I,U){this.router=c,this.injector=_,this.preloadingStrategy=I,this.loader=U}setUpPreloading(){this.subscription=this.router.events.pipe((0,ct.h)(c=>c instanceof xi),(0,ei.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,m){const _=[];for(const I of m){I.providers&&!I._injector&&(I._injector=(0,s.MMx)(I.providers,c,`Route: ${I.path}`));const U=I._injector??c,Ee=I._loadedInjector??U;(I.loadChildren&&!I._loadedRoutes&&void 0===I.canLoad||I.loadComponent&&!I._loadedComponent)&&_.push(this.preloadConfig(U,I)),(I.children||I._loadedRoutes)&&_.push(this.processRoutes(Ee,I.children??I._loadedRoutes))}return(0,ie.D)(_).pipe((0,pt.J)())}preloadConfig(c,m){return this.preloadingStrategy.preload(m,()=>{let _;_=m.loadChildren&&void 0===m.canLoad?this.loader.loadChildren(c,m):(0,ne.of)(null);const I=_.pipe((0,At.z)(U=>null===U?(0,ne.of)(void 0):(m._loadedRoutes=U.routes,m._loadedInjector=U.injector,this.processRoutes(U.injector??c,U.routes))));if(m.loadComponent&&!m._loadedComponent){const U=this.loader.loadComponent(m);return(0,ie.D)([I,U]).pipe((0,pt.J)())}return I})}static#e=this.\u0275fac=function(m){return new(m||d)(s.LFG(vn),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(Hr),s.LFG(ce))};static#t=this.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})();const fs=new s.OlP("");let Va=(()=>{class d{constructor(c,m,_,I,U={}){this.urlSerializer=c,this.transitions=m,this.viewportScroller=_,this.zone=I,this.options=U,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},U.scrollPositionRestoration=U.scrollPositionRestoration||"disabled",U.anchorScrolling=U.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof yr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof xi?(this.lastId=c.id,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.urlAfterRedirects).fragment)):c instanceof Gi&&0===c.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof T&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,m){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new T(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,m))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(m){s.$Z()};static#t=this.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac})}return d})();function Vr(d,g){return{\u0275kind:d,\u0275providers:g}}function $a(){const d=(0,s.f3M)(s.zs3);return g=>{const c=d.get(s.z2F);if(g!==c.components[0])return;const m=d.get(vn),_=d.get(Ga);1===d.get(ta)&&m.initialNavigation(),d.get(Wa,null,s.XFs.Optional)?.setUpPreloading(),d.get(fs,null,s.XFs.Optional)?.init(),m.resetRootComponentType(c.componentTypes[0]),_.closed||(_.next(),_.complete(),_.unsubscribe())}}const Ga=new s.OlP("",{factory:()=>new be.x}),ta=new s.OlP("",{providedIn:"root",factory:()=>1}),Wa=new s.OlP("");function hc(d){return Vr(0,[{provide:Wa,useExisting:cr},{provide:Hr,useExisting:d}])}const Ya=new s.OlP("ROUTER_FORROOT_GUARD"),yi=[Me.Ye,{provide:R,useClass:$},vn,bt,{provide:Pi,useFactory:function ea(d){return d.routerState.root},deps:[vn]},ce,[]];function Ka(){return new s.PXZ("Router",vn)}let qo=(()=>{class d{constructor(c){}static forRoot(c,m){return{ngModule:d,providers:[yi,[],{provide:L,multi:!0,useValue:c},{provide:Ya,useFactory:pc,deps:[[vn,new s.FiY,new s.tp0]]},{provide:zn,useValue:m||{}},m?.useHash?{provide:Me.S$,useClass:Me.Do}:{provide:Me.S$,useClass:Me.b0},{provide:fs,useFactory:()=>{const d=(0,s.f3M)(Me.EM),g=(0,s.f3M)(s.R0b),c=(0,s.f3M)(zn),m=(0,s.f3M)(Gt),_=(0,s.f3M)(R);return c.scrollOffset&&d.setOffset(c.scrollOffset),new Va(_,m,d,g,c)}},m?.preloadingStrategy?hc(m.preloadingStrategy).\u0275providers:[],{provide:s.PXZ,multi:!0,useFactory:Ka},m?.initialNavigation?Hd(m):[],m?.bindToComponentInputs?Vr(8,[Ei,{provide:hi,useExisting:Ei}]).\u0275providers:[],[{provide:ra,useFactory:$a},{provide:s.tb,multi:!0,useExisting:ra}]]}}static forChild(c){return{ngModule:d,providers:[{provide:L,multi:!0,useValue:c}]}}static#e=this.\u0275fac=function(m){return new(m||d)(s.LFG(Ya,8))};static#t=this.\u0275mod=s.oAB({type:d});static#n=this.\u0275inj=s.cJS({})}return d})();function pc(d){return"guarded"}function Hd(d){return["disabled"===d.initialNavigation?Vr(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const g=(0,s.f3M)(vn);return()=>{g.setUpLocationChangeListener()}}},{provide:ta,useValue:2}]).\u0275providers:[],"enabledBlocking"===d.initialNavigation?Vr(2,[{provide:ta,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:g=>{const c=g.get(Me.V_,Promise.resolve());return()=>c.then(()=>new Promise(m=>{const _=g.get(vn),I=g.get(Ga);lt(_,()=>{m(!0)}),g.get(Gt).afterPreactivation=()=>(m(!0),I.closed?(0,ne.of)(void 0):I),_.initialNavigation()}))}}]).\u0275providers:[]]}const ra=new s.OlP("")},7582:(dt,Te,S)=>{function ae(ue,ve,ye,Se){return new(ye||(ye=Promise))(function(ge,Ke){function We(Yt){try{pt(Se.next(Yt))}catch(Ze){Ke(Ze)}}function dn(Yt){try{pt(Se.throw(Yt))}catch(Ze){Ke(Ze)}}function pt(Yt){Yt.done?ge(Yt.value):function pe(ge){return ge instanceof ye?ge:new ye(function(Ke){Ke(ge)})}(Yt.value).then(We,dn)}pt((Se=Se.apply(ue,ve||[])).next())})}function _e(ue){return this instanceof _e?(this.v=ue,this):new _e(ue)}function be(ue,ve,ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,Se=ye.apply(ue,ve||[]),ge=[];return pe={},Ke("next"),Ke("throw"),Ke("return"),pe[Symbol.asyncIterator]=function(){return this},pe;function Ke(Wt){Se[Wt]&&(pe[Wt]=function(cn){return new Promise(function(Kt,nn){ge.push([Wt,cn,Kt,nn])>1||We(Wt,cn)})})}function We(Wt,cn){try{!function dn(Wt){Wt.value instanceof _e?Promise.resolve(Wt.value.v).then(pt,Yt):Ze(ge[0][2],Wt)}(Se[Wt](cn))}catch(Kt){Ze(ge[0][3],Kt)}}function pt(Wt){We("next",Wt)}function Yt(Wt){We("throw",Wt)}function Ze(Wt,cn){Wt(cn),ge.shift(),ge.length&&We(ge[0][0],ge[0][1])}}function Be(ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ye,ve=ue[Symbol.asyncIterator];return ve?ve.call(ue):(ue=function Ue(ue){var ve="function"==typeof Symbol&&Symbol.iterator,ye=ve&&ue[ve],Se=0;if(ye)return ye.call(ue);if(ue&&"number"==typeof ue.length)return{next:function(){return ue&&Se>=ue.length&&(ue=void 0),{value:ue&&ue[Se++],done:!ue}}};throw new TypeError(ve?"Object is not iterable.":"Symbol.iterator is not defined.")}(ue),ye={},Se("next"),Se("throw"),Se("return"),ye[Symbol.asyncIterator]=function(){return this},ye);function Se(ge){ye[ge]=ue[ge]&&function(Ke){return new Promise(function(We,dn){!function pe(ge,Ke,We,dn){Promise.resolve(dn).then(function(pt){ge({value:pt,done:We})},Ke)}(We,dn,(Ke=ue[ge](Ke)).done,Ke.value)})}}}S.d(Te,{FC:()=>be,KL:()=>Be,mG:()=>ae,qq:()=>_e}),"function"==typeof SuppressedError&&SuppressedError}},dt=>{dt(dt.s=396)}]);
|