dealpos 12.2.2 → 12.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/POS/2527.c8c1472e2583d15c.js +1 -0
- package/POS/{4970.4b720eacff390388.js → 4970.4fd0b65a33ec215d.js} +1 -1
- package/POS/500.8a2dabd11040f420.js +1 -0
- package/POS/5453.70fcfbaa7bfcd55b.js +1 -0
- package/POS/5586.6557e4bd206a28bd.js +1 -0
- package/POS/6303.bfcba36635158bb0.js +1 -0
- package/POS/6664.5a6d92ea4c288821.js +1 -0
- package/POS/6840.d0036ec626577639.js +1 -0
- package/POS/{8126.a38cad86f4c81065.js → 8126.2a3f67a7639fa6c8.js} +1 -1
- package/POS/8317.5eadaac9d81f9a5f.js +1 -0
- package/POS/8425.8d3419e0fb226dda.js +1 -0
- package/POS/9042.5c52e1b1c2f26f40.js +1 -0
- package/POS/9612.6a332f69514c0983.js +1 -0
- package/POS/{9757.7255467eb7a81e5f.js → 9757.197c3204c36bdd73.js} +1 -1
- package/POS/{2527.7e671ae42215b675.js → 9841.5c1c03ebf5b7893e.js} +1 -1
- package/POS/index.html +2 -2
- package/POS/{main.5719023b63890082.js → main.434c24ea7d5f6011.js} +1 -1
- package/POS/runtime.7c28f5c91adf7583.js +1 -0
- package/package.json +1 -1
- package/POS/2526.b4ad12c60a108246.js +0 -1
- package/POS/500.0c17a4a814815447.js +0 -1
- package/POS/6303.5724083b307f1ed5.js +0 -1
- package/POS/6551.7ed8f31c22230139.js +0 -1
- package/POS/6664.567ef29551e80239.js +0 -1
- package/POS/6840.123d77eead78424d.js +0 -1
- package/POS/6911.3b1b89c2d61a261c.js +0 -1
- package/POS/8317.f9654b9e65973243.js +0 -1
- package/POS/9498.2b6e42b23bdba39a.js +0 -1
- package/POS/9612.0ffe44a08279c42b.js +0 -1
- package/POS/runtime.f4e420d04496da7f.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkPOS=self.webpackChunkPOS||[]).push([[179],{24766:(yt,Ee,g)=>{g.d(Ee,{N:()=>s});const s={production:!0,firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"},tinyMCEKey:"zc58cdrrftek5r5igtmjiar7ed4n3wr00hzd4w4mvtx8mpxa",version:"1222"}},907:(yt,Ee,g)=>{g.d(Ee,{Z:()=>s});var s=(()=>{return(d=s||(s={})).Outlet="Outlet",d.SyncTime="SyncTime",d.OutletPrice="OutletPrice",d.POSStorage="POSStorage",d.Product="Product",d.OfflineConfig="OfflineConfig",d.Order="Order",d.FailedOrder="FailedOrder",s;var d})()},32022:(yt,Ee,g)=>{var s=g(11481),d=g(94650),C=g(81180),$=g(80529),k=g(37340);function ce(E){return new d.vHH(3e3,!1)}function et(){return typeof window<"u"&&typeof window.document<"u"}function Mt(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function xt(E){switch(E.length){case 0:return new k.ZN;case 1:return E[0];default:return new k.ZE(E)}}function Lt(E,l,a,y,F=new Map,Q=new Map){const we=[],Me=[];let Xe=-1,rt=null;if(y.forEach(Nt=>{const Rt=Nt.get("offset"),vn=Rt==Xe,cn=vn&&rt||new Map;Nt.forEach((Xt,rn)=>{let Hn=rn,Zn=Xt;if("offset"!==rn)switch(Hn=l.normalizePropertyName(Hn,we),Zn){case k.k1:Zn=F.get(rn);break;case k.l3:Zn=Q.get(rn);break;default:Zn=l.normalizeStyleValue(rn,Hn,Zn,we)}cn.set(Hn,Zn)}),vn||Me.push(cn),rt=cn,Xe=Rt}),we.length)throw function st(E){return new d.vHH(3502,!1)}();return Me}function Kt(E,l,a,y){switch(l){case"start":E.onStart(()=>y(a&&hn(a,"start",E)));break;case"done":E.onDone(()=>y(a&&hn(a,"done",E)));break;case"destroy":E.onDestroy(()=>y(a&&hn(a,"destroy",E)))}}function hn(E,l,a){const Q=mn(E.element,E.triggerName,E.fromState,E.toState,l||E.phaseName,a.totalTime??E.totalTime,!!a.disabled),we=E._data;return null!=we&&(Q._data=we),Q}function mn(E,l,a,y,F="",Q=0,we){return{element:E,triggerName:l,fromState:a,toState:y,phaseName:F,totalTime:Q,disabled:!!we}}function zt(E,l,a){let y=E.get(l);return y||E.set(l,y=a),y}function bn(E){const l=E.indexOf(":");return[E.substring(1,l),E.slice(l+1)]}let Pn=(E,l)=>!1,ln=(E,l,a)=>[],yn=null;function Ne(E){const l=E.parentNode||E.host;return l===yn?null:l}(Mt()||typeof Element<"u")&&(et()?(yn=(()=>document.documentElement)(),Pn=(E,l)=>{for(;l;){if(l===E)return!0;l=Ne(l)}return!1}):Pn=(E,l)=>E.contains(l),ln=(E,l,a)=>{if(a)return Array.from(E.querySelectorAll(l));const y=E.querySelector(l);return y?[y]:[]});let Te=null,Qe=!1;const _e=Pn,it=ln;let Le=(()=>{class E{validateStyleProperty(a){return function ct(E){Te||(Te=function pt(){return typeof document<"u"?document.body:null}()||{},Qe=!!Te.style&&"WebkitAppearance"in Te.style);let l=!0;return Te.style&&!function de(E){return"ebkit"==E.substring(1,6)}(E)&&(l=E in Te.style,!l&&Qe&&(l="Webkit"+E.charAt(0).toUpperCase()+E.slice(1)in Te.style)),l}(a)}matchesElement(a,y){return!1}containsElement(a,y){return _e(a,y)}getParentElement(a){return Ne(a)}query(a,y,F){return it(a,y,F)}computeStyle(a,y,F){return F||""}animate(a,y,F,Q,we,Me=[],Xe){return new k.ZN(F,Q)}}return E.\u0275fac=function(a){return new(a||E)},E.\u0275prov=d.Yz7({token:E,factory:E.\u0275fac}),E})(),mt=(()=>{class E{}return E.NOOP=new Le,E})();const St=1e3,nn="ng-enter",jt="ng-leave",xn="ng-trigger",Nn=".ng-trigger",It="ng-animating",ut=".ng-animating";function z(E){if("number"==typeof E)return E;const l=E.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:x(parseFloat(l[1]),l[2])}function x(E,l){return"s"===l?E*St:E}function A(E,l,a){return E.hasOwnProperty("duration")?E:function ie(E,l,a){let F,Q=0,we="";if("string"==typeof E){const Me=E.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Me)return l.push(ce()),{duration:0,delay:0,easing:""};F=x(parseFloat(Me[1]),Me[2]);const Xe=Me[3];null!=Xe&&(Q=x(parseFloat(Xe),Me[4]));const rt=Me[5];rt&&(we=rt)}else F=E;if(!a){let Me=!1,Xe=l.length;F<0&&(l.push(function J(){return new d.vHH(3100,!1)}()),Me=!0),Q<0&&(l.push(function ne(){return new d.vHH(3101,!1)}()),Me=!0),Me&&l.splice(Xe,0,ce())}return{duration:F,delay:Q,easing:we}}(E,l,a)}function Ie(E,l={}){return Object.keys(E).forEach(a=>{l[a]=E[a]}),l}function te(E){const l=new Map;return Object.keys(E).forEach(a=>{l.set(a,E[a])}),l}function $e(E,l=new Map,a){if(a)for(let[y,F]of a)l.set(y,F);for(let[y,F]of E)l.set(y,F);return l}function Fe(E,l,a){return a?l+":"+a+";":""}function wt(E){let l="";for(let a=0;a<E.style.length;a++){const y=E.style.item(a);l+=Fe(0,y,E.style.getPropertyValue(y))}for(const a in E.style)E.style.hasOwnProperty(a)&&!a.startsWith("_")&&(l+=Fe(0,ri(a),E.style[a]));E.setAttribute("style",l)}function he(E,l,a){E.style&&(l.forEach((y,F)=>{const Q=oi(F);a&&!a.has(F)&&a.set(F,E.style[Q]),E.style[Q]=y}),Mt()&&wt(E))}function L(E,l){E.style&&(l.forEach((a,y)=>{const F=oi(y);E.style[F]=""}),Mt()&&wt(E))}function T(E){return Array.isArray(E)?1==E.length?E[0]:(0,k.vP)(E):E}const W=new RegExp("{{\\s*(.+?)\\s*}}","g");function ae(E){let l=[];if("string"==typeof E){let a;for(;a=W.exec(E);)l.push(a[1]);W.lastIndex=0}return l}function He(E,l,a){const y=E.toString(),F=y.replace(W,(Q,we)=>{let Me=l[we];return null==Me&&(a.push(function Z(E){return new d.vHH(3003,!1)}()),Me=""),Me.toString()});return F==y?E:F}function Et(E){const l=[];let a=E.next();for(;!a.done;)l.push(a.value),a=E.next();return l}const qt=/-+([a-z0-9])/g;function oi(E){return E.replace(qt,(...l)=>l[1].toUpperCase())}function ri(E){return E.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function gi(E,l,a){switch(l.type){case 7:return E.visitTrigger(l,a);case 0:return E.visitState(l,a);case 1:return E.visitTransition(l,a);case 2:return E.visitSequence(l,a);case 3:return E.visitGroup(l,a);case 4:return E.visitAnimate(l,a);case 5:return E.visitKeyframes(l,a);case 6:return E.visitStyle(l,a);case 8:return E.visitReference(l,a);case 9:return E.visitAnimateChild(l,a);case 10:return E.visitAnimateRef(l,a);case 11:return E.visitQuery(l,a);case 12:return E.visitStagger(l,a);default:throw function Y(E){return new d.vHH(3004,!1)}()}}function hr(E,l){return window.getComputedStyle(E)[l]}const Wn="*";function Cr(E,l){const a=[];return"string"==typeof E?E.split(/\s*,\s*/).forEach(y=>function Yi(E,l,a){if(":"==E[0]){const Xe=function Ri(E,l){switch(E){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,y)=>parseFloat(y)>parseFloat(a);case":decrement":return(a,y)=>parseFloat(y)<parseFloat(a);default:return l.push(function ve(E){return new d.vHH(3016,!1)}()),"* => *"}}(E,a);if("function"==typeof Xe)return void l.push(Xe);E=Xe}const y=E.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return a.push(function le(E){return new d.vHH(3015,!1)}()),l;const F=y[1],Q=y[2],we=y[3];l.push(In(F,we));"<"==Q[0]&&!(F==Wn&&we==Wn)&&l.push(In(we,F))}(y,a,l)):a.push(E),a}const kt=new Set(["true","1"]),tn=new Set(["false","0"]);function In(E,l){const a=kt.has(E)||tn.has(E),y=kt.has(l)||tn.has(l);return(F,Q)=>{let we=E==Wn||E==F,Me=l==Wn||l==Q;return!we&&a&&"boolean"==typeof F&&(we=F?kt.has(E):tn.has(E)),!Me&&y&&"boolean"==typeof Q&&(Me=Q?kt.has(l):tn.has(l)),we&&Me}}const Si=new RegExp("s*:selfs*,?","g");function An(E,l,a,y){return new Rn(E).build(l,a,y)}class Rn{constructor(l){this._driver=l}build(l,a,y){const F=new fn(a);return this._resetContextStyleTimingState(F),gi(this,T(l),F)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles=new Map,l.collectedStyles.set("",new Map),l.currentTime=0}visitTrigger(l,a){let y=a.queryCount=0,F=a.depCount=0;const Q=[],we=[];return"@"==l.name.charAt(0)&&a.errors.push(function be(){return new d.vHH(3006,!1)}()),l.definitions.forEach(Me=>{if(this._resetContextStyleTimingState(a),0==Me.type){const Xe=Me,rt=Xe.name;rt.toString().split(/\s*,\s*/).forEach(Nt=>{Xe.name=Nt,Q.push(this.visitState(Xe,a))}),Xe.name=rt}else if(1==Me.type){const Xe=this.visitTransition(Me,a);y+=Xe.queryCount,F+=Xe.depCount,we.push(Xe)}else a.errors.push(function Be(){return new d.vHH(3007,!1)}())}),{type:7,name:l.name,states:Q,transitions:we,queryCount:y,depCount:F,options:null}}visitState(l,a){const y=this.visitStyle(l.styles,a),F=l.options&&l.options.params||null;if(y.containsDynamicStyles){const Q=new Set,we=F||{};y.styles.forEach(Me=>{Me instanceof Map&&Me.forEach(Xe=>{ae(Xe).forEach(rt=>{we.hasOwnProperty(rt)||Q.add(rt)})})}),Q.size&&(Et(Q.values()),a.errors.push(function ke(E,l){return new d.vHH(3008,!1)}()))}return{type:0,name:l.name,style:y,options:F?{params:F}:null}}visitTransition(l,a){a.queryCount=0,a.depCount=0;const y=gi(this,T(l.animation),a);return{type:1,matchers:Cr(l.expr,a.errors),animation:y,queryCount:a.queryCount,depCount:a.depCount,options:bi(l.options)}}visitSequence(l,a){return{type:2,steps:l.steps.map(y=>gi(this,y,a)),options:bi(l.options)}}visitGroup(l,a){const y=a.currentTime;let F=0;const Q=l.steps.map(we=>{a.currentTime=y;const Me=gi(this,we,a);return F=Math.max(F,a.currentTime),Me});return a.currentTime=F,{type:3,steps:Q,options:bi(l.options)}}visitAnimate(l,a){const y=function wr(E,l){if(E.hasOwnProperty("duration"))return E;if("number"==typeof E)return pr(A(E,l).duration,0,"");const a=E;if(a.split(/\s+/).some(Q=>"{"==Q.charAt(0)&&"{"==Q.charAt(1))){const Q=pr(0,0,"");return Q.dynamic=!0,Q.strValue=a,Q}const F=A(a,l);return pr(F.duration,F.delay,F.easing)}(l.timings,a.errors);a.currentAnimateTimings=y;let F,Q=l.styles?l.styles:(0,k.oB)({});if(5==Q.type)F=this.visitKeyframes(Q,a);else{let we=l.styles,Me=!1;if(!we){Me=!0;const rt={};y.easing&&(rt.easing=y.easing),we=(0,k.oB)(rt)}a.currentTime+=y.duration+y.delay;const Xe=this.visitStyle(we,a);Xe.isEmptyStep=Me,F=Xe}return a.currentAnimateTimings=null,{type:4,timings:y,style:F,options:null}}visitStyle(l,a){const y=this._makeStyleAst(l,a);return this._validateStyleAst(y,a),y}_makeStyleAst(l,a){const y=[],F=Array.isArray(l.styles)?l.styles:[l.styles];for(let Me of F)"string"==typeof Me?Me===k.l3?y.push(Me):a.errors.push(new d.vHH(3002,!1)):y.push(te(Me));let Q=!1,we=null;return y.forEach(Me=>{if(Me instanceof Map&&(Me.has("easing")&&(we=Me.get("easing"),Me.delete("easing")),!Q))for(let Xe of Me.values())if(Xe.toString().indexOf("{{")>=0){Q=!0;break}}),{type:6,styles:y,easing:we,offset:l.offset,containsDynamicStyles:Q,options:null}}_validateStyleAst(l,a){const y=a.currentAnimateTimings;let F=a.currentTime,Q=a.currentTime;y&&Q>0&&(Q-=y.duration+y.delay),l.styles.forEach(we=>{"string"!=typeof we&&we.forEach((Me,Xe)=>{const rt=a.collectedStyles.get(a.currentQuerySelector),Nt=rt.get(Xe);let Rt=!0;Nt&&(Q!=F&&Q>=Nt.startTime&&F<=Nt.endTime&&(a.errors.push(function Ke(E,l,a,y,F){return new d.vHH(3010,!1)}()),Rt=!1),Q=Nt.startTime),Rt&&rt.set(Xe,{startTime:Q,endTime:F}),a.options&&function I(E,l,a){const y=l.params||{},F=ae(E);F.length&&F.forEach(Q=>{y.hasOwnProperty(Q)||a.push(function R(E){return new d.vHH(3001,!1)}())})}(Me,a.options,a.errors)})})}visitKeyframes(l,a){const y={type:5,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function ze(){return new d.vHH(3011,!1)}()),y;let Q=0;const we=[];let Me=!1,Xe=!1,rt=0;const Nt=l.steps.map(Zn=>{const Mi=this._makeStyleAst(Zn,a);let _i=null!=Mi.offset?Mi.offset:function so(E){if("string"==typeof E)return null;let l=null;if(Array.isArray(E))E.forEach(a=>{if(a instanceof Map&&a.has("offset")){const y=a;l=parseFloat(y.get("offset")),y.delete("offset")}});else if(E instanceof Map&&E.has("offset")){const a=E;l=parseFloat(a.get("offset")),a.delete("offset")}return l}(Mi.styles),ci=0;return null!=_i&&(Q++,ci=Mi.offset=_i),Xe=Xe||ci<0||ci>1,Me=Me||ci<rt,rt=ci,we.push(ci),Mi});Xe&&a.errors.push(function xe(){return new d.vHH(3012,!1)}()),Me&&a.errors.push(function U(){return new d.vHH(3200,!1)}());const Rt=l.steps.length;let vn=0;Q>0&&Q<Rt?a.errors.push(function se(){return new d.vHH(3202,!1)}()):0==Q&&(vn=1/(Rt-1));const cn=Rt-1,Xt=a.currentTime,rn=a.currentAnimateTimings,Hn=rn.duration;return Nt.forEach((Zn,Mi)=>{const _i=vn>0?Mi==cn?1:vn*Mi:we[Mi],ci=_i*Hn;a.currentTime=Xt+rn.delay+ci,rn.duration=ci,this._validateStyleAst(Zn,a),Zn.offset=_i,y.styles.push(Zn)}),y}visitReference(l,a){return{type:8,animation:gi(this,T(l.animation),a),options:bi(l.options)}}visitAnimateChild(l,a){return a.depCount++,{type:9,options:bi(l.options)}}visitAnimateRef(l,a){return{type:10,animation:this.visitReference(l.animation,a),options:bi(l.options)}}visitQuery(l,a){const y=a.currentQuerySelector,F=l.options||{};a.queryCount++,a.currentQuery=l;const[Q,we]=function ki(E){const l=!!E.split(/\s*,\s*/).find(a=>":self"==a);return l&&(E=E.replace(Si,"")),E=E.replace(/@\*/g,Nn).replace(/@\w+/g,a=>Nn+"-"+a.slice(1)).replace(/:animating/g,ut),[E,l]}(l.selector);a.currentQuerySelector=y.length?y+" "+Q:Q,zt(a.collectedStyles,a.currentQuerySelector,new Map);const Me=gi(this,T(l.animation),a);return a.currentQuery=null,a.currentQuerySelector=y,{type:11,selector:Q,limit:F.limit||0,optional:!!F.optional,includeSelf:we,animation:Me,originalSelector:l.selector,options:bi(l.options)}}visitStagger(l,a){a.currentQuery||a.errors.push(function q(){return new d.vHH(3013,!1)}());const y="full"===l.timings?{duration:0,delay:0,easing:"full"}:A(l.timings,a.errors,!0);return{type:12,animation:gi(this,T(l.animation),a),timings:y,options:null}}}class fn{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 bi(E){return E?(E=Ie(E)).params&&(E.params=function Mo(E){return E?Ie(E):null}(E.params)):E={},E}function pr(E,l,a){return{duration:E,delay:l,easing:a}}function di(E,l,a,y,F,Q,we=null,Me=!1){return{type:1,element:E,keyframes:l,preStyleProps:a,postStyleProps:y,duration:F,delay:Q,totalTime:F+Q,easing:we,subTimeline:Me}}class Zi{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,a){let y=this._map.get(l);y||this._map.set(l,y=[]),y.push(...a)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const nr=new RegExp(":enter","g"),En=new RegExp(":leave","g");function zr(E,l,a,y,F,Q=new Map,we=new Map,Me,Xe,rt=[]){return(new To).buildKeyframes(E,l,a,y,F,Q,we,Me,Xe,rt)}class To{buildKeyframes(l,a,y,F,Q,we,Me,Xe,rt,Nt=[]){rt=rt||new Zi;const Rt=new ir(l,a,rt,F,Q,Nt,[]);Rt.options=Xe;const vn=Xe.delay?z(Xe.delay):0;Rt.currentTimeline.delayNextStep(vn),Rt.currentTimeline.setStyles([we],null,Rt.errors,Xe),gi(this,y,Rt);const cn=Rt.timelines.filter(Xt=>Xt.containsAnimation());if(cn.length&&Me.size){let Xt;for(let rn=cn.length-1;rn>=0;rn--){const Hn=cn[rn];if(Hn.element===a){Xt=Hn;break}}Xt&&!Xt.allowOnlyTimelineStyles()&&Xt.setStyles([Me],null,Rt.errors,Xe)}return cn.length?cn.map(Xt=>Xt.buildKeyframes()):[di(a,[],[],[],0,vn,"",!1)]}visitTrigger(l,a){}visitState(l,a){}visitTransition(l,a){}visitAnimateChild(l,a){const y=a.subInstructions.get(a.element);if(y){const F=a.createSubContext(l.options),Q=a.currentTimeline.currentTime,we=this._visitSubInstructions(y,F,F.options);Q!=we&&a.transformIntoNewTimeline(we)}a.previousNode=l}visitAnimateRef(l,a){const y=a.createSubContext(l.options);y.transformIntoNewTimeline(),this._applyAnimationRefDelays([l.options,l.animation.options],a,y),this.visitReference(l.animation,y),a.transformIntoNewTimeline(y.currentTimeline.currentTime),a.previousNode=l}_applyAnimationRefDelays(l,a,y){for(const F of l){const Q=F?.delay;if(Q){const we="number"==typeof Q?Q:z(He(Q,F?.params??{},a.errors));y.delayNextStep(we)}}}_visitSubInstructions(l,a,y){let Q=a.currentTimeline.currentTime;const we=null!=y.duration?z(y.duration):null,Me=null!=y.delay?z(y.delay):null;return 0!==we&&l.forEach(Xe=>{const rt=a.appendInstructionToTimeline(Xe,we,Me);Q=Math.max(Q,rt.duration+rt.delay)}),Q}visitReference(l,a){a.updateOptions(l.options,!0),gi(this,l.animation,a),a.previousNode=l}visitSequence(l,a){const y=a.subContextCount;let F=a;const Q=l.options;if(Q&&(Q.params||Q.delay)&&(F=a.createSubContext(Q),F.transformIntoNewTimeline(),null!=Q.delay)){6==F.previousNode.type&&(F.currentTimeline.snapshotCurrentStyles(),F.previousNode=kr);const we=z(Q.delay);F.delayNextStep(we)}l.steps.length&&(l.steps.forEach(we=>gi(this,we,F)),F.currentTimeline.applyStylesToKeyframe(),F.subContextCount>y&&F.transformIntoNewTimeline()),a.previousNode=l}visitGroup(l,a){const y=[];let F=a.currentTimeline.currentTime;const Q=l.options&&l.options.delay?z(l.options.delay):0;l.steps.forEach(we=>{const Me=a.createSubContext(l.options);Q&&Me.delayNextStep(Q),gi(this,we,Me),F=Math.max(F,Me.currentTimeline.currentTime),y.push(Me.currentTimeline)}),y.forEach(we=>a.currentTimeline.mergeTimelineCollectedStyles(we)),a.transformIntoNewTimeline(F),a.previousNode=l}_visitTiming(l,a){if(l.dynamic){const y=l.strValue;return A(a.params?He(y,a.params,a.errors):y,a.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,a){const y=a.currentAnimateTimings=this._visitTiming(l.timings,a),F=a.currentTimeline;y.delay&&(a.incrementTime(y.delay),F.snapshotCurrentStyles());const Q=l.style;5==Q.type?this.visitKeyframes(Q,a):(a.incrementTime(y.duration),this.visitStyle(Q,a),F.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=l}visitStyle(l,a){const y=a.currentTimeline,F=a.currentAnimateTimings;!F&&y.hasCurrentStyleProperties()&&y.forwardFrame();const Q=F&&F.easing||l.easing;l.isEmptyStep?y.applyEmptyStep(Q):y.setStyles(l.styles,Q,a.errors,a.options),a.previousNode=l}visitKeyframes(l,a){const y=a.currentAnimateTimings,F=a.currentTimeline.duration,Q=y.duration,Me=a.createSubContext().currentTimeline;Me.easing=y.easing,l.styles.forEach(Xe=>{Me.forwardTime((Xe.offset||0)*Q),Me.setStyles(Xe.styles,Xe.easing,a.errors,a.options),Me.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(Me),a.transformIntoNewTimeline(F+Q),a.previousNode=l}visitQuery(l,a){const y=a.currentTimeline.currentTime,F=l.options||{},Q=F.delay?z(F.delay):0;Q&&(6===a.previousNode.type||0==y&&a.currentTimeline.hasCurrentStyleProperties())&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=kr);let we=y;const Me=a.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!F.optional,a.errors);a.currentQueryTotal=Me.length;let Xe=null;Me.forEach((rt,Nt)=>{a.currentQueryIndex=Nt;const Rt=a.createSubContext(l.options,rt);Q&&Rt.delayNextStep(Q),rt===a.element&&(Xe=Rt.currentTimeline),gi(this,l.animation,Rt),Rt.currentTimeline.applyStylesToKeyframe(),we=Math.max(we,Rt.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(we),Xe&&(a.currentTimeline.mergeTimelineCollectedStyles(Xe),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=l}visitStagger(l,a){const y=a.parentContext,F=a.currentTimeline,Q=l.timings,we=Math.abs(Q.duration),Me=we*(a.currentQueryTotal-1);let Xe=we*a.currentQueryIndex;switch(Q.duration<0?"reverse":Q.easing){case"reverse":Xe=Me-Xe;break;case"full":Xe=y.currentStaggerTime}const Nt=a.currentTimeline;Xe&&Nt.delayNextStep(Xe);const Rt=Nt.currentTime;gi(this,l.animation,a),a.previousNode=l,y.currentStaggerTime=F.currentTime-Rt+(F.startTime-y.currentTimeline.startTime)}}const kr={};class ir{constructor(l,a,y,F,Q,we,Me,Xe){this._driver=l,this.element=a,this.subInstructions=y,this._enterClassName=F,this._leaveClassName=Q,this.errors=we,this.timelines=Me,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=kr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Xe||new Di(this._driver,a,0),Me.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,a){if(!l)return;const y=l;let F=this.options;null!=y.duration&&(F.duration=z(y.duration)),null!=y.delay&&(F.delay=z(y.delay));const Q=y.params;if(Q){let we=F.params;we||(we=this.options.params={}),Object.keys(Q).forEach(Me=>{(!a||!we.hasOwnProperty(Me))&&(we[Me]=He(Q[Me],we,this.errors))})}}_copyOptions(){const l={};if(this.options){const a=this.options.params;if(a){const y=l.params={};Object.keys(a).forEach(F=>{y[F]=a[F]})}}return l}createSubContext(l=null,a,y){const F=a||this.element,Q=new ir(this._driver,F,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(F,y||0));return Q.previousNode=this.previousNode,Q.currentAnimateTimings=this.currentAnimateTimings,Q.options=this._copyOptions(),Q.updateOptions(l),Q.currentQueryIndex=this.currentQueryIndex,Q.currentQueryTotal=this.currentQueryTotal,Q.parentContext=this,this.subContextCount++,Q}transformIntoNewTimeline(l){return this.previousNode=kr,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,a,y){const F={duration:a??l.duration,delay:this.currentTimeline.currentTime+(y??0)+l.delay,easing:""},Q=new rr(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,F,l.stretchStartingKeyframe);return this.timelines.push(Q),F}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,a,y,F,Q,we){let Me=[];if(F&&Me.push(this.element),l.length>0){l=(l=l.replace(nr,"."+this._enterClassName)).replace(En,"."+this._leaveClassName);let rt=this._driver.query(this.element,l,1!=y);0!==y&&(rt=y<0?rt.slice(rt.length+y,rt.length):rt.slice(0,y)),Me.push(...rt)}return!Q&&0==Me.length&&we.push(function oe(E){return new d.vHH(3014,!1)}()),Me}}class Di{constructor(l,a,y,F){this._driver=l,this.element=a,this.startTime=y,this._elementTimelineStylesLookup=F,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(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,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 a=1===this._keyframes.size&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+l),a&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,a){return this.applyStylesToKeyframe(),new Di(this._driver,l,a||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,a){this._localTimelineStyles.set(l,a),this._globalTimelineStyles.set(l,a),this._styleSummary.set(l,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&this._previousKeyframe.set("easing",l);for(let[a,y]of this._globalTimelineStyles)this._backFill.set(a,y||k.l3),this._currentKeyframe.set(a,k.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,a,y,F){a&&this._previousKeyframe.set("easing",a);const Q=F&&F.params||{},we=function gr(E,l){const a=new Map;let y;return E.forEach(F=>{if("*"===F){y=y||l.keys();for(let Q of y)a.set(Q,k.l3)}else $e(F,a)}),a}(l,this._globalTimelineStyles);for(let[Me,Xe]of we){const rt=He(Xe,Q,y);this._pendingStyles.set(Me,rt),this._localTimelineStyles.has(Me)||this._backFill.set(Me,this._globalTimelineStyles.get(Me)??k.l3),this._updateStyle(Me,rt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((l,a)=>{this._currentKeyframe.set(a,l)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((l,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,l)}))}snapshotCurrentStyles(){for(let[l,a]of this._localTimelineStyles)this._pendingStyles.set(l,a),this._updateStyle(l,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let a in this._currentKeyframe)l.push(a);return l}mergeTimelineCollectedStyles(l){l._styleSummary.forEach((a,y)=>{const F=this._styleSummary.get(y);(!F||a.time>F.time)&&this._updateStyle(y,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,a=new Set,y=1===this._keyframes.size&&0===this.duration;let F=[];this._keyframes.forEach((Me,Xe)=>{const rt=$e(Me,new Map,this._backFill);rt.forEach((Nt,Rt)=>{Nt===k.k1?l.add(Rt):Nt===k.l3&&a.add(Rt)}),y||rt.set("offset",Xe/this.duration),F.push(rt)});const Q=l.size?Et(l.values()):[],we=a.size?Et(a.values()):[];if(y){const Me=F[0],Xe=new Map(Me);Me.set("offset",0),Xe.set("offset",1),F=[Me,Xe]}return di(this.element,F,Q,we,this.duration,this.startTime,this.easing,!1)}}class rr extends Di{constructor(l,a,y,F,Q,we,Me=!1){super(l,a,we.delay),this.keyframes=y,this.preStyleProps=F,this.postStyleProps=Q,this._stretchStartingKeyframe=Me,this.timings={duration:we.duration,delay:we.delay,easing:we.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:a,duration:y,easing:F}=this.timings;if(this._stretchStartingKeyframe&&a){const Q=[],we=y+a,Me=a/we,Xe=$e(l[0]);Xe.set("offset",0),Q.push(Xe);const rt=$e(l[0]);rt.set("offset",hi(Me)),Q.push(rt);const Nt=l.length-1;for(let Rt=1;Rt<=Nt;Rt++){let vn=$e(l[Rt]);const cn=vn.get("offset");vn.set("offset",hi((a+cn*y)/we)),Q.push(vn)}y=we,a=0,F="",l=Q}return di(this.element,l,this.preStyleProps,this.postStyleProps,y,a,F,!0)}}function hi(E,l=3){const a=Math.pow(10,l-1);return Math.round(E*a)/a}class Ii{}const lo=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 Li extends Ii{normalizePropertyName(l,a){return oi(l)}normalizeStyleValue(l,a,y,F){let Q="";const we=y.toString().trim();if(lo.has(a)&&0!==y&&"0"!==y)if("number"==typeof y)Q="px";else{const Me=y.match(/^[+-]?[\d\.]+([a-z]*)$/);Me&&0==Me[1].length&&F.push(function Ae(E,l){return new d.vHH(3005,!1)}())}return we+Q}}function Ni(E,l,a,y,F,Q,we,Me,Xe,rt,Nt,Rt,vn){return{type:0,element:E,triggerName:l,isRemovalTransition:F,fromState:a,fromStyles:Q,toState:y,toStyles:we,timelines:Me,queriedElements:Xe,preStyleProps:rt,postStyleProps:Nt,totalTime:Rt,errors:vn}}const Fr={};class Wr{constructor(l,a,y){this._triggerName=l,this.ast=a,this._stateStyles=y}match(l,a,y,F){return function Gr(E,l,a,y,F){return E.some(Q=>Q(l,a,y,F))}(this.ast.matchers,l,a,y,F)}buildStyles(l,a,y){let F=this._stateStyles.get("*");return void 0!==l&&(F=this._stateStyles.get(l?.toString())||F),F?F.buildStyles(a,y):new Map}build(l,a,y,F,Q,we,Me,Xe,rt,Nt){const Rt=[],vn=this.ast.options&&this.ast.options.params||Fr,Xt=this.buildStyles(y,Me&&Me.params||Fr,Rt),rn=Xe&&Xe.params||Fr,Hn=this.buildStyles(F,rn,Rt),Zn=new Set,Mi=new Map,_i=new Map,ci="void"===F,lr={params:jo(rn,vn),delay:this.ast.options?.delay},qi=Nt?[]:zr(l,a,this.ast.animation,Q,we,Xt,Hn,lr,rt,Rt);let zi=0;if(qi.forEach(Wi=>{zi=Math.max(Wi.duration+Wi.delay,zi)}),Rt.length)return Ni(a,this._triggerName,y,F,ci,Xt,Hn,[],[],Mi,_i,zi,Rt);qi.forEach(Wi=>{const bo=Wi.element,js=zt(Mi,bo,new Set);Wi.preStyleProps.forEach(qo=>js.add(qo));const Vn=zt(_i,bo,new Set);Wi.postStyleProps.forEach(qo=>Vn.add(qo)),bo!==a&&Zn.add(bo)});const Pr=Et(Zn.values());return Ni(a,this._triggerName,y,F,ci,Xt,Hn,qi,Pr,Mi,_i,zi)}}function jo(E,l){const a=Ie(l);for(const y in E)E.hasOwnProperty(y)&&null!=E[y]&&(a[y]=E[y]);return a}class Kr{constructor(l,a,y){this.styles=l,this.defaultParams=a,this.normalizer=y}buildStyles(l,a){const y=new Map,F=Ie(this.defaultParams);return Object.keys(l).forEach(Q=>{const we=l[Q];null!==we&&(F[Q]=we)}),this.styles.styles.forEach(Q=>{"string"!=typeof Q&&Q.forEach((we,Me)=>{we&&(we=He(we,F,a));const Xe=this.normalizer.normalizePropertyName(Me,a);we=this.normalizer.normalizeStyleValue(Me,Xe,we,a),y.set(Me,we)})}),y}}class os{constructor(l,a,y){this.name=l,this.ast=a,this._normalizer=y,this.transitionFactories=[],this.states=new Map,a.states.forEach(F=>{this.states.set(F.name,new Kr(F.style,F.options&&F.options.params||{},y))}),Yr(this.states,"true","1"),Yr(this.states,"false","0"),a.transitions.forEach(F=>{this.transitionFactories.push(new Wr(l,F,this.states))}),this.fallbackTransition=function Lr(E,l,a){return new Wr(E,{type:1,animation:{type:2,steps:[],options:null},matchers:[(we,Me)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,a,y,F){return this.transitionFactories.find(we=>we.match(l,a,y,F))||null}matchStyles(l,a,y){return this.fallbackTransition.buildStyles(l,a,y)}}function Yr(E,l,a){E.has(l)?E.has(a)||E.set(a,E.get(l)):E.has(a)&&E.set(l,E.get(a))}const mr=new Zi;class Se{constructor(l,a,y){this.bodyNode=l,this._driver=a,this._normalizer=y,this._animations=new Map,this._playersById=new Map,this.players=[]}register(l,a){const y=[],F=[],Q=An(this._driver,a,y,F);if(y.length)throw function Oe(E){return new d.vHH(3503,!1)}();this._animations.set(l,Q)}_buildPlayer(l,a,y){const F=l.element,Q=Lt(0,this._normalizer,0,l.keyframes,a,y);return this._driver.animate(F,Q,l.duration,l.delay,l.easing,[],!0)}create(l,a,y={}){const F=[],Q=this._animations.get(l);let we;const Me=new Map;if(Q?(we=zr(this._driver,a,Q,nn,jt,new Map,new Map,y,mr,F),we.forEach(Nt=>{const Rt=zt(Me,Nt.element,new Map);Nt.postStyleProps.forEach(vn=>Rt.set(vn,null))})):(F.push(function Ye(){return new d.vHH(3300,!1)}()),we=[]),F.length)throw function tt(E){return new d.vHH(3504,!1)}();Me.forEach((Nt,Rt)=>{Nt.forEach((vn,cn)=>{Nt.set(cn,this._driver.computeStyle(Rt,cn,k.l3))})});const rt=xt(we.map(Nt=>{const Rt=Me.get(Nt.element);return this._buildPlayer(Nt,new Map,Rt)}));return this._playersById.set(l,rt),rt.onDestroy(()=>this.destroy(l)),this.players.push(rt),rt}destroy(l){const a=this._getPlayer(l);a.destroy(),this._playersById.delete(l);const y=this.players.indexOf(a);y>=0&&this.players.splice(y,1)}_getPlayer(l){const a=this._playersById.get(l);if(!a)throw function lt(E){return new d.vHH(3301,!1)}();return a}listen(l,a,y,F){const Q=mn(a,"","","");return Kt(this._getPlayer(l),y,Q,F),()=>{}}command(l,a,y,F){if("register"==y)return void this.register(l,F[0]);if("create"==y)return void this.create(l,a,F[0]||{});const Q=this._getPlayer(l);switch(y){case"play":Q.play();break;case"pause":Q.pause();break;case"reset":Q.reset();break;case"restart":Q.restart();break;case"finish":Q.finish();break;case"init":Q.init();break;case"setPosition":Q.setPosition(parseFloat(F[0]));break;case"destroy":this.destroy(l)}}}const Pe="ng-animate-queued",ht="ng-animate-disabled",Bn=[],pn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_r={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},kn="__ng_removed";class fi{get params(){return this.options.params}constructor(l,a=""){this.namespaceId=a;const y=l&&l.hasOwnProperty("value");if(this.value=function Qr(E){return E??null}(y?l.value:l),y){const Q=Ie(l);delete Q.value,this.options=Q}else this.options={};this.options.params||(this.options.params={})}absorbOptions(l){const a=l.params;if(a){const y=this.options.params;Object.keys(a).forEach(F=>{null==y[F]&&(y[F]=a[F])})}}}const Qi="void",uo=new fi(Qi);class Zr{constructor(l,a,y){this.id=l,this.hostElement=a,this._engine=y,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,Mn(a,this._hostClassName)}listen(l,a,y,F){if(!this._triggers.has(a))throw function vt(E,l){return new d.vHH(3302,!1)}();if(null==y||0==y.length)throw function ft(E){return new d.vHH(3303,!1)}();if(!function pi(E){return"start"==E||"done"==E}(y))throw function ot(E,l){return new d.vHH(3400,!1)}();const Q=zt(this._elementListeners,l,[]),we={name:a,phase:y,callback:F};Q.push(we);const Me=zt(this._engine.statesByElement,l,new Map);return Me.has(a)||(Mn(l,xn),Mn(l,xn+"-"+a),Me.set(a,uo)),()=>{this._engine.afterFlush(()=>{const Xe=Q.indexOf(we);Xe>=0&&Q.splice(Xe,1),this._triggers.has(a)||Me.delete(a)})}}register(l,a){return!this._triggers.has(l)&&(this._triggers.set(l,a),!0)}_getTrigger(l){const a=this._triggers.get(l);if(!a)throw function fe(E){return new d.vHH(3401,!1)}();return a}trigger(l,a,y,F=!0){const Q=this._getTrigger(a),we=new or(this.id,a,l);let Me=this._engine.statesByElement.get(l);Me||(Mn(l,xn),Mn(l,xn+"-"+a),this._engine.statesByElement.set(l,Me=new Map));let Xe=Me.get(a);const rt=new fi(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&Xe&&rt.absorbOptions(Xe.options),Me.set(a,rt),Xe||(Xe=uo),rt.value!==Qi&&Xe.value===rt.value){if(!function Ho(E,l){const a=Object.keys(E),y=Object.keys(l);if(a.length!=y.length)return!1;for(let F=0;F<a.length;F++){const Q=a[F];if(!l.hasOwnProperty(Q)||E[Q]!==l[Q])return!1}return!0}(Xe.params,rt.params)){const rn=[],Hn=Q.matchStyles(Xe.value,Xe.params,rn),Zn=Q.matchStyles(rt.value,rt.params,rn);rn.length?this._engine.reportError(rn):this._engine.afterFlush(()=>{L(l,Hn),he(l,Zn)})}return}const vn=zt(this._engine.playersByElement,l,[]);vn.forEach(rn=>{rn.namespaceId==this.id&&rn.triggerName==a&&rn.queued&&rn.destroy()});let cn=Q.matchTransition(Xe.value,rt.value,l,rt.params),Xt=!1;if(!cn){if(!F)return;cn=Q.fallbackTransition,Xt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:a,transition:cn,fromState:Xe,toState:rt,player:we,isFallbackTransition:Xt}),Xt||(Mn(l,Pe),we.onStart(()=>{Sr(l,Pe)})),we.onDone(()=>{let rn=this.players.indexOf(we);rn>=0&&this.players.splice(rn,1);const Hn=this._engine.playersByElement.get(l);if(Hn){let Zn=Hn.indexOf(we);Zn>=0&&Hn.splice(Zn,1)}}),this.players.push(we),vn.push(we),we}deregister(l){this._triggers.delete(l),this._engine.statesByElement.forEach(a=>a.delete(l)),this._elementListeners.forEach((a,y)=>{this._elementListeners.set(y,a.filter(F=>F.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const a=this._engine.playersByElement.get(l);a&&(a.forEach(y=>y.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,a){const y=this._engine.driver.query(l,Nn,!0);y.forEach(F=>{if(F[kn])return;const Q=this._engine.fetchNamespacesByElement(F);Q.size?Q.forEach(we=>we.triggerLeaveAnimation(F,a,!1,!0)):this.clearElementCache(F)}),this._engine.afterFlushAnimationsDone(()=>y.forEach(F=>this.clearElementCache(F)))}triggerLeaveAnimation(l,a,y,F){const Q=this._engine.statesByElement.get(l),we=new Map;if(Q){const Me=[];if(Q.forEach((Xe,rt)=>{if(we.set(rt,Xe.value),this._triggers.has(rt)){const Nt=this.trigger(l,rt,Qi,F);Nt&&Me.push(Nt)}}),Me.length)return this._engine.markElementAsRemoved(this.id,l,!0,a,we),y&&xt(Me).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const a=this._elementListeners.get(l),y=this._engine.statesByElement.get(l);if(a&&y){const F=new Set;a.forEach(Q=>{const we=Q.name;if(F.has(we))return;F.add(we);const Xe=this._triggers.get(we).fallbackTransition,rt=y.get(we)||uo,Nt=new fi(Qi),Rt=new or(this.id,we,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:we,transition:Xe,fromState:rt,toState:Nt,player:Rt,isFallbackTransition:!0})})}}removeNode(l,a){const y=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,a),this.triggerLeaveAnimation(l,a,!0))return;let F=!1;if(y.totalAnimations){const Q=y.players.length?y.playersByQueriedElement.get(l):[];if(Q&&Q.length)F=!0;else{let we=l;for(;we=we.parentNode;)if(y.statesByElement.get(we)){F=!0;break}}}if(this.prepareLeaveAnimationListeners(l),F)y.markElementAsRemoved(this.id,l,!1,a);else{const Q=l[kn];(!Q||Q===pn)&&(y.afterFlush(()=>this.clearElementCache(l)),y.destroyInnerAnimations(l),y._onRemovalComplete(l,a))}}insertNode(l,a){Mn(l,this._hostClassName)}drainQueuedTransitions(l){const a=[];return this._queue.forEach(y=>{const F=y.player;if(F.destroyed)return;const Q=y.element,we=this._elementListeners.get(Q);we&&we.forEach(Me=>{if(Me.name==y.triggerName){const Xe=mn(Q,y.triggerName,y.fromState.value,y.toState.value);Xe._data=l,Kt(y.player,Me.phase,Xe,Me.callback)}}),F.markedForDestroy?this._engine.afterFlush(()=>{F.destroy()}):a.push(y)}),this._queue=[],a.sort((y,F)=>{const Q=y.transition.ast.depCount,we=F.transition.ast.depCount;return 0==Q||0==we?Q-we:this._engine.driver.containsElement(y.element,F.element)?1:-1})}destroy(l){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let a=!1;return this._elementListeners.has(l)&&(a=!0),a=!!this._queue.find(y=>y.element===l)||a,a}}class Tr{_onRemovalComplete(l,a){this.onRemovalComplete(l,a)}constructor(l,a,y){this.bodyNode=l,this.driver=a,this._normalizer=y,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=(F,Q)=>{}}get queuedPlayers(){const l=[];return this._namespaceList.forEach(a=>{a.players.forEach(y=>{y.queued&&l.push(y)})}),l}createNamespace(l,a){const y=new Zr(l,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(y,a):(this.newHostElements.set(a,y),this.collectEnterElement(a)),this._namespaceLookup[l]=y}_balanceNamespaceList(l,a){const y=this._namespaceList,F=this.namespacesByHostElement;if(y.length-1>=0){let we=!1,Me=this.driver.getParentElement(a);for(;Me;){const Xe=F.get(Me);if(Xe){const rt=y.indexOf(Xe);y.splice(rt+1,0,l),we=!0;break}Me=this.driver.getParentElement(Me)}we||y.unshift(l)}else y.push(l);return F.set(a,l),l}register(l,a){let y=this._namespaceLookup[l];return y||(y=this.createNamespace(l,a)),y}registerTrigger(l,a,y){let F=this._namespaceLookup[l];F&&F.register(a,y)&&this.totalAnimations++}destroy(l,a){if(!l)return;const y=this._fetchNamespace(l);this.afterFlush(()=>{this.namespacesByHostElement.delete(y.hostElement),delete this._namespaceLookup[l];const F=this._namespaceList.indexOf(y);F>=0&&this._namespaceList.splice(F,1)}),this.afterFlushAnimationsDone(()=>y.destroy(a))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const a=new Set,y=this.statesByElement.get(l);if(y)for(let F of y.values())if(F.namespaceId){const Q=this._fetchNamespace(F.namespaceId);Q&&a.add(Q)}return a}trigger(l,a,y,F){if(Bi(a)){const Q=this._fetchNamespace(l);if(Q)return Q.trigger(a,y,F),!0}return!1}insertNode(l,a,y,F){if(!Bi(a))return;const Q=a[kn];if(Q&&Q.setForRemoval){Q.setForRemoval=!1,Q.setForMove=!0;const we=this.collectedLeaveElements.indexOf(a);we>=0&&this.collectedLeaveElements.splice(we,1)}if(l){const we=this._fetchNamespace(l);we&&we.insertNode(a,y)}F&&this.collectEnterElement(a)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,a){a?this.disabledNodes.has(l)||(this.disabledNodes.add(l),Mn(l,ht)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Sr(l,ht))}removeNode(l,a,y,F){if(Bi(a)){const Q=l?this._fetchNamespace(l):null;if(Q?Q.removeNode(a,F):this.markElementAsRemoved(l,a,!1,F),y){const we=this.namespacesByHostElement.get(a);we&&we.id!==l&&we.removeNode(a,F)}}else this._onRemovalComplete(a,F)}markElementAsRemoved(l,a,y,F,Q){this.collectedLeaveElements.push(a),a[kn]={namespaceId:l,setForRemoval:F,hasAnimation:y,removedBeforeQueried:!1,previousTriggersValues:Q}}listen(l,a,y,F,Q){return Bi(a)?this._fetchNamespace(l).listen(a,y,F,Q):()=>{}}_buildInstruction(l,a,y,F,Q){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,y,F,l.fromState.options,l.toState.options,a,Q)}destroyInnerAnimations(l){let a=this.driver.query(l,Nn,!0);a.forEach(y=>this.destroyActiveAnimationsForElement(y)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(l,ut,!0),a.forEach(y=>this.finishActiveQueriedAnimationOnElement(y)))}destroyActiveAnimationsForElement(l){const a=this.playersByElement.get(l);a&&a.forEach(y=>{y.queued?y.markedForDestroy=!0:y.destroy()})}finishActiveQueriedAnimationOnElement(l){const a=this.playersByQueriedElement.get(l);a&&a.forEach(y=>y.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return xt(this.players).onDone(()=>l());l()})}processLeaveNode(l){const a=l[kn];if(a&&a.setForRemoval){if(l[kn]=pn,a.namespaceId){this.destroyInnerAnimations(l);const y=this._fetchNamespace(a.namespaceId);y&&y.clearElementCache(l)}this._onRemovalComplete(l,a.setForRemoval)}l.classList?.contains(ht)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(y=>{this.markElementAsDisabled(y,!1)})}flush(l=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((y,F)=>this._balanceNamespaceList(y,F)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;y<this.collectedEnterElements.length;y++)Mn(this.collectedEnterElements[y],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const y=[];try{a=this._flushAnimations(y,l)}finally{for(let F=0;F<y.length;F++)y[F]()}}else for(let y=0;y<this.collectedLeaveElements.length;y++)this.processLeaveNode(this.collectedLeaveElements[y]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(y=>y()),this._flushFns=[],this._whenQuietFns.length){const y=this._whenQuietFns;this._whenQuietFns=[],a.length?xt(a).onDone(()=>{y.forEach(F=>F())}):y.forEach(F=>F())}}reportError(l){throw function G(E){return new d.vHH(3402,!1)}()}_flushAnimations(l,a){const y=new Zi,F=[],Q=new Map,we=[],Me=new Map,Xe=new Map,rt=new Map,Nt=new Set;this.disabledNodes.forEach(Wt=>{Nt.add(Wt);const Jt=this.driver.query(Wt,".ng-animate-queued",!0);for(let on=0;on<Jt.length;on++)Nt.add(Jt[on])});const Rt=this.bodyNode,vn=Array.from(this.statesByElement.keys()),cn=Xr(vn,this.collectedEnterElements),Xt=new Map;let rn=0;cn.forEach((Wt,Jt)=>{const on=nn+rn++;Xt.set(Jt,on),Wt.forEach(Un=>Mn(Un,on))});const Hn=[],Zn=new Set,Mi=new Set;for(let Wt=0;Wt<this.collectedLeaveElements.length;Wt++){const Jt=this.collectedLeaveElements[Wt],on=Jt[kn];on&&on.setForRemoval&&(Hn.push(Jt),Zn.add(Jt),on.hasAnimation?this.driver.query(Jt,".ng-star-inserted",!0).forEach(Un=>Zn.add(Un)):Mi.add(Jt))}const _i=new Map,ci=Xr(vn,Array.from(Zn));ci.forEach((Wt,Jt)=>{const on=jt+rn++;_i.set(Jt,on),Wt.forEach(Un=>Mn(Un,on))}),l.push(()=>{cn.forEach((Wt,Jt)=>{const on=Xt.get(Jt);Wt.forEach(Un=>Sr(Un,on))}),ci.forEach((Wt,Jt)=>{const on=_i.get(Jt);Wt.forEach(Un=>Sr(Un,on))}),Hn.forEach(Wt=>{this.processLeaveNode(Wt)})});const lr=[],qi=[];for(let Wt=this._namespaceList.length-1;Wt>=0;Wt--)this._namespaceList[Wt].drainQueuedTransitions(a).forEach(on=>{const Un=on.player,ui=on.element;if(lr.push(Un),this.collectedEnterElements.length){const zn=ui[kn];if(zn&&zn.setForMove){if(zn.previousTriggersValues&&zn.previousTriggersValues.has(on.triggerName)){const h=zn.previousTriggersValues.get(on.triggerName),f=this.statesByElement.get(on.element);if(f&&f.has(on.triggerName)){const c=f.get(on.triggerName);c.value=h,f.set(on.triggerName,c)}}return void Un.destroy()}}const Hr=!Rt||!this.driver.containsElement(Rt,ui),cr=_i.get(ui),Yn=Xt.get(ui),Qn=this._buildInstruction(on,y,Yn,cr,Hr);if(Qn.errors&&Qn.errors.length)return void qi.push(Qn);if(Hr)return Un.onStart(()=>L(ui,Qn.fromStyles)),Un.onDestroy(()=>he(ui,Qn.toStyles)),void F.push(Un);if(on.isFallbackTransition)return Un.onStart(()=>L(ui,Qn.fromStyles)),Un.onDestroy(()=>he(ui,Qn.toStyles)),void F.push(Un);const Vr=[];Qn.timelines.forEach(zn=>{zn.stretchStartingKeyframe=!0,this.disabledNodes.has(zn.element)||Vr.push(zn)}),Qn.timelines=Vr,y.append(ui,Qn.timelines),we.push({instruction:Qn,player:Un,element:ui}),Qn.queriedElements.forEach(zn=>zt(Me,zn,[]).push(Un)),Qn.preStyleProps.forEach((zn,h)=>{if(zn.size){let f=Xe.get(h);f||Xe.set(h,f=new Set),zn.forEach((c,_)=>f.add(_))}}),Qn.postStyleProps.forEach((zn,h)=>{let f=rt.get(h);f||rt.set(h,f=new Set),zn.forEach((c,_)=>f.add(_))})});if(qi.length){const Wt=[];qi.forEach(Jt=>{Wt.push(function K(E,l){return new d.vHH(3505,!1)}())}),lr.forEach(Jt=>Jt.destroy()),this.reportError(Wt)}const zi=new Map,Pr=new Map;we.forEach(Wt=>{const Jt=Wt.element;y.has(Jt)&&(Pr.set(Jt,Jt),this._beforeAnimationBuild(Wt.player.namespaceId,Wt.instruction,zi))}),F.forEach(Wt=>{const Jt=Wt.element;this._getPreviousPlayers(Jt,!1,Wt.namespaceId,Wt.triggerName,null).forEach(Un=>{zt(zi,Jt,[]).push(Un),Un.destroy()})});const Wi=Hn.filter(Wt=>vr(Wt,Xe,rt)),bo=new Map;qn(bo,this.driver,Mi,rt,k.l3).forEach(Wt=>{vr(Wt,Xe,rt)&&Wi.push(Wt)});const Vn=new Map;cn.forEach((Wt,Jt)=>{qn(Vn,this.driver,new Set(Wt),Xe,k.k1)}),Wi.forEach(Wt=>{const Jt=bo.get(Wt),on=Vn.get(Wt);bo.set(Wt,new Map([...Array.from(Jt?.entries()??[]),...Array.from(on?.entries()??[])]))});const qo=[],Jo=[],na={};we.forEach(Wt=>{const{element:Jt,player:on,instruction:Un}=Wt;if(y.has(Jt)){if(Nt.has(Jt))return on.onDestroy(()=>he(Jt,Un.toStyles)),on.disabled=!0,on.overrideTotalTime(Un.totalTime),void F.push(on);let ui=na;if(Pr.size>1){let cr=Jt;const Yn=[];for(;cr=cr.parentNode;){const Qn=Pr.get(cr);if(Qn){ui=Qn;break}Yn.push(cr)}Yn.forEach(Qn=>Pr.set(Qn,ui))}const Hr=this._buildAnimation(on.namespaceId,Un,zi,Q,Vn,bo);if(on.setRealPlayer(Hr),ui===na)qo.push(on);else{const cr=this.playersByElement.get(ui);cr&&cr.length&&(on.parentPlayer=xt(cr)),F.push(on)}}else L(Jt,Un.fromStyles),on.onDestroy(()=>he(Jt,Un.toStyles)),Jo.push(on),Nt.has(Jt)&&F.push(on)}),Jo.forEach(Wt=>{const Jt=Q.get(Wt.element);if(Jt&&Jt.length){const on=xt(Jt);Wt.setRealPlayer(on)}}),F.forEach(Wt=>{Wt.parentPlayer?Wt.syncPlayerEvents(Wt.parentPlayer):Wt.destroy()});for(let Wt=0;Wt<Hn.length;Wt++){const Jt=Hn[Wt],on=Jt[kn];if(Sr(Jt,jt),on&&on.hasAnimation)continue;let Un=[];if(Me.size){let Hr=Me.get(Jt);Hr&&Hr.length&&Un.push(...Hr);let cr=this.driver.query(Jt,ut,!0);for(let Yn=0;Yn<cr.length;Yn++){let Qn=Me.get(cr[Yn]);Qn&&Qn.length&&Un.push(...Qn)}}const ui=Un.filter(Hr=>!Hr.destroyed);ui.length?Ir(this,Jt,ui):this.processLeaveNode(Jt)}return Hn.length=0,qo.forEach(Wt=>{this.players.push(Wt),Wt.onDone(()=>{Wt.destroy();const Jt=this.players.indexOf(Wt);this.players.splice(Jt,1)}),Wt.play()}),qo}elementContainsData(l,a){let y=!1;const F=a[kn];return F&&F.setForRemoval&&(y=!0),this.playersByElement.has(a)&&(y=!0),this.playersByQueriedElement.has(a)&&(y=!0),this.statesByElement.has(a)&&(y=!0),this._fetchNamespace(l).elementContainsData(a)||y}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,a,y,F,Q){let we=[];if(a){const Me=this.playersByQueriedElement.get(l);Me&&(we=Me)}else{const Me=this.playersByElement.get(l);if(Me){const Xe=!Q||Q==Qi;Me.forEach(rt=>{rt.queued||!Xe&&rt.triggerName!=F||we.push(rt)})}}return(y||F)&&(we=we.filter(Me=>!(y&&y!=Me.namespaceId||F&&F!=Me.triggerName))),we}_beforeAnimationBuild(l,a,y){const Q=a.element,we=a.isRemovalTransition?void 0:l,Me=a.isRemovalTransition?void 0:a.triggerName;for(const Xe of a.timelines){const rt=Xe.element,Nt=rt!==Q,Rt=zt(y,rt,[]);this._getPreviousPlayers(rt,Nt,we,Me,a.toState).forEach(cn=>{const Xt=cn.getRealPlayer();Xt.beforeDestroy&&Xt.beforeDestroy(),cn.destroy(),Rt.push(cn)})}L(Q,a.fromStyles)}_buildAnimation(l,a,y,F,Q,we){const Me=a.triggerName,Xe=a.element,rt=[],Nt=new Set,Rt=new Set,vn=a.timelines.map(Xt=>{const rn=Xt.element;Nt.add(rn);const Hn=rn[kn];if(Hn&&Hn.removedBeforeQueried)return new k.ZN(Xt.duration,Xt.delay);const Zn=rn!==Xe,Mi=function Ei(E){const l=[];return Nr(E,l),l}((y.get(rn)||Bn).map(zi=>zi.getRealPlayer())).filter(zi=>!!zi.element&&zi.element===rn),_i=Q.get(rn),ci=we.get(rn),lr=Lt(0,this._normalizer,0,Xt.keyframes,_i,ci),qi=this._buildPlayer(Xt,lr,Mi);if(Xt.subTimeline&&F&&Rt.add(rn),Zn){const zi=new or(l,Me,rn);zi.setRealPlayer(qi),rt.push(zi)}return qi});rt.forEach(Xt=>{zt(this.playersByQueriedElement,Xt.element,[]).push(Xt),Xt.onDone(()=>function yr(E,l,a){let y=E.get(l);if(y){if(y.length){const F=y.indexOf(a);y.splice(F,1)}0==y.length&&E.delete(l)}return y}(this.playersByQueriedElement,Xt.element,Xt))}),Nt.forEach(Xt=>Mn(Xt,It));const cn=xt(vn);return cn.onDestroy(()=>{Nt.forEach(Xt=>Sr(Xt,It)),he(Xe,a.toStyles)}),Rt.forEach(Xt=>{zt(F,Xt,[]).push(cn)}),cn}_buildPlayer(l,a,y){return a.length>0?this.driver.animate(l.element,a,l.duration,l.delay,l.easing,y):new k.ZN(l.duration,l.delay)}}class or{constructor(l,a,y){this.namespaceId=l,this.triggerName=a,this.element=y,this._player=new k.ZN,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((a,y)=>{a.forEach(F=>Kt(l,y,void 0,F))}),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 a=this._player;a.triggerCallback&&l.onStart(()=>a.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,a){zt(this._queuedCallbacks,l,[]).push(a)}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 a=this._player;a.triggerCallback&&a.triggerCallback(l)}}function Bi(E){return E&&1===E.nodeType}function gn(E,l){const a=E.style.display;return E.style.display=l??"none",a}function qn(E,l,a,y,F){const Q=[];a.forEach(Xe=>Q.push(gn(Xe)));const we=[];y.forEach((Xe,rt)=>{const Nt=new Map;Xe.forEach(Rt=>{const vn=l.computeStyle(rt,Rt,F);Nt.set(Rt,vn),(!vn||0==vn.length)&&(rt[kn]=_r,we.push(rt))}),E.set(rt,Nt)});let Me=0;return a.forEach(Xe=>gn(Xe,Q[Me++])),we}function Xr(E,l){const a=new Map;if(E.forEach(Me=>a.set(Me,[])),0==l.length)return a;const y=1,F=new Set(l),Q=new Map;function we(Me){if(!Me)return y;let Xe=Q.get(Me);if(Xe)return Xe;const rt=Me.parentNode;return Xe=a.has(rt)?rt:F.has(rt)?y:we(rt),Q.set(Me,Xe),Xe}return l.forEach(Me=>{const Xe=we(Me);Xe!==y&&a.get(Xe).push(Me)}),a}function Mn(E,l){E.classList?.add(l)}function Sr(E,l){E.classList?.remove(l)}function Ir(E,l,a){xt(a).onDone(()=>E.processLeaveNode(l))}function Nr(E,l){for(let a=0;a<E.length;a++){const y=E[a];y instanceof k.ZE?Nr(y.players,l):l.push(y)}}function vr(E,l,a){const y=a.get(E);if(!y)return!1;let F=l.get(E);return F?y.forEach(Q=>F.add(Q)):l.set(E,y),a.delete(E),!0}class Jn{constructor(l,a,y){this.bodyNode=l,this._driver=a,this._normalizer=y,this._triggerCache={},this.onRemovalComplete=(F,Q)=>{},this._transitionEngine=new Tr(l,a,y),this._timelineEngine=new Se(l,a,y),this._transitionEngine.onRemovalComplete=(F,Q)=>this.onRemovalComplete(F,Q)}registerTrigger(l,a,y,F,Q){const we=l+"-"+F;let Me=this._triggerCache[we];if(!Me){const Xe=[],rt=[],Nt=An(this._driver,Q,Xe,rt);if(Xe.length)throw function bt(E,l){return new d.vHH(3404,!1)}();Me=function co(E,l,a){return new os(E,l,a)}(F,Nt,this._normalizer),this._triggerCache[we]=Me}this._transitionEngine.registerTrigger(a,F,Me)}register(l,a){this._transitionEngine.register(l,a)}destroy(l,a){this._transitionEngine.destroy(l,a)}onInsert(l,a,y,F){this._transitionEngine.insertNode(l,a,y,F)}onRemove(l,a,y,F){this._transitionEngine.removeNode(l,a,F||!1,y)}disableAnimations(l,a){this._transitionEngine.markElementAsDisabled(l,a)}process(l,a,y,F){if("@"==y.charAt(0)){const[Q,we]=bn(y);this._timelineEngine.command(Q,a,we,F)}else this._transitionEngine.trigger(l,a,y,F)}listen(l,a,y,F,Q){if("@"==y.charAt(0)){const[we,Me]=bn(y);return this._timelineEngine.listen(we,a,Me,Q)}return this._transitionEngine.listen(l,a,y,F,Q)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ao=(()=>{class E{constructor(a,y,F){this._element=a,this._startStyles=y,this._endStyles=F,this._state=0;let Q=E.initialStylesByElement.get(a);Q||E.initialStylesByElement.set(a,Q=new Map),this._initialStyles=Q}start(){this._state<1&&(this._startStyles&&he(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(he(this._element,this._initialStyles),this._endStyles&&(he(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(E.initialStylesByElement.delete(this._element),this._startStyles&&(L(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),he(this._element,this._initialStyles),this._state=3)}}return E.initialStylesByElement=new WeakMap,E})();function Oo(E){let l=null;return E.forEach((a,y)=>{(function Hi(E){return"display"===E||"position"===E})(y)&&(l=l||new Map,l.set(y,a))}),l}class Dr{constructor(l,a,y,F){this.element=l,this.keyframes=a,this.options=y,this._specialStyles=F,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=y.duration,this._delay=y.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,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(l){const a=[];return l.forEach(y=>{a.push(Object.fromEntries(y))}),a}_triggerWebAnimation(l,a,y){return l.animate(this._convertKeyframesToObject(a),y)}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/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l=new Map;this.hasStarted()&&this._finalKeyframe.forEach((y,F)=>{"offset"!==F&&l.set(F,this._finished?y:hr(this.element,F))}),this.currentSnapshot=l}triggerCallback(l){const a="start"===l?this._onStartFns:this._onDoneFns;a.forEach(y=>y()),a.length=0}}class Vo{validateStyleProperty(l){return!0}validateAnimatableStyleProperty(l){return!0}matchesElement(l,a){return!1}containsElement(l,a){return _e(l,a)}getParentElement(l){return Ne(l)}query(l,a,y){return it(l,a,y)}computeStyle(l,a,y){return window.getComputedStyle(l)[a]}animate(l,a,y,F,Q,we=[]){const Xe={duration:y,delay:F,fill:0==F?"both":"forwards"};Q&&(Xe.easing=Q);const rt=new Map,Nt=we.filter(cn=>cn instanceof Dr);(function Ji(E,l){return 0===E||0===l})(y,F)&&Nt.forEach(cn=>{cn.currentSnapshot.forEach((Xt,rn)=>rt.set(rn,Xt))});let Rt=function re(E){return E.length?E[0]instanceof Map?E:E.map(l=>te(l)):[]}(a).map(cn=>$e(cn));Rt=function yi(E,l,a){if(a.size&&l.length){let y=l[0],F=[];if(a.forEach((Q,we)=>{y.has(we)||F.push(we),y.set(we,Q)}),F.length)for(let Q=1;Q<l.length;Q++){let we=l[Q];F.forEach(Me=>we.set(Me,hr(E,Me)))}}return l}(l,Rt,rt);const vn=function ho(E,l){let a=null,y=null;return Array.isArray(l)&&l.length?(a=Oo(l[0]),l.length>1&&(y=Oo(l[l.length-1]))):l instanceof Map&&(a=Oo(l)),a||y?new Ao(E,a,y):null}(l,Rt);return new Dr(l,Rt,Xe,vn)}}var Qt=g(36895);let ss=(()=>{class E extends k._j{constructor(a,y){super(),this._nextAnimationId=0,this._renderer=a.createRenderer(y.body,{id:"0",encapsulation:d.ifc.None,styles:[],data:{animation:[]}})}build(a){const y=this._nextAnimationId.toString();this._nextAnimationId++;const F=Array.isArray(a)?(0,k.vP)(a):a;return Po(this._renderer,null,y,"register",[F]),new as(y,this._renderer)}}return E.\u0275fac=function(a){return new(a||E)(d.LFG(d.FYo),d.LFG(Qt.K0))},E.\u0275prov=d.Yz7({token:E,factory:E.\u0275fac}),E})();class as extends k.LC{constructor(l,a){super(),this._id=l,this._renderer=a}create(l,a){return new Es(this._id,l,a||{},this._renderer)}}class Es{constructor(l,a,y,F){this.id=l,this.element=a,this._renderer=F,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",y)}_listen(l,a){return this._renderer.listen(this.element,`@@${this.id}:${l}`,a)}_command(l,...a){return Po(this._renderer,this.element,this.id,l,a)}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 Po(E,l,a,y,F){return E.setProperty(l,`@@${a}:${y}`,F)}const zo="@.disabled";let Wo=(()=>{class E{constructor(a,y,F){this.delegate=a,this.engine=y,this._zone=F,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),y.onRemovalComplete=(Q,we)=>{const Me=we?.parentNode(Q);Me&&we.removeChild(Me,Q)}}createRenderer(a,y){const Q=this.delegate.createRenderer(a,y);if(!(a&&y&&y.data&&y.data.animation)){let Nt=this._rendererCache.get(Q);return Nt||(Nt=new Gn("",Q,this.engine,()=>this._rendererCache.delete(Q)),this._rendererCache.set(Q,Nt)),Nt}const we=y.id,Me=y.id+"-"+this._currentId;this._currentId++,this.engine.register(Me,a);const Xe=Nt=>{Array.isArray(Nt)?Nt.forEach(Xe):this.engine.registerTrigger(we,Me,a,Nt.name,Nt)};return y.data.animation.forEach(Xe),new Dt(this,Me,Q,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(a,y,F){a>=0&&a<this._microtaskId?this._zone.run(()=>y(F)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Q=>{const[we,Me]=Q;we(Me)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([y,F]))}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()}}return E.\u0275fac=function(a){return new(a||E)(d.LFG(d.FYo),d.LFG(Jn),d.LFG(d.R0b))},E.\u0275prov=d.Yz7({token:E,factory:E.\u0275fac}),E})();class Gn{constructor(l,a,y,F){this.namespaceId=l,this.delegate=a,this.engine=y,this._onDestroy=F,this.destroyNode=this.delegate.destroyNode?Q=>a.destroyNode(Q):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(l,a){return this.delegate.createElement(l,a)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,a){this.delegate.appendChild(l,a),this.engine.onInsert(this.namespaceId,a,l,!1)}insertBefore(l,a,y,F=!0){this.delegate.insertBefore(l,a,y),this.engine.onInsert(this.namespaceId,a,l,F)}removeChild(l,a,y){this.engine.onRemove(this.namespaceId,a,this.delegate,y)}selectRootElement(l,a){return this.delegate.selectRootElement(l,a)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,a,y,F){this.delegate.setAttribute(l,a,y,F)}removeAttribute(l,a,y){this.delegate.removeAttribute(l,a,y)}addClass(l,a){this.delegate.addClass(l,a)}removeClass(l,a){this.delegate.removeClass(l,a)}setStyle(l,a,y,F){this.delegate.setStyle(l,a,y,F)}removeStyle(l,a,y){this.delegate.removeStyle(l,a,y)}setProperty(l,a,y){"@"==a.charAt(0)&&a==zo?this.disableAnimations(l,!!y):this.delegate.setProperty(l,a,y)}setValue(l,a){this.delegate.setValue(l,a)}listen(l,a,y){return this.delegate.listen(l,a,y)}disableAnimations(l,a){this.engine.disableAnimations(l,a)}}class Dt extends Gn{constructor(l,a,y,F,Q){super(a,y,F,Q),this.factory=l,this.namespaceId=a}setProperty(l,a,y){"@"==a.charAt(0)?"."==a.charAt(1)&&a==zo?this.disableAnimations(l,y=void 0===y||!!y):this.engine.process(this.namespaceId,l,a.slice(1),y):this.delegate.setProperty(l,a,y)}listen(l,a,y){if("@"==a.charAt(0)){const F=function On(E){switch(E){case"body":return document.body;case"document":return document;case"window":return window;default:return E}}(l);let Q=a.slice(1),we="";return"@"!=Q.charAt(0)&&([Q,we]=function ls(E){const l=E.indexOf(".");return[E.substring(0,l),E.slice(l+1)]}(Q)),this.engine.listen(this.namespaceId,F,Q,we,Me=>{this.factory.scheduleListenerCallback(Me._data||-1,y,Me)})}return this.delegate.listen(l,a,y)}}const Br=[{provide:k._j,useClass:ss},{provide:Ii,useFactory:function mi(){return new Li}},{provide:Jn,useClass:(()=>{class E extends Jn{constructor(a,y,F,Q){super(a.body,y,F)}ngOnDestroy(){this.flush()}}return E.\u0275fac=function(a){return new(a||E)(d.LFG(Qt.K0),d.LFG(mt),d.LFG(Ii),d.LFG(d.z2F))},E.\u0275prov=d.Yz7({token:E,factory:E.\u0275fac}),E})()},{provide:d.FYo,useFactory:function ws(E,l,a){return new Wo(E,l,a)},deps:[s.se,Jn,d.R0b]}],Vi=[{provide:mt,useFactory:()=>new Vo},{provide:d.QbO,useValue:"BrowserAnimations"},...Br],Go=[{provide:mt,useClass:Le},{provide:d.QbO,useValue:"NoopAnimations"},...Br];let xo=(()=>{class E{static withConfig(a){return{ngModule:E,providers:a.disableAnimations?Go:Vi}}}return E.\u0275fac=function(a){return new(a||E)},E.\u0275mod=d.oAB({type:E}),E.\u0275inj=d.cJS({providers:Vi,imports:[s.b2]}),E})();var ei=g(9116);const Ai=[{path:"menu",loadChildren:()=>Promise.all([g.e(4006),g.e(4177),g.e(3669),g.e(9612),g.e(8592),g.e(8317)]).then(g.bind(g,58317)).then(E=>E.MenuMasterModule)},{path:"print",loadChildren:()=>Promise.all([g.e(3337),g.e(3259),g.e(7193),g.e(4941),g.e(4177),g.e(3669)]).then(g.bind(g,64941)).then(E=>E.PrintModule)},{path:"",loadChildren:()=>Promise.all([g.e(4177),g.e(9612),g.e(6840)]).then(g.bind(g,26840)).then(E=>E.AuthModule)},{path:"**",redirectTo:"menu",pathMatch:"full"}];let qr=(()=>{class E{}return(0,C.Z)(E,"\u0275fac",function(a){return new(a||E)}),(0,C.Z)(E,"\u0275mod",d.oAB({type:E})),(0,C.Z)(E,"\u0275inj",d.cJS({imports:[ei.Bz.forRoot(Ai),ei.Bz]})),E})();var Jr=g(4707);function sr(E,l){return(a,y)=>!E.call(l,a,y)}var fo=g(39300),ko=g(38421),us=g(56451),eo=g(82805),po=g(28746),to=g(63900),go=g(54482),Lo=g(25032),mo=g(25403);function Ko(E){return(0,go.e)((l,a)=>{let y=!1,F=null,Q=null;const we=()=>{if(Q?.unsubscribe(),Q=null,y){y=!1;const Me=F;F=null,a.next(Me)}};l.subscribe((0,mo.x)(a,Me=>{Q?.unsubscribe(),y=!0,F=Me,Q=(0,mo.x)(a,we,Lo.Z),(0,ko.Xf)(E(Me)).subscribe(Q)},()=>{we(),a.complete()},void 0,()=>{F=Q=null}))})}var Ns=g(71884),Bs=g(18505);function Yo(E,l){1&E&&d.GkF(0)}function Us(E,l){if(1&E&&d._UZ(0,"sk-cube-grid",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Zo(E,l){if(1&E&&d._UZ(0,"sk-chasing-dots",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Qo(E,l){if(1&E&&d._UZ(0,"sk-double-bounce",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Ts(E,l){if(1&E&&d._UZ(0,"sk-rotating-plane",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Oi(E,l){if(1&E&&d._UZ(0,"sk-spinner-pulse",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function no(E,l){if(1&E&&d._UZ(0,"sk-three-bounce",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function ti(E,l){if(1&E&&d._UZ(0,"sk-wandering-cubes",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function ds(E,l){if(1&E&&d._UZ(0,"sk-wave",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}const Ci=function(E){return{"background-color":E}};function Xo(E,l){if(1&E&&(d.TgZ(0,"div",1),d.YNc(1,Yo,1,0,"ng-container",2),d.YNc(2,Us,1,1,"sk-cube-grid",3),d.YNc(3,Zo,1,1,"sk-chasing-dots",3),d.YNc(4,Qo,1,1,"sk-double-bounce",3),d.YNc(5,Ts,1,1,"sk-rotating-plane",3),d.YNc(6,Oi,1,1,"sk-spinner-pulse",3),d.YNc(7,no,1,1,"sk-three-bounce",3),d.YNc(8,ti,1,1,"sk-wandering-cubes",3),d.YNc(9,ds,1,1,"sk-wave",3),d.qZA()),2&E){const a=d.oxw();d.Udp("opacity",a.opacity),d.ekj("backdrop",a.backdrop),d.Q6J("ngStyle",d.VKq(14,Ci,a.backdrop?a.backdropBackgroundColor:"transparent")),d.xp6(1),d.Q6J("ngComponentOutlet",a.entryComponent),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skCubeGrid),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skChasingDots),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skDoubleBounce),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skRotatingPlane),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skSpinnerPulse),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skThreeBounce),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skWanderingCubes),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skWave)}}let Ur=(()=>{class E{}return E.\u0275fac=function(a){return new(a||E)},E.\u0275dir=d.lG2({type:E,inputs:{backgroundColor:"backgroundColor"}}),E})(),hs=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-chasing-dots"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),E})(),fs=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-cube-grid"]],features:[d.qOj],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),d.qZA()),2&a&&(d.ekj("colored",!y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),E})(),_o=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-double-bounce"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),E})(),yo=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-rotating-plane"]],features:[d.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(a,y){1&a&&d._UZ(0,"div",0),2&a&&d.Udp("background-color",y.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),E})(),m=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-spinner-pulse"]],features:[d.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(a,y){1&a&&d._UZ(0,"div",0),2&a&&d.Udp("background-color",y.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),E})(),P=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-three-bounce"]],features:[d.qOj],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2)(3,"div",3),d.qZA()),2&a&&(d.ekj("colored",!y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),E})(),D=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-wandering-cubes"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),E})(),j=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-wave"]],features:[d.qOj],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),d.qZA()),2&a&&(d.ekj("colored",!y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),E})();const pe={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};let gt=(()=>{class E{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new Jr.t(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(a){this._filteredMethods=a}set filteredHeaders(a){this._filteredHeaders=a}set forceByPass(a){this._forceByPass=a}shouldBypassUrl(a){return this._filteredUrlPatterns.some(y=>y.test(a))}shouldBypassMethod(a){return this._filteredMethods.some(y=>y.toUpperCase()===a.method.toUpperCase())}shouldBypassHeader(a){return this._filteredHeaders.some(y=>a.headers.has(y))}shouldBypass(a){return this._forceByPass||this.shouldBypassUrl(a.urlWithParams)||this.shouldBypassMethod(a)||this.shouldBypassHeader(a)}intercept(a,y){const F=this.shouldBypass(a);return F||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),y.handle(a).pipe((0,po.x)(()=>{F||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return E.\u0275fac=function(a){return new(a||E)},E.\u0275prov=d.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const $t=[{provide:$.TP,useExisting:gt,multi:!0}];let Sn=(()=>{class E{constructor(a){this.pendingRequestsInterceptor=a,this._visibility$=new Jr.t(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return E.\u0275fac=function(a){return new(a||E)(d.LFG(gt))},E.\u0275prov=d.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),Fn=(()=>{class E{constructor(a,y){this.pendingRequestsInterceptor=a,this.spinnerVisibility=y,this.spinkit=pe,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=pe.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[a,y]=function Fo(E,l,a){return[(0,fo.h)(l,a)((0,ko.Xf)(E)),(0,fo.h)(sr(l,a))((0,ko.Xf)(E))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,F=>F);this.isVisible$=(0,us.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,to.w)(()=>a.pipe(Ko(()=>(0,eo.H)(this.debounceDelay))))),a.pipe((0,to.w)(()=>y.pipe(Ko(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Ns.x)(),(0,Bs.b)(F=>this.updateExpirationDelay(F)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(a=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(a)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(a){a&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,eo.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return E.\u0275fac=function(a){return new(a||E)(d.Y36(gt),d.Y36(Sn))},E.\u0275cmp=d.Xpm({type:E,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(a,y){1&a&&(d.YNc(0,Xo,10,16,"div",0),d.ALo(1,"async")),2&a&&d.Q6J("ngIf",d.lcZ(1,1,y.isVisible$))},dependencies:[Qt.$G,Qt.O5,Qt.PC,fs,hs,_o,yo,m,P,D,j,Qt.Ov],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),E})(),Ln=(()=>{class E{static forRoot(){return{ngModule:E,providers:[$t]}}}return E.\u0275fac=function(a){return new(a||E)},E.\u0275mod=d.oAB({type:E}),E.\u0275inj=d.cJS({imports:[Qt.ez]}),E})();const _n=function(){return["/api/charge"]};let ni=(()=>{class E{constructor(){function a(y){return y<10?"0"+y:y}Date.prototype.toJSON=function(){return this.getFullYear()+"-"+a(this.getMonth()+1)+"-"+a(this.getDate())+"T"+a(this.getHours())+":"+a(this.getMinutes())+":"+a(this.getSeconds())+".000"}}}return(0,C.Z)(E,"\u0275fac",function(a){return new(a||E)}),(0,C.Z)(E,"\u0275cmp",d.Xpm({type:E,selectors:[["app-root"]],decls:3,vars:2,consts:[[3,"filteredUrlPatterns"],[1,"simple-keyboard"]],template:function(a,y){1&a&&d._UZ(0,"router-outlet")(1,"ng-http-loader",0)(2,"div",1),2&a&&(d.xp6(1),d.Q6J("filteredUrlPatterns",d.DdM(1,_n)))},dependencies:[ei.lC,Fn],styles:[".toast-center-center[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-center[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-full-width[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-full-width[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-left[_ngcontent-%COMP%]{top:12px;left:12px}.toast-top-right[_ngcontent-%COMP%]{top:12px;right:12px}.toast-bottom-right[_ngcontent-%COMP%]{right:12px;bottom:12px}.toast-bottom-left[_ngcontent-%COMP%]{bottom:12px;left:12px}.toast-title[_ngcontent-%COMP%]{font-weight:700}.toast-message[_ngcontent-%COMP%]{word-wrap:break-word}.toast-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .toast-message[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#fff}.toast-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ccc;text-decoration:none}.toast-close-button[_ngcontent-%COMP%]{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button[_ngcontent-%COMP%]:hover, .toast-close-button[_ngcontent-%COMP%]:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button[_ngcontent-%COMP%]{padding:0;cursor:pointer;background:transparent;border:0}.toast-container[_ngcontent-%COMP%]{pointer-events:none;position:fixed;z-index:999999}.toast-container[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}.toast-container[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-center[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-full-width[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr[_ngcontent-%COMP%]{background-color:#030303;pointer-events:auto}.toast-success[_ngcontent-%COMP%]{background-color:#51a351}.toast-error[_ngcontent-%COMP%]{background-color:#bd362f}.toast-info[_ngcontent-%COMP%]{background-color:#2f96b4}.toast-warning[_ngcontent-%COMP%]{background-color:#f89406}.toast-progress[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:11em}.toast-container[_ngcontent-%COMP%] .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:18em}.toast-container[_ngcontent-%COMP%] .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:15px 15px 15px 50px;width:25em}}.simple-keyboard[_ngcontent-%COMP%]{width:20vw;position:absolute;left:77%;top:30%;z-index:1200}"]})),E})();var jn=g(97185);const ii=["custom-toast-component",""];function Xi(E,l){if(1&E){const a=d.EpF();d.TgZ(0,"a",11),d.NdJ("click",function(){d.CHM(a);const F=d.oxw(2);return d.KtG(F.remove())}),d._uU(1," x "),d.qZA()}}function wi(E,l){if(1&E&&(d.TgZ(0,"div",6)(1,"div",7)(2,"div",8)(3,"h4"),d._uU(4),d.qZA()()(),d.TgZ(5,"div",9),d.YNc(6,Xi,2,0,"a",10),d.qZA()()),2&E){const a=d.oxw();d.Udp("display","inactive"===a.state.value?"none":""),d.xp6(2),d.Tol(a.options.titleClass),d.uIk("aria-label",a.title),d.xp6(2),d.Oqu(a.title),d.xp6(2),d.Q6J("ngIf",a.options.closeButton)}}const $i=function(E){return{notitle:E}};function ar(E,l){if(1&E&&d._UZ(0,"div",12),2&E){const a=d.oxw();d.Tol(a.options.messageClass),d.Q6J("ngClass",d.VKq(4,$i,null==a.title))("innerHTML",a.message,d.oJD)}}function vo(E,l){if(1&E&&(d.TgZ(0,"div",13),d._uU(1),d.qZA()),2&E){const a=d.oxw();d.Tol(a.options.messageClass),d.Q6J("ngClass",d.VKq(5,$i,null==a.title)),d.uIk("aria-label",a.message),d.xp6(1),d.hij(" ",a.message," ")}}function Ar(E,l){if(1&E){const a=d.EpF();d.TgZ(0,"a",11),d.NdJ("click",function(){d.CHM(a);const F=d.oxw();return d.KtG(F.remove())}),d._uU(1," x "),d.qZA()}}function ps(E,l){if(1&E&&(d.TgZ(0,"div"),d._UZ(1,"div",14),d.qZA()),2&E){const a=d.oxw();d.xp6(1),d.Udp("width",a.width+"%")}}let No=(()=>{class E extends jn.FN{constructor(a,y){super(a,y),(0,C.Z)(this,"toastrService",void 0),(0,C.Z)(this,"toastPackage",void 0),this.toastrService=a,this.toastPackage=y}ngOnInit(){}action(a){return a.stopPropagation(),this.toastPackage.triggerAction(),!1}}return(0,C.Z)(E,"\u0275fac",function(a){return new(a||E)(d.Y36(jn._W),d.Y36(jn.PR))}),(0,C.Z)(E,"\u0275cmp",d.Xpm({type:E,selectors:[["","custom-toast-component",""]],features:[d.qOj],attrs:ii,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","px-0","text-start"],[1,"my-4"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"ngClass"],[1,"toast-progress"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d.YNc(1,wi,7,7,"div",1),d.YNc(2,ar,1,6,"div",2),d.YNc(3,vo,2,7,"div",3),d.YNc(4,Ar,2,0,"a",4),d.YNc(5,ps,2,2,"div",5),d.qZA()),2&a&&(d.xp6(1),d.Q6J("ngIf",y.title),d.xp6(1),d.Q6J("ngIf",y.message&&y.options.enableHtml),d.xp6(1),d.Q6J("ngIf",y.message&&!y.options.enableHtml),d.xp6(1),d.Q6J("ngIf",y.options.closeButton&&null==y.title),d.xp6(1),d.Q6J("ngIf",y.options.progressBar))},dependencies:[Qt.mk,Qt.O5],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:1px solid gainsboro;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding:10px 15px 10px 0}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button[_ngcontent-%COMP%]{color:#dcdcdc!important}"],data:{animation:[(0,k.X$)("flyInOut",[(0,k.SB)("inactive",(0,k.oB)({opacity:0})),(0,k.eR)("inactive => active",(0,k.jt)("400ms ease-out",(0,k.F4)([(0,k.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,k.oB)({transform:"skewX(20deg)",opacity:1}),(0,k.oB)({transform:"skewX(-5deg)",opacity:1}),(0,k.oB)({transform:"none",opacity:1})]))),(0,k.eR)("active => removed",(0,k.jt)("400ms ease-out",(0,k.F4)([(0,k.oB)({opacity:1}),(0,k.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}})),E})();var Ss=g(85421),jr=g(10266),ta=g(65412);let gs=(()=>{class E{}return(0,C.Z)(E,"\u0275fac",function(a){return new(a||E)}),(0,C.Z)(E,"\u0275mod",d.oAB({type:E})),(0,C.Z)(E,"\u0275inj",d.cJS({imports:[ta.Is]})),E})();var br=g(907),Or=g(12011),As=g(75200),Do=g(24766);const Pi=new class Is{constructor(){(0,C.Z)(this,"name",void 0),(0,C.Z)(this,"version",void 0),(0,C.Z)(this,"objectStoresMeta",void 0),(0,C.Z)(this,"migrationFactory",void 0),this.name="pos-offline",this.version=1,this.objectStoresMeta=[{store:br.Z.OfflineConfig,storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"configUsingLocal",options:{unique:!1},keypath:"configUsingLocal"},{name:"orderUsingLocal",options:{unique:!1},keypath:"orderUsingLocal"},{name:"productUsingLocal",options:{unique:!1},keypath:"productUsingLocal"}]},{store:br.Z.Order,storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Action",options:{unique:!1},keypath:"Action"},{name:"Items",options:{unique:!1},keypath:"Items"},{name:"CartItems",options:{unique:!1},keypath:"CartItems"},{name:"Invoice",options:{unique:!1},keypath:"Invoice"},{name:"Order",options:{unique:!1},keypath:"Order"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"Shipping",options:{unique:!1},keypath:"Shipping"},{name:"ContactName",options:{unique:!1},keypath:"ContactName"}]},{store:br.Z.Outlet,storeConfig:{keyPath:"RegisterID",autoIncrement:!1},storeSchema:[{name:"DefaultCustomerPOType",options:{unique:!1},keypath:"DefaultCustomerPOType"},{name:"DefaultTaxType",options:{unique:!1},keypath:"DefaultTaxType"},{name:"DefaultWarehouse",options:{unique:!1},keypath:"DefaultWarehouse"},{name:"EntityID",options:{unique:!1},keypath:"EntityID"},{name:"EntityName",options:{unique:!1},keypath:"EntityName"},{name:"InvoiceNumberElement",options:{unique:!1},keypath:"InvoiceNumberElement"},{name:"ListSales",options:{unique:!1},keypath:"ListSales"},{name:"MemberPoint",options:{unique:!1},keypath:"MemberPoint"},{name:"NewOrderID",options:{unique:!1},keypath:"NewOrderID"},{name:"NumberElement",options:{unique:!1},keypath:"NumberElement"},{name:"ParkLayoutPack",options:{unique:!1},keypath:"ParkLayoutPack"},{name:"PrintTemplate",options:{unique:!1},keypath:"PrintTemplate"},{name:"QuickKeyPack",options:{unique:!1},keypath:"QuickKeyPack"},{name:"RegisterID",options:{unique:!1},keypath:"RegisterID"},{name:"ShippingDefault",options:{unique:!1},keypath:"ShippingDefault"}]},{store:br.Z.OutletPrice,storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"EntityID",options:{unique:!1},keypath:"EntityID"},{name:"ExtraCost",options:{unique:!1},keypath:"ExtraCost"},{name:"PriceDiscount",options:{unique:!1},keypath:"PriceDiscount"},{name:"UnitCost",options:{unique:!1},keypath:"UnitCost"},{name:"UnitPrice",options:{unique:!1},keypath:"UnitPrice"},{name:"VariantID",options:{unique:!1},keypath:"VariantID"}]},{store:br.Z.POSStorage,storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"AppConfigJSON",options:{unique:!1},keypath:"AppConfigJSON"},{name:"BINS",options:{unique:!1},keypath:"BINS"},{name:"Currencies",options:{unique:!1},keypath:"Currencies"},{name:"CustomerOptions",options:{unique:!1},keypath:"CustomerOptions"},{name:"Denomination",options:{unique:!1},keypath:"Denomination"},{name:"Entities",options:{unique:!1},keypath:"Entities"},{name:"PaymentTypes",options:{unique:!1},keypath:"PaymentTypes"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"PoTypes",options:{unique:!1},keypath:"PoTypes"},{name:"ProductCount",options:{unique:!1},keypath:"ProductCount"},{name:"Registers",options:{unique:!1},keypath:"Registers"},{name:"Restriction",options:{unique:!1},keypath:"Restriction"},{name:"Roles",options:{unique:!1},keypath:"Roles"},{name:"SalesID",options:{unique:!1},keypath:"SalesID"},{name:"ServerDateString",options:{unique:!1},keypath:"ServerDateString"},{name:"ServerTime",options:{unique:!1},keypath:"ServerTime"},{name:"Taxes",options:{unique:!1},keypath:"Taxes"},{name:"UserID",options:{unique:!1},keypath:"UserID"},{name:"UserName",options:{unique:!1},keypath:"UserName"},{name:"Version",options:{unique:!1},keypath:"Version"}]},{store:br.Z.Product,storeConfig:{keyPath:"ID",autoIncrement:!1},storeSchema:[{name:"BrandName",options:{unique:!1},keypath:"BrandName"},{name:"CategoryName",options:{unique:!1},keypath:"CategoryName"},{name:"CategoryTypeID",options:{unique:!1},keypath:"CategoryTypeID"},{name:"Code",options:{unique:!1},keypath:"Code"},{name:"Component",options:{unique:!1},keypath:"Component"},{name:"Created",options:{unique:!1},keypath:"Created"},{name:"Description",options:{unique:!1},keypath:"Description"},{name:"ExtraCost",options:{unique:!1},keypath:"ExtraCost"},{name:"ID",options:{unique:!1},keypath:"ID"},{name:"ImageUrl",options:{unique:!1},keypath:"ImageUrl"},{name:"LoyaltyPoint",options:{unique:!1},keypath:"LoyaltyPoint"},{name:"Name",options:{unique:!1},keypath:"Name"},{name:"OrderPrice",options:{unique:!1},keypath:"OrderPrice"},{name:"OrderPriceDiscount",options:{unique:!1},keypath:"OrderPriceDiscount"},{name:"Ordered",options:{unique:!1},keypath:"Ordered"},{name:"PaymentTypeID",options:{unique:!1},keypath:"PaymentTypeID"},{name:"PriceBook",options:{unique:!1},keypath:"PriceBook"},{name:"PriceDiscount",options:{unique:!1},keypath:"PriceDiscount"},{name:"PriceNote",options:{unique:!1},keypath:"PriceNote"},{name:"PriceTypeID",options:{unique:!1},keypath:"PriceTypeID"},{name:"ProductID",options:{unique:!1},keypath:"ProductID"},{name:"Taxable",options:{unique:!1},keypath:"Taxable"},{name:"ThumbnailUrl",options:{unique:!1},keypath:"ThumbnailUrl"},{name:"TypeID",options:{unique:!1},keypath:"TypeID"},{name:"UOM",options:{unique:!1},keypath:"UOM"},{name:"UnitCost",options:{unique:!1},keypath:"UnitCost"},{name:"UnitExpense",options:{unique:!1},keypath:"UnitExpense"},{name:"UnitPrice",options:{unique:!1},keypath:"UnitPrice"},{name:"UnitPriceOriginal",options:{unique:!1},keypath:"UnitPriceOriginal"},{name:"UnitQuantity",options:{unique:!1},keypath:"UnitQuantity"},{name:"UnitsInStock",options:{unique:!1},keypath:"UnitsInStock"}]},{store:br.Z.SyncTime,storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"time",keypath:"time",options:{unique:!0}}]},{store:br.Z.FailedOrder,storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Action",options:{unique:!1},keypath:"Action"},{name:"Items",options:{unique:!1},keypath:"Items"},{name:"CartItems",options:{unique:!1},keypath:"CartItems"},{name:"Invoice",options:{unique:!1},keypath:"Invoice"},{name:"Order",options:{unique:!1},keypath:"Order"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"Shipping",options:{unique:!1},keypath:"Shipping"},{name:"ContactName",options:{unique:!1},keypath:"ContactName"}]}]}};let Os=(()=>{class E{}return(0,C.Z)(E,"\u0275fac",function(a){return new(a||E)}),(0,C.Z)(E,"\u0275mod",d.oAB({type:E,bootstrap:[ni]})),(0,C.Z)(E,"\u0275inj",d.cJS({providers:[Qt.JJ,Qt.uU],imports:[s.b2,$.JF,qr,xo,jr.AV,gs,Ss.Cz.forRoot(Pi),Or.hO.initializeApp(Do.N.firebaseConfig),As.ww,Ln.forRoot(),jn.Rh.forRoot({toastComponent:No,positionClass:"toast-bottom-right",closeButton:!0})]})),E})();Do.N.production&&(0,d.G48)(),s.q6().bootstrapModule(Os)},75200:(yt,Ee,g)=>{g.d(Ee,{zQ:()=>Yr,ww:()=>mr});var s=g(94650),d=g(77579),C=g(39646),$=g(69751),k=g(88996),ee=g(56451),ce=g(85363),J=g(63900),ne=g(54004),R=g(34782),Z=g(50590),Y=g(30576);function Ae(Se,Pe){return(0,Y.m)(Pe)?(0,J.w)(()=>Se,Pe):(0,J.w)(()=>Se)}var be=g(49468),Be=g(39300),ke=g(62122),ye=g(12011),je=g(36895);g(70259);var ft=g(15861),ot=g(49681),fe=g(34859),G=g(42090),w=g(41877);const K=new Map,De={activated:!1,tokenObservers:[]},et={initialized:!1,enabled:!1};function Mt(Se){return K.get(Se)||Object.assign({},De)}function Lt(){return et}const Kt="https://content-firebaseappcheck.googleapis.com/v1",zt="exchangeDebugToken",bn={OFFSET_DURATION:3e5,RETRIAL_MIN_WAIT:3e4,RETRIAL_MAX_WAIT:96e4};class ln{constructor(Pe,We,ht,At,Vt){if(this.operation=Pe,this.retryPolicy=We,this.getWaitDuration=ht,this.lowerBound=At,this.upperBound=Vt,this.pending=null,this.nextErrorWaitInterval=At,At>Vt)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(Pe){var We=this;return(0,ft.Z)(function*(){We.stop();try{We.pending=new G.BH,yield function yn(Se){return new Promise(Pe=>{setTimeout(Pe,Se)})}(We.getNextRun(Pe)),We.pending.resolve(),yield We.pending.promise,We.pending=new G.BH,yield We.operation(),We.pending.resolve(),yield We.pending.promise,We.process(!0).catch(()=>{})}catch(ht){We.retryPolicy(ht)?We.process(!1).catch(()=>{}):We.stop()}})()}getNextRun(Pe){if(Pe)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const We=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),We}}}const V=new G.LL("appCheck","AppCheck",{"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.",throttled:"Requests throttled due to {$httpStatus} error. Attempts allowed again after {$time}"});function at(Se,Pe){return pt.apply(this,arguments)}function pt(){return(pt=(0,ft.Z)(function*({url:Se,body:Pe},We){const ht={"Content-Type":"application/json"},At=We.getImmediate({optional:!0});if(At){const fi=yield At.getHeartbeatsHeader();fi&&(ht["X-Firebase-Client"]=fi)}const Vt={method:"POST",body:JSON.stringify(Pe),headers:ht};let Zt,Bn;try{Zt=yield fetch(Se,Vt)}catch(fi){throw V.create("fetch-network-error",{originalErrorMessage:fi?.message})}if(200!==Zt.status)throw V.create("fetch-status-error",{httpStatus:Zt.status});try{Bn=yield Zt.json()}catch(fi){throw V.create("fetch-parse-error",{originalErrorMessage:fi?.message})}const pn=Bn.ttl.match(/^([\d.]+)(s)$/);if(!pn||!pn[2]||isNaN(Number(pn[1])))throw V.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${Bn.ttl}`});const _r=1e3*Number(pn[1]),kn=Date.now();return{token:Bn.token,expireTimeMillis:kn+_r,issuedAtTimeMillis:kn}})).apply(this,arguments)}const Le="firebase-app-check-database",mt=1,St="firebase-app-check-store";let Ot=null;function ut(Se,Pe){return z.apply(this,arguments)}function z(){return(z=(0,ft.Z)(function*(Se,Pe){const ht=(yield function nn(){return Ot||(Ot=new Promise((Se,Pe)=>{try{const We=indexedDB.open(Le,mt);We.onsuccess=ht=>{Se(ht.target.result)},We.onerror=ht=>{var At;Pe(V.create("storage-open",{originalErrorMessage:null===(At=ht.target.error)||void 0===At?void 0:At.message}))},We.onupgradeneeded=ht=>{0===ht.oldVersion&&ht.target.result.createObjectStore(St,{keyPath:"compositeKey"})}}catch(We){Pe(V.create("storage-open",{originalErrorMessage:We?.message}))}}),Ot)}()).transaction(St,"readwrite"),Vt=ht.objectStore(St).put({compositeKey:Se,value:Pe});return new Promise((Zt,Bn)=>{Vt.onsuccess=pn=>{Zt()},ht.onerror=pn=>{var _r;Bn(V.create("storage-set",{originalErrorMessage:null===(_r=pn.target.error)||void 0===_r?void 0:_r.message}))}})})).apply(this,arguments)}const Ie=new w.Yd("@firebase/app-check");function Ce(Se,Pe){return(0,G.hl)()?function xn(Se,Pe){return ut(function ie(Se){return`${Se.options.appId}-${Se.name}`}(Se),Pe)}(Se,Pe).catch(We=>{Ie.warn(`Failed to write token to IndexedDB. Error: ${We}`)}):Promise.resolve()}function he(){return L.apply(this,arguments)}function L(){return(L=(0,ft.Z)(function*(){const Se=Lt();if(Se.enabled&&Se.token)return Se.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const I={error:"UNKNOWN_ERROR"};function W(Se){return G.US.encodeString(JSON.stringify(Se),!1)}function ae(Se){return He.apply(this,arguments)}function He(){return(He=(0,ft.Z)(function*(Se,Pe=!1){const We=Se.app;!function Te(Se){if(!Mt(Se).activated)throw V.create("use-before-activation",{appName:Se.name})}(We);const ht=Mt(We);let Vt,At=ht.token;if(At&&!yi(At)&&(ht.token=void 0,At=void 0),!At){const pn=yield ht.cachedTokenPromise;pn&&(yi(pn)?At=pn:yield Ce(We,void 0))}if(!Pe&&At&&yi(At))return{token:At.token};let Bn,Zt=!1;if(function wt(){return Lt().enabled}()){ht.exchangeTokenPromise||(ht.exchangeTokenPromise=at(function ge(Se,Pe){const{projectId:We,appId:ht,apiKey:At}=Se.options;return{url:`${Kt}/projects/${We}/apps/${ht}:${zt}?key=${At}`,body:{debug_token:Pe}}}(We,yield he()),Se.heartbeatServiceProvider).finally(()=>{ht.exchangeTokenPromise=void 0}),Zt=!0);const pn=yield ht.exchangeTokenPromise;return yield Ce(We,pn),ht.token=pn,{token:pn.token}}try{ht.exchangeTokenPromise||(ht.exchangeTokenPromise=ht.provider.getToken().finally(()=>{ht.exchangeTokenPromise=void 0}),Zt=!0),At=yield Mt(We).exchangeTokenPromise}catch(pn){"appCheck/throttled"===pn.code?Ie.warn(pn.message):Ie.error(pn),Vt=pn}return At?Vt?Bn=yi(At)?{token:At.token,internalError:Vt}:gi(Vt):(Bn={token:At.token},ht.token=At,yield Ce(We,At)):Bn=gi(Vt),Zt&&function Ji(Se,Pe){const We=Mt(Se).tokenObservers;for(const ht of We)try{"EXTERNAL"===ht.type&&null!=Pe.error?ht.error(Pe.error):ht.next(Pe)}catch{}}(We,Bn),Bn})).apply(this,arguments)}function qt(Se,Pe){const We=Mt(Se),ht=We.tokenObservers.filter(At=>At.next!==Pe);0===ht.length&&We.tokenRefresher&&We.tokenRefresher.isRunning()&&We.tokenRefresher.stop(),We.tokenObservers=ht}function oi(Se){const{app:Pe}=Se,We=Mt(Pe);let ht=We.tokenRefresher;ht||(ht=function ri(Se){const{app:Pe}=Se;return new ln((0,ft.Z)(function*(){let ht;if(ht=Mt(Pe).token?yield ae(Se,!0):yield ae(Se),ht.error)throw ht.error;if(ht.internalError)throw ht.internalError}),()=>!0,()=>{const We=Mt(Pe);if(We.token){let ht=We.token.issuedAtTimeMillis+.5*(We.token.expireTimeMillis-We.token.issuedAtTimeMillis)+3e5;return ht=Math.min(ht,We.token.expireTimeMillis-3e5),Math.max(0,ht-Date.now())}return 0},bn.RETRIAL_MIN_WAIT,bn.RETRIAL_MAX_WAIT)}(Se),We.tokenRefresher=ht),!ht.isRunning()&&We.isTokenAutoRefreshEnabled&&ht.start()}function yi(Se){return Se.expireTimeMillis-Date.now()>0}function gi(Se){return{token:W(I),error:Se}}class hr{constructor(Pe,We){this.app=Pe,this.heartbeatServiceProvider=We}_delete(){const{tokenObservers:Pe}=Mt(this.app);for(const We of Pe)qt(this.app,We.next);return Promise.resolve()}}const Zi="app-check-internal";!function Mr(){(0,ot._registerComponent)(new fe.wA("app-check",Se=>function fr(Se,Pe){return new hr(Se,Pe)}(Se.getProvider("app").getImmediate(),Se.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((Se,Pe,We)=>{Se.getProvider(Zi).initialize()})),(0,ot._registerComponent)(new fe.wA(Zi,Se=>function ji(Se){return{getToken:Pe=>ae(Se,Pe),addTokenListener:Pe=>function Et(Se,Pe,We,ht){const{app:At}=Se,Vt=Mt(At);if(Vt.tokenObservers=[...Vt.tokenObservers,{next:We,error:ht,type:Pe}],Vt.token&&yi(Vt.token)){const Bn=Vt.token;Promise.resolve().then(()=>{We({token:Bn.token}),oi(Se)}).catch(()=>{})}Vt.cachedTokenPromise.then(()=>oi(Se))}(Se,"INTERNAL",Pe),removeTokenListener:Pe=>qt(Se.app,Pe)}}(Se.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,ot.registerVersion)("@firebase/app-check","0.6.4")}();class ao{constructor(){return(0,ke.vb)("app-check")}}typeof window<"u"&&window;var Fr=g(29260);const Io=new s.OlP("angularfire2.auth.use-emulator"),Gr=new s.OlP("angularfire2.auth.settings"),jo=new s.OlP("angularfire2.auth.tenant-id"),Kr=new s.OlP("angularfire2.auth.langugage-code"),co=new s.OlP("angularfire2.auth.use-device-language"),os=new s.OlP("angularfire.auth.persistence");let Yr=(()=>{class Se{constructor(We,ht,At,Vt,Zt,Bn,pn,_r,kn,fi,Qi,uo){const Zr=new d.x,Tr=(0,C.of)(void 0).pipe((0,ce.Q)(Zt.outsideAngular),(0,J.w)(()=>Vt.runOutsideAngular(()=>g.e(8971).then(g.bind(g,28971)))),(0,ne.U)(()=>(0,ye.on)(We,Vt,ht)),(0,ne.U)(or=>((Se,Pe,We,ht,At,Vt,Zt,Bn)=>(0,ye.cc)(`${Se.name}.auth`,"AngularFireAuth",Se.name,()=>{const pn=Pe.runOutsideAngular(()=>Se.auth());if(We&&pn.useEmulator(...We),ht&&(pn.tenantId=ht),pn.languageCode=At,Vt&&pn.useDeviceLanguage(),Zt)for(const[_r,kn]of Object.entries(Zt))pn.settings[_r]=kn;return Bn&&pn.setPersistence(Bn),pn},[We,ht,At,Vt,Zt,Bn]))(or,Vt,Bn,_r,kn,fi,pn,Qi)),(0,R.d)({bufferSize:1,refCount:!1}));if((0,je.PM)(At))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,C.of)(null);else{Tr.pipe((0,Z.P)()).subscribe();const yr=Tr.pipe((0,J.w)(pi=>pi.getRedirectResult().then(gn=>gn,()=>null)),ke.iC,(0,R.d)({bufferSize:1,refCount:!1})),Qr=Tr.pipe((0,J.w)(pi=>new $.y(gn=>({unsubscribe:Vt.runOutsideAngular(()=>pi.onAuthStateChanged(qn=>gn.next(qn),qn=>gn.error(qn),()=>gn.complete()))})))),Bi=Tr.pipe((0,J.w)(pi=>new $.y(gn=>({unsubscribe:Vt.runOutsideAngular(()=>pi.onIdTokenChanged(qn=>gn.next(qn),qn=>gn.error(qn),()=>gn.complete()))}))));this.authState=yr.pipe(Ae(Qr),(0,be.R)(Zt.outsideAngular),(0,ce.Q)(Zt.insideAngular)),this.user=yr.pipe(Ae(Bi),(0,be.R)(Zt.outsideAngular),(0,ce.Q)(Zt.insideAngular)),this.idToken=this.user.pipe((0,J.w)(pi=>pi?(0,k.D)(pi.getIdToken()):(0,C.of)(null))),this.idTokenResult=this.user.pipe((0,J.w)(pi=>pi?(0,k.D)(pi.getIdTokenResult()):(0,C.of)(null))),this.credential=(0,ee.T)(yr,Zr,this.authState.pipe((0,Be.h)(pi=>!pi))).pipe((0,ne.U)(pi=>pi?.user?pi:null),(0,be.R)(Zt.outsideAngular),(0,ce.Q)(Zt.insideAngular))}return(0,ye.pX)(this,Tr,Vt,{spy:{apply:(or,yr,Qr)=>{(or.startsWith("signIn")||or.startsWith("createUser"))&&Qr.then(Bi=>Zr.next(Bi))}}})}}return Se.\u0275fac=function(We){return new(We||Se)(s.LFG(ye.Dh),s.LFG(ye.xv,8),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(ke.HU),s.LFG(Io,8),s.LFG(Gr,8),s.LFG(jo,8),s.LFG(Kr,8),s.LFG(co,8),s.LFG(os,8),s.LFG(ao,8))},Se.\u0275prov=s.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"any"}),Se})(),mr=(()=>{class Se{constructor(){Fr.Z.registerVersion("angularfire",ke.q4.full,"auth-compat")}}return Se.\u0275fac=function(We){return new(We||Se)},Se.\u0275mod=s.oAB({type:Se}),Se.\u0275inj=s.cJS({providers:[Yr]}),Se})()},12011:(yt,Ee,g)=>{g.d(Ee,{Dh:()=>J,GT:()=>ee,cc:()=>be,hO:()=>Ae,on:()=>R,pX:()=>k,xv:()=>ne});var s=g(94650),d=g(29260),C=g(62122);yt=g.hmd(yt);const $=["ngOnDestroy"],k=(je,Ke,ze,xe={})=>new Proxy(je,{get:(U,se)=>ze.runOutsideAngular(()=>{var q;if(je[se])return!(null===(q=xe?.spy)||void 0===q)&&q.get&&xe.spy.get(se,je[se]),je[se];if($.indexOf(se)>-1)return()=>{};const oe=Ke.toPromise().then(le=>{const ve=le&&le[se];return"function"==typeof ve?ve.bind(le):ve&&ve.then?ve.then(Ze=>ze.run(()=>Ze)):ze.run(()=>ve)});return new Proxy(()=>{},{get:(le,ve)=>oe[ve],apply:(le,ve,Ze)=>oe.then(Ge=>{var bt;const st=Ge&&Ge(...Ze);return!(null===(bt=xe?.spy)||void 0===bt)&&bt.apply&&xe.spy.apply(se,Ze,st),st})})})}),ee=(je,Ke)=>{Ke.forEach(ze=>{Object.getOwnPropertyNames(ze.prototype||ze).forEach(xe=>{Object.defineProperty(je.prototype,xe,Object.getOwnPropertyDescriptor(ze.prototype||ze,xe))})})};class ce{constructor(Ke){return Ke}}const J=new s.OlP("angularfire2.app.options"),ne=new s.OlP("angularfire2.app.name");function R(je,Ke,ze){const U="object"==typeof ze&&ze||{};U.name=U.name||"string"==typeof ze&&ze||"[DEFAULT]";const q=d.Z.apps.filter(oe=>oe&&oe.name===U.name)[0]||Ke.runOutsideAngular(()=>d.Z.initializeApp(je,U));try{JSON.stringify(je)!==JSON.stringify(q.options)&&Z("error",`${q.name} Firebase App already initialized with different options${yt.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new ce(q)}const Z=(je,...Ke)=>{(0,s.X6Q)()&&typeof console<"u"&&console[je](...Ke)},Y={provide:ce,useFactory:R,deps:[J,s.R0b,[new s.FiY,ne]]};let Ae=(()=>{class je{constructor(ze){d.Z.registerVersion("angularfire",C.q4.full,"core"),d.Z.registerVersion("angularfire",C.q4.full,"app-compat"),d.Z.registerVersion("angular",s.q4F.full,ze.toString())}static initializeApp(ze,xe){return{ngModule:je,providers:[{provide:J,useValue:ze},{provide:ne,useValue:xe}]}}}return je.\u0275fac=function(ze){return new(ze||je)(s.LFG(s.Lbi))},je.\u0275mod=s.oAB({type:je}),je.\u0275inj=s.cJS({providers:[Y]}),je})();function be(je,Ke,ze,xe,U){const[,se,q]=globalThis.\u0275AngularfireInstanceCache.find(oe=>oe[0]===je)||[];if(se)return function Be(je,Ke){try{return je.toString()===Ke.toString()}catch{return je===Ke}}(U,q)||(ye("error",`${Ke} was already initialized on the ${ze} Firebase App with different settings.${ke?" You may need to reload as Firebase is not HMR aware.":""}`),ye("warn",{is:U,was:q})),se;{const oe=xe();return globalThis.\u0275AngularfireInstanceCache.push([je,oe,U]),oe}}const ke=!!yt.hot,ye=(je,...Ke)=>{(0,s.X6Q)()&&typeof console<"u"&&console[je](...Ke)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},62122:(yt,Ee,g)=>{g.d(Ee,{q4:()=>Qn,iC:()=>Hs,HU:()=>xi,vb:()=>dt,JM:()=>Ue});var s=g(94650),d=g(70259),C=g(15861),$=g(49681),k=g(42090),ee=g(34859),ce=g(41877),J=g(98766);const ne="@firebase/installations",R="0.6.4",Z=1e4,Y=`w:${R}`,Ae="FIS_v2",be="https://firebaseinstallations.googleapis.com/v1",Be=36e5,Ke=new k.LL("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function ze(b){return b instanceof k.ZR&&b.code.includes("request-failed")}function xe({projectId:b}){return`${be}/projects/${b}/installations`}function U(b){return{token:b.token,requestStatus:2,expiresIn:Ge(b.expiresIn),creationTime:Date.now()}}function se(b,M){return q.apply(this,arguments)}function q(){return(q=(0,C.Z)(function*(b,M){const me=(yield M.json()).error;return Ke.create("request-failed",{requestName:b,serverCode:me.code,serverMessage:me.message,serverStatus:me.status})})).apply(this,arguments)}function oe({apiKey:b}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":b})}function ve(b){return Ze.apply(this,arguments)}function Ze(){return(Ze=(0,C.Z)(function*(b){const M=yield b();return M.status>=500&&M.status<600?b():M})).apply(this,arguments)}function Ge(b){return Number(b.replace("s","000"))}function Oe(){return(Oe=(0,C.Z)(function*({appConfig:b,heartbeatServiceProvider:M},{fid:N}){const me=xe(b),Ve=oe(b),nt=M.getImmediate({optional:!0});if(nt){const sn=yield nt.getHeartbeatsHeader();sn&&Ve.append("x-firebase-client",sn)}const Gt={method:"POST",headers:Ve,body:JSON.stringify({fid:N,authVersion:Ae,appId:b.appId,sdkVersion:Y})},en=yield ve(()=>fetch(me,Gt));if(en.ok){const sn=yield en.json();return{fid:sn.fid||N,registrationStatus:2,refreshToken:sn.refreshToken,authToken:U(sn.authToken)}}throw yield se("Create Installation",en)})).apply(this,arguments)}function Ye(b){return new Promise(M=>{setTimeout(M,b)})}const lt=/^[cdef][\w-]{21}$/,vt="";function ft(){try{const b=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(b),b[0]=112+b[0]%16;const N=function ot(b){return function tt(b){return btoa(String.fromCharCode(...b)).replace(/\+/g,"-").replace(/\//g,"_")}(b).substr(0,22)}(b);return lt.test(N)?N:vt}catch{return vt}}function fe(b){return`${b.appName}!${b.appId}`}const G=new Map;function w(b,M){const N=fe(b);et(N,M),function Mt(b,M){const N=function Lt(){return!xt&&"BroadcastChannel"in self&&(xt=new BroadcastChannel("[Firebase] FID Change"),xt.onmessage=b=>{et(b.data.key,b.data.fid)}),xt}();N&&N.postMessage({key:b,fid:M}),function Kt(){0===G.size&&xt&&(xt.close(),xt=null)}()}(N,M)}function et(b,M){const N=G.get(b);if(N)for(const me of N)me(M)}let xt=null;const hn="firebase-installations-database",mn=1,zt="firebase-installations-store";let bn=null;function Pn(){return bn||(bn=(0,J.X3)(hn,mn,{upgrade:(b,M)=>{0===M&&b.createObjectStore(zt)}})),bn}function ln(b,M){return yn.apply(this,arguments)}function yn(){return(yn=(0,C.Z)(function*(b,M){const N=fe(b),Ve=(yield Pn()).transaction(zt,"readwrite"),nt=Ve.objectStore(zt),Ct=yield nt.get(N);return yield nt.put(M,N),yield Ve.done,(!Ct||Ct.fid!==M.fid)&&w(b,M.fid),M})).apply(this,arguments)}function Ne(b){return V.apply(this,arguments)}function V(){return(V=(0,C.Z)(function*(b){const M=fe(b),me=(yield Pn()).transaction(zt,"readwrite");yield me.objectStore(zt).delete(M),yield me.done})).apply(this,arguments)}function de(b,M){return Te.apply(this,arguments)}function Te(){return(Te=(0,C.Z)(function*(b,M){const N=fe(b),Ve=(yield Pn()).transaction(zt,"readwrite"),nt=Ve.objectStore(zt),Ct=yield nt.get(N),Gt=M(Ct);return void 0===Gt?yield nt.delete(N):yield nt.put(Gt,N),yield Ve.done,Gt&&(!Ct||Ct.fid!==Gt.fid)&&w(b,Gt.fid),Gt})).apply(this,arguments)}function Qe(b){return ct.apply(this,arguments)}function ct(){return ct=(0,C.Z)(function*(b){let M;const N=yield de(b.appConfig,me=>{const Ve=function at(b){return St(b||{fid:ft(),registrationStatus:0})}(me),nt=function pt(b,M){if(0===M.registrationStatus){if(!navigator.onLine)return{installationEntry:M,registrationPromise:Promise.reject(Ke.create("app-offline"))};const N={fid:M.fid,registrationStatus:1,registrationTime:Date.now()},me=function _e(b,M){return it.apply(this,arguments)}(b,N);return{installationEntry:N,registrationPromise:me}}return 1===M.registrationStatus?{installationEntry:M,registrationPromise:ge(b)}:{installationEntry:M}}(b,Ve);return M=nt.registrationPromise,nt.installationEntry});return N.fid===vt?{installationEntry:yield M}:{installationEntry:N,registrationPromise:M}}),ct.apply(this,arguments)}function it(){return it=(0,C.Z)(function*(b,M){try{const N=yield function st(b,M){return Oe.apply(this,arguments)}(b,M);return ln(b.appConfig,N)}catch(N){throw ze(N)&&409===N.customData.serverCode?yield Ne(b.appConfig):yield ln(b.appConfig,{fid:M.fid,registrationStatus:0}),N}}),it.apply(this,arguments)}function ge(b){return Le.apply(this,arguments)}function Le(){return(Le=(0,C.Z)(function*(b){let M=yield mt(b.appConfig);for(;1===M.registrationStatus;)yield Ye(100),M=yield mt(b.appConfig);if(0===M.registrationStatus){const{installationEntry:N,registrationPromise:me}=yield Qe(b);return me||N}return M})).apply(this,arguments)}function mt(b){return de(b,M=>{if(!M)throw Ke.create("installation-not-found");return St(M)})}function St(b){return function Ht(b){return 1===b.registrationStatus&&b.registrationTime+Z<Date.now()}(b)?{fid:b.fid,registrationStatus:0}:b}function nn(){return(nn=(0,C.Z)(function*({appConfig:b,heartbeatServiceProvider:M},N){const me=function jt(b,{fid:M}){return`${xe(b)}/${M}/authTokens:generate`}(b,N),Ve=function le(b,{refreshToken:M}){const N=oe(b);return N.append("Authorization",function bt(b){return`${Ae} ${b}`}(M)),N}(b,N),nt=M.getImmediate({optional:!0});if(nt){const sn=yield nt.getHeartbeatsHeader();sn&&Ve.append("x-firebase-client",sn)}const Gt={method:"POST",headers:Ve,body:JSON.stringify({installation:{sdkVersion:Y,appId:b.appId}})},en=yield ve(()=>fetch(me,Gt));if(en.ok)return U(yield en.json());throw yield se("Generate Auth Token",en)})).apply(this,arguments)}function xn(b){return Nn.apply(this,arguments)}function Nn(){return Nn=(0,C.Z)(function*(b,M=!1){let N;const me=yield de(b.appConfig,nt=>{if(!ie(nt))throw Ke.create("not-registered");const Ct=nt.authToken;if(!M&&function Ie(b){return 2===b.requestStatus&&!function te(b){const M=Date.now();return M<b.creationTime||b.creationTime+b.expiresIn<M+Be}(b)}(Ct))return nt;if(1===Ct.requestStatus)return N=function It(b,M){return ut.apply(this,arguments)}(b,M),nt;{if(!navigator.onLine)throw Ke.create("app-offline");const Gt=function re(b){const M={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},b),{authToken:M})}(nt);return N=function x(b,M){return A.apply(this,arguments)}(b,Gt),Gt}});return N?yield N:me.authToken}),Nn.apply(this,arguments)}function ut(){return(ut=(0,C.Z)(function*(b,M){let N=yield z(b.appConfig);for(;1===N.authToken.requestStatus;)yield Ye(100),N=yield z(b.appConfig);const me=N.authToken;return 0===me.requestStatus?xn(b,M):me})).apply(this,arguments)}function z(b){return de(b,M=>{if(!ie(M))throw Ke.create("not-registered");return function Ce(b){return 1===b.requestStatus&&b.requestTime+Z<Date.now()}(M.authToken)?Object.assign(Object.assign({},M),{authToken:{requestStatus:0}}):M})}function A(){return A=(0,C.Z)(function*(b,M){try{const N=yield function Ot(b,M){return nn.apply(this,arguments)}(b,M),me=Object.assign(Object.assign({},M),{authToken:N});return yield ln(b.appConfig,me),N}catch(N){if(!ze(N)||401!==N.customData.serverCode&&404!==N.customData.serverCode){const me=Object.assign(Object.assign({},M),{authToken:{requestStatus:0}});yield ln(b.appConfig,me)}else yield Ne(b.appConfig);throw N}}),A.apply(this,arguments)}function ie(b){return void 0!==b&&2===b.registrationStatus}function Fe(){return(Fe=(0,C.Z)(function*(b){const M=b,{installationEntry:N,registrationPromise:me}=yield Qe(M);return me?me.catch(console.error):xn(M).catch(console.error),N.fid})).apply(this,arguments)}function he(){return he=(0,C.Z)(function*(b,M=!1){const N=b;return yield function L(b){return T.apply(this,arguments)}(N),(yield xn(N,M)).token}),he.apply(this,arguments)}function T(){return(T=(0,C.Z)(function*(b){const{registrationPromise:M}=yield Qe(b);M&&(yield M)})).apply(this,arguments)}function Ji(b){return Ke.create("missing-app-config-values",{valueName:b})}const yi="installations",hr=b=>{const M=b.getProvider("app").getImmediate(),N=function ri(b){if(!b||!b.options)throw Ji("App Configuration");if(!b.name)throw Ji("App Name");const M=["projectId","apiKey","appId"];for(const N of M)if(!b.options[N])throw Ji(N);return{appName:b.name,projectId:b.options.projectId,apiKey:b.options.apiKey,appId:b.options.appId}}(M);return{app:M,appConfig:N,heartbeatServiceProvider:(0,$._getProvider)(M,"heartbeat"),_delete:()=>Promise.resolve()}},fr=b=>{const M=b.getProvider("app").getImmediate(),N=(0,$._getProvider)(M,yi).getImmediate();return{getId:()=>function $e(b){return Fe.apply(this,arguments)}(N),getToken:Ve=>function wt(b){return he.apply(this,arguments)}(N,Ve)}};(function ji(){(0,$._registerComponent)(new ee.wA(yi,hr,"PUBLIC")),(0,$._registerComponent)(new ee.wA("installations-internal",fr,"PRIVATE"))})(),(0,$.registerVersion)(ne,R),(0,$.registerVersion)(ne,R,"esm2017");const wn="@firebase/remote-config",Wn=new k.LL("remoteconfig","Remote Config",{"registration-window":"Undefined window object. This SDK only supports usage in a browser environment.","registration-project-id":"Undefined project identifier. Check Firebase app initialization.","registration-api-key":"Undefined API key. Check Firebase app initialization.","registration-app-id":"Undefined app identifier. Check Firebase app initialization.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","storage-delete":"Error thrown when deleting from storage. Original error: {$originalErrorMessage}.","fetch-client-network":"Fetch client failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-timeout":'The config fetch request timed out. Configure timeout using "fetchTimeoutMillis" SDK setting.',"fetch-throttle":'The config fetch request timed out while in an exponential backoff state. Configure timeout using "fetchTimeoutMillis" SDK setting. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.',"fetch-client-parse":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","indexed-db-unavailable":"Indexed DB is not supported by current browser"});class Zi{constructor(M,N,me,Ve){this.client=M,this.storage=N,this.storageCache=me,this.logger=Ve}isCachedDataFresh(M,N){if(!N)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const me=Date.now()-N,Ve=me<=M;return this.logger.debug(`Config fetch cache check. Cache age millis: ${me}. Cache max age millis (minimumFetchIntervalMillis setting): ${M}. Is cache hit: ${Ve}.`),Ve}fetch(M){var N=this;return(0,C.Z)(function*(){const[me,Ve]=yield Promise.all([N.storage.getLastSuccessfulFetchTimestampMillis(),N.storage.getLastSuccessfulFetchResponse()]);if(Ve&&N.isCachedDataFresh(M.cacheMaxAgeMillis,me))return Ve;M.eTag=Ve&&Ve.eTag;const nt=yield N.client.fetch(M),Ct=[N.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===nt.status&&Ct.push(N.storage.setLastSuccessfulFetchResponse(nt)),yield Promise.all(Ct),nt})()}}function Mr(b=navigator){return b.languages&&b.languages[0]||b.language}class Fi{constructor(M,N,me,Ve,nt,Ct){this.firebaseInstallations=M,this.sdkVersion=N,this.namespace=me,this.projectId=Ve,this.apiKey=nt,this.appId=Ct}fetch(M){var N=this;return(0,C.Z)(function*(){const[me,Ve]=yield Promise.all([N.firebaseInstallations.getId(),N.firebaseInstallations.getToken()]),Ct=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${N.projectId}/namespaces/${N.namespace}:fetch?key=${N.apiKey}`,Gt={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":M.eTag||"*"},en={sdk_version:N.sdkVersion,app_instance_id:me,app_instance_id_token:Ve,app_id:N.appId,language_code:Mr()},sn={method:"POST",headers:Gt,body:JSON.stringify(en)},Tn=fetch(Ct,sn),un=new Promise((Co,ms)=>{M.signal.addEventListener(()=>{const Ja=new Error("The operation was aborted.");Ja.name="AbortError",ms(Ja)})});let ro;try{yield Promise.race([Tn,un]),ro=yield Tn}catch(Co){let ms="fetch-client-network";throw"AbortError"===Co?.name&&(ms="fetch-timeout"),Wn.create(ms,{originalErrorMessage:Co?.message})}let dr=ro.status;const Ws=ro.headers.get("ETag")||void 0;let Oa,ra;if(200===ro.status){let Co;try{Co=yield ro.json()}catch(ms){throw Wn.create("fetch-client-parse",{originalErrorMessage:ms?.message})}Oa=Co.entries,ra=Co.state}if("INSTANCE_STATE_UNSPECIFIED"===ra?dr=500:"NO_CHANGE"===ra?dr=304:("NO_TEMPLATE"===ra||"EMPTY_CONFIG"===ra)&&(Oa={}),304!==dr&&200!==dr)throw Wn.create("fetch-status",{httpStatus:dr});return{status:dr,eTag:Ws,config:Oa}})()}}class En{constructor(M,N){this.client=M,this.storage=N}fetch(M){var N=this;return(0,C.Z)(function*(){const me=(yield N.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return N.attemptFetch(M,me)})()}attemptFetch(M,{throttleEndTimeMillis:N,backoffCount:me}){var Ve=this;return(0,C.Z)(function*(){yield function nr(b,M){return new Promise((N,me)=>{const Ve=Math.max(M-Date.now(),0),nt=setTimeout(N,Ve);b.addEventListener(()=>{clearTimeout(nt),me(Wn.create("fetch-throttle",{throttleEndTimeMillis:M}))})})}(M.signal,N);try{const nt=yield Ve.client.fetch(M);return yield Ve.storage.deleteThrottleMetadata(),nt}catch(nt){if(!function ao(b){if(!(b instanceof k.ZR&&b.customData))return!1;const M=Number(b.customData.httpStatus);return 429===M||500===M||503===M||504===M}(nt))throw nt;const Ct={throttleEndTimeMillis:Date.now()+(0,k.$s)(me),backoffCount:me+1};return yield Ve.storage.setThrottleMetadata(Ct),Ve.attemptFetch(M,Ct)}})()}}class kr{constructor(M,N,me,Ve,nt){this.app=M,this._client=N,this._storageCache=me,this._storage=Ve,this._logger=nt,this._isInitializationComplete=!1,this.settings={fetchTimeoutMillis:6e4,minimumFetchIntervalMillis:432e5},this.defaultConfig={}}get fetchTimeMillis(){return this._storageCache.getLastSuccessfulFetchTimestampMillis()||-1}get lastFetchStatus(){return this._storageCache.getLastFetchStatus()||"no-fetch-yet"}}function ir(b,M){const N=b.target.error||void 0;return Wn.create(M,{originalErrorMessage:N&&N?.message})}const Di="app_namespace_store";class li{constructor(M,N,me,Ve=function gr(){return new Promise((b,M)=>{try{const N=indexedDB.open("firebase_remote_config",1);N.onerror=me=>{M(ir(me,"storage-open"))},N.onsuccess=me=>{b(me.target.result)},N.onupgradeneeded=me=>{0===me.oldVersion&&me.target.result.createObjectStore(Di,{keyPath:"compositeKey"})}}catch(N){M(Wn.create("storage-open",{originalErrorMessage:N?.message}))}})}()){this.appId=M,this.appName=N,this.namespace=me,this.openDbPromise=Ve}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(M){return this.set("last_fetch_status",M)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(M){return this.set("last_successful_fetch_timestamp_millis",M)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(M){return this.set("last_successful_fetch_response",M)}getActiveConfig(){return this.get("active_config")}setActiveConfig(M){return this.set("active_config",M)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(M){return this.set("active_config_etag",M)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(M){return this.set("throttle_metadata",M)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(M){var N=this;return(0,C.Z)(function*(){const me=yield N.openDbPromise;return new Promise((Ve,nt)=>{const Gt=me.transaction([Di],"readonly").objectStore(Di),en=N.createCompositeKey(M);try{const sn=Gt.get(en);sn.onerror=Tn=>{nt(ir(Tn,"storage-get"))},sn.onsuccess=Tn=>{const un=Tn.target.result;Ve(un?un.value:void 0)}}catch(sn){nt(Wn.create("storage-get",{originalErrorMessage:sn?.message}))}})})()}set(M,N){var me=this;return(0,C.Z)(function*(){const Ve=yield me.openDbPromise;return new Promise((nt,Ct)=>{const en=Ve.transaction([Di],"readwrite").objectStore(Di),sn=me.createCompositeKey(M);try{const Tn=en.put({compositeKey:sn,value:N});Tn.onerror=un=>{Ct(ir(un,"storage-set"))},Tn.onsuccess=()=>{nt()}}catch(Tn){Ct(Wn.create("storage-set",{originalErrorMessage:Tn?.message}))}})})()}delete(M){var N=this;return(0,C.Z)(function*(){const me=yield N.openDbPromise;return new Promise((Ve,nt)=>{const Gt=me.transaction([Di],"readwrite").objectStore(Di),en=N.createCompositeKey(M);try{const sn=Gt.delete(en);sn.onerror=Tn=>{nt(ir(Tn,"storage-delete"))},sn.onsuccess=()=>{Ve()}}catch(sn){nt(Wn.create("storage-delete",{originalErrorMessage:sn?.message}))}})})()}createCompositeKey(M){return[this.appId,this.appName,this.namespace,M].join()}}class Ii{constructor(M){this.storage=M}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var M=this;return(0,C.Z)(function*(){const N=M.storage.getLastFetchStatus(),me=M.storage.getLastSuccessfulFetchTimestampMillis(),Ve=M.storage.getActiveConfig(),nt=yield N;nt&&(M.lastFetchStatus=nt);const Ct=yield me;Ct&&(M.lastSuccessfulFetchTimestampMillis=Ct);const Gt=yield Ve;Gt&&(M.activeConfig=Gt)})()}setLastFetchStatus(M){return this.lastFetchStatus=M,this.storage.setLastFetchStatus(M)}setLastSuccessfulFetchTimestampMillis(M){return this.lastSuccessfulFetchTimestampMillis=M,this.storage.setLastSuccessfulFetchTimestampMillis(M)}setActiveConfig(M){return this.activeConfig=M,this.storage.setActiveConfig(M)}}function Ni(){return Fr.apply(this,arguments)}function Fr(){return(Fr=(0,C.Z)(function*(){if(!(0,k.hl)())return!1;try{return yield(0,k.eu)()}catch{return!1}})).apply(this,arguments)}!function So(){(0,$._registerComponent)(new ee.wA("remote-config",function b(M,{instanceIdentifier:N}){const me=M.getProvider("app").getImmediate(),Ve=M.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw Wn.create("registration-window");if(!(0,k.hl)())throw Wn.create("indexed-db-unavailable");const{projectId:nt,apiKey:Ct,appId:Gt}=me.options;if(!nt)throw Wn.create("registration-project-id");if(!Ct)throw Wn.create("registration-api-key");if(!Gt)throw Wn.create("registration-app-id");const en=new li(Gt,me.name,N=N||"firebase"),sn=new Ii(en),Tn=new ce.Yd(wn);Tn.logLevel=ce.in.ERROR;const un=new Fi(Ve,$.SDK_VERSION,N,nt,Ct,Gt),ro=new En(un,en),dr=new Zi(ro,en,sn,Tn),Ws=new kr(me,dr,sn,en,Tn);return function ai(b){const M=(0,k.m9)(b);M._initializePromise||(M._initializePromise=M._storageCache.loadFromStorage().then(()=>{M._isInitializationComplete=!0}))}(Ws),Ws},"PUBLIC").setMultipleInstances(!0)),(0,$.registerVersion)(wn,"0.4.4"),(0,$.registerVersion)(wn,"0.4.4","esm2017")}();const Wr="/firebase-messaging-sw.js",Io="/firebase-cloud-messaging-push-scope",Gr="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",jo="https://fcmregistrations.googleapis.com/v1",Kr="google.c.a.c_id",co="google.c.a.c_l",os="google.c.a.ts",Lr="google.c.a.e";var mr=(()=>{return(b=mr||(mr={})).PUSH_RECEIVED="push-received",b.NOTIFICATION_CLICKED="notification-clicked",mr;var b})();function Se(b){const M=new Uint8Array(b);return btoa(String.fromCharCode(...M)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Pe(b){const N=(b+"=".repeat((4-b.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),me=atob(N),Ve=new Uint8Array(me.length);for(let nt=0;nt<me.length;++nt)Ve[nt]=me.charCodeAt(nt);return Ve}const We="fcm_token_details_db",ht=5,At="fcm_token_object_Store";function Zt(){return Zt=(0,C.Z)(function*(b){if("databases"in indexedDB&&!(yield indexedDB.databases()).map(nt=>nt.name).includes(We))return null;let M=null;return(yield(0,J.X3)(We,ht,{upgrade:(me=(0,C.Z)(function*(Ve,nt,Ct,Gt){var en;if(nt<2||!Ve.objectStoreNames.contains(At))return;const sn=Gt.objectStore(At),Tn=yield sn.index("fcmSenderId").get(b);if(yield sn.clear(),Tn)if(2===nt){const un=Tn;if(!un.auth||!un.p256dh||!un.endpoint)return;M={token:un.fcmToken,createTime:null!==(en=un.createTime)&&void 0!==en?en:Date.now(),subscriptionOptions:{auth:un.auth,p256dh:un.p256dh,endpoint:un.endpoint,swScope:un.swScope,vapidKey:"string"==typeof un.vapidKey?un.vapidKey:Se(un.vapidKey)}}}else if(3===nt){const un=Tn;M={token:un.fcmToken,createTime:un.createTime,subscriptionOptions:{auth:Se(un.auth),p256dh:Se(un.p256dh),endpoint:un.endpoint,swScope:un.swScope,vapidKey:Se(un.vapidKey)}}}else if(4===nt){const un=Tn;M={token:un.fcmToken,createTime:un.createTime,subscriptionOptions:{auth:Se(un.auth),p256dh:Se(un.p256dh),endpoint:un.endpoint,swScope:un.swScope,vapidKey:Se(un.vapidKey)}}}}),function(nt,Ct,Gt,en){return me.apply(this,arguments)})})).close(),yield(0,J.Lj)(We),yield(0,J.Lj)("fcm_vapid_details_db"),yield(0,J.Lj)("undefined"),function Bn(b){if(!b||!b.subscriptionOptions)return!1;const{subscriptionOptions:M}=b;return"number"==typeof b.createTime&&b.createTime>0&&"string"==typeof b.token&&b.token.length>0&&"string"==typeof M.auth&&M.auth.length>0&&"string"==typeof M.p256dh&&M.p256dh.length>0&&"string"==typeof M.endpoint&&M.endpoint.length>0&&"string"==typeof M.swScope&&M.swScope.length>0&&"string"==typeof M.vapidKey&&M.vapidKey.length>0}(M)?M:null;var me}),Zt.apply(this,arguments)}const pn="firebase-messaging-database",_r=1,kn="firebase-messaging-store";let fi=null;function Qi(){return fi||(fi=(0,J.X3)(pn,_r,{upgrade:(b,M)=>{0===M&&b.createObjectStore(kn)}})),fi}function uo(b){return Zr.apply(this,arguments)}function Zr(){return Zr=(0,C.Z)(function*(b){const M=Bi(b),me=yield(yield Qi()).transaction(kn).objectStore(kn).get(M);if(me)return me;{const Ve=yield function Vt(b){return Zt.apply(this,arguments)}(b.appConfig.senderId);if(Ve)return yield Tr(b,Ve),Ve}}),Zr.apply(this,arguments)}function Tr(b,M){return or.apply(this,arguments)}function or(){return(or=(0,C.Z)(function*(b,M){const N=Bi(b),Ve=(yield Qi()).transaction(kn,"readwrite");return yield Ve.objectStore(kn).put(M,N),yield Ve.done,M})).apply(this,arguments)}function Qr(){return(Qr=(0,C.Z)(function*(b){const M=Bi(b),me=(yield Qi()).transaction(kn,"readwrite");yield me.objectStore(kn).delete(M),yield me.done})).apply(this,arguments)}function Bi({appConfig:b}){return b.appId}const gn=new k.LL("messaging","Messaging",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."});function qn(b,M){return Xr.apply(this,arguments)}function Xr(){return(Xr=(0,C.Z)(function*(b,M){const N=yield Ho(b),me=Jn(M),Ve={method:"POST",headers:N,body:JSON.stringify(me)};let nt;try{nt=yield(yield fetch(Nr(b.appConfig),Ve)).json()}catch(Ct){throw gn.create("token-subscribe-failed",{errorInfo:Ct?.toString()})}if(nt.error)throw gn.create("token-subscribe-failed",{errorInfo:nt.error.message});if(!nt.token)throw gn.create("token-subscribe-no-token");return nt.token})).apply(this,arguments)}function Sr(){return(Sr=(0,C.Z)(function*(b,M){const N=yield Ho(b),me=Jn(M.subscriptionOptions),Ve={method:"PATCH",headers:N,body:JSON.stringify(me)};let nt;try{nt=yield(yield fetch(`${Nr(b.appConfig)}/${M.token}`,Ve)).json()}catch(Ct){throw gn.create("token-update-failed",{errorInfo:Ct?.toString()})}if(nt.error)throw gn.create("token-update-failed",{errorInfo:nt.error.message});if(!nt.token)throw gn.create("token-update-no-token");return nt.token})).apply(this,arguments)}function Ir(b,M){return Ei.apply(this,arguments)}function Ei(){return(Ei=(0,C.Z)(function*(b,M){const me={method:"DELETE",headers:yield Ho(b)};try{const nt=yield(yield fetch(`${Nr(b.appConfig)}/${M}`,me)).json();if(nt.error)throw gn.create("token-unsubscribe-failed",{errorInfo:nt.error.message})}catch(Ve){throw gn.create("token-unsubscribe-failed",{errorInfo:Ve?.toString()})}})).apply(this,arguments)}function Nr({projectId:b}){return`${jo}/projects/${b}/registrations`}function Ho(b){return vr.apply(this,arguments)}function vr(){return(vr=(0,C.Z)(function*({appConfig:b,installations:M}){const N=yield M.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":b.apiKey,"x-goog-firebase-installations-auth":`FIS ${N}`})})).apply(this,arguments)}function Jn({p256dh:b,auth:M,endpoint:N,vapidKey:me}){const Ve={web:{endpoint:N,auth:M,p256dh:b}};return me!==Gr&&(Ve.web.applicationPubKey=me),Ve}const ho=6048e5;function Oo(){return Oo=(0,C.Z)(function*(b){const M=yield function Es(b,M){return Po.apply(this,arguments)}(b.swRegistration,b.vapidKey),N={vapidKey:b.vapidKey,swScope:b.swRegistration.scope,endpoint:M.endpoint,auth:Se(M.getKey("auth")),p256dh:Se(M.getKey("p256dh"))},me=yield uo(b.firebaseDependencies);if(me){if(function $o(b,M){return M.vapidKey===b.vapidKey&&M.endpoint===b.endpoint&&M.auth===b.auth&&M.p256dh===b.p256dh}(me.subscriptionOptions,N))return Date.now()>=me.createTime+ho?function Vo(b,M){return Qt.apply(this,arguments)}(b,{token:me.token,createTime:Date.now(),subscriptionOptions:N}):me.token;try{yield Ir(b.firebaseDependencies,me.token)}catch(Ve){console.warn(Ve)}return ss(b.firebaseDependencies,N)}return ss(b.firebaseDependencies,N)}),Oo.apply(this,arguments)}function Dr(){return Dr=(0,C.Z)(function*(b){const M=yield uo(b.firebaseDependencies);M&&(yield Ir(b.firebaseDependencies,M.token),yield function yr(b){return Qr.apply(this,arguments)}(b.firebaseDependencies));const N=yield b.swRegistration.pushManager.getSubscription();return!N||N.unsubscribe()}),Dr.apply(this,arguments)}function Qt(){return Qt=(0,C.Z)(function*(b,M){try{const N=yield function Mn(b,M){return Sr.apply(this,arguments)}(b.firebaseDependencies,M),me=Object.assign(Object.assign({},M),{token:N,createTime:Date.now()});return yield Tr(b.firebaseDependencies,me),N}catch(N){throw yield function Hi(b){return Dr.apply(this,arguments)}(b),N}}),Qt.apply(this,arguments)}function ss(b,M){return as.apply(this,arguments)}function as(){return(as=(0,C.Z)(function*(b,M){const me={token:yield qn(b,M),createTime:Date.now(),subscriptionOptions:M};return yield Tr(b,me),me.token})).apply(this,arguments)}function Po(){return(Po=(0,C.Z)(function*(b,M){return(yield b.pushManager.getSubscription())||b.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:Pe(M)})})).apply(this,arguments)}function zo(b){const M={from:b.from,collapseKey:b.collapse_key,messageId:b.fcmMessageId};return function Wo(b,M){if(!M.notification)return;b.notification={};const N=M.notification.title;N&&(b.notification.title=N);const me=M.notification.body;me&&(b.notification.body=me);const Ve=M.notification.image;Ve&&(b.notification.image=Ve);const nt=M.notification.icon;nt&&(b.notification.icon=nt)}(M,b),function Gn(b,M){M.data&&(b.data=M.data)}(M,b),function Dt(b,M){var N,me,Ve,nt,Ct;if(!(M.fcmOptions||null!==(N=M.notification)&&void 0!==N&&N.click_action))return;b.fcmOptions={};const Gt=null!==(Ve=null===(me=M.fcmOptions)||void 0===me?void 0:me.link)&&void 0!==Ve?Ve:null===(nt=M.notification)||void 0===nt?void 0:nt.click_action;Gt&&(b.fcmOptions.link=Gt);const en=null===(Ct=M.fcmOptions)||void 0===Ct?void 0:Ct.analytics_label;en&&(b.fcmOptions.analyticsLabel=en)}(M,b),M}function ls(b,M){const N=[];for(let me=0;me<b.length;me++)N.push(b.charAt(me)),me<M.length&&N.push(M.charAt(me));return N.join("")}function mi(b){return gn.create("missing-app-config-values",{valueName:b})}ls("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),ls("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class ws{constructor(M,N,me){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const Ve=function Cs(b){if(!b||!b.options)throw mi("App Configuration Object");if(!b.name)throw mi("App Name");const M=["projectId","apiKey","appId","messagingSenderId"],{options:N}=b;for(const me of M)if(!N[me])throw mi(me);return{appName:b.name,projectId:N.projectId,apiKey:N.apiKey,appId:N.appId,senderId:N.messagingSenderId}}(M);this.firebaseDependencies={app:M,appConfig:Ve,installations:N,analyticsProvider:me}}_delete(){return Promise.resolve()}}function Br(b){return Vi.apply(this,arguments)}function Vi(){return(Vi=(0,C.Z)(function*(b){try{b.swRegistration=yield navigator.serviceWorker.register(Wr,{scope:Io}),b.swRegistration.update().catch(()=>{})}catch(M){throw gn.create("failed-service-worker-registration",{browserErrorMessage:M?.message})}})).apply(this,arguments)}function xo(){return(xo=(0,C.Z)(function*(b,M){if(!M&&!b.swRegistration&&(yield Br(b)),M||!b.swRegistration){if(!(M instanceof ServiceWorkerRegistration))throw gn.create("invalid-sw-registration");b.swRegistration=M}})).apply(this,arguments)}function Ms(){return(Ms=(0,C.Z)(function*(b,M){M?b.vapidKey=M:b.vapidKey||(b.vapidKey=Gr)})).apply(this,arguments)}function ei(){return ei=(0,C.Z)(function*(b,M){if(!navigator)throw gn.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw gn.create("permission-blocked");return yield function cs(b,M){return Ms.apply(this,arguments)}(b,M?.vapidKey),yield function Go(b,M){return xo.apply(this,arguments)}(b,M?.serviceWorkerRegistration),function Ao(b){return Oo.apply(this,arguments)}(b)}),ei.apply(this,arguments)}function qr(){return(qr=(0,C.Z)(function*(b,M,N){const me=function Jr(b){switch(b){case mr.NOTIFICATION_CLICKED:return"notification_open";case mr.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}(M);(yield b.firebaseDependencies.analyticsProvider.get()).logEvent(me,{message_id:N[Kr],message_name:N[co],message_time:N[os],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}function fo(){return fo=(0,C.Z)(function*(b,M){const N=M.data;if(!N.isFirebaseMessaging)return;b.onMessageHandler&&N.messageType===mr.PUSH_RECEIVED&&("function"==typeof b.onMessageHandler?b.onMessageHandler(zo(N)):b.onMessageHandler.next(zo(N)));const me=N.data;(function On(b){return"object"==typeof b&&!!b&&Kr in b})(me)&&"1"===me[Lr]&&(yield function Ai(b,M,N){return qr.apply(this,arguments)}(b,N.messageType,me))}),fo.apply(this,arguments)}const ko="@firebase/messaging",us=b=>{const M=new ws(b.getProvider("app").getImmediate(),b.getProvider("installations-internal").getImmediate(),b.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",N=>function sr(b,M){return fo.apply(this,arguments)}(M,N)),M},eo=b=>{const M=b.getProvider("messaging").getImmediate();return{getToken:me=>function Ro(b,M){return ei.apply(this,arguments)}(M,me)}};function to(){return go.apply(this,arguments)}function go(){return(go=(0,C.Z)(function*(){try{yield(0,k.eu)()}catch{return!1}return typeof window<"u"&&(0,k.hl)()&&(0,k.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}!function po(){(0,$._registerComponent)(new ee.wA("messaging",us,"PUBLIC")),(0,$._registerComponent)(new ee.wA("messaging-internal",eo,"PRIVATE")),(0,$.registerVersion)(ko,"0.12.4"),(0,$.registerVersion)(ko,"0.12.4","esm2017")}();const Qo="analytics",Ts="firebase_id",Oi="origin",no=6e4,ti="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",ds="https://www.googletagmanager.com/gtag/js",Ci=new ce.Yd("@firebase/analytics");function Xo(b){return Promise.all(b.map(M=>M.catch(N=>N)))}function _o(){return(_o=(0,C.Z)(function*(b,M,N,me,Ve,nt){const Ct=me[Ve];try{if(Ct)yield M[Ct];else{const en=(yield Xo(N)).find(sn=>sn.measurementId===Ve);en&&(yield M[en.appId])}}catch(Gt){Ci.error(Gt)}b("config",Ve,nt)})).apply(this,arguments)}function m(){return(m=(0,C.Z)(function*(b,M,N,me,Ve){try{let nt=[];if(Ve&&Ve.send_to){let Ct=Ve.send_to;Array.isArray(Ct)||(Ct=[Ct]);const Gt=yield Xo(N);for(const en of Ct){const sn=Gt.find(un=>un.measurementId===en),Tn=sn&&M[sn.appId];if(!Tn){nt=[];break}nt.push(Tn)}}0===nt.length&&(nt=Object.values(M)),yield Promise.all(nt),b("event",me,Ve||{})}catch(nt){Ci.error(nt)}})).apply(this,arguments)}const Je=new k.LL("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id} already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-intialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.'}),gt=30,Fn=new class Sn{constructor(M={},N=1e3){this.throttleMetadata=M,this.intervalMillis=N}getThrottleMetadata(M){return this.throttleMetadata[M]}setThrottleMetadata(M,N){this.throttleMetadata[M]=N}deleteThrottleMetadata(M){delete this.throttleMetadata[M]}};function Ln(b){return new Headers({Accept:"application/json","x-goog-api-key":b})}function ni(){return(ni=(0,C.Z)(function*(b){var M;const{appId:N,apiKey:me}=b,Ve={method:"GET",headers:Ln(me)},nt=ti.replace("{app-id}",N),Ct=yield fetch(nt,Ve);if(200!==Ct.status&&304!==Ct.status){let Gt="";try{const en=yield Ct.json();null!==(M=en.error)&&void 0!==M&&M.message&&(Gt=en.error.message)}catch{}throw Je.create("config-fetch-failed",{httpStatus:Ct.status,responseMessage:Gt})}return Ct.json()})).apply(this,arguments)}function ii(){return(ii=(0,C.Z)(function*(b,M=Fn,N){const{appId:me,apiKey:Ve,measurementId:nt}=b.options;if(!me)throw Je.create("no-app-id");if(!Ve){if(nt)return{measurementId:nt,appId:me};throw Je.create("no-api-key")}const Ct=M.getThrottleMetadata(me)||{backoffCount:0,throttleEndTimeMillis:Date.now()},Gt=new vo;return setTimeout((0,C.Z)(function*(){Gt.abort()}),void 0!==N?N:no),Xi({appId:me,apiKey:Ve,measurementId:nt},Ct,Gt,M)})).apply(this,arguments)}function Xi(b,M,N){return wi.apply(this,arguments)}function wi(){return wi=(0,C.Z)(function*(b,{throttleEndTimeMillis:M,backoffCount:N},me,Ve=Fn){var nt;const{appId:Ct,measurementId:Gt}=b;try{yield function $i(b,M){return new Promise((N,me)=>{const Ve=Math.max(M-Date.now(),0),nt=setTimeout(N,Ve);b.addEventListener(()=>{clearTimeout(nt),me(Je.create("fetch-throttle",{throttleEndTimeMillis:M}))})})}(me,M)}catch(en){if(Gt)return Ci.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Gt} provided in the "measurementId" field in the local Firebase config. [${en?.message}]`),{appId:Ct,measurementId:Gt};throw en}try{const en=yield function _n(b){return ni.apply(this,arguments)}(b);return Ve.deleteThrottleMetadata(Ct),en}catch(en){const sn=en;if(!function ar(b){if(!(b instanceof k.ZR&&b.customData))return!1;const M=Number(b.customData.httpStatus);return 429===M||500===M||503===M||504===M}(sn)){if(Ve.deleteThrottleMetadata(Ct),Gt)return Ci.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Gt} provided in the "measurementId" field in the local Firebase config. [${sn?.message}]`),{appId:Ct,measurementId:Gt};throw en}const Tn=503===Number(null===(nt=sn?.customData)||void 0===nt?void 0:nt.httpStatus)?(0,k.$s)(N,Ve.intervalMillis,gt):(0,k.$s)(N,Ve.intervalMillis),un={throttleEndTimeMillis:Date.now()+Tn,backoffCount:N+1};return Ve.setThrottleMetadata(Ct,un),Ci.debug(`Calling attemptFetch again in ${Tn} millis`),Xi(b,un,me,Ve)}}),wi.apply(this,arguments)}class vo{constructor(){this.listeners=[]}addEventListener(M){this.listeners.push(M)}abort(){this.listeners.forEach(M=>M())}}let Ar,Do;function No(){return(No=(0,C.Z)(function*(b,M,N,me,Ve){if(Ve&&Ve.global)b("event",N,me);else{const nt=yield M;b("event",N,Object.assign(Object.assign({},me),{send_to:nt}))}})).apply(this,arguments)}function l(){return(l=(0,C.Z)(function*(){if(!(0,k.hl)())return Ci.warn(Je.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,k.eu)()}catch(b){return Ci.warn(Je.create("indexeddb-unavailable",{errorInfo:b?.toString()}).message),!1}return!0})).apply(this,arguments)}function y(){return y=(0,C.Z)(function*(b,M,N,me,Ve,nt,Ct){var Gt;const en=function jn(b){return ii.apply(this,arguments)}(b);en.then(dr=>{N[dr.measurementId]=dr.appId,b.options.measurementId&&dr.measurementId!==b.options.measurementId&&Ci.warn(`The measurement ID in the local Firebase config (${b.options.measurementId}) does not match the measurement ID fetched from the server (${dr.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(dr=>Ci.error(dr)),M.push(en);const sn=function E(){return l.apply(this,arguments)}().then(dr=>{if(dr)return me.getId()}),[Tn,un]=yield Promise.all([en,sn]);(function j(b){const M=window.document.getElementsByTagName("script");for(const N of Object.values(M))if(N.src&&N.src.includes(ds)&&N.src.includes(b))return N;return null})(nt)||function Ur(b,M){const N=document.createElement("script");N.src=`${ds}?l=${b}&id=${M}`,N.async=!0,document.head.appendChild(N)}(nt,Tn.measurementId),Do&&(Ve("consent","default",Do),function Pi(b){Do=b}(void 0)),Ve("js",new Date);const ro=null!==(Gt=Ct?.config)&&void 0!==Gt?Gt:{};return ro[Oi]="firebase",ro.update=!0,null!=un&&(ro[Ts]=un),Ve("config",Tn.measurementId,ro),Ar&&(Ve("set",Ar),function Os(b){Ar=b}(void 0)),Tn.measurementId}),y.apply(this,arguments)}class F{constructor(M){this.app=M}_delete(){return delete Q[this.app.options.appId],Promise.resolve()}}let Q={},we=[];const Me={};let Nt,Rt,Xe="dataLayer",rt="gtag",vn=!1;function rn(b,M,N){!function Xt(){const b=[];if((0,k.ru)()&&b.push("This is a browser extension environment."),(0,k.zI)()||b.push("Cookies are not available."),b.length>0){const M=b.map((me,Ve)=>`(${Ve+1}) ${me}`).join(" "),N=Je.create("invalid-analytics-context",{errorInfo:M});Ci.warn(N.message)}}();const me=b.options.appId;if(!me)throw Je.create("no-app-id");if(!b.options.apiKey){if(!b.options.measurementId)throw Je.create("no-api-key");Ci.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${b.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=Q[me])throw Je.create("already-exists",{id:me});if(!vn){!function hs(b){let M=[];Array.isArray(window[b])?M=window[b]:window[b]=M}(Xe);const{wrappedGtag:nt,gtagCore:Ct}=function D(b,M,N,me,Ve){let nt=function(...Ct){window[me].push(arguments)};return window[Ve]&&"function"==typeof window[Ve]&&(nt=window[Ve]),window[Ve]=function P(b,M,N,me){function nt(){return nt=(0,C.Z)(function*(Ct,Gt,en){try{"event"===Ct?yield function yo(b,M,N,me,Ve){return m.apply(this,arguments)}(b,M,N,Gt,en):"config"===Ct?yield function fs(b,M,N,me,Ve,nt){return _o.apply(this,arguments)}(b,M,N,me,Gt,en):"consent"===Ct?b("consent","update",en):b("set",Gt)}catch(sn){Ci.error(sn)}}),nt.apply(this,arguments)}return function Ve(Ct,Gt,en){return nt.apply(this,arguments)}}(nt,b,M,N),{gtagCore:nt,wrappedGtag:window[Ve]}}(Q,we,Me,Xe,rt);Rt=nt,Nt=Ct,vn=!0}return Q[me]=function a(b,M,N,me,Ve,nt,Ct){return y.apply(this,arguments)}(b,we,Me,M,Nt,Xe,N),new F(b)}function Mi(){return _i.apply(this,arguments)}function _i(){return(_i=(0,C.Z)(function*(){if((0,k.ru)()||!(0,k.zI)()||!(0,k.hl)())return!1;try{return yield(0,k.eu)()}catch{return!1}})).apply(this,arguments)}const js="@firebase/analytics";!function qo(){(0,$._registerComponent)(new ee.wA(Qo,(M,{options:N})=>rn(M.getProvider("app").getImmediate(),M.getProvider("installations-internal").getImmediate(),N),"PUBLIC")),(0,$._registerComponent)(new ee.wA("analytics-internal",function b(M){try{const N=M.getProvider(Qo).getImmediate();return{logEvent:(me,Ve,nt)=>function Wi(b,M,N,me){b=(0,k.m9)(b),function ps(b,M,N,me,Ve){return No.apply(this,arguments)}(Rt,Q[b.app.options.appId],M,N,me).catch(Ve=>Ci.error(Ve))}(N,me,Ve,nt)}}catch(N){throw Je.create("interop-component-reg-failed",{reason:N})}},"PRIVATE")),(0,$.registerVersion)(js,"0.9.4"),(0,$.registerVersion)(js,"0.9.4","esm2017")}();var Jo=g(84408),Wt=g(97565);const on=new class Jt extends Wt.v{}(class na extends Jo.o{constructor(M,N){super(M,N),this.scheduler=M,this.work=N}schedule(M,N=0){return N>0?super.schedule(M,N):(this.delay=N,this.state=M,this.scheduler.flush(this),this)}execute(M,N){return N>0||this.closed?super.execute(M,N):this._execute(M,N)}requestAsyncId(M,N,me=0){return null!=me&&me>0||null==me&&this.delay>0?super.requestAsyncId(M,N,me):(M.flush(this),0)}});var ui=g(34986),Hr=g(18505),cr=g(49468),Yn=g(85363);const Qn=new s.GfV("7.5.0"),Vr="__angularfire_symbol__analyticsIsSupportedValue",Ps="__angularfire_symbol__analyticsIsSupported",zn="__angularfire_symbol__remoteConfigIsSupportedValue",h="__angularfire_symbol__remoteConfigIsSupported",f="__angularfire_symbol__messagingIsSupportedValue",c="__angularfire_symbol__messagingIsSupported";function Ue(b,M,N){if(M){if(1===M.length)return M[0];const nt=M.filter(Ct=>Ct.app===N);if(1===nt.length)return nt[0]}return N.container.getProvider(b).getImmediate({optional:!0})}globalThis[Ps]||(globalThis[Ps]=Mi().then(b=>globalThis[Vr]=b).catch(()=>globalThis[Vr]=!1)),globalThis[c]||(globalThis[c]=to().then(b=>globalThis[f]=b).catch(()=>globalThis[f]=!1)),globalThis[h]||(globalThis[h]=Ni().then(b=>globalThis[zn]=b).catch(()=>globalThis[zn]=!1));const dt=(b,M)=>{const N=M?[M]:(0,d.C6)(),me=[];return N.forEach(Ve=>{Ve.container.getProvider(b).instances.forEach(Ct=>{me.includes(Ct)||me.push(Ct)})}),me};function Ft(){}class Bt{constructor(M,N=on){this.zone=M,this.delegate=N}now(){return this.delegate.now()}schedule(M,N,me){const Ve=this.zone;return this.delegate.schedule(function(Ct){Ve.runGuarded(()=>{M.apply(this,[Ct])})},N,me)}}class $n{constructor(M){this.zone=M,this.task=null}call(M,N){const me=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",Ft,{},Ft,Ft)),N.pipe((0,Hr.b)({next:me,complete:me,error:me})).subscribe(M).add(me)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let xi=(()=>{class b{constructor(N){this.ngZone=N,this.outsideAngular=N.runOutsideAngular(()=>new Bt(Zone.current)),this.insideAngular=N.run(()=>new Bt(Zone.current,ui.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return b.\u0275fac=function(N){return new(N||b)(s.LFG(s.R0b))},b.\u0275prov=s.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();function ur(){const b=globalThis.\u0275AngularFireScheduler;if(!b)throw new Error("Either AngularFireModule has not been provided in your AppModule (this can be done manually or implictly using\nprovideFirebaseApp) or you're calling an AngularFire method outside of an NgModule (which is not supported).");return b}function Hs(b){return ur(),function zs(b){return function(N){return(N=N.lift(new $n(b.ngZone))).pipe((0,cr.R)(b.outsideAngular),(0,Yn.Q)(b.insideAngular))}}(ur())(b)}},42090:(yt,Ee,g)=>{g.d(Ee,{$s:()=>x,BH:()=>se,L:()=>ne,LL:()=>w,Pz:()=>U,UG:()=>ve,US:()=>ee,ZB:()=>Y,ZR:()=>G,aH:()=>xe,b$:()=>bt,eu:()=>ft,hl:()=>vt,jU:()=>Ze,m9:()=>Ie,ne:()=>at,pd:()=>Qe,r3:()=>zt,ru:()=>Ge,tV:()=>R,uI:()=>le,vZ:()=>yn,w1:()=>Oe,xO:()=>de,xb:()=>Pn,z$:()=>oe,zI:()=>ot,zd:()=>Te});const $=function(te){const re=[];let Ce=0;for(let $e=0;$e<te.length;$e++){let Fe=te.charCodeAt($e);Fe<128?re[Ce++]=Fe:Fe<2048?(re[Ce++]=Fe>>6|192,re[Ce++]=63&Fe|128):55296==(64512&Fe)&&$e+1<te.length&&56320==(64512&te.charCodeAt($e+1))?(Fe=65536+((1023&Fe)<<10)+(1023&te.charCodeAt(++$e)),re[Ce++]=Fe>>18|240,re[Ce++]=Fe>>12&63|128,re[Ce++]=Fe>>6&63|128,re[Ce++]=63&Fe|128):(re[Ce++]=Fe>>12|224,re[Ce++]=Fe>>6&63|128,re[Ce++]=63&Fe|128)}return re},ee={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(te,re){if(!Array.isArray(te))throw Error("encodeByteArray takes an array as a parameter");this.init_();const Ce=re?this.byteToCharMapWebSafe_:this.byteToCharMap_,$e=[];for(let Fe=0;Fe<te.length;Fe+=3){const wt=te[Fe],he=Fe+1<te.length,L=he?te[Fe+1]:0,T=Fe+2<te.length,I=T?te[Fe+2]:0;let He=(15&L)<<2|I>>6,Et=63&I;T||(Et=64,he||(He=64)),$e.push(Ce[wt>>2],Ce[(3&wt)<<4|L>>4],Ce[He],Ce[Et])}return $e.join("")},encodeString(te,re){return this.HAS_NATIVE_SUPPORT&&!re?btoa(te):this.encodeByteArray($(te),re)},decodeString(te,re){return this.HAS_NATIVE_SUPPORT&&!re?atob(te):function(te){const re=[];let Ce=0,$e=0;for(;Ce<te.length;){const Fe=te[Ce++];if(Fe<128)re[$e++]=String.fromCharCode(Fe);else if(Fe>191&&Fe<224){const wt=te[Ce++];re[$e++]=String.fromCharCode((31&Fe)<<6|63&wt)}else if(Fe>239&&Fe<365){const T=((7&Fe)<<18|(63&te[Ce++])<<12|(63&te[Ce++])<<6|63&te[Ce++])-65536;re[$e++]=String.fromCharCode(55296+(T>>10)),re[$e++]=String.fromCharCode(56320+(1023&T))}else{const wt=te[Ce++],he=te[Ce++];re[$e++]=String.fromCharCode((15&Fe)<<12|(63&wt)<<6|63&he)}}return re.join("")}(this.decodeStringToByteArray(te,re))},decodeStringToByteArray(te,re){this.init_();const Ce=re?this.charToByteMapWebSafe_:this.charToByteMap_,$e=[];for(let Fe=0;Fe<te.length;){const wt=Ce[te.charAt(Fe++)],L=Fe<te.length?Ce[te.charAt(Fe)]:0;++Fe;const I=Fe<te.length?Ce[te.charAt(Fe)]:64;++Fe;const ae=Fe<te.length?Ce[te.charAt(Fe)]:64;if(++Fe,null==wt||null==L||null==I||null==ae)throw new ce;$e.push(wt<<2|L>>4),64!==I&&($e.push(L<<4&240|I>>2),64!==ae&&$e.push(I<<6&192|ae))}return $e},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let te=0;te<this.ENCODED_VALS.length;te++)this.byteToCharMap_[te]=this.ENCODED_VALS.charAt(te),this.charToByteMap_[this.byteToCharMap_[te]]=te,this.byteToCharMapWebSafe_[te]=this.ENCODED_VALS_WEBSAFE.charAt(te),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[te]]=te,te>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(te)]=te,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(te)]=te)}}};class ce extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const ne=function(te){return function(te){const re=$(te);return ee.encodeByteArray(re,!0)}(te).replace(/\./g,"")},R=function(te){try{return ee.decodeString(te,!0)}catch(re){console.error("base64Decode failed: ",re)}return null};function Y(te,re){if(!(re instanceof Object))return re;switch(re.constructor){case Date:return new Date(re.getTime());case Object:void 0===te&&(te={});break;case Array:te=[];break;default:return re}for(const Ce in re)!re.hasOwnProperty(Ce)||!Ae(Ce)||(te[Ce]=Y(te[Ce],re[Ce]));return te}function Ae(te){return"__proto__"!==te}const je=()=>{try{return function be(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const te=process.env.__FIREBASE_DEFAULTS__;return te?JSON.parse(te):void 0})()||(()=>{if(typeof document>"u")return;let te;try{te=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const re=te&&R(te[1]);return re&&JSON.parse(re)})()}catch(te){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${te}`)}},xe=()=>{var te;return null===(te=je())||void 0===te?void 0:te.config},U=te=>{var re;return null===(re=je())||void 0===re?void 0:re[`_${te}`]};class se{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((re,Ce)=>{this.resolve=re,this.reject=Ce})}wrapCallback(re){return(Ce,$e)=>{Ce?this.reject(Ce):this.resolve($e),"function"==typeof re&&(this.promise.catch(()=>{}),1===re.length?re(Ce):re(Ce,$e))}}}function oe(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function le(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(oe())}function ve(){var te;const re=null===(te=je())||void 0===te?void 0:te.forceEnvironment;if("node"===re)return!0;if("browser"===re)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function Ze(){return"object"==typeof self&&self.self===self}function Ge(){const te="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof te&&void 0!==te.id}function bt(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function Oe(){const te=oe();return te.indexOf("MSIE ")>=0||te.indexOf("Trident/")>=0}function vt(){try{return"object"==typeof indexedDB}catch{return!1}}function ft(){return new Promise((te,re)=>{try{let Ce=!0;const $e="validate-browser-context-for-indexeddb-analytics-module",Fe=self.indexedDB.open($e);Fe.onsuccess=()=>{Fe.result.close(),Ce||self.indexedDB.deleteDatabase($e),te(!0)},Fe.onupgradeneeded=()=>{Ce=!1},Fe.onerror=()=>{var wt;re((null===(wt=Fe.error)||void 0===wt?void 0:wt.message)||"")}}catch(Ce){re(Ce)}})}function ot(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}class G extends Error{constructor(re,Ce,$e){super(Ce),this.code=re,this.customData=$e,this.name="FirebaseError",Object.setPrototypeOf(this,G.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,w.prototype.create)}}class w{constructor(re,Ce,$e){this.service=re,this.serviceName=Ce,this.errors=$e}create(re,...Ce){const $e=Ce[0]||{},Fe=`${this.service}/${re}`,wt=this.errors[re],he=wt?function K(te,re){return te.replace(De,(Ce,$e)=>{const Fe=re[$e];return null!=Fe?String(Fe):`<${$e}?>`})}(wt,$e):"Error";return new G(Fe,`${this.serviceName}: ${he} (${Fe}).`,$e)}}const De=/\{\$([^}]+)}/g;function zt(te,re){return Object.prototype.hasOwnProperty.call(te,re)}function Pn(te){for(const re in te)if(Object.prototype.hasOwnProperty.call(te,re))return!1;return!0}function yn(te,re){if(te===re)return!0;const Ce=Object.keys(te),$e=Object.keys(re);for(const Fe of Ce){if(!$e.includes(Fe))return!1;const wt=te[Fe],he=re[Fe];if(Ne(wt)&&Ne(he)){if(!yn(wt,he))return!1}else if(wt!==he)return!1}for(const Fe of $e)if(!Ce.includes(Fe))return!1;return!0}function Ne(te){return null!==te&&"object"==typeof te}function de(te){const re=[];for(const[Ce,$e]of Object.entries(te))Array.isArray($e)?$e.forEach(Fe=>{re.push(encodeURIComponent(Ce)+"="+encodeURIComponent(Fe))}):re.push(encodeURIComponent(Ce)+"="+encodeURIComponent($e));return re.length?"&"+re.join("&"):""}function Te(te){const re={};return te.replace(/^\?/,"").split("&").forEach($e=>{if($e){const[Fe,wt]=$e.split("=");re[decodeURIComponent(Fe)]=decodeURIComponent(wt)}}),re}function Qe(te){const re=te.indexOf("?");if(!re)return"";const Ce=te.indexOf("#",re);return te.substring(re,Ce>0?Ce:void 0)}function at(te,re){const Ce=new pt(te,re);return Ce.subscribe.bind(Ce)}class pt{constructor(re,Ce){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=Ce,this.task.then(()=>{re(this)}).catch($e=>{this.error($e)})}next(re){this.forEachObserver(Ce=>{Ce.next(re)})}error(re){this.forEachObserver(Ce=>{Ce.error(re)}),this.close(re)}complete(){this.forEachObserver(re=>{re.complete()}),this.close()}subscribe(re,Ce,$e){let Fe;if(void 0===re&&void 0===Ce&&void 0===$e)throw new Error("Missing Observer.");Fe=function it(te,re){if("object"!=typeof te||null===te)return!1;for(const Ce of re)if(Ce in te&&"function"==typeof te[Ce])return!0;return!1}(re,["next","error","complete"])?re:{next:re,error:Ce,complete:$e},void 0===Fe.next&&(Fe.next=ge),void 0===Fe.error&&(Fe.error=ge),void 0===Fe.complete&&(Fe.complete=ge);const wt=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?Fe.error(this.finalError):Fe.complete()}catch{}}),this.observers.push(Fe),wt}unsubscribeOne(re){void 0===this.observers||void 0===this.observers[re]||(delete this.observers[re],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(re){if(!this.finalized)for(let Ce=0;Ce<this.observers.length;Ce++)this.sendOne(Ce,re)}sendOne(re,Ce){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[re])try{Ce(this.observers[re])}catch($e){typeof console<"u"&&console.error&&console.error($e)}})}close(re){this.finalized||(this.finalized=!0,void 0!==re&&(this.finalError=re),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function ge(){}const Nn=1e3,It=2,ut=144e5,z=.5;function x(te,re=Nn,Ce=It){const $e=re*Math.pow(Ce,te),Fe=Math.round(z*$e*(Math.random()-.5)*2);return Math.min(ut,$e+Fe)}function Ie(te){return te&&te._delegate?te._delegate:te}},61135:(yt,Ee,g)=>{g.d(Ee,{X:()=>d});var s=g(77579);class d extends s.x{constructor($){super(),this._value=$}get value(){return this.getValue()}_subscribe($){const k=super._subscribe($);return!k.closed&&$.next(this._value),k}getValue(){const{hasError:$,thrownError:k,_value:ee}=this;if($)throw k;return this._throwIfClosed(),ee}next($){super.next(this._value=$)}}},69751:(yt,Ee,g)=>{g.d(Ee,{y:()=>J});var s=g(70930),d=g(50727),C=g(48822),$=g(89635),k=g(42416),ee=g(30576),ce=g(72806);let J=(()=>{class Y{constructor(be){be&&(this._subscribe=be)}lift(be){const Be=new Y;return Be.source=this,Be.operator=be,Be}subscribe(be,Be,ke){const ye=function Z(Y){return Y&&Y instanceof s.Lv||function R(Y){return Y&&(0,ee.m)(Y.next)&&(0,ee.m)(Y.error)&&(0,ee.m)(Y.complete)}(Y)&&(0,d.Nn)(Y)}(be)?be:new s.Hp(be,Be,ke);return(0,ce.x)(()=>{const{operator:je,source:Ke}=this;ye.add(je?je.call(ye,Ke):Ke?this._subscribe(ye):this._trySubscribe(ye))}),ye}_trySubscribe(be){try{return this._subscribe(be)}catch(Be){be.error(Be)}}forEach(be,Be){return new(Be=ne(Be))((ke,ye)=>{const je=new s.Hp({next:Ke=>{try{be(Ke)}catch(ze){ye(ze),je.unsubscribe()}},error:ye,complete:ke});this.subscribe(je)})}_subscribe(be){var Be;return null===(Be=this.source)||void 0===Be?void 0:Be.subscribe(be)}[C.L](){return this}pipe(...be){return(0,$.U)(be)(this)}toPromise(be){return new(be=ne(be))((Be,ke)=>{let ye;this.subscribe(je=>ye=je,je=>ke(je),()=>Be(ye))})}}return Y.create=Ae=>new Y(Ae),Y})();function ne(Y){var Ae;return null!==(Ae=Y??k.v.Promise)&&void 0!==Ae?Ae:Promise}},4707:(yt,Ee,g)=>{g.d(Ee,{t:()=>C});var s=g(77579),d=g(26063);class C extends s.x{constructor(k=1/0,ee=1/0,ce=d.l){super(),this._bufferSize=k,this._windowTime=ee,this._timestampProvider=ce,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=ee===1/0,this._bufferSize=Math.max(1,k),this._windowTime=Math.max(1,ee)}next(k){const{isStopped:ee,_buffer:ce,_infiniteTimeWindow:J,_timestampProvider:ne,_windowTime:R}=this;ee||(ce.push(k),!J&&ce.push(ne.now()+R)),this._trimBuffer(),super.next(k)}_subscribe(k){this._throwIfClosed(),this._trimBuffer();const ee=this._innerSubscribe(k),{_infiniteTimeWindow:ce,_buffer:J}=this,ne=J.slice();for(let R=0;R<ne.length&&!k.closed;R+=ce?1:2)k.next(ne[R]);return this._checkFinalizedStatuses(k),ee}_trimBuffer(){const{_bufferSize:k,_timestampProvider:ee,_buffer:ce,_infiniteTimeWindow:J}=this,ne=(J?1:2)*k;if(k<1/0&&ne<ce.length&&ce.splice(0,ce.length-ne),!J){const R=ee.now();let Z=0;for(let Y=1;Y<ce.length&&ce[Y]<=R;Y+=2)Z=Y;Z&&ce.splice(0,Z+1)}}}},77579:(yt,Ee,g)=>{g.d(Ee,{x:()=>ce});var s=g(69751),d=g(50727);const $=(0,g(83888).d)(ne=>function(){ne(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var k=g(38737),ee=g(72806);let ce=(()=>{class ne extends s.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Z){const Y=new J(this,this);return Y.operator=Z,Y}_throwIfClosed(){if(this.closed)throw new $}next(Z){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Y of this.currentObservers)Y.next(Z)}})}error(Z){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Z;const{observers:Y}=this;for(;Y.length;)Y.shift().error(Z)}})}complete(){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Z}=this;for(;Z.length;)Z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Z;return(null===(Z=this.observers)||void 0===Z?void 0:Z.length)>0}_trySubscribe(Z){return this._throwIfClosed(),super._trySubscribe(Z)}_subscribe(Z){return this._throwIfClosed(),this._checkFinalizedStatuses(Z),this._innerSubscribe(Z)}_innerSubscribe(Z){const{hasError:Y,isStopped:Ae,observers:be}=this;return Y||Ae?d.Lc:(this.currentObservers=null,be.push(Z),new d.w0(()=>{this.currentObservers=null,(0,k.P)(be,Z)}))}_checkFinalizedStatuses(Z){const{hasError:Y,thrownError:Ae,isStopped:be}=this;Y?Z.error(Ae):be&&Z.complete()}asObservable(){const Z=new s.y;return Z.source=this,Z}}return ne.create=(R,Z)=>new J(R,Z),ne})();class J extends ce{constructor(R,Z){super(),this.destination=R,this.source=Z}next(R){var Z,Y;null===(Y=null===(Z=this.destination)||void 0===Z?void 0:Z.next)||void 0===Y||Y.call(Z,R)}error(R){var Z,Y;null===(Y=null===(Z=this.destination)||void 0===Z?void 0:Z.error)||void 0===Y||Y.call(Z,R)}complete(){var R,Z;null===(Z=null===(R=this.destination)||void 0===R?void 0:R.complete)||void 0===Z||Z.call(R)}_subscribe(R){var Z,Y;return null!==(Y=null===(Z=this.source)||void 0===Z?void 0:Z.subscribe(R))&&void 0!==Y?Y:d.Lc}}},70930:(yt,Ee,g)=>{g.d(Ee,{Hp:()=>ke,Lv:()=>Y});var s=g(30576),d=g(50727),C=g(42416),$=g(87849),k=g(25032);const ee=ne("C",void 0,void 0);function ne(xe,U,se){return{kind:xe,value:U,error:se}}var R=g(43410),Z=g(72806);class Y extends d.w0{constructor(U){super(),this.isStopped=!1,U?(this.destination=U,(0,d.Nn)(U)&&U.add(this)):this.destination=ze}static create(U,se,q){return new ke(U,se,q)}next(U){this.isStopped?Ke(function J(xe){return ne("N",xe,void 0)}(U),this):this._next(U)}error(U){this.isStopped?Ke(function ce(xe){return ne("E",void 0,xe)}(U),this):(this.isStopped=!0,this._error(U))}complete(){this.isStopped?Ke(ee,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(U){this.destination.next(U)}_error(U){try{this.destination.error(U)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ae=Function.prototype.bind;function be(xe,U){return Ae.call(xe,U)}class Be{constructor(U){this.partialObserver=U}next(U){const{partialObserver:se}=this;if(se.next)try{se.next(U)}catch(q){ye(q)}}error(U){const{partialObserver:se}=this;if(se.error)try{se.error(U)}catch(q){ye(q)}else ye(U)}complete(){const{partialObserver:U}=this;if(U.complete)try{U.complete()}catch(se){ye(se)}}}class ke extends Y{constructor(U,se,q){let oe;if(super(),(0,s.m)(U)||!U)oe={next:U??void 0,error:se??void 0,complete:q??void 0};else{let le;this&&C.v.useDeprecatedNextContext?(le=Object.create(U),le.unsubscribe=()=>this.unsubscribe(),oe={next:U.next&&be(U.next,le),error:U.error&&be(U.error,le),complete:U.complete&&be(U.complete,le)}):oe=U}this.destination=new Be(oe)}}function ye(xe){C.v.useDeprecatedSynchronousErrorHandling?(0,Z.O)(xe):(0,$.h)(xe)}function Ke(xe,U){const{onStoppedNotification:se}=C.v;se&&R.z.setTimeout(()=>se(xe,U))}const ze={closed:!0,next:k.Z,error:function je(xe){throw xe},complete:k.Z}},50727:(yt,Ee,g)=>{g.d(Ee,{Lc:()=>ee,w0:()=>k,Nn:()=>ce});var s=g(30576);const C=(0,g(83888).d)(ne=>function(Z){ne(this),this.message=Z?`${Z.length} errors occurred during unsubscription:\n${Z.map((Y,Ae)=>`${Ae+1}) ${Y.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Z});var $=g(38737);class k{constructor(R){this.initialTeardown=R,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let R;if(!this.closed){this.closed=!0;const{_parentage:Z}=this;if(Z)if(this._parentage=null,Array.isArray(Z))for(const be of Z)be.remove(this);else Z.remove(this);const{initialTeardown:Y}=this;if((0,s.m)(Y))try{Y()}catch(be){R=be instanceof C?be.errors:[be]}const{_finalizers:Ae}=this;if(Ae){this._finalizers=null;for(const be of Ae)try{J(be)}catch(Be){R=R??[],Be instanceof C?R=[...R,...Be.errors]:R.push(Be)}}if(R)throw new C(R)}}add(R){var Z;if(R&&R!==this)if(this.closed)J(R);else{if(R instanceof k){if(R.closed||R._hasParent(this))return;R._addParent(this)}(this._finalizers=null!==(Z=this._finalizers)&&void 0!==Z?Z:[]).push(R)}}_hasParent(R){const{_parentage:Z}=this;return Z===R||Array.isArray(Z)&&Z.includes(R)}_addParent(R){const{_parentage:Z}=this;this._parentage=Array.isArray(Z)?(Z.push(R),Z):Z?[Z,R]:R}_removeParent(R){const{_parentage:Z}=this;Z===R?this._parentage=null:Array.isArray(Z)&&(0,$.P)(Z,R)}remove(R){const{_finalizers:Z}=this;Z&&(0,$.P)(Z,R),R instanceof k&&R._removeParent(this)}}k.EMPTY=(()=>{const ne=new k;return ne.closed=!0,ne})();const ee=k.EMPTY;function ce(ne){return ne instanceof k||ne&&"closed"in ne&&(0,s.m)(ne.remove)&&(0,s.m)(ne.add)&&(0,s.m)(ne.unsubscribe)}function J(ne){(0,s.m)(ne)?ne():ne.unsubscribe()}},42416:(yt,Ee,g)=>{g.d(Ee,{v:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},94033:(yt,Ee,g)=>{g.d(Ee,{c:()=>ee});var s=g(69751),d=g(50727),C=g(38343),$=g(25403),k=g(54482);class ee extends s.y{constructor(J,ne){super(),this.source=J,this.subjectFactory=ne,this._subject=null,this._refCount=0,this._connection=null,(0,k.A)(J)&&(this.lift=J.lift)}_subscribe(J){return this.getSubject().subscribe(J)}getSubject(){const J=this._subject;return(!J||J.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:J}=this;this._subject=this._connection=null,J?.unsubscribe()}connect(){let J=this._connection;if(!J){J=this._connection=new d.w0;const ne=this.getSubject();J.add(this.source.subscribe((0,$.x)(ne,void 0,()=>{this._teardown(),ne.complete()},R=>{this._teardown(),ne.error(R)},()=>this._teardown()))),J.closed&&(this._connection=null,J=d.w0.EMPTY)}return J}refCount(){return(0,C.x)()(this)}}},39841:(yt,Ee,g)=>{g.d(Ee,{a:()=>R,l:()=>Z});var s=g(69751),d=g(54742),C=g(88996),$=g(44671),k=g(83268),ee=g(63269),ce=g(31810),J=g(25403),ne=g(39672);function R(...Ae){const be=(0,ee.yG)(Ae),Be=(0,ee.jO)(Ae),{args:ke,keys:ye}=(0,d.D)(Ae);if(0===ke.length)return(0,C.D)([],be);const je=new s.y(Z(ke,be,ye?Ke=>(0,ce.n)(ye,Ke):$.y));return Be?je.pipe((0,k.Z)(Be)):je}function Z(Ae,be,Be=$.y){return ke=>{Y(be,()=>{const{length:ye}=Ae,je=new Array(ye);let Ke=ye,ze=ye;for(let xe=0;xe<ye;xe++)Y(be,()=>{const U=(0,C.D)(Ae[xe],be);let se=!1;U.subscribe((0,J.x)(ke,q=>{je[xe]=q,se||(se=!0,ze--),ze||ke.next(Be(je.slice()))},()=>{--Ke||ke.complete()}))},ke)},ke)}}function Y(Ae,be,Be){Ae?(0,ne.f)(Be,Ae,be):be()}},97272:(yt,Ee,g)=>{g.d(Ee,{z:()=>k});var s=g(8189),C=g(63269),$=g(88996);function k(...ee){return function d(){return(0,s.J)(1)}()((0,$.D)(ee,(0,C.yG)(ee)))}},49770:(yt,Ee,g)=>{g.d(Ee,{P:()=>C});var s=g(69751),d=g(38421);function C($){return new s.y(k=>{(0,d.Xf)($()).subscribe(k)})}},60515:(yt,Ee,g)=>{g.d(Ee,{E:()=>d});const d=new(g(69751).y)(k=>k.complete())},88996:(yt,Ee,g)=>{g.d(Ee,{D:()=>U});var s=g(38421),d=g(85363),C=g(49468),ee=g(69751),J=g(2202),ne=g(30576),R=g(39672);function Y(se,q){if(!se)throw new Error("Iterable cannot be null");return new ee.y(oe=>{(0,R.f)(oe,q,()=>{const le=se[Symbol.asyncIterator]();(0,R.f)(oe,q,()=>{le.next().then(ve=>{ve.done?oe.complete():oe.next(ve.value)})},0,!0)})})}var Ae=g(93670),be=g(28239),Be=g(81144),ke=g(26495),ye=g(12206),je=g(44532),Ke=g(53260);function U(se,q){return q?function xe(se,q){if(null!=se){if((0,Ae.c)(se))return function $(se,q){return(0,s.Xf)(se).pipe((0,C.R)(q),(0,d.Q)(q))}(se,q);if((0,Be.z)(se))return function ce(se,q){return new ee.y(oe=>{let le=0;return q.schedule(function(){le===se.length?oe.complete():(oe.next(se[le++]),oe.closed||this.schedule())})})}(se,q);if((0,be.t)(se))return function k(se,q){return(0,s.Xf)(se).pipe((0,C.R)(q),(0,d.Q)(q))}(se,q);if((0,ye.D)(se))return Y(se,q);if((0,ke.T)(se))return function Z(se,q){return new ee.y(oe=>{let le;return(0,R.f)(oe,q,()=>{le=se[J.h](),(0,R.f)(oe,q,()=>{let ve,Ze;try{({value:ve,done:Ze}=le.next())}catch(Ge){return void oe.error(Ge)}Ze?oe.complete():oe.next(ve)},0,!0)}),()=>(0,ne.m)(le?.return)&&le.return()})}(se,q);if((0,Ke.L)(se))return function ze(se,q){return Y((0,Ke.Q)(se),q)}(se,q)}throw(0,je.z)(se)}(se,q):(0,s.Xf)(se)}},54968:(yt,Ee,g)=>{g.d(Ee,{R:()=>R});var s=g(38421),d=g(69751),C=g(95577),$=g(81144),k=g(30576),ee=g(83268);const ce=["addListener","removeListener"],J=["addEventListener","removeEventListener"],ne=["on","off"];function R(Be,ke,ye,je){if((0,k.m)(ye)&&(je=ye,ye=void 0),je)return R(Be,ke,ye).pipe((0,ee.Z)(je));const[Ke,ze]=function be(Be){return(0,k.m)(Be.addEventListener)&&(0,k.m)(Be.removeEventListener)}(Be)?J.map(xe=>U=>Be[xe](ke,U,ye)):function Y(Be){return(0,k.m)(Be.addListener)&&(0,k.m)(Be.removeListener)}(Be)?ce.map(Z(Be,ke)):function Ae(Be){return(0,k.m)(Be.on)&&(0,k.m)(Be.off)}(Be)?ne.map(Z(Be,ke)):[];if(!Ke&&(0,$.z)(Be))return(0,C.z)(xe=>R(xe,ke,ye))((0,s.Xf)(Be));if(!Ke)throw new TypeError("Invalid event target");return new d.y(xe=>{const U=(...se)=>xe.next(1<se.length?se:se[0]);return Ke(U),()=>ze(U)})}function Z(Be,ke){return ye=>je=>Be[ye](ke,je)}},38421:(yt,Ee,g)=>{g.d(Ee,{Xf:()=>Ae});var s=g(70655),d=g(81144),C=g(28239),$=g(69751),k=g(93670),ee=g(12206),ce=g(44532),J=g(26495),ne=g(53260),R=g(30576),Z=g(87849),Y=g(48822);function Ae(xe){if(xe instanceof $.y)return xe;if(null!=xe){if((0,k.c)(xe))return function be(xe){return new $.y(U=>{const se=xe[Y.L]();if((0,R.m)(se.subscribe))return se.subscribe(U);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(xe);if((0,d.z)(xe))return function Be(xe){return new $.y(U=>{for(let se=0;se<xe.length&&!U.closed;se++)U.next(xe[se]);U.complete()})}(xe);if((0,C.t)(xe))return function ke(xe){return new $.y(U=>{xe.then(se=>{U.closed||(U.next(se),U.complete())},se=>U.error(se)).then(null,Z.h)})}(xe);if((0,ee.D)(xe))return je(xe);if((0,J.T)(xe))return function ye(xe){return new $.y(U=>{for(const se of xe)if(U.next(se),U.closed)return;U.complete()})}(xe);if((0,ne.L)(xe))return function Ke(xe){return je((0,ne.Q)(xe))}(xe)}throw(0,ce.z)(xe)}function je(xe){return new $.y(U=>{(function ze(xe,U){var se,q,oe,le;return(0,s.mG)(this,void 0,void 0,function*(){try{for(se=(0,s.KL)(xe);!(q=yield se.next()).done;)if(U.next(q.value),U.closed)return}catch(ve){oe={error:ve}}finally{try{q&&!q.done&&(le=se.return)&&(yield le.call(se))}finally{if(oe)throw oe.error}}U.complete()})})(xe,U).catch(se=>U.error(se))})}},56451:(yt,Ee,g)=>{g.d(Ee,{T:()=>ee});var s=g(8189),d=g(38421),C=g(60515),$=g(63269),k=g(88996);function ee(...ce){const J=(0,$.yG)(ce),ne=(0,$._6)(ce,1/0),R=ce;return R.length?1===R.length?(0,d.Xf)(R[0]):(0,s.J)(ne)((0,k.D)(R,J)):C.E}},39646:(yt,Ee,g)=>{g.d(Ee,{of:()=>C});var s=g(63269),d=g(88996);function C(...$){const k=(0,s.yG)($);return(0,d.D)($,k)}},62843:(yt,Ee,g)=>{g.d(Ee,{_:()=>C});var s=g(69751),d=g(30576);function C($,k){const ee=(0,d.m)($)?$:()=>$,ce=J=>J.error(ee());return new s.y(k?J=>k.schedule(ce,0,J):ce)}},82805:(yt,Ee,g)=>{g.d(Ee,{H:()=>k});var s=g(69751),d=g(34986),C=g(93532),$=g(51165);function k(ee=0,ce,J=d.P){let ne=-1;return null!=ce&&((0,C.K)(ce)?J=ce:ne=ce),new s.y(R=>{let Z=(0,$.q)(ee)?+ee-J.now():ee;Z<0&&(Z=0);let Y=0;return J.schedule(function(){R.closed||(R.next(Y++),0<=ne?this.schedule(void 0,ne):R.complete())},Z)})}},25403:(yt,Ee,g)=>{g.d(Ee,{x:()=>d});var s=g(70930);function d($,k,ee,ce,J){return new C($,k,ee,ce,J)}class C extends s.Lv{constructor(k,ee,ce,J,ne,R){super(k),this.onFinalize=ne,this.shouldUnsubscribe=R,this._next=ee?function(Z){try{ee(Z)}catch(Y){k.error(Y)}}:super._next,this._error=J?function(Z){try{J(Z)}catch(Y){k.error(Y)}finally{this.unsubscribe()}}:super._error,this._complete=ce?function(){try{ce()}catch(Z){k.error(Z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ee}=this;super.unsubscribe(),!ee&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}},23601:(yt,Ee,g)=>{g.d(Ee,{e:()=>ce});var s=g(34986),d=g(54482),C=g(38421),$=g(25403),ee=g(82805);function ce(J,ne=s.z){return function k(J){return(0,d.e)((ne,R)=>{let Z=!1,Y=null,Ae=null,be=!1;const Be=()=>{if(Ae?.unsubscribe(),Ae=null,Z){Z=!1;const ye=Y;Y=null,R.next(ye)}be&&R.complete()},ke=()=>{Ae=null,be&&R.complete()};ne.subscribe((0,$.x)(R,ye=>{Z=!0,Y=ye,Ae||(0,C.Xf)(J(ye)).subscribe(Ae=(0,$.x)(R,Be,ke))},()=>{be=!0,(!Z||!Ae||Ae.closed)&&R.complete()}))})}(()=>(0,ee.H)(J,ne))}},70262:(yt,Ee,g)=>{g.d(Ee,{K:()=>$});var s=g(38421),d=g(25403),C=g(54482);function $(k){return(0,C.e)((ee,ce)=>{let R,J=null,ne=!1;J=ee.subscribe((0,d.x)(ce,void 0,void 0,Z=>{R=(0,s.Xf)(k(Z,$(k)(ee))),J?(J.unsubscribe(),J=null,R.subscribe(ce)):ne=!0})),ne&&(J.unsubscribe(),J=null,R.subscribe(ce))})}},24351:(yt,Ee,g)=>{g.d(Ee,{b:()=>C});var s=g(95577),d=g(30576);function C($,k){return(0,d.m)(k)?(0,s.z)($,k,1):(0,s.z)($,1)}},78372:(yt,Ee,g)=>{g.d(Ee,{b:()=>$});var s=g(34986),d=g(54482),C=g(25403);function $(k,ee=s.z){return(0,d.e)((ce,J)=>{let ne=null,R=null,Z=null;const Y=()=>{if(ne){ne.unsubscribe(),ne=null;const be=R;R=null,J.next(be)}};function Ae(){const be=Z+k,Be=ee.now();if(Be<be)return ne=this.schedule(void 0,be-Be),void J.add(ne);Y()}ce.subscribe((0,C.x)(J,be=>{R=be,Z=ee.now(),ne||(ne=ee.schedule(Ae,k),J.add(ne))},()=>{Y(),J.complete()},void 0,()=>{R=ne=null}))})}},46590:(yt,Ee,g)=>{g.d(Ee,{d:()=>C});var s=g(54482),d=g(25403);function C($){return(0,s.e)((k,ee)=>{let ce=!1;k.subscribe((0,d.x)(ee,J=>{ce=!0,ee.next(J)},()=>{ce||ee.next($),ee.complete()}))})}},71884:(yt,Ee,g)=>{g.d(Ee,{x:()=>$});var s=g(44671),d=g(54482),C=g(25403);function $(ee,ce=s.y){return ee=ee??k,(0,d.e)((J,ne)=>{let R,Z=!0;J.subscribe((0,C.x)(ne,Y=>{const Ae=ce(Y);(Z||!ee(R,Ae))&&(Z=!1,R=Ae,ne.next(Y))}))})}function k(ee,ce){return ee===ce}},39300:(yt,Ee,g)=>{g.d(Ee,{h:()=>C});var s=g(54482),d=g(25403);function C($,k){return(0,s.e)((ee,ce)=>{let J=0;ee.subscribe((0,d.x)(ce,ne=>$.call(k,ne,J++)&&ce.next(ne)))})}},28746:(yt,Ee,g)=>{g.d(Ee,{x:()=>d});var s=g(54482);function d(C){return(0,s.e)(($,k)=>{try{$.subscribe(k)}finally{k.add(C)}})}},50590:(yt,Ee,g)=>{g.d(Ee,{P:()=>ce});var s=g(86805),d=g(39300),C=g(95698),$=g(46590),k=g(18068),ee=g(44671);function ce(J,ne){const R=arguments.length>=2;return Z=>Z.pipe(J?(0,d.h)((Y,Ae)=>J(Y,Ae,Z)):ee.y,(0,C.q)(1),R?(0,$.d)(ne):(0,k.T)(()=>new s.K))}},54004:(yt,Ee,g)=>{g.d(Ee,{U:()=>C});var s=g(54482),d=g(25403);function C($,k){return(0,s.e)((ee,ce)=>{let J=0;ee.subscribe((0,d.x)(ce,ne=>{ce.next($.call(k,ne,J++))}))})}},69718:(yt,Ee,g)=>{g.d(Ee,{h:()=>d});var s=g(54004);function d(C){return(0,s.U)(()=>C)}},8189:(yt,Ee,g)=>{g.d(Ee,{J:()=>C});var s=g(95577),d=g(44671);function C($=1/0){return(0,s.z)(d.y,$)}},95577:(yt,Ee,g)=>{g.d(Ee,{z:()=>J});var s=g(54004),d=g(38421),C=g(54482),$=g(39672),k=g(25403),ce=g(30576);function J(ne,R,Z=1/0){return(0,ce.m)(R)?J((Y,Ae)=>(0,s.U)((be,Be)=>R(Y,be,Ae,Be))((0,d.Xf)(ne(Y,Ae))),Z):("number"==typeof R&&(Z=R),(0,C.e)((Y,Ae)=>function ee(ne,R,Z,Y,Ae,be,Be,ke){const ye=[];let je=0,Ke=0,ze=!1;const xe=()=>{ze&&!ye.length&&!je&&R.complete()},U=q=>je<Y?se(q):ye.push(q),se=q=>{be&&R.next(q),je++;let oe=!1;(0,d.Xf)(Z(q,Ke++)).subscribe((0,k.x)(R,le=>{Ae?.(le),be?U(le):R.next(le)},()=>{oe=!0},void 0,()=>{if(oe)try{for(je--;ye.length&&je<Y;){const le=ye.shift();Be?(0,$.f)(R,Be,()=>se(le)):se(le)}xe()}catch(le){R.error(le)}}))};return ne.subscribe((0,k.x)(R,U,()=>{ze=!0,xe()})),()=>{ke?.()}}(Y,Ae,ne,Z)))}},85363:(yt,Ee,g)=>{g.d(Ee,{Q:()=>$});var s=g(39672),d=g(54482),C=g(25403);function $(k,ee=0){return(0,d.e)((ce,J)=>{ce.subscribe((0,C.x)(J,ne=>(0,s.f)(J,k,()=>J.next(ne),ee),()=>(0,s.f)(J,k,()=>J.complete(),ee),ne=>(0,s.f)(J,k,()=>J.error(ne),ee)))})}},38343:(yt,Ee,g)=>{g.d(Ee,{x:()=>C});var s=g(54482),d=g(25403);function C(){return(0,s.e)(($,k)=>{let ee=null;$._refCount++;const ce=(0,d.x)(k,void 0,void 0,void 0,()=>{if(!$||$._refCount<=0||0<--$._refCount)return void(ee=null);const J=$._connection,ne=ee;ee=null,J&&(!ne||J===ne)&&J.unsubscribe(),k.unsubscribe()});$.subscribe(ce),ce.closed||(ee=$.connect())})}},75026:(yt,Ee,g)=>{g.d(Ee,{R:()=>$});var s=g(54482),d=g(25403);function $(k,ee){return(0,s.e)(function C(k,ee,ce,J,ne){return(R,Z)=>{let Y=ce,Ae=ee,be=0;R.subscribe((0,d.x)(Z,Be=>{const ke=be++;Ae=Y?k(Ae,Be,ke):(Y=!0,Be),J&&Z.next(Ae)},ne&&(()=>{Y&&Z.next(Ae),Z.complete()})))}}(k,ee,arguments.length>=2,!0))}},13099:(yt,Ee,g)=>{g.d(Ee,{B:()=>k});var s=g(38421),d=g(77579),C=g(70930),$=g(54482);function k(ce={}){const{connector:J=(()=>new d.x),resetOnError:ne=!0,resetOnComplete:R=!0,resetOnRefCountZero:Z=!0}=ce;return Y=>{let Ae,be,Be,ke=0,ye=!1,je=!1;const Ke=()=>{be?.unsubscribe(),be=void 0},ze=()=>{Ke(),Ae=Be=void 0,ye=je=!1},xe=()=>{const U=Ae;ze(),U?.unsubscribe()};return(0,$.e)((U,se)=>{ke++,!je&&!ye&&Ke();const q=Be=Be??J();se.add(()=>{ke--,0===ke&&!je&&!ye&&(be=ee(xe,Z))}),q.subscribe(se),!Ae&&ke>0&&(Ae=new C.Hp({next:oe=>q.next(oe),error:oe=>{je=!0,Ke(),be=ee(ze,ne,oe),q.error(oe)},complete:()=>{ye=!0,Ke(),be=ee(ze,R),q.complete()}}),(0,s.Xf)(U).subscribe(Ae))})(Y)}}function ee(ce,J,...ne){if(!0===J)return void ce();if(!1===J)return;const R=new C.Hp({next:()=>{R.unsubscribe(),ce()}});return(0,s.Xf)(J(...ne)).subscribe(R)}},34782:(yt,Ee,g)=>{g.d(Ee,{d:()=>C});var s=g(4707),d=g(13099);function C($,k,ee){let ce,J=!1;return $&&"object"==typeof $?({bufferSize:ce=1/0,windowTime:k=1/0,refCount:J=!1,scheduler:ee}=$):ce=$??1/0,(0,d.B)({connector:()=>new s.t(ce,k,ee),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:J})}},35684:(yt,Ee,g)=>{g.d(Ee,{T:()=>d});var s=g(39300);function d(C){return(0,s.h)(($,k)=>C<=k)}},68675:(yt,Ee,g)=>{g.d(Ee,{O:()=>$});var s=g(97272),d=g(63269),C=g(54482);function $(...k){const ee=(0,d.yG)(k);return(0,C.e)((ce,J)=>{(ee?(0,s.z)(k,ce,ee):(0,s.z)(k,ce)).subscribe(J)})}},49468:(yt,Ee,g)=>{g.d(Ee,{R:()=>d});var s=g(54482);function d(C,$=0){return(0,s.e)((k,ee)=>{ee.add(C.schedule(()=>k.subscribe(ee),$))})}},63900:(yt,Ee,g)=>{g.d(Ee,{w:()=>$});var s=g(38421),d=g(54482),C=g(25403);function $(k,ee){return(0,d.e)((ce,J)=>{let ne=null,R=0,Z=!1;const Y=()=>Z&&!ne&&J.complete();ce.subscribe((0,C.x)(J,Ae=>{ne?.unsubscribe();let be=0;const Be=R++;(0,s.Xf)(k(Ae,Be)).subscribe(ne=(0,C.x)(J,ke=>J.next(ee?ee(Ae,ke,Be,be++):ke),()=>{ne=null,Y()}))},()=>{Z=!0,Y()}))})}},95698:(yt,Ee,g)=>{g.d(Ee,{q:()=>$});var s=g(60515),d=g(54482),C=g(25403);function $(k){return k<=0?()=>s.E:(0,d.e)((ee,ce)=>{let J=0;ee.subscribe((0,C.x)(ce,ne=>{++J<=k&&(ce.next(ne),k<=J&&ce.complete())}))})}},82722:(yt,Ee,g)=>{g.d(Ee,{R:()=>k});var s=g(54482),d=g(25403),C=g(38421),$=g(25032);function k(ee){return(0,s.e)((ce,J)=>{(0,C.Xf)(ee).subscribe((0,d.x)(J,()=>J.complete(),$.Z)),!J.closed&&ce.subscribe(J)})}},22529:(yt,Ee,g)=>{g.d(Ee,{o:()=>C});var s=g(54482),d=g(25403);function C($,k=!1){return(0,s.e)((ee,ce)=>{let J=0;ee.subscribe((0,d.x)(ce,ne=>{const R=$(ne,J++);(R||k)&&ce.next(ne),!R&&ce.complete()}))})}},18505:(yt,Ee,g)=>{g.d(Ee,{b:()=>k});var s=g(30576),d=g(54482),C=g(25403),$=g(44671);function k(ee,ce,J){const ne=(0,s.m)(ee)||ce||J?{next:ee,error:ce,complete:J}:ee;return ne?(0,d.e)((R,Z)=>{var Y;null===(Y=ne.subscribe)||void 0===Y||Y.call(ne);let Ae=!0;R.subscribe((0,C.x)(Z,be=>{var Be;null===(Be=ne.next)||void 0===Be||Be.call(ne,be),Z.next(be)},()=>{var be;Ae=!1,null===(be=ne.complete)||void 0===be||be.call(ne),Z.complete()},be=>{var Be;Ae=!1,null===(Be=ne.error)||void 0===Be||Be.call(ne,be),Z.error(be)},()=>{var be,Be;Ae&&(null===(be=ne.unsubscribe)||void 0===be||be.call(ne)),null===(Be=ne.finalize)||void 0===Be||Be.call(ne)}))}):$.y}},18068:(yt,Ee,g)=>{g.d(Ee,{T:()=>$});var s=g(86805),d=g(54482),C=g(25403);function $(ee=k){return(0,d.e)((ce,J)=>{let ne=!1;ce.subscribe((0,C.x)(J,R=>{ne=!0,J.next(R)},()=>ne?J.complete():J.error(ee())))})}function k(){return new s.K}},84408:(yt,Ee,g)=>{g.d(Ee,{o:()=>k});var s=g(50727);class d extends s.w0{constructor(ce,J){super()}schedule(ce,J=0){return this}}const C={setInterval(ee,ce,...J){const{delegate:ne}=C;return ne?.setInterval?ne.setInterval(ee,ce,...J):setInterval(ee,ce,...J)},clearInterval(ee){const{delegate:ce}=C;return(ce?.clearInterval||clearInterval)(ee)},delegate:void 0};var $=g(38737);class k extends d{constructor(ce,J){super(ce,J),this.scheduler=ce,this.work=J,this.pending=!1}schedule(ce,J=0){var ne;if(this.closed)return this;this.state=ce;const R=this.id,Z=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(Z,R,J)),this.pending=!0,this.delay=J,this.id=null!==(ne=this.id)&&void 0!==ne?ne:this.requestAsyncId(Z,this.id,J),this}requestAsyncId(ce,J,ne=0){return C.setInterval(ce.flush.bind(ce,this),ne)}recycleAsyncId(ce,J,ne=0){if(null!=ne&&this.delay===ne&&!1===this.pending)return J;null!=J&&C.clearInterval(J)}execute(ce,J){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ne=this._execute(ce,J);if(ne)return ne;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ce,J){let R,ne=!1;try{this.work(ce)}catch(Z){ne=!0,R=Z||new Error("Scheduled action threw falsy error")}if(ne)return this.unsubscribe(),R}unsubscribe(){if(!this.closed){const{id:ce,scheduler:J}=this,{actions:ne}=J;this.work=this.state=this.scheduler=null,this.pending=!1,(0,$.P)(ne,this),null!=ce&&(this.id=this.recycleAsyncId(J,ce,null)),this.delay=null,super.unsubscribe()}}}},97565:(yt,Ee,g)=>{g.d(Ee,{v:()=>C});var s=g(26063);class d{constructor(k,ee=d.now){this.schedulerActionCtor=k,this.now=ee}schedule(k,ee=0,ce){return new this.schedulerActionCtor(this,k).schedule(ce,ee)}}d.now=s.l.now;class C extends d{constructor(k,ee=d.now){super(k,ee),this.actions=[],this._active=!1}flush(k){const{actions:ee}=this;if(this._active)return void ee.push(k);let ce;this._active=!0;do{if(ce=k.execute(k.state,k.delay))break}while(k=ee.shift());if(this._active=!1,ce){for(;k=ee.shift();)k.unsubscribe();throw ce}}}},66406:(yt,Ee,g)=>{g.d(Ee,{Z:()=>ce});var s=g(84408),d=g(50727);const C={schedule(ne){let R=requestAnimationFrame,Z=cancelAnimationFrame;const{delegate:Y}=C;Y&&(R=Y.requestAnimationFrame,Z=Y.cancelAnimationFrame);const Ae=R(be=>{Z=void 0,ne(be)});return new d.w0(()=>Z?.(Ae))},requestAnimationFrame(...ne){const{delegate:R}=C;return(R?.requestAnimationFrame||requestAnimationFrame)(...ne)},cancelAnimationFrame(...ne){const{delegate:R}=C;return(R?.cancelAnimationFrame||cancelAnimationFrame)(...ne)},delegate:void 0};var k=g(97565);const ce=new class ee extends k.v{flush(R){this._active=!0;const Z=this._scheduled;this._scheduled=void 0;const{actions:Y}=this;let Ae;R=R||Y.shift();do{if(Ae=R.execute(R.state,R.delay))break}while((R=Y[0])&&R.id===Z&&Y.shift());if(this._active=!1,Ae){for(;(R=Y[0])&&R.id===Z&&Y.shift();)R.unsubscribe();throw Ae}}}(class $ extends s.o{constructor(R,Z){super(R,Z),this.scheduler=R,this.work=Z}requestAsyncId(R,Z,Y=0){return null!==Y&&Y>0?super.requestAsyncId(R,Z,Y):(R.actions.push(this),R._scheduled||(R._scheduled=C.requestAnimationFrame(()=>R.flush(void 0))))}recycleAsyncId(R,Z,Y=0){var Ae;if(null!=Y?Y>0:this.delay>0)return super.recycleAsyncId(R,Z,Y);const{actions:be}=R;null!=Z&&(null===(Ae=be[be.length-1])||void 0===Ae?void 0:Ae.id)!==Z&&(C.cancelAnimationFrame(Z),R._scheduled=void 0)}})},53101:(yt,Ee,g)=>{g.d(Ee,{E:()=>be});var s=g(84408);let C,d=1;const $={};function k(ke){return ke in $&&(delete $[ke],!0)}const ee={setImmediate(ke){const ye=d++;return $[ye]=!0,C||(C=Promise.resolve()),C.then(()=>k(ye)&&ke()),ye},clearImmediate(ke){k(ke)}},{setImmediate:J,clearImmediate:ne}=ee,R={setImmediate(...ke){const{delegate:ye}=R;return(ye?.setImmediate||J)(...ke)},clearImmediate(ke){const{delegate:ye}=R;return(ye?.clearImmediate||ne)(ke)},delegate:void 0};var Y=g(97565);const be=new class Ae extends Y.v{flush(ye){this._active=!0;const je=this._scheduled;this._scheduled=void 0;const{actions:Ke}=this;let ze;ye=ye||Ke.shift();do{if(ze=ye.execute(ye.state,ye.delay))break}while((ye=Ke[0])&&ye.id===je&&Ke.shift());if(this._active=!1,ze){for(;(ye=Ke[0])&&ye.id===je&&Ke.shift();)ye.unsubscribe();throw ze}}}(class Z extends s.o{constructor(ye,je){super(ye,je),this.scheduler=ye,this.work=je}requestAsyncId(ye,je,Ke=0){return null!==Ke&&Ke>0?super.requestAsyncId(ye,je,Ke):(ye.actions.push(this),ye._scheduled||(ye._scheduled=R.setImmediate(ye.flush.bind(ye,void 0))))}recycleAsyncId(ye,je,Ke=0){var ze;if(null!=Ke?Ke>0:this.delay>0)return super.recycleAsyncId(ye,je,Ke);const{actions:xe}=ye;null!=je&&(null===(ze=xe[xe.length-1])||void 0===ze?void 0:ze.id)!==je&&(R.clearImmediate(je),ye._scheduled=void 0)}})},34986:(yt,Ee,g)=>{g.d(Ee,{P:()=>$,z:()=>C});var s=g(84408);const C=new(g(97565).v)(s.o),$=C},26063:(yt,Ee,g)=>{g.d(Ee,{l:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},43410:(yt,Ee,g)=>{g.d(Ee,{z:()=>s});const s={setTimeout(d,C,...$){const{delegate:k}=s;return k?.setTimeout?k.setTimeout(d,C,...$):setTimeout(d,C,...$)},clearTimeout(d){const{delegate:C}=s;return(C?.clearTimeout||clearTimeout)(d)},delegate:void 0}},2202:(yt,Ee,g)=>{g.d(Ee,{h:()=>d});const d=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},48822:(yt,Ee,g)=>{g.d(Ee,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},86805:(yt,Ee,g)=>{g.d(Ee,{K:()=>d});const d=(0,g(83888).d)(C=>function(){C(this),this.name="EmptyError",this.message="no elements in sequence"})},63269:(yt,Ee,g)=>{g.d(Ee,{_6:()=>ee,jO:()=>$,yG:()=>k});var s=g(30576),d=g(93532);function C(ce){return ce[ce.length-1]}function $(ce){return(0,s.m)(C(ce))?ce.pop():void 0}function k(ce){return(0,d.K)(C(ce))?ce.pop():void 0}function ee(ce,J){return"number"==typeof C(ce)?ce.pop():J}},54742:(yt,Ee,g)=>{g.d(Ee,{D:()=>k});const{isArray:s}=Array,{getPrototypeOf:d,prototype:C,keys:$}=Object;function k(ce){if(1===ce.length){const J=ce[0];if(s(J))return{args:J,keys:null};if(function ee(ce){return ce&&"object"==typeof ce&&d(ce)===C}(J)){const ne=$(J);return{args:ne.map(R=>J[R]),keys:ne}}}return{args:ce,keys:null}}},38737:(yt,Ee,g)=>{function s(d,C){if(d){const $=d.indexOf(C);0<=$&&d.splice($,1)}}g.d(Ee,{P:()=>s})},83888:(yt,Ee,g)=>{function s(d){const $=d(k=>{Error.call(k),k.stack=(new Error).stack});return $.prototype=Object.create(Error.prototype),$.prototype.constructor=$,$}g.d(Ee,{d:()=>s})},31810:(yt,Ee,g)=>{function s(d,C){return d.reduce(($,k,ee)=>($[k]=C[ee],$),{})}g.d(Ee,{n:()=>s})},72806:(yt,Ee,g)=>{g.d(Ee,{O:()=>$,x:()=>C});var s=g(42416);let d=null;function C(k){if(s.v.useDeprecatedSynchronousErrorHandling){const ee=!d;if(ee&&(d={errorThrown:!1,error:null}),k(),ee){const{errorThrown:ce,error:J}=d;if(d=null,ce)throw J}}else k()}function $(k){s.v.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=k)}},39672:(yt,Ee,g)=>{function s(d,C,$,k=0,ee=!1){const ce=C.schedule(function(){$(),ee?d.add(this.schedule(null,k)):this.unsubscribe()},k);if(d.add(ce),!ee)return ce}g.d(Ee,{f:()=>s})},44671:(yt,Ee,g)=>{function s(d){return d}g.d(Ee,{y:()=>s})},81144:(yt,Ee,g)=>{g.d(Ee,{z:()=>s});const s=d=>d&&"number"==typeof d.length&&"function"!=typeof d},12206:(yt,Ee,g)=>{g.d(Ee,{D:()=>d});var s=g(30576);function d(C){return Symbol.asyncIterator&&(0,s.m)(C?.[Symbol.asyncIterator])}},51165:(yt,Ee,g)=>{function s(d){return d instanceof Date&&!isNaN(d)}g.d(Ee,{q:()=>s})},30576:(yt,Ee,g)=>{function s(d){return"function"==typeof d}g.d(Ee,{m:()=>s})},93670:(yt,Ee,g)=>{g.d(Ee,{c:()=>C});var s=g(48822),d=g(30576);function C($){return(0,d.m)($[s.L])}},26495:(yt,Ee,g)=>{g.d(Ee,{T:()=>C});var s=g(2202),d=g(30576);function C($){return(0,d.m)($?.[s.h])}},28239:(yt,Ee,g)=>{g.d(Ee,{t:()=>d});var s=g(30576);function d(C){return(0,s.m)(C?.then)}},53260:(yt,Ee,g)=>{g.d(Ee,{L:()=>$,Q:()=>C});var s=g(70655),d=g(30576);function C(k){return(0,s.FC)(this,arguments,function*(){const ce=k.getReader();try{for(;;){const{value:J,done:ne}=yield(0,s.qq)(ce.read());if(ne)return yield(0,s.qq)(void 0);yield yield(0,s.qq)(J)}}finally{ce.releaseLock()}})}function $(k){return(0,d.m)(k?.getReader)}},93532:(yt,Ee,g)=>{g.d(Ee,{K:()=>d});var s=g(30576);function d(C){return C&&(0,s.m)(C.schedule)}},54482:(yt,Ee,g)=>{g.d(Ee,{A:()=>d,e:()=>C});var s=g(30576);function d($){return(0,s.m)($?.lift)}function C($){return k=>{if(d(k))return k.lift(function(ee){try{return $(ee,this)}catch(ce){this.error(ce)}});throw new TypeError("Unable to lift unknown Observable type")}}},83268:(yt,Ee,g)=>{g.d(Ee,{Z:()=>$});var s=g(54004);const{isArray:d}=Array;function $(k){return(0,s.U)(ee=>function C(k,ee){return d(ee)?k(...ee):k(ee)}(k,ee))}},25032:(yt,Ee,g)=>{function s(){}g.d(Ee,{Z:()=>s})},89635:(yt,Ee,g)=>{g.d(Ee,{U:()=>C,z:()=>d});var s=g(44671);function d(...$){return C($)}function C($){return 0===$.length?s.y:1===$.length?$[0]:function(ee){return $.reduce((ce,J)=>J(ce),ee)}}},87849:(yt,Ee,g)=>{g.d(Ee,{h:()=>C});var s=g(42416),d=g(43410);function C($){d.z.setTimeout(()=>{const{onUnhandledError:k}=s.v;if(!k)throw $;k($)})}},44532:(yt,Ee,g)=>{function s(d){return new TypeError(`You provided ${null!==d&&"object"==typeof d?"an invalid object":`'${d}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(Ee,{z:()=>s})},70655:(yt,Ee,g)=>{function $(Oe,Ye){var tt={};for(var lt in Oe)Object.prototype.hasOwnProperty.call(Oe,lt)&&Ye.indexOf(lt)<0&&(tt[lt]=Oe[lt]);if(null!=Oe&&"function"==typeof Object.getOwnPropertySymbols){var vt=0;for(lt=Object.getOwnPropertySymbols(Oe);vt<lt.length;vt++)Ye.indexOf(lt[vt])<0&&Object.prototype.propertyIsEnumerable.call(Oe,lt[vt])&&(tt[lt[vt]]=Oe[lt[vt]])}return tt}function k(Oe,Ye,tt,lt){var ot,vt=arguments.length,ft=vt<3?Ye:null===lt?lt=Object.getOwnPropertyDescriptor(Ye,tt):lt;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ft=Reflect.decorate(Oe,Ye,tt,lt);else for(var fe=Oe.length-1;fe>=0;fe--)(ot=Oe[fe])&&(ft=(vt<3?ot(ft):vt>3?ot(Ye,tt,ft):ot(Ye,tt))||ft);return vt>3&&ft&&Object.defineProperty(Ye,tt,ft),ft}function Y(Oe,Ye,tt,lt){return new(tt||(tt=Promise))(function(ft,ot){function fe(K){try{w(lt.next(K))}catch(De){ot(De)}}function G(K){try{w(lt.throw(K))}catch(De){ot(De)}}function w(K){K.done?ft(K.value):function vt(ft){return ft instanceof tt?ft:new tt(function(ot){ot(ft)})}(K.value).then(fe,G)}w((lt=lt.apply(Oe,Ye||[])).next())})}function xe(Oe){return this instanceof xe?(this.v=Oe,this):new xe(Oe)}function U(Oe,Ye,tt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var vt,lt=tt.apply(Oe,Ye||[]),ft=[];return vt={},ot("next"),ot("throw"),ot("return"),vt[Symbol.asyncIterator]=function(){return this},vt;function ot(et){lt[et]&&(vt[et]=function(Mt){return new Promise(function(xt,Lt){ft.push([et,Mt,xt,Lt])>1||fe(et,Mt)})})}function fe(et,Mt){try{!function G(et){et.value instanceof xe?Promise.resolve(et.value.v).then(w,K):De(ft[0][2],et)}(lt[et](Mt))}catch(xt){De(ft[0][3],xt)}}function w(et){fe("next",et)}function K(et){fe("throw",et)}function De(et,Mt){et(Mt),ft.shift(),ft.length&&fe(ft[0][0],ft[0][1])}}function q(Oe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var tt,Ye=Oe[Symbol.asyncIterator];return Ye?Ye.call(Oe):(Oe=function ke(Oe){var Ye="function"==typeof Symbol&&Symbol.iterator,tt=Ye&&Oe[Ye],lt=0;if(tt)return tt.call(Oe);if(Oe&&"number"==typeof Oe.length)return{next:function(){return Oe&<>=Oe.length&&(Oe=void 0),{value:Oe&&Oe[lt++],done:!Oe}}};throw new TypeError(Ye?"Object is not iterable.":"Symbol.iterator is not defined.")}(Oe),tt={},lt("next"),lt("throw"),lt("return"),tt[Symbol.asyncIterator]=function(){return this},tt);function lt(ft){tt[ft]=Oe[ft]&&function(ot){return new Promise(function(fe,G){!function vt(ft,ot,fe,G){Promise.resolve(G).then(function(w){ft({value:w,done:fe})},ot)}(fe,G,(ot=Oe[ft](ot)).done,ot.value)})}}}g.d(Ee,{FC:()=>U,KL:()=>q,_T:()=>$,gn:()=>k,mG:()=>Y,qq:()=>xe})},37340:(yt,Ee,g)=>{g.d(Ee,{F4:()=>R,IO:()=>Be,LC:()=>d,SB:()=>ne,X$:()=>$,ZE:()=>Ke,ZN:()=>je,_7:()=>be,_j:()=>s,eR:()=>Z,jt:()=>k,k1:()=>ze,l3:()=>C,oB:()=>J,oQ:()=>Y,pV:()=>Ae,ru:()=>ee,vP:()=>ce});class s{}class d{}const C="*";function $(xe,U){return{type:7,name:xe,definitions:U,options:{}}}function k(xe,U=null){return{type:4,styles:U,timings:xe}}function ee(xe,U=null){return{type:3,steps:xe,options:U}}function ce(xe,U=null){return{type:2,steps:xe,options:U}}function J(xe){return{type:6,styles:xe,offset:null}}function ne(xe,U,se){return{type:0,name:xe,styles:U,options:se}}function R(xe){return{type:5,steps:xe}}function Z(xe,U,se=null){return{type:1,expr:xe,animation:U,options:se}}function Y(xe,U=null){return{type:8,animation:xe,options:U}}function Ae(xe=null){return{type:9,options:xe}}function be(xe,U=null){return{type:10,animation:xe,options:U}}function Be(xe,U,se=null){return{type:11,selector:xe,animation:U,options:se}}function ye(xe){Promise.resolve().then(xe)}class je{constructor(U=0,se=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=U+se}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(U=>U()),this._onDoneFns=[])}onStart(U){this._originalOnStartFns.push(U),this._onStartFns.push(U)}onDone(U){this._originalOnDoneFns.push(U),this._onDoneFns.push(U)}onDestroy(U){this._onDestroyFns.push(U)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ye(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(U=>U()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(U=>U()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(U){this._position=this.totalTime?U*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(U){const se="start"==U?this._onStartFns:this._onDoneFns;se.forEach(q=>q()),se.length=0}}class Ke{constructor(U){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=U;let se=0,q=0,oe=0;const le=this.players.length;0==le?ye(()=>this._onFinish()):this.players.forEach(ve=>{ve.onDone(()=>{++se==le&&this._onFinish()}),ve.onDestroy(()=>{++q==le&&this._onDestroy()}),ve.onStart(()=>{++oe==le&&this._onStart()})}),this.totalTime=this.players.reduce((ve,Ze)=>Math.max(ve,Ze.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(U=>U()),this._onDoneFns=[])}init(){this.players.forEach(U=>U.init())}onStart(U){this._onStartFns.push(U)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(U=>U()),this._onStartFns=[])}onDone(U){this._onDoneFns.push(U)}onDestroy(U){this._onDestroyFns.push(U)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(U=>U.play())}pause(){this.players.forEach(U=>U.pause())}restart(){this.players.forEach(U=>U.restart())}finish(){this._onFinish(),this.players.forEach(U=>U.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(U=>U.destroy()),this._onDestroyFns.forEach(U=>U()),this._onDestroyFns=[])}reset(){this.players.forEach(U=>U.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(U){const se=U*this.totalTime;this.players.forEach(q=>{const oe=q.totalTime?Math.min(1,se/q.totalTime):1;q.setPosition(oe)})}getPosition(){const U=this.players.reduce((se,q)=>null===se||q.totalTime>se.totalTime?q:se,null);return null!=U?U.getPosition():0}beforeDestroy(){this.players.forEach(U=>{U.beforeDestroy&&U.beforeDestroy()})}triggerCallback(U){const se="start"==U?this._onStartFns:this._onDoneFns;se.forEach(q=>q()),se.length=0}}const ze="!"},12693:(yt,Ee,g)=>{g.d(Ee,{rt:()=>he,s1:()=>et,$s:()=>G,kH:()=>re,mK:()=>at,Em:()=>Mt,tE:()=>te,qV:()=>ct,qm:()=>wt,ic:()=>Lt,Kd:()=>x,X6:()=>mt,yG:()=>St});var s=g(36895),d=g(94650),C=g(83353),$=g(77579),k=g(50727),ee=g(61135),ce=g(39646),J=g(29521),ne=g(18505),R=g(78372),Z=g(39300),Y=g(54004),Ae=g(95698),be=g(35684),Be=g(71884),ke=g(82722),ye=g(21281),je=g(49643),Ke=g(39841),ze=g(97272),xe=g(69751),U=g(68675);const q=new Set;let oe,le=(()=>{class L{constructor(I){this._platform=I,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ze}matchMedia(I){return(this._platform.WEBKIT||this._platform.BLINK)&&function ve(L){if(!q.has(L))try{oe||(oe=document.createElement("style"),oe.setAttribute("type","text/css"),document.head.appendChild(oe)),oe.sheet&&(oe.sheet.insertRule(`@media ${L} {body{ }}`,0),q.add(L))}catch(T){console.error(T)}}(I),this._matchMedia(I)}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(C.t4))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();function Ze(L){return{matches:"all"===L||""===L,media:L,addListener:()=>{},removeListener:()=>{}}}let Ge=(()=>{class L{constructor(I,W){this._mediaMatcher=I,this._zone=W,this._queries=new Map,this._destroySubject=new $.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(I){return bt((0,ye.Eq)(I)).some(ae=>this._registerQuery(ae).mql.matches)}observe(I){const ae=bt((0,ye.Eq)(I)).map(Et=>this._registerQuery(Et).observable);let He=(0,Ke.a)(ae);return He=(0,ze.z)(He.pipe((0,Ae.q)(1)),He.pipe((0,be.T)(1),(0,R.b)(0))),He.pipe((0,Y.U)(Et=>{const qt={matches:!1,breakpoints:{}};return Et.forEach(({matches:oi,query:ri})=>{qt.matches=qt.matches||oi,qt.breakpoints[ri]=oi}),qt}))}_registerQuery(I){if(this._queries.has(I))return this._queries.get(I);const W=this._mediaMatcher.matchMedia(I),He={observable:new xe.y(Et=>{const qt=oi=>this._zone.run(()=>Et.next(oi));return W.addListener(qt),()=>{W.removeListener(qt)}}).pipe((0,U.O)(W),(0,Y.U)(({matches:Et})=>({query:I,matches:Et})),(0,ke.R)(this._destroySubject)),mql:W};return this._queries.set(I,He),He}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(le),d.LFG(d.R0b))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();function bt(L){return L.map(T=>T.split(",")).reduce((T,I)=>T.concat(I)).map(T=>T.trim())}function lt(L,T){return(L.getAttribute(T)||"").match(/\S+/g)||[]}const ft="cdk-describedby-message",ot="cdk-describedby-host";let fe=0,G=(()=>{class L{constructor(I,W){this._platform=W,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+fe++,this._document=I,this._id=(0,d.f3M)(d.AFp)+"-"+fe++}describe(I,W,ae){if(!this._canBeDescribed(I,W))return;const He=w(W,ae);"string"!=typeof W?(K(W,this._id),this._messageRegistry.set(He,{messageElement:W,referenceCount:0})):this._messageRegistry.has(He)||this._createMessageElement(W,ae),this._isElementDescribedByMessage(I,He)||this._addMessageReference(I,He)}removeDescription(I,W,ae){if(!W||!this._isElementNode(I))return;const He=w(W,ae);if(this._isElementDescribedByMessage(I,He)&&this._removeMessageReference(I,He),"string"==typeof W){const Et=this._messageRegistry.get(He);Et&&0===Et.referenceCount&&this._deleteMessageElement(He)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const I=this._document.querySelectorAll(`[${ot}="${this._id}"]`);for(let W=0;W<I.length;W++)this._removeCdkDescribedByReferenceIds(I[W]),I[W].removeAttribute(ot);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(I,W){const ae=this._document.createElement("div");K(ae,this._id),ae.textContent=I,W&&ae.setAttribute("role",W),this._createMessagesContainer(),this._messagesContainer.appendChild(ae),this._messageRegistry.set(w(I,W),{messageElement:ae,referenceCount:0})}_deleteMessageElement(I){this._messageRegistry.get(I)?.messageElement?.remove(),this._messageRegistry.delete(I)}_createMessagesContainer(){if(this._messagesContainer)return;const I="cdk-describedby-message-container",W=this._document.querySelectorAll(`.${I}[platform="server"]`);for(let He=0;He<W.length;He++)W[He].remove();const ae=this._document.createElement("div");ae.style.visibility="hidden",ae.classList.add(I),ae.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&ae.setAttribute("platform","server"),this._document.body.appendChild(ae),this._messagesContainer=ae}_removeCdkDescribedByReferenceIds(I){const W=lt(I,"aria-describedby").filter(ae=>0!=ae.indexOf(ft));I.setAttribute("aria-describedby",W.join(" "))}_addMessageReference(I,W){const ae=this._messageRegistry.get(W);(function Ye(L,T,I){const W=lt(L,T);W.some(ae=>ae.trim()==I.trim())||(W.push(I.trim()),L.setAttribute(T,W.join(" ")))})(I,"aria-describedby",ae.messageElement.id),I.setAttribute(ot,this._id),ae.referenceCount++}_removeMessageReference(I,W){const ae=this._messageRegistry.get(W);ae.referenceCount--,function tt(L,T,I){const ae=lt(L,T).filter(He=>He!=I.trim());ae.length?L.setAttribute(T,ae.join(" ")):L.removeAttribute(T)}(I,"aria-describedby",ae.messageElement.id),I.removeAttribute(ot)}_isElementDescribedByMessage(I,W){const ae=lt(I,"aria-describedby"),He=this._messageRegistry.get(W),Et=He&&He.messageElement.id;return!!Et&&-1!=ae.indexOf(Et)}_canBeDescribed(I,W){if(!this._isElementNode(I))return!1;if(W&&"object"==typeof W)return!0;const ae=null==W?"":`${W}`.trim(),He=I.getAttribute("aria-label");return!(!ae||He&&He.trim()===ae)}_isElementNode(I){return I.nodeType===this._document.ELEMENT_NODE}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(s.K0),d.LFG(C.t4))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();function w(L,T){return"string"==typeof L?`${T||""}/${L}`:L}function K(L,T){L.id||(L.id=`${ft}-${T}-${fe++}`)}class De{constructor(T){this._items=T,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new $.x,this._typeaheadSubscription=k.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=I=>I.disabled,this._pressedLetters=[],this.tabOut=new $.x,this.change=new $.x,T instanceof d.n_E&&(this._itemChangesSubscription=T.changes.subscribe(I=>{if(this._activeItem){const ae=I.toArray().indexOf(this._activeItem);ae>-1&&ae!==this._activeItemIndex&&(this._activeItemIndex=ae)}}))}skipPredicate(T){return this._skipPredicateFn=T,this}withWrap(T=!0){return this._wrap=T,this}withVerticalOrientation(T=!0){return this._vertical=T,this}withHorizontalOrientation(T){return this._horizontal=T,this}withAllowedModifierKeys(T){return this._allowedModifierKeys=T,this}withTypeAhead(T=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ne.b)(I=>this._pressedLetters.push(I)),(0,R.b)(T),(0,Z.h)(()=>this._pressedLetters.length>0),(0,Y.U)(()=>this._pressedLetters.join(""))).subscribe(I=>{const W=this._getItemsArray();for(let ae=1;ae<W.length+1;ae++){const He=(this._activeItemIndex+ae)%W.length,Et=W[He];if(!this._skipPredicateFn(Et)&&0===Et.getLabel().toUpperCase().trim().indexOf(I)){this.setActiveItem(He);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(T=!0){return this._homeAndEnd=T,this}withPageUpDown(T=!0,I=10){return this._pageUpAndDown={enabled:T,delta:I},this}setActiveItem(T){const I=this._activeItem;this.updateActiveItem(T),this._activeItem!==I&&this.change.next(this._activeItemIndex)}onKeydown(T){const I=T.keyCode,ae=["altKey","ctrlKey","metaKey","shiftKey"].every(He=>!T[He]||this._allowedModifierKeys.indexOf(He)>-1);switch(I){case J.Mf:return void this.tabOut.next();case J.JH:if(this._vertical&&ae){this.setNextItemActive();break}return;case J.LH:if(this._vertical&&ae){this.setPreviousItemActive();break}return;case J.SV:if(this._horizontal&&ae){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case J.oh:if(this._horizontal&&ae){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case J.Sd:if(this._homeAndEnd&&ae){this.setFirstItemActive();break}return;case J.uR:if(this._homeAndEnd&&ae){this.setLastItemActive();break}return;case J.Ku:if(this._pageUpAndDown.enabled&&ae){const He=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(He>0?He:0,1);break}return;case J.VM:if(this._pageUpAndDown.enabled&&ae){const He=this._activeItemIndex+this._pageUpAndDown.delta,Et=this._getItemsArray().length;this._setActiveItemByIndex(He<Et?He:Et-1,-1);break}return;default:return void((ae||(0,J.Vb)(T,"shiftKey"))&&(T.key&&1===T.key.length?this._letterKeyStream.next(T.key.toLocaleUpperCase()):(I>=J.A&&I<=J.Z||I>=J.xE&&I<=J.aO)&&this._letterKeyStream.next(String.fromCharCode(I))))}this._pressedLetters=[],T.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(T){const I=this._getItemsArray(),W="number"==typeof T?T:I.indexOf(T);this._activeItem=I[W]??null,this._activeItemIndex=W}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(T){this._wrap?this._setActiveInWrapMode(T):this._setActiveInDefaultMode(T)}_setActiveInWrapMode(T){const I=this._getItemsArray();for(let W=1;W<=I.length;W++){const ae=(this._activeItemIndex+T*W+I.length)%I.length;if(!this._skipPredicateFn(I[ae]))return void this.setActiveItem(ae)}}_setActiveInDefaultMode(T){this._setActiveItemByIndex(this._activeItemIndex+T,T)}_setActiveItemByIndex(T,I){const W=this._getItemsArray();if(W[T]){for(;this._skipPredicateFn(W[T]);)if(!W[T+=I])return;this.setActiveItem(T)}}_getItemsArray(){return this._items instanceof d.n_E?this._items.toArray():this._items}}class et extends De{setActiveItem(T){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(T),this.activeItem&&this.activeItem.setActiveStyles()}}class Mt extends De{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(T){return this._origin=T,this}setActiveItem(T){super.setActiveItem(T),this.activeItem&&this.activeItem.focus(this._origin)}}let Lt=(()=>{class L{constructor(I){this._platform=I}isDisabled(I){return I.hasAttribute("disabled")}isVisible(I){return function hn(L){return!!(L.offsetWidth||L.offsetHeight||"function"==typeof L.getClientRects&&L.getClientRects().length)}(I)&&"visible"===getComputedStyle(I).visibility}isTabbable(I){if(!this._platform.isBrowser)return!1;const W=function Kt(L){try{return L.frameElement}catch{return null}}(function Te(L){return L.ownerDocument&&L.ownerDocument.defaultView||window}(I));if(W&&(-1===Ne(W)||!this.isVisible(W)))return!1;let ae=I.nodeName.toLowerCase(),He=Ne(I);return I.hasAttribute("contenteditable")?-1!==He:!("iframe"===ae||"object"===ae||this._platform.WEBKIT&&this._platform.IOS&&!function V(L){let T=L.nodeName.toLowerCase(),I="input"===T&&L.type;return"text"===I||"password"===I||"select"===T||"textarea"===T}(I))&&("audio"===ae?!!I.hasAttribute("controls")&&-1!==He:"video"===ae?-1!==He&&(null!==He||this._platform.FIREFOX||I.hasAttribute("controls")):I.tabIndex>=0)}isFocusable(I,W){return function de(L){return!function zt(L){return function Pn(L){return"input"==L.nodeName.toLowerCase()}(L)&&"hidden"==L.type}(L)&&(function mn(L){let T=L.nodeName.toLowerCase();return"input"===T||"select"===T||"button"===T||"textarea"===T}(L)||function bn(L){return function ln(L){return"a"==L.nodeName.toLowerCase()}(L)&&L.hasAttribute("href")}(L)||L.hasAttribute("contenteditable")||yn(L))}(I)&&!this.isDisabled(I)&&(W?.ignoreVisibility||this.isVisible(I))}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(C.t4))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();function yn(L){if(!L.hasAttribute("tabindex")||void 0===L.tabIndex)return!1;let T=L.getAttribute("tabindex");return!(!T||isNaN(parseInt(T,10)))}function Ne(L){if(!yn(L))return null;const T=parseInt(L.getAttribute("tabindex")||"",10);return isNaN(T)?-1:T}class Qe{get enabled(){return this._enabled}set enabled(T){this._enabled=T,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(T,this._startAnchor),this._toggleAnchorTabIndex(T,this._endAnchor))}constructor(T,I,W,ae,He=!1){this._element=T,this._checker=I,this._ngZone=W,this._document=ae,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,He||this.attachAnchors()}destroy(){const T=this._startAnchor,I=this._endAnchor;T&&(T.removeEventListener("focus",this.startAnchorListener),T.remove()),I&&(I.removeEventListener("focus",this.endAnchorListener),I.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(T){return new Promise(I=>{this._executeOnStable(()=>I(this.focusInitialElement(T)))})}focusFirstTabbableElementWhenReady(T){return new Promise(I=>{this._executeOnStable(()=>I(this.focusFirstTabbableElement(T)))})}focusLastTabbableElementWhenReady(T){return new Promise(I=>{this._executeOnStable(()=>I(this.focusLastTabbableElement(T)))})}_getRegionBoundary(T){const I=this._element.querySelectorAll(`[cdk-focus-region-${T}], [cdkFocusRegion${T}], [cdk-focus-${T}]`);return"start"==T?I.length?I[0]:this._getFirstTabbableElement(this._element):I.length?I[I.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(T){const I=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(I){if(!this._checker.isFocusable(I)){const W=this._getFirstTabbableElement(I);return W?.focus(T),!!W}return I.focus(T),!0}return this.focusFirstTabbableElement(T)}focusFirstTabbableElement(T){const I=this._getRegionBoundary("start");return I&&I.focus(T),!!I}focusLastTabbableElement(T){const I=this._getRegionBoundary("end");return I&&I.focus(T),!!I}hasAttached(){return this._hasAttached}_getFirstTabbableElement(T){if(this._checker.isFocusable(T)&&this._checker.isTabbable(T))return T;const I=T.children;for(let W=0;W<I.length;W++){const ae=I[W].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(I[W]):null;if(ae)return ae}return null}_getLastTabbableElement(T){if(this._checker.isFocusable(T)&&this._checker.isTabbable(T))return T;const I=T.children;for(let W=I.length-1;W>=0;W--){const ae=I[W].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(I[W]):null;if(ae)return ae}return null}_createAnchor(){const T=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,T),T.classList.add("cdk-visually-hidden"),T.classList.add("cdk-focus-trap-anchor"),T.setAttribute("aria-hidden","true"),T}_toggleAnchorTabIndex(T,I){T?I.setAttribute("tabindex","0"):I.removeAttribute("tabindex")}toggleAnchors(T){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(T,this._startAnchor),this._toggleAnchorTabIndex(T,this._endAnchor))}_executeOnStable(T){this._ngZone.isStable?T():this._ngZone.onStable.pipe((0,Ae.q)(1)).subscribe(T)}}let ct=(()=>{class L{constructor(I,W,ae){this._checker=I,this._ngZone=W,this._document=ae}create(I,W=!1){return new Qe(I,this._checker,this._ngZone,this._document,W)}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(Lt),d.LFG(d.R0b),d.LFG(s.K0))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),at=(()=>{class L{get enabled(){return this.focusTrap.enabled}set enabled(I){this.focusTrap.enabled=(0,ye.Ig)(I)}get autoCapture(){return this._autoCapture}set autoCapture(I){this._autoCapture=(0,ye.Ig)(I)}constructor(I,W,ae){this._elementRef=I,this._focusTrapFactory=W,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(I){const W=I.autoCapture;W&&!W.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,C.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return L.\u0275fac=function(I){return new(I||L)(d.Y36(d.SBq),d.Y36(ct),d.Y36(s.K0))},L.\u0275dir=d.lG2({type:L,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[d.TTD]}),L})();function mt(L){return 0===L.buttons||0===L.offsetX&&0===L.offsetY}function St(L){const T=L.touches&&L.touches[0]||L.changedTouches&&L.changedTouches[0];return!(!T||-1!==T.identifier||null!=T.radiusX&&1!==T.radiusX||null!=T.radiusY&&1!==T.radiusY)}const Ht=new d.OlP("cdk-input-modality-detector-options"),Ot={ignoreKeys:[J.zL,J.jx,J.b2,J.MW,J.JU]},jt=(0,C.i$)({passive:!0,capture:!0});let xn=(()=>{class L{get mostRecentModality(){return this._modality.value}constructor(I,W,ae,He){this._platform=I,this._mostRecentTarget=null,this._modality=new ee.X(null),this._lastTouchMs=0,this._onKeydown=Et=>{this._options?.ignoreKeys?.some(qt=>qt===Et.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,C.sA)(Et))},this._onMousedown=Et=>{Date.now()-this._lastTouchMs<650||(this._modality.next(mt(Et)?"keyboard":"mouse"),this._mostRecentTarget=(0,C.sA)(Et))},this._onTouchstart=Et=>{St(Et)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,C.sA)(Et))},this._options={...Ot,...He},this.modalityDetected=this._modality.pipe((0,be.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Be.x)()),I.isBrowser&&W.runOutsideAngular(()=>{ae.addEventListener("keydown",this._onKeydown,jt),ae.addEventListener("mousedown",this._onMousedown,jt),ae.addEventListener("touchstart",this._onTouchstart,jt)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,jt),document.removeEventListener("mousedown",this._onMousedown,jt),document.removeEventListener("touchstart",this._onTouchstart,jt))}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(C.t4),d.LFG(d.R0b),d.LFG(s.K0),d.LFG(Ht,8))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();const Nn=new d.OlP("liveAnnouncerElement",{providedIn:"root",factory:function It(){return null}}),ut=new d.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let z=0,x=(()=>{class L{constructor(I,W,ae,He){this._ngZone=W,this._defaultOptions=He,this._document=ae,this._liveElement=I||this._createLiveElement()}announce(I,...W){const ae=this._defaultOptions;let He,Et;return 1===W.length&&"number"==typeof W[0]?Et=W[0]:[He,Et]=W,this.clear(),clearTimeout(this._previousTimeout),He||(He=ae&&ae.politeness?ae.politeness:"polite"),null==Et&&ae&&(Et=ae.duration),this._liveElement.setAttribute("aria-live",He),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(qt=>this._currentResolve=qt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=I,"number"==typeof Et&&(this._previousTimeout=setTimeout(()=>this.clear(),Et)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const I="cdk-live-announcer-element",W=this._document.getElementsByClassName(I),ae=this._document.createElement("div");for(let He=0;He<W.length;He++)W[He].remove();return ae.classList.add(I),ae.classList.add("cdk-visually-hidden"),ae.setAttribute("aria-atomic","true"),ae.setAttribute("aria-live","polite"),ae.id="cdk-live-announcer-"+z++,this._document.body.appendChild(ae),ae}_exposeAnnouncerToModals(I){const W=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let ae=0;ae<W.length;ae++){const He=W[ae],Et=He.getAttribute("aria-owns");Et?-1===Et.indexOf(I)&&He.setAttribute("aria-owns",Et+" "+I):He.setAttribute("aria-owns",I)}}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(Nn,8),d.LFG(d.R0b),d.LFG(s.K0),d.LFG(ut,8))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();const ie=new d.OlP("cdk-focus-monitor-default-options"),Ie=(0,C.i$)({passive:!0,capture:!0});let te=(()=>{class L{constructor(I,W,ae,He,Et){this._ngZone=I,this._platform=W,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 $.x,this._rootNodeFocusAndBlurListener=qt=>{for(let ri=(0,C.sA)(qt);ri;ri=ri.parentElement)"focus"===qt.type?this._onFocus(qt,ri):this._onBlur(qt,ri)},this._document=He,this._detectionMode=Et?.detectionMode||0}monitor(I,W=!1){const ae=(0,ye.fI)(I);if(!this._platform.isBrowser||1!==ae.nodeType)return(0,ce.of)(null);const He=(0,C.kV)(ae)||this._getDocument(),Et=this._elementInfo.get(ae);if(Et)return W&&(Et.checkChildren=!0),Et.subject;const qt={checkChildren:W,subject:new $.x,rootNode:He};return this._elementInfo.set(ae,qt),this._registerGlobalListeners(qt),qt.subject}stopMonitoring(I){const W=(0,ye.fI)(I),ae=this._elementInfo.get(W);ae&&(ae.subject.complete(),this._setClasses(W),this._elementInfo.delete(W),this._removeGlobalListeners(ae))}focusVia(I,W,ae){const He=(0,ye.fI)(I);He===this._getDocument().activeElement?this._getClosestElementsInfo(He).forEach(([qt,oi])=>this._originChanged(qt,W,oi)):(this._setOrigin(W),"function"==typeof He.focus&&He.focus(ae))}ngOnDestroy(){this._elementInfo.forEach((I,W)=>this.stopMonitoring(W))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(I){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(I)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:I&&this._isLastInteractionFromInputLabel(I)?"mouse":"program"}_shouldBeAttributedToTouch(I){return 1===this._detectionMode||!!I?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(I,W){I.classList.toggle("cdk-focused",!!W),I.classList.toggle("cdk-touch-focused","touch"===W),I.classList.toggle("cdk-keyboard-focused","keyboard"===W),I.classList.toggle("cdk-mouse-focused","mouse"===W),I.classList.toggle("cdk-program-focused","program"===W)}_setOrigin(I,W=!1){this._ngZone.runOutsideAngular(()=>{this._origin=I,this._originFromTouchInteraction="touch"===I&&W,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(I,W){const ae=this._elementInfo.get(W),He=(0,C.sA)(I);!ae||!ae.checkChildren&&W!==He||this._originChanged(W,this._getFocusOrigin(He),ae)}_onBlur(I,W){const ae=this._elementInfo.get(W);!ae||ae.checkChildren&&I.relatedTarget instanceof Node&&W.contains(I.relatedTarget)||(this._setClasses(W),this._emitOrigin(ae,null))}_emitOrigin(I,W){I.subject.observers.length&&this._ngZone.run(()=>I.subject.next(W))}_registerGlobalListeners(I){if(!this._platform.isBrowser)return;const W=I.rootNode,ae=this._rootNodeFocusListenerCount.get(W)||0;ae||this._ngZone.runOutsideAngular(()=>{W.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ie),W.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ie)}),this._rootNodeFocusListenerCount.set(W,ae+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,ke.R)(this._stopInputModalityDetector)).subscribe(He=>{this._setOrigin(He,!0)}))}_removeGlobalListeners(I){const W=I.rootNode;if(this._rootNodeFocusListenerCount.has(W)){const ae=this._rootNodeFocusListenerCount.get(W);ae>1?this._rootNodeFocusListenerCount.set(W,ae-1):(W.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ie),W.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ie),this._rootNodeFocusListenerCount.delete(W))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(I,W,ae){this._setClasses(I,W),this._emitOrigin(ae,W),this._lastFocusOrigin=W}_getClosestElementsInfo(I){const W=[];return this._elementInfo.forEach((ae,He)=>{(He===I||ae.checkChildren&&He.contains(I))&&W.push([He,ae])}),W}_isLastInteractionFromInputLabel(I){const{_mostRecentTarget:W,mostRecentModality:ae}=this._inputModalityDetector;if("mouse"!==ae||!W||W===I||"INPUT"!==I.nodeName&&"TEXTAREA"!==I.nodeName||I.disabled)return!1;const He=I.labels;if(He)for(let Et=0;Et<He.length;Et++)if(He[Et].contains(W))return!0;return!1}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(d.R0b),d.LFG(C.t4),d.LFG(xn),d.LFG(s.K0,8),d.LFG(ie,8))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),re=(()=>{class L{constructor(I,W){this._elementRef=I,this._focusMonitor=W,this._focusOrigin=null,this.cdkFocusChange=new d.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const I=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(I,1===I.nodeType&&I.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(W=>{this._focusOrigin=W,this.cdkFocusChange.emit(W)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return L.\u0275fac=function(I){return new(I||L)(d.Y36(d.SBq),d.Y36(te))},L.\u0275dir=d.lG2({type:L,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),L})();const Ce="cdk-high-contrast-black-on-white",$e="cdk-high-contrast-white-on-black",Fe="cdk-high-contrast-active";let wt=(()=>{class L{constructor(I,W){this._platform=I,this._document=W,this._breakpointSubscription=(0,d.f3M)(Ge).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const I=this._document.createElement("div");I.style.backgroundColor="rgb(1,2,3)",I.style.position="absolute",this._document.body.appendChild(I);const W=this._document.defaultView||window,ae=W&&W.getComputedStyle?W.getComputedStyle(I):null,He=(ae&&ae.backgroundColor||"").replace(/ /g,"");switch(I.remove(),He){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 I=this._document.body.classList;I.remove(Fe,Ce,$e),this._hasCheckedHighContrastMode=!0;const W=this.getHighContrastMode();1===W?I.add(Fe,Ce):2===W&&I.add(Fe,$e)}}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(C.t4),d.LFG(s.K0))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),he=(()=>{class L{constructor(I){I._applyBodyHighContrastModeCssClasses()}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(wt))},L.\u0275mod=d.oAB({type:L}),L.\u0275inj=d.cJS({imports:[je.Q8]}),L})()},40445:(yt,Ee,g)=>{g.d(Ee,{Is:()=>ce,vT:()=>ne});var s=g(94650),d=g(36895);const C=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function $(){return(0,s.f3M)(d.K0)}}),k=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ce=(()=>{class R{constructor(Y){this.value="ltr",this.change=new s.vpe,Y&&(this.value=function ee(R){const Z=R?.toLowerCase()||"";return"auto"===Z&&typeof navigator<"u"&&navigator?.language?k.test(navigator.language)?"rtl":"ltr":"rtl"===Z?"rtl":"ltr"}((Y.body?Y.body.dir:null)||(Y.documentElement?Y.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return R.\u0275fac=function(Y){return new(Y||R)(s.LFG(C,8))},R.\u0275prov=s.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),ne=(()=>{class R{}return R.\u0275fac=function(Y){return new(Y||R)},R.\u0275mod=s.oAB({type:R}),R.\u0275inj=s.cJS({}),R})()},21281:(yt,Ee,g)=>{g.d(Ee,{Eq:()=>k,HM:()=>ee,Ig:()=>d,du:()=>J,fI:()=>ce,su:()=>C});var s=g(94650);function d(ne){return null!=ne&&"false"!=`${ne}`}function C(ne,R=0){return function $(ne){return!isNaN(parseFloat(ne))&&!isNaN(Number(ne))}(ne)?Number(ne):R}function k(ne){return Array.isArray(ne)?ne:[ne]}function ee(ne){return null==ne?"":"string"==typeof ne?ne:`${ne}px`}function ce(ne){return ne instanceof s.SBq?ne.nativeElement:ne}function J(ne,R=/\s+/){const Z=[];if(null!=ne){const Y=Array.isArray(ne)?ne:`${ne}`.split(R);for(const Ae of Y){const be=`${Ae}`.trim();be&&Z.push(be)}}return Z}},29521:(yt,Ee,g)=>{g.d(Ee,{A:()=>fe,JH:()=>ze,JU:()=>ee,K5:()=>k,Ku:()=>Ae,LH:()=>je,L_:()=>Y,MW:()=>it,Mf:()=>C,OC:()=>er,SV:()=>Ke,Sd:()=>ke,VM:()=>be,Vb:()=>An,Z:()=>_e,ZH:()=>d,aO:()=>tt,b2:()=>Si,hY:()=>Z,jx:()=>ce,oh:()=>ye,uR:()=>Be,xE:()=>oe,yY:()=>q,zL:()=>J});const d=8,C=9,k=13,ee=16,ce=17,J=18,Z=27,Y=32,Ae=33,be=34,Be=35,ke=36,ye=37,je=38,Ke=39,ze=40,q=46,oe=48,tt=57,fe=65,_e=90,it=91,er=188,Si=224;function An(ai,...Rn){return Rn.length?Rn.some(ki=>ai[ki]):ai.altKey||ai.shiftKey||ai.ctrlKey||ai.metaKey}},49643:(yt,Ee,g)=>{g.d(Ee,{Q8:()=>ne,wD:()=>J});var s=g(21281),d=g(94650),C=g(69751),$=g(77579),k=g(78372);let ee=(()=>{class R{create(Y){return typeof MutationObserver>"u"?null:new MutationObserver(Y)}}return R.\u0275fac=function(Y){return new(Y||R)},R.\u0275prov=d.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),ce=(()=>{class R{constructor(Y){this._mutationObserverFactory=Y,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((Y,Ae)=>this._cleanupObserver(Ae))}observe(Y){const Ae=(0,s.fI)(Y);return new C.y(be=>{const ke=this._observeElement(Ae).subscribe(be);return()=>{ke.unsubscribe(),this._unobserveElement(Ae)}})}_observeElement(Y){if(this._observedElements.has(Y))this._observedElements.get(Y).count++;else{const Ae=new $.x,be=this._mutationObserverFactory.create(Be=>Ae.next(Be));be&&be.observe(Y,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(Y,{observer:be,stream:Ae,count:1})}return this._observedElements.get(Y).stream}_unobserveElement(Y){this._observedElements.has(Y)&&(this._observedElements.get(Y).count--,this._observedElements.get(Y).count||this._cleanupObserver(Y))}_cleanupObserver(Y){if(this._observedElements.has(Y)){const{observer:Ae,stream:be}=this._observedElements.get(Y);Ae&&Ae.disconnect(),be.complete(),this._observedElements.delete(Y)}}}return R.\u0275fac=function(Y){return new(Y||R)(d.LFG(ee))},R.\u0275prov=d.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),J=(()=>{class R{get disabled(){return this._disabled}set disabled(Y){this._disabled=(0,s.Ig)(Y),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(Y){this._debounce=(0,s.su)(Y),this._subscribe()}constructor(Y,Ae,be){this._contentObserver=Y,this._elementRef=Ae,this._ngZone=be,this.event=new d.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const Y=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?Y.pipe((0,k.b)(this.debounce)):Y).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return R.\u0275fac=function(Y){return new(Y||R)(d.Y36(ce),d.Y36(d.SBq),d.Y36(d.R0b))},R.\u0275dir=d.lG2({type:R,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),R})(),ne=(()=>{class R{}return R.\u0275fac=function(Y){return new(Y||R)},R.\u0275mod=d.oAB({type:R}),R.\u0275inj=d.cJS({providers:[ee]}),R})()},98184:(yt,Ee,g)=>{g.d(Ee,{Iu:()=>tt,U8:()=>ln,X_:()=>q,Xj:()=>Ye,_G:()=>ft,aV:()=>Lt,pI:()=>zt,wJ:()=>Mt,xu:()=>mn});var s=g(67376),d=g(36895),C=g(94650),$=g(21281),k=g(83353),ee=g(40445),ce=g(84080),J=g(77579),ne=g(50727),R=g(56451),Z=g(95698),Y=g(82722),Ae=g(22529),be=g(29521);const Be=(0,k.Mq)();class ke{constructor(V,de){this._viewportRuler=V,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=de}attach(){}enable(){if(this._canBeEnabled()){const V=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=V.style.left||"",this._previousHTMLStyles.top=V.style.top||"",V.style.left=(0,$.HM)(-this._previousScrollPosition.left),V.style.top=(0,$.HM)(-this._previousScrollPosition.top),V.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const V=this._document.documentElement,Te=V.style,Qe=this._document.body.style,ct=Te.scrollBehavior||"",at=Qe.scrollBehavior||"";this._isEnabled=!1,Te.left=this._previousHTMLStyles.left,Te.top=this._previousHTMLStyles.top,V.classList.remove("cdk-global-scrollblock"),Be&&(Te.scrollBehavior=Qe.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Be&&(Te.scrollBehavior=ct,Qe.scrollBehavior=at)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const de=this._document.body,Te=this._viewportRuler.getViewportSize();return de.scrollHeight>Te.height||de.scrollWidth>Te.width}}class je{constructor(V,de,Te,Qe){this._scrollDispatcher=V,this._ngZone=de,this._viewportRuler=Te,this._config=Qe,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(V){this._overlayRef=V}enable(){if(this._scrollSubscription)return;const V=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=V.subscribe(()=>{const de=this._viewportRuler.getViewportScrollPosition().top;Math.abs(de-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=V.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Ke{enable(){}disable(){}attach(){}}function ze(Ne,V){return V.some(de=>Ne.bottom<de.top||Ne.top>de.bottom||Ne.right<de.left||Ne.left>de.right)}function xe(Ne,V){return V.some(de=>Ne.top<de.top||Ne.bottom>de.bottom||Ne.left<de.left||Ne.right>de.right)}class U{constructor(V,de,Te,Qe){this._scrollDispatcher=V,this._viewportRuler=de,this._ngZone=Te,this._config=Qe,this._scrollSubscription=null}attach(V){this._overlayRef=V}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const de=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Te,height:Qe}=this._viewportRuler.getViewportSize();ze(de,[{width:Te,height:Qe,bottom:Qe,right:Te,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let se=(()=>{class Ne{constructor(de,Te,Qe,ct){this._scrollDispatcher=de,this._viewportRuler=Te,this._ngZone=Qe,this.noop=()=>new Ke,this.close=at=>new je(this._scrollDispatcher,this._ngZone,this._viewportRuler,at),this.block=()=>new ke(this._viewportRuler,this._document),this.reposition=at=>new U(this._scrollDispatcher,this._viewportRuler,this._ngZone,at),this._document=ct}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(s.mF),C.LFG(s.rL),C.LFG(C.R0b),C.LFG(d.K0))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})();class q{constructor(V){if(this.scrollStrategy=new Ke,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,V){const de=Object.keys(V);for(const Te of de)void 0!==V[Te]&&(this[Te]=V[Te])}}}class ve{constructor(V,de){this.connectionPair=V,this.scrollableViewProperties=de}}let bt=(()=>{class Ne{constructor(de){this._attachedOverlays=[],this._document=de}ngOnDestroy(){this.detach()}add(de){this.remove(de),this._attachedOverlays.push(de)}remove(de){const Te=this._attachedOverlays.indexOf(de);Te>-1&&this._attachedOverlays.splice(Te,1),0===this._attachedOverlays.length&&this.detach()}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(d.K0))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),st=(()=>{class Ne extends bt{constructor(de,Te){super(de),this._ngZone=Te,this._keydownListener=Qe=>{const ct=this._attachedOverlays;for(let at=ct.length-1;at>-1;at--)if(ct[at]._keydownEvents.observers.length>0){const pt=ct[at]._keydownEvents;this._ngZone?this._ngZone.run(()=>pt.next(Qe)):pt.next(Qe);break}}}add(de){super.add(de),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(d.K0),C.LFG(C.R0b,8))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),Oe=(()=>{class Ne extends bt{constructor(de,Te,Qe){super(de),this._platform=Te,this._ngZone=Qe,this._cursorStyleIsSet=!1,this._pointerDownListener=ct=>{this._pointerDownEventTarget=(0,k.sA)(ct)},this._clickListener=ct=>{const at=(0,k.sA)(ct),pt="click"===ct.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:at;this._pointerDownEventTarget=null;const _e=this._attachedOverlays.slice();for(let it=_e.length-1;it>-1;it--){const ge=_e[it];if(ge._outsidePointerEvents.observers.length<1||!ge.hasAttached())continue;if(ge.overlayElement.contains(at)||ge.overlayElement.contains(pt))break;const Le=ge._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Le.next(ct)):Le.next(ct)}}}add(de){if(super.add(de),!this._isAttached){const Te=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Te)):this._addEventListeners(Te),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Te.style.cursor,Te.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const de=this._document.body;de.removeEventListener("pointerdown",this._pointerDownListener,!0),de.removeEventListener("click",this._clickListener,!0),de.removeEventListener("auxclick",this._clickListener,!0),de.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(de.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(de){de.addEventListener("pointerdown",this._pointerDownListener,!0),de.addEventListener("click",this._clickListener,!0),de.addEventListener("auxclick",this._clickListener,!0),de.addEventListener("contextmenu",this._clickListener,!0)}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(d.K0),C.LFG(k.t4),C.LFG(C.R0b,8))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),Ye=(()=>{class Ne{constructor(de,Te){this._platform=Te,this._document=de}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const de="cdk-overlay-container";if(this._platform.isBrowser||(0,k.Oy)()){const Qe=this._document.querySelectorAll(`.${de}[platform="server"], .${de}[platform="test"]`);for(let ct=0;ct<Qe.length;ct++)Qe[ct].remove()}const Te=this._document.createElement("div");Te.classList.add(de),(0,k.Oy)()?Te.setAttribute("platform","test"):this._platform.isBrowser||Te.setAttribute("platform","server"),this._document.body.appendChild(Te),this._containerElement=Te}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(d.K0),C.LFG(k.t4))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})();class tt{constructor(V,de,Te,Qe,ct,at,pt,_e,it,ge=!1){this._portalOutlet=V,this._host=de,this._pane=Te,this._config=Qe,this._ngZone=ct,this._keyboardDispatcher=at,this._document=pt,this._location=_e,this._outsideClickDispatcher=it,this._animationsDisabled=ge,this._backdropElement=null,this._backdropClick=new J.x,this._attachments=new J.x,this._detachments=new J.x,this._locationChanges=ne.w0.EMPTY,this._backdropClickHandler=Le=>this._backdropClick.next(Le),this._backdropTransitionendHandler=Le=>{this._disposeBackdrop(Le.target)},this._keydownEvents=new J.x,this._outsidePointerEvents=new J.x,Qe.scrollStrategy&&(this._scrollStrategy=Qe.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Qe.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(V){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const de=this._portalOutlet.attach(V);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Z.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof de?.onDestroy&&de.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),de}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const V=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),V}dispose(){const V=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,V&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(V){V!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=V,this.hasAttached()&&(V.attach(this),this.updatePosition()))}updateSize(V){this._config={...this._config,...V},this._updateElementSize()}setDirection(V){this._config={...this._config,direction:V},this._updateElementDirection()}addPanelClass(V){this._pane&&this._toggleClasses(this._pane,V,!0)}removePanelClass(V){this._pane&&this._toggleClasses(this._pane,V,!1)}getDirection(){const V=this._config.direction;return V?"string"==typeof V?V:V.value:"ltr"}updateScrollStrategy(V){V!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=V,this.hasAttached()&&(V.attach(this),V.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const V=this._pane.style;V.width=(0,$.HM)(this._config.width),V.height=(0,$.HM)(this._config.height),V.minWidth=(0,$.HM)(this._config.minWidth),V.minHeight=(0,$.HM)(this._config.minHeight),V.maxWidth=(0,$.HM)(this._config.maxWidth),V.maxHeight=(0,$.HM)(this._config.maxHeight)}_togglePointerEvents(V){this._pane.style.pointerEvents=V?"":"none"}_attachBackdrop(){const V="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(V)})}):this._backdropElement.classList.add(V)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const V=this._backdropElement;if(V){if(this._animationsDisabled)return void this._disposeBackdrop(V);V.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{V.addEventListener("transitionend",this._backdropTransitionendHandler)}),V.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(V)},500))}}_toggleClasses(V,de,Te){const Qe=(0,$.Eq)(de||[]).filter(ct=>!!ct);Qe.length&&(Te?V.classList.add(...Qe):V.classList.remove(...Qe))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const V=this._ngZone.onStable.pipe((0,Y.R)((0,R.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),V.unsubscribe())})})}_disposeScrollStrategy(){const V=this._scrollStrategy;V&&(V.disable(),V.detach&&V.detach())}_disposeBackdrop(V){V&&(V.removeEventListener("click",this._backdropClickHandler),V.removeEventListener("transitionend",this._backdropTransitionendHandler),V.remove(),this._backdropElement===V&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const lt="cdk-overlay-connected-position-bounding-box",vt=/([A-Za-z%]+)$/;class ft{get positions(){return this._preferredPositions}constructor(V,de,Te,Qe,ct){this._viewportRuler=de,this._document=Te,this._platform=Qe,this._overlayContainer=ct,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new J.x,this._resizeSubscription=ne.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(V)}attach(V){this._validatePositions(),V.hostElement.classList.add(lt),this._overlayRef=V,this._boundingBox=V.hostElement,this._pane=V.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const V=this._originRect,de=this._overlayRect,Te=this._viewportRect,Qe=this._containerRect,ct=[];let at;for(let pt of this._preferredPositions){let _e=this._getOriginPoint(V,Qe,pt),it=this._getOverlayPoint(_e,de,pt),ge=this._getOverlayFit(it,de,Te,pt);if(ge.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(pt,_e);this._canFitWithFlexibleDimensions(ge,it,Te)?ct.push({position:pt,origin:_e,overlayRect:de,boundingBoxRect:this._calculateBoundingBoxRect(_e,pt)}):(!at||at.overlayFit.visibleArea<ge.visibleArea)&&(at={overlayFit:ge,overlayPoint:it,originPoint:_e,position:pt,overlayRect:de})}if(ct.length){let pt=null,_e=-1;for(const it of ct){const ge=it.boundingBoxRect.width*it.boundingBoxRect.height*(it.position.weight||1);ge>_e&&(_e=ge,pt=it)}return this._isPushed=!1,void this._applyPosition(pt.position,pt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(at.position,at.originPoint);this._applyPosition(at.position,at.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ot(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(lt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const V=this._lastPosition;if(V){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const de=this._getOriginPoint(this._originRect,this._containerRect,V);this._applyPosition(V,de)}else this.apply()}withScrollableContainers(V){return this._scrollables=V,this}withPositions(V){return this._preferredPositions=V,-1===V.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(V){return this._viewportMargin=V,this}withFlexibleDimensions(V=!0){return this._hasFlexibleDimensions=V,this}withGrowAfterOpen(V=!0){return this._growAfterOpen=V,this}withPush(V=!0){return this._canPush=V,this}withLockedPosition(V=!0){return this._positionLocked=V,this}setOrigin(V){return this._origin=V,this}withDefaultOffsetX(V){return this._offsetX=V,this}withDefaultOffsetY(V){return this._offsetY=V,this}withTransformOriginOn(V){return this._transformOriginSelector=V,this}_getOriginPoint(V,de,Te){let Qe,ct;if("center"==Te.originX)Qe=V.left+V.width/2;else{const at=this._isRtl()?V.right:V.left,pt=this._isRtl()?V.left:V.right;Qe="start"==Te.originX?at:pt}return de.left<0&&(Qe-=de.left),ct="center"==Te.originY?V.top+V.height/2:"top"==Te.originY?V.top:V.bottom,de.top<0&&(ct-=de.top),{x:Qe,y:ct}}_getOverlayPoint(V,de,Te){let Qe,ct;return Qe="center"==Te.overlayX?-de.width/2:"start"===Te.overlayX?this._isRtl()?-de.width:0:this._isRtl()?0:-de.width,ct="center"==Te.overlayY?-de.height/2:"top"==Te.overlayY?0:-de.height,{x:V.x+Qe,y:V.y+ct}}_getOverlayFit(V,de,Te,Qe){const ct=G(de);let{x:at,y:pt}=V,_e=this._getOffset(Qe,"x"),it=this._getOffset(Qe,"y");_e&&(at+=_e),it&&(pt+=it);let mt=0-pt,St=pt+ct.height-Te.height,Ht=this._subtractOverflows(ct.width,0-at,at+ct.width-Te.width),Ot=this._subtractOverflows(ct.height,mt,St),nn=Ht*Ot;return{visibleArea:nn,isCompletelyWithinViewport:ct.width*ct.height===nn,fitsInViewportVertically:Ot===ct.height,fitsInViewportHorizontally:Ht==ct.width}}_canFitWithFlexibleDimensions(V,de,Te){if(this._hasFlexibleDimensions){const Qe=Te.bottom-de.y,ct=Te.right-de.x,at=fe(this._overlayRef.getConfig().minHeight),pt=fe(this._overlayRef.getConfig().minWidth);return(V.fitsInViewportVertically||null!=at&&at<=Qe)&&(V.fitsInViewportHorizontally||null!=pt&&pt<=ct)}return!1}_pushOverlayOnScreen(V,de,Te){if(this._previousPushAmount&&this._positionLocked)return{x:V.x+this._previousPushAmount.x,y:V.y+this._previousPushAmount.y};const Qe=G(de),ct=this._viewportRect,at=Math.max(V.x+Qe.width-ct.width,0),pt=Math.max(V.y+Qe.height-ct.height,0),_e=Math.max(ct.top-Te.top-V.y,0),it=Math.max(ct.left-Te.left-V.x,0);let ge=0,Le=0;return ge=Qe.width<=ct.width?it||-at:V.x<this._viewportMargin?ct.left-Te.left-V.x:0,Le=Qe.height<=ct.height?_e||-pt:V.y<this._viewportMargin?ct.top-Te.top-V.y:0,this._previousPushAmount={x:ge,y:Le},{x:V.x+ge,y:V.y+Le}}_applyPosition(V,de){if(this._setTransformOrigin(V),this._setOverlayElementStyles(de,V),this._setBoundingBoxStyles(de,V),V.panelClass&&this._addPanelClasses(V.panelClass),this._lastPosition=V,this._positionChanges.observers.length){const Te=this._getScrollVisibility(),Qe=new ve(V,Te);this._positionChanges.next(Qe)}this._isInitialRender=!1}_setTransformOrigin(V){if(!this._transformOriginSelector)return;const de=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Te,Qe=V.overlayY;Te="center"===V.overlayX?"center":this._isRtl()?"start"===V.overlayX?"right":"left":"start"===V.overlayX?"left":"right";for(let ct=0;ct<de.length;ct++)de[ct].style.transformOrigin=`${Te} ${Qe}`}_calculateBoundingBoxRect(V,de){const Te=this._viewportRect,Qe=this._isRtl();let ct,at,pt,ge,Le,mt;if("top"===de.overlayY)at=V.y,ct=Te.height-at+this._viewportMargin;else if("bottom"===de.overlayY)pt=Te.height-V.y+2*this._viewportMargin,ct=Te.height-pt+this._viewportMargin;else{const St=Math.min(Te.bottom-V.y+Te.top,V.y),Ht=this._lastBoundingBoxSize.height;ct=2*St,at=V.y-St,ct>Ht&&!this._isInitialRender&&!this._growAfterOpen&&(at=V.y-Ht/2)}if("end"===de.overlayX&&!Qe||"start"===de.overlayX&&Qe)mt=Te.width-V.x+this._viewportMargin,ge=V.x-this._viewportMargin;else if("start"===de.overlayX&&!Qe||"end"===de.overlayX&&Qe)Le=V.x,ge=Te.right-V.x;else{const St=Math.min(Te.right-V.x+Te.left,V.x),Ht=this._lastBoundingBoxSize.width;ge=2*St,Le=V.x-St,ge>Ht&&!this._isInitialRender&&!this._growAfterOpen&&(Le=V.x-Ht/2)}return{top:at,left:Le,bottom:pt,right:mt,width:ge,height:ct}}_setBoundingBoxStyles(V,de){const Te=this._calculateBoundingBoxRect(V,de);!this._isInitialRender&&!this._growAfterOpen&&(Te.height=Math.min(Te.height,this._lastBoundingBoxSize.height),Te.width=Math.min(Te.width,this._lastBoundingBoxSize.width));const Qe={};if(this._hasExactPosition())Qe.top=Qe.left="0",Qe.bottom=Qe.right=Qe.maxHeight=Qe.maxWidth="",Qe.width=Qe.height="100%";else{const ct=this._overlayRef.getConfig().maxHeight,at=this._overlayRef.getConfig().maxWidth;Qe.height=(0,$.HM)(Te.height),Qe.top=(0,$.HM)(Te.top),Qe.bottom=(0,$.HM)(Te.bottom),Qe.width=(0,$.HM)(Te.width),Qe.left=(0,$.HM)(Te.left),Qe.right=(0,$.HM)(Te.right),Qe.alignItems="center"===de.overlayX?"center":"end"===de.overlayX?"flex-end":"flex-start",Qe.justifyContent="center"===de.overlayY?"center":"bottom"===de.overlayY?"flex-end":"flex-start",ct&&(Qe.maxHeight=(0,$.HM)(ct)),at&&(Qe.maxWidth=(0,$.HM)(at))}this._lastBoundingBoxSize=Te,ot(this._boundingBox.style,Qe)}_resetBoundingBoxStyles(){ot(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ot(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(V,de){const Te={},Qe=this._hasExactPosition(),ct=this._hasFlexibleDimensions,at=this._overlayRef.getConfig();if(Qe){const ge=this._viewportRuler.getViewportScrollPosition();ot(Te,this._getExactOverlayY(de,V,ge)),ot(Te,this._getExactOverlayX(de,V,ge))}else Te.position="static";let pt="",_e=this._getOffset(de,"x"),it=this._getOffset(de,"y");_e&&(pt+=`translateX(${_e}px) `),it&&(pt+=`translateY(${it}px)`),Te.transform=pt.trim(),at.maxHeight&&(Qe?Te.maxHeight=(0,$.HM)(at.maxHeight):ct&&(Te.maxHeight="")),at.maxWidth&&(Qe?Te.maxWidth=(0,$.HM)(at.maxWidth):ct&&(Te.maxWidth="")),ot(this._pane.style,Te)}_getExactOverlayY(V,de,Te){let Qe={top:"",bottom:""},ct=this._getOverlayPoint(de,this._overlayRect,V);return this._isPushed&&(ct=this._pushOverlayOnScreen(ct,this._overlayRect,Te)),"bottom"===V.overlayY?Qe.bottom=this._document.documentElement.clientHeight-(ct.y+this._overlayRect.height)+"px":Qe.top=(0,$.HM)(ct.y),Qe}_getExactOverlayX(V,de,Te){let at,Qe={left:"",right:""},ct=this._getOverlayPoint(de,this._overlayRect,V);return this._isPushed&&(ct=this._pushOverlayOnScreen(ct,this._overlayRect,Te)),at=this._isRtl()?"end"===V.overlayX?"left":"right":"end"===V.overlayX?"right":"left","right"===at?Qe.right=this._document.documentElement.clientWidth-(ct.x+this._overlayRect.width)+"px":Qe.left=(0,$.HM)(ct.x),Qe}_getScrollVisibility(){const V=this._getOriginRect(),de=this._pane.getBoundingClientRect(),Te=this._scrollables.map(Qe=>Qe.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:xe(V,Te),isOriginOutsideView:ze(V,Te),isOverlayClipped:xe(de,Te),isOverlayOutsideView:ze(de,Te)}}_subtractOverflows(V,...de){return de.reduce((Te,Qe)=>Te-Math.max(Qe,0),V)}_getNarrowedViewportRect(){const V=this._document.documentElement.clientWidth,de=this._document.documentElement.clientHeight,Te=this._viewportRuler.getViewportScrollPosition();return{top:Te.top+this._viewportMargin,left:Te.left+this._viewportMargin,right:Te.left+V-this._viewportMargin,bottom:Te.top+de-this._viewportMargin,width:V-2*this._viewportMargin,height:de-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(V,de){return"x"===de?null==V.offsetX?this._offsetX:V.offsetX:null==V.offsetY?this._offsetY:V.offsetY}_validatePositions(){}_addPanelClasses(V){this._pane&&(0,$.Eq)(V).forEach(de=>{""!==de&&-1===this._appliedPanelClasses.indexOf(de)&&(this._appliedPanelClasses.push(de),this._pane.classList.add(de))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(V=>{this._pane.classList.remove(V)}),this._appliedPanelClasses=[])}_getOriginRect(){const V=this._origin;if(V instanceof C.SBq)return V.nativeElement.getBoundingClientRect();if(V instanceof Element)return V.getBoundingClientRect();const de=V.width||0,Te=V.height||0;return{top:V.y,bottom:V.y+Te,left:V.x,right:V.x+de,height:Te,width:de}}}function ot(Ne,V){for(let de in V)V.hasOwnProperty(de)&&(Ne[de]=V[de]);return Ne}function fe(Ne){if("number"!=typeof Ne&&null!=Ne){const[V,de]=Ne.split(vt);return de&&"px"!==de?null:parseFloat(V)}return Ne||null}function G(Ne){return{top:Math.floor(Ne.top),right:Math.floor(Ne.right),bottom:Math.floor(Ne.bottom),left:Math.floor(Ne.left),width:Math.floor(Ne.width),height:Math.floor(Ne.height)}}const De="cdk-global-overlay-wrapper";class et{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(V){const de=V.getConfig();this._overlayRef=V,this._width&&!de.width&&V.updateSize({width:this._width}),this._height&&!de.height&&V.updateSize({height:this._height}),V.hostElement.classList.add(De),this._isDisposed=!1}top(V=""){return this._bottomOffset="",this._topOffset=V,this._alignItems="flex-start",this}left(V=""){return this._xOffset=V,this._xPosition="left",this}bottom(V=""){return this._topOffset="",this._bottomOffset=V,this._alignItems="flex-end",this}right(V=""){return this._xOffset=V,this._xPosition="right",this}start(V=""){return this._xOffset=V,this._xPosition="start",this}end(V=""){return this._xOffset=V,this._xPosition="end",this}width(V=""){return this._overlayRef?this._overlayRef.updateSize({width:V}):this._width=V,this}height(V=""){return this._overlayRef?this._overlayRef.updateSize({height:V}):this._height=V,this}centerHorizontally(V=""){return this.left(V),this._xPosition="center",this}centerVertically(V=""){return this.top(V),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const V=this._overlayRef.overlayElement.style,de=this._overlayRef.hostElement.style,Te=this._overlayRef.getConfig(),{width:Qe,height:ct,maxWidth:at,maxHeight:pt}=Te,_e=!("100%"!==Qe&&"100vw"!==Qe||at&&"100%"!==at&&"100vw"!==at),it=!("100%"!==ct&&"100vh"!==ct||pt&&"100%"!==pt&&"100vh"!==pt),ge=this._xPosition,Le=this._xOffset,mt="rtl"===this._overlayRef.getConfig().direction;let St="",Ht="",Ot="";_e?Ot="flex-start":"center"===ge?(Ot="center",mt?Ht=Le:St=Le):mt?"left"===ge||"end"===ge?(Ot="flex-end",St=Le):("right"===ge||"start"===ge)&&(Ot="flex-start",Ht=Le):"left"===ge||"start"===ge?(Ot="flex-start",St=Le):("right"===ge||"end"===ge)&&(Ot="flex-end",Ht=Le),V.position=this._cssPosition,V.marginLeft=_e?"0":St,V.marginTop=it?"0":this._topOffset,V.marginBottom=this._bottomOffset,V.marginRight=_e?"0":Ht,de.justifyContent=Ot,de.alignItems=it?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const V=this._overlayRef.overlayElement.style,de=this._overlayRef.hostElement,Te=de.style;de.classList.remove(De),Te.justifyContent=Te.alignItems=V.marginTop=V.marginBottom=V.marginLeft=V.marginRight=V.position="",this._overlayRef=null,this._isDisposed=!0}}let Mt=(()=>{class Ne{constructor(de,Te,Qe,ct){this._viewportRuler=de,this._document=Te,this._platform=Qe,this._overlayContainer=ct}global(){return new et}flexibleConnectedTo(de){return new ft(de,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(s.rL),C.LFG(d.K0),C.LFG(k.t4),C.LFG(Ye))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),xt=0,Lt=(()=>{class Ne{constructor(de,Te,Qe,ct,at,pt,_e,it,ge,Le,mt,St){this.scrollStrategies=de,this._overlayContainer=Te,this._componentFactoryResolver=Qe,this._positionBuilder=ct,this._keyboardDispatcher=at,this._injector=pt,this._ngZone=_e,this._document=it,this._directionality=ge,this._location=Le,this._outsideClickDispatcher=mt,this._animationsModuleType=St}create(de){const Te=this._createHostElement(),Qe=this._createPaneElement(Te),ct=this._createPortalOutlet(Qe),at=new q(de);return at.direction=at.direction||this._directionality.value,new tt(ct,Te,Qe,at,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(de){const Te=this._document.createElement("div");return Te.id="cdk-overlay-"+xt++,Te.classList.add("cdk-overlay-pane"),de.appendChild(Te),Te}_createHostElement(){const de=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(de),de}_createPortalOutlet(de){return this._appRef||(this._appRef=this._injector.get(C.z2F)),new ce.u0(de,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(se),C.LFG(Ye),C.LFG(C._Vd),C.LFG(Mt),C.LFG(st),C.LFG(C.zs3),C.LFG(C.R0b),C.LFG(d.K0),C.LFG(ee.Is),C.LFG(d.Ye),C.LFG(Oe),C.LFG(C.QbO,8))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})();const Kt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],hn=new C.OlP("cdk-connected-overlay-scroll-strategy");let mn=(()=>{class Ne{constructor(de){this.elementRef=de}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.Y36(C.SBq))},Ne.\u0275dir=C.lG2({type:Ne,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),Ne})(),zt=(()=>{class Ne{get offsetX(){return this._offsetX}set offsetX(de){this._offsetX=de,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(de){this._offsetY=de,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(de){this._hasBackdrop=(0,$.Ig)(de)}get lockPosition(){return this._lockPosition}set lockPosition(de){this._lockPosition=(0,$.Ig)(de)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(de){this._flexibleDimensions=(0,$.Ig)(de)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(de){this._growAfterOpen=(0,$.Ig)(de)}get push(){return this._push}set push(de){this._push=(0,$.Ig)(de)}constructor(de,Te,Qe,ct,at){this._overlay=de,this._dir=at,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=ne.w0.EMPTY,this._attachSubscription=ne.w0.EMPTY,this._detachSubscription=ne.w0.EMPTY,this._positionSubscription=ne.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new C.vpe,this.positionChange=new C.vpe,this.attach=new C.vpe,this.detach=new C.vpe,this.overlayKeydown=new C.vpe,this.overlayOutsideClick=new C.vpe,this._templatePortal=new ce.UE(Te,Qe),this._scrollStrategyFactory=ct,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(de){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),de.origin&&this.open&&this._position.apply()),de.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Kt);const de=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=de.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=de.detachments().subscribe(()=>this.detach.emit()),de.keydownEvents().subscribe(Te=>{this.overlayKeydown.next(Te),Te.keyCode===be.hY&&!this.disableClose&&!(0,be.Vb)(Te)&&(Te.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Te=>{this.overlayOutsideClick.next(Te)})}_buildConfig(){const de=this._position=this.positionStrategy||this._createPositionStrategy(),Te=new q({direction:this._dir,positionStrategy:de,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Te.width=this.width),(this.height||0===this.height)&&(Te.height=this.height),(this.minWidth||0===this.minWidth)&&(Te.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Te.minHeight=this.minHeight),this.backdropClass&&(Te.backdropClass=this.backdropClass),this.panelClass&&(Te.panelClass=this.panelClass),Te}_updatePositionStrategy(de){const Te=this.positions.map(Qe=>({originX:Qe.originX,originY:Qe.originY,overlayX:Qe.overlayX,overlayY:Qe.overlayY,offsetX:Qe.offsetX||this.offsetX,offsetY:Qe.offsetY||this.offsetY,panelClass:Qe.panelClass||void 0}));return de.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Te).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const de=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(de),de}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof mn?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(de=>{this.backdropClick.emit(de)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,Ae.o)(()=>this.positionChange.observers.length>0)).subscribe(de=>{this.positionChange.emit(de),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.Y36(Lt),C.Y36(C.Rgc),C.Y36(C.s_b),C.Y36(hn),C.Y36(ee.Is,8))},Ne.\u0275dir=C.lG2({type:Ne,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[C.TTD]}),Ne})();const Pn={provide:hn,deps:[Lt],useFactory:function bn(Ne){return()=>Ne.scrollStrategies.reposition()}};let ln=(()=>{class Ne{}return Ne.\u0275fac=function(de){return new(de||Ne)},Ne.\u0275mod=C.oAB({type:Ne}),Ne.\u0275inj=C.cJS({providers:[Lt,Pn],imports:[ee.vT,ce.eL,s.Cl,s.Cl]}),Ne})()},83353:(yt,Ee,g)=>{g.d(Ee,{Mq:()=>be,Oy:()=>xe,_i:()=>Be,ht:()=>Ke,i$:()=>Z,kV:()=>je,qK:()=>J,sA:()=>ze,t4:()=>$});var s=g(94650),d=g(36895);let C;try{C=typeof Intl<"u"&&Intl.v8BreakIterator}catch{C=!1}let ee,$=(()=>{class U{constructor(q){this._platformId=q,this.isBrowser=this._platformId?(0,d.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&&!C)&&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}}return U.\u0275fac=function(q){return new(q||U)(s.LFG(s.Lbi))},U.\u0275prov=s.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),U})();const ce=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function J(){if(ee)return ee;if("object"!=typeof document||!document)return ee=new Set(ce),ee;let U=document.createElement("input");return ee=new Set(ce.filter(se=>(U.setAttribute("type",se),U.type===se))),ee}let ne,Y,Ae,ke;function Z(U){return function R(){if(null==ne&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ne=!0}))}finally{ne=ne||!1}return ne}()?U:!!U.capture}function be(){if(null==Ae){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ae=!1,Ae;if("scrollBehavior"in document.documentElement.style)Ae=!0;else{const U=Element.prototype.scrollTo;Ae=!!U&&!/\{\s*\[native code\]\s*\}/.test(U.toString())}}return Ae}function Be(){if("object"!=typeof document||!document)return 0;if(null==Y){const U=document.createElement("div"),se=U.style;U.dir="rtl",se.width="1px",se.overflow="auto",se.visibility="hidden",se.pointerEvents="none",se.position="absolute";const q=document.createElement("div"),oe=q.style;oe.width="2px",oe.height="1px",U.appendChild(q),document.body.appendChild(U),Y=0,0===U.scrollLeft&&(U.scrollLeft=1,Y=0===U.scrollLeft?1:2),U.remove()}return Y}function je(U){if(function ye(){if(null==ke){const U=typeof document<"u"?document.head:null;ke=!(!U||!U.createShadowRoot&&!U.attachShadow)}return ke}()){const se=U.getRootNode?U.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&se instanceof ShadowRoot)return se}return null}function Ke(){let U=typeof document<"u"&&document?document.activeElement:null;for(;U&&U.shadowRoot;){const se=U.shadowRoot.activeElement;if(se===U)break;U=se}return U}function ze(U){return U.composedPath?U.composedPath()[0]:U.target}function xe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},84080:(yt,Ee,g)=>{g.d(Ee,{C5:()=>R,Pl:()=>Ke,UE:()=>Z,eL:()=>xe,en:()=>Ae,ig:()=>ye,u0:()=>Be});var s=g(94650),d=g(36895);class ne{attach(q){return this._attachedHost=q,q.attach(this)}detach(){let q=this._attachedHost;null!=q&&(this._attachedHost=null,q.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(q){this._attachedHost=q}}class R extends ne{constructor(q,oe,le,ve,Ze){super(),this.component=q,this.viewContainerRef=oe,this.injector=le,this.componentFactoryResolver=ve,this.projectableNodes=Ze}}class Z extends ne{constructor(q,oe,le,ve){super(),this.templateRef=q,this.viewContainerRef=oe,this.context=le,this.injector=ve}get origin(){return this.templateRef.elementRef}attach(q,oe=this.context){return this.context=oe,super.attach(q)}detach(){return this.context=void 0,super.detach()}}class Y extends ne{constructor(q){super(),this.element=q instanceof s.SBq?q.nativeElement:q}}class Ae{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(q){return q instanceof R?(this._attachedPortal=q,this.attachComponentPortal(q)):q instanceof Z?(this._attachedPortal=q,this.attachTemplatePortal(q)):this.attachDomPortal&&q instanceof Y?(this._attachedPortal=q,this.attachDomPortal(q)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(q){this._disposeFn=q}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Be extends Ae{constructor(q,oe,le,ve,Ze){super(),this.outletElement=q,this._componentFactoryResolver=oe,this._appRef=le,this._defaultInjector=ve,this.attachDomPortal=Ge=>{const bt=Ge.element,st=this._document.createComment("dom-portal");bt.parentNode.insertBefore(st,bt),this.outletElement.appendChild(bt),this._attachedPortal=Ge,super.setDisposeFn(()=>{st.parentNode&&st.parentNode.replaceChild(bt,st)})},this._document=Ze}attachComponentPortal(q){const le=(q.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(q.component);let ve;return q.viewContainerRef?(ve=q.viewContainerRef.createComponent(le,q.viewContainerRef.length,q.injector||q.viewContainerRef.injector,q.projectableNodes||void 0),this.setDisposeFn(()=>ve.destroy())):(ve=le.create(q.injector||this._defaultInjector||s.zs3.NULL),this._appRef.attachView(ve.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ve.hostView),ve.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ve)),this._attachedPortal=q,ve}attachTemplatePortal(q){let oe=q.viewContainerRef,le=oe.createEmbeddedView(q.templateRef,q.context,{injector:q.injector});return le.rootNodes.forEach(ve=>this.outletElement.appendChild(ve)),le.detectChanges(),this.setDisposeFn(()=>{let ve=oe.indexOf(le);-1!==ve&&oe.remove(ve)}),this._attachedPortal=q,le}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(q){return q.hostView.rootNodes[0]}}let ye=(()=>{class se extends Z{constructor(oe,le){super(oe,le)}}return se.\u0275fac=function(oe){return new(oe||se)(s.Y36(s.Rgc),s.Y36(s.s_b))},se.\u0275dir=s.lG2({type:se,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[s.qOj]}),se})(),Ke=(()=>{class se extends Ae{constructor(oe,le,ve){super(),this._componentFactoryResolver=oe,this._viewContainerRef=le,this._isInitialized=!1,this.attached=new s.vpe,this.attachDomPortal=Ze=>{const Ge=Ze.element,bt=this._document.createComment("dom-portal");Ze.setAttachedHost(this),Ge.parentNode.insertBefore(bt,Ge),this._getRootNode().appendChild(Ge),this._attachedPortal=Ze,super.setDisposeFn(()=>{bt.parentNode&&bt.parentNode.replaceChild(Ge,bt)})},this._document=ve}get portal(){return this._attachedPortal}set portal(oe){this.hasAttached()&&!oe&&!this._isInitialized||(this.hasAttached()&&super.detach(),oe&&super.attach(oe),this._attachedPortal=oe||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(oe){oe.setAttachedHost(this);const le=null!=oe.viewContainerRef?oe.viewContainerRef:this._viewContainerRef,Ze=(oe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(oe.component),Ge=le.createComponent(Ze,le.length,oe.injector||le.injector,oe.projectableNodes||void 0);return le!==this._viewContainerRef&&this._getRootNode().appendChild(Ge.hostView.rootNodes[0]),super.setDisposeFn(()=>Ge.destroy()),this._attachedPortal=oe,this._attachedRef=Ge,this.attached.emit(Ge),Ge}attachTemplatePortal(oe){oe.setAttachedHost(this);const le=this._viewContainerRef.createEmbeddedView(oe.templateRef,oe.context,{injector:oe.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=oe,this._attachedRef=le,this.attached.emit(le),le}_getRootNode(){const oe=this._viewContainerRef.element.nativeElement;return oe.nodeType===oe.ELEMENT_NODE?oe:oe.parentNode}}return se.\u0275fac=function(oe){return new(oe||se)(s.Y36(s._Vd),s.Y36(s.s_b),s.Y36(d.K0))},se.\u0275dir=s.lG2({type:se,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[s.qOj]}),se})(),xe=(()=>{class se{}return se.\u0275fac=function(oe){return new(oe||se)},se.\u0275mod=s.oAB({type:se}),se.\u0275inj=s.cJS({}),se})()},67376:(yt,Ee,g)=>{g.d(Ee,{Cl:()=>ot,PQ:()=>oe,ZD:()=>ft,mF:()=>q,rL:()=>ve});var s=g(21281),d=g(94650),C=g(77579),$=g(39646),k=g(69751),ee=g(54968),ce=g(66406),J=g(53101),ne=g(50727),R=g(23601),Z=g(39300),Y=g(82722),Ae=g(68675),be=g(83353),Be=g(36895),ke=g(40445);const ye=["contentWrapper"],je=["*"],Ke=new d.OlP("VIRTUAL_SCROLL_STRATEGY");let q=(()=>{class fe{constructor(w,K,De){this._ngZone=w,this._platform=K,this._scrolled=new C.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=De}register(w){this.scrollContainers.has(w)||this.scrollContainers.set(w,w.elementScrolled().subscribe(()=>this._scrolled.next(w)))}deregister(w){const K=this.scrollContainers.get(w);K&&(K.unsubscribe(),this.scrollContainers.delete(w))}scrolled(w=20){return this._platform.isBrowser?new k.y(K=>{this._globalSubscription||this._addGlobalListener();const De=w>0?this._scrolled.pipe((0,R.e)(w)).subscribe(K):this._scrolled.subscribe(K);return this._scrolledCount++,()=>{De.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,$.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((w,K)=>this.deregister(K)),this._scrolled.complete()}ancestorScrolled(w,K){const De=this.getAncestorScrollContainers(w);return this.scrolled(K).pipe((0,Z.h)(et=>!et||De.indexOf(et)>-1))}getAncestorScrollContainers(w){const K=[];return this.scrollContainers.forEach((De,et)=>{this._scrollableContainsElement(et,w)&&K.push(et)}),K}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(w,K){let De=(0,s.fI)(K),et=w.getElementRef().nativeElement;do{if(De==et)return!0}while(De=De.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const w=this._getWindow();return(0,ee.R)(w.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return fe.\u0275fac=function(w){return new(w||fe)(d.LFG(d.R0b),d.LFG(be.t4),d.LFG(Be.K0,8))},fe.\u0275prov=d.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),oe=(()=>{class fe{constructor(w,K,De,et){this.elementRef=w,this.scrollDispatcher=K,this.ngZone=De,this.dir=et,this._destroyed=new C.x,this._elementScrolled=new k.y(Mt=>this.ngZone.runOutsideAngular(()=>(0,ee.R)(this.elementRef.nativeElement,"scroll").pipe((0,Y.R)(this._destroyed)).subscribe(Mt)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(w){const K=this.elementRef.nativeElement,De=this.dir&&"rtl"==this.dir.value;null==w.left&&(w.left=De?w.end:w.start),null==w.right&&(w.right=De?w.start:w.end),null!=w.bottom&&(w.top=K.scrollHeight-K.clientHeight-w.bottom),De&&0!=(0,be._i)()?(null!=w.left&&(w.right=K.scrollWidth-K.clientWidth-w.left),2==(0,be._i)()?w.left=w.right:1==(0,be._i)()&&(w.left=w.right?-w.right:w.right)):null!=w.right&&(w.left=K.scrollWidth-K.clientWidth-w.right),this._applyScrollToOptions(w)}_applyScrollToOptions(w){const K=this.elementRef.nativeElement;(0,be.Mq)()?K.scrollTo(w):(null!=w.top&&(K.scrollTop=w.top),null!=w.left&&(K.scrollLeft=w.left))}measureScrollOffset(w){const K="left",et=this.elementRef.nativeElement;if("top"==w)return et.scrollTop;if("bottom"==w)return et.scrollHeight-et.clientHeight-et.scrollTop;const Mt=this.dir&&"rtl"==this.dir.value;return"start"==w?w=Mt?"right":K:"end"==w&&(w=Mt?K:"right"),Mt&&2==(0,be._i)()?w==K?et.scrollWidth-et.clientWidth-et.scrollLeft:et.scrollLeft:Mt&&1==(0,be._i)()?w==K?et.scrollLeft+et.scrollWidth-et.clientWidth:-et.scrollLeft:w==K?et.scrollLeft:et.scrollWidth-et.clientWidth-et.scrollLeft}}return fe.\u0275fac=function(w){return new(w||fe)(d.Y36(d.SBq),d.Y36(q),d.Y36(d.R0b),d.Y36(ke.Is,8))},fe.\u0275dir=d.lG2({type:fe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),fe})(),ve=(()=>{class fe{constructor(w,K,De){this._platform=w,this._change=new C.x,this._changeListener=et=>{this._change.next(et)},this._document=De,K.runOutsideAngular(()=>{if(w.isBrowser){const et=this._getWindow();et.addEventListener("resize",this._changeListener),et.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const w=this._getWindow();w.removeEventListener("resize",this._changeListener),w.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const w={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),w}getViewportRect(){const w=this.getViewportScrollPosition(),{width:K,height:De}=this.getViewportSize();return{top:w.top,left:w.left,bottom:w.top+De,right:w.left+K,height:De,width:K}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const w=this._document,K=this._getWindow(),De=w.documentElement,et=De.getBoundingClientRect();return{top:-et.top||w.body.scrollTop||K.scrollY||De.scrollTop||0,left:-et.left||w.body.scrollLeft||K.scrollX||De.scrollLeft||0}}change(w=20){return w>0?this._change.pipe((0,R.e)(w)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const w=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:w.innerWidth,height:w.innerHeight}:{width:0,height:0}}}return fe.\u0275fac=function(w){return new(w||fe)(d.LFG(be.t4),d.LFG(d.R0b),d.LFG(Be.K0,8))},fe.\u0275prov=d.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();const Ze=new d.OlP("VIRTUAL_SCROLLABLE");let Ge=(()=>{class fe extends oe{constructor(w,K,De,et){super(w,K,De,et)}measureViewportSize(w){const K=this.elementRef.nativeElement;return"horizontal"===w?K.clientWidth:K.clientHeight}}return fe.\u0275fac=function(w){return new(w||fe)(d.Y36(d.SBq),d.Y36(q),d.Y36(d.R0b),d.Y36(ke.Is,8))},fe.\u0275dir=d.lG2({type:fe,features:[d.qOj]}),fe})();const st=typeof requestAnimationFrame<"u"?ce.Z:J.E;let Oe=(()=>{class fe extends Ge{get orientation(){return this._orientation}set orientation(w){this._orientation!==w&&(this._orientation=w,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(w){this._appendOnly=(0,s.Ig)(w)}constructor(w,K,De,et,Mt,xt,Lt,Kt){super(w,xt,De,Mt),this.elementRef=w,this._changeDetectorRef=K,this._scrollStrategy=et,this.scrollable=Kt,this._platform=(0,d.f3M)(be.t4),this._detachedSubject=new C.x,this._renderedRangeSubject=new C.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new k.y(hn=>this._scrollStrategy.scrolledIndexChange.subscribe(mn=>Promise.resolve().then(()=>this.ngZone.run(()=>hn.next(mn))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=ne.w0.EMPTY,this._viewportChanges=Lt.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,Ae.O)(null),(0,R.e)(0,st)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(w){this.ngZone.runOutsideAngular(()=>{this._forOf=w,this._forOf.dataStream.pipe((0,Y.R)(this._detachedSubject)).subscribe(K=>{const De=K.length;De!==this._dataLength&&(this._dataLength=De,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(w){return this.getElementRef().nativeElement.getBoundingClientRect()[w]}setTotalContentSize(w){this._totalContentSize!==w&&(this._totalContentSize=w,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(w){(function bt(fe,G){return fe.start==G.start&&fe.end==G.end})(this._renderedRange,w)||(this.appendOnly&&(w={start:0,end:Math.max(this._renderedRange.end,w.end)}),this._renderedRangeSubject.next(this._renderedRange=w),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(w,K="to-start"){w=this.appendOnly&&"to-start"===K?0:w;const et="horizontal"==this.orientation,Mt=et?"X":"Y";let Lt=`translate${Mt}(${Number((et&&this.dir&&"rtl"==this.dir.value?-1:1)*w)}px)`;this._renderedContentOffset=w,"to-end"===K&&(Lt+=` translate${Mt}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=Lt&&(this._renderedContentTransform=Lt,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(w,K="auto"){const De={behavior:K};"horizontal"===this.orientation?De.start=w:De.top=w,this.scrollable.scrollTo(De)}scrollToIndex(w,K="auto"){this._scrollStrategy.scrollToIndex(w,K)}measureScrollOffset(w){let K;return K=this.scrollable==this?De=>super.measureScrollOffset(De):De=>this.scrollable.measureScrollOffset(De),Math.max(0,K(w??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(w){let K;const Mt="rtl"==this.dir?.value;K="start"==w?Mt?"right":"left":"end"==w?Mt?"left":"right":w||("horizontal"===this.orientation?"left":"top");const xt=this.scrollable.measureBoundingClientRectWithScrollOffset(K);return this.elementRef.nativeElement.getBoundingClientRect()[K]-xt}measureRenderedContentSize(){const w=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?w.offsetWidth:w.offsetHeight}measureRangeSize(w){return this._forOf?this._forOf.measureRangeSize(w,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(w){w&&this._runAfterChangeDetection.push(w),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const w=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const K of w)K()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return fe.\u0275fac=function(w){return new(w||fe)(d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(d.R0b),d.Y36(Ke,8),d.Y36(ke.Is,8),d.Y36(q),d.Y36(ve),d.Y36(Ze,8))},fe.\u0275cmp=d.Xpm({type:fe,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(w,K){if(1&w&&d.Gf(ye,7),2&w){let De;d.iGM(De=d.CRH())&&(K._contentWrapper=De.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(w,K){2&w&&d.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===K.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==K.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[d._Bn([{provide:oe,useFactory:(G,w)=>G||w,deps:[[new d.FiY,new d.tBr(Ze)],fe]}]),d.qOj,d.jDz],ngContentSelectors:je,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(w,K){1&w&&(d.F$t(),d.TgZ(0,"div",0,1),d.Hsn(2),d.qZA(),d._UZ(3,"div",2)),2&w&&(d.xp6(3),d.Udp("width",K._totalContentWidth)("height",K._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),fe})(),ft=(()=>{class fe{}return fe.\u0275fac=function(w){return new(w||fe)},fe.\u0275mod=d.oAB({type:fe}),fe.\u0275inj=d.cJS({}),fe})(),ot=(()=>{class fe{}return fe.\u0275fac=function(w){return new(w||fe)},fe.\u0275mod=d.oAB({type:fe}),fe.\u0275inj=d.cJS({imports:[ke.vT,ft,Oe,ke.vT,ft]}),fe})()},36895:(yt,Ee,g)=>{g.d(Ee,{$G:()=>tn,Do:()=>Ke,ED:()=>pr,EM:()=>Qi,H9:()=>Lr,HT:()=>$,JF:()=>yr,JJ:()=>co,K0:()=>ee,Mx:()=>Cr,NF:()=>Bn,O5:()=>ki,OU:()=>Se,Ov:()=>Di,PC:()=>Fi,PM:()=>pn,RF:()=>wr,S$:()=>ke,Ts:()=>Io,V_:()=>ne,Ye:()=>ze,b0:()=>je,bD:()=>ht,ez:()=>We,gd:()=>li,mk:()=>kt,n9:()=>bi,p6:()=>it,q:()=>C,sg:()=>An,tP:()=>nr,uU:()=>Li,w_:()=>k});var s=g(94650);let d=null;function C(){return d}function $(m){d||(d=m)}class k{}const ee=new s.OlP("DocumentToken");let ce=(()=>{class m{historyGo(D){throw new Error("Not implemented")}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275prov=s.Yz7({token:m,factory:function(){return function J(){return(0,s.LFG)(R)}()},providedIn:"platform"}),m})();const ne=new s.OlP("Location Initialized");let R=(()=>{class m extends ce{constructor(D){super(),this._doc=D,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return C().getBaseHref(this._doc)}onPopState(D){const j=C().getGlobalEventTarget(this._doc,"window");return j.addEventListener("popstate",D,!1),()=>j.removeEventListener("popstate",D)}onHashChange(D){const j=C().getGlobalEventTarget(this._doc,"window");return j.addEventListener("hashchange",D,!1),()=>j.removeEventListener("hashchange",D)}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(D){this._location.pathname=D}pushState(D,j,pe){Z()?this._history.pushState(D,j,pe):this._location.hash=pe}replaceState(D,j,pe){Z()?this._history.replaceState(D,j,pe):this._location.hash=pe}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return m.\u0275fac=function(D){return new(D||m)(s.LFG(ee))},m.\u0275prov=s.Yz7({token:m,factory:function(){return function Y(){return new R((0,s.LFG)(ee))}()},providedIn:"platform"}),m})();function Z(){return!!window.history.pushState}function Ae(m,P){if(0==m.length)return P;if(0==P.length)return m;let D=0;return m.endsWith("/")&&D++,P.startsWith("/")&&D++,2==D?m+P.substring(1):1==D?m+P:m+"/"+P}function be(m){const P=m.match(/#|\?|$/),D=P&&P.index||m.length;return m.slice(0,D-("/"===m[D-1]?1:0))+m.slice(D)}function Be(m){return m&&"?"!==m[0]?"?"+m:m}let ke=(()=>{class m{historyGo(D){throw new Error("Not implemented")}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275prov=s.Yz7({token:m,factory:function(){return(0,s.f3M)(je)},providedIn:"root"}),m})();const ye=new s.OlP("appBaseHref");let je=(()=>{class m extends ke{constructor(D,j){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=j??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)(ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return Ae(this._baseHref,D)}path(D=!1){const j=this._platformLocation.pathname+Be(this._platformLocation.search),pe=this._platformLocation.hash;return pe&&D?`${j}${pe}`:j}pushState(D,j,pe,Je){const gt=this.prepareExternalUrl(pe+Be(Je));this._platformLocation.pushState(D,j,gt)}replaceState(D,j,pe,Je){const gt=this.prepareExternalUrl(pe+Be(Je));this._platformLocation.replaceState(D,j,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return m.\u0275fac=function(D){return new(D||m)(s.LFG(ce),s.LFG(ye,8))},m.\u0275prov=s.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})(),Ke=(()=>{class m extends ke{constructor(D,j){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=j&&(this._baseHref=j)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let j=this._platformLocation.hash;return null==j&&(j="#"),j.length>0?j.substring(1):j}prepareExternalUrl(D){const j=Ae(this._baseHref,D);return j.length>0?"#"+j:j}pushState(D,j,pe,Je){let gt=this.prepareExternalUrl(pe+Be(Je));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.pushState(D,j,gt)}replaceState(D,j,pe,Je){let gt=this.prepareExternalUrl(pe+Be(Je));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.replaceState(D,j,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return m.\u0275fac=function(D){return new(D||m)(s.LFG(ce),s.LFG(ye,8))},m.\u0275prov=s.Yz7({token:m,factory:m.\u0275fac}),m})(),ze=(()=>{class m{constructor(D){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const j=this._locationStrategy.getBaseHref();this._basePath=function q(m){if(new RegExp("^(https?:)?//").test(m)){const[,D]=m.split(/\/\/[^\/]+/);return D}return m}(be(se(j))),this._locationStrategy.onPopState(pe=>{this._subject.emit({url:this.path(!0),pop:!0,state:pe.state,type:pe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,j=""){return this.path()==this.normalize(D+Be(j))}normalize(D){return m.stripTrailingSlash(function U(m,P){if(!m||!P.startsWith(m))return P;const D=P.substring(m.length);return""===D||["/",";","?","#"].includes(D[0])?D:P}(this._basePath,se(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,j="",pe=null){this._locationStrategy.pushState(pe,"",D,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Be(j)),pe)}replaceState(D,j="",pe=null){this._locationStrategy.replaceState(pe,"",D,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Be(j)),pe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){this._locationStrategy.historyGo?.(D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(j=>{this._notifyUrlChangeListeners(j.url,j.state)})),()=>{const j=this._urlChangeListeners.indexOf(D);this._urlChangeListeners.splice(j,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",j){this._urlChangeListeners.forEach(pe=>pe(D,j))}subscribe(D,j,pe){return this._subject.subscribe({next:D,error:j,complete:pe})}}return m.normalizeQueryParams=Be,m.joinWithSlash=Ae,m.stripTrailingSlash=be,m.\u0275fac=function(D){return new(D||m)(s.LFG(ke))},m.\u0275prov=s.Yz7({token:m,factory:function(){return function xe(){return new ze((0,s.LFG)(ke))}()},providedIn:"root"}),m})();function se(m){return m.replace(/\/index.html$/,"")}const oe={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var le=(()=>((le=le||{})[le.Decimal=0]="Decimal",le[le.Percent=1]="Percent",le[le.Currency=2]="Currency",le[le.Scientific=3]="Scientific",le))(),Ze=(()=>((Ze=Ze||{})[Ze.Format=0]="Format",Ze[Ze.Standalone=1]="Standalone",Ze))(),Ge=(()=>((Ge=Ge||{})[Ge.Narrow=0]="Narrow",Ge[Ge.Abbreviated=1]="Abbreviated",Ge[Ge.Wide=2]="Wide",Ge[Ge.Short=3]="Short",Ge))(),bt=(()=>((bt=bt||{})[bt.Short=0]="Short",bt[bt.Medium=1]="Medium",bt[bt.Long=2]="Long",bt[bt.Full=3]="Full",bt))(),st=(()=>((st=st||{})[st.Decimal=0]="Decimal",st[st.Group=1]="Group",st[st.List=2]="List",st[st.PercentSign=3]="PercentSign",st[st.PlusSign=4]="PlusSign",st[st.MinusSign=5]="MinusSign",st[st.Exponential=6]="Exponential",st[st.SuperscriptingExponent=7]="SuperscriptingExponent",st[st.PerMille=8]="PerMille",st[st.Infinity=9]="Infinity",st[st.NaN=10]="NaN",st[st.TimeSeparator=11]="TimeSeparator",st[st.CurrencyDecimal=12]="CurrencyDecimal",st[st.CurrencyGroup=13]="CurrencyGroup",st))();function G(m,P){return ln((0,s.cg1)(m)[s.wAp.DateFormat],P)}function w(m,P){return ln((0,s.cg1)(m)[s.wAp.TimeFormat],P)}function K(m,P){return ln((0,s.cg1)(m)[s.wAp.DateTimeFormat],P)}function De(m,P){const D=(0,s.cg1)(m),j=D[s.wAp.NumberSymbols][P];if(typeof j>"u"){if(P===st.CurrencyDecimal)return D[s.wAp.NumberSymbols][st.Decimal];if(P===st.CurrencyGroup)return D[s.wAp.NumberSymbols][st.Group]}return j}function et(m,P){return(0,s.cg1)(m)[s.wAp.NumberFormats][P]}function mn(m){if(!m[s.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${m[s.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ln(m,P){for(let D=P;D>-1;D--)if(typeof m[D]<"u")return m[D];throw new Error("Locale data API: locale data undefined")}function yn(m){const[P,D]=m.split(":");return{hours:+P,minutes:+D}}const V=2,Te=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qe={},ct=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var at=(()=>((at=at||{})[at.Short=0]="Short",at[at.ShortGMT=1]="ShortGMT",at[at.Long=2]="Long",at[at.Extended=3]="Extended",at))(),pt=(()=>((pt=pt||{})[pt.FullYear=0]="FullYear",pt[pt.Month=1]="Month",pt[pt.Date=2]="Date",pt[pt.Hours=3]="Hours",pt[pt.Minutes=4]="Minutes",pt[pt.Seconds=5]="Seconds",pt[pt.FractionalSeconds=6]="FractionalSeconds",pt[pt.Day=7]="Day",pt))(),_e=(()=>((_e=_e||{})[_e.DayPeriods=0]="DayPeriods",_e[_e.Days=1]="Days",_e[_e.Months=2]="Months",_e[_e.Eras=3]="Eras",_e))();function it(m,P,D,j){let pe=function Fe(m){if(he(m))return m;if("number"==typeof m&&!isNaN(m))return new Date(m);if("string"==typeof m){if(m=m.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(m)){const[pe,Je=1,gt=1]=m.split("-").map($t=>+$t);return ge(pe,Je-1,gt)}const D=parseFloat(m);if(!isNaN(m-D))return new Date(D);let j;if(j=m.match(Te))return function wt(m){const P=new Date(0);let D=0,j=0;const pe=m[8]?P.setUTCFullYear:P.setFullYear,Je=m[8]?P.setUTCHours:P.setHours;m[9]&&(D=Number(m[9]+m[10]),j=Number(m[9]+m[11])),pe.call(P,Number(m[1]),Number(m[2])-1,Number(m[3]));const gt=Number(m[4]||0)-D,$t=Number(m[5]||0)-j,Sn=Number(m[6]||0),Fn=Math.floor(1e3*parseFloat("0."+(m[7]||0)));return Je.call(P,gt,$t,Sn,Fn),P}(j)}const P=new Date(m);if(!he(P))throw new Error(`Unable to convert "${m}" into a date`);return P}(m);P=Le(D,P)||P;let $t,gt=[];for(;P;){if($t=ct.exec(P),!$t){gt.push(P);break}{gt=gt.concat($t.slice(1));const Ln=gt.pop();if(!Ln)break;P=Ln}}let Sn=pe.getTimezoneOffset();j&&(Sn=re(j,Sn),pe=function $e(m,P,D){const j=D?-1:1,pe=m.getTimezoneOffset();return function Ce(m,P){return(m=new Date(m.getTime())).setMinutes(m.getMinutes()+P),m}(m,j*(re(P,pe)-pe))}(pe,j,!0));let Fn="";return gt.forEach(Ln=>{const _n=function te(m){if(Ie[m])return Ie[m];let P;switch(m){case"G":case"GG":case"GGG":P=jt(_e.Eras,Ge.Abbreviated);break;case"GGGG":P=jt(_e.Eras,Ge.Wide);break;case"GGGGG":P=jt(_e.Eras,Ge.Narrow);break;case"y":P=Ot(pt.FullYear,1,0,!1,!0);break;case"yy":P=Ot(pt.FullYear,2,0,!0,!0);break;case"yyy":P=Ot(pt.FullYear,3,0,!1,!0);break;case"yyyy":P=Ot(pt.FullYear,4,0,!1,!0);break;case"Y":P=ie(1);break;case"YY":P=ie(2,!0);break;case"YYY":P=ie(3);break;case"YYYY":P=ie(4);break;case"M":case"L":P=Ot(pt.Month,1,1);break;case"MM":case"LL":P=Ot(pt.Month,2,1);break;case"MMM":P=jt(_e.Months,Ge.Abbreviated);break;case"MMMM":P=jt(_e.Months,Ge.Wide);break;case"MMMMM":P=jt(_e.Months,Ge.Narrow);break;case"LLL":P=jt(_e.Months,Ge.Abbreviated,Ze.Standalone);break;case"LLLL":P=jt(_e.Months,Ge.Wide,Ze.Standalone);break;case"LLLLL":P=jt(_e.Months,Ge.Narrow,Ze.Standalone);break;case"w":P=A(1);break;case"ww":P=A(2);break;case"W":P=A(1,!0);break;case"d":P=Ot(pt.Date,1);break;case"dd":P=Ot(pt.Date,2);break;case"c":case"cc":P=Ot(pt.Day,1);break;case"ccc":P=jt(_e.Days,Ge.Abbreviated,Ze.Standalone);break;case"cccc":P=jt(_e.Days,Ge.Wide,Ze.Standalone);break;case"ccccc":P=jt(_e.Days,Ge.Narrow,Ze.Standalone);break;case"cccccc":P=jt(_e.Days,Ge.Short,Ze.Standalone);break;case"E":case"EE":case"EEE":P=jt(_e.Days,Ge.Abbreviated);break;case"EEEE":P=jt(_e.Days,Ge.Wide);break;case"EEEEE":P=jt(_e.Days,Ge.Narrow);break;case"EEEEEE":P=jt(_e.Days,Ge.Short);break;case"a":case"aa":case"aaa":P=jt(_e.DayPeriods,Ge.Abbreviated);break;case"aaaa":P=jt(_e.DayPeriods,Ge.Wide);break;case"aaaaa":P=jt(_e.DayPeriods,Ge.Narrow);break;case"b":case"bb":case"bbb":P=jt(_e.DayPeriods,Ge.Abbreviated,Ze.Standalone,!0);break;case"bbbb":P=jt(_e.DayPeriods,Ge.Wide,Ze.Standalone,!0);break;case"bbbbb":P=jt(_e.DayPeriods,Ge.Narrow,Ze.Standalone,!0);break;case"B":case"BB":case"BBB":P=jt(_e.DayPeriods,Ge.Abbreviated,Ze.Format,!0);break;case"BBBB":P=jt(_e.DayPeriods,Ge.Wide,Ze.Format,!0);break;case"BBBBB":P=jt(_e.DayPeriods,Ge.Narrow,Ze.Format,!0);break;case"h":P=Ot(pt.Hours,1,-12);break;case"hh":P=Ot(pt.Hours,2,-12);break;case"H":P=Ot(pt.Hours,1);break;case"HH":P=Ot(pt.Hours,2);break;case"m":P=Ot(pt.Minutes,1);break;case"mm":P=Ot(pt.Minutes,2);break;case"s":P=Ot(pt.Seconds,1);break;case"ss":P=Ot(pt.Seconds,2);break;case"S":P=Ot(pt.FractionalSeconds,1);break;case"SS":P=Ot(pt.FractionalSeconds,2);break;case"SSS":P=Ot(pt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":P=Nn(at.Short);break;case"ZZZZZ":P=Nn(at.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":P=Nn(at.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":P=Nn(at.Long);break;default:return null}return Ie[m]=P,P}(Ln);Fn+=_n?_n(pe,D,Sn):"''"===Ln?"'":Ln.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Fn}function ge(m,P,D){const j=new Date(0);return j.setFullYear(m,P,D),j.setHours(0,0,0),j}function Le(m,P){const D=function Ye(m){return(0,s.cg1)(m)[s.wAp.LocaleId]}(m);if(Qe[D]=Qe[D]||{},Qe[D][P])return Qe[D][P];let j="";switch(P){case"shortDate":j=G(m,bt.Short);break;case"mediumDate":j=G(m,bt.Medium);break;case"longDate":j=G(m,bt.Long);break;case"fullDate":j=G(m,bt.Full);break;case"shortTime":j=w(m,bt.Short);break;case"mediumTime":j=w(m,bt.Medium);break;case"longTime":j=w(m,bt.Long);break;case"fullTime":j=w(m,bt.Full);break;case"short":const pe=Le(m,"shortTime"),Je=Le(m,"shortDate");j=mt(K(m,bt.Short),[pe,Je]);break;case"medium":const gt=Le(m,"mediumTime"),$t=Le(m,"mediumDate");j=mt(K(m,bt.Medium),[gt,$t]);break;case"long":const Sn=Le(m,"longTime"),Fn=Le(m,"longDate");j=mt(K(m,bt.Long),[Sn,Fn]);break;case"full":const Ln=Le(m,"fullTime"),_n=Le(m,"fullDate");j=mt(K(m,bt.Full),[Ln,_n])}return j&&(Qe[D][P]=j),j}function mt(m,P){return P&&(m=m.replace(/\{([^}]+)}/g,function(D,j){return null!=P&&j in P?P[j]:D})),m}function St(m,P,D="-",j,pe){let Je="";(m<0||pe&&m<=0)&&(pe?m=1-m:(m=-m,Je=D));let gt=String(m);for(;gt.length<P;)gt="0"+gt;return j&&(gt=gt.slice(gt.length-P)),Je+gt}function Ot(m,P,D=0,j=!1,pe=!1){return function(Je,gt){let $t=function nn(m,P){switch(m){case pt.FullYear:return P.getFullYear();case pt.Month:return P.getMonth();case pt.Date:return P.getDate();case pt.Hours:return P.getHours();case pt.Minutes:return P.getMinutes();case pt.Seconds:return P.getSeconds();case pt.FractionalSeconds:return P.getMilliseconds();case pt.Day:return P.getDay();default:throw new Error(`Unknown DateType value "${m}".`)}}(m,Je);if((D>0||$t>-D)&&($t+=D),m===pt.Hours)0===$t&&-12===D&&($t=12);else if(m===pt.FractionalSeconds)return function Ht(m,P){return St(m,3).substring(0,P)}($t,P);const Sn=De(gt,st.MinusSign);return St($t,P,Sn,j,pe)}}function jt(m,P,D=Ze.Format,j=!1){return function(pe,Je){return function xn(m,P,D,j,pe,Je){switch(D){case _e.Months:return function vt(m,P,D){const j=(0,s.cg1)(m),Je=ln([j[s.wAp.MonthsFormat],j[s.wAp.MonthsStandalone]],P);return ln(Je,D)}(P,pe,j)[m.getMonth()];case _e.Days:return function lt(m,P,D){const j=(0,s.cg1)(m),Je=ln([j[s.wAp.DaysFormat],j[s.wAp.DaysStandalone]],P);return ln(Je,D)}(P,pe,j)[m.getDay()];case _e.DayPeriods:const gt=m.getHours(),$t=m.getMinutes();if(Je){const Fn=function zt(m){const P=(0,s.cg1)(m);return mn(P),(P[s.wAp.ExtraData][2]||[]).map(j=>"string"==typeof j?yn(j):[yn(j[0]),yn(j[1])])}(P),Ln=function bn(m,P,D){const j=(0,s.cg1)(m);mn(j);const Je=ln([j[s.wAp.ExtraData][0],j[s.wAp.ExtraData][1]],P)||[];return ln(Je,D)||[]}(P,pe,j),_n=Fn.findIndex(ni=>{if(Array.isArray(ni)){const[jn,ii]=ni,Xi=gt>=jn.hours&&$t>=jn.minutes,wi=gt<ii.hours||gt===ii.hours&&$t<ii.minutes;if(jn.hours<ii.hours){if(Xi&&wi)return!0}else if(Xi||wi)return!0}else if(ni.hours===gt&&ni.minutes===$t)return!0;return!1});if(-1!==_n)return Ln[_n]}return function tt(m,P,D){const j=(0,s.cg1)(m),Je=ln([j[s.wAp.DayPeriodsFormat],j[s.wAp.DayPeriodsStandalone]],P);return ln(Je,D)}(P,pe,j)[gt<12?0:1];case _e.Eras:return function ft(m,P){return ln((0,s.cg1)(m)[s.wAp.Eras],P)}(P,j)[m.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${D}`)}}(pe,Je,m,P,D,j)}}function Nn(m){return function(P,D,j){const pe=-1*j,Je=De(D,st.MinusSign),gt=pe>0?Math.floor(pe/60):Math.ceil(pe/60);switch(m){case at.Short:return(pe>=0?"+":"")+St(gt,2,Je)+St(Math.abs(pe%60),2,Je);case at.ShortGMT:return"GMT"+(pe>=0?"+":"")+St(gt,1,Je);case at.Long:return"GMT"+(pe>=0?"+":"")+St(gt,2,Je)+":"+St(Math.abs(pe%60),2,Je);case at.Extended:return 0===j?"Z":(pe>=0?"+":"")+St(gt,2,Je)+":"+St(Math.abs(pe%60),2,Je);default:throw new Error(`Unknown zone width "${m}"`)}}}const It=0,ut=4;function x(m){return ge(m.getFullYear(),m.getMonth(),m.getDate()+(ut-m.getDay()))}function A(m,P=!1){return function(D,j){let pe;if(P){const Je=new Date(D.getFullYear(),D.getMonth(),1).getDay()-1,gt=D.getDate();pe=1+Math.floor((gt+Je)/7)}else{const Je=x(D),gt=function z(m){const P=ge(m,It,1).getDay();return ge(m,0,1+(P<=ut?ut:ut+7)-P)}(Je.getFullYear()),$t=Je.getTime()-gt.getTime();pe=1+Math.round($t/6048e5)}return St(pe,m,De(j,st.MinusSign))}}function ie(m,P=!1){return function(D,j){return St(x(D).getFullYear(),m,De(j,st.MinusSign),P)}}const Ie={};function re(m,P){m=m.replace(/:/g,"");const D=Date.parse("Jan 01, 1970 00:00:00 "+m)/6e4;return isNaN(D)?P:D}function he(m){return m instanceof Date&&!isNaN(m.valueOf())}const L=/^(\d+)?\.((\d+)(-(\d+))?)?$/,T=22,I=".",W="0",ae=";",He=",",Et="#",qt="\xa4";function ri(m,P,D,j,pe,Je,gt=!1){let $t="",Sn=!1;if(isFinite(m)){let Fn=function ji(m){let j,pe,Je,gt,$t,P=Math.abs(m)+"",D=0;for((pe=P.indexOf(I))>-1&&(P=P.replace(I,"")),(Je=P.search(/e/i))>0?(pe<0&&(pe=Je),pe+=+P.slice(Je+1),P=P.substring(0,Je)):pe<0&&(pe=P.length),Je=0;P.charAt(Je)===W;Je++);if(Je===($t=P.length))j=[0],pe=1;else{for($t--;P.charAt($t)===W;)$t--;for(pe-=Je,j=[],gt=0;Je<=$t;Je++,gt++)j[gt]=Number(P.charAt(Je))}return pe>T&&(j=j.splice(0,T-1),D=pe-1,pe=1),{digits:j,exponent:D,integerLen:pe}}(m);gt&&(Fn=function fr(m){if(0===m.digits[0])return m;const P=m.digits.length-m.integerLen;return m.exponent?m.exponent+=2:(0===P?m.digits.push(0,0):1===P&&m.digits.push(0),m.integerLen+=2),m}(Fn));let Ln=P.minInt,_n=P.minFrac,ni=P.maxFrac;if(Je){const ar=Je.match(L);if(null===ar)throw new Error(`${Je} is not a valid digit info`);const vo=ar[1],Ar=ar[3],ps=ar[5];null!=vo&&(Ln=Xn(vo)),null!=Ar&&(_n=Xn(Ar)),null!=ps?ni=Xn(ps):null!=Ar&&_n>ni&&(ni=_n)}!function wn(m,P,D){if(P>D)throw new Error(`The minimum number of digits after fraction (${P}) is higher than the maximum (${D}).`);let j=m.digits,pe=j.length-m.integerLen;const Je=Math.min(Math.max(P,pe),D);let gt=Je+m.integerLen,$t=j[gt];if(gt>0){j.splice(Math.max(m.integerLen,gt));for(let _n=gt;_n<j.length;_n++)j[_n]=0}else{pe=Math.max(0,pe),m.integerLen=1,j.length=Math.max(1,gt=Je+1),j[0]=0;for(let _n=1;_n<gt;_n++)j[_n]=0}if($t>=5)if(gt-1<0){for(let _n=0;_n>gt;_n--)j.unshift(0),m.integerLen++;j.unshift(1),m.integerLen++}else j[gt-1]++;for(;pe<Math.max(0,Je);pe++)j.push(0);let Sn=0!==Je;const Fn=P+m.integerLen,Ln=j.reduceRight(function(_n,ni,jn,ii){return ii[jn]=(ni+=_n)<10?ni:ni-10,Sn&&(0===ii[jn]&&jn>=Fn?ii.pop():Sn=!1),ni>=10?1:0},0);Ln&&(j.unshift(Ln),m.integerLen++)}(Fn,_n,ni);let jn=Fn.digits,ii=Fn.integerLen;const Xi=Fn.exponent;let wi=[];for(Sn=jn.every(ar=>!ar);ii<Ln;ii++)jn.unshift(0);for(;ii<0;ii++)jn.unshift(0);ii>0?wi=jn.splice(ii,jn.length):(wi=jn,jn=[0]);const $i=[];for(jn.length>=P.lgSize&&$i.unshift(jn.splice(-P.lgSize,jn.length).join(""));jn.length>P.gSize;)$i.unshift(jn.splice(-P.gSize,jn.length).join(""));jn.length&&$i.unshift(jn.join("")),$t=$i.join(De(D,j)),wi.length&&($t+=De(D,pe)+wi.join("")),Xi&&($t+=De(D,st.Exponential)+"+"+Xi)}else $t=De(D,st.Infinity);return $t=m<0&&!Sn?P.negPre+$t+P.negSuf:P.posPre+$t+P.posSuf,$t}function hr(m,P="-"){const D={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},j=m.split(ae),pe=j[0],Je=j[1],gt=-1!==pe.indexOf(I)?pe.split(I):[pe.substring(0,pe.lastIndexOf(W)+1),pe.substring(pe.lastIndexOf(W)+1)],$t=gt[0],Sn=gt[1]||"";D.posPre=$t.substring(0,$t.indexOf(Et));for(let Ln=0;Ln<Sn.length;Ln++){const _n=Sn.charAt(Ln);_n===W?D.minFrac=D.maxFrac=Ln+1:_n===Et?D.maxFrac=Ln+1:D.posSuf+=_n}const Fn=$t.split(He);if(D.gSize=Fn[1]?Fn[1].length:0,D.lgSize=Fn[2]||Fn[1]?(Fn[2]||Fn[1]).length:0,Je){const Ln=pe.length-D.posPre.length-D.posSuf.length,_n=Je.indexOf(Et);D.negPre=Je.substring(0,_n).replace(/'/g,""),D.negSuf=Je.slice(_n+Ln).replace(/'/g,"")}else D.negPre=P+D.posPre,D.negSuf=D.posSuf;return D}function Xn(m){const P=parseInt(m);if(isNaN(P))throw new Error("Invalid integer literal when parsing "+m);return P}function Cr(m,P){P=encodeURIComponent(P);for(const D of m.split(";")){const j=D.indexOf("="),[pe,Je]=-1==j?[D,""]:[D.slice(0,j),D.slice(j+1)];if(pe.trim()===P)return decodeURIComponent(Je)}return null}const Yi=/\s+/,Ri=[];let kt=(()=>{class m{constructor(D,j,pe,Je){this._iterableDiffers=D,this._keyValueDiffers=j,this._ngEl=pe,this._renderer=Je,this.initialClasses=Ri,this.stateMap=new Map}set klass(D){this.initialClasses=null!=D?D.trim().split(Yi):Ri}set ngClass(D){this.rawClass="string"==typeof D?D.trim().split(Yi):D}ngDoCheck(){for(const j of this.initialClasses)this._updateState(j,!0);const D=this.rawClass;if(Array.isArray(D)||D instanceof Set)for(const j of D)this._updateState(j,!0);else if(null!=D)for(const j of Object.keys(D))this._updateState(j,Boolean(D[j]));this._applyStateDiff()}_updateState(D,j){const pe=this.stateMap.get(D);void 0!==pe?(pe.enabled!==j&&(pe.changed=!0,pe.enabled=j),pe.touched=!0):this.stateMap.set(D,{enabled:j,changed:!0,touched:!0})}_applyStateDiff(){for(const D of this.stateMap){const j=D[0],pe=D[1];pe.changed?(this._toggleClass(j,pe.enabled),pe.changed=!1):pe.touched||(pe.enabled&&this._toggleClass(j,!1),this.stateMap.delete(j)),pe.touched=!1}}_toggleClass(D,j){(D=D.trim()).length>0&&D.split(Yi).forEach(pe=>{j?this._renderer.addClass(this._ngEl.nativeElement,pe):this._renderer.removeClass(this._ngEl.nativeElement,pe)})}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),m})(),tn=(()=>{class m{constructor(D){this._viewContainerRef=D,this.ngComponentOutlet=null}ngOnChanges(D){const{_viewContainerRef:j,ngComponentOutletNgModule:pe,ngComponentOutletNgModuleFactory:Je}=this;if(j.clear(),this._componentRef=void 0,this.ngComponentOutlet){const gt=this.ngComponentOutletInjector||j.parentInjector;(D.ngComponentOutletNgModule||D.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=pe?(0,s.Lck)(pe,In(gt)):Je?Je.create(In(gt)):void 0),this._componentRef=j.createComponent(this.ngComponentOutlet,{index:j.length,injector:gt,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.s_b))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[s.TTD]}),m})();function In(m){return m.get(s.h0i).injector}class Si{constructor(P,D,j,pe){this.$implicit=P,this.ngForOf=D,this.index=j,this.count=pe}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let An=(()=>{class m{set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}constructor(D,j,pe){this._viewContainer=D,this._template=j,this._differs=pe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const j=this._viewContainer;D.forEachOperation((pe,Je,gt)=>{if(null==pe.previousIndex)j.createEmbeddedView(this._template,new Si(pe.item,this._ngForOf,-1,-1),null===gt?void 0:gt);else if(null==gt)j.remove(null===Je?void 0:Je);else if(null!==Je){const $t=j.get(Je);j.move($t,gt),ai($t,pe)}});for(let pe=0,Je=j.length;pe<Je;pe++){const $t=j.get(pe).context;$t.index=pe,$t.count=Je,$t.ngForOf=this._ngForOf}D.forEachIdentityChange(pe=>{ai(j.get(pe.currentIndex),pe)})}static ngTemplateContextGuard(D,j){return!0}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),m})();function ai(m,P){m.context.$implicit=P.item}let ki=(()=>{class m{constructor(D,j){this._viewContainer=D,this._context=new Mo,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=j}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){fn("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){fn("ngIfElse",D),this._elseTemplateRef=D,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(D,j){return!0}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.s_b),s.Y36(s.Rgc))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),m})();class Mo{constructor(){this.$implicit=null,this.ngIf=null}}function fn(m,P){if(P&&!P.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,s.AaK)(P)}'.`)}class so{constructor(P,D){this._viewContainerRef=P,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(P){P&&!this._created?this.create():!P&&this._created&&this.destroy()}}let wr=(()=>{class m{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews.push(D)}_matchCase(D){const j=D==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||j,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),j}_updateDefaultCases(D){if(this._defaultViews.length>0&&D!==this._defaultUsed){this._defaultUsed=D;for(const j of this._defaultViews)j.enforceState(D)}}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275dir=s.lG2({type:m,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),m})(),bi=(()=>{class m{constructor(D,j,pe){this.ngSwitch=pe,pe._addCase(),this._view=new so(D,j)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(wr,9))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),m})(),pr=(()=>{class m{constructor(D,j,pe){pe._addDefault(new so(D,j))}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(wr,9))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngSwitchDefault",""]],standalone:!0}),m})(),Fi=(()=>{class m{constructor(D,j,pe){this._ngEl=D,this._differs=j,this._renderer=pe,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,j){const[pe,Je]=D.split("."),gt=-1===pe.indexOf("-")?void 0:s.JOm.DashCase;null!=j?this._renderer.setStyle(this._ngEl.nativeElement,pe,Je?`${j}${Je}`:j,gt):this._renderer.removeStyle(this._ngEl.nativeElement,pe,gt)}_applyChanges(D){D.forEachRemovedItem(j=>this._setStyle(j.key,null)),D.forEachAddedItem(j=>this._setStyle(j.key,j.currentValue)),D.forEachChangedItem(j=>this._setStyle(j.key,j.currentValue))}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.SBq),s.Y36(s.aQg),s.Y36(s.Qsj))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),m})(),nr=(()=>{class m{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const j=this._viewContainerRef;if(this._viewRef&&j.remove(j.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:pe,ngTemplateOutletContext:Je,ngTemplateOutletInjector:gt}=this;this._viewRef=j.createEmbeddedView(pe,Je,gt?{injector:gt}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.s_b))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.TTD]}),m})();function En(m,P){return new s.vHH(2100,!1)}class zr{createSubscription(P,D){return P.subscribe({next:D,error:j=>{throw j}})}dispose(P){P.unsubscribe()}}class To{createSubscription(P,D){return P.then(D,j=>{throw j})}dispose(P){}}const kr=new To,ir=new zr;let Di=(()=>{class m{constructor(D){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=D}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(D){return this._obj?D!==this._obj?(this._dispose(),this.transform(D)):this._latestValue:(D&&this._subscribe(D),this._latestValue)}_subscribe(D){this._obj=D,this._strategy=this._selectStrategy(D),this._subscription=this._strategy.createSubscription(D,j=>this._updateLatestValue(D,j))}_selectStrategy(D){if((0,s.QGY)(D))return kr;if((0,s.F4k)(D))return ir;throw En()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(D,j){D===this._obj&&(this._latestValue=j,this._ref.markForCheck())}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.sBO,16))},m.\u0275pipe=s.Yjl({name:"async",type:m,pure:!1,standalone:!0}),m})(),li=(()=>{class m{transform(D){if(null==D)return null;if("string"!=typeof D)throw En();return D.toUpperCase()}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275pipe=s.Yjl({name:"uppercase",type:m,pure:!0,standalone:!0}),m})();const So=new s.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),lo=new s.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Li=(()=>{class m{constructor(D,j,pe){this.locale=D,this.defaultTimezone=j,this.defaultOptions=pe}transform(D,j,pe,Je){if(null==D||""===D||D!=D)return null;try{return it(D,j??this.defaultOptions?.dateFormat??"mediumDate",Je||this.locale,pe??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(gt){throw En()}}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.soG,16),s.Y36(So,24),s.Y36(lo,24))},m.\u0275pipe=s.Yjl({name:"date",type:m,pure:!0,standalone:!0}),m})(),Io=(()=>{class m{transform(D){return JSON.stringify(D,null,2)}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275pipe=s.Yjl({name:"json",type:m,pure:!1,standalone:!0}),m})(),co=(()=>{class m{constructor(D){this._locale=D}transform(D,j,pe){if(!Yr(D))return null;pe=pe||this._locale;try{return function gi(m,P,D){return ri(m,hr(et(P,le.Decimal),De(P,st.MinusSign)),P,st.Group,st.Decimal,D)}(mr(D),pe,j)}catch(Je){throw En()}}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.soG,16))},m.\u0275pipe=s.Yjl({name:"number",type:m,pure:!0,standalone:!0}),m})(),Lr=(()=>{class m{constructor(D,j="USD"){this._locale=D,this._defaultCurrencyCode=j}transform(D,j=this._defaultCurrencyCode,pe="symbol",Je,gt){if(!Yr(D))return null;gt=gt||this._locale,"boolean"==typeof pe&&(pe=pe?"symbol":"code");let $t=j||this._defaultCurrencyCode;"code"!==pe&&($t="symbol"===pe||"symbol-narrow"===pe?function Ne(m,P,D="en"){const j=function Kt(m){return(0,s.cg1)(m)[s.wAp.Currencies]}(D)[m]||oe[m]||[],pe=j[1];return"narrow"===P&&"string"==typeof pe?pe:j[0]||m}($t,"symbol"===pe?"wide":"narrow",gt):pe);try{return function Ji(m,P,D,j,pe){const gt=hr(et(P,le.Currency),De(P,st.MinusSign));return gt.minFrac=function de(m){let P;const D=oe[m];return D&&(P=D[2]),"number"==typeof P?P:V}(j),gt.maxFrac=gt.minFrac,ri(m,gt,P,st.CurrencyGroup,st.CurrencyDecimal,pe).replace(qt,D).replace(qt,"").trim()}(mr(D),gt,$t,j,Je)}catch(Sn){throw En()}}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.soG,16),s.Y36(s.EJc,16))},m.\u0275pipe=s.Yjl({name:"currency",type:m,pure:!0,standalone:!0}),m})();function Yr(m){return!(null==m||""===m||m!=m)}function mr(m){if("string"==typeof m&&!isNaN(Number(m)-parseFloat(m)))return Number(m);if("number"!=typeof m)throw new Error(`${m} is not a number`);return m}let Se=(()=>{class m{transform(D,j,pe){if(null==D)return null;if(!this.supports(D))throw En();return D.slice(j,pe)}supports(D){return"string"==typeof D||Array.isArray(D)}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275pipe=s.Yjl({name:"slice",type:m,pure:!1,standalone:!0}),m})(),We=(()=>{class m{}return m.\u0275fac=function(D){return new(D||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({}),m})();const ht="browser",At="server";function Bn(m){return m===ht}function pn(m){return m===At}let Qi=(()=>{class m{}return m.\u0275prov=(0,s.Yz7)({token:m,providedIn:"root",factory:()=>new uo((0,s.LFG)(ee),window)}),m})();class uo{constructor(P,D){this.document=P,this.window=D,this.offset=()=>[0,0]}setOffset(P){this.offset=Array.isArray(P)?()=>P:P}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(P){this.supportsScrolling()&&this.window.scrollTo(P[0],P[1])}scrollToAnchor(P){if(!this.supportsScrolling())return;const D=function Tr(m,P){const D=m.getElementById(P)||m.getElementsByName(P)[0];if(D)return D;if("function"==typeof m.createTreeWalker&&m.body&&(m.body.createShadowRoot||m.body.attachShadow)){const j=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let pe=j.currentNode;for(;pe;){const Je=pe.shadowRoot;if(Je){const gt=Je.getElementById(P)||Je.querySelector(`[name="${P}"]`);if(gt)return gt}pe=j.nextNode()}}return null}(this.document,P);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(P){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=P)}}scrollToElement(P){const D=P.getBoundingClientRect(),j=D.left+this.window.pageXOffset,pe=D.top+this.window.pageYOffset,Je=this.offset();this.window.scrollTo(j-Je[0],pe-Je[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const P=Zr(this.window.history)||Zr(Object.getPrototypeOf(this.window.history));return!(!P||!P.writable&&!P.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Zr(m){return Object.getOwnPropertyDescriptor(m,"scrollRestoration")}class yr{}},80529:(yt,Ee,g)=>{g.d(Ee,{JF:()=>Nn,TP:()=>ft,WM:()=>R,eN:()=>Ye});var s=g(36895),d=g(94650),C=g(39646),$=g(69751),k=g(24351),ee=g(39300),ce=g(54004);class J{}class ne{}class R{constructor(x){this.normalizedNames=new Map,this.lazyUpdate=null,x?this.lazyInit="string"==typeof x?()=>{this.headers=new Map,x.split("\n").forEach(A=>{const ie=A.indexOf(":");if(ie>0){const Ie=A.slice(0,ie),te=Ie.toLowerCase(),re=A.slice(ie+1).trim();this.maybeSetNormalizedName(Ie,te),this.headers.has(te)?this.headers.get(te).push(re):this.headers.set(te,[re])}})}:()=>{this.headers=new Map,Object.keys(x).forEach(A=>{let ie=x[A];const Ie=A.toLowerCase();"string"==typeof ie&&(ie=[ie]),ie.length>0&&(this.headers.set(Ie,ie),this.maybeSetNormalizedName(A,Ie))})}:this.headers=new Map}has(x){return this.init(),this.headers.has(x.toLowerCase())}get(x){this.init();const A=this.headers.get(x.toLowerCase());return A&&A.length>0?A[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(x){return this.init(),this.headers.get(x.toLowerCase())||null}append(x,A){return this.clone({name:x,value:A,op:"a"})}set(x,A){return this.clone({name:x,value:A,op:"s"})}delete(x,A){return this.clone({name:x,value:A,op:"d"})}maybeSetNormalizedName(x,A){this.normalizedNames.has(A)||this.normalizedNames.set(A,x)}init(){this.lazyInit&&(this.lazyInit instanceof R?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(x=>this.applyUpdate(x)),this.lazyUpdate=null))}copyFrom(x){x.init(),Array.from(x.headers.keys()).forEach(A=>{this.headers.set(A,x.headers.get(A)),this.normalizedNames.set(A,x.normalizedNames.get(A))})}clone(x){const A=new R;return A.lazyInit=this.lazyInit&&this.lazyInit instanceof R?this.lazyInit:this,A.lazyUpdate=(this.lazyUpdate||[]).concat([x]),A}applyUpdate(x){const A=x.name.toLowerCase();switch(x.op){case"a":case"s":let ie=x.value;if("string"==typeof ie&&(ie=[ie]),0===ie.length)return;this.maybeSetNormalizedName(x.name,A);const Ie=("a"===x.op?this.headers.get(A):void 0)||[];Ie.push(...ie),this.headers.set(A,Ie);break;case"d":const te=x.value;if(te){let re=this.headers.get(A);if(!re)return;re=re.filter(Ce=>-1===te.indexOf(Ce)),0===re.length?(this.headers.delete(A),this.normalizedNames.delete(A)):this.headers.set(A,re)}else this.headers.delete(A),this.normalizedNames.delete(A)}}forEach(x){this.init(),Array.from(this.normalizedNames.keys()).forEach(A=>x(this.normalizedNames.get(A),this.headers.get(A)))}}class Y{encodeKey(x){return ke(x)}encodeValue(x){return ke(x)}decodeKey(x){return decodeURIComponent(x)}decodeValue(x){return decodeURIComponent(x)}}const be=/%(\d[a-f0-9])/gi,Be={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ke(z){return encodeURIComponent(z).replace(be,(x,A)=>Be[A]??x)}function ye(z){return`${z}`}class je{constructor(x={}){if(this.updates=null,this.cloneFrom=null,this.encoder=x.encoder||new Y,x.fromString){if(x.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ae(z,x){const A=new Map;return z.length>0&&z.replace(/^\?/,"").split("&").forEach(Ie=>{const te=Ie.indexOf("="),[re,Ce]=-1==te?[x.decodeKey(Ie),""]:[x.decodeKey(Ie.slice(0,te)),x.decodeValue(Ie.slice(te+1))],$e=A.get(re)||[];$e.push(Ce),A.set(re,$e)}),A}(x.fromString,this.encoder)}else x.fromObject?(this.map=new Map,Object.keys(x.fromObject).forEach(A=>{const ie=x.fromObject[A],Ie=Array.isArray(ie)?ie.map(ye):[ye(ie)];this.map.set(A,Ie)})):this.map=null}has(x){return this.init(),this.map.has(x)}get(x){this.init();const A=this.map.get(x);return A?A[0]:null}getAll(x){return this.init(),this.map.get(x)||null}keys(){return this.init(),Array.from(this.map.keys())}append(x,A){return this.clone({param:x,value:A,op:"a"})}appendAll(x){const A=[];return Object.keys(x).forEach(ie=>{const Ie=x[ie];Array.isArray(Ie)?Ie.forEach(te=>{A.push({param:ie,value:te,op:"a"})}):A.push({param:ie,value:Ie,op:"a"})}),this.clone(A)}set(x,A){return this.clone({param:x,value:A,op:"s"})}delete(x,A){return this.clone({param:x,value:A,op:"d"})}toString(){return this.init(),this.keys().map(x=>{const A=this.encoder.encodeKey(x);return this.map.get(x).map(ie=>A+"="+this.encoder.encodeValue(ie)).join("&")}).filter(x=>""!==x).join("&")}clone(x){const A=new je({encoder:this.encoder});return A.cloneFrom=this.cloneFrom||this,A.updates=(this.updates||[]).concat(x),A}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(x=>this.map.set(x,this.cloneFrom.map.get(x))),this.updates.forEach(x=>{switch(x.op){case"a":case"s":const A=("a"===x.op?this.map.get(x.param):void 0)||[];A.push(ye(x.value)),this.map.set(x.param,A);break;case"d":if(void 0===x.value){this.map.delete(x.param);break}{let ie=this.map.get(x.param)||[];const Ie=ie.indexOf(ye(x.value));-1!==Ie&&ie.splice(Ie,1),ie.length>0?this.map.set(x.param,ie):this.map.delete(x.param)}}}),this.cloneFrom=this.updates=null)}}class ze{constructor(){this.map=new Map}set(x,A){return this.map.set(x,A),this}get(x){return this.map.has(x)||this.map.set(x,x.defaultValue()),this.map.get(x)}delete(x){return this.map.delete(x),this}has(x){return this.map.has(x)}keys(){return this.map.keys()}}function U(z){return typeof ArrayBuffer<"u"&&z instanceof ArrayBuffer}function se(z){return typeof Blob<"u"&&z instanceof Blob}function q(z){return typeof FormData<"u"&&z instanceof FormData}class le{constructor(x,A,ie,Ie){let te;if(this.url=A,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=x.toUpperCase(),function xe(z){switch(z){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ie?(this.body=void 0!==ie?ie:null,te=Ie):te=ie,te&&(this.reportProgress=!!te.reportProgress,this.withCredentials=!!te.withCredentials,te.responseType&&(this.responseType=te.responseType),te.headers&&(this.headers=te.headers),te.context&&(this.context=te.context),te.params&&(this.params=te.params)),this.headers||(this.headers=new R),this.context||(this.context=new ze),this.params){const re=this.params.toString();if(0===re.length)this.urlWithParams=A;else{const Ce=A.indexOf("?");this.urlWithParams=A+(-1===Ce?"?":Ce<A.length-1?"&":"")+re}}else this.params=new je,this.urlWithParams=A}serializeBody(){return null===this.body?null:U(this.body)||se(this.body)||q(this.body)||function oe(z){return typeof URLSearchParams<"u"&&z instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof je?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||q(this.body)?null:se(this.body)?this.body.type||null:U(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof je?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(x={}){const A=x.method||this.method,ie=x.url||this.url,Ie=x.responseType||this.responseType,te=void 0!==x.body?x.body:this.body,re=void 0!==x.withCredentials?x.withCredentials:this.withCredentials,Ce=void 0!==x.reportProgress?x.reportProgress:this.reportProgress;let $e=x.headers||this.headers,Fe=x.params||this.params;const wt=x.context??this.context;return void 0!==x.setHeaders&&($e=Object.keys(x.setHeaders).reduce((he,L)=>he.set(L,x.setHeaders[L]),$e)),x.setParams&&(Fe=Object.keys(x.setParams).reduce((he,L)=>he.set(L,x.setParams[L]),Fe)),new le(A,ie,te,{params:Fe,headers:$e,context:wt,reportProgress:Ce,responseType:Ie,withCredentials:re})}}var ve=(()=>((ve=ve||{})[ve.Sent=0]="Sent",ve[ve.UploadProgress=1]="UploadProgress",ve[ve.ResponseHeader=2]="ResponseHeader",ve[ve.DownloadProgress=3]="DownloadProgress",ve[ve.Response=4]="Response",ve[ve.User=5]="User",ve))();class Ze{constructor(x,A=200,ie="OK"){this.headers=x.headers||new R,this.status=void 0!==x.status?x.status:A,this.statusText=x.statusText||ie,this.url=x.url||null,this.ok=this.status>=200&&this.status<300}}class Ge extends Ze{constructor(x={}){super(x),this.type=ve.ResponseHeader}clone(x={}){return new Ge({headers:x.headers||this.headers,status:void 0!==x.status?x.status:this.status,statusText:x.statusText||this.statusText,url:x.url||this.url||void 0})}}class bt extends Ze{constructor(x={}){super(x),this.type=ve.Response,this.body=void 0!==x.body?x.body:null}clone(x={}){return new bt({body:void 0!==x.body?x.body:this.body,headers:x.headers||this.headers,status:void 0!==x.status?x.status:this.status,statusText:x.statusText||this.statusText,url:x.url||this.url||void 0})}}class st extends Ze{constructor(x){super(x,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${x.url||"(unknown url)"}`:`Http failure response for ${x.url||"(unknown url)"}: ${x.status} ${x.statusText}`,this.error=x.error||null}}function Oe(z,x){return{body:x,headers:z.headers,context:z.context,observe:z.observe,params:z.params,reportProgress:z.reportProgress,responseType:z.responseType,withCredentials:z.withCredentials}}let Ye=(()=>{class z{constructor(A){this.handler=A}request(A,ie,Ie={}){let te;if(A instanceof le)te=A;else{let $e,Fe;$e=Ie.headers instanceof R?Ie.headers:new R(Ie.headers),Ie.params&&(Fe=Ie.params instanceof je?Ie.params:new je({fromObject:Ie.params})),te=new le(A,ie,void 0!==Ie.body?Ie.body:null,{headers:$e,context:Ie.context,params:Fe,reportProgress:Ie.reportProgress,responseType:Ie.responseType||"json",withCredentials:Ie.withCredentials})}const re=(0,C.of)(te).pipe((0,k.b)($e=>this.handler.handle($e)));if(A instanceof le||"events"===Ie.observe)return re;const Ce=re.pipe((0,ee.h)($e=>$e instanceof bt));switch(Ie.observe||"body"){case"body":switch(te.responseType){case"arraybuffer":return Ce.pipe((0,ce.U)($e=>{if(null!==$e.body&&!($e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return $e.body}));case"blob":return Ce.pipe((0,ce.U)($e=>{if(null!==$e.body&&!($e.body instanceof Blob))throw new Error("Response is not a Blob.");return $e.body}));case"text":return Ce.pipe((0,ce.U)($e=>{if(null!==$e.body&&"string"!=typeof $e.body)throw new Error("Response is not a string.");return $e.body}));default:return Ce.pipe((0,ce.U)($e=>$e.body))}case"response":return Ce;default:throw new Error(`Unreachable: unhandled observe type ${Ie.observe}}`)}}delete(A,ie={}){return this.request("DELETE",A,ie)}get(A,ie={}){return this.request("GET",A,ie)}head(A,ie={}){return this.request("HEAD",A,ie)}jsonp(A,ie){return this.request("JSONP",A,{params:(new je).append(ie,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(A,ie={}){return this.request("OPTIONS",A,ie)}patch(A,ie,Ie={}){return this.request("PATCH",A,Oe(Ie,ie))}post(A,ie,Ie={}){return this.request("POST",A,Oe(Ie,ie))}put(A,ie,Ie={}){return this.request("PUT",A,Oe(Ie,ie))}}return z.\u0275fac=function(A){return new(A||z)(d.LFG(J))},z.\u0275prov=d.Yz7({token:z,factory:z.\u0275fac}),z})();function tt(z,x){return x(z)}function lt(z,x){return(A,ie)=>x.intercept(A,{handle:Ie=>z(Ie,ie)})}const ft=new d.OlP("HTTP_INTERCEPTORS"),ot=new d.OlP("HTTP_INTERCEPTOR_FNS");function fe(){let z=null;return(x,A)=>(null===z&&(z=((0,d.f3M)(ft,{optional:!0})??[]).reduceRight(lt,tt)),z(x,A))}let G=(()=>{class z extends J{constructor(A,ie){super(),this.backend=A,this.injector=ie,this.chain=null}handle(A){if(null===this.chain){const ie=Array.from(new Set(this.injector.get(ot)));this.chain=ie.reduceRight((Ie,te)=>function vt(z,x,A){return(ie,Ie)=>A.runInContext(()=>x(ie,te=>z(te,Ie)))}(Ie,te,this.injector),tt)}return this.chain(A,ie=>this.backend.handle(ie))}}return z.\u0275fac=function(A){return new(A||z)(d.LFG(ne),d.LFG(d.lqb))},z.\u0275prov=d.Yz7({token:z,factory:z.\u0275fac}),z})();const bn=/^\)\]\}',?\n/;let ln=(()=>{class z{constructor(A){this.xhrFactory=A}handle(A){if("JSONP"===A.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new $.y(ie=>{const Ie=this.xhrFactory.build();if(Ie.open(A.method,A.urlWithParams),A.withCredentials&&(Ie.withCredentials=!0),A.headers.forEach((T,I)=>Ie.setRequestHeader(T,I.join(","))),A.headers.has("Accept")||Ie.setRequestHeader("Accept","application/json, text/plain, */*"),!A.headers.has("Content-Type")){const T=A.detectContentTypeHeader();null!==T&&Ie.setRequestHeader("Content-Type",T)}if(A.responseType){const T=A.responseType.toLowerCase();Ie.responseType="json"!==T?T:"text"}const te=A.serializeBody();let re=null;const Ce=()=>{if(null!==re)return re;const T=Ie.statusText||"OK",I=new R(Ie.getAllResponseHeaders()),W=function Pn(z){return"responseURL"in z&&z.responseURL?z.responseURL:/^X-Request-URL:/m.test(z.getAllResponseHeaders())?z.getResponseHeader("X-Request-URL"):null}(Ie)||A.url;return re=new Ge({headers:I,status:Ie.status,statusText:T,url:W}),re},$e=()=>{let{headers:T,status:I,statusText:W,url:ae}=Ce(),He=null;204!==I&&(He=typeof Ie.response>"u"?Ie.responseText:Ie.response),0===I&&(I=He?200:0);let Et=I>=200&&I<300;if("json"===A.responseType&&"string"==typeof He){const qt=He;He=He.replace(bn,"");try{He=""!==He?JSON.parse(He):null}catch(oi){He=qt,Et&&(Et=!1,He={error:oi,text:He})}}Et?(ie.next(new bt({body:He,headers:T,status:I,statusText:W,url:ae||void 0})),ie.complete()):ie.error(new st({error:He,headers:T,status:I,statusText:W,url:ae||void 0}))},Fe=T=>{const{url:I}=Ce(),W=new st({error:T,status:Ie.status||0,statusText:Ie.statusText||"Unknown Error",url:I||void 0});ie.error(W)};let wt=!1;const he=T=>{wt||(ie.next(Ce()),wt=!0);let I={type:ve.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(I.total=T.total),"text"===A.responseType&&Ie.responseText&&(I.partialText=Ie.responseText),ie.next(I)},L=T=>{let I={type:ve.UploadProgress,loaded:T.loaded};T.lengthComputable&&(I.total=T.total),ie.next(I)};return Ie.addEventListener("load",$e),Ie.addEventListener("error",Fe),Ie.addEventListener("timeout",Fe),Ie.addEventListener("abort",Fe),A.reportProgress&&(Ie.addEventListener("progress",he),null!==te&&Ie.upload&&Ie.upload.addEventListener("progress",L)),Ie.send(te),ie.next({type:ve.Sent}),()=>{Ie.removeEventListener("error",Fe),Ie.removeEventListener("abort",Fe),Ie.removeEventListener("load",$e),Ie.removeEventListener("timeout",Fe),A.reportProgress&&(Ie.removeEventListener("progress",he),null!==te&&Ie.upload&&Ie.upload.removeEventListener("progress",L)),Ie.readyState!==Ie.DONE&&Ie.abort()}})}}return z.\u0275fac=function(A){return new(A||z)(d.LFG(s.JF))},z.\u0275prov=d.Yz7({token:z,factory:z.\u0275fac}),z})();const yn=new d.OlP("XSRF_ENABLED"),V=new d.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Te=new d.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Qe{}let ct=(()=>{class z{constructor(A,ie,Ie){this.doc=A,this.platform=ie,this.cookieName=Ie,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const A=this.doc.cookie||"";return A!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,s.Mx)(A,this.cookieName),this.lastCookieString=A),this.lastToken}}return z.\u0275fac=function(A){return new(A||z)(d.LFG(s.K0),d.LFG(d.Lbi),d.LFG(V))},z.\u0275prov=d.Yz7({token:z,factory:z.\u0275fac}),z})();function at(z,x){const A=z.url.toLowerCase();if(!(0,d.f3M)(yn)||"GET"===z.method||"HEAD"===z.method||A.startsWith("http://")||A.startsWith("https://"))return x(z);const ie=(0,d.f3M)(Qe).getToken(),Ie=(0,d.f3M)(Te);return null!=ie&&!z.headers.has(Ie)&&(z=z.clone({headers:z.headers.set(Ie,ie)})),x(z)}var _e=(()=>((_e=_e||{})[_e.Interceptors=0]="Interceptors",_e[_e.LegacyInterceptors=1]="LegacyInterceptors",_e[_e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",_e[_e.NoXsrfProtection=3]="NoXsrfProtection",_e[_e.JsonpSupport=4]="JsonpSupport",_e[_e.RequestsMadeViaParent=5]="RequestsMadeViaParent",_e))();function it(z,x){return{\u0275kind:z,\u0275providers:x}}function ge(...z){const x=[Ye,ln,G,{provide:J,useExisting:G},{provide:ne,useExisting:ln},{provide:ot,useValue:at,multi:!0},{provide:yn,useValue:!0},{provide:Qe,useClass:ct}];for(const A of z)x.push(...A.\u0275providers);return(0,d.MR2)(x)}const mt=new d.OlP("LEGACY_INTERCEPTOR_FN");let Nn=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=d.oAB({type:z}),z.\u0275inj=d.cJS({providers:[ge(it(_e.LegacyInterceptors,[{provide:mt,useFactory:fe},{provide:ot,useExisting:mt,multi:!0}]))]}),z})()},94650:(yt,Ee,g)=>{g.d(Ee,{$8M:()=>_i,$WT:()=>er,$Z:()=>bh,AFp:()=>Sg,ALo:()=>zp,AaK:()=>J,Akn:()=>ts,AsE:()=>cu,BQk:()=>El,CHM:()=>ls,CRH:()=>rg,CZH:()=>Ll,CqO:()=>tf,D6c:()=>kb,DdM:()=>Pp,Dn7:()=>Kp,EJc:()=>ZD,EiD:()=>Ld,EpF:()=>Jh,F$t:()=>lf,F4k:()=>ef,FYo:()=>Xd,FiY:()=>b,G48:()=>mb,G7q:()=>Zp,Gf:()=>ng,GfV:()=>qd,GkF:()=>Zc,Gpc:()=>Z,Gre:()=>Lf,HOy:()=>du,HTZ:()=>Np,Hsn:()=>cf,Ikx:()=>hu,JOm:()=>_s,JVY:()=>Ym,JZr:()=>ke,Jf7:()=>eh,KtG:()=>Cs,L6k:()=>Zm,LAX:()=>Xm,LFG:()=>It,LSH:()=>fc,Lbi:()=>WD,Lck:()=>J0,MAs:()=>qh,MGl:()=>Cl,MMx:()=>Eu,MR2:()=>f_,MT6:()=>Nf,NdJ:()=>Xc,O4$:()=>ds,OlP:()=>Vn,Oqu:()=>lu,P3R:()=>Ud,PXZ:()=>ub,Q6J:()=>Gc,QGY:()=>Qc,QbO:()=>GD,Qsj:()=>I_,R0b:()=>Uo,RDi:()=>Hm,Rgc:()=>Xa,SBq:()=>Na,Sil:()=>XD,Suo:()=>ig,TTD:()=>Qi,TgZ:()=>vl,Tol:()=>Cf,Udp:()=>ou,VKq:()=>xp,W1O:()=>lg,WFA:()=>qc,WLB:()=>Rp,X6Q:()=>gb,XFs:()=>Ne,Xpm:()=>qt,Xts:()=>pc,Y36:()=>ha,YKP:()=>Ep,YNc:()=>Xh,Yjl:()=>ji,Yz7:()=>De,Z0I:()=>Lt,ZZ4:()=>Ku,_Bn:()=>bp,_UZ:()=>Yc,_Vd:()=>La,_c5:()=>xb,_uU:()=>Of,aQg:()=>Yu,c2e:()=>KD,cJS:()=>Mt,cQ8:()=>tu,cg1:()=>pu,d8E:()=>fu,dDg:()=>sb,dqk:()=>at,eBb:()=>Qm,eFA:()=>jg,eJc:()=>Pu,ekj:()=>su,eoX:()=>Lg,evT:()=>th,f3M:()=>z,g9A:()=>Ag,gM2:()=>Yp,h0i:()=>Ta,hGG:()=>Rb,hYB:()=>eu,hij:()=>Tl,iGM:()=>tg,ifc:()=>Fe,ip1:()=>Tg,jDz:()=>wp,kEZ:()=>kp,kL8:()=>Kf,kcU:()=>Xo,l5B:()=>Fp,lG2:()=>fr,lcZ:()=>Wp,lnq:()=>uu,lqb:()=>Zs,lri:()=>kg,mCW:()=>sl,n5z:()=>rn,n_E:()=>Pl,oAB:()=>yi,oJD:()=>Nd,oxw:()=>af,pB0:()=>qm,q3G:()=>Gi,q4F:()=>Jd,qLn:()=>Ba,qOj:()=>Vc,qZA:()=>Dl,qbA:()=>Lp,qzn:()=>aa,rFY:()=>Bp,rWj:()=>Fg,s9C:()=>Jc,sBO:()=>_b,s_b:()=>Rl,soG:()=>Nl,tBr:()=>Aa,tb:()=>Bg,tp0:()=>N,uIk:()=>Wc,vHH:()=>ye,vpe:()=>bs,wAp:()=>an,xi3:()=>Gp,xp6:()=>lh,ynx:()=>bl,z2F:()=>Bl,z3N:()=>xs,zSh:()=>yc,zs3:()=>Qs});var s=g(77579),d=g(50727),C=g(69751),$=g(56451),k=g(13099);function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function ce(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function J(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(J).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 ne(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const R=ee({__forward_ref__:ee});function Z(e){return e.__forward_ref__=Z,e.toString=function(){return J(this())},e}function Y(e){return Ae(e)?e():e}function Ae(e){return"function"==typeof e&&e.hasOwnProperty(R)&&e.__forward_ref__===Z}function be(e){return e&&!!e.\u0275providers}const ke="https://g.co/ng/security#xss";class ye extends Error{constructor(t,n){super(je(t,n)),this.code=t}}function je(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function Ke(e){return"string"==typeof e?e:null==e?"":String(e)}function q(e,t){throw new ye(-201,!1)}function ot(e,t){null==e&&function fe(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function De(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Mt(e){return{providers:e.providers||[],imports:e.imports||[]}}function xt(e){return Kt(e,bn)||Kt(e,ln)}function Lt(e){return null!==xt(e)}function Kt(e,t){return e.hasOwnProperty(t)?e[t]:null}function zt(e){return e&&(e.hasOwnProperty(Pn)||e.hasOwnProperty(yn))?e[Pn]:null}const bn=ee({\u0275prov:ee}),Pn=ee({\u0275inj:ee}),ln=ee({ngInjectableDef:ee}),yn=ee({ngInjectorDef:ee});var Ne=(()=>((Ne=Ne||{})[Ne.Default=0]="Default",Ne[Ne.Host=1]="Host",Ne[Ne.Self=2]="Self",Ne[Ne.SkipSelf=4]="SkipSelf",Ne[Ne.Optional=8]="Optional",Ne))();let V;function Te(e){const t=V;return V=e,t}function Qe(e,t,n){const i=xt(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Ne.Optional?null:void 0!==t?t:void q(J(e))}const at=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ge={},Le="__NG_DI_FLAG__",mt="ngTempTokenPath",St="ngTokenPath",Ht=/\n/gm,Ot="\u0275",nn="__source";let jt;function xn(e){const t=jt;return jt=e,t}function Nn(e,t=Ne.Default){if(void 0===jt)throw new ye(-203,!1);return null===jt?Qe(e,void 0,t):jt.get(e,t&Ne.Optional?null:void 0,t)}function It(e,t=Ne.Default){return(function de(){return V}()||Nn)(Y(e),t)}function z(e,t=Ne.Default){return It(e,x(t))}function x(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function A(e){const t=[];for(let n=0;n<e.length;n++){const i=Y(e[n]);if(Array.isArray(i)){if(0===i.length)throw new ye(900,!1);let r,o=Ne.Default;for(let u=0;u<i.length;u++){const p=i[u],v=Ie(p);"number"==typeof v?-1===v?r=p.token:o|=v:r=p}t.push(It(r,o))}else t.push(It(i))}return t}function ie(e,t){return e[Le]=t,e.prototype[Le]=t,e}function Ie(e){return e[Le]}function Ce(e){return{toString:e}.toString()}var $e=(()=>(($e=$e||{})[$e.OnPush=0]="OnPush",$e[$e.Default=1]="Default",$e))(),Fe=(()=>{return(e=Fe||(Fe={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Fe;var e})();const wt={},he=[],L=ee({\u0275cmp:ee}),T=ee({\u0275dir:ee}),I=ee({\u0275pipe:ee}),W=ee({\u0275mod:ee}),ae=ee({\u0275fac:ee}),He=ee({__NG_ELEMENT_ID__:ee});let Et=0;function qt(e){return Ce(()=>{const t=Wn(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===$e.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||Fe.Emulated,id:"c"+Et++,styles:e.styles||he,_:null,schemas:e.schemas||null,tView:null};Cr(n);const i=e.dependencies;return n.directiveDefs=Yi(i,!1),n.pipeDefs=Yi(i,!0),n})}function ri(e){return wn(e)||Xn(e)}function Ji(e){return null!==e}function yi(e){return Ce(()=>({type:e.type,bootstrap:e.bootstrap||he,declarations:e.declarations||he,imports:e.imports||he,exports:e.exports||he,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hr(e,t){if(null==e)return wt;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 fr(e){return Ce(()=>{const t=Wn(e);return Cr(t),t})}function ji(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 wn(e){return e[L]||null}function Xn(e){return e[T]||null}function si(e){return e[I]||null}function er(e){const t=wn(e)||Xn(e)||si(e);return null!==t&&t.standalone}function vi(e,t){const n=e[W]||null;if(!n&&!0===t)throw new Error(`Type ${J(e)} does not have '\u0275mod' property.`);return n}function Wn(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,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||he,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hr(e.inputs,t),outputs:hr(e.outputs)}}function Cr(e){e.features?.forEach(t=>t(e))}function Yi(e,t){if(!e)return null;const n=t?si:ri;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(Ji)}const Ri=0,kt=1,tn=2,In=3,Kn=4,Si=5,An=6,ai=7,Rn=8,ki=9,Mo=10,fn=11,so=12,wr=13,bi=14,pr=15,di=16,Zi=17,Mr=18,Fi=19,nr=20,ao=21,En=22,To=1,kr=2,ir=7,Di=8,rr=9,hi=10;function li(e){return Array.isArray(e)&&"object"==typeof e[To]}function Ii(e){return Array.isArray(e)&&!0===e[To]}function So(e){return 0!=(4&e.flags)}function lo(e){return e.componentOffset>-1}function Li(e){return 1==(1&e.flags)}function Ni(e){return!!e.template}function Fr(e){return 0!=(256&e[tn])}function kn(e,t){return e.hasOwnProperty(ae)?e[ae]:null}class fi{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Qi(){return uo}function uo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Tr),Zr}function Zr(){const e=yr(this),t=e?.current;if(t){const n=e.previous;if(n===wt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Tr(e,t,n,i){const r=this.declaredInputs[n],o=yr(e)||function Qr(e,t){return e[or]=t}(e,{previous:wt,current:null}),u=o.current||(o.current={}),p=o.previous,v=p[r];u[r]=new fi(v&&v.currentValue,t,p===wt),e[i]=t}Qi.ngInherit=!0;const or="__ngSimpleChanges__";function yr(e){return e[or]||null}const gn=function(e,t,n){},qn="svg";function Mn(e){for(;Array.isArray(e);)e=e[Ri];return e}function Ir(e,t){return Mn(t[e])}function Ei(e,t){return Mn(t[e.index])}function Ho(e,t){return e.data[t]}function vr(e,t){return e[t]}function Jn(e,t){const n=t[e];return li(n)?n:n[Ri]}function Ao(e){return 64==(64&e[tn])}function Hi(e,t){return null==t?null:e[t]}function Dr(e){e[Mr]=0}function Vo(e,t){e[Si]+=t;let n=e,i=e[In];for(;null!==i&&(1===t&&1===n[Si]||-1===t&&0===n[Si]);)i[Si]+=t,n=i,i=i[In]}const Qt={lFrame:Bs(null),bindingsEnabled:!0};function zo(){return Qt.bindingsEnabled}function Dt(){return Qt.lFrame.lView}function On(){return Qt.lFrame.tView}function ls(e){return Qt.lFrame.contextLView=e,e[Rn]}function Cs(e){return Qt.lFrame.contextLView=null,e}function mi(){let e=ws();for(;null!==e&&64===e.type;)e=e.parent;return e}function ws(){return Qt.lFrame.currentTNode}function Vi(e,t){const n=Qt.lFrame;n.currentTNode=e,n.isParent=t}function Go(){return Qt.lFrame.isParent}function xo(){Qt.lFrame.isParent=!1}function ei(){const e=Qt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ai(){return Qt.lFrame.bindingIndex}function Jr(){return Qt.lFrame.bindingIndex++}function sr(e){const t=Qt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Fo(e,t){const n=Qt.lFrame;n.bindingIndex=n.bindingRootIndex=e,eo(t)}function eo(e){Qt.lFrame.currentDirectiveIndex=e}function po(e){const t=Qt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function to(){return Qt.lFrame.currentQueryIndex}function go(e){Qt.lFrame.currentQueryIndex=e}function Lo(e){const t=e[kt];return 2===t.type?t.declTNode:1===t.type?e[An]:null}function mo(e,t,n){if(n&Ne.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&Ne.Host||(r=Lo(o),null===r||(o=o[pr],10&r.type))););if(null===r)return!1;t=r,e=o}const i=Qt.lFrame=Ns();return i.currentTNode=t,i.lView=e,!0}function Ko(e){const t=Ns(),n=e[kt];Qt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ns(){const e=Qt.lFrame,t=null===e?null:e.child;return null===t?Bs(e):t}function Bs(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 Yo(){const e=Qt.lFrame;return Qt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Us=Yo;function Zo(){const e=Yo();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 Oi(){return Qt.lFrame.selectedIndex}function no(e){Qt.lFrame.selectedIndex=e}function ti(){const e=Qt.lFrame;return Ho(e.tView,e.selectedIndex)}function ds(){Qt.lFrame.currentNamespace=qn}function Xo(){!function Ur(){Qt.lFrame.currentNamespace=null}()}function _o(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:p,ngAfterViewInit:v,ngAfterViewChecked:O,ngOnDestroy:H}=o;u&&(e.contentHooks||(e.contentHooks=[])).push(-n,u),p&&((e.contentHooks||(e.contentHooks=[])).push(n,p),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,p)),v&&(e.viewHooks||(e.viewHooks=[])).push(-n,v),O&&((e.viewHooks||(e.viewHooks=[])).push(n,O),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,O)),null!=H&&(e.destroyHooks||(e.destroyHooks=[])).push(n,H)}}function yo(e,t,n){D(e,t,3,n)}function m(e,t,n,i){(3&e[tn])===n&&D(e,t,n,i)}function P(e,t){let n=e[tn];(3&n)===t&&(n&=2047,n+=1,e[tn]=n)}function D(e,t,n,i){const o=i??-1,u=t.length-1;let p=0;for(let v=void 0!==i?65535&e[Mr]:0;v<u;v++)if("number"==typeof t[v+1]){if(p=t[v],null!=i&&p>=i)break}else t[v]<0&&(e[Mr]+=65536),(p<o||-1==o)&&(j(e,n,t,v),e[Mr]=(4294901760&e[Mr])+v+2),v++}function j(e,t,n,i){const r=n[i]<0,o=n[i+1],p=e[r?-n[i]:n[i]];if(r){if(e[tn]>>11<e[Mr]>>16&&(3&e[tn])===t){e[tn]+=2048,gn(4,p,o);try{o.call(p)}finally{gn(5,p,o)}}}else{gn(4,p,o);try{o.call(p)}finally{gn(5,p,o)}}}const pe=-1;class Je{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function ii(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++],u=n[i++],p=n[i++];e.setAttribute(t,u,p,o)}else{const o=r,u=n[++i];wi(o)?e.setProperty(t,o,u):e.setAttribute(t,o,u),i++}}return i}function Xi(e){return 3===e||4===e||6===e}function wi(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||ar(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function ar(e,t,n,i,r){let o=0,u=e.length;if(-1===t)u=-1;else for(;o<e.length;){const p=e[o++];if("number"==typeof p){if(p===t){u=-1;break}if(p>t){u=o-1;break}}}for(;o<e.length;){const p=e[o];if("number"==typeof p)break;if(p===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!==u&&(e.splice(u,0,t),o=u+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}function vo(e){return e!==pe}function Ar(e){return 32767&e}function No(e,t){let n=function ps(e){return e>>16}(e),i=t;for(;n>0;)i=i[pr],n--;return i}let Ss=!0;function jr(e){const t=Ss;return Ss=e,t}const gs=255,br=5;let Is=0;const Or={};function Do(e,t){const n=Os(e,t);if(-1!==n)return n;const i=t[kt];i.firstCreatePass&&(e.injectorIndex=t.length,Pi(i.data,e),Pi(t,null),Pi(i.blueprint,null));const r=E(e,t),o=e.injectorIndex;if(vo(r)){const u=Ar(r),p=No(r,t),v=p[kt].data;for(let O=0;O<8;O++)t[o+O]=p[u+O]|v[u+O]}return t[o+8]=r,o}function Pi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Os(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function E(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=Mi(r),null===i)return pe;if(n++,r=r[pr],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return pe}function l(e,t,n){!function As(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(He)&&(i=n[He]),null==i&&(i=n[He]=Is++);const r=i&gs;t.data[e+(r>>br)]|=1<<r}(e,t,n)}function y(e,t,n){if(n&Ne.Optional||void 0!==e)return e;q()}function F(e,t,n,i){if(n&Ne.Optional&&void 0===i&&(i=null),!(n&(Ne.Self|Ne.Host))){const r=e[ki],o=Te(void 0);try{return r?r.get(t,i,n&Ne.Optional):Qe(t,i,n&Ne.Optional)}finally{Te(o)}}return y(i,0,n)}function Q(e,t,n,i=Ne.Default,r){if(null!==e){if(1024&t[tn]){const u=function Zn(e,t,n,i,r){let o=e,u=t;for(;null!==o&&null!==u&&1024&u[tn]&&!(256&u[tn]);){const p=we(o,u,n,i|Ne.Self,Or);if(p!==Or)return p;let v=o.parent;if(!v){const O=u[ao];if(O){const H=O.get(n,Or,i);if(H!==Or)return H}v=Mi(u),u=u[pr]}o=v}return r}(e,t,n,i,Or);if(u!==Or)return u}const o=we(e,t,n,i,Or);if(o!==Or)return o}return F(t,n,i,r)}function we(e,t,n,i,r){const o=function Nt(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(He)?e[He]:void 0;return"number"==typeof t?t>=0?t&gs:Xt:t}(n);if("function"==typeof o){if(!mo(t,e,i))return i&Ne.Host?y(r,0,i):F(t,n,i,r);try{const u=o(i);if(null!=u||i&Ne.Optional)return u;q()}finally{Us()}}else if("number"==typeof o){let u=null,p=Os(e,t),v=pe,O=i&Ne.Host?t[di][An]:null;for((-1===p||i&Ne.SkipSelf)&&(v=-1===p?E(e,t):t[p+8],v!==pe&&vn(i,!1)?(u=t[kt],p=Ar(v),t=No(v,t)):p=-1);-1!==p;){const H=t[kt];if(Rt(o,p,H.data)){const ue=Me(p,t,n,u,i,O);if(ue!==Or)return ue}v=t[p+8],v!==pe&&vn(i,t[kt].data[p+8]===O)&&Rt(o,p,t)?(u=H,p=Ar(v),t=No(v,t)):p=-1}}return r}function Me(e,t,n,i,r,o){const u=t[kt],p=u.data[e+8],H=Xe(p,u,n,null==i?lo(p)&&Ss:i!=u&&0!=(3&p.type),r&Ne.Host&&o===p);return null!==H?rt(t,u,H,p):Or}function Xe(e,t,n,i,r){const o=e.providerIndexes,u=t.data,p=1048575&o,v=e.directiveStart,H=o>>20,Re=r?p+H:e.directiveEnd;for(let qe=i?p:p+H;qe<Re;qe++){const _t=u[qe];if(qe<v&&n===_t||qe>=v&&_t.type===n)return qe}if(r){const qe=u[v];if(qe&&Ni(qe)&&qe.type===n)return v}return null}function rt(e,t,n,i){let r=e[n];const o=t.data;if(function gt(e){return e instanceof Je}(r)){const u=r;u.resolving&&function xe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ye(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ze(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ke(e)}(o[n]));const p=jr(u.canSeeViewProviders);u.resolving=!0;const v=u.injectImpl?Te(u.injectImpl):null;mo(e,i,Ne.Default);try{r=e[n]=u.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function fs(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const u=uo(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==v&&Te(v),jr(p),u.resolving=!1,Us()}}return r}function Rt(e,t,n){return!!(n[t+(e>>br)]&1<<e)}function vn(e,t){return!(e&Ne.Self||e&Ne.Host&&t)}class cn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Q(this._tNode,this._lView,t,x(i),n)}}function Xt(){return new cn(mi(),Dt())}function rn(e){return Ce(()=>{const t=e.prototype.constructor,n=t[ae]||Hn(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[ae]||Hn(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Hn(e){return Ae(e)?()=>{const t=Hn(Y(e));return t&&t()}:kn(e)}function Mi(e){const t=e[kt],n=t.type;return 2===n?t.declTNode:1===n?e[An]:null}function _i(e){return function a(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(Xi(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}(mi(),e)}const lr="__parameters__";function Wi(e,t,n){return Ce(()=>{const i=function Pr(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 u=new r(...o);return p.annotation=u,p;function p(v,O,H){const ue=v.hasOwnProperty(lr)?v[lr]:Object.defineProperty(v,lr,{value:[]})[lr];for(;ue.length<=H;)ue.push(null);return(ue[H]=ue[H]||[]).push(u),v}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class Vn{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=De({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function h(e,t){e.forEach(n=>Array.isArray(n)?h(n,t):t(n))}function f(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function c(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function dt(e,t,n){let i=Bt(e,t);return i>=0?e[1|i]=n:(i=~i,function X(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 Ft(e,t){const n=Bt(e,t);if(n>=0)return e[1|n]}function Bt(e,t){return function xi(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const o=i+(r-i>>1),u=e[o<<n];if(t===u)return o<<n;u>t?r=o:i=o+1}return~(r<<n)}(e,t,1)}const Aa=ie(Wi("Inject",e=>({token:e})),-1),b=ie(Wi("Optional"),8),N=ie(Wi("SkipSelf"),4);var _s=(()=>((_s=_s||{})[_s.Important=1]="Important",_s[_s.DashCase=2]="DashCase",_s))();const Gl=new Map;let um=0;const Yl="__ngContext__";function xr(e,t){li(t)?(e[Yl]=t[nr],function hm(e){Gl.set(e[nr],e)}(t)):e[Yl]=t}let Zl;function Ql(e,t){return Zl(e,t)}function xa(e){const t=e[In];return Ii(t)?t[In]:t}function Xl(e){return ud(e[wr])}function ql(e){return ud(e[Kn])}function ud(e){for(;null!==e&&!Ii(e);)e=e[Kn];return e}function oa(e,t,n,i,r){if(null!=i){let o,u=!1;Ii(i)?o=i:li(i)&&(u=!0,i=i[Ri]);const p=Mn(i);0===e&&null!==n?null==r?md(t,n,p):Gs(t,n,p,r||null,!0):1===e&&null!==n?Gs(t,n,p,r||null,!0):2===e?function oc(e,t,n){const i=tl(e,t);i&&function xm(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,p,u):3===e&&t.destroyNode(p),null!=o&&function Fm(e,t,n,i,r){const o=n[ir];o!==Mn(n)&&oa(t,e,i,o,r);for(let p=hi;p<n.length;p++){const v=n[p];Ra(v[kt],v,e,t,i,o)}}(t,e,o,n,r)}}function ec(e,t,n){return e.createElement(t,n)}function hd(e,t){const n=e[rr],i=n.indexOf(t),r=t[In];512&t[tn]&&(t[tn]&=-513,Vo(r,-1)),n.splice(i,1)}function tc(e,t){if(e.length<=hi)return;const n=hi+t,i=e[n];if(i){const r=i[Zi];null!==r&&r!==e&&hd(r,i),t>0&&(e[n-1][Kn]=i[Kn]);const o=c(e,hi+t);!function wm(e,t){Ra(e,t,t[fn],2,null,null),t[Ri]=null,t[An]=null}(i[kt],i);const u=o[Fi];null!==u&&u.detachView(o[kt]),i[In]=null,i[Kn]=null,i[tn]&=-65}return i}function fd(e,t){if(!(128&t[tn])){const n=t[fn];n.destroyNode&&Ra(e,t,n,3,null,null),function Sm(e){let t=e[wr];if(!t)return nc(e[kt],e);for(;t;){let n=null;if(li(t))n=t[wr];else{const i=t[hi];i&&(n=i)}if(!n){for(;t&&!t[Kn]&&t!==e;)li(t)&&nc(t[kt],t),t=t[In];null===t&&(t=e),li(t)&&nc(t[kt],t),n=t&&t[Kn]}t=n}}(t)}}function nc(e,t){if(!(128&t[tn])){t[tn]&=-65,t[tn]|=128,function Pm(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 Je)){const o=n[i+1];if(Array.isArray(o))for(let u=0;u<o.length;u+=2){const p=r[o[u]],v=o[u+1];gn(4,p,v);try{v.call(p)}finally{gn(5,p,v)}}else{gn(4,r,o);try{o.call(r)}finally{gn(5,r,o)}}}}}(e,t),function Om(e,t){const n=e.cleanup,i=t[ai];let r=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const u=n[o+3];u>=0?i[r=u]():i[r=-u].unsubscribe(),o+=2}else{const u=i[r=n[o+1]];n[o].call(u)}if(null!==i){for(let o=r+1;o<i.length;o++)(0,i[o])();t[ai]=null}}(e,t),1===t[kt].type&&t[fn].destroy();const n=t[Zi];if(null!==n&&Ii(t[In])){n!==t[In]&&hd(n,t);const i=t[Fi];null!==i&&i.detachView(e)}!function fm(e){Gl.delete(e[nr])}(t)}}function pd(e,t,n){return function gd(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[Ri];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Fe.None||o===Fe.Emulated)return null}return Ei(i,n)}}(e,t.parent,n)}function Gs(e,t,n,i,r){e.insertBefore(t,n,i,r)}function md(e,t,n){e.appendChild(t,n)}function _d(e,t,n,i,r){null!==i?Gs(e,t,n,i,r):md(e,t,n)}function tl(e,t){return e.parentNode(t)}function yd(e,t,n){return Dd(e,t,n)}let ic,rl,lc,ol,Dd=function vd(e,t,n){return 40&e.type?Ei(e,n):null};function nl(e,t,n,i){const r=pd(e,i,t),o=t[fn],p=yd(i.parent||t[An],i,t);if(null!=r)if(Array.isArray(n))for(let v=0;v<n.length;v++)_d(o,r,n[v],p,!1);else _d(o,r,n,p,!1);void 0!==ic&&ic(o,i,t,n,r)}function il(e,t){if(null!==t){const n=t.type;if(3&n)return Ei(t,e);if(4&n)return rc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return il(e,i);{const r=e[t.index];return Ii(r)?rc(-1,r):Mn(r)}}if(32&n)return Ql(t,e)()||Mn(e[t.index]);{const i=Ed(e,t);return null!==i?Array.isArray(i)?i[0]:il(xa(e[di]),i):il(e,t.next)}}return null}function Ed(e,t){return null!==t?e[di][An].projection[t.projection]:null}function rc(e,t){const n=hi+e+1;if(n<t.length){const i=t[n],r=i[kt].firstChild;if(null!==r)return il(i,r)}return t[ir]}function sc(e,t,n,i,r,o,u){for(;null!=n;){const p=i[n.index],v=n.type;if(u&&0===t&&(p&&xr(Mn(p),i),n.flags|=2),32!=(32&n.flags))if(8&v)sc(e,t,n.child,i,r,o,!1),oa(t,e,r,p,o);else if(32&v){const O=Ql(n,i);let H;for(;H=O();)oa(t,e,r,H,o);oa(t,e,r,p,o)}else 16&v?Cd(e,t,i,n,r,o):oa(t,e,r,p,o);n=u?n.projectionNext:n.next}}function Ra(e,t,n,i,r,o){sc(n,i,e.firstChild,t,r,o,!1)}function Cd(e,t,n,i,r,o){const u=n[di],v=u[An].projection[i.projection];if(Array.isArray(v))for(let O=0;O<v.length;O++)oa(t,e,r,v[O],o);else sc(e,t,v,u[In],r,o,!0)}function wd(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Md(e,t,n){const{mergedAttrs:i,classes:r,styles:o}=n;null!==i&&ii(e,t,i),null!==r&&wd(e,t,r),null!==o&&function Nm(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function sa(e){return function ac(){if(void 0===rl&&(rl=null,at.trustedTypes))try{rl=at.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rl}()?.createHTML(e)||e}function Hm(e){lc=e}function cc(){if(void 0===ol&&(ol=null,at.trustedTypes))try{ol=at.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ol}function Sd(e){return cc()?.createHTML(e)||e}function Ad(e){return cc()?.createScriptURL(e)||e}class Ks{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ke})`}}class Vm extends Ks{getTypeName(){return"HTML"}}class $m extends Ks{getTypeName(){return"Style"}}class zm extends Ks{getTypeName(){return"Script"}}class Wm extends Ks{getTypeName(){return"URL"}}class Gm extends Ks{getTypeName(){return"ResourceURL"}}function xs(e){return e instanceof Ks?e.changingThisBreaksApplicationSecurity:e}function aa(e,t){const n=function Km(e){return e instanceof Ks&&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 ${ke})`)}return n===t}function Ym(e){return new Vm(e)}function Zm(e){return new $m(e)}function Qm(e){return new zm(e)}function Xm(e){return new Wm(e)}function qm(e){return new Gm(e)}class Jm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(sa(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class e_{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=sa(t),n}}const n_=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function sl(e){return(e=String(e)).match(n_)?e:"unsafe:"+e}function Rs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ka(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Pd=Rs("area,br,col,hr,img,wbr"),xd=Rs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rd=Rs("rp,rt"),uc=ka(Pd,ka(xd,Rs("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")),ka(Rd,Rs("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")),ka(Rd,xd)),dc=Rs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),kd=ka(dc,Rs("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"),Rs("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")),i_=Rs("script,style,template");class r_{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(!uc.hasOwnProperty(n))return this.sanitizedSomething=!0,!i_.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),u=o.name,p=u.toLowerCase();if(!kd.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let v=o.value;dc[p]&&(v=sl(v)),this.buf.push(" ",u,'="',Fd(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();uc.hasOwnProperty(n)&&!Pd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Fd(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 o_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s_=/([^\#-~ |!])/g;function Fd(e){return e.replace(/&/g,"&").replace(o_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(s_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let al;function Ld(e,t){let n=null;try{al=al||function Od(e){const t=new e_(e);return function t_(){try{return!!(new window.DOMParser).parseFromString(sa(""),"text/html")}catch{return!1}}()?new Jm(t):t}(e);let i=t?String(t):"";n=al.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=al.getInertBodyElement(i)}while(i!==o);return sa((new r_).sanitizeChildren(hc(n)||n))}finally{if(n){const i=hc(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function hc(e){return"content"in e&&function a_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Gi=(()=>((Gi=Gi||{})[Gi.NONE=0]="NONE",Gi[Gi.HTML=1]="HTML",Gi[Gi.STYLE=2]="STYLE",Gi[Gi.SCRIPT=3]="SCRIPT",Gi[Gi.URL=4]="URL",Gi[Gi.RESOURCE_URL=5]="RESOURCE_URL",Gi))();function Nd(e){const t=Fa();return t?Sd(t.sanitize(Gi.HTML,e)||""):aa(e,"HTML")?Sd(xs(e)):Ld(function Td(){return void 0!==lc?lc:typeof document<"u"?document:void 0}(),Ke(e))}function fc(e){const t=Fa();return t?t.sanitize(Gi.URL,e)||"":aa(e,"URL")?xs(e):sl(Ke(e))}function Bd(e){const t=Fa();if(t)return Ad(t.sanitize(Gi.RESOURCE_URL,e)||"");if(aa(e,"ResourceURL"))return Ad(xs(e));throw new ye(904,!1)}function Ud(e,t,n){return function h_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Bd:fc}(t,n)(e)}function Fa(){const e=Dt();return e&&e[so]}const pc=new Vn("ENVIRONMENT_INITIALIZER"),jd=new Vn("INJECTOR",-1),Hd=new Vn("INJECTOR_DEF_TYPES");class Vd{get(t,n=ge){if(n===ge){const i=new Error(`NullInjectorError: No provider for ${J(t)}!`);throw i.name="NullInjectorError",i}return n}}function f_(e){return{\u0275providers:e}}function p_(...e){return{\u0275providers:$d(0,e),\u0275fromNgModule:!0}}function $d(e,...t){const n=[],i=new Set;let r;return h(t,o=>{const u=o;gc(u,n,[],i)&&(r||(r=[]),r.push(u))}),void 0!==r&&zd(r,n),n}function zd(e,t){for(let n=0;n<e.length;n++){const{providers:r}=e[n];mc(r,o=>{t.push(o)})}}function gc(e,t,n,i){if(!(e=Y(e)))return!1;let r=null,o=zt(e);const u=!o&&wn(e);if(o||u){if(u&&!u.standalone)return!1;r=e}else{const v=e.ngModule;if(o=zt(v),!o)return!1;r=v}const p=i.has(r);if(u){if(p)return!1;if(i.add(r),u.dependencies){const v="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const O of v)gc(O,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!p){let O;i.add(r);try{h(o.imports,H=>{gc(H,t,n,i)&&(O||(O=[]),O.push(H))})}finally{}void 0!==O&&zd(O,t)}if(!p){const O=kn(r)||(()=>new r);t.push({provide:r,useFactory:O,deps:he},{provide:Hd,useValue:r,multi:!0},{provide:pc,useValue:()=>It(r),multi:!0})}const v=o.providers;null==v||p||mc(v,H=>{t.push(H)})}}return r!==e&&void 0!==e.providers}function mc(e,t){for(let n of e)be(n)&&(n=n.\u0275providers),Array.isArray(n)?mc(n,t):t(n)}const g_=ee({provide:String,useValue:ee});function _c(e){return null!==e&&"object"==typeof e&&g_ in e}function Ys(e){return"function"==typeof e}const yc=new Vn("Set Injector scope."),ll={},__={};let vc;function cl(){return void 0===vc&&(vc=new Vd),vc}class Zs{}class Kd extends Zs{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,bc(t,u=>this.processProvider(u)),this.records.set(jd,la(void 0,this)),r.has("environment")&&this.records.set(Zs,la(void 0,this));const o=this.records.get(yc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Hd.multi,he,Ne.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=xn(this),i=Te(void 0);try{return t()}finally{xn(n),Te(i)}}get(t,n=ge,i=Ne.Default){this.assertNotDestroyed(),i=x(i);const r=xn(this),o=Te(void 0);try{if(!(i&Ne.SkipSelf)){let p=this.records.get(t);if(void 0===p){const v=function E_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Vn}(t)&&xt(t);p=v&&this.injectableDefInScope(v)?la(Dc(t),ll):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(i&Ne.Self?cl():this.parent).get(t,n=i&Ne.Optional&&n===ge?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[mt]=u[mt]||[]).unshift(J(t)),r)throw u;return function te(e,t,n,i){const r=e[mt];throw t[nn]&&r.unshift(t[nn]),e.message=function re(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Ot?e.slice(2):e;let r=J(t);if(Array.isArray(t))r=t.map(J).join(" -> ");else if("object"==typeof t){let o=[];for(let u in t)if(t.hasOwnProperty(u)){let p=t[u];o.push(u+":"+("string"==typeof p?JSON.stringify(p):J(p)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Ht,"\n ")}`}("\n"+e.message,r,n,i),e[St]=r,e[mt]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{Te(o),xn(r)}}resolveInjectorInitializers(){const t=xn(this),n=Te(void 0);try{const i=this.get(pc.multi,he,Ne.Self);for(const r of i)r()}finally{xn(t),Te(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(J(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ye(205,!1)}processProvider(t){let n=Ys(t=Y(t))?t:Y(t&&t.provide);const i=function v_(e){return _c(e)?la(void 0,e.useValue):la(Yd(e),ll)}(t);if(Ys(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=la(void 0,ll,!0),r.factory=()=>A(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===ll&&(n.value=__,n.value=n.factory()),"object"==typeof n.value&&n.value&&function b_(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=Y(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Dc(e){const t=xt(e),n=null!==t?t.factory:kn(e);if(null!==n)return n;if(e instanceof Vn)throw new ye(204,!1);if(e instanceof Function)return function y_(e){const t=e.length;if(t>0)throw _(t,"?"),new ye(204,!1);const n=function hn(e){const t=e&&(e[bn]||e[ln]);return t?(function mn(e){if(e.hasOwnProperty("name"))return e.name;(""+e).match(/^function\s*([^\s(]+)/)}(e),t):null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new ye(204,!1)}function Yd(e,t,n){let i;if(Ys(e)){const r=Y(e);return kn(r)||Dc(r)}if(_c(e))i=()=>Y(e.useValue);else if(function Gd(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...A(e.deps||[]));else if(function Wd(e){return!(!e||!e.useExisting)}(e))i=()=>It(Y(e.useExisting));else{const r=Y(e&&(e.useClass||e.provide));if(!function D_(e){return!!e.deps}(e))return kn(r)||Dc(r);i=()=>new r(...A(e.deps))}return i}function la(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function bc(e,t){for(const n of e)Array.isArray(n)?bc(n,t):n&&be(n)?bc(n.\u0275providers,t):t(n)}class C_{}class Zd{}class M_{resolveComponentFactory(t){throw function w_(e){const t=Error(`No component factory found for ${J(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let La=(()=>{class e{}return e.NULL=new M_,e})();function T_(){return ca(mi(),Dt())}function ca(e,t){return new Na(Ei(e,t))}let Na=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=T_,e})();function S_(e){return e instanceof Na?e.nativeElement:e}class Xd{}let I_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function A_(){const e=Dt(),n=Jn(mi().index,e);return(li(n)?n:e)[fn]}(),e})(),O_=(()=>{class e{}return e.\u0275prov=De({token:e,providedIn:"root",factory:()=>null}),e})();class qd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Jd=new qd("15.2.3"),Ec={},Cc="ngOriginalError";function wc(e){return e[Cc]}class Ba{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&&wc(t);for(;n&&wc(n);)n=wc(n);return n||null}}function eh(e){return e.ownerDocument.defaultView}function th(e){return e.ownerDocument}function ks(e){return e instanceof Function?e():e}function ih(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}}const rh="ng-template";function U_(e,t,n){let i=0;for(;i<e.length;){let r=e[i++];if(n&&"class"===r){if(r=e[i],-1!==ih(r.toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function oh(e){return 4===e.type&&e.value!==rh}function j_(e,t,n){return t===(4!==e.type||n?e.value:rh)}function H_(e,t,n){let i=4;const r=e.attrs||[],o=function z_(e){for(let t=0;t<e.length;t++)if(Xi(e[t]))return t;return e.length}(r);let u=!1;for(let p=0;p<t.length;p++){const v=t[p];if("number"!=typeof v){if(!u)if(4&i){if(i=2|1&i,""!==v&&!j_(e,v,n)||""===v&&1===t.length){if(es(i))return!1;u=!0}}else{const O=8&i?v:t[++p];if(8&i&&null!==e.attrs){if(!U_(e.attrs,O,n)){if(es(i))return!1;u=!0}continue}const ue=V_(8&i?"class":v,r,oh(e),n);if(-1===ue){if(es(i))return!1;u=!0;continue}if(""!==O){let Re;Re=ue>o?"":r[ue+1].toLowerCase();const qe=8&i?Re:null;if(qe&&-1!==ih(qe,O,0)||2&i&&O!==Re){if(es(i))return!1;u=!0}}}}else{if(!u&&!es(i)&&!es(v))return!1;if(u&&es(v))continue;u=!1,i=v|1&i}}return es(i)||u}function es(e){return 0==(1&e)}function V_(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){const u=t[r];if(u===e)return r;if(3===u||6===u)o=!0;else{if(1===u||2===u){let p=t[++r];for(;"string"==typeof p;)p=t[++r];continue}if(4===u)break;if(0===u){r+=4;continue}}r+=o?1:2}return-1}return function W_(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 sh(e,t,n=!1){for(let i=0;i<t.length;i++)if(H_(e,t[i],n))return!0;return!1}function G_(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 ah(e,t){return e?":not("+t.trim()+")":t}function K_(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let u=e[n];if("string"==typeof u)if(2&i){const p=e[++n];r+="["+u+(p.length>0?'="'+p+'"':"")+"]"}else 8&i?r+="."+u:4&i&&(r+=" "+u);else""!==r&&!es(u)&&(t+=ah(o,r),r=""),i=u,o=o||!es(i);n++}return""!==r&&(t+=ah(o,r)),t}const Cn={};function lh(e){ch(On(),Dt(),Oi()+e,!1)}function ch(e,t,n,i){if(!i)if(3==(3&t[tn])){const o=e.preOrderCheckHooks;null!==o&&yo(t,o,n)}else{const o=e.preOrderHooks;null!==o&&m(t,o,0,n)}no(n)}function fh(e,t=null,n=null,i){const r=ph(e,t,n,i);return r.resolveInjectorInitializers(),r}function ph(e,t=null,n=null,i,r=new Set){const o=[n||he,p_(e)];return i=i||("object"==typeof e?void 0:J(e)),new Kd(o,t||cl(),i||null,r)}let Qs=(()=>{class e{static create(n,i){if(Array.isArray(n))return fh({name:""},i,n,"");{const r=n.name??"";return fh({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=ge,e.NULL=new Vd,e.\u0275prov=De({token:e,providedIn:"any",factory:()=>It(jd)}),e.__NG_ELEMENT_ID__=-1,e})();function ha(e,t=Ne.Default){const n=Dt();return null===n?It(e,t):Q(mi(),n,Y(e),t)}function bh(){throw new Error("invalid")}function Eh(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 u=e.data[o];go(n[i]),u.contentQueries(2,t[o],o)}}}function dl(e,t,n,i,r,o,u,p,v,O,H){const ue=t.blueprint.slice();return ue[Ri]=r,ue[tn]=76|i,(null!==H||e&&1024&e[tn])&&(ue[tn]|=1024),Dr(ue),ue[In]=ue[pr]=e,ue[Rn]=n,ue[Mo]=u||e&&e[Mo],ue[fn]=p||e&&e[fn],ue[so]=v||e&&e[so]||null,ue[ki]=O||e&&e[ki]||null,ue[An]=o,ue[nr]=function dm(){return um++}(),ue[ao]=H,ue[di]=2==t.type?e[di]:ue,ue}function fa(e,t,n,i,r){let o=e.data[t];if(null===o)o=function Ac(e,t,n,i,r){const o=ws(),u=Go(),v=e.data[t]=function vy(e,t,n,i,r,o){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,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,u?o:o&&o.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=v),null!==o&&(u?null==o.child&&null!==v.parent&&(o.child=v):null===o.next&&(o.next=v,v.prev=o)),v}(e,t,n,i,r),function fo(){return Qt.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const u=function Br(){const e=Qt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===u?-1:u.injectorIndex}return Vi(o,!0),o}function Ua(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 Oc(e,t,n){Ko(t);try{const i=e.viewQuery;null!==i&&jc(1,i,n);const r=e.template;null!==r&&Ch(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Eh(e,t),e.staticViewQueries&&jc(2,e.viewQuery,n);const o=e.components;null!==o&&function my(e,t){for(let n=0;n<t.length;n++)By(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[tn]&=-5,Zo()}}function hl(e,t,n,i){const r=t[tn];if(128!=(128&r)){Ko(t);try{Dr(t),function qr(e){return Qt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Ch(e,t,n,2,i);const u=3==(3&r);if(u){const O=e.preOrderCheckHooks;null!==O&&yo(t,O,null)}else{const O=e.preOrderHooks;null!==O&&m(t,O,0,null),P(t,0)}if(function Ly(e){for(let t=Xl(e);null!==t;t=ql(t)){if(!t[kr])continue;const n=t[rr];for(let i=0;i<n.length;i++){const r=n[i];512&r[tn]||Vo(r[In],1),r[tn]|=512}}}(t),function Fy(e){for(let t=Xl(e);null!==t;t=ql(t))for(let n=hi;n<t.length;n++){const i=t[n],r=i[kt];Ao(i)&&hl(r,i,r.template,i[Rn])}}(t),null!==e.contentQueries&&Eh(e,t),u){const O=e.contentCheckHooks;null!==O&&yo(t,O)}else{const O=e.contentHooks;null!==O&&m(t,O,1),P(t,1)}!function py(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const r=n[i];if(r<0)no(~r);else{const o=r,u=n[++i],p=n[++i];Fo(u,o),p(2,t[o])}}}finally{no(-1)}}(e,t);const p=e.components;null!==p&&function gy(e,t){for(let n=0;n<t.length;n++)Ny(e,t[n])}(t,p);const v=e.viewQuery;if(null!==v&&jc(2,v,i),u){const O=e.viewCheckHooks;null!==O&&yo(t,O)}else{const O=e.viewHooks;null!==O&&m(t,O,2),P(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[tn]&=-41,512&t[tn]&&(t[tn]&=-513,Vo(t[In],-1))}finally{Zo()}}}function Ch(e,t,n,i,r){const o=Oi(),u=2&i;try{no(-1),u&&t.length>En&&ch(e,t,En,!1),gn(u?2:0,r),n(i,r)}finally{no(o),gn(u?3:1,r)}}function Pc(e,t,n){if(So(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o<r;o++){const u=e.data[o];u.contentQueries&&u.contentQueries(1,n[o],o)}}}function xc(e,t,n){zo()&&(function My(e,t,n,i){const r=n.directiveStart,o=n.directiveEnd;lo(n)&&function xy(e,t,n){const i=Ei(t,e),r=wh(n),o=e[Mo],u=fl(e,dl(e,r,null,n.onPush?32:16,i,t,o,o.createRenderer(i,n),null,null,null));e[t.index]=u}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Do(n,t),xr(i,t);const u=n.initialInputs;for(let p=r;p<o;p++){const v=e.data[p],O=rt(t,e,p,n);xr(O,t),null!==u&&Ry(0,p-r,O,v,0,u),Ni(v)&&(Jn(n.index,t)[Rn]=rt(t,e,p,n))}}(e,t,n,Ei(n,t)),64==(64&n.flags)&&Oh(e,t,n))}function Rc(e,t,n=Ei){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const u=i[o+1],p=-1===u?n(t,e):e[u];e[r++]=p}}}function wh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=kc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function kc(e,t,n,i,r,o,u,p,v,O){const H=En+i,ue=H+r,Re=function _y(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Cn);return n}(H,ue),qe="function"==typeof O?O():O;return Re[kt]={type:e,blueprint:Re,template:n,queries:null,viewQuery:p,declTNode:t,data:Re.slice().fill(null,H),bindingStartIndex:H,expandoStartIndex:ue,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 u?u():u,firstChild:null,schemas:v,consts:qe,incompleteFirstPass:!1}}function Mh(e,t,n,i){const r=xh(t);null===n?r.push(i):(r.push(n),e.firstCreatePass&&Rh(e).push(i,r.length-1))}function Th(e,t,n,i){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const o=e[r];null===i?Sh(n,t,r,o):i.hasOwnProperty(r)&&Sh(n,t,i[r],o)}return n}function Sh(e,t,n,i){e.hasOwnProperty(n)?e[n].push(t,i):e[n]=[t,i]}function wo(e,t,n,i,r,o,u,p){const v=Ei(t,n);let H,O=t.inputs;!p&&null!=O&&(H=O[i])?(Hc(e,n,H,i,r),lo(t)&&Ih(n,t.index)):3&t.type&&(i=function by(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=u?u(r,t.value||"",i):r,o.setProperty(v,i,r))}function Ih(e,t){const n=Jn(t,e);16&n[tn]||(n[tn]|=32)}function Fc(e,t,n,i){if(zo()){const r=null===i?null:{"":-1},o=function Sy(e,t){const n=e.directiveRegistry;let i=null,r=null;if(n)for(let o=0;o<n.length;o++){const u=n[o];if(sh(t,u.selectors,!1))if(i||(i=[]),Ni(u))if(null!==u.findHostDirectiveDefs){const p=[];r=r||new Map,u.findHostDirectiveDefs(u,p,r),i.unshift(...p,u),Lc(e,t,p.length)}else i.unshift(u),Lc(e,t,0);else r=r||new Map,u.findHostDirectiveDefs?.(u,i,r),i.push(u)}return null===i?null:[i,r]}(e,n);let u,p;null===o?u=p=null:[u,p]=o,null!==u&&Ah(e,t,n,u,r,p),r&&function Iy(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 ye(-301,!1);i.push(t[r],o)}}}(n,i,r)}n.mergedAttrs=$i(n.mergedAttrs,n.attrs)}function Ah(e,t,n,i,r,o){for(let O=0;O<i.length;O++)l(Do(n,t),e,i[O].type);!function Oy(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let O=0;O<i.length;O++){const H=i[O];H.providersResolver&&H.providersResolver(H)}let u=!1,p=!1,v=Ua(e,t,i.length,null);for(let O=0;O<i.length;O++){const H=i[O];n.mergedAttrs=$i(n.mergedAttrs,H.hostAttrs),Py(e,n,t,v,H),Ay(v,H,r),null!==H.contentQueries&&(n.flags|=4),(null!==H.hostBindings||null!==H.hostAttrs||0!==H.hostVars)&&(n.flags|=64);const ue=H.type.prototype;!u&&(ue.ngOnChanges||ue.ngOnInit||ue.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),u=!0),!p&&(ue.ngOnChanges||ue.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),p=!0),v++}!function Dy(e,t,n){const r=t.directiveEnd,o=e.data,u=t.attrs,p=[];let v=null,O=null;for(let H=t.directiveStart;H<r;H++){const ue=o[H],Re=n?n.get(ue):null,_t=Re?Re.outputs:null;v=Th(ue.inputs,H,v,Re?Re.inputs:null),O=Th(ue.outputs,H,O,_t);const Pt=null===v||null===u||oh(t)?null:ky(v,H,u);p.push(Pt)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=8),v.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=p,t.inputs=v,t.outputs=O}(e,n,o)}function Oh(e,t,n){const i=n.directiveStart,r=n.directiveEnd,o=n.index,u=function us(){return Qt.lFrame.currentDirectiveIndex}();try{no(o);for(let p=i;p<r;p++){const v=e.data[p],O=t[p];eo(p),(null!==v.hostBindings||0!==v.hostVars||null!==v.hostAttrs)&&Ty(v,O)}}finally{no(-1),eo(u)}}function Ty(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Lc(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function Ay(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Ni(t)&&(n[""]=e)}}function Py(e,t,n,i,r){e.data[i]=r;const o=r.factory||(r.factory=kn(r.type)),u=new Je(o,Ni(r),ha);e.blueprint[i]=u,n[i]=u,function Cy(e,t,n,i,r){const o=r.hostBindings;if(o){let u=e.hostBindingOpCodes;null===u&&(u=e.hostBindingOpCodes=[]);const p=~t.index;(function wy(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=p&&u.push(p),u.push(n,i,o)}}(e,t,i,Ua(e,n,r.hostVars,Cn),r)}function ys(e,t,n,i,r,o){const u=Ei(e,t);!function Nc(e,t,n,i,r,o,u){if(null==o)e.removeAttribute(t,r,n);else{const p=null==u?Ke(o):u(o,i||"",r);e.setAttribute(t,r,p,n)}}(t[fn],u,o,e.value,n,i,r)}function Ry(e,t,n,i,r,o){const u=o[t];if(null!==u){const p=i.setInput;for(let v=0;v<u.length;){const O=u[v++],H=u[v++],ue=u[v++];null!==p?i.setInput(n,ue,O,H):n[H]=ue}}}function ky(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 u=e[o];for(let p=0;p<u.length;p+=2)if(u[p]===t){i.push(o,u[p+1],n[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function Ph(e,t,n,i){return[e,!0,!1,t,null,0,i,n,null,null]}function Ny(e,t){const n=Jn(t,e);if(Ao(n)){const i=n[kt];48&n[tn]?hl(i,n,i.template,n[Rn]):n[Si]>0&&Bc(n)}}function Bc(e){for(let i=Xl(e);null!==i;i=ql(i))for(let r=hi;r<i.length;r++){const o=i[r];if(Ao(o))if(512&o[tn]){const u=o[kt];hl(u,o,u.template,o[Rn])}else o[Si]>0&&Bc(o)}const n=e[kt].components;if(null!==n)for(let i=0;i<n.length;i++){const r=Jn(n[i],e);Ao(r)&&r[Si]>0&&Bc(r)}}function By(e,t){const n=Jn(t,e),i=n[kt];(function Uy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),Oc(i,n,n[Rn])}function fl(e,t){return e[wr]?e[bi][Kn]=t:e[wr]=t,e[bi]=t,t}function Uc(e){for(;e;){e[tn]|=32;const t=xa(e);if(Fr(e)&&!t)return e;e=t}return null}function pl(e,t,n,i=!0){const r=t[Mo];r.begin&&r.begin();try{hl(e,t,e.template,n)}catch(u){throw i&&Fh(t,u),u}finally{r.end&&r.end()}}function jc(e,t,n){go(0),t(e,n)}function xh(e){return e[ai]||(e[ai]=[])}function Rh(e){return e.cleanup||(e.cleanup=[])}function kh(e,t,n){return(null===e||Ni(e))&&(n=function Sr(e){for(;Array.isArray(e);){if("object"==typeof e[To])return e;e=e[Ri]}return null}(n[t.index])),n[fn]}function Fh(e,t){const n=e[ki],i=n?n.get(Ba,null):null;i&&i.handleError(t)}function Hc(e,t,n,i,r){for(let o=0;o<n.length;){const u=n[o++],p=n[o++],v=t[u],O=e.data[u];null!==O.setInput?O.setInput(v,r,i,p):v[p]=r}}function Fs(e,t,n){const i=Ir(t,e);!function dd(e,t,n){e.setValue(t,n)}(e[fn],i,n)}function gl(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(let u=0;u<t.length;u++){const p=t[u];"number"==typeof p?o=p:1==o?r=ne(r,p):2==o&&(i=ne(i,p+": "+t[++u]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function ml(e,t,n,i,r=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&i.push(Mn(o)),Ii(o))for(let p=hi;p<o.length;p++){const v=o[p],O=v[kt].firstChild;null!==O&&ml(v[kt],v,O,i)}const u=n.type;if(8&u)ml(e,t,n.child,i);else if(32&u){const p=Ql(n,t);let v;for(;v=p();)i.push(v)}else if(16&u){const p=Ed(t,n);if(Array.isArray(p))i.push(...p);else{const v=xa(t[di]);ml(v[kt],v,p,i,!0)}}n=r?n.projectionNext:n.next}return i}class ja{get rootNodes(){const t=this._lView,n=t[kt];return ml(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Rn]}set context(t){this._lView[Rn]=t}get destroyed(){return 128==(128&this._lView[tn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[In];if(Ii(t)){const n=t[Di],i=n?n.indexOf(this):-1;i>-1&&(tc(t,i),c(n,i))}this._attachedToViewContainer=!1}fd(this._lView[kt],this._lView)}onDestroy(t){Mh(this._lView[kt],this._lView,null,t)}markForCheck(){Uc(this._cdRefInjectingView||this._lView)}detach(){this._lView[tn]&=-65}reattach(){this._lView[tn]|=64}detectChanges(){pl(this._lView[kt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ye(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Tm(e,t){Ra(e,t,t[fn],2,null,null)}(this._lView[kt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ye(902,!1);this._appRef=t}}class jy extends ja{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;pl(t[kt],t,t[Rn],!1)}checkNoChanges(){}get context(){return null}}class Lh extends La{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=wn(t);return new Ha(n,this.ngModule)}}function Nh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Vy{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=x(i);const r=this.injector.get(t,Ec,i);return r!==Ec||n===Ec?r:this.parentInjector.get(t,n,i)}}class Ha extends Zd{get inputs(){return Nh(this.componentDef.inputs)}get outputs(){return Nh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Y_(e){return e.map(K_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){let o=(r=r||this.ngModule)instanceof Zs?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const u=o?new Vy(t,o):t,p=u.get(Xd,null);if(null===p)throw new ye(407,!1);const v=u.get(O_,null),O=p.createRenderer(null,this.componentDef),H=this.componentDef.selectors[0][0]||"div",ue=i?function yy(e,t,n){return e.selectRootElement(t,n===Fe.ShadowDom)}(O,i,this.componentDef.encapsulation):ec(O,H,function Hy(e){const t=e.toLowerCase();return"svg"===t?qn:"math"===t?"math":null}(H)),Re=this.componentDef.onPush?288:272,qe=kc(0,null,null,1,0,null,null,null,null,null),_t=dl(null,qe,null,Re,null,null,p,O,v,u,null);let Pt,Ut;Ko(_t);try{const Yt=this.componentDef;let dn,Tt=null;Yt.findHostDirectiveDefs?(dn=[],Tt=new Map,Yt.findHostDirectiveDefs(Yt,dn,Tt),dn.push(Yt)):dn=[Yt];const Dn=function zy(e,t){const n=e[kt],i=En;return e[i]=t,fa(n,i,2,"#host",null)}(_t,ue),Ti=function Wy(e,t,n,i,r,o,u,p){const v=r[kt];!function Gy(e,t,n,i){for(const r of e)t.mergedAttrs=$i(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(gl(t,t.mergedAttrs,!0),null!==n&&Md(i,n,t))}(i,e,t,u);const O=o.createRenderer(t,n),H=dl(r,wh(n),null,n.onPush?32:16,r[e.index],e,o,O,p||null,null,null);return v.firstCreatePass&&Lc(v,e,i.length-1),fl(r,H),r[e.index]=H}(Dn,ue,Yt,dn,_t,p,O);Ut=Ho(qe,En),ue&&function Yy(e,t,n,i){if(i)ii(e,n,["ng-version",Jd.full]);else{const{attrs:r,classes:o}=function Z_(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(!es(r))break;r=o}i++}return{attrs:t,classes:n}}(t.selectors[0]);r&&ii(e,n,r),o&&o.length>0&&wd(e,n,o.join(" "))}}(O,Yt,ue,i),void 0!==n&&function Zy(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)}}(Ut,this.ngContentSelectors,n),Pt=function Ky(e,t,n,i,r,o){const u=mi(),p=r[kt],v=Ei(u,r);Ah(p,r,u,n,null,i);for(let H=0;H<n.length;H++)xr(rt(r,p,u.directiveStart+H,u),r);Oh(p,r,u),v&&xr(v,r);const O=rt(r,p,u.directiveStart+u.componentOffset,u);if(e[Rn]=r[Rn]=O,null!==o)for(const H of o)H(O,t);return Pc(p,u,e),O}(Ti,Yt,dn,Tt,_t,[Qy]),Oc(qe,_t,null)}finally{Zo()}return new $y(this.componentType,Pt,ca(Ut,_t),_t,Ut)}}class $y extends C_{constructor(t,n,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new jy(r),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){const o=this._rootLView;Hc(o[kt],o,r,t,n),Ih(o,this._tNode.index)}}get injector(){return new cn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Qy(){const e=mi();_o(Dt()[kt],e)}function Vc(e){let t=function Bh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(Ni(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ye(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);const u=e;u.inputs=$c(e.inputs),u.declaredInputs=$c(e.declaredInputs),u.outputs=$c(e.outputs);const p=r.hostBindings;p&&ev(e,p);const v=r.viewQuery,O=r.contentQueries;if(v&&qy(e,v),O&&Jy(e,O),ce(e.inputs,r.inputs),ce(e.declaredInputs,r.declaredInputs),ce(e.outputs,r.outputs),Ni(r)&&r.data.animation){const H=e.data;H.animation=(H.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let u=0;u<o.length;u++){const p=o[u];p&&p.ngInherit&&p(e),p===Vc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Xy(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 $c(e){return e===wt?{}:e===he?[]:e}function qy(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function Jy(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,o)=>{t(i,r,o),n(i,r,o)}:t}function ev(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}function _l(e){return!!zc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function zc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function vs(e,t,n){return e[t]=n}function Va(e,t){return e[t]}function Rr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Xs(e,t,n,i){const r=Rr(e,t,n);return Rr(e,t+1,i)||r}function yl(e,t,n,i,r){const o=Xs(e,t,n,i);return Rr(e,t+2,r)||o}function Bo(e,t,n,i,r,o){const u=Xs(e,t,n,i);return Xs(e,t+2,r,o)||u}function Wc(e,t,n,i){const r=Dt();return Rr(r,Jr(),t)&&(On(),ys(ti(),r,e,t,n,i)),Wc}function ga(e,t,n,i){return Rr(e,Jr(),n)?t+Ke(n)+i:Cn}function ma(e,t,n,i,r,o){const p=Xs(e,Ai(),n,r);return sr(2),p?t+Ke(n)+i+Ke(r)+o:Cn}function _a(e,t,n,i,r,o,u,p){const O=yl(e,Ai(),n,r,u);return sr(3),O?t+Ke(n)+i+Ke(r)+o+Ke(u)+p:Cn}function Xh(e,t,n,i,r,o,u,p){const v=Dt(),O=On(),H=e+En,ue=O.firstCreatePass?function uv(e,t,n,i,r,o,u,p,v){const O=t.consts,H=fa(t,e,4,u||null,Hi(O,p));Fc(t,n,H,Hi(O,v)),_o(t,H);const ue=H.tView=kc(2,H,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,O);return null!==t.queries&&(t.queries.template(t,H),ue.queries=t.queries.embeddedTView(H)),H}(H,O,v,t,n,i,r,o,u):O.data[H];Vi(ue,!1);const Re=v[fn].createComment("");nl(O,v,Re,ue),xr(Re,v),fl(v,v[H]=Ph(Re,v,Re,ue)),Li(ue)&&xc(O,v,ue),null!=u&&Rc(v,ue,p)}function qh(e){return vr(function cs(){return Qt.lFrame.contextLView}(),En+e)}function Gc(e,t,n){const i=Dt();return Rr(i,Jr(),t)&&wo(On(),ti(),i,e,t,i[fn],n,!1),Gc}function Kc(e,t,n,i,r){const u=r?"class":"style";Hc(e,n,t.inputs[u],u,i)}function vl(e,t,n,i){const r=Dt(),o=On(),u=En+e,p=r[fn],v=o.firstCreatePass?function hv(e,t,n,i,r,o){const u=t.consts,v=fa(t,e,2,i,Hi(u,r));return Fc(t,n,v,Hi(u,o)),null!==v.attrs&&gl(v,v.attrs,!1),null!==v.mergedAttrs&&gl(v,v.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,v),v}(u,o,r,t,n,i):o.data[u],O=r[u]=ec(p,t,function hs(){return Qt.lFrame.currentNamespace}()),H=Li(v);return Vi(v,!0),Md(p,O,v),32!=(32&v.flags)&&nl(o,r,O,v),0===function Es(){return Qt.lFrame.elementDepthCount}()&&xr(O,r),function Po(){Qt.lFrame.elementDepthCount++}(),H&&(xc(o,r,v),Pc(o,v,r)),null!==i&&Rc(r,v),vl}function Dl(){let e=mi();Go()?xo():(e=e.parent,Vi(e,!1));const t=e;!function $o(){Qt.lFrame.elementDepthCount--}();const n=On();return n.firstCreatePass&&(_o(n,e),So(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Ln(e){return 0!=(8&e.flags)}(t)&&Kc(n,t,Dt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function _n(e){return 0!=(16&e.flags)}(t)&&Kc(n,t,Dt(),t.stylesWithoutHost,!1),Dl}function Yc(e,t,n,i){return vl(e,t,n,i),Dl(),Yc}function bl(e,t,n){const i=Dt(),r=On(),o=e+En,u=r.firstCreatePass?function fv(e,t,n,i,r){const o=t.consts,u=Hi(o,i),p=fa(t,e,8,"ng-container",u);return null!==u&&gl(p,u,!0),Fc(t,n,p,Hi(o,r)),null!==t.queries&&t.queries.elementStart(t,p),p}(o,r,i,t,n):r.data[o];Vi(u,!0);const p=i[o]=i[fn].createComment("");return nl(r,i,p,u),xr(p,i),Li(u)&&(xc(r,i,u),Pc(r,u,i)),null!=n&&Rc(i,u),bl}function El(){let e=mi();const t=On();return Go()?xo():(e=e.parent,Vi(e,!1)),t.firstCreatePass&&(_o(t,e),So(e)&&t.queries.elementEnd(e)),El}function Zc(e,t,n){return bl(e,t,n),El(),Zc}function Jh(){return Dt()}function Qc(e){return!!e&&"function"==typeof e.then}function ef(e){return!!e&&"function"==typeof e.subscribe}const tf=ef;function Xc(e,t,n,i){const r=Dt(),o=On(),u=mi();return nf(o,r,r[fn],u,e,t,i),Xc}function qc(e,t){const n=mi(),i=Dt(),r=On();return nf(r,i,kh(po(r.data),n,i),n,e,t),qc}function nf(e,t,n,i,r,o,u){const p=Li(i),O=e.firstCreatePass&&Rh(e),H=t[Rn],ue=xh(t);let Re=!0;if(3&i.type||u){const Pt=Ei(i,t),Ut=u?u(Pt):Pt,Yt=ue.length,dn=u?Dn=>u(Mn(Dn[i.index])):i.index;let Tt=null;if(!u&&p&&(Tt=function pv(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const u=r[o];if(u===n&&r[o+1]===i){const p=t[ai],v=r[o+2];return p.length>v?p[v]:null}"string"==typeof u&&(o+=2)}return null}(e,t,r,i.index)),null!==Tt)(Tt.__ngLastListenerFn__||Tt).__ngNextListenerFn__=o,Tt.__ngLastListenerFn__=o,Re=!1;else{o=sf(i,t,H,o,!1);const Dn=n.listen(Ut,r,o);ue.push(o,Dn),O&&O.push(r,dn,Yt,Yt+1)}}else o=sf(i,t,H,o,!1);const qe=i.outputs;let _t;if(Re&&null!==qe&&(_t=qe[r])){const Pt=_t.length;if(Pt)for(let Ut=0;Ut<Pt;Ut+=2){const Ti=t[_t[Ut]][_t[Ut+1]].subscribe(o),Ki=ue.length;ue.push(o,Ti),O&&O.push(r,i.index,Ki,-(Ki+1))}}}function rf(e,t,n,i){try{return gn(6,t,n),!1!==n(i)}catch(r){return Fh(e,r),!1}finally{gn(7,t,n)}}function sf(e,t,n,i,r){return function o(u){if(u===Function)return i;Uc(e.componentOffset>-1?Jn(e.index,t):t);let v=rf(t,n,i,u),O=o.__ngNextListenerFn__;for(;O;)v=rf(t,n,O,u)&&v,O=O.__ngNextListenerFn__;return r&&!1===v&&(u.preventDefault(),u.returnValue=!1),v}}function af(e=1){return function Qo(e){return(Qt.lFrame.contextLView=function Ts(e,t){for(;e>0;)t=t[pr],e--;return t}(e,Qt.lFrame.contextLView))[Rn]}(e)}function gv(e,t){let n=null;const i=function $_(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?sh(e,o,!0):G_(i,o))return r}else n=r}return n}function lf(e){const t=Dt()[di][An];if(!t.projection){const i=t.projection=_(e?e.length:1,null),r=i.slice();let o=t.child;for(;null!==o;){const u=e?gv(o,e):0;null!==u&&(r[u]?r[u].projectionNext=o:i[u]=o,r[u]=o),o=o.next}}}function cf(e,t=0,n){const i=Dt(),r=On(),o=fa(r,En+e,16,null,n||null);null===o.projection&&(o.projection=t),xo(),32!=(32&o.flags)&&function km(e,t,n){Cd(t[fn],0,t,n,pd(e,n,t),yd(n.parent||t[An],n,t))}(r,i,o)}function Jc(e,t,n){return Cl(e,"",t,"",n),Jc}function Cl(e,t,n,i,r){const o=Dt(),u=ga(o,t,n,i);return u!==Cn&&wo(On(),ti(),o,e,u,o[fn],r,!1),Cl}function eu(e,t,n,i,r,o,u){const p=Dt(),v=ma(p,t,n,i,r,o);return v!==Cn&&wo(On(),ti(),p,e,v,p[fn],u,!1),eu}function tu(e,t,n,i,r,o,u,p,v){const O=Dt(),H=_a(O,t,n,i,r,o,u,p);return H!==Cn&&wo(On(),ti(),O,e,H,O[fn],v,!1),tu}function wl(e,t){return e<<17|t<<2}function Vs(e){return e>>17&32767}function nu(e){return 2|e}function qs(e){return(131068&e)>>2}function iu(e,t){return-131069&e|t<<2}function ru(e){return 1|e}function mf(e,t,n,i,r){const o=e[n+1],u=null===t;let p=i?Vs(o):qs(o),v=!1;for(;0!==p&&(!1===v||u);){const H=e[p+1];bv(e[p],t)&&(v=!0,e[p+1]=i?ru(H):nu(H)),p=i?Vs(H):qs(H)}v&&(e[n+1]=i?nu(o):ru(o))}function bv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Bt(e,t)>=0}const tr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _f(e){return e.substring(tr.key,tr.keyEnd)}function Ev(e){return e.substring(tr.value,tr.valueEnd)}function yf(e,t){const n=tr.textEnd;return n===t?-1:(t=tr.keyEnd=function Mv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,tr.key=t,n),Ca(e,t,n))}function vf(e,t){const n=tr.textEnd;let i=tr.key=Ca(e,t,n);return n===i?-1:(i=tr.keyEnd=function Tv(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=bf(e,i,n),i=tr.value=Ca(e,i,n),i=tr.valueEnd=function Sv(e,t,n){let i=-1,r=-1,o=-1,u=t,p=u;for(;u<n;){const v=e.charCodeAt(u++);if(59===v)return p;34===v||39===v?p=u=Ef(e,v,u,n):t===u-4&&85===o&&82===r&&76===i&&40===v?p=u=Ef(e,41,u,n):v>32&&(p=u),o=r,r=i,i=-33&v}return p}(e,i,n),bf(e,i,n))}function Df(e){tr.key=0,tr.keyEnd=0,tr.value=0,tr.valueEnd=0,tr.textEnd=e.length}function Ca(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function bf(e,t,n,i){return(t=Ca(e,t,n))<n&&t++,t}function Ef(e,t,n,i){let r=-1,o=n;for(;o<i;){const u=e.charCodeAt(o++);if(u==t&&92!==r)return o;r=92==u&&92===r?0:u}throw new Error}function ou(e,t,n){return ns(e,t,n,!1),ou}function su(e,t){return ns(e,t,null,!0),su}function ts(e){is(Tf,Iv,e,!1)}function Iv(e,t){for(let n=function wv(e){return Df(e),vf(e,Ca(e,0,tr.textEnd))}(t);n>=0;n=vf(t,n))Tf(e,_f(t),Ev(t))}function Cf(e){is(dt,Ds,e,!0)}function Ds(e,t){for(let n=function Cv(e){return Df(e),yf(e,Ca(e,0,tr.textEnd))}(t);n>=0;n=yf(t,n))dt(e,_f(t),!0)}function ns(e,t,n,i){const r=Dt(),o=On(),u=sr(2);o.firstUpdatePass&&Mf(o,e,u,i),t!==Cn&&Rr(r,u,t)&&Sf(o,o.data[Oi()],r,r[fn],e,r[u+1]=function Fv(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=J(xs(e)))),e}(t,n),i,u)}function is(e,t,n,i){const r=On(),o=sr(2);r.firstUpdatePass&&Mf(r,null,o,i);const u=Dt();if(n!==Cn&&Rr(u,o,n)){const p=r.data[Oi()];if(Af(p,i)&&!wf(r,o)){let v=i?p.classesWithoutHost:p.stylesWithoutHost;null!==v&&(n=ne(v,n||"")),Kc(r,p,u,n,i)}else!function kv(e,t,n,i,r,o,u,p){r===Cn&&(r=he);let v=0,O=0,H=0<r.length?r[0]:null,ue=0<o.length?o[0]:null;for(;null!==H||null!==ue;){const Re=v<r.length?r[v+1]:void 0,qe=O<o.length?o[O+1]:void 0;let Pt,_t=null;H===ue?(v+=2,O+=2,Re!==qe&&(_t=ue,Pt=qe)):null===ue||null!==H&&H<ue?(v+=2,_t=H):(O+=2,_t=ue,Pt=qe),null!==_t&&Sf(e,t,n,i,_t,Pt,u,p),H=v<r.length?r[v]:null,ue=O<o.length?o[O]:null}}(r,p,u,u[fn],u[o+1],u[o+1]=function Rv(e,t,n){if(null==n||""===n)return he;const i=[],r=xs(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,o)}}function wf(e,t){return t>=e.expandoStartIndex}function Mf(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[Oi()],u=wf(e,n);Af(o,i)&&null===t&&!u&&(t=!1),t=function Av(e,t,n,i){const r=po(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=$a(n=au(null,e,t,n,i),t.attrs,i),o=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==r)if(n=au(r,e,t,n,i),null===o){let v=function Ov(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==qs(i))return e[Vs(i)]}(e,t,i);void 0!==v&&Array.isArray(v)&&(v=au(null,e,t,v[1],i),v=$a(v,t.attrs,i),function Pv(e,t,n,i){e[Vs(n?t.classBindings:t.styleBindings)]=i}(e,t,i,v))}else o=function xv(e,t,n){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=$a(i,e[o].hostAttrs,n);return $a(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function vv(e,t,n,i,r,o){let u=o?t.classBindings:t.styleBindings,p=Vs(u),v=qs(u);e[i]=n;let H,O=!1;if(Array.isArray(n)?(H=n[1],(null===H||Bt(n,H)>0)&&(O=!0)):H=n,r)if(0!==v){const Re=Vs(e[p+1]);e[i+1]=wl(Re,p),0!==Re&&(e[Re+1]=iu(e[Re+1],i)),e[p+1]=function _v(e,t){return 131071&e|t<<17}(e[p+1],i)}else e[i+1]=wl(p,0),0!==p&&(e[p+1]=iu(e[p+1],i)),p=i;else e[i+1]=wl(v,0),0===p?p=i:e[v+1]=iu(e[v+1],i),v=i;O&&(e[i+1]=nu(e[i+1])),mf(e,H,i,!0),mf(e,H,i,!1),function Dv(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Bt(o,t)>=0&&(n[i+1]=ru(n[i+1]))}(t,H,e,i,o),u=wl(p,v),o?t.classBindings=u:t.styleBindings=u}(r,o,t,n,u,i)}}function au(e,t,n,i,r){let o=null;const u=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p<u&&(o=t[p],i=$a(i,o.hostAttrs,r),o!==e);)p++;return null!==e&&(n.directiveStylingLast=p),i}function $a(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const u=t[o];"number"==typeof u?r=u:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),dt(e,u,!!n||t[++o]))}return void 0===e?null:e}function Tf(e,t,n){dt(e,t,xs(n))}function Sf(e,t,n,i,r,o,u,p){if(!(3&t.type))return;const v=e.data,O=v[p+1],H=function yv(e){return 1==(1&e)}(O)?If(v,t,n,r,qs(O),u):void 0;Ml(H)||(Ml(o)||function mv(e){return 2==(2&e)}(O)&&(o=If(v,null,n,r,p,u)),function Lm(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=-1===i.indexOf("-")?void 0:_s.DashCase;null==r?e.removeStyle(n,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=_s.Important),e.setStyle(n,i,r,o))}}(i,u,Ir(Oi(),n),r,o))}function If(e,t,n,i,r,o){const u=null===t;let p;for(;r>0;){const v=e[r],O=Array.isArray(v),H=O?v[1]:v,ue=null===H;let Re=n[r+1];Re===Cn&&(Re=ue?he:void 0);let qe=ue?Ft(Re,i):H===i?Re:void 0;if(O&&!Ml(qe)&&(qe=Ft(v,i)),Ml(qe)&&(p=qe,u))return p;const _t=e[r+1];r=u?Vs(_t):qs(_t)}if(null!==t){let v=o?t.residualClasses:t.residualStyles;null!=v&&(p=Ft(v,i))}return p}function Ml(e){return void 0!==e}function Af(e,t){return 0!=(e.flags&(t?8:16))}function Of(e,t=""){const n=Dt(),i=On(),r=e+En,o=i.firstCreatePass?fa(i,r,1,t,null):i.data[r],u=n[r]=function Jl(e,t){return e.createText(t)}(n[fn],t);nl(i,n,u,o),Vi(o,!1)}function lu(e){return Tl("",e,""),lu}function Tl(e,t,n){const i=Dt(),r=ga(i,e,t,n);return r!==Cn&&Fs(i,Oi(),r),Tl}function cu(e,t,n,i,r){const o=Dt(),u=ma(o,e,t,n,i,r);return u!==Cn&&Fs(o,Oi(),u),cu}function uu(e,t,n,i,r,o,u){const p=Dt(),v=_a(p,e,t,n,i,r,o,u);return v!==Cn&&Fs(p,Oi(),v),uu}function du(e,t,n,i,r,o,u,p,v){const O=Dt(),H=function ya(e,t,n,i,r,o,u,p,v,O){const ue=Bo(e,Ai(),n,r,u,v);return sr(4),ue?t+Ke(n)+i+Ke(r)+o+Ke(u)+p+Ke(v)+O:Cn}(O,e,t,n,i,r,o,u,p,v);return H!==Cn&&Fs(O,Oi(),H),du}function Lf(e,t,n){is(dt,Ds,ga(Dt(),e,t,n),!0)}function Nf(e,t,n,i,r){is(dt,Ds,ma(Dt(),e,t,n,i,r),!0)}function hu(e,t,n){const i=Dt();return Rr(i,Jr(),t)&&wo(On(),ti(),i,e,t,i[fn],n,!0),hu}function fu(e,t,n){const i=Dt();if(Rr(i,Jr(),t)){const o=On(),u=ti();wo(o,u,i,e,t,kh(po(o.data),u,i),n,!0)}return fu}const Js=void 0;var Jv=["en",[["a","p"],["AM","PM"],Js],[["AM","PM"],Js,Js],[["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"]],Js,[["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"]],Js,[["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}",Js,"{1} 'at' {0}",Js],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function qv(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let wa={};function pu(e){const t=function e0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Yf(t);if(n)return n;const i=t.split("-")[0];if(n=Yf(i),n)return n;if("en"===i)return Jv;throw new ye(701,!1)}function Kf(e){return pu(e)[an.PluralCase]}function Yf(e){return e in wa||(wa[e]=at.ng&&at.ng.common&&at.ng.common.locales&&at.ng.common.locales[e]),wa[e]}var an=(()=>((an=an||{})[an.LocaleId=0]="LocaleId",an[an.DayPeriodsFormat=1]="DayPeriodsFormat",an[an.DayPeriodsStandalone=2]="DayPeriodsStandalone",an[an.DaysFormat=3]="DaysFormat",an[an.DaysStandalone=4]="DaysStandalone",an[an.MonthsFormat=5]="MonthsFormat",an[an.MonthsStandalone=6]="MonthsStandalone",an[an.Eras=7]="Eras",an[an.FirstDayOfWeek=8]="FirstDayOfWeek",an[an.WeekendRange=9]="WeekendRange",an[an.DateFormat=10]="DateFormat",an[an.TimeFormat=11]="TimeFormat",an[an.DateTimeFormat=12]="DateTimeFormat",an[an.NumberSymbols=13]="NumberSymbols",an[an.NumberFormats=14]="NumberFormats",an[an.CurrencyCode=15]="CurrencyCode",an[an.CurrencySymbol=16]="CurrencySymbol",an[an.CurrencyName=17]="CurrencyName",an[an.Currencies=18]="Currencies",an[an.Directionality=19]="Directionality",an[an.PluralCase=20]="PluralCase",an[an.ExtraData=21]="ExtraData",an))();const Ma="en-US";let Zf=Ma;function _u(e,t,n,i,r){if(e=Y(e),Array.isArray(e))for(let o=0;o<e.length;o++)_u(e[o],t,n,i,r);else{const o=On(),u=Dt();let p=Ys(e)?e:Y(e.provide),v=Yd(e);const O=mi(),H=1048575&O.providerIndexes,ue=O.directiveStart,Re=O.providerIndexes>>20;if(Ys(e)||!e.multi){const qe=new Je(v,r,ha),_t=vu(p,t,r?H:H+Re,ue);-1===_t?(l(Do(O,u),o,p),yu(o,e,t.length),t.push(p),O.directiveStart++,O.directiveEnd++,r&&(O.providerIndexes+=1048576),n.push(qe),u.push(qe)):(n[_t]=qe,u[_t]=qe)}else{const qe=vu(p,t,H+Re,ue),_t=vu(p,t,H,H+Re),Ut=_t>=0&&n[_t];if(r&&!Ut||!r&&!(qe>=0&&n[qe])){l(Do(O,u),o,p);const Yt=function q0(e,t,n,i,r){const o=new Je(e,n,ha);return o.multi=[],o.index=t,o.componentProviders=0,Dp(o,r,i&&!n),o}(r?X0:Q0,n.length,r,i,v);!r&&Ut&&(n[_t].providerFactory=Yt),yu(o,e,t.length,0),t.push(p),O.directiveStart++,O.directiveEnd++,r&&(O.providerIndexes+=1048576),n.push(Yt),u.push(Yt)}else yu(o,e,qe>-1?qe:_t,Dp(n[r?_t:qe],v,!r&&i));!r&&i&&Ut&&n[_t].componentProviders++}}}function yu(e,t,n,i){const r=Ys(t),o=function m_(e){return!!e.useClass}(t);if(r||o){const v=(o?Y(t.useClass):t).prototype.ngOnDestroy;if(v){const O=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const H=O.indexOf(n);-1===H?O.push(n,[i,v]):O[H+1].push(i,v)}else O.push(n,v)}}}function Dp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function vu(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function Q0(e,t,n,i){return Du(this.multi,[])}function X0(e,t,n,i){const r=this.multi;let o;if(this.providerFactory){const u=this.providerFactory.componentProviders,p=rt(n,n[kt],this.providerFactory.index,i);o=p.slice(0,u),Du(r,o);for(let v=u;v<p.length;v++)o.push(p[v])}else o=[],Du(r,o);return o}function Du(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function bp(e,t=[]){return n=>{n.providersResolver=(i,r)=>function Z0(e,t,n){const i=On();if(i.firstCreatePass){const r=Ni(e);_u(n,i.data,i.blueprint,r,!0),_u(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class Ta{}class Ep{}function J0(e,t){return new Cp(e,t??null)}class Cp extends Ta{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Lh(this);const i=vi(t);this._bootstrapComponents=ks(i.bootstrap),this._r3Injector=ph(t,n,[{provide:Ta,useValue:this},{provide:La,useValue:this.componentFactoryResolver}],J(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 bu extends Ep{constructor(t){super(),this.moduleType=t}create(t){return new Cp(this.moduleType,t)}}class eD extends Ta{constructor(t,n,i){super(),this.componentFactoryResolver=new Lh(this),this.instance=null;const r=new Kd([...t,{provide:Ta,useValue:this},{provide:La,useValue:this.componentFactoryResolver}],n||cl(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Eu(e,t,n=null){return new eD(e,t,n).injector}let tD=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const i=$d(0,n.type),r=i.length>0?Eu([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,r)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=De({token:e,providedIn:"environment",factory:()=>new e(It(Zs))}),e})();function wp(e){e.getStandaloneInjector=t=>t.get(tD).getOrCreateStandaloneInjector(e)}function Pp(e,t,n){const i=ei()+e,r=Dt();return r[i]===Cn?vs(r,i,n?t.call(n):t()):Va(r,i)}function xp(e,t,n,i){return Up(Dt(),ei(),e,t,n,i)}function Rp(e,t,n,i,r){return jp(Dt(),ei(),e,t,n,i,r)}function kp(e,t,n,i,r,o){return Hp(Dt(),ei(),e,t,n,i,r,o)}function Fp(e,t,n,i,r,o,u){return Vp(Dt(),ei(),e,t,n,i,r,o,u)}function Lp(e,t,n,i,r,o,u,p){const v=ei()+e,O=Dt(),H=Bo(O,v,n,i,r,o);return Rr(O,v+4,u)||H?vs(O,v+5,p?t.call(p,n,i,r,o,u):t(n,i,r,o,u)):Va(O,v+5)}function Np(e,t,n,i,r,o,u,p,v){const O=ei()+e,H=Dt(),ue=Bo(H,O,n,i,r,o);return Xs(H,O+4,u,p)||ue?vs(H,O+6,v?t.call(v,n,i,r,o,u,p):t(n,i,r,o,u,p)):Va(H,O+6)}function Bp(e,t,n,i){return $p(Dt(),ei(),e,t,n,i)}function Za(e,t){const n=e[t];return n===Cn?void 0:n}function Up(e,t,n,i,r,o){const u=t+n;return Rr(e,u,r)?vs(e,u+1,o?i.call(o,r):i(r)):Za(e,u+1)}function jp(e,t,n,i,r,o,u){const p=t+n;return Xs(e,p,r,o)?vs(e,p+2,u?i.call(u,r,o):i(r,o)):Za(e,p+2)}function Hp(e,t,n,i,r,o,u,p){const v=t+n;return yl(e,v,r,o,u)?vs(e,v+3,p?i.call(p,r,o,u):i(r,o,u)):Za(e,v+3)}function Vp(e,t,n,i,r,o,u,p,v){const O=t+n;return Bo(e,O,r,o,u,p)?vs(e,O+4,v?i.call(v,r,o,u,p):i(r,o,u,p)):Za(e,O+4)}function $p(e,t,n,i,r,o){let u=t+n,p=!1;for(let v=0;v<r.length;v++)Rr(e,u++,r[v])&&(p=!0);return p?vs(e,u,i.apply(o,r)):Za(e,u)}function zp(e,t){const n=On();let i;const r=e+En;n.firstCreatePass?(i=function hD(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=kn(i.type)),u=Te(ha);try{const p=jr(!1),v=o();return jr(p),function dv(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,Dt(),r,v),v}finally{Te(u)}}function Wp(e,t,n){const i=e+En,r=Dt(),o=vr(r,i);return Qa(r,i)?Up(r,ei(),t,o.transform,n,o):o.transform(n)}function Gp(e,t,n,i){const r=e+En,o=Dt(),u=vr(o,r);return Qa(o,r)?jp(o,ei(),t,u.transform,n,i,u):u.transform(n,i)}function Kp(e,t,n,i,r){const o=e+En,u=Dt(),p=vr(u,o);return Qa(u,o)?Hp(u,ei(),t,p.transform,n,i,r,p):p.transform(n,i,r)}function Yp(e,t,n,i,r,o){const u=e+En,p=Dt(),v=vr(p,u);return Qa(p,u)?Vp(p,ei(),t,v.transform,n,i,r,o,v):v.transform(n,i,r,o)}function Zp(e,t,n){const i=e+En,r=Dt(),o=vr(r,i);return Qa(r,i)?$p(r,ei(),t,o.transform,n,o):o.transform.apply(o,n)}function Qa(e,t){return e[kt].data[t].pure}function wu(e){return t=>{setTimeout(e,void 0,t)}}const bs=class fD 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),u=i;if(t&&"object"==typeof t){const v=t;r=v.next?.bind(v),o=v.error?.bind(v),u=v.complete?.bind(v)}this.__isAsync&&(o=wu(o),r&&(r=wu(r)),u&&(u=wu(u)));const p=super.subscribe({next:r,error:o,complete:u});return t instanceof d.w0&&t.add(p),p}};function pD(){return this._results[Symbol.iterator]()}class Pl{get changes(){return this._changes||(this._changes=new bs)}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=Pl.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=pD)}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 zn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ps(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()}}let Xa=(()=>{class e{}return e.__NG_ELEMENT_ID__=_D,e})();const gD=Xa,mD=class extends gD{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tView,r=dl(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);r[Zi]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[Fi];return null!==u&&(r[Fi]=u.createEmbeddedView(i)),Oc(i,r,t),new ja(r)}};function _D(){return xl(mi(),Dt())}function xl(e,t){return 4&e.type?new mD(t,e,ca(e,t)):null}let Rl=(()=>{class e{}return e.__NG_ELEMENT_ID__=yD,e})();function yD(){return qp(mi(),Dt())}const vD=Rl,Qp=class extends vD{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return ca(this._hostTNode,this._hostLView)}get injector(){return new cn(this._hostTNode,this._hostLView)}get parentInjector(){const t=E(this._hostTNode,this._hostLView);if(vo(t)){const n=No(t,this._hostLView),i=Ar(t);return new cn(n[kt].data[i+8],n)}return new cn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Xp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-hi}createEmbeddedView(t,n,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const u=t.createEmbeddedView(n||{},o);return this.insert(u,r),u}createComponent(t,n,i,r,o){const u=t&&!function Vr(e){return"function"==typeof e}(t);let p;if(u)p=n;else{const ue=n||{};p=ue.index,i=ue.injector,r=ue.projectableNodes,o=ue.environmentInjector||ue.ngModuleRef}const v=u?t:new Ha(wn(t)),O=i||this.parentInjector;if(!o&&null==v.ngModule){const Re=(u?O:this.parentInjector).get(Zs,null);Re&&(o=Re)}const H=v.create(O,r,void 0,o);return this.insert(H.hostView,p),H}insert(t,n){const i=t._lView,r=i[kt];if(function Oo(e){return Ii(e[In])}(i)){const H=this.indexOf(t);if(-1!==H)this.detach(H);else{const ue=i[In],Re=new Qp(ue,ue[An],ue[In]);Re.detach(Re.indexOf(t))}}const o=this._adjustIndex(n),u=this._lContainer;!function Im(e,t,n,i){const r=hi+i,o=n.length;i>0&&(n[r-1][Kn]=t),i<o-hi?(t[Kn]=n[r],f(n,hi+i,t)):(n.push(t),t[Kn]=null),t[In]=n;const u=t[Zi];null!==u&&n!==u&&function Am(e,t){const n=e[rr];t[di]!==t[In][In][di]&&(e[kr]=!0),null===n?e[rr]=[t]:n.push(t)}(u,t);const p=t[Fi];null!==p&&p.insertView(e),t[tn]|=64}(r,i,u,o);const p=rc(o,u),v=i[fn],O=tl(v,u[ir]);return null!==O&&function Mm(e,t,n,i,r,o){i[Ri]=r,i[An]=t,Ra(e,i,n,1,r,o)}(r,u[An],v,i,O,p),t.attachToViewContainerRef(),f(Mu(u),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Xp(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=tc(this._lContainer,n);i&&(c(Mu(this._lContainer),n),fd(i[kt],i))}detach(t){const n=this._adjustIndex(t,-1),i=tc(this._lContainer,n);return i&&null!=c(Mu(this._lContainer),n)?new ja(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Xp(e){return e[Di]}function Mu(e){return e[Di]||(e[Di]=[])}function qp(e,t){let n;const i=t[e.index];if(Ii(i))n=i;else{let r;if(8&e.type)r=Mn(i);else{const o=t[fn];r=o.createComment("");const u=Ei(e,t);Gs(o,tl(o,u),r,function Rm(e,t){return e.nextSibling(t)}(o,u),!1)}t[e.index]=n=Ph(i,t,r,e),fl(t,n)}return new Qp(n,e,t)}class Tu{constructor(t){this.queryList=t,this.matches=null}clone(){return new Tu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Su{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 u=n.getByIndex(o);r.push(this.queries[u.indexInDeclarationView].clone())}return new Su(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!==ag(t,n).matches&&this.queries[n].setDirty()}}class Jp{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Iu{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 Iu(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 Au{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 Au(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,DD(n,o)),this.matchTNodeWithReadOption(t,n,Xe(n,t,o,!1,!1))}else i===Xa?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Xe(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Na||r===Rl||r===Xa&&4&n.type)this.addMatch(n.index,-2);else{const o=Xe(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 DD(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 ED(e,t,n,i){return-1===n?function bD(e,t){return 11&e.type?ca(e,t):4&e.type?xl(e,t):null}(t,e):-2===n?function CD(e,t,n){return n===Na?ca(t,e):n===Xa?xl(t,e):n===Rl?qp(t,e):void 0}(e,t,i):rt(e,e[kt],n,t)}function eg(e,t,n,i){const r=t[Fi].queries[i];if(null===r.matches){const o=e.data,u=n.matches,p=[];for(let v=0;v<u.length;v+=2){const O=u[v];p.push(O<0?null:ED(t,o[O],u[v+1],n.metadata.read))}r.matches=p}return r.matches}function Ou(e,t,n,i){const r=e.queries.getByIndex(n),o=r.matches;if(null!==o){const u=eg(e,t,r,n);for(let p=0;p<o.length;p+=2){const v=o[p];if(v>0)i.push(u[p/2]);else{const O=o[p+1],H=t[-v];for(let ue=hi;ue<H.length;ue++){const Re=H[ue];Re[Zi]===Re[In]&&Ou(Re[kt],Re,O,i)}if(null!==H[rr]){const ue=H[rr];for(let Re=0;Re<ue.length;Re++){const qe=ue[Re];Ou(qe[kt],qe,O,i)}}}}}return i}function tg(e){const t=Dt(),n=On(),i=to();go(i+1);const r=ag(n,i);if(e.dirty&&function ho(e){return 4==(4&e[tn])}(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const o=r.crossesNgTemplate?Ou(n,t,i,[]):eg(n,t,r,i);e.reset(o,S_),e.notifyOnChanges()}return!0}return!1}function ng(e,t,n){const i=On();i.firstCreatePass&&(sg(i,new Jp(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),og(i,Dt(),t)}function ig(e,t,n,i){const r=On();if(r.firstCreatePass){const o=mi();sg(r,new Jp(t,n,i),o.index),function MD(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)}og(r,Dt(),n)}function rg(){return function wD(e,t){return e[Fi].queries[t].queryList}(Dt(),to())}function og(e,t,n){const i=new Pl(4==(4&n));Mh(e,t,i,i.destroy),null===t[Fi]&&(t[Fi]=new Su),t[Fi].queries.push(new Tu(i))}function sg(e,t,n){null===e.queries&&(e.queries=new Iu),e.queries.track(new Au(t,n))}function ag(e,t){return e.queries.getByIndex(t)}function lg(e,t){return xl(e,t)}function Pu(e){return!!vi(e)}function Fl(...e){}const Tg=new Vn("Application Initializer");let Ll=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Fl,this.reject=Fl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const o=this.appInits[r]();if(Qc(o))n.push(o);else if(tf(o)){const u=new Promise((p,v)=>{o.subscribe({complete:p,error:v})});n.push(u)}}Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(It(Tg,8))},e.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Sg=new Vn("AppId",{providedIn:"root",factory:function Ig(){return`${Lu()}${Lu()}${Lu()}`}});function Lu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ag=new Vn("Platform Initializer"),WD=new Vn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),GD=new Vn("AnimationModuleType");let KD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Nl=new Vn("LocaleId",{providedIn:"root",factory:()=>z(Nl,Ne.Optional|Ne.SkipSelf)||function YD(){return typeof $localize<"u"&&$localize.locale||Ma}()}),ZD=new Vn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class QD{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let XD=(()=>{class e{compileModuleSync(n){return new bu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),o=ks(vi(n).declarations).reduce((u,p)=>{const v=wn(p);return v&&u.push(new Ha(v)),u},[]);return new QD(i,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const eb=(()=>Promise.resolve(0))();function Nu(e){typeof Zone>"u"?eb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Uo{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bs(!1),this.onMicrotaskEmpty=new bs(!1),this.onStable=new bs(!1),this.onError=new bs(!1),typeof Zone>"u")throw new ye(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 tb(){let e=at.requestAnimationFrame,t=at.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function rb(e){const t=()=>{!function ib(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(at,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Uu(e),e.isCheckStableRunning=!0,Bu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Uu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,u,p)=>{try{return xg(e),n.invokeTask(r,o,u,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Rg(e)}},onInvoke:(n,i,r,o,u,p,v)=>{try{return xg(e),n.invoke(r,o,u,p,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),Rg(e)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Uu(e),Bu(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(!Uo.isInAngularZone())throw new ye(909,!1)}static assertNotInAngularZone(){if(Uo.isInAngularZone())throw new ye(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const o=this._inner,u=o.scheduleEventTask("NgZoneEvent: "+r,t,nb,Fl,Fl);try{return o.runTask(u,n,i)}finally{o.cancelTask(u)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const nb={};function Bu(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 Uu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function xg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Rg(e){e._nesting--,Bu(e)}class ob{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bs,this.onMicrotaskEmpty=new bs,this.onStable=new bs,this.onError=new bs}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 kg=new Vn(""),Fg=new Vn("");let ju,sb=(()=>{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,ju||(function ab(e){ju=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:()=>{Uo.assertNotInAngularZone(),Nu(()=>{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())Nu(()=>{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(u=>u.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[]}}return e.\u0275fac=function(n){return new(n||e)(It(Uo),It(Lg),It(Fg))},e.\u0275prov=De({token:e,factory:e.\u0275fac}),e})(),Lg=(()=>{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 ju?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Ls=!1;let $s=null;const Ng=new Vn("AllowMultipleToken"),Hu=new Vn("PlatformDestroyListeners"),Bg=new Vn("appBootstrapListener");class ub{constructor(t,n){this.name=t,this.token=n}}function jg(e,t,n=[]){const i=`Platform: ${t}`,r=new Vn(i);return(o=[])=>{let u=Vu();if(!u||u.injector.get(Ng,!1)){const p=[...n,...o,{provide:r,useValue:!0}];e?e(p):function db(e){if($s&&!$s.get(Ng,!1))throw new ye(400,!1);$s=e;const t=e.get(Vg);(function Ug(e){const t=e.get(Ag,null);t&&t.forEach(n=>n())})(e)}(function Hg(e=[],t){return Qs.create({name:t,providers:[{provide:yc,useValue:"platform"},{provide:Hu,useValue:new Set([()=>$s=null])},...e]})}(p,i))}return function fb(e){const t=Vu();if(!t)throw new ye(401,!1);return t}()}}function Vu(){return $s?.get(Vg)??null}let Vg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function zg(e,t){let n;return n="noop"===e?new ob:("zone.js"===e?void 0:e)||new Uo(t),n}(i?.ngZone,function $g(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:Uo,useValue:r}];return r.run(()=>{const u=Qs.create({providers:o,parent:this.injector,name:n.moduleType.name}),p=n.create(u),v=p.injector.get(Ba,null);if(!v)throw new ye(402,!1);return r.runOutsideAngular(()=>{const O=r.onError.subscribe({next:H=>{v.handleError(H)}});p.onDestroy(()=>{Ul(this._modules,p),O.unsubscribe()})}),function Wg(e,t,n){try{const i=n();return Qc(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(v,r,()=>{const O=p.injector.get(Ll);return O.runInitializers(),O.donePromise.then(()=>(function Qf(e){ot(e,"Expected localeId to be defined"),"string"==typeof e&&(Zf=e.toLowerCase().replace(/_/g,"-"))}(p.injector.get(Nl,Ma)||Ma),this._moduleDoBootstrap(p),p))})})}bootstrapModule(n,i=[]){const r=Gg({},i);return function lb(e,t,n){const i=new bu(n);return Promise.resolve(i)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(n){const i=n.injector.get(Bl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new ye(-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 ye(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Hu,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(It(Qs))},e.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Gg(e,t){return Array.isArray(t)?t.reduce(Gg,e):{...e,...t}}let Bl=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,i,r){this._zone=n,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new C.y(p=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{p.next(this._stable),p.complete()})}),u=new C.y(p=>{let v;this._zone.runOutsideAngular(()=>{v=this._zone.onStable.subscribe(()=>{Uo.assertNotInAngularZone(),Nu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,p.next(!0))})})});const O=this._zone.onUnstable.subscribe(()=>{Uo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{p.next(!1)}))});return()=>{v.unsubscribe(),O.unsubscribe()}});this.isStable=(0,$.T)(o,u.pipe((0,k.B)()))}bootstrap(n,i){const r=n instanceof Zd;if(!this._injector.get(Ll).done){!r&&er(n);throw new ye(405,Ls)}let u;u=r?n:this._injector.get(La).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const p=function cb(e){return e.isBoundToModule}(u)?void 0:this._injector.get(Ta),O=u.create(Qs.NULL,[],i||u.selector,p),H=O.location.nativeElement,ue=O.injector.get(kg,null);return ue?.registerApplication(H),O.onDestroy(()=>{this.detachView(O.hostView),Ul(this.components,O),ue?.unregisterApplication(H)}),this._loadComponent(O),O}tick(){if(this._runningTick)throw new ye(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Ul(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Bg,[]);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()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ul(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ye(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(It(Uo),It(Zs),It(Ba))},e.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ul(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function gb(){return!1}function mb(){}let _b=(()=>{class e{}return e.__NG_ELEMENT_ID__=yb,e})();function yb(e){return function vb(e,t,n){if(lo(e)&&!n){const i=Jn(e.index,t);return new ja(i,i)}return 47&e.type?new ja(t[di],t):null}(mi(),Dt(),16==(16&e))}class Xg{constructor(){}supports(t){return _l(t)}create(t){return new Mb(t)}}const wb=(e,t)=>t;class Mb{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||wb}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 u=!i||n&&n.currentIndex<Jg(i,r,o)?n:i,p=Jg(u,r,o),v=u.currentIndex;if(u===i)r--,i=i._nextRemoved;else if(n=n._next,null==u.previousIndex)r++;else{o||(o=[]);const O=p-r,H=v-r;if(O!=H){for(let Re=0;Re<O;Re++){const qe=Re<o.length?o[Re]:o[Re]=0,_t=qe+Re;H<=_t&&_t<O&&(o[Re]=qe+1)}o[u.previousIndex]=H-O}}p!==v&&t(u,p,v)}}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=[]),!_l(t))throw new ye(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,o,u,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let p=0;p<this.length;p++)o=t[p],u=this._trackByFn(p,o),null!==n&&Object.is(n.trackById,u)?(i&&(n=this._verifyReinsertion(n,o,u,p)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,u,p),i=!0),n=n._next}else r=0,function av(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,p=>{u=this._trackByFn(r,p),null!==n&&Object.is(n.trackById,u)?(i&&(n=this._verifyReinsertion(n,p,u,r)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,u,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 Tb(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 qg),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 qg),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 Tb{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 Sb{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 qg{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new Sb,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 Jg(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 em{constructor(){}supports(t){return t instanceof Map||zc(t)}create(){return new Ib}}class Ib{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||zc(t)))throw new ye(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,u=r._next;return o&&(o._next=u),u&&(u._prev=o),r._next=null,r._prev=null,r}const i=new Ab(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 Ab{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 tm(){return new Ku([new Xg])}let Ku=(()=>{class e{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||tm()),deps:[[e,new N,new b]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new ye(901,!1)}}return e.\u0275prov=De({token:e,providedIn:"root",factory:tm}),e})();function nm(){return new Yu([new em])}let Yu=(()=>{class e{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||nm()),deps:[[e,new N,new b]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new ye(901,!1)}}return e.\u0275prov=De({token:e,providedIn:"root",factory:nm}),e})();const xb=jg(null,"core",[]);let Rb=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(It(Bl))},e.\u0275mod=yi({type:e}),e.\u0275inj=Mt({}),e})();function kb(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},3238:(yt,Ee,g)=>{g.d(Ee,{yN:()=>ze,mZ:()=>xe,_A:()=>vt,rD:()=>Mt,sG:()=>ft,Ad:()=>tt,K7:()=>St,HF:()=>it,Y2:()=>Qe,BQ:()=>q,XK:()=>De,ey:()=>xn,Ng:()=>ut,rN:()=>nn,wG:()=>ct,si:()=>at,CB:()=>Nn,jH:()=>It,pj:()=>Ge,Kr:()=>bt,Id:()=>Ze,FD:()=>Oe,dB:()=>Ye,sb:()=>st});var s=g(94650),d=g(12693),C=g(40445),k=g(36895),ee=g(83353),ce=g(21281),J=g(69751),ne=g(77579),R=g(29521);const Ae=["text"];function be(z,x){if(1&z&&s._UZ(0,"mat-pseudo-checkbox",6),2&z){const A=s.oxw();s.Q6J("state",A.selected?"checked":"unchecked")("disabled",A.disabled)}}function Be(z,x){if(1&z&&s._UZ(0,"mat-pseudo-checkbox",7),2&z){const A=s.oxw();s.Q6J("disabled",A.disabled)}}function ke(z,x){if(1&z&&(s.TgZ(0,"span",8),s._uU(1),s.qZA()),2&z){const A=s.oxw();s.xp6(1),s.hij("(",A.group.label,")")}}const ye=[[["mat-icon"]],"*"],je=["mat-icon","*"];let ze=(()=>{class z{}return z.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",z.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",z.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",z.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",z})(),xe=(()=>{class z{}return z.COMPLEX="375ms",z.ENTERING="225ms",z.EXITING="195ms",z})();const se=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function U(){return!0}});let q=(()=>{class z{constructor(A,ie,Ie){this._sanityChecks=ie,this._document=Ie,this._hasDoneGlobalChecks=!1,A._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(A){return!(0,ee.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[A])}}return z.\u0275fac=function(A){return new(A||z)(s.LFG(d.qm),s.LFG(se,8),s.LFG(k.K0))},z.\u0275mod=s.oAB({type:z}),z.\u0275inj=s.cJS({imports:[C.vT,C.vT]}),z})();function Ze(z){return class extends z{get disabled(){return this._disabled}set disabled(x){this._disabled=(0,ce.Ig)(x)}constructor(...x){super(...x),this._disabled=!1}}}function Ge(z,x){return class extends z{get color(){return this._color}set color(A){const ie=A||this.defaultColor;ie!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),ie&&this._elementRef.nativeElement.classList.add(`mat-${ie}`),this._color=ie)}constructor(...A){super(...A),this.defaultColor=x,this.color=x}}}function bt(z){return class extends z{get disableRipple(){return this._disableRipple}set disableRipple(x){this._disableRipple=(0,ce.Ig)(x)}constructor(...x){super(...x),this._disableRipple=!1}}}function st(z,x=0){return class extends z{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(A){this._tabIndex=null!=A?(0,ce.su)(A):this.defaultTabIndex}constructor(...A){super(...A),this._tabIndex=x,this.defaultTabIndex=x}}}function Oe(z){return class extends z{updateErrorState(){const x=this.errorState,te=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);te!==x&&(this.errorState=te,this.stateChanges.next())}constructor(...x){super(...x),this.errorState=!1}}}function Ye(z){return class extends z{constructor(...x){super(...x),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new J.y(A=>{this._isInitialized?this._notifySubscriber(A):this._pendingSubscribers.push(A)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(x){x.next(),x.complete()}}}const tt=new s.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function lt(){return(0,s.f3M)(s.soG)}});class vt{constructor(){this._localeChanges=new ne.x,this.localeChanges=this._localeChanges}getValidDateOrNull(x){return this.isDateInstance(x)&&this.isValid(x)?x:null}deserialize(x){return null==x||this.isDateInstance(x)&&this.isValid(x)?x:this.invalid()}setLocale(x){this.locale=x,this._localeChanges.next()}compareDate(x,A){return this.getYear(x)-this.getYear(A)||this.getMonth(x)-this.getMonth(A)||this.getDate(x)-this.getDate(A)}sameDate(x,A){if(x&&A){let ie=this.isValid(x),Ie=this.isValid(A);return ie&&Ie?!this.compareDate(x,A):ie==Ie}return x==A}clampDate(x,A,ie){return A&&this.compareDate(x,A)<0?A:ie&&this.compareDate(x,ie)>0?ie:x}}const ft=new s.OlP("mat-date-formats"),ot=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function fe(z,x){const A=Array(z);for(let ie=0;ie<z;ie++)A[ie]=x(ie);return A}let G=(()=>{class z extends vt{constructor(A,ie){super(),this.useUtcForDisplay=!1,super.setLocale(A)}getYear(A){return A.getFullYear()}getMonth(A){return A.getMonth()}getDate(A){return A.getDate()}getDayOfWeek(A){return A.getDay()}getMonthNames(A){const ie=new Intl.DateTimeFormat(this.locale,{month:A,timeZone:"utc"});return fe(12,Ie=>this._format(ie,new Date(2017,Ie,1)))}getDateNames(){const A=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return fe(31,ie=>this._format(A,new Date(2017,0,ie+1)))}getDayOfWeekNames(A){const ie=new Intl.DateTimeFormat(this.locale,{weekday:A,timeZone:"utc"});return fe(7,Ie=>this._format(ie,new Date(2017,0,Ie+1)))}getYearName(A){const ie=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(ie,A)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(A){return this.getDate(this._createDateWithOverflow(this.getYear(A),this.getMonth(A)+1,0))}clone(A){return new Date(A.getTime())}createDate(A,ie,Ie){let te=this._createDateWithOverflow(A,ie,Ie);return te.getMonth(),te}today(){return new Date}parse(A,ie){return"number"==typeof A?new Date(A):A?new Date(Date.parse(A)):null}format(A,ie){if(!this.isValid(A))throw Error("NativeDateAdapter: Cannot format invalid date.");const Ie=new Intl.DateTimeFormat(this.locale,{...ie,timeZone:"utc"});return this._format(Ie,A)}addCalendarYears(A,ie){return this.addCalendarMonths(A,12*ie)}addCalendarMonths(A,ie){let Ie=this._createDateWithOverflow(this.getYear(A),this.getMonth(A)+ie,this.getDate(A));return this.getMonth(Ie)!=((this.getMonth(A)+ie)%12+12)%12&&(Ie=this._createDateWithOverflow(this.getYear(Ie),this.getMonth(Ie),0)),Ie}addCalendarDays(A,ie){return this._createDateWithOverflow(this.getYear(A),this.getMonth(A),this.getDate(A)+ie)}toIso8601(A){return[A.getUTCFullYear(),this._2digit(A.getUTCMonth()+1),this._2digit(A.getUTCDate())].join("-")}deserialize(A){if("string"==typeof A){if(!A)return null;if(ot.test(A)){let ie=new Date(A);if(this.isValid(ie))return ie}}return super.deserialize(A)}isDateInstance(A){return A instanceof Date}isValid(A){return!isNaN(A.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(A,ie,Ie){const te=new Date;return te.setFullYear(A,ie,Ie),te.setHours(0,0,0,0),te}_2digit(A){return("00"+A).slice(-2)}_format(A,ie){const Ie=new Date;return Ie.setUTCFullYear(ie.getFullYear(),ie.getMonth(),ie.getDate()),Ie.setUTCHours(ie.getHours(),ie.getMinutes(),ie.getSeconds(),ie.getMilliseconds()),A.format(Ie)}}return z.\u0275fac=function(A){return new(A||z)(s.LFG(tt,8),s.LFG(ee.t4))},z.\u0275prov=s.Yz7({token:z,factory:z.\u0275fac}),z})();const w={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let K=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=s.oAB({type:z}),z.\u0275inj=s.cJS({providers:[{provide:vt,useClass:G}]}),z})(),De=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=s.oAB({type:z}),z.\u0275inj=s.cJS({providers:[{provide:ft,useValue:w}],imports:[K]}),z})(),Mt=(()=>{class z{isErrorState(A,ie){return!!(A&&A.invalid&&(A.touched||ie&&ie.submitted))}}return z.\u0275fac=function(A){return new(A||z)},z.\u0275prov=s.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();class mn{constructor(x,A,ie,Ie=!1){this._renderer=x,this.element=A,this.config=ie,this._animationForciblyDisabledThroughCss=Ie,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const zt=(0,ee.i$)({passive:!0,capture:!0});class bn{constructor(){this._events=new Map,this._delegateEventHandler=x=>{const A=(0,ee.sA)(x);A&&this._events.get(x.type)?.forEach((ie,Ie)=>{(Ie===A||Ie.contains(A))&&ie.forEach(te=>te.handleEvent(x))})}}addHandler(x,A,ie,Ie){const te=this._events.get(A);if(te){const re=te.get(ie);re?re.add(Ie):te.set(ie,new Set([Ie]))}else this._events.set(A,new Map([[ie,new Set([Ie])]])),x.runOutsideAngular(()=>{document.addEventListener(A,this._delegateEventHandler,zt)})}removeHandler(x,A,ie){const Ie=this._events.get(x);if(!Ie)return;const te=Ie.get(A);te&&(te.delete(ie),0===te.size&&Ie.delete(A),0===Ie.size&&(this._events.delete(x),document.removeEventListener(x,this._delegateEventHandler,zt)))}}const Pn={enterDuration:225,exitDuration:150},yn=(0,ee.i$)({passive:!0,capture:!0}),Ne=["mousedown","touchstart"],V=["mouseup","mouseleave","touchend","touchcancel"];class de{constructor(x,A,ie,Ie){this._target=x,this._ngZone=A,this._platform=Ie,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ie.isBrowser&&(this._containerElement=(0,ce.fI)(ie))}fadeInRipple(x,A,ie={}){const Ie=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),te={...Pn,...ie.animation};ie.centered&&(x=Ie.left+Ie.width/2,A=Ie.top+Ie.height/2);const re=ie.radius||function Te(z,x,A){const ie=Math.max(Math.abs(z-A.left),Math.abs(z-A.right)),Ie=Math.max(Math.abs(x-A.top),Math.abs(x-A.bottom));return Math.sqrt(ie*ie+Ie*Ie)}(x,A,Ie),Ce=x-Ie.left,$e=A-Ie.top,Fe=te.enterDuration,wt=document.createElement("div");wt.classList.add("mat-ripple-element"),wt.style.left=Ce-re+"px",wt.style.top=$e-re+"px",wt.style.height=2*re+"px",wt.style.width=2*re+"px",null!=ie.color&&(wt.style.backgroundColor=ie.color),wt.style.transitionDuration=`${Fe}ms`,this._containerElement.appendChild(wt);const he=window.getComputedStyle(wt),T=he.transitionDuration,I="none"===he.transitionProperty||"0s"===T||"0s, 0s"===T||0===Ie.width&&0===Ie.height,W=new mn(this,wt,ie,I);wt.style.transform="scale3d(1, 1, 1)",W.state=0,ie.persistent||(this._mostRecentTransientRipple=W);let ae=null;return!I&&(Fe||te.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const He=()=>this._finishRippleTransition(W),Et=()=>this._destroyRipple(W);wt.addEventListener("transitionend",He),wt.addEventListener("transitioncancel",Et),ae={onTransitionEnd:He,onTransitionCancel:Et}}),this._activeRipples.set(W,ae),(I||!Fe)&&this._finishRippleTransition(W),W}fadeOutRipple(x){if(2===x.state||3===x.state)return;const A=x.element,ie={...Pn,...x.config.animation};A.style.transitionDuration=`${ie.exitDuration}ms`,A.style.opacity="0",x.state=2,(x._animationForciblyDisabledThroughCss||!ie.exitDuration)&&this._finishRippleTransition(x)}fadeOutAll(){this._getActiveRipples().forEach(x=>x.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(x=>{x.config.persistent||x.fadeOut()})}setupTriggerEvents(x){const A=(0,ce.fI)(x);!this._platform.isBrowser||!A||A===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=A,Ne.forEach(ie=>{de._eventManager.addHandler(this._ngZone,ie,A,this)}))}handleEvent(x){"mousedown"===x.type?this._onMousedown(x):"touchstart"===x.type?this._onTouchStart(x):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{V.forEach(A=>{this._triggerElement.addEventListener(A,this,yn)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(x){0===x.state?this._startFadeOutTransition(x):2===x.state&&this._destroyRipple(x)}_startFadeOutTransition(x){const A=x===this._mostRecentTransientRipple,{persistent:ie}=x.config;x.state=1,!ie&&(!A||!this._isPointerDown)&&x.fadeOut()}_destroyRipple(x){const A=this._activeRipples.get(x)??null;this._activeRipples.delete(x),this._activeRipples.size||(this._containerRect=null),x===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),x.state=3,null!==A&&(x.element.removeEventListener("transitionend",A.onTransitionEnd),x.element.removeEventListener("transitioncancel",A.onTransitionCancel)),x.element.remove()}_onMousedown(x){const A=(0,d.X6)(x),ie=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!A&&!ie&&(this._isPointerDown=!0,this.fadeInRipple(x.clientX,x.clientY,this._target.rippleConfig))}_onTouchStart(x){if(!this._target.rippleDisabled&&!(0,d.yG)(x)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const A=x.changedTouches;for(let ie=0;ie<A.length;ie++)this.fadeInRipple(A[ie].clientX,A[ie].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(x=>{!x.config.persistent&&(1===x.state||x.config.terminateOnPointerUp&&0===x.state)&&x.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const x=this._triggerElement;x&&(Ne.forEach(A=>de._eventManager.removeHandler(A,x,this)),this._pointerUpEventsRegistered&&V.forEach(A=>x.removeEventListener(A,this,yn)))}}de._eventManager=new bn;const Qe=new s.OlP("mat-ripple-global-options");let ct=(()=>{class z{get disabled(){return this._disabled}set disabled(A){A&&this.fadeOutAllNonPersistent(),this._disabled=A,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(A){this._trigger=A,this._setupTriggerEventsIfEnabled()}constructor(A,ie,Ie,te,re){this._elementRef=A,this._animationMode=re,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=te||{},this._rippleRenderer=new de(this,ie,A,Ie)}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(A,ie=0,Ie){return"number"==typeof A?this._rippleRenderer.fadeInRipple(A,ie,{...this.rippleConfig,...Ie}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...A})}}return z.\u0275fac=function(A){return new(A||z)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(ee.t4),s.Y36(Qe,8),s.Y36(s.QbO,8))},z.\u0275dir=s.lG2({type:z,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(A,ie){2&A&&s.ekj("mat-ripple-unbounded",ie.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"]}),z})(),at=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=s.oAB({type:z}),z.\u0275inj=s.cJS({imports:[q,q]}),z})(),pt=(()=>{class z{constructor(A){this._animationMode=A,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return z.\u0275fac=function(A){return new(A||z)(s.Y36(s.QbO,8))},z.\u0275cmp=s.Xpm({type:z,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(A,ie){2&A&&s.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===ie.state)("mat-pseudo-checkbox-checked","checked"===ie.state)("mat-pseudo-checkbox-disabled",ie.disabled)("mat-pseudo-checkbox-minimal","minimal"===ie.appearance)("mat-pseudo-checkbox-full","full"===ie.appearance)("_mat-animation-noopable","NoopAnimations"===ie._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(A,ie){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),z})(),_e=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=s.oAB({type:z}),z.\u0275inj=s.cJS({imports:[q]}),z})();const it=new s.OlP("MAT_OPTION_PARENT_COMPONENT"),St=new s.OlP("MatOptgroup");let Ot=0;class nn{constructor(x,A=!1){this.source=x,this.isUserInput=A}}let jt=(()=>{class z{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(A){this._disabled=(0,ce.Ig)(A)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(A,ie,Ie,te){this._element=A,this._changeDetectorRef=ie,this._parent=Ie,this.group=te,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ot++,this.onSelectionChange=new s.vpe,this._stateChanges=new ne.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(A,ie){const Ie=this._getHostElement();"function"==typeof Ie.focus&&Ie.focus(ie)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(A){(A.keyCode===R.K5||A.keyCode===R.L_)&&!(0,R.Vb)(A)&&(this._selectViaInteraction(),A.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const A=this.viewValue;A!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=A)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(A=!1){this.onSelectionChange.emit(new nn(this,A))}}return z.\u0275fac=function(A){s.$Z()},z.\u0275dir=s.lG2({type:z,viewQuery:function(A,ie){if(1&A&&s.Gf(Ae,7),2&A){let Ie;s.iGM(Ie=s.CRH())&&(ie._text=Ie.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),z})(),xn=(()=>{class z extends jt{constructor(A,ie,Ie,te){super(A,ie,Ie,te)}}return z.\u0275fac=function(A){return new(A||z)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(it,8),s.Y36(St,8))},z.\u0275cmp=s.Xpm({type:z,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(A,ie){1&A&&s.NdJ("click",function(){return ie._selectViaInteraction()})("keydown",function(te){return ie._handleKeydown(te)}),2&A&&(s.Ikx("id",ie.id),s.uIk("tabindex",ie._getTabIndex())("aria-selected",ie.selected)("aria-disabled",ie.disabled.toString()),s.ekj("mdc-list-item--selected",ie.selected)("mat-mdc-option-multiple",ie.multiple)("mat-mdc-option-active",ie.active)("mdc-list-item--disabled",ie.disabled))},exportAs:["matOption"],features:[s.qOj],ngContentSelectors:je,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(A,ie){1&A&&(s.F$t(ye),s.YNc(0,be,1,2,"mat-pseudo-checkbox",0),s.Hsn(1),s.TgZ(2,"span",1,2),s.Hsn(4,1),s.qZA(),s.YNc(5,Be,1,1,"mat-pseudo-checkbox",3),s.YNc(6,ke,2,1,"span",4),s._UZ(7,"div",5)),2&A&&(s.Q6J("ngIf",ie.multiple),s.xp6(5),s.Q6J("ngIf",!ie.multiple&&ie.selected&&!ie.hideSingleSelectionIndicator),s.xp6(1),s.Q6J("ngIf",ie.group&&ie.group._inert),s.xp6(1),s.Q6J("matRippleTrigger",ie._getHostElement())("matRippleDisabled",ie.disabled||ie.disableRipple))},dependencies:[ct,k.O5,pt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),z})();function Nn(z,x,A){if(A.length){let ie=x.toArray(),Ie=A.toArray(),te=0;for(let re=0;re<z+1;re++)ie[re].group&&ie[re].group===Ie[te]&&te++;return te}return 0}function It(z,x,A,ie){return z<A?z:z+x>A+ie?Math.max(0,z-ie+x):A}let ut=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=s.oAB({type:z}),z.\u0275inj=s.cJS({imports:[at,k.ez,q,_e]}),z})()},65412:(yt,Ee,g)=>{g.d(Ee,{WI:()=>xt,uw:()=>ln,Is:()=>ct,so:()=>et});var s=g(98184),d=g(36895),C=g(94650),$=g(12693),k=g(83353),ee=g(84080),ce=g(29521),J=g(77579),ne=g(49770),R=g(39646),Z=g(40445),Y=g(68675);function Ae(_e,it){}class be{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let ke=(()=>{class _e extends ee.en{constructor(ge,Le,mt,St,Ht,Ot,nn,jt){super(),this._elementRef=ge,this._focusTrapFactory=Le,this._config=St,this._interactivityChecker=Ht,this._ngZone=Ot,this._overlayRef=nn,this._focusMonitor=jt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=xn=>{this._portalOutlet.hasAttached();const Nn=this._portalOutlet.attachDomPortal(xn);return this._contentAttached(),Nn},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=mt}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(ge){this._portalOutlet.hasAttached();const Le=this._portalOutlet.attachComponentPortal(ge);return this._contentAttached(),Le}attachTemplatePortal(ge){this._portalOutlet.hasAttached();const Le=this._portalOutlet.attachTemplatePortal(ge);return this._contentAttached(),Le}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ge,Le){this._interactivityChecker.isFocusable(ge)||(ge.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const mt=()=>{ge.removeEventListener("blur",mt),ge.removeEventListener("mousedown",mt),ge.removeAttribute("tabindex")};ge.addEventListener("blur",mt),ge.addEventListener("mousedown",mt)})),ge.focus(Le)}_focusByCssSelector(ge,Le){let mt=this._elementRef.nativeElement.querySelector(ge);mt&&this._forceFocus(mt,Le)}_trapFocus(){const ge=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||ge.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Le=>{Le||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const ge=this._config.restoreFocus;let Le=null;if("string"==typeof ge?Le=this._document.querySelector(ge):"boolean"==typeof ge?Le=ge?this._elementFocusedBeforeDialogWasOpened:null:ge&&(Le=ge),this._config.restoreFocus&&Le&&"function"==typeof Le.focus){const mt=(0,k.ht)(),St=this._elementRef.nativeElement;(!mt||mt===this._document.body||mt===St||St.contains(mt))&&(this._focusMonitor?(this._focusMonitor.focusVia(Le,this._closeInteractionType),this._closeInteractionType=null):Le.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ge=this._elementRef.nativeElement,Le=(0,k.ht)();return ge===Le||ge.contains(Le)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,k.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return _e.\u0275fac=function(ge){return new(ge||_e)(C.Y36(C.SBq),C.Y36($.qV),C.Y36(d.K0,8),C.Y36(be),C.Y36($.ic),C.Y36(C.R0b),C.Y36(s.Iu),C.Y36($.tE))},_e.\u0275cmp=C.Xpm({type:_e,selectors:[["cdk-dialog-container"]],viewQuery:function(ge,Le){if(1&ge&&C.Gf(ee.Pl,7),2&ge){let mt;C.iGM(mt=C.CRH())&&(Le._portalOutlet=mt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(ge,Le){2&ge&&C.uIk("id",Le._config.id||null)("role",Le._config.role)("aria-modal",Le._config.ariaModal)("aria-labelledby",Le._config.ariaLabel?null:Le._ariaLabelledBy)("aria-label",Le._config.ariaLabel)("aria-describedby",Le._config.ariaDescribedBy||null)},features:[C.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ge,Le){1&ge&&C.YNc(0,Ae,0,0,"ng-template",0)},dependencies:[ee.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),_e})();class ye{constructor(it,ge){this.overlayRef=it,this.config=ge,this.closed=new J.x,this.disableClose=ge.disableClose,this.backdropClick=it.backdropClick(),this.keydownEvents=it.keydownEvents(),this.outsidePointerEvents=it.outsidePointerEvents(),this.id=ge.id,this.keydownEvents.subscribe(Le=>{Le.keyCode===ce.hY&&!this.disableClose&&!(0,ce.Vb)(Le)&&(Le.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=it.detachments().subscribe(()=>{!1!==ge.closeOnOverlayDetachments&&this.close()})}close(it,ge){if(this.containerInstance){const Le=this.closed;this.containerInstance._closeInteractionType=ge?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Le.next(it),Le.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(it="",ge=""){return this.overlayRef.updateSize({width:it,height:ge}),this}addPanelClass(it){return this.overlayRef.addPanelClass(it),this}removePanelClass(it){return this.overlayRef.removePanelClass(it),this}}const je=new C.OlP("DialogScrollStrategy"),Ke=new C.OlP("DialogData"),ze=new C.OlP("DefaultDialogConfig"),U={provide:je,deps:[s.aV],useFactory:function xe(_e){return()=>_e.scrollStrategies.block()}};let se=0,q=(()=>{class _e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(ge,Le,mt,St,Ht,Ot){this._overlay=ge,this._injector=Le,this._defaultOptions=mt,this._parentDialog=St,this._overlayContainer=Ht,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J.x,this._afterOpenedAtThisLevel=new J.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,ne.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Y.O)(void 0))),this._scrollStrategy=Ot}open(ge,Le){(Le={...this._defaultOptions||new be,...Le}).id=Le.id||"cdk-dialog-"+se++,Le.id&&this.getDialogById(Le.id);const St=this._getOverlayConfig(Le),Ht=this._overlay.create(St),Ot=new ye(Ht,Le),nn=this._attachContainer(Ht,Ot,Le);return Ot.containerInstance=nn,this._attachDialogContent(ge,Ot,nn,Le),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ot),Ot.closed.subscribe(()=>this._removeOpenDialog(Ot,!0)),this.afterOpened.next(Ot),Ot}closeAll(){oe(this.openDialogs,ge=>ge.close())}getDialogById(ge){return this.openDialogs.find(Le=>Le.id===ge)}ngOnDestroy(){oe(this._openDialogsAtThisLevel,ge=>{!1===ge.config.closeOnDestroy&&this._removeOpenDialog(ge,!1)}),oe(this._openDialogsAtThisLevel,ge=>ge.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(ge){const Le=new s.X_({positionStrategy:ge.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:ge.scrollStrategy||this._scrollStrategy(),panelClass:ge.panelClass,hasBackdrop:ge.hasBackdrop,direction:ge.direction,minWidth:ge.minWidth,minHeight:ge.minHeight,maxWidth:ge.maxWidth,maxHeight:ge.maxHeight,width:ge.width,height:ge.height,disposeOnNavigation:ge.closeOnNavigation});return ge.backdropClass&&(Le.backdropClass=ge.backdropClass),Le}_attachContainer(ge,Le,mt){const St=mt.injector||mt.viewContainerRef?.injector,Ht=[{provide:be,useValue:mt},{provide:ye,useValue:Le},{provide:s.Iu,useValue:ge}];let Ot;mt.container?"function"==typeof mt.container?Ot=mt.container:(Ot=mt.container.type,Ht.push(...mt.container.providers(mt))):Ot=ke;const nn=new ee.C5(Ot,mt.viewContainerRef,C.zs3.create({parent:St||this._injector,providers:Ht}),mt.componentFactoryResolver);return ge.attach(nn).instance}_attachDialogContent(ge,Le,mt,St){if(ge instanceof C.Rgc){const Ht=this._createInjector(St,Le,mt,void 0);let Ot={$implicit:St.data,dialogRef:Le};St.templateContext&&(Ot={...Ot,..."function"==typeof St.templateContext?St.templateContext():St.templateContext}),mt.attachTemplatePortal(new ee.UE(ge,null,Ot,Ht))}else{const Ht=this._createInjector(St,Le,mt,this._injector),Ot=mt.attachComponentPortal(new ee.C5(ge,St.viewContainerRef,Ht,St.componentFactoryResolver));Le.componentInstance=Ot.instance}}_createInjector(ge,Le,mt,St){const Ht=ge.injector||ge.viewContainerRef?.injector,Ot=[{provide:Ke,useValue:ge.data},{provide:ye,useValue:Le}];return ge.providers&&("function"==typeof ge.providers?Ot.push(...ge.providers(Le,ge,mt)):Ot.push(...ge.providers)),ge.direction&&(!Ht||!Ht.get(Z.Is,null,{optional:!0}))&&Ot.push({provide:Z.Is,useValue:{value:ge.direction,change:(0,R.of)()}}),C.zs3.create({parent:Ht||St,providers:Ot})}_removeOpenDialog(ge,Le){const mt=this.openDialogs.indexOf(ge);mt>-1&&(this.openDialogs.splice(mt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((St,Ht)=>{St?Ht.setAttribute("aria-hidden",St):Ht.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Le&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ge=this._overlayContainer.getContainerElement();if(ge.parentElement){const Le=ge.parentElement.children;for(let mt=Le.length-1;mt>-1;mt--){const St=Le[mt];St!==ge&&"SCRIPT"!==St.nodeName&&"STYLE"!==St.nodeName&&!St.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(St,St.getAttribute("aria-hidden")),St.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ge=this._parentDialog;return ge?ge._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return _e.\u0275fac=function(ge){return new(ge||_e)(C.LFG(s.aV),C.LFG(C.zs3),C.LFG(ze,8),C.LFG(_e,12),C.LFG(s.Xj),C.LFG(je))},_e.\u0275prov=C.Yz7({token:_e,factory:_e.\u0275fac}),_e})();function oe(_e,it){let ge=_e.length;for(;ge--;)it(_e[ge])}let le=(()=>{class _e{}return _e.\u0275fac=function(ge){return new(ge||_e)},_e.\u0275mod=C.oAB({type:_e}),_e.\u0275inj=C.cJS({providers:[q,U],imports:[s.U8,ee.eL,$.rt,ee.eL]}),_e})();var ve=g(21281),Ze=g(56451),Ge=g(39300),bt=g(95698),st=g(3238);function Ye(_e,it){}g(37340);class tt{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const lt="mdc-dialog--open",vt="mdc-dialog--opening",ft="mdc-dialog--closing";let G=(()=>{class _e extends ke{constructor(ge,Le,mt,St,Ht,Ot,nn,jt){super(ge,Le,mt,St,Ht,Ot,nn,jt),this._animationStateChanged=new C.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(ge){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ge})}}return _e.\u0275fac=function(ge){return new(ge||_e)(C.Y36(C.SBq),C.Y36($.qV),C.Y36(d.K0,8),C.Y36(tt),C.Y36($.ic),C.Y36(C.R0b),C.Y36(s.Iu),C.Y36($.tE))},_e.\u0275cmp=C.Xpm({type:_e,selectors:[["ng-component"]],features:[C.qOj],decls:0,vars:0,template:function(ge,Le){},encapsulation:2}),_e})();const w="--mat-dialog-transition-duration";function K(_e){return null==_e?null:"number"==typeof _e?_e:_e.endsWith("ms")?(0,ve.su)(_e.substring(0,_e.length-2)):_e.endsWith("s")?1e3*(0,ve.su)(_e.substring(0,_e.length-1)):"0"===_e?0:null}let De=(()=>{class _e extends G{constructor(ge,Le,mt,St,Ht,Ot,nn,jt,xn){super(ge,Le,mt,St,Ht,Ot,nn,xn),this._animationMode=jt,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?K(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?K(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(w,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(vt),this._hostElement.classList.add(lt),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(lt),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(lt),this._animationsEnabled?(this._hostElement.style.setProperty(w,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(ft),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(vt),this._hostElement.classList.remove(ft)}_waitForAnimationToComplete(ge,Le){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Le,ge)}}return _e.\u0275fac=function(ge){return new(ge||_e)(C.Y36(C.SBq),C.Y36($.qV),C.Y36(d.K0,8),C.Y36(tt),C.Y36($.ic),C.Y36(C.R0b),C.Y36(s.Iu),C.Y36(C.QbO,8),C.Y36($.tE))},_e.\u0275cmp=C.Xpm({type:_e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(ge,Le){2&ge&&(C.Ikx("id",Le._config.id),C.uIk("aria-modal",Le._config.ariaModal)("role",Le._config.role)("aria-labelledby",Le._config.ariaLabel?null:Le._ariaLabelledBy)("aria-label",Le._config.ariaLabel)("aria-describedby",Le._config.ariaDescribedBy||null),C.ekj("_mat-animation-noopable",!Le._animationsEnabled))},features:[C.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(ge,Le){1&ge&&(C.TgZ(0,"div",0)(1,"div",1),C.YNc(2,Ye,0,0,"ng-template",2),C.qZA()())},dependencies:[ee.Pl],styles:['.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-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),_e})();class et{constructor(it,ge,Le){this._ref=it,this._containerInstance=Le,this._afterOpened=new J.x,this._beforeClosed=new J.x,this._state=0,this.disableClose=ge.disableClose,this.id=it.id,Le._animationStateChanged.pipe((0,Ge.h)(mt=>"opened"===mt.state),(0,bt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Le._animationStateChanged.pipe((0,Ge.h)(mt=>"closed"===mt.state),(0,bt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),it.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Ze.T)(this.backdropClick(),this.keydownEvents().pipe((0,Ge.h)(mt=>mt.keyCode===ce.hY&&!this.disableClose&&!(0,ce.Vb)(mt)))).subscribe(mt=>{this.disableClose||(mt.preventDefault(),function Mt(_e,it,ge){_e._closeInteractionType=it,_e.close(ge)}(this,"keydown"===mt.type?"keyboard":"mouse"))})}close(it){this._result=it,this._containerInstance._animationStateChanged.pipe((0,Ge.h)(ge=>"closing"===ge.state),(0,bt.q)(1)).subscribe(ge=>{this._beforeClosed.next(it),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ge.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(it){let ge=this._ref.config.positionStrategy;return it&&(it.left||it.right)?it.left?ge.left(it.left):ge.right(it.right):ge.centerHorizontally(),it&&(it.top||it.bottom)?it.top?ge.top(it.top):ge.bottom(it.bottom):ge.centerVertically(),this._ref.updatePosition(),this}updateSize(it="",ge=""){return this._ref.updateSize(it,ge),this}addPanelClass(it){return this._ref.addPanelClass(it),this}removePanelClass(it){return this._ref.removePanelClass(it),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const xt=new C.OlP("MatMdcDialogData"),Lt=new C.OlP("mat-mdc-dialog-default-options"),Kt=new C.OlP("mat-mdc-dialog-scroll-strategy"),mn={provide:Kt,deps:[s.aV],useFactory:function hn(_e){return()=>_e.scrollStrategies.block()}};let bn=0,Pn=(()=>{class _e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ge=this._parentDialog;return ge?ge._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(ge,Le,mt,St,Ht,Ot,nn,jt,xn,Nn){this._overlay=ge,this._defaultOptions=mt,this._parentDialog=St,this._dialogRefConstructor=nn,this._dialogContainerType=jt,this._dialogDataToken=xn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J.x,this._afterOpenedAtThisLevel=new J.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=tt,this.afterAllClosed=(0,ne.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Y.O)(void 0))),this._scrollStrategy=Ot,this._dialog=Le.get(q)}open(ge,Le){let mt;(Le={...this._defaultOptions||new tt,...Le}).id=Le.id||`${this._idPrefix}${bn++}`,Le.scrollStrategy=Le.scrollStrategy||this._scrollStrategy();const St=this._dialog.open(ge,{...Le,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Le},{provide:be,useValue:Le}]},templateContext:()=>({dialogRef:mt}),providers:(Ht,Ot,nn)=>(mt=new this._dialogRefConstructor(Ht,Le,nn),mt.updatePosition(Le?.position),[{provide:this._dialogContainerType,useValue:nn},{provide:this._dialogDataToken,useValue:Ot.data},{provide:this._dialogRefConstructor,useValue:mt}])});return mt.componentInstance=St.componentInstance,this.openDialogs.push(mt),this.afterOpened.next(mt),mt.afterClosed().subscribe(()=>{const Ht=this.openDialogs.indexOf(mt);Ht>-1&&(this.openDialogs.splice(Ht,1),this.openDialogs.length||this._getAfterAllClosed().next())}),mt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ge){return this.openDialogs.find(Le=>Le.id===ge)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(ge){let Le=ge.length;for(;Le--;)ge[Le].close()}}return _e.\u0275fac=function(ge){C.$Z()},_e.\u0275prov=C.Yz7({token:_e,factory:_e.\u0275fac}),_e})(),ln=(()=>{class _e extends Pn{constructor(ge,Le,mt,St,Ht,Ot,nn,jt){super(ge,Le,St,Ot,nn,Ht,et,De,xt,jt),this._idPrefix="mat-mdc-dialog-"}}return _e.\u0275fac=function(ge){return new(ge||_e)(C.LFG(s.aV),C.LFG(C.zs3),C.LFG(d.Ye,8),C.LFG(Lt,8),C.LFG(Kt),C.LFG(_e,12),C.LFG(s.Xj),C.LFG(C.QbO,8))},_e.\u0275prov=C.Yz7({token:_e,factory:_e.\u0275fac}),_e})(),ct=(()=>{class _e{}return _e.\u0275fac=function(ge){return new(ge||_e)},_e.\u0275mod=C.oAB({type:_e}),_e.\u0275inj=C.cJS({providers:[ln,mn],imports:[le,s.U8,ee.eL,st.BQ,st.BQ]}),_e})()},10266:(yt,Ee,g)=>{g.d(Ee,{AV:()=>ft,gM:()=>Ye});var s=g(82722),d=g(95698),C=g(21281),$=g(29521),k=g(94650),ee=g(36895),ce=g(83353),J=g(12693),ne=g(40445),R=g(98184),Z=g(67376),Y=g(84080),Ae=g(77579),Be=(g(37340),g(3238));const ke=["tooltip"],Ke=new k.OlP("mat-tooltip-scroll-strategy"),xe={provide:Ke,deps:[R.aV],useFactory:function ze(ot){return()=>ot.scrollStrategies.reposition({scrollThrottle:20})}},se=new k.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function U(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),oe="tooltip-panel",le=(0,ce.i$)({passive:!0});let Oe=(()=>{class ot{get position(){return this._position}set position(G){G!==this._position&&(this._position=G,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(G){this._positionAtOrigin=(0,C.Ig)(G),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(G){this._disabled=(0,C.Ig)(G),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(G){this._showDelay=(0,C.su)(G)}get hideDelay(){return this._hideDelay}set hideDelay(G){this._hideDelay=(0,C.su)(G),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(G){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=G?String(G).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(G){this._tooltipClass=G,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(G,w,K,De,et,Mt,xt,Lt,Kt,hn,mn,zt){this._overlay=G,this._elementRef=w,this._scrollDispatcher=K,this._viewContainerRef=De,this._ngZone=et,this._platform=Mt,this._ariaDescriber=xt,this._focusMonitor=Lt,this._dir=hn,this._defaultOptions=mn,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ae.x,this._scrollStrategy=Kt,this._document=zt,mn&&(mn.position&&(this.position=mn.position),mn.positionAtOrigin&&(this.positionAtOrigin=mn.positionAtOrigin),mn.touchGestures&&(this.touchGestures=mn.touchGestures)),hn.change.pipe((0,s.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,s.R)(this._destroyed)).subscribe(G=>{G?"keyboard"===G&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const G=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([w,K])=>{G.removeEventListener(w,K,le)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(G,this.message,"tooltip"),this._focusMonitor.stopMonitoring(G)}show(G=this.showDelay,w){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const K=this._createOverlay(w);this._detach(),this._portal=this._portal||new Y.C5(this._tooltipComponent,this._viewContainerRef);const De=this._tooltipInstance=K.attach(this._portal).instance;De._triggerElement=this._elementRef.nativeElement,De._mouseLeaveHideDelay=this._hideDelay,De.afterHidden().pipe((0,s.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),De.show(G)}hide(G=this.hideDelay){const w=this._tooltipInstance;w&&(w.isVisible()?w.hide(G):(w._cancelPendingAnimations(),this._detach()))}toggle(G){this._isTooltipVisible()?this.hide():this.show(void 0,G)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(G){if(this._overlayRef){const De=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!G)&&De._origin instanceof k.SBq)return this._overlayRef;this._detach()}const w=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),K=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&G||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(w);return K.positionChanges.pipe((0,s.R)(this._destroyed)).subscribe(De=>{this._updateCurrentPositionClass(De.connectionPair),this._tooltipInstance&&De.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:K,panelClass:`${this._cssClassPrefix}-${oe}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,s.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,s.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,s.R)(this._destroyed)).subscribe(De=>{this._isTooltipVisible()&&De.keyCode===$.hY&&!(0,$.Vb)(De)&&(De.preventDefault(),De.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(G){const w=G.getConfig().positionStrategy,K=this._getOrigin(),De=this._getOverlayPosition();w.withPositions([this._addOffset({...K.main,...De.main}),this._addOffset({...K.fallback,...De.fallback})])}_addOffset(G){return G}_getOrigin(){const G=!this._dir||"ltr"==this._dir.value,w=this.position;let K;"above"==w||"below"==w?K={originX:"center",originY:"above"==w?"top":"bottom"}:"before"==w||"left"==w&&G||"right"==w&&!G?K={originX:"start",originY:"center"}:("after"==w||"right"==w&&G||"left"==w&&!G)&&(K={originX:"end",originY:"center"});const{x:De,y:et}=this._invertPosition(K.originX,K.originY);return{main:K,fallback:{originX:De,originY:et}}}_getOverlayPosition(){const G=!this._dir||"ltr"==this._dir.value,w=this.position;let K;"above"==w?K={overlayX:"center",overlayY:"bottom"}:"below"==w?K={overlayX:"center",overlayY:"top"}:"before"==w||"left"==w&&G||"right"==w&&!G?K={overlayX:"end",overlayY:"center"}:("after"==w||"right"==w&&G||"left"==w&&!G)&&(K={overlayX:"start",overlayY:"center"});const{x:De,y:et}=this._invertPosition(K.overlayX,K.overlayY);return{main:K,fallback:{overlayX:De,overlayY:et}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,d.q)(1),(0,s.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(G){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=G,this._tooltipInstance._markForCheck())}_invertPosition(G,w){return"above"===this.position||"below"===this.position?"top"===w?w="bottom":"bottom"===w&&(w="top"):"end"===G?G="start":"start"===G&&(G="end"),{x:G,y:w}}_updateCurrentPositionClass(G){const{overlayY:w,originX:K,originY:De}=G;let et;if(et="center"===w?this._dir&&"rtl"===this._dir.value?"end"===K?"left":"right":"start"===K?"left":"right":"bottom"===w&&"top"===De?"above":"below",et!==this._currentPosition){const Mt=this._overlayRef;if(Mt){const xt=`${this._cssClassPrefix}-${oe}-`;Mt.removePanelClass(xt+this._currentPosition),Mt.addPanelClass(xt+et)}this._currentPosition=et}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",G=>{let w;this._setupPointerExitEventsIfNeeded(),void 0!==G.x&&void 0!==G.y&&(w=G),this.show(void 0,w)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",G=>{const w=G.targetTouches?.[0],K=w?{x:w.clientX,y:w.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,K),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const G=[];if(this._platformSupportsMouseEvents())G.push(["mouseleave",w=>{const K=w.relatedTarget;(!K||!this._overlayRef?.overlayElement.contains(K))&&this.hide()}],["wheel",w=>this._wheelListener(w)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const w=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};G.push(["touchend",w],["touchcancel",w])}this._addListeners(G),this._passiveListeners.push(...G)}_addListeners(G){G.forEach(([w,K])=>{this._elementRef.nativeElement.addEventListener(w,K,le)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(G){if(this._isTooltipVisible()){const w=this._document.elementFromPoint(G.clientX,G.clientY),K=this._elementRef.nativeElement;w!==K&&!K.contains(w)&&this.hide()}}_disableNativeGesturesIfNecessary(){const G=this.touchGestures;if("off"!==G){const w=this._elementRef.nativeElement,K=w.style;("on"===G||"INPUT"!==w.nodeName&&"TEXTAREA"!==w.nodeName)&&(K.userSelect=K.msUserSelect=K.webkitUserSelect=K.MozUserSelect="none"),("on"===G||!w.draggable)&&(K.webkitUserDrag="none"),K.touchAction="none",K.webkitTapHighlightColor="transparent"}}}return ot.\u0275fac=function(G){k.$Z()},ot.\u0275dir=k.lG2({type:ot,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),ot})(),Ye=(()=>{class ot extends Oe{constructor(G,w,K,De,et,Mt,xt,Lt,Kt,hn,mn,zt){super(G,w,K,De,et,Mt,xt,Lt,Kt,hn,mn,zt),this._tooltipComponent=lt,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(G){const K=!this._dir||"ltr"==this._dir.value;return"top"===G.originY?G.offsetY=-8:"bottom"===G.originY?G.offsetY=8:"start"===G.originX?G.offsetX=K?-8:8:"end"===G.originX&&(G.offsetX=K?8:-8),G}}return ot.\u0275fac=function(G){return new(G||ot)(k.Y36(R.aV),k.Y36(k.SBq),k.Y36(Z.mF),k.Y36(k.s_b),k.Y36(k.R0b),k.Y36(ce.t4),k.Y36(J.$s),k.Y36(J.tE),k.Y36(Ke),k.Y36(ne.Is,8),k.Y36(se,8),k.Y36(ee.K0))},ot.\u0275dir=k.lG2({type:ot,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[k.qOj]}),ot})(),tt=(()=>{class ot{constructor(G,w){this._changeDetectorRef=G,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ae.x,this._animationsDisabled="NoopAnimations"===w}show(G){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},G)}hide(G){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},G)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:G}){(!G||!this._triggerElement.contains(G))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:G}){(G===this._showAnimation||G===this._hideAnimation)&&this._finalizeAnimation(G===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(G){G?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(G){const w=this._tooltip.nativeElement,K=this._showAnimation,De=this._hideAnimation;if(w.classList.remove(G?De:K),w.classList.add(G?K:De),this._isVisible=G,G&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const et=getComputedStyle(w);("0s"===et.getPropertyValue("animation-duration")||"none"===et.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}G&&this._onShow(),this._animationsDisabled&&(w.classList.add("_mat-animation-noopable"),this._finalizeAnimation(G))}}return ot.\u0275fac=function(G){return new(G||ot)(k.Y36(k.sBO),k.Y36(k.QbO,8))},ot.\u0275dir=k.lG2({type:ot}),ot})(),lt=(()=>{class ot extends tt{constructor(G,w,K){super(G,K),this._elementRef=w,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const G=this._elementRef.nativeElement.getBoundingClientRect();return G.height>24&&G.width>=200}}return ot.\u0275fac=function(G){return new(G||ot)(k.Y36(k.sBO),k.Y36(k.SBq),k.Y36(k.QbO,8))},ot.\u0275cmp=k.Xpm({type:ot,selectors:[["mat-tooltip-component"]],viewQuery:function(G,w){if(1&G&&k.Gf(ke,7),2&G){let K;k.iGM(K=k.CRH())&&(w._tooltip=K.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(G,w){1&G&&k.NdJ("mouseleave",function(De){return w._handleMouseLeave(De)}),2&G&&k.Udp("zoom",w.isVisible()?1:null)},features:[k.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(G,w){1&G&&(k.TgZ(0,"div",0,1),k.NdJ("animationend",function(De){return w._handleAnimationEnd(De)}),k.TgZ(2,"div",2),k._uU(3),k.qZA()()),2&G&&(k.ekj("mdc-tooltip--multiline",w._isMultiline),k.Q6J("ngClass",w.tooltipClass),k.xp6(3),k.Oqu(w.message))},dependencies:[ee.mk],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),ot})(),ft=(()=>{class ot{}return ot.\u0275fac=function(G){return new(G||ot)},ot.\u0275mod=k.oAB({type:ot}),ot.\u0275inj=k.cJS({providers:[xe],imports:[J.rt,ee.ez,R.U8,Be.BQ,Be.BQ,Z.ZD]}),ot})()},11481:(yt,Ee,g)=>{g.d(Ee,{Dx:()=>at,H7:()=>Ce,b2:()=>V,q6:()=>Pn,se:()=>st});var s=g(36895),d=g(94650);class C extends s.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class $ extends C{static makeCurrent(){(0,s.HT)(new $)}onAndCancel(L,T,I){return L.addEventListener(T,I,!1),()=>{L.removeEventListener(T,I,!1)}}dispatchEvent(L,T){L.dispatchEvent(T)}remove(L){L.parentNode&&L.parentNode.removeChild(L)}createElement(L,T){return(T=T||this.getDefaultDocument()).createElement(L)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(L){return L.nodeType===Node.ELEMENT_NODE}isShadowRoot(L){return L instanceof DocumentFragment}getGlobalEventTarget(L,T){return"window"===T?window:"document"===T?L:"body"===T?L.body:null}getBaseHref(L){const T=function ee(){return k=k||document.querySelector("base"),k?k.getAttribute("href"):null}();return null==T?null:function J(he){ce=ce||document.createElement("a"),ce.setAttribute("href",he);const L=ce.pathname;return"/"===L.charAt(0)?L:`/${L}`}(T)}resetBaseElement(){k=null}getUserAgent(){return window.navigator.userAgent}getCookie(L){return(0,s.Mx)(document.cookie,L)}}let ce,k=null;const ne=new d.OlP("TRANSITION_ID"),Z=[{provide:d.ip1,useFactory:function R(he,L,T){return()=>{T.get(d.CZH).donePromise.then(()=>{const I=(0,s.q)(),W=L.querySelectorAll(`style[ng-transition="${he}"]`);for(let ae=0;ae<W.length;ae++)I.remove(W[ae])})}},deps:[ne,s.K0,d.zs3],multi:!0}];let Ae=(()=>{class he{build(){return new XMLHttpRequest}}return he.\u0275fac=function(T){return new(T||he)},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})();const be=new d.OlP("EventManagerPlugins");let Be=(()=>{class he{constructor(T,I){this._zone=I,this._eventNameToPlugin=new Map,T.forEach(W=>{W.manager=this}),this._plugins=T.slice().reverse()}addEventListener(T,I,W){return this._findPluginFor(I).addEventListener(T,I,W)}addGlobalEventListener(T,I,W){return this._findPluginFor(I).addGlobalEventListener(T,I,W)}getZone(){return this._zone}_findPluginFor(T){const I=this._eventNameToPlugin.get(T);if(I)return I;const W=this._plugins;for(let ae=0;ae<W.length;ae++){const He=W[ae];if(He.supports(T))return this._eventNameToPlugin.set(T,He),He}throw new Error(`No event manager plugin found for event ${T}`)}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(be),d.LFG(d.R0b))},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})();class ke{constructor(L){this._doc=L}addGlobalEventListener(L,T,I){const W=(0,s.q)().getGlobalEventTarget(this._doc,L);if(!W)throw new Error(`Unsupported event target ${W} for event ${T}`);return this.addEventListener(W,T,I)}}let ye=(()=>{class he{constructor(){this.usageCount=new Map}addStyles(T){for(const I of T)1===this.changeUsageCount(I,1)&&this.onStyleAdded(I)}removeStyles(T){for(const I of T)0===this.changeUsageCount(I,-1)&&this.onStyleRemoved(I)}onStyleRemoved(T){}onStyleAdded(T){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(T,I){const W=this.usageCount;let ae=W.get(T)??0;return ae+=I,ae>0?W.set(T,ae):W.delete(T),ae}ngOnDestroy(){for(const T of this.getAllStyles())this.onStyleRemoved(T);this.usageCount.clear()}}return he.\u0275fac=function(T){return new(T||he)},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})(),je=(()=>{class he extends ye{constructor(T){super(),this.doc=T,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(T){for(const I of this.hostNodes)this.addStyleToHost(I,T)}onStyleRemoved(T){const I=this.styleRef;I.get(T)?.forEach(ae=>ae.remove()),I.delete(T)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(T){this.hostNodes.add(T);for(const I of this.getAllStyles())this.addStyleToHost(T,I)}removeHost(T){this.hostNodes.delete(T)}addStyleToHost(T,I){const W=this.doc.createElement("style");W.textContent=I,T.appendChild(W);const ae=this.styleRef.get(I);ae?ae.push(W):this.styleRef.set(I,[W])}resetHostNodes(){const T=this.hostNodes;T.clear(),T.add(this.doc.head)}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(s.K0))},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})();const Ke={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/"},ze=/%COMP%/g,U="%COMP%",se=`_nghost-${U}`,q=`_ngcontent-${U}`,le=new d.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Ge(he,L){return L.flat(100).map(T=>T.replace(ze,he))}function bt(he){return L=>{if("__ngUnwrap__"===L)return he;!1===he(L)&&(L.preventDefault(),L.returnValue=!1)}}let st=(()=>{class he{constructor(T,I,W,ae){this.eventManager=T,this.sharedStylesHost=I,this.appId=W,this.removeStylesOnCompDestory=ae,this.rendererByCompId=new Map,this.defaultRenderer=new Oe(T)}createRenderer(T,I){if(!T||!I)return this.defaultRenderer;const W=this.getOrCreateRenderer(T,I);return W instanceof ot?W.applyToHost(T):W instanceof ft&&W.applyStyles(),W}getOrCreateRenderer(T,I){const W=this.rendererByCompId;let ae=W.get(I.id);if(!ae){const He=this.eventManager,Et=this.sharedStylesHost,qt=this.removeStylesOnCompDestory;switch(I.encapsulation){case d.ifc.Emulated:ae=new ot(He,Et,I,this.appId,qt);break;case d.ifc.ShadowDom:return new vt(He,Et,T,I);default:ae=new ft(He,Et,I,qt)}ae.onDestroy=()=>W.delete(I.id),W.set(I.id,ae)}return ae}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(Be),d.LFG(je),d.LFG(d.AFp),d.LFG(le))},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})();class Oe{constructor(L){this.eventManager=L,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(L,T){return T?document.createElementNS(Ke[T]||T,L):document.createElement(L)}createComment(L){return document.createComment(L)}createText(L){return document.createTextNode(L)}appendChild(L,T){(lt(L)?L.content:L).appendChild(T)}insertBefore(L,T,I){L&&(lt(L)?L.content:L).insertBefore(T,I)}removeChild(L,T){L&&L.removeChild(T)}selectRootElement(L,T){let I="string"==typeof L?document.querySelector(L):L;if(!I)throw new Error(`The selector "${L}" did not match any elements`);return T||(I.textContent=""),I}parentNode(L){return L.parentNode}nextSibling(L){return L.nextSibling}setAttribute(L,T,I,W){if(W){T=W+":"+T;const ae=Ke[W];ae?L.setAttributeNS(ae,T,I):L.setAttribute(T,I)}else L.setAttribute(T,I)}removeAttribute(L,T,I){if(I){const W=Ke[I];W?L.removeAttributeNS(W,T):L.removeAttribute(`${I}:${T}`)}else L.removeAttribute(T)}addClass(L,T){L.classList.add(T)}removeClass(L,T){L.classList.remove(T)}setStyle(L,T,I,W){W&(d.JOm.DashCase|d.JOm.Important)?L.style.setProperty(T,I,W&d.JOm.Important?"important":""):L.style[T]=I}removeStyle(L,T,I){I&d.JOm.DashCase?L.style.removeProperty(T):L.style[T]=""}setProperty(L,T,I){L[T]=I}setValue(L,T){L.nodeValue=T}listen(L,T,I){return"string"==typeof L?this.eventManager.addGlobalEventListener(L,T,bt(I)):this.eventManager.addEventListener(L,T,bt(I))}}function lt(he){return"TEMPLATE"===he.tagName&&void 0!==he.content}class vt extends Oe{constructor(L,T,I,W){super(L),this.sharedStylesHost=T,this.hostEl=I,this.shadowRoot=I.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ae=Ge(W.id,W.styles);for(const He of ae){const Et=document.createElement("style");Et.textContent=He,this.shadowRoot.appendChild(Et)}}nodeOrShadowRoot(L){return L===this.hostEl?this.shadowRoot:L}appendChild(L,T){return super.appendChild(this.nodeOrShadowRoot(L),T)}insertBefore(L,T,I){return super.insertBefore(this.nodeOrShadowRoot(L),T,I)}removeChild(L,T){return super.removeChild(this.nodeOrShadowRoot(L),T)}parentNode(L){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(L)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ft extends Oe{constructor(L,T,I,W,ae=I.id){super(L),this.sharedStylesHost=T,this.removeStylesOnCompDestory=W,this.rendererUsageCount=0,this.styles=Ge(ae,I.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class ot extends ft{constructor(L,T,I,W,ae){const He=W+"-"+I.id;super(L,T,I,ae,He),this.contentAttr=function ve(he){return q.replace(ze,he)}(He),this.hostAttr=function Ze(he){return se.replace(ze,he)}(He)}applyToHost(L){this.applyStyles(),this.setAttribute(L,this.hostAttr,"")}createElement(L,T){const I=super.createElement(L,T);return super.setAttribute(I,this.contentAttr,""),I}}let fe=(()=>{class he extends ke{constructor(T){super(T)}supports(T){return!0}addEventListener(T,I,W){return T.addEventListener(I,W,!1),()=>this.removeEventListener(T,I,W)}removeEventListener(T,I,W){return T.removeEventListener(I,W)}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(s.K0))},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})();const G=["alt","control","meta","shift"],w={"\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"},K={alt:he=>he.altKey,control:he=>he.ctrlKey,meta:he=>he.metaKey,shift:he=>he.shiftKey};let De=(()=>{class he extends ke{constructor(T){super(T)}supports(T){return null!=he.parseEventName(T)}addEventListener(T,I,W){const ae=he.parseEventName(I),He=he.eventCallback(ae.fullKey,W,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.q)().onAndCancel(T,ae.domEventName,He))}static parseEventName(T){const I=T.toLowerCase().split("."),W=I.shift();if(0===I.length||"keydown"!==W&&"keyup"!==W)return null;const ae=he._normalizeKey(I.pop());let He="",Et=I.indexOf("code");if(Et>-1&&(I.splice(Et,1),He="code."),G.forEach(oi=>{const ri=I.indexOf(oi);ri>-1&&(I.splice(ri,1),He+=oi+".")}),He+=ae,0!=I.length||0===ae.length)return null;const qt={};return qt.domEventName=W,qt.fullKey=He,qt}static matchEventFullKeyCode(T,I){let W=w[T.key]||T.key,ae="";return I.indexOf("code.")>-1&&(W=T.code,ae="code."),!(null==W||!W)&&(W=W.toLowerCase()," "===W?W="space":"."===W&&(W="dot"),G.forEach(He=>{He!==W&&(0,K[He])(T)&&(ae+=He+".")}),ae+=W,ae===I)}static eventCallback(T,I,W){return ae=>{he.matchEventFullKeyCode(ae,T)&&W.runGuarded(()=>I(ae))}}static _normalizeKey(T){return"esc"===T?"escape":T}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(s.K0))},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})();const Pn=(0,d.eFA)(d._c5,"browser",[{provide:d.Lbi,useValue:s.bD},{provide:d.g9A,useValue:function hn(){$.makeCurrent()},multi:!0},{provide:s.K0,useFactory:function zt(){return(0,d.RDi)(document),document},deps:[]}]),ln=new d.OlP(""),yn=[{provide:d.rWj,useClass:class Y{addToWindow(L){d.dqk.getAngularTestability=(I,W=!0)=>{const ae=L.findTestabilityInTree(I,W);if(null==ae)throw new Error("Could not find testability for element.");return ae},d.dqk.getAllAngularTestabilities=()=>L.getAllTestabilities(),d.dqk.getAllAngularRootElements=()=>L.getAllRootElements(),d.dqk.frameworkStabilizers||(d.dqk.frameworkStabilizers=[]),d.dqk.frameworkStabilizers.push(I=>{const W=d.dqk.getAllAngularTestabilities();let ae=W.length,He=!1;const Et=function(qt){He=He||qt,ae--,0==ae&&I(He)};W.forEach(function(qt){qt.whenStable(Et)})})}findTestabilityInTree(L,T,I){return null==T?null:L.getTestability(T)??(I?(0,s.q)().isShadowRoot(T)?this.findTestabilityInTree(L,T.host,!0):this.findTestabilityInTree(L,T.parentElement,!0):null)}},deps:[]},{provide:d.lri,useClass:d.dDg,deps:[d.R0b,d.eoX,d.rWj]},{provide:d.dDg,useClass:d.dDg,deps:[d.R0b,d.eoX,d.rWj]}],Ne=[{provide:d.zSh,useValue:"root"},{provide:d.qLn,useFactory:function mn(){return new d.qLn},deps:[]},{provide:be,useClass:fe,multi:!0,deps:[s.K0,d.R0b,d.Lbi]},{provide:be,useClass:De,multi:!0,deps:[s.K0]},{provide:st,useClass:st,deps:[Be,je,d.AFp,le]},{provide:d.FYo,useExisting:st},{provide:ye,useExisting:je},{provide:je,useClass:je,deps:[s.K0]},{provide:Be,useClass:Be,deps:[be,d.R0b]},{provide:s.JF,useClass:Ae,deps:[]},[]];let V=(()=>{class he{constructor(T){}static withServerTransition(T){return{ngModule:he,providers:[{provide:d.AFp,useValue:T.appId},{provide:ne,useExisting:d.AFp},Z]}}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(ln,12))},he.\u0275mod=d.oAB({type:he}),he.\u0275inj=d.cJS({providers:[...Ne,...yn],imports:[s.ez,d.hGG]}),he})(),at=(()=>{class he{constructor(T){this._doc=T}getTitle(){return this._doc.title}setTitle(T){this._doc.title=T||""}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(s.K0))},he.\u0275prov=d.Yz7({token:he,factory:function(T){let I=null;return I=T?new T:function ct(){return new at((0,d.LFG)(s.K0))}(),I},providedIn:"root"}),he})();typeof window<"u"&&window;let Ce=(()=>{class he{}return he.\u0275fac=function(T){return new(T||he)},he.\u0275prov=d.Yz7({token:he,factory:function(T){let I=null;return I=T?new(T||he):d.LFG(Fe),I},providedIn:"root"}),he})(),Fe=(()=>{class he extends Ce{constructor(T){super(),this._doc=T}sanitize(T,I){if(null==I)return null;switch(T){case d.q3G.NONE:return I;case d.q3G.HTML:return(0,d.qzn)(I,"HTML")?(0,d.z3N)(I):(0,d.EiD)(this._doc,String(I)).toString();case d.q3G.STYLE:return(0,d.qzn)(I,"Style")?(0,d.z3N)(I):I;case d.q3G.SCRIPT:if((0,d.qzn)(I,"Script"))return(0,d.z3N)(I);throw new Error("unsafe value used in a script context");case d.q3G.URL:return(0,d.qzn)(I,"URL")?(0,d.z3N)(I):(0,d.mCW)(String(I));case d.q3G.RESOURCE_URL:if((0,d.qzn)(I,"ResourceURL"))return(0,d.z3N)(I);throw new Error(`unsafe value used in a resource URL context (see ${d.JZr})`);default:throw new Error(`Unexpected SecurityContext ${T} (see ${d.JZr})`)}}bypassSecurityTrustHtml(T){return(0,d.JVY)(T)}bypassSecurityTrustStyle(T){return(0,d.L6k)(T)}bypassSecurityTrustScript(T){return(0,d.eBb)(T)}bypassSecurityTrustUrl(T){return(0,d.LAX)(T)}bypassSecurityTrustResourceUrl(T){return(0,d.pB0)(T)}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(s.K0))},he.\u0275prov=d.Yz7({token:he,factory:function(T){let I=null;return I=T?new T:function $e(he){return new Fe(he.get(s.K0))}(d.LFG(d.zs3)),I},providedIn:"root"}),he})()},9116:(yt,Ee,g)=>{g.d(Ee,{gz:()=>Li,m2:()=>An,OD:()=>Si,F0:()=>Pi,rH:()=>E,Od:()=>l,Bz:()=>Un,lC:()=>pn});var s=g(94650),d=g(88996),C=g(39646),$=g(61135),k=g(86805),ee=g(39841),ce=g(97272),J=g(49770),ne=g(89635),R=g(62843),Z=g(69751),Y=g(60515),Ae=g(94033),be=g(77579),Be=g(36895),ke=g(54004),ye=g(63900),je=g(95698),Ke=g(68675),ze=g(39300),xe=g(95577),U=g(50590),se=g(24351),q=g(18505),oe=g(70262),le=g(75026),ve=g(54482),Ze=g(25403);function Ge(h){return h<=0?()=>Y.E:(0,ve.e)((f,c)=>{let _=[];f.subscribe((0,Ze.x)(c,S=>{_.push(S),h<_.length&&_.shift()},()=>{for(const S of _)c.next(S);c.complete()},void 0,()=>{_=null}))})}var bt=g(18068),st=g(46590),Oe=g(44671);function Ye(h,f){const c=arguments.length>=2;return _=>_.pipe(h?(0,ze.h)((S,B)=>h(S,B,_)):Oe.y,Ge(1),c?(0,st.d)(f):(0,bt.T)(()=>new k.K))}var tt=g(22529),lt=g(69718),vt=g(28746),ft=g(38343),ot=g(8189),fe=g(11481);const G="primary",w=Symbol("RouteTitle");class K{constructor(f){this.params=f||{}}has(f){return Object.prototype.hasOwnProperty.call(this.params,f)}get(f){if(this.has(f)){const c=this.params[f];return Array.isArray(c)?c[0]:c}return null}getAll(f){if(this.has(f)){const c=this.params[f];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function De(h){return new K(h)}function et(h,f,c){const _=c.path.split("/");if(_.length>h.length||"full"===c.pathMatch&&(f.hasChildren()||_.length<h.length))return null;const S={};for(let B=0;B<_.length;B++){const X=_[B],Ue=h[B];if(X.startsWith(":"))S[X.substring(1)]=Ue;else if(X!==Ue.path)return null}return{consumed:h.slice(0,_.length),posParams:S}}function xt(h,f){const c=h?Object.keys(h):void 0,_=f?Object.keys(f):void 0;if(!c||!_||c.length!=_.length)return!1;let S;for(let B=0;B<c.length;B++)if(S=c[B],!Lt(h[S],f[S]))return!1;return!0}function Lt(h,f){if(Array.isArray(h)&&Array.isArray(f)){if(h.length!==f.length)return!1;const c=[...h].sort(),_=[...f].sort();return c.every((S,B)=>_[B]===S)}return h===f}function Kt(h){return Array.prototype.concat.apply([],h)}function hn(h){return h.length>0?h[h.length-1]:null}function zt(h,f){for(const c in h)h.hasOwnProperty(c)&&f(h[c],c)}function bn(h){return(0,s.CqO)(h)?h:(0,s.QGY)(h)?(0,d.D)(Promise.resolve(h)):(0,C.of)(h)}const Pn=!1,ln={exact:function de(h,f,c){if(!Le(h.segments,f.segments)||!at(h.segments,f.segments,c)||h.numberOfChildren!==f.numberOfChildren)return!1;for(const _ in f.children)if(!h.children[_]||!de(h.children[_],f.children[_],c))return!1;return!0},subset:Qe},yn={exact:function V(h,f){return xt(h,f)},subset:function Te(h,f){return Object.keys(f).length<=Object.keys(h).length&&Object.keys(f).every(c=>Lt(h[c],f[c]))},ignored:()=>!0};function Ne(h,f,c){return ln[c.paths](h.root,f.root,c.matrixParams)&&yn[c.queryParams](h.queryParams,f.queryParams)&&!("exact"===c.fragment&&h.fragment!==f.fragment)}function Qe(h,f,c){return ct(h,f,f.segments,c)}function ct(h,f,c,_){if(h.segments.length>c.length){const S=h.segments.slice(0,c.length);return!(!Le(S,c)||f.hasChildren()||!at(S,c,_))}if(h.segments.length===c.length){if(!Le(h.segments,c)||!at(h.segments,c,_))return!1;for(const S in f.children)if(!h.children[S]||!Qe(h.children[S],f.children[S],_))return!1;return!0}{const S=c.slice(0,h.segments.length),B=c.slice(h.segments.length);return!!(Le(h.segments,S)&&at(h.segments,S,_)&&h.children[G])&&ct(h.children[G],f,B,_)}}function at(h,f,c){return f.every((_,S)=>yn[c](h[S].parameters,_.parameters))}class pt{constructor(f=new _e([],{}),c={},_=null){this.root=f,this.queryParams=c,this.fragment=_}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=De(this.queryParams)),this._queryParamMap}toString(){return Ot.serialize(this)}}class _e{constructor(f,c){this.segments=f,this.children=c,this.parent=null,zt(c,(_,S)=>_.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return nn(this)}}class it{constructor(f,c){this.path=f,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=De(this.parameters)),this._parameterMap}toString(){return A(this)}}function Le(h,f){return h.length===f.length&&h.every((c,_)=>c.path===f[_].path)}let St=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:function(){return new Ht},providedIn:"root"}),h})();class Ht{parse(f){const c=new he(f);return new pt(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(f){const c=`/${jt(f.root,!0)}`,_=function Ie(h){const f=Object.keys(h).map(c=>{const _=h[c];return Array.isArray(_)?_.map(S=>`${Nn(c)}=${Nn(S)}`).join("&"):`${Nn(c)}=${Nn(_)}`}).filter(c=>!!c);return f.length?`?${f.join("&")}`:""}(f.queryParams);return`${c}${_}${"string"==typeof f.fragment?`#${function It(h){return encodeURI(h)}(f.fragment)}`:""}`}}const Ot=new Ht;function nn(h){return h.segments.map(f=>A(f)).join("/")}function jt(h,f){if(!h.hasChildren())return nn(h);if(f){const c=h.children[G]?jt(h.children[G],!1):"",_=[];return zt(h.children,(S,B)=>{B!==G&&_.push(`${B}:${jt(S,!1)}`)}),_.length>0?`${c}(${_.join("//")})`:c}{const c=function mt(h,f){let c=[];return zt(h.children,(_,S)=>{S===G&&(c=c.concat(f(_,S)))}),zt(h.children,(_,S)=>{S!==G&&(c=c.concat(f(_,S)))}),c}(h,(_,S)=>S===G?[jt(h.children[G],!1)]:[`${S}:${jt(_,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[G]?`${nn(h)}/${c[0]}`:`${nn(h)}/(${c.join("//")})`}}function xn(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nn(h){return xn(h).replace(/%3B/gi,";")}function ut(h){return xn(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function z(h){return decodeURIComponent(h)}function x(h){return z(h.replace(/\+/g,"%20"))}function A(h){return`${ut(h.path)}${function ie(h){return Object.keys(h).map(f=>`;${ut(f)}=${ut(h[f])}`).join("")}(h.parameters)}`}const te=/^[^\/()?;=#]+/;function re(h){const f=h.match(te);return f?f[0]:""}const Ce=/^[^=?&#]+/,Fe=/^[^&#]+/;class he{constructor(f){this.url=f,this.remaining=f}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _e([],{}):new _e([],this.parseChildren())}parseQueryParams(){const f={};if(this.consumeOptional("?"))do{this.parseQueryParam(f)}while(this.consumeOptional("&"));return f}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const f=[];for(this.peekStartsWith("(")||f.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),f.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let _={};return this.peekStartsWith("(")&&(_=this.parseParens(!1)),(f.length>0||Object.keys(c).length>0)&&(_[G]=new _e(f,c)),_}parseSegment(){const f=re(this.remaining);if(""===f&&this.peekStartsWith(";"))throw new s.vHH(4009,Pn);return this.capture(f),new it(z(f),this.parseMatrixParams())}parseMatrixParams(){const f={};for(;this.consumeOptional(";");)this.parseParam(f);return f}parseParam(f){const c=re(this.remaining);if(!c)return;this.capture(c);let _="";if(this.consumeOptional("=")){const S=re(this.remaining);S&&(_=S,this.capture(_))}f[z(c)]=z(_)}parseQueryParam(f){const c=function $e(h){const f=h.match(Ce);return f?f[0]:""}(this.remaining);if(!c)return;this.capture(c);let _="";if(this.consumeOptional("=")){const X=function wt(h){const f=h.match(Fe);return f?f[0]:""}(this.remaining);X&&(_=X,this.capture(_))}const S=x(c),B=x(_);if(f.hasOwnProperty(S)){let X=f[S];Array.isArray(X)||(X=[X],f[S]=X),X.push(B)}else f[S]=B}parseParens(f){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=re(this.remaining),S=this.remaining[_.length];if("/"!==S&&")"!==S&&";"!==S)throw new s.vHH(4010,Pn);let B;_.indexOf(":")>-1?(B=_.slice(0,_.indexOf(":")),this.capture(B),this.capture(":")):f&&(B=G);const X=this.parseChildren();c[B]=1===Object.keys(X).length?X[G]:new _e([],X),this.consumeOptional("//")}return c}peekStartsWith(f){return this.remaining.startsWith(f)}consumeOptional(f){return!!this.peekStartsWith(f)&&(this.remaining=this.remaining.substring(f.length),!0)}capture(f){if(!this.consumeOptional(f))throw new s.vHH(4011,Pn)}}function L(h){return h.segments.length>0?new _e([],{[G]:h}):h}function T(h){const f={};for(const _ of Object.keys(h.children)){const B=T(h.children[_]);(B.segments.length>0||B.hasChildren())&&(f[_]=B)}return function I(h){if(1===h.numberOfChildren&&h.children[G]){const f=h.children[G];return new _e(h.segments.concat(f.segments),f.children)}return h}(new _e(h.segments,f))}function W(h){return h instanceof pt}const ae=!1;function oi(h,f,c,_,S){if(0===c.length)return yi(f.root,f.root,f.root,_,S);const B=function fr(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new hr(!0,0,h);let f=0,c=!1;const _=h.reduce((S,B,X)=>{if("object"==typeof B&&null!=B){if(B.outlets){const Ue={};return zt(B.outlets,(dt,Ft)=>{Ue[Ft]="string"==typeof dt?dt.split("/"):dt}),[...S,{outlets:Ue}]}if(B.segmentPath)return[...S,B.segmentPath]}return"string"!=typeof B?[...S,B]:0===X?(B.split("/").forEach((Ue,dt)=>{0==dt&&"."===Ue||(0==dt&&""===Ue?c=!0:".."===Ue?f++:""!=Ue&&S.push(Ue))}),S):[...S,B]},[]);return new hr(c,f,_)}(c);return B.toRoot()?yi(f.root,f.root,new _e([],{}),_,S):function X(dt){const Ft=function Xn(h,f,c,_){if(h.isAbsolute)return new ji(f.root,!0,0);if(-1===_)return new ji(c,c===f.root,0);return function si(h,f,c){let _=h,S=f,B=c;for(;B>S;){if(B-=S,_=_.parent,!_)throw new s.vHH(4005,ae&&"Invalid number of '../'");S=_.segments.length}return new ji(_,!1,S-B)}(c,_+(ri(h.commands[0])?0:1),h.numberOfDoubleDots)}(B,f,h.snapshot?._urlSegment,dt),Bt=Ft.processChildren?Wn(Ft.segmentGroup,Ft.index,B.commands):vi(Ft.segmentGroup,Ft.index,B.commands);return yi(f.root,Ft.segmentGroup,Bt,_,S)}(h.snapshot?._lastPathIndex)}function ri(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function Ji(h){return"object"==typeof h&&null!=h&&h.outlets}function yi(h,f,c,_,S){let X,B={};_&&zt(_,(dt,Ft)=>{B[Ft]=Array.isArray(dt)?dt.map(Bt=>`${Bt}`):`${dt}`}),X=h===f?c:gi(h,f,c);const Ue=L(T(X));return new pt(Ue,B,S)}function gi(h,f,c){const _={};return zt(h.children,(S,B)=>{_[B]=S===f?c:gi(S,f,c)}),new _e(h.segments,_)}class hr{constructor(f,c,_){if(this.isAbsolute=f,this.numberOfDoubleDots=c,this.commands=_,f&&_.length>0&&ri(_[0]))throw new s.vHH(4003,ae&&"Root segment cannot have matrix parameters");const S=_.find(Ji);if(S&&S!==hn(_))throw new s.vHH(4004,ae&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ji{constructor(f,c,_){this.segmentGroup=f,this.processChildren=c,this.index=_}}function vi(h,f,c){if(h||(h=new _e([],{})),0===h.segments.length&&h.hasChildren())return Wn(h,f,c);const _=function Cr(h,f,c){let _=0,S=f;const B={match:!1,pathIndex:0,commandIndex:0};for(;S<h.segments.length;){if(_>=c.length)return B;const X=h.segments[S],Ue=c[_];if(Ji(Ue))break;const dt=`${Ue}`,Ft=_<c.length-1?c[_+1]:null;if(S>0&&void 0===dt)break;if(dt&&Ft&&"object"==typeof Ft&&void 0===Ft.outlets){if(!tn(dt,Ft,X))return B;_+=2}else{if(!tn(dt,{},X))return B;_++}S++}return{match:!0,pathIndex:S,commandIndex:_}}(h,f,c),S=c.slice(_.commandIndex);if(_.match&&_.pathIndex<h.segments.length){const B=new _e(h.segments.slice(0,_.pathIndex),{});return B.children[G]=new _e(h.segments.slice(_.pathIndex),h.children),Wn(B,0,S)}return _.match&&0===S.length?new _e(h.segments,{}):_.match&&!h.hasChildren()?Yi(h,f,c):_.match?Wn(h,0,S):Yi(h,f,c)}function Wn(h,f,c){if(0===c.length)return new _e(h.segments,{});{const _=function er(h){return Ji(h[0])?h[0].outlets:{[G]:h}}(c),S={};return!_[G]&&h.children[G]&&1===h.numberOfChildren&&0===h.children[G].segments.length?Wn(h.children[G],f,c):(zt(_,(B,X)=>{"string"==typeof B&&(B=[B]),null!==B&&(S[X]=vi(h.children[X],f,B))}),zt(h.children,(B,X)=>{void 0===_[X]&&(S[X]=B)}),new _e(h.segments,S))}}function Yi(h,f,c){const _=h.segments.slice(0,f);let S=0;for(;S<c.length;){const B=c[S];if(Ji(B)){const dt=Ri(B.outlets);return new _e(_,dt)}if(0===S&&ri(c[0])){_.push(new it(h.segments[f].path,kt(c[0]))),S++;continue}const X=Ji(B)?B.outlets[G]:`${B}`,Ue=S<c.length-1?c[S+1]:null;X&&Ue&&ri(Ue)?(_.push(new it(X,kt(Ue))),S+=2):(_.push(new it(X,{})),S++)}return new _e(_,{})}function Ri(h){const f={};return zt(h,(c,_)=>{"string"==typeof c&&(c=[c]),null!==c&&(f[_]=Yi(new _e([],{}),0,c))}),f}function kt(h){const f={};return zt(h,(c,_)=>f[_]=`${c}`),f}function tn(h,f,c){return h==c.path&&xt(f,c.parameters)}const In="imperative";class Kn{constructor(f,c){this.id=f,this.url=c}}class Si extends Kn{constructor(f,c,_="imperative",S=null){super(f,c),this.type=0,this.navigationTrigger=_,this.restoredState=S}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class An extends Kn{constructor(f,c,_){super(f,c),this.urlAfterRedirects=_,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ai extends Kn{constructor(f,c,_,S){super(f,c),this.reason=_,this.code=S,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Rn extends Kn{constructor(f,c,_,S){super(f,c),this.reason=_,this.code=S,this.type=16}}class ki extends Kn{constructor(f,c,_,S){super(f,c),this.error=_,this.target=S,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Mo extends Kn{constructor(f,c,_,S){super(f,c),this.urlAfterRedirects=_,this.state=S,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fn extends Kn{constructor(f,c,_,S){super(f,c),this.urlAfterRedirects=_,this.state=S,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class so extends Kn{constructor(f,c,_,S,B){super(f,c),this.urlAfterRedirects=_,this.state=S,this.shouldActivate=B,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class wr extends Kn{constructor(f,c,_,S){super(f,c),this.urlAfterRedirects=_,this.state=S,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bi extends Kn{constructor(f,c,_,S){super(f,c),this.urlAfterRedirects=_,this.state=S,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pr{constructor(f){this.route=f,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class di{constructor(f){this.route=f,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Zi{constructor(f){this.snapshot=f,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mr{constructor(f){this.snapshot=f,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fi{constructor(f){this.snapshot=f,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nr{constructor(f){this.snapshot=f,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ao{constructor(f,c,_){this.routerEvent=f,this.position=c,this.anchor=_,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let To=(()=>{class h{createUrlTree(c,_,S,B,X,Ue){return oi(c||_.root,S,B,X,Ue)}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac}),h})(),ir=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:function(f){return To.\u0275fac(f)},providedIn:"root"}),h})();class Di{constructor(f){this._root=f}get root(){return this._root.value}parent(f){const c=this.pathFromRoot(f);return c.length>1?c[c.length-2]:null}children(f){const c=rr(f,this._root);return c?c.children.map(_=>_.value):[]}firstChild(f){const c=rr(f,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(f){const c=hi(f,this._root);return c.length<2?[]:c[c.length-2].children.map(S=>S.value).filter(S=>S!==f)}pathFromRoot(f){return hi(f,this._root).map(c=>c.value)}}function rr(h,f){if(h===f.value)return f;for(const c of f.children){const _=rr(h,c);if(_)return _}return null}function hi(h,f){if(h===f.value)return[f];for(const c of f.children){const _=hi(h,c);if(_.length)return _.unshift(f),_}return[]}class gr{constructor(f,c){this.value=f,this.children=c}toString(){return`TreeNode(${this.value})`}}function li(h){const f={};return h&&h.children.forEach(c=>f[c.value.outlet]=c),f}class Ii extends Di{constructor(f,c){super(f),this.snapshot=c,Gr(this,f)}toString(){return this.snapshot.toString()}}function So(h,f){const c=function lo(h,f){const X=new Wr([],{},{},"",{},G,f,null,h.root,-1,{});return new Io("",new gr(X,[]))}(h,f),_=new $.X([new it("",{})]),S=new $.X({}),B=new $.X({}),X=new $.X({}),Ue=new $.X(""),dt=new Li(_,S,X,Ue,B,G,f,c.root);return dt.snapshot=c.root,new Ii(new gr(dt,[]),c)}class Li{constructor(f,c,_,S,B,X,Ue,dt){this.url=f,this.params=c,this.queryParams=_,this.fragment=S,this.data=B,this.outlet=X,this.component=Ue,this.title=this.data?.pipe((0,ke.U)(Ft=>Ft[w]))??(0,C.of)(void 0),this._futureSnapshot=dt}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,ke.U)(f=>De(f)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ke.U)(f=>De(f)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ni(h,f="emptyOnly"){const c=h.pathFromRoot;let _=0;if("always"!==f)for(_=c.length-1;_>=1;){const S=c[_],B=c[_-1];if(S.routeConfig&&""===S.routeConfig.path)_--;else{if(B.component)break;_--}}return function Fr(h){return h.reduce((f,c)=>({params:{...f.params,...c.params},data:{...f.data,...c.data},resolve:{...c.data,...f.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(_))}class Wr{get title(){return this.data?.[w]}constructor(f,c,_,S,B,X,Ue,dt,Ft,Bt,$n){this.url=f,this.params=c,this.queryParams=_,this.fragment=S,this.data=B,this.outlet=X,this.component=Ue,this.routeConfig=dt,this._urlSegment=Ft,this._lastPathIndex=Bt,this._resolve=$n}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=De(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=De(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(_=>_.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Io extends Di{constructor(f,c){super(c),this.url=f,Gr(this,c)}toString(){return jo(this._root)}}function Gr(h,f){f.value._routerState=h,f.children.forEach(c=>Gr(h,c))}function jo(h){const f=h.children.length>0?` { ${h.children.map(jo).join(", ")} } `:"";return`${h.value}${f}`}function Kr(h){if(h.snapshot){const f=h.snapshot,c=h._futureSnapshot;h.snapshot=c,xt(f.queryParams,c.queryParams)||h.queryParams.next(c.queryParams),f.fragment!==c.fragment&&h.fragment.next(c.fragment),xt(f.params,c.params)||h.params.next(c.params),function Mt(h,f){if(h.length!==f.length)return!1;for(let c=0;c<h.length;++c)if(!xt(h[c],f[c]))return!1;return!0}(f.url,c.url)||h.url.next(c.url),xt(f.data,c.data)||h.data.next(c.data)}else h.snapshot=h._futureSnapshot,h.data.next(h._futureSnapshot.data)}function co(h,f){const c=xt(h.params,f.params)&&function ge(h,f){return Le(h,f)&&h.every((c,_)=>xt(c.parameters,f[_].parameters))}(h.url,f.url);return c&&!(!h.parent!=!f.parent)&&(!h.parent||co(h.parent,f.parent))}function Lr(h,f,c){if(c&&h.shouldReuseRoute(f.value,c.value.snapshot)){const _=c.value;_._futureSnapshot=f.value;const S=function Yr(h,f,c){return f.children.map(_=>{for(const S of c.children)if(h.shouldReuseRoute(_.value,S.value.snapshot))return Lr(h,_,S);return Lr(h,_)})}(h,f,c);return new gr(_,S)}{if(h.shouldAttach(f.value)){const B=h.retrieve(f.value);if(null!==B){const X=B.route;return X.value._futureSnapshot=f.value,X.children=f.children.map(Ue=>Lr(h,Ue)),X}}const _=function mr(h){return new Li(new $.X(h.url),new $.X(h.params),new $.X(h.queryParams),new $.X(h.fragment),new $.X(h.data),h.outlet,h.component,h)}(f.value),S=f.children.map(B=>Lr(h,B));return new gr(_,S)}}const Se="ngNavigationCancelingError";function Pe(h,f){const{redirectTo:c,navigationBehaviorOptions:_}=W(f)?{redirectTo:f,navigationBehaviorOptions:void 0}:f,S=We(!1,0,f);return S.url=c,S.navigationBehaviorOptions=_,S}function We(h,f,c){const _=new Error("NavigationCancelingError: "+(h||""));return _[Se]=!0,_.cancellationCode=f,c&&(_.url=c),_}function ht(h){return At(h)&&W(h.url)}function At(h){return h&&h[Se]}class Vt{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Zt,this.attachRef=null}}let Zt=(()=>{class h{constructor(){this.contexts=new Map}onChildOutletCreated(c,_){const S=this.getOrCreateContext(c);S.outlet=_,this.contexts.set(c,S)}onChildOutletDestroyed(c){const _=this.getContext(c);_&&(_.outlet=null,_.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let _=this.getContext(c);return _||(_=new Vt,this.contexts.set(c,_)),_}getContext(c){return this.contexts.get(c)||null}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const Bn=!1;let pn=(()=>{class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=G,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)(Zt),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb)}ngOnChanges(c){if(c.name){const{firstChange:_,previousValue:S}=c.name;if(_)return;this.isTrackedInParentContexts(S)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(S)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}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,Bn);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,Bn);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,Bn);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,_){this.activated=c,this._activatedRoute=_,this.location.insert(c.hostView),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,_){if(this.isActivated)throw new s.vHH(4013,Bn);this._activatedRoute=c;const S=this.location,X=c.snapshot.component,Ue=this.parentContexts.getOrCreateContext(this.name).children,dt=new _r(c,Ue,S.injector);if(_&&function kn(h){return!!h.resolveComponentFactory}(_)){const Ft=_.resolveComponentFactory(X);this.activated=S.createComponent(Ft,S.length,dt)}else this.activated=S.createComponent(X,{index:S.length,injector:dt,environmentInjector:_??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275dir=s.lG2({type:h,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[s.TTD]}),h})();class _r{constructor(f,c,_){this.route=f,this.childContexts=c,this.parent=_}get(f,c){return f===Li?this.route:f===Zt?this.childContexts:this.parent.get(f,c)}}let fi=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275cmp=s.Xpm({type:h,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(c,_){1&c&&s._UZ(0,"router-outlet")},dependencies:[pn],encapsulation:2}),h})();function Qi(h,f){return h.providers&&!h._injector&&(h._injector=(0,s.MMx)(h.providers,f,`Route: ${h.path}`)),h._injector??f}function gn(h){const f=h.children&&h.children.map(gn),c=f?{...h,children:f}:{...h};return!c.component&&!c.loadComponent&&(f||c.loadChildren)&&c.outlet&&c.outlet!==G&&(c.component=fi),c}function qn(h){return h.outlet||G}function Xr(h,f){const c=h.filter(_=>qn(_)===f);return c.push(...h.filter(_=>qn(_)!==f)),c}function Mn(h){if(!h)return null;if(h.routeConfig?._injector)return h.routeConfig._injector;for(let f=h.parent;f;f=f.parent){const c=f.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class Ir{constructor(f,c,_,S){this.routeReuseStrategy=f,this.futureState=c,this.currState=_,this.forwardEvent=S}activate(f){const c=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,_,f),Kr(this.futureState.root),this.activateChildRoutes(c,_,f)}deactivateChildRoutes(f,c,_){const S=li(c);f.children.forEach(B=>{const X=B.value.outlet;this.deactivateRoutes(B,S[X],_),delete S[X]}),zt(S,(B,X)=>{this.deactivateRouteAndItsChildren(B,_)})}deactivateRoutes(f,c,_){const S=f.value,B=c?c.value:null;if(S===B)if(S.component){const X=_.getContext(S.outlet);X&&this.deactivateChildRoutes(f,c,X.children)}else this.deactivateChildRoutes(f,c,_);else B&&this.deactivateRouteAndItsChildren(c,_)}deactivateRouteAndItsChildren(f,c){f.value.component&&this.routeReuseStrategy.shouldDetach(f.value.snapshot)?this.detachAndStoreRouteSubtree(f,c):this.deactivateRouteAndOutlet(f,c)}detachAndStoreRouteSubtree(f,c){const _=c.getContext(f.value.outlet),S=_&&f.value.component?_.children:c,B=li(f);for(const X of Object.keys(B))this.deactivateRouteAndItsChildren(B[X],S);if(_&&_.outlet){const X=_.outlet.detach(),Ue=_.children.onOutletDeactivated();this.routeReuseStrategy.store(f.value.snapshot,{componentRef:X,route:f,contexts:Ue})}}deactivateRouteAndOutlet(f,c){const _=c.getContext(f.value.outlet),S=_&&f.value.component?_.children:c,B=li(f);for(const X of Object.keys(B))this.deactivateRouteAndItsChildren(B[X],S);_&&_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated(),_.attachRef=null,_.resolver=null,_.route=null)}activateChildRoutes(f,c,_){const S=li(c);f.children.forEach(B=>{this.activateRoutes(B,S[B.value.outlet],_),this.forwardEvent(new nr(B.value.snapshot))}),f.children.length&&this.forwardEvent(new Mr(f.value.snapshot))}activateRoutes(f,c,_){const S=f.value,B=c?c.value:null;if(Kr(S),S===B)if(S.component){const X=_.getOrCreateContext(S.outlet);this.activateChildRoutes(f,c,X.children)}else this.activateChildRoutes(f,c,_);else if(S.component){const X=_.getOrCreateContext(S.outlet);if(this.routeReuseStrategy.shouldAttach(S.snapshot)){const Ue=this.routeReuseStrategy.retrieve(S.snapshot);this.routeReuseStrategy.store(S.snapshot,null),X.children.onOutletReAttached(Ue.contexts),X.attachRef=Ue.componentRef,X.route=Ue.route.value,X.outlet&&X.outlet.attach(Ue.componentRef,Ue.route.value),Kr(Ue.route.value),this.activateChildRoutes(f,null,X.children)}else{const Ue=Mn(S.snapshot),dt=Ue?.get(s._Vd)??null;X.attachRef=null,X.route=S,X.resolver=dt,X.injector=Ue,X.outlet&&X.outlet.activateWith(S,X.injector),this.activateChildRoutes(f,null,X.children)}}else this.activateChildRoutes(f,null,_)}}class Ei{constructor(f){this.path=f,this.route=this.path[this.path.length-1]}}class Nr{constructor(f,c){this.component=f,this.route=c}}function Ho(h,f,c){const _=h._root;return ho(_,f?f._root:null,c,[_.value])}function Jn(h,f){const c=Symbol(),_=f.get(h,c);return _===c?"function"!=typeof h||(0,s.Z0I)(h)?f.get(h):h:_}function ho(h,f,c,_,S={canDeactivateChecks:[],canActivateChecks:[]}){const B=li(f);return h.children.forEach(X=>{(function Ao(h,f,c,_,S={canDeactivateChecks:[],canActivateChecks:[]}){const B=h.value,X=f?f.value:null,Ue=c?c.getContext(h.value.outlet):null;if(X&&B.routeConfig===X.routeConfig){const dt=function Oo(h,f,c){if("function"==typeof c)return c(h,f);switch(c){case"pathParamsChange":return!Le(h.url,f.url);case"pathParamsOrQueryParamsChange":return!Le(h.url,f.url)||!xt(h.queryParams,f.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!co(h,f)||!xt(h.queryParams,f.queryParams);default:return!co(h,f)}}(X,B,B.routeConfig.runGuardsAndResolvers);dt?S.canActivateChecks.push(new Ei(_)):(B.data=X.data,B._resolvedData=X._resolvedData),ho(h,f,B.component?Ue?Ue.children:null:c,_,S),dt&&Ue&&Ue.outlet&&Ue.outlet.isActivated&&S.canDeactivateChecks.push(new Nr(Ue.outlet.component,X))}else X&&Hi(f,Ue,S),S.canActivateChecks.push(new Ei(_)),ho(h,null,B.component?Ue?Ue.children:null:c,_,S)})(X,B[X.value.outlet],c,_.concat([X.value]),S),delete B[X.value.outlet]}),zt(B,(X,Ue)=>Hi(X,c.getContext(Ue),S)),S}function Hi(h,f,c){const _=li(h),S=h.value;zt(_,(B,X)=>{Hi(B,S.component?f?f.children.getContext(X):null:f,c)}),c.canDeactivateChecks.push(new Nr(S.component&&f&&f.outlet&&f.outlet.isActivated?f.outlet.component:null,S))}function Dr(h){return"function"==typeof h}function Wo(h){return h instanceof k.K||"EmptyError"===h?.name}const Gn=Symbol("INITIAL_VALUE");function Dt(){return(0,ye.w)(h=>(0,ee.a)(h.map(f=>f.pipe((0,je.q)(1),(0,Ke.O)(Gn)))).pipe((0,ke.U)(f=>{for(const c of f)if(!0!==c){if(c===Gn)return Gn;if(!1===c||c instanceof pt)return c}return!0}),(0,ze.h)(f=>f!==Gn),(0,je.q)(1)))}function cs(h){return(0,ne.z)((0,q.b)(f=>{if(W(f))throw Pe(0,f)}),(0,ke.U)(f=>!0===f))}const Ro={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ei(h,f,c,_,S){const B=Ai(h,f,c);return B.matched?function Ms(h,f,c,_){const S=f.canMatch;if(!S||0===S.length)return(0,C.of)(!0);const B=S.map(X=>{const Ue=Jn(X,h);return bn(function Po(h){return h&&Dr(h.canMatch)}(Ue)?Ue.canMatch(f,c):h.runInContext(()=>Ue(f,c)))});return(0,C.of)(B).pipe(Dt(),cs())}(_=Qi(f,_),f,c).pipe((0,ke.U)(X=>!0===X?B:{...Ro})):(0,C.of)(B)}function Ai(h,f,c){if(""===f.path)return"full"===f.pathMatch&&(h.hasChildren()||c.length>0)?{...Ro}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const S=(f.matcher||et)(c,h,f);if(!S)return{...Ro};const B={};zt(S.posParams,(Ue,dt)=>{B[dt]=Ue.path});const X=S.consumed.length>0?{...B,...S.consumed[S.consumed.length-1].parameters}:B;return{matched:!0,consumedSegments:S.consumed,remainingSegments:c.slice(S.consumed.length),parameters:X,positionalParamSegments:S.posParams??{}}}function qr(h,f,c,_){if(c.length>0&&function fo(h,f,c){return c.some(_=>Fo(h,f,_)&&qn(_)!==G)}(h,c,_)){const B=new _e(f,function sr(h,f,c,_){const S={};S[G]=_,_._sourceSegment=h,_._segmentIndexShift=f.length;for(const B of c)if(""===B.path&&qn(B)!==G){const X=new _e([],{});X._sourceSegment=h,X._segmentIndexShift=f.length,S[qn(B)]=X}return S}(h,f,_,new _e(c,h.children)));return B._sourceSegment=h,B._segmentIndexShift=f.length,{segmentGroup:B,slicedSegments:[]}}if(0===c.length&&function ko(h,f,c){return c.some(_=>Fo(h,f,_))}(h,c,_)){const B=new _e(h.segments,function Jr(h,f,c,_,S){const B={};for(const X of _)if(Fo(h,c,X)&&!S[qn(X)]){const Ue=new _e([],{});Ue._sourceSegment=h,Ue._segmentIndexShift=f.length,B[qn(X)]=Ue}return{...S,...B}}(h,f,c,_,h.children));return B._sourceSegment=h,B._segmentIndexShift=f.length,{segmentGroup:B,slicedSegments:c}}const S=new _e(h.segments,h.children);return S._sourceSegment=h,S._segmentIndexShift=f.length,{segmentGroup:S,slicedSegments:c}}function Fo(h,f,c){return(!(h.hasChildren()||f.length>0)||"full"!==c.pathMatch)&&""===c.path}function us(h,f,c,_){return!!(qn(h)===_||_!==G&&Fo(f,c,h))&&("**"===h.path||Ai(f,h,c).matched)}function eo(h,f,c){return 0===f.length&&!h.children[c]}const po=!1;class to{constructor(f){this.segmentGroup=f||null}}class go{constructor(f){this.urlTree=f}}function Lo(h){return(0,R._)(new to(h))}function mo(h){return(0,R._)(new go(h))}class Yo{constructor(f,c,_,S,B){this.injector=f,this.configLoader=c,this.urlSerializer=_,this.urlTree=S,this.config=B,this.allowRedirects=!0}apply(){const f=qr(this.urlTree.root,[],[],this.config).segmentGroup,c=new _e(f.segments,f.children);return this.expandSegmentGroup(this.injector,this.config,c,G).pipe((0,ke.U)(B=>this.createUrlTree(T(B),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,oe.K)(B=>{if(B instanceof go)return this.allowRedirects=!1,this.match(B.urlTree);throw B instanceof to?this.noMatchError(B):B}))}match(f){return this.expandSegmentGroup(this.injector,this.config,f.root,G).pipe((0,ke.U)(S=>this.createUrlTree(T(S),f.queryParams,f.fragment))).pipe((0,oe.K)(S=>{throw S instanceof to?this.noMatchError(S):S}))}noMatchError(f){return new s.vHH(4002,po)}createUrlTree(f,c,_){const S=L(f);return new pt(S,c,_)}expandSegmentGroup(f,c,_,S){return 0===_.segments.length&&_.hasChildren()?this.expandChildren(f,c,_).pipe((0,ke.U)(B=>new _e([],B))):this.expandSegment(f,_,c,_.segments,S,!0)}expandChildren(f,c,_){const S=[];for(const B of Object.keys(_.children))"primary"===B?S.unshift(B):S.push(B);return(0,d.D)(S).pipe((0,se.b)(B=>{const X=_.children[B],Ue=Xr(c,B);return this.expandSegmentGroup(f,Ue,X,B).pipe((0,ke.U)(dt=>({segment:dt,outlet:B})))}),(0,le.R)((B,X)=>(B[X.outlet]=X.segment,B),{}),Ye())}expandSegment(f,c,_,S,B,X){return(0,d.D)(_).pipe((0,se.b)(Ue=>this.expandSegmentAgainstRoute(f,c,_,Ue,S,B,X).pipe((0,oe.K)(Ft=>{if(Ft instanceof to)return(0,C.of)(null);throw Ft}))),(0,U.P)(Ue=>!!Ue),(0,oe.K)((Ue,dt)=>{if(Wo(Ue))return eo(c,S,B)?(0,C.of)(new _e([],{})):Lo(c);throw Ue}))}expandSegmentAgainstRoute(f,c,_,S,B,X,Ue){return us(S,c,B,X)?void 0===S.redirectTo?this.matchSegmentAgainstRoute(f,c,S,B,X):Ue&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(f,c,_,S,B,X):Lo(c):Lo(c)}expandSegmentAgainstRouteUsingRedirect(f,c,_,S,B,X){return"**"===S.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(f,_,S,X):this.expandRegularSegmentAgainstRouteUsingRedirect(f,c,_,S,B,X)}expandWildCardWithParamsAgainstRouteUsingRedirect(f,c,_,S){const B=this.applyRedirectCommands([],_.redirectTo,{});return _.redirectTo.startsWith("/")?mo(B):this.lineralizeSegments(_,B).pipe((0,xe.z)(X=>{const Ue=new _e(X,{});return this.expandSegment(f,Ue,c,X,S,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(f,c,_,S,B,X){const{matched:Ue,consumedSegments:dt,remainingSegments:Ft,positionalParamSegments:Bt}=Ai(c,S,B);if(!Ue)return Lo(c);const $n=this.applyRedirectCommands(dt,S.redirectTo,Bt);return S.redirectTo.startsWith("/")?mo($n):this.lineralizeSegments(S,$n).pipe((0,xe.z)(xi=>this.expandSegment(f,c,_,xi.concat(Ft),X,!1)))}matchSegmentAgainstRoute(f,c,_,S,B){return"**"===_.path?(f=Qi(_,f),_.loadChildren?(_._loadedRoutes?(0,C.of)({routes:_._loadedRoutes,injector:_._loadedInjector}):this.configLoader.loadChildren(f,_)).pipe((0,ke.U)(Ue=>(_._loadedRoutes=Ue.routes,_._loadedInjector=Ue.injector,new _e(S,{})))):(0,C.of)(new _e(S,{}))):ei(c,_,S,f).pipe((0,ye.w)(({matched:X,consumedSegments:Ue,remainingSegments:dt})=>X?this.getChildConfig(f=_._injector??f,_,S).pipe((0,xe.z)(Bt=>{const $n=Bt.injector??f,xi=Bt.routes,{segmentGroup:ur,slicedSegments:Eo}=qr(c,Ue,dt,xi),Er=new _e(ur.segments,ur.children);if(0===Eo.length&&Er.hasChildren())return this.expandChildren($n,xi,Er).pipe((0,ke.U)(zs=>new _e(Ue,zs)));if(0===xi.length&&0===Eo.length)return(0,C.of)(new _e(Ue,{}));const io=qn(_)===B;return this.expandSegment($n,Er,xi,Eo,io?G:B,!0).pipe((0,ke.U)(Hs=>new _e(Ue.concat(Hs.segments),Hs.children)))})):Lo(c)))}getChildConfig(f,c,_){return c.children?(0,C.of)({routes:c.children,injector:f}):c.loadChildren?void 0!==c._loadedRoutes?(0,C.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function xo(h,f,c,_){const S=f.canLoad;if(void 0===S||0===S.length)return(0,C.of)(!0);const B=S.map(X=>{const Ue=Jn(X,h);return bn(function Qt(h){return h&&Dr(h.canLoad)}(Ue)?Ue.canLoad(f,c):h.runInContext(()=>Ue(f,c)))});return(0,C.of)(B).pipe(Dt(),cs())}(f,c,_).pipe((0,xe.z)(S=>S?this.configLoader.loadChildren(f,c).pipe((0,q.b)(B=>{c._loadedRoutes=B.routes,c._loadedInjector=B.injector})):function Ns(h){return(0,R._)(We(po,3))}())):(0,C.of)({routes:[],injector:f})}lineralizeSegments(f,c){let _=[],S=c.root;for(;;){if(_=_.concat(S.segments),0===S.numberOfChildren)return(0,C.of)(_);if(S.numberOfChildren>1||!S.children[G])return f.redirectTo,(0,R._)(new s.vHH(4e3,po));S=S.children[G]}}applyRedirectCommands(f,c,_){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),f,_)}applyRedirectCreateUrlTree(f,c,_,S){const B=this.createSegmentGroup(f,c.root,_,S);return new pt(B,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(f,c){const _={};return zt(f,(S,B)=>{if("string"==typeof S&&S.startsWith(":")){const Ue=S.substring(1);_[B]=c[Ue]}else _[B]=S}),_}createSegmentGroup(f,c,_,S){const B=this.createSegments(f,c.segments,_,S);let X={};return zt(c.children,(Ue,dt)=>{X[dt]=this.createSegmentGroup(f,Ue,_,S)}),new _e(B,X)}createSegments(f,c,_,S){return c.map(B=>B.path.startsWith(":")?this.findPosParam(f,B,S):this.findOrReturn(B,_))}findPosParam(f,c,_){const S=_[c.path.substring(1)];if(!S)throw new s.vHH(4001,po);return S}findOrReturn(f,c){let _=0;for(const S of c){if(S.path===f.path)return c.splice(_),S;_++}return f}}class Qo{}class no{constructor(f,c,_,S,B,X,Ue){this.injector=f,this.rootComponentType=c,this.config=_,this.urlTree=S,this.url=B,this.paramsInheritanceStrategy=X,this.urlSerializer=Ue}recognize(){const f=qr(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,f,G).pipe((0,ke.U)(c=>{if(null===c)return null;const _=new Wr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},G,this.rootComponentType,null,this.urlTree.root,-1,{}),S=new gr(_,c),B=new Io(this.url,S);return this.inheritParamsAndData(B._root),B}))}inheritParamsAndData(f){const c=f.value,_=Ni(c,this.paramsInheritanceStrategy);c.params=Object.freeze(_.params),c.data=Object.freeze(_.data),f.children.forEach(S=>this.inheritParamsAndData(S))}processSegmentGroup(f,c,_,S){return 0===_.segments.length&&_.hasChildren()?this.processChildren(f,c,_):this.processSegment(f,c,_,_.segments,S)}processChildren(f,c,_){return(0,d.D)(Object.keys(_.children)).pipe((0,se.b)(S=>{const B=_.children[S],X=Xr(c,S);return this.processSegmentGroup(f,X,B,S)}),(0,le.R)((S,B)=>S&&B?(S.push(...B),S):null),(0,tt.o)(S=>null!==S),(0,st.d)(null),Ye(),(0,ke.U)(S=>{if(null===S)return null;const B=Xo(S);return function ti(h){h.sort((f,c)=>f.value.outlet===G?-1:c.value.outlet===G?1:f.value.outlet.localeCompare(c.value.outlet))}(B),B}))}processSegment(f,c,_,S,B){return(0,d.D)(c).pipe((0,se.b)(X=>this.processSegmentAgainstRoute(X._injector??f,X,_,S,B)),(0,U.P)(X=>!!X),(0,oe.K)(X=>{if(Wo(X))return eo(_,S,B)?(0,C.of)([]):(0,C.of)(null);throw X}))}processSegmentAgainstRoute(f,c,_,S,B){if(c.redirectTo||!us(c,_,S,B))return(0,C.of)(null);let X;if("**"===c.path){const Ue=S.length>0?hn(S).parameters:{},dt=fs(_)+S.length,Ft=new Wr(S,Ue,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,yo(c),qn(c),c.component??c._loadedComponent??null,c,hs(_),dt,m(c));X=(0,C.of)({snapshot:Ft,consumedSegments:[],remainingSegments:[]})}else X=ei(_,c,S,f).pipe((0,ke.U)(({matched:Ue,consumedSegments:dt,remainingSegments:Ft,parameters:Bt})=>{if(!Ue)return null;const $n=fs(_)+dt.length;return{snapshot:new Wr(dt,Bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,yo(c),qn(c),c.component??c._loadedComponent??null,c,hs(_),$n,m(c)),consumedSegments:dt,remainingSegments:Ft}}));return X.pipe((0,ye.w)(Ue=>{if(null===Ue)return(0,C.of)(null);const{snapshot:dt,consumedSegments:Ft,remainingSegments:Bt}=Ue;f=c._injector??f;const $n=c._loadedInjector??f,xi=function ds(h){return h.children?h.children:h.loadChildren?h._loadedRoutes:[]}(c),{segmentGroup:ur,slicedSegments:Eo}=qr(_,Ft,Bt,xi.filter(io=>void 0===io.redirectTo));if(0===Eo.length&&ur.hasChildren())return this.processChildren($n,xi,ur).pipe((0,ke.U)(io=>null===io?null:[new gr(dt,io)]));if(0===xi.length&&0===Eo.length)return(0,C.of)([new gr(dt,[])]);const Er=qn(c)===B;return this.processSegment($n,xi,ur,Eo,Er?G:B).pipe((0,ke.U)(io=>null===io?null:[new gr(dt,io)]))}))}}function Ci(h){const f=h.value.routeConfig;return f&&""===f.path&&void 0===f.redirectTo}function Xo(h){const f=[],c=new Set;for(const _ of h){if(!Ci(_)){f.push(_);continue}const S=f.find(B=>_.value.routeConfig===B.value.routeConfig);void 0!==S?(S.children.push(..._.children),c.add(S)):f.push(_)}for(const _ of c){const S=Xo(_.children);f.push(new gr(_.value,S))}return f.filter(_=>!c.has(_))}function hs(h){let f=h;for(;f._sourceSegment;)f=f._sourceSegment;return f}function fs(h){let f=h,c=f._segmentIndexShift??0;for(;f._sourceSegment;)f=f._sourceSegment,c+=f._segmentIndexShift??0;return c-1}function yo(h){return h.data||{}}function m(h){return h.resolve||{}}function $t(h){return"string"==typeof h.title||null===h.title}function Sn(h){return(0,ye.w)(f=>{const c=h(f);return c?(0,d.D)(c).pipe((0,ke.U)(()=>f)):(0,C.of)(f)})}const _n=new s.OlP("ROUTES");let ni=(()=>{class h{constructor(c,_){this.injector=c,this.compiler=_,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,C.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const _=bn(c.loadComponent()).pipe((0,ke.U)(ii),(0,q.b)(B=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=B}),(0,vt.x)(()=>{this.componentLoaders.delete(c)})),S=new Ae.c(_,()=>new be.x).pipe((0,ft.x)());return this.componentLoaders.set(c,S),S}loadChildren(c,_){if(this.childrenLoaders.get(_))return this.childrenLoaders.get(_);if(_._loadedRoutes)return(0,C.of)({routes:_._loadedRoutes,injector:_._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(_);const B=this.loadModuleFactoryOrRoutes(_.loadChildren).pipe((0,ke.U)(Ue=>{this.onLoadEndListener&&this.onLoadEndListener(_);let dt,Ft,Bt=!1;Array.isArray(Ue)?Ft=Ue:(dt=Ue.create(c).injector,Ft=Kt(dt.get(_n,[],s.XFs.Self|s.XFs.Optional)));return{routes:Ft.map(gn),injector:dt}}),(0,vt.x)(()=>{this.childrenLoaders.delete(_)})),X=new Ae.c(B,()=>new be.x).pipe((0,ft.x)());return this.childrenLoaders.set(_,X),X}loadModuleFactoryOrRoutes(c){return bn(c()).pipe((0,ke.U)(ii),(0,xe.z)(S=>S instanceof s.YKP||Array.isArray(S)?(0,C.of)(S):(0,d.D)(this.compiler.compileModuleAsync(S))))}}return h.\u0275fac=function(c){return new(c||h)(s.LFG(s.zs3),s.LFG(s.Sil))},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function ii(h){return function jn(h){return h&&"object"==typeof h&&"default"in h}(h)?h.default:h}let wi=(()=>{class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new be.x,this.configLoader=(0,s.f3M)(ni),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(St),this.rootContexts=(0,s.f3M)(Zt),this.navigationId=0,this.afterPreactivation=()=>(0,C.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=S=>this.events.next(new di(S)),this.configLoader.onLoadStartListener=S=>this.events.next(new pr(S))}complete(){this.transitions?.complete()}handleNavigationRequest(c){const _=++this.navigationId;this.transitions?.next({...this.transitions.value,...c,id:_})}setupNavigations(c){return this.transitions=new $.X({id:0,targetPageId:0,currentUrlTree:c.currentUrlTree,currentRawUrl:c.currentUrlTree,extractedUrl:c.urlHandlingStrategy.extract(c.currentUrlTree),urlAfterRedirects:c.urlHandlingStrategy.extract(c.currentUrlTree),rawUrl:c.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:In,restoredState:null,currentSnapshot:c.routerState.snapshot,targetSnapshot:null,currentRouterState:c.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ze.h)(_=>0!==_.id),(0,ke.U)(_=>({..._,extractedUrl:c.urlHandlingStrategy.extract(_.rawUrl)})),(0,ye.w)(_=>{let S=!1,B=!1;return(0,C.of)(_).pipe((0,q.b)(X=>{this.currentNavigation={id:X.id,initialUrl:X.rawUrl,extractedUrl:X.extractedUrl,trigger:X.source,extras:X.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ye.w)(X=>{const Ue=c.browserUrlTree.toString(),dt=!c.navigated||X.extractedUrl.toString()!==Ue||Ue!==c.currentUrlTree.toString();if(!dt&&"reload"!==(X.extras.onSameUrlNavigation??c.onSameUrlNavigation)){const Bt="";return this.events.next(new Rn(X.id,c.serializeUrl(_.rawUrl),Bt,0)),c.rawUrlTree=X.rawUrl,X.resolve(null),Y.E}if(c.urlHandlingStrategy.shouldProcessUrl(X.rawUrl))return $i(X.source)&&(c.browserUrlTree=X.extractedUrl),(0,C.of)(X).pipe((0,ye.w)(Bt=>{const $n=this.transitions?.getValue();return this.events.next(new Si(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),Bt.source,Bt.restoredState)),$n!==this.transitions?.getValue()?Y.E:Promise.resolve(Bt)}),function Us(h,f,c,_){return(0,ye.w)(S=>function Bs(h,f,c,_,S){return new Yo(h,f,c,_,S).apply()}(h,f,c,S.extractedUrl,_).pipe((0,ke.U)(B=>({...S,urlAfterRedirects:B}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,c.config),(0,q.b)(Bt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Bt.urlAfterRedirects},_.urlAfterRedirects=Bt.urlAfterRedirects}),function P(h,f,c,_,S){return(0,xe.z)(B=>function Oi(h,f,c,_,S,B,X="emptyOnly"){return new no(h,f,c,_,S,X,B).recognize().pipe((0,ye.w)(Ue=>null===Ue?function Ts(h){return new Z.y(f=>f.error(h))}(new Qo):(0,C.of)(Ue)))}(h,f,c,B.urlAfterRedirects,_.serialize(B.urlAfterRedirects),_,S).pipe((0,ke.U)(X=>({...B,targetSnapshot:X}))))}(this.environmentInjector,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,q.b)(Bt=>{if(_.targetSnapshot=Bt.targetSnapshot,"eager"===c.urlUpdateStrategy){if(!Bt.extras.skipLocationChange){const xi=c.urlHandlingStrategy.merge(Bt.urlAfterRedirects,Bt.rawUrl);c.setBrowserUrl(xi,Bt)}c.browserUrlTree=Bt.urlAfterRedirects}const $n=new Mo(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),this.urlSerializer.serialize(Bt.urlAfterRedirects),Bt.targetSnapshot);this.events.next($n)}));if(dt&&c.urlHandlingStrategy.shouldProcessUrl(c.rawUrlTree)){const{id:Bt,extractedUrl:$n,source:xi,restoredState:ur,extras:Eo}=X,Er=new Si(Bt,this.urlSerializer.serialize($n),xi,ur);this.events.next(Er);const io=So($n,this.rootComponentType).snapshot;return _={...X,targetSnapshot:io,urlAfterRedirects:$n,extras:{...Eo,skipLocationChange:!1,replaceUrl:!1}},(0,C.of)(_)}{const Bt="";return this.events.next(new Rn(X.id,c.serializeUrl(_.extractedUrl),Bt,1)),c.rawUrlTree=X.rawUrl,X.resolve(null),Y.E}}),(0,q.b)(X=>{const Ue=new fn(X.id,this.urlSerializer.serialize(X.extractedUrl),this.urlSerializer.serialize(X.urlAfterRedirects),X.targetSnapshot);this.events.next(Ue)}),(0,ke.U)(X=>_={...X,guards:Ho(X.targetSnapshot,X.currentSnapshot,this.rootContexts)}),function On(h,f){return(0,xe.z)(c=>{const{targetSnapshot:_,currentSnapshot:S,guards:{canActivateChecks:B,canDeactivateChecks:X}}=c;return 0===X.length&&0===B.length?(0,C.of)({...c,guardsResult:!0}):function ls(h,f,c,_){return(0,d.D)(h).pipe((0,xe.z)(S=>function Go(h,f,c,_,S){const B=f&&f.routeConfig?f.routeConfig.canDeactivate:null;if(!B||0===B.length)return(0,C.of)(!0);const X=B.map(Ue=>{const dt=Mn(f)??S,Ft=Jn(Ue,dt);return bn(function Es(h){return h&&Dr(h.canDeactivate)}(Ft)?Ft.canDeactivate(h,f,c,_):dt.runInContext(()=>Ft(h,f,c,_))).pipe((0,U.P)())});return(0,C.of)(X).pipe(Dt())}(S.component,S.route,c,f,_)),(0,U.P)(S=>!0!==S,!0))}(X,_,S,h).pipe((0,xe.z)(Ue=>Ue&&function Vo(h){return"boolean"==typeof h}(Ue)?function Cs(h,f,c,_){return(0,d.D)(f).pipe((0,se.b)(S=>(0,ce.z)(function ws(h,f){return null!==h&&f&&f(new Zi(h)),(0,C.of)(!0)}(S.route.parent,_),function mi(h,f){return null!==h&&f&&f(new Fi(h)),(0,C.of)(!0)}(S.route,_),function Vi(h,f,c){const _=f[f.length-1],B=f.slice(0,f.length-1).reverse().map(X=>function vr(h){const f=h.routeConfig?h.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:h,guards:f}:null}(X)).filter(X=>null!==X).map(X=>(0,J.P)(()=>{const Ue=X.guards.map(dt=>{const Ft=Mn(X.node)??c,Bt=Jn(dt,Ft);return bn(function as(h){return h&&Dr(h.canActivateChild)}(Bt)?Bt.canActivateChild(_,h):Ft.runInContext(()=>Bt(_,h))).pipe((0,U.P)())});return(0,C.of)(Ue).pipe(Dt())}));return(0,C.of)(B).pipe(Dt())}(h,S.path,c),function Br(h,f,c){const _=f.routeConfig?f.routeConfig.canActivate:null;if(!_||0===_.length)return(0,C.of)(!0);const S=_.map(B=>(0,J.P)(()=>{const X=Mn(f)??c,Ue=Jn(B,X);return bn(function ss(h){return h&&Dr(h.canActivate)}(Ue)?Ue.canActivate(f,h):X.runInContext(()=>Ue(f,h))).pipe((0,U.P)())}));return(0,C.of)(S).pipe(Dt())}(h,S.route,c))),(0,U.P)(S=>!0!==S,!0))}(_,B,h,f):(0,C.of)(Ue)),(0,ke.U)(Ue=>({...c,guardsResult:Ue})))})}(this.environmentInjector,X=>this.events.next(X)),(0,q.b)(X=>{if(_.guardsResult=X.guardsResult,W(X.guardsResult))throw Pe(0,X.guardsResult);const Ue=new so(X.id,this.urlSerializer.serialize(X.extractedUrl),this.urlSerializer.serialize(X.urlAfterRedirects),X.targetSnapshot,!!X.guardsResult);this.events.next(Ue)}),(0,ze.h)(X=>!!X.guardsResult||(c.restoreHistory(X),this.cancelNavigationTransition(X,"",3),!1)),Sn(X=>{if(X.guards.canActivateChecks.length)return(0,C.of)(X).pipe((0,q.b)(Ue=>{const dt=new wr(Ue.id,this.urlSerializer.serialize(Ue.extractedUrl),this.urlSerializer.serialize(Ue.urlAfterRedirects),Ue.targetSnapshot);this.events.next(dt)}),(0,ye.w)(Ue=>{let dt=!1;return(0,C.of)(Ue).pipe(function D(h,f){return(0,xe.z)(c=>{const{targetSnapshot:_,guards:{canActivateChecks:S}}=c;if(!S.length)return(0,C.of)(c);let B=0;return(0,d.D)(S).pipe((0,se.b)(X=>function j(h,f,c,_){const S=h.routeConfig,B=h._resolve;return void 0!==S?.title&&!$t(S)&&(B[w]=S.title),function pe(h,f,c,_){const S=function Je(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}(h);if(0===S.length)return(0,C.of)({});const B={};return(0,d.D)(S).pipe((0,xe.z)(X=>function gt(h,f,c,_){const S=Mn(f)??_,B=Jn(h,S);return bn(B.resolve?B.resolve(f,c):S.runInContext(()=>B(f,c)))}(h[X],f,c,_).pipe((0,U.P)(),(0,q.b)(Ue=>{B[X]=Ue}))),Ge(1),(0,lt.h)(B),(0,oe.K)(X=>Wo(X)?Y.E:(0,R._)(X)))}(B,h,f,_).pipe((0,ke.U)(X=>(h._resolvedData=X,h.data=Ni(h,c).resolve,S&&$t(S)&&(h.data[w]=S.title),null)))}(X.route,_,h,f)),(0,q.b)(()=>B++),Ge(1),(0,xe.z)(X=>B===S.length?(0,C.of)(c):Y.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,q.b)({next:()=>dt=!0,complete:()=>{dt||(c.restoreHistory(Ue),this.cancelNavigationTransition(Ue,"",2))}}))}),(0,q.b)(Ue=>{const dt=new bi(Ue.id,this.urlSerializer.serialize(Ue.extractedUrl),this.urlSerializer.serialize(Ue.urlAfterRedirects),Ue.targetSnapshot);this.events.next(dt)}))}),Sn(X=>{const Ue=dt=>{const Ft=[];dt.routeConfig?.loadComponent&&!dt.routeConfig._loadedComponent&&Ft.push(this.configLoader.loadComponent(dt.routeConfig).pipe((0,q.b)(Bt=>{dt.component=Bt}),(0,ke.U)(()=>{})));for(const Bt of dt.children)Ft.push(...Ue(Bt));return Ft};return(0,ee.a)(Ue(X.targetSnapshot.root)).pipe((0,st.d)(),(0,je.q)(1))}),Sn(()=>this.afterPreactivation()),(0,ke.U)(X=>{const Ue=function os(h,f,c){const _=Lr(h,f._root,c?c._root:void 0);return new Ii(_,f)}(c.routeReuseStrategy,X.targetSnapshot,X.currentRouterState);return _={...X,targetRouterState:Ue}}),(0,q.b)(X=>{c.currentUrlTree=X.urlAfterRedirects,c.rawUrlTree=c.urlHandlingStrategy.merge(X.urlAfterRedirects,X.rawUrl),c.routerState=X.targetRouterState,"deferred"===c.urlUpdateStrategy&&(X.extras.skipLocationChange||c.setBrowserUrl(c.rawUrlTree,X),c.browserUrlTree=X.urlAfterRedirects)}),((h,f,c)=>(0,ke.U)(_=>(new Ir(f,_.targetRouterState,_.currentRouterState,c).activate(h),_)))(this.rootContexts,c.routeReuseStrategy,X=>this.events.next(X)),(0,q.b)({next:X=>{S=!0,this.lastSuccessfulNavigation=this.currentNavigation,c.navigated=!0,this.events.next(new An(X.id,this.urlSerializer.serialize(X.extractedUrl),this.urlSerializer.serialize(c.currentUrlTree))),c.titleStrategy?.updateTitle(X.targetRouterState.snapshot),X.resolve(!0)},complete:()=>{S=!0}}),(0,vt.x)(()=>{S||B||this.cancelNavigationTransition(_,"",1),this.currentNavigation?.id===_.id&&(this.currentNavigation=null)}),(0,oe.K)(X=>{if(B=!0,At(X)){ht(X)||(c.navigated=!0,c.restoreHistory(_,!0));const Ue=new ai(_.id,this.urlSerializer.serialize(_.extractedUrl),X.message,X.cancellationCode);if(this.events.next(Ue),ht(X)){const dt=c.urlHandlingStrategy.merge(X.url,c.rawUrlTree),Ft={skipLocationChange:_.extras.skipLocationChange,replaceUrl:"eager"===c.urlUpdateStrategy||$i(_.source)};c.scheduleNavigation(dt,In,null,Ft,{resolve:_.resolve,reject:_.reject,promise:_.promise})}else _.resolve(!1)}else{c.restoreHistory(_,!0);const Ue=new ki(_.id,this.urlSerializer.serialize(_.extractedUrl),X,_.targetSnapshot??void 0);this.events.next(Ue);try{_.resolve(c.errorHandler(X))}catch(dt){_.reject(dt)}}return Y.E}))}))}cancelNavigationTransition(c,_,S){const B=new ai(c.id,this.urlSerializer.serialize(c.extractedUrl),_,S);this.events.next(B),c.resolve(!1)}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function $i(h){return h!==In}let ar=(()=>{class h{buildTitle(c){let _,S=c.root;for(;void 0!==S;)_=this.getResolvedTitleForRoute(S)??_,S=S.children.find(B=>B.outlet===G);return _}getResolvedTitleForRoute(c){return c.data[w]}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:function(){return(0,s.f3M)(vo)},providedIn:"root"}),h})(),vo=(()=>{class h extends ar{constructor(c){super(),this.title=c}updateTitle(c){const _=this.buildTitle(c);void 0!==_&&this.title.setTitle(_)}}return h.\u0275fac=function(c){return new(c||h)(s.LFG(fe.Dx))},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),Ar=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:function(){return(0,s.f3M)(No)},providedIn:"root"}),h})();class ps{shouldDetach(f){return!1}store(f,c){}shouldAttach(f){return!1}retrieve(f){return null}shouldReuseRoute(f,c){return f.routeConfig===c.routeConfig}}let No=(()=>{class h extends ps{}return h.\u0275fac=function(){let f;return function(_){return(f||(f=s.n5z(h)))(_||h)}}(),h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const jr=new s.OlP("",{providedIn:"root",factory:()=>({})});let ta=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:function(){return(0,s.f3M)(gs)},providedIn:"root"}),h})(),gs=(()=>{class h{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,_){return c}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function Is(h){throw h}function Or(h,f,c){return f.parse("/")}const As={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Do={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Pi=(()=>{class h{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,s.f3M)(s.c2e),this.isNgZoneEnabled=!1,this.options=(0,s.f3M)(jr,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Is,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Or,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,s.f3M)(ta),this.routeReuseStrategy=(0,s.f3M)(Ar),this.urlCreationStrategy=(0,s.f3M)(ir),this.titleStrategy=(0,s.f3M)(ar),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=Kt((0,s.f3M)(_n,{optional:!0})??[]),this.navigationTransitions=(0,s.f3M)(wi),this.urlSerializer=(0,s.f3M)(St),this.location=(0,s.f3M)(Be.Ye),this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new pt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=So(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(c=>{this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId},c=>{this.console.warn(`Unhandled Navigation Error: ${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),In,c)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const _="popstate"===c.type?"popstate":"hashchange";"popstate"===_&&setTimeout(()=>{this.navigateToSyncWithBrowser(c.url,_,c.state)},0)}))}navigateToSyncWithBrowser(c,_,S){const B={replaceUrl:!0},X=S?.navigationId?S:null;if(S){const dt={...S};delete dt.navigationId,delete dt.\u0275routerPageId,0!==Object.keys(dt).length&&(B.state=dt)}const Ue=this.parseUrl(c);this.scheduleNavigation(Ue,_,X,B)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(c){this.config=c.map(gn),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}createUrlTree(c,_={}){const{relativeTo:S,queryParams:B,fragment:X,queryParamsHandling:Ue,preserveFragment:dt}=_,Ft=dt?this.currentUrlTree.fragment:X;let Bt=null;switch(Ue){case"merge":Bt={...this.currentUrlTree.queryParams,...B};break;case"preserve":Bt=this.currentUrlTree.queryParams;break;default:Bt=B||null}return null!==Bt&&(Bt=this.removeEmptyProps(Bt)),this.urlCreationStrategy.createUrlTree(S,this.routerState,this.currentUrlTree,c,Bt,Ft??null)}navigateByUrl(c,_={skipLocationChange:!1}){const S=W(c)?c:this.parseUrl(c),B=this.urlHandlingStrategy.merge(S,this.rawUrlTree);return this.scheduleNavigation(B,In,null,_)}navigate(c,_={skipLocationChange:!1}){return function Os(h){for(let f=0;f<h.length;f++){const c=h[f];if(null==c)throw new s.vHH(4008,false)}}(c),this.navigateByUrl(this.createUrlTree(c,_),_)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let _;try{_=this.urlSerializer.parse(c)}catch(S){_=this.malformedUriErrorHandler(S,this.urlSerializer,c)}return _}isActive(c,_){let S;if(S=!0===_?{...As}:!1===_?{...Do}:_,W(c))return Ne(this.currentUrlTree,c,S);const B=this.parseUrl(c);return Ne(this.currentUrlTree,B,S)}removeEmptyProps(c){return Object.keys(c).reduce((_,S)=>{const B=c[S];return null!=B&&(_[S]=B),_},{})}scheduleNavigation(c,_,S,B,X){if(this.disposed)return Promise.resolve(!1);let Ue,dt,Ft,Bt;return X?(Ue=X.resolve,dt=X.reject,Ft=X.promise):Ft=new Promise(($n,xi)=>{Ue=$n,dt=xi}),Bt="computed"===this.canceledNavigationResolution?S&&S.\u0275routerPageId?S.\u0275routerPageId:B.replaceUrl||B.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Bt,source:_,restoredState:S,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:c,extras:B,resolve:Ue,reject:dt,promise:Ft,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ft.catch($n=>Promise.reject($n))}setBrowserUrl(c,_){const S=this.urlSerializer.serialize(c),B={..._.extras.state,...this.generateNgRouterState(_.id,_.targetPageId)};this.location.isCurrentPathEqualTo(S)||_.extras.replaceUrl?this.location.replaceState(S,"",B):this.location.go(S,"",B)}restoreHistory(c,_=!1){if("computed"===this.canceledNavigationResolution){const S=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===S?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===S&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(S)}else"replace"===this.canceledNavigationResolution&&(_&&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,_){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:_}:{navigationId:c}}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),E=(()=>{class h{constructor(c,_,S,B,X,Ue){this.router=c,this.route=_,this.tabIndexAttribute=S,this.renderer=B,this.el=X,this.locationStrategy=Ue,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new be.x;const dt=X.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===dt||"area"===dt,this.isAnchorElement?this.subscription=c.events.subscribe(Ft=>{Ft instanceof An&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(c){this._preserveFragment=(0,s.D6c)(c)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(c){this._skipLocationChange=(0,s.D6c)(c)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(c){this._replaceUrl=(0,s.D6c)(c)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(c){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",c)}ngOnChanges(c){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(c,_,S,B,X){return!!(null===this.urlTree||this.isAnchorElement&&(0!==c||_||S||B||X||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const c=null===this.href?null:(0,s.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",c)}applyAttributeValue(c,_){const S=this.renderer,B=this.el.nativeElement;null!==_?S.setAttribute(B,c,_):S.removeAttribute(B,c)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return h.\u0275fac=function(c){return new(c||h)(s.Y36(Pi),s.Y36(Li),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(Be.S$))},h.\u0275dir=s.lG2({type:h,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(c,_){1&c&&s.NdJ("click",function(B){return _.onClick(B.button,B.ctrlKey,B.shiftKey,B.altKey,B.metaKey)}),2&c&&s.uIk("target",_.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[s.TTD]}),h})(),l=(()=>{class h{get isActive(){return this._isActive}constructor(c,_,S,B,X){this.router=c,this.element=_,this.renderer=S,this.cdr=B,this.link=X,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new s.vpe,this.routerEventsSubscription=c.events.subscribe(Ue=>{Ue instanceof An&&this.update()})}ngAfterContentInit(){(0,C.of)(this.links.changes,(0,C.of)(null)).pipe((0,ot.J)()).subscribe(c=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const c=[...this.links.toArray(),this.link].filter(_=>!!_).map(_=>_.onChanges);this.linkInputChangesSubscription=(0,d.D)(c).pipe((0,ot.J)()).subscribe(_=>{this._isActive!==this.isLinkActive(this.router)(_)&&this.update()})}set routerLinkActive(c){const _=Array.isArray(c)?c:c.split(" ");this.classes=_.filter(S=>!!S)}ngOnChanges(c){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const c=this.hasActiveLinks();this._isActive!==c&&(this._isActive=c,this.cdr.markForCheck(),this.classes.forEach(_=>{c?this.renderer.addClass(this.element.nativeElement,_):this.renderer.removeClass(this.element.nativeElement,_)}),c&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(c))})}isLinkActive(c){const _=function a(h){return!!h.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return S=>!!S.urlTree&&c.isActive(S.urlTree,_)}hasActiveLinks(){const c=this.isLinkActive(this.router);return this.link&&c(this.link)||this.links.some(c)}}return h.\u0275fac=function(c){return new(c||h)(s.Y36(Pi),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(E,8))},h.\u0275dir=s.lG2({type:h,selectors:[["","routerLinkActive",""]],contentQueries:function(c,_,S){if(1&c&&s.Suo(S,E,5),2&c){let B;s.iGM(B=s.CRH())&&(_.links=B)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[s.TTD]}),h})();class y{}let we=(()=>{class h{constructor(c,_,S,B,X){this.router=c,this.injector=S,this.preloadingStrategy=B,this.loader=X}setUpPreloading(){this.subscription=this.router.events.pipe((0,ze.h)(c=>c instanceof An),(0,se.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,_){const S=[];for(const B of _){B.providers&&!B._injector&&(B._injector=(0,s.MMx)(B.providers,c,`Route: ${B.path}`));const X=B._injector??c,Ue=B._loadedInjector??X;B.loadChildren&&!B._loadedRoutes&&void 0===B.canLoad||B.loadComponent&&!B._loadedComponent?S.push(this.preloadConfig(X,B)):(B.children||B._loadedRoutes)&&S.push(this.processRoutes(Ue,B.children??B._loadedRoutes))}return(0,d.D)(S).pipe((0,ot.J)())}preloadConfig(c,_){return this.preloadingStrategy.preload(_,()=>{let S;S=_.loadChildren&&void 0===_.canLoad?this.loader.loadChildren(c,_):(0,C.of)(null);const B=S.pipe((0,xe.z)(X=>null===X?(0,C.of)(void 0):(_._loadedRoutes=X.routes,_._loadedInjector=X.injector,this.processRoutes(X.injector??c,X.routes))));if(_.loadComponent&&!_._loadedComponent){const X=this.loader.loadComponent(_);return(0,d.D)([B,X]).pipe((0,ot.J)())}return B})}}return h.\u0275fac=function(c){return new(c||h)(s.LFG(Pi),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(y),s.LFG(ni))},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const Me=new s.OlP("");let Xe=(()=>{class h{constructor(c,_,S,B,X={}){this.urlSerializer=c,this.transitions=_,this.viewportScroller=S,this.zone=B,this.options=X,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},X.scrollPositionRestoration=X.scrollPositionRestoration||"disabled",X.anchorScrolling=X.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 Si?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof An&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof ao&&(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,_){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ao(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,_))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return h.\u0275fac=function(c){s.$Z()},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac}),h})();var rt=(()=>((rt=rt||{})[rt.COMPLETE=0]="COMPLETE",rt[rt.FAILED=1]="FAILED",rt[rt.REDIRECTING=2]="REDIRECTING",rt))();const Rt=!1;function Xt(h,f){return{\u0275kind:h,\u0275providers:f}}const rn=new s.OlP("",{providedIn:"root",factory:()=>!1});function _i(){const h=(0,s.f3M)(s.zs3);return f=>{const c=h.get(s.z2F);if(f!==c.components[0])return;const _=h.get(Pi),S=h.get(ci);1===h.get(lr)&&_.initialNavigation(),h.get(Wi,null,s.XFs.Optional)?.setUpPreloading(),h.get(Me,null,s.XFs.Optional)?.init(),_.resetRootComponentType(c.componentTypes[0]),S.closed||(S.next(),S.unsubscribe())}}const ci=new s.OlP(Rt?"bootstrap done indicator":"",{factory:()=>new be.x}),lr=new s.OlP(Rt?"initial navigation":"",{providedIn:"root",factory:()=>1});function Pr(){let h=[];return h=Rt?[{provide:s.Xts,multi:!0,useFactory:()=>{const f=(0,s.f3M)(Pi);return()=>f.events.subscribe(c=>{console.group?.(`Router Event: ${c.constructor.name}`),console.log(function En(h){if(!("type"in h))return`Unknown Router Event: ${h.constructor.name}`;switch(h.type){case 14:return`ActivationEnd(path: '${h.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${h.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${h.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${h.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${h.id}, url: '${h.url}', urlAfterRedirects: '${h.urlAfterRedirects}', state: ${h.state}, shouldActivate: ${h.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${h.id}, url: '${h.url}', urlAfterRedirects: '${h.urlAfterRedirects}', state: ${h.state})`;case 2:return`NavigationCancel(id: ${h.id}, url: '${h.url}')`;case 16:return`NavigationSkipped(id: ${h.id}, url: '${h.url}')`;case 1:return`NavigationEnd(id: ${h.id}, url: '${h.url}', urlAfterRedirects: '${h.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${h.id}, url: '${h.url}', error: ${h.error})`;case 0:return`NavigationStart(id: ${h.id}, url: '${h.url}')`;case 6:return`ResolveEnd(id: ${h.id}, url: '${h.url}', urlAfterRedirects: '${h.urlAfterRedirects}', state: ${h.state})`;case 5:return`ResolveStart(id: ${h.id}, url: '${h.url}', urlAfterRedirects: '${h.urlAfterRedirects}', state: ${h.state})`;case 10:return`RouteConfigLoadEnd(path: ${h.route.path})`;case 9:return`RouteConfigLoadStart(path: ${h.route.path})`;case 4:return`RoutesRecognized(id: ${h.id}, url: '${h.url}', urlAfterRedirects: '${h.urlAfterRedirects}', state: ${h.state})`;case 15:return`Scroll(anchor: '${h.anchor}', position: '${h.position?`${h.position[0]}, ${h.position[1]}`:null}')`}}(c)),console.log(c),console.groupEnd?.()})}}]:[],Xt(1,h)}const Wi=new s.OlP(Rt?"router preloader":"");function bo(h){return Xt(0,[{provide:Wi,useExisting:we},{provide:y,useExisting:h}])}const Jo=!1,Wt=new s.OlP(Jo?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),Jt=[Be.Ye,{provide:St,useClass:Ht},Pi,Zt,{provide:Li,useFactory:function cn(h){return h.routerState.root},deps:[Pi]},ni,Jo?{provide:rn,useValue:!0}:[]];function on(){return new s.PXZ("Router",Pi)}let Un=(()=>{class h{constructor(c){}static forRoot(c,_){return{ngModule:h,providers:[Jt,Jo&&_?.enableTracing?Pr().\u0275providers:[],{provide:_n,multi:!0,useValue:c},{provide:Wt,useFactory:Yn,deps:[[Pi,new s.FiY,new s.tp0]]},{provide:jr,useValue:_||{}},_?.useHash?{provide:Be.S$,useClass:Be.Do}:{provide:Be.S$,useClass:Be.b0},{provide:Me,useFactory:()=>{const h=(0,s.f3M)(Be.EM),f=(0,s.f3M)(s.R0b),c=(0,s.f3M)(jr),_=(0,s.f3M)(wi),S=(0,s.f3M)(St);return c.scrollOffset&&h.setOffset(c.scrollOffset),new Xe(S,_,h,f,c)}},_?.preloadingStrategy?bo(_.preloadingStrategy).\u0275providers:[],{provide:s.PXZ,multi:!0,useFactory:on},_?.initialNavigation?Qn(_):[],[{provide:Vr,useFactory:_i},{provide:s.tb,multi:!0,useExisting:Vr}]]}}static forChild(c){return{ngModule:h,providers:[{provide:_n,multi:!0,useValue:c}]}}}return h.\u0275fac=function(c){return new(c||h)(s.LFG(Wt,8))},h.\u0275mod=s.oAB({type:h}),h.\u0275inj=s.cJS({imports:[fi]}),h})();function Yn(h){if(Jo&&h)throw new s.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Qn(h){return["disabled"===h.initialNavigation?Xt(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const f=(0,s.f3M)(Pi);return()=>{f.setUpLocationChangeListener()}}},{provide:lr,useValue:2}]).\u0275providers:[],"enabledBlocking"===h.initialNavigation?Xt(2,[{provide:lr,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:f=>{const c=f.get(Be.V_,Promise.resolve());return()=>c.then(()=>new Promise(_=>{const S=f.get(Pi),B=f.get(ci);(function Nt(h,f){h.events.pipe((0,ze.h)(c=>c instanceof An||c instanceof ai||c instanceof ki||c instanceof Rn),(0,ke.U)(c=>c instanceof An||c instanceof Rn?rt.COMPLETE:c instanceof ai&&(0===c.code||1===c.code)?rt.REDIRECTING:rt.FAILED),(0,ze.h)(c=>c!==rt.REDIRECTING),(0,je.q)(1)).subscribe(()=>{f()})})(S,()=>{_(!0)}),f.get(wi).afterPreactivation=()=>(_(!0),B.closed?(0,C.of)(void 0):B),S.initialNavigation()}))}}]).\u0275providers:[]]}const Vr=new s.OlP(Jo?"Router Initializer":"")},63942:(yt,Ee,g)=>{g.d(Ee,{Z:()=>Be});var s=g(42090),d=g(34859),C=g(49681),$=g(41877);class k{constructor(ye,je){this._delegate=ye,this.firebase=je,(0,C._addComponent)(ye,new d.wA("app-compat",()=>this,"PUBLIC")),this.container=ye.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(ye){this._delegate.automaticDataCollectionEnabled=ye}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(ye=>{this._delegate.checkDestroyed(),ye()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,C.deleteApp)(this._delegate)))}_getService(ye,je=C._DEFAULT_ENTRY_NAME){var Ke;this._delegate.checkDestroyed();const ze=this._delegate.container.getProvider(ye);return!ze.isInitialized()&&"EXPLICIT"===(null===(Ke=ze.getComponent())||void 0===Ke?void 0:Ke.instantiationMode)&&ze.initialize(),ze.getImmediate({identifier:je})}_removeServiceInstance(ye,je=C._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(ye).clearInstance(je)}_addComponent(ye){(0,C._addComponent)(this._delegate,ye)}_addOrOverwriteComponent(ye){(0,C._addOrOverwriteComponent)(this._delegate,ye)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const ce=new s.LL("app-compat","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance."}),R=function ne(){const ke=function J(ke){const ye={},je={__esModule:!0,initializeApp:function xe(oe,le={}){const ve=C.initializeApp(oe,le);if((0,s.r3)(ye,ve.name))return ye[ve.name];const Ze=new ke(ve,je);return ye[ve.name]=Ze,Ze},app:ze,registerVersion:C.registerVersion,setLogLevel:C.setLogLevel,onLog:C.onLog,apps:null,SDK_VERSION:C.SDK_VERSION,INTERNAL:{registerComponent:function se(oe){const le=oe.name,ve=le.replace("-compat","");if(C._registerComponent(oe)&&"PUBLIC"===oe.type){const Ze=(Ge=ze())=>{if("function"!=typeof Ge[ve])throw ce.create("invalid-app-argument",{appName:le});return Ge[ve]()};void 0!==oe.serviceProps&&(0,s.ZB)(Ze,oe.serviceProps),je[ve]=Ze,ke.prototype[ve]=function(...Ge){return this._getService.bind(this,le).apply(this,oe.multipleInstances?Ge:[])}}return"PUBLIC"===oe.type?je[ve]:null},removeApp:function Ke(oe){delete ye[oe]},useAsService:function q(oe,le){return"serverAuth"===le?null:le},modularAPIs:C}};function ze(oe){if(!(0,s.r3)(ye,oe=oe||C._DEFAULT_ENTRY_NAME))throw ce.create("no-app",{appName:oe});return ye[oe]}return je.default=je,Object.defineProperty(je,"apps",{get:function U(){return Object.keys(ye).map(oe=>ye[oe])}}),ze.App=ke,je}(k);return ke.INTERNAL=Object.assign(Object.assign({},ke.INTERNAL),{createFirebaseNamespace:ne,extendNamespace:function ye(je){(0,s.ZB)(ke,je)},createSubscribe:s.ne,ErrorFactory:s.LL,deepExtend:s.ZB}),ke}(),Z=new $.Yd("@firebase/app-compat");if((0,s.jU)()&&void 0!==self.firebase){Z.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n ");const ke=self.firebase.SDK_VERSION;ke&&ke.indexOf("LITE")>=0&&Z.warn("\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n ")}const Be=R;!function be(ke){(0,C.registerVersion)("@firebase/app-compat","0.2.5",ke)}()},49681:(yt,Ee,g)=>{g.r(Ee),g.d(Ee,{FirebaseError:()=>$.ZR,SDK_VERSION:()=>hn,_DEFAULT_ENTRY_NAME:()=>vt,_addComponent:()=>G,_addOrOverwriteComponent:()=>w,_apps:()=>ot,_clearComponents:()=>Mt,_components:()=>fe,_getProvider:()=>De,_registerComponent:()=>K,_removeServiceInstance:()=>et,deleteApp:()=>Pn,getApp:()=>zt,getApps:()=>bn,initializeApp:()=>mn,onLog:()=>Ne,registerVersion:()=>yn,setLogLevel:()=>V});var s=g(15861),d=g(34859),C=g(41877),$=g(42090),k=g(98766);class ee{constructor(ut){this.container=ut}getPlatformInfoString(){return this.container.getProviders().map(z=>{if(function ce(It){return"VERSION"===It.getComponent()?.type}(z)){const x=z.getImmediate();return`${x.library}/${x.version}`}return null}).filter(z=>z).join(" ")}}const J="@firebase/app",R=new C.Yd("@firebase/app"),vt="[DEFAULT]",ft={[J]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","fire-js":"fire-js",firebase:"fire-js-all"},ot=new Map,fe=new Map;function G(It,ut){try{It.container.addComponent(ut)}catch(z){R.debug(`Component ${ut.name} failed to register with FirebaseApp ${It.name}`,z)}}function w(It,ut){It.container.addOrOverwriteComponent(ut)}function K(It){const ut=It.name;if(fe.has(ut))return R.debug(`There were multiple attempts to register component ${ut}.`),!1;fe.set(ut,It);for(const z of ot.values())G(z,It);return!0}function De(It,ut){const z=It.container.getProvider("heartbeat").getImmediate({optional:!0});return z&&z.triggerHeartbeat(),It.container.getProvider(ut)}function et(It,ut,z=vt){De(It,ut).clearInstance(z)}function Mt(){fe.clear()}const Lt=new $.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."});class Kt{constructor(ut,z,x){this._isDeleted=!1,this._options=Object.assign({},ut),this._config=Object.assign({},z),this._name=z.name,this._automaticDataCollectionEnabled=z.automaticDataCollectionEnabled,this._container=x,this.container.addComponent(new d.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(ut){this.checkDestroyed(),this._automaticDataCollectionEnabled=ut}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(ut){this._isDeleted=ut}checkDestroyed(){if(this.isDeleted)throw Lt.create("app-deleted",{appName:this._name})}}const hn="9.18.0";function mn(It,ut={}){let z=It;"object"!=typeof ut&&(ut={name:ut});const x=Object.assign({name:vt,automaticDataCollectionEnabled:!1},ut),A=x.name;if("string"!=typeof A||!A)throw Lt.create("bad-app-name",{appName:String(A)});if(z||(z=(0,$.aH)()),!z)throw Lt.create("no-options");const ie=ot.get(A);if(ie){if((0,$.vZ)(z,ie.options)&&(0,$.vZ)(x,ie.config))return ie;throw Lt.create("duplicate-app",{appName:A})}const Ie=new d.H0(A);for(const re of fe.values())Ie.addComponent(re);const te=new Kt(z,x,Ie);return ot.set(A,te),te}function zt(It=vt){const ut=ot.get(It);if(!ut&&It===vt)return mn();if(!ut)throw Lt.create("no-app",{appName:It});return ut}function bn(){return Array.from(ot.values())}function Pn(It){return ln.apply(this,arguments)}function ln(){return(ln=(0,s.Z)(function*(It){const ut=It.name;ot.has(ut)&&(ot.delete(ut),yield Promise.all(It.container.getProviders().map(z=>z.delete())),It.isDeleted=!0)})).apply(this,arguments)}function yn(It,ut,z){var x;let A=null!==(x=ft[It])&&void 0!==x?x:It;z&&(A+=`-${z}`);const ie=A.match(/\s|\//),Ie=ut.match(/\s|\//);if(ie||Ie){const te=[`Unable to register library "${A}" with version "${ut}":`];return ie&&te.push(`library name "${A}" contains illegal characters (whitespace or "/")`),ie&&Ie&&te.push("and"),Ie&&te.push(`version name "${ut}" contains illegal characters (whitespace or "/")`),void R.warn(te.join(" "))}K(new d.wA(`${A}-version`,()=>({library:A,version:ut}),"VERSION"))}function Ne(It,ut){if(null!==It&&"function"!=typeof It)throw Lt.create("invalid-log-argument");(0,C.Am)(It,ut)}function V(It){(0,C.Ub)(It)}const de="firebase-heartbeat-database",Te=1,Qe="firebase-heartbeat-store";let ct=null;function at(){return ct||(ct=(0,k.X3)(de,Te,{upgrade:(It,ut)=>{0===ut&&It.createObjectStore(Qe)}}).catch(It=>{throw Lt.create("idb-open",{originalErrorMessage:It.message})})),ct}function _e(){return(_e=(0,s.Z)(function*(It){try{return(yield at()).transaction(Qe).objectStore(Qe).get(Le(It))}catch(ut){if(ut instanceof $.ZR)R.warn(ut.message);else{const z=Lt.create("idb-get",{originalErrorMessage:ut?.message});R.warn(z.message)}}})).apply(this,arguments)}function it(It,ut){return ge.apply(this,arguments)}function ge(){return(ge=(0,s.Z)(function*(It,ut){try{const x=(yield at()).transaction(Qe,"readwrite");return yield x.objectStore(Qe).put(ut,Le(It)),x.done}catch(z){if(z instanceof $.ZR)R.warn(z.message);else{const x=Lt.create("idb-set",{originalErrorMessage:z?.message});R.warn(x.message)}}})).apply(this,arguments)}function Le(It){return`${It.name}!${It.options.appId}`}class Ht{constructor(ut){this.container=ut,this._heartbeatsCache=null;const z=this.container.getProvider("app").getImmediate();this._storage=new jt(z),this._heartbeatsCachePromise=this._storage.read().then(x=>(this._heartbeatsCache=x,x))}triggerHeartbeat(){var ut=this;return(0,s.Z)(function*(){const x=ut.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),A=Ot();if(null===ut._heartbeatsCache&&(ut._heartbeatsCache=yield ut._heartbeatsCachePromise),ut._heartbeatsCache.lastSentHeartbeatDate!==A&&!ut._heartbeatsCache.heartbeats.some(ie=>ie.date===A))return ut._heartbeatsCache.heartbeats.push({date:A,agent:x}),ut._heartbeatsCache.heartbeats=ut._heartbeatsCache.heartbeats.filter(ie=>{const Ie=new Date(ie.date).valueOf();return Date.now()-Ie<=2592e6}),ut._storage.overwrite(ut._heartbeatsCache)})()}getHeartbeatsHeader(){var ut=this;return(0,s.Z)(function*(){if(null===ut._heartbeatsCache&&(yield ut._heartbeatsCachePromise),null===ut._heartbeatsCache||0===ut._heartbeatsCache.heartbeats.length)return"";const z=Ot(),{heartbeatsToSend:x,unsentEntries:A}=function nn(It,ut=1024){const z=[];let x=It.slice();for(const A of It){const ie=z.find(Ie=>Ie.agent===A.agent);if(ie){if(ie.dates.push(A.date),xn(z)>ut){ie.dates.pop();break}}else if(z.push({agent:A.agent,dates:[A.date]}),xn(z)>ut){z.pop();break}x=x.slice(1)}return{heartbeatsToSend:z,unsentEntries:x}}(ut._heartbeatsCache.heartbeats),ie=(0,$.L)(JSON.stringify({version:2,heartbeats:x}));return ut._heartbeatsCache.lastSentHeartbeatDate=z,A.length>0?(ut._heartbeatsCache.heartbeats=A,yield ut._storage.overwrite(ut._heartbeatsCache)):(ut._heartbeatsCache.heartbeats=[],ut._storage.overwrite(ut._heartbeatsCache)),ie})()}}function Ot(){return(new Date).toISOString().substring(0,10)}class jt{constructor(ut){this.app=ut,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,s.Z)(function*(){return!!(0,$.hl)()&&(0,$.eu)().then(()=>!0).catch(()=>!1)})()}read(){var ut=this;return(0,s.Z)(function*(){return(yield ut._canUseIndexedDBPromise)&&(yield function pt(It){return _e.apply(this,arguments)}(ut.app))||{heartbeats:[]}})()}overwrite(ut){var z=this;return(0,s.Z)(function*(){var x;if(yield z._canUseIndexedDBPromise){const ie=yield z.read();return it(z.app,{lastSentHeartbeatDate:null!==(x=ut.lastSentHeartbeatDate)&&void 0!==x?x:ie.lastSentHeartbeatDate,heartbeats:ut.heartbeats})}})()}add(ut){var z=this;return(0,s.Z)(function*(){var x;if(yield z._canUseIndexedDBPromise){const ie=yield z.read();return it(z.app,{lastSentHeartbeatDate:null!==(x=ut.lastSentHeartbeatDate)&&void 0!==x?x:ie.lastSentHeartbeatDate,heartbeats:[...ie.heartbeats,...ut.heartbeats]})}})()}}function xn(It){return(0,$.L)(JSON.stringify({version:2,heartbeats:It})).length}!function Nn(It){K(new d.wA("platform-logger",ut=>new ee(ut),"PRIVATE")),K(new d.wA("heartbeat",ut=>new Ht(ut),"PRIVATE")),yn(J,"0.9.5",It),yn(J,"0.9.5","esm2017"),yn("fire-js","")}("")},34859:(yt,Ee,g)=>{g.d(Ee,{H0:()=>J,wA:()=>C});var s=g(15861),d=g(42090);class C{constructor(R,Z,Y){this.name=R,this.instanceFactory=Z,this.type=Y,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(R){return this.instantiationMode=R,this}setMultipleInstances(R){return this.multipleInstances=R,this}setServiceProps(R){return this.serviceProps=R,this}setInstanceCreatedCallback(R){return this.onInstanceCreated=R,this}}const $="[DEFAULT]";class k{constructor(R,Z){this.name=R,this.container=Z,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(R){const Z=this.normalizeInstanceIdentifier(R);if(!this.instancesDeferred.has(Z)){const Y=new d.BH;if(this.instancesDeferred.set(Z,Y),this.isInitialized(Z)||this.shouldAutoInitialize())try{const Ae=this.getOrInitializeService({instanceIdentifier:Z});Ae&&Y.resolve(Ae)}catch{}}return this.instancesDeferred.get(Z).promise}getImmediate(R){var Z;const Y=this.normalizeInstanceIdentifier(R?.identifier),Ae=null!==(Z=R?.optional)&&void 0!==Z&&Z;if(!this.isInitialized(Y)&&!this.shouldAutoInitialize()){if(Ae)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:Y})}catch(be){if(Ae)return null;throw be}}getComponent(){return this.component}setComponent(R){if(R.name!==this.name)throw Error(`Mismatching Component ${R.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=R,this.shouldAutoInitialize()){if(function ce(ne){return"EAGER"===ne.instantiationMode}(R))try{this.getOrInitializeService({instanceIdentifier:$})}catch{}for(const[Z,Y]of this.instancesDeferred.entries()){const Ae=this.normalizeInstanceIdentifier(Z);try{const be=this.getOrInitializeService({instanceIdentifier:Ae});Y.resolve(be)}catch{}}}}clearInstance(R=$){this.instancesDeferred.delete(R),this.instancesOptions.delete(R),this.instances.delete(R)}delete(){var R=this;return(0,s.Z)(function*(){const Z=Array.from(R.instances.values());yield Promise.all([...Z.filter(Y=>"INTERNAL"in Y).map(Y=>Y.INTERNAL.delete()),...Z.filter(Y=>"_delete"in Y).map(Y=>Y._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(R=$){return this.instances.has(R)}getOptions(R=$){return this.instancesOptions.get(R)||{}}initialize(R={}){const{options:Z={}}=R,Y=this.normalizeInstanceIdentifier(R.instanceIdentifier);if(this.isInitialized(Y))throw Error(`${this.name}(${Y}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const Ae=this.getOrInitializeService({instanceIdentifier:Y,options:Z});for(const[be,Be]of this.instancesDeferred.entries())Y===this.normalizeInstanceIdentifier(be)&&Be.resolve(Ae);return Ae}onInit(R,Z){var Y;const Ae=this.normalizeInstanceIdentifier(Z),be=null!==(Y=this.onInitCallbacks.get(Ae))&&void 0!==Y?Y:new Set;be.add(R),this.onInitCallbacks.set(Ae,be);const Be=this.instances.get(Ae);return Be&&R(Be,Ae),()=>{be.delete(R)}}invokeOnInitCallbacks(R,Z){const Y=this.onInitCallbacks.get(Z);if(Y)for(const Ae of Y)try{Ae(R,Z)}catch{}}getOrInitializeService({instanceIdentifier:R,options:Z={}}){let Y=this.instances.get(R);if(!Y&&this.component&&(Y=this.component.instanceFactory(this.container,{instanceIdentifier:(ne=R,ne===$?void 0:ne),options:Z}),this.instances.set(R,Y),this.instancesOptions.set(R,Z),this.invokeOnInitCallbacks(Y,R),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,R,Y)}catch{}var ne;return Y||null}normalizeInstanceIdentifier(R=$){return this.component?this.component.multipleInstances?R:$:R}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class J{constructor(R){this.name=R,this.providers=new Map}addComponent(R){const Z=this.getProvider(R.name);if(Z.isComponentSet())throw new Error(`Component ${R.name} has already been registered with ${this.name}`);Z.setComponent(R)}addOrOverwriteComponent(R){this.getProvider(R.name).isComponentSet()&&this.providers.delete(R.name),this.addComponent(R)}getProvider(R){if(this.providers.has(R))return this.providers.get(R);const Z=new k(R,this);return this.providers.set(R,Z),Z}getProviders(){return Array.from(this.providers.values())}}},41877:(yt,Ee,g)=>{g.d(Ee,{Am:()=>ne,Ub:()=>J,Yd:()=>ce,in:()=>d});const s=[];var d=(()=>{return(R=d||(d={}))[R.DEBUG=0]="DEBUG",R[R.VERBOSE=1]="VERBOSE",R[R.INFO=2]="INFO",R[R.WARN=3]="WARN",R[R.ERROR=4]="ERROR",R[R.SILENT=5]="SILENT",d;var R})();const C={debug:d.DEBUG,verbose:d.VERBOSE,info:d.INFO,warn:d.WARN,error:d.ERROR,silent:d.SILENT},$=d.INFO,k={[d.DEBUG]:"log",[d.VERBOSE]:"log",[d.INFO]:"info",[d.WARN]:"warn",[d.ERROR]:"error"},ee=(R,Z,...Y)=>{if(Z<R.logLevel)return;const Ae=(new Date).toISOString(),be=k[Z];if(!be)throw new Error(`Attempted to log a message with an invalid logType (value: ${Z})`);console[be](`[${Ae}] ${R.name}:`,...Y)};class ce{constructor(Z){this.name=Z,this._logLevel=$,this._logHandler=ee,this._userLogHandler=null,s.push(this)}get logLevel(){return this._logLevel}set logLevel(Z){if(!(Z in d))throw new TypeError(`Invalid value "${Z}" assigned to \`logLevel\``);this._logLevel=Z}setLogLevel(Z){this._logLevel="string"==typeof Z?C[Z]:Z}get logHandler(){return this._logHandler}set logHandler(Z){if("function"!=typeof Z)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=Z}get userLogHandler(){return this._userLogHandler}set userLogHandler(Z){this._userLogHandler=Z}debug(...Z){this._userLogHandler&&this._userLogHandler(this,d.DEBUG,...Z),this._logHandler(this,d.DEBUG,...Z)}log(...Z){this._userLogHandler&&this._userLogHandler(this,d.VERBOSE,...Z),this._logHandler(this,d.VERBOSE,...Z)}info(...Z){this._userLogHandler&&this._userLogHandler(this,d.INFO,...Z),this._logHandler(this,d.INFO,...Z)}warn(...Z){this._userLogHandler&&this._userLogHandler(this,d.WARN,...Z),this._logHandler(this,d.WARN,...Z)}error(...Z){this._userLogHandler&&this._userLogHandler(this,d.ERROR,...Z),this._logHandler(this,d.ERROR,...Z)}}function J(R){s.forEach(Z=>{Z.setLogLevel(R)})}function ne(R,Z){for(const Y of s){let Ae=null;Z&&Z.level&&(Ae=C[Z.level]),Y.userLogHandler=null===R?null:(be,Be,...ke)=>{const ye=ke.map(je=>{if(null==je)return null;if("string"==typeof je)return je;if("number"==typeof je||"boolean"==typeof je)return je.toString();if(je instanceof Error)return je.message;try{return JSON.stringify(je)}catch{return null}}).filter(je=>je).join(" ");Be>=(Ae??be.logLevel)&&R({level:d[Be].toLowerCase(),message:ye,args:ke,type:be.name})}}}},70259:(yt,Ee,g)=>{g.d(Ee,{C6:()=>s.getApps,Mq:()=>s.getApp});var s=g(49681);(0,s.registerVersion)("firebase","9.18.0","app")},29260:(yt,Ee,g)=>{g.d(Ee,{Z:()=>s.Z});var s=g(63942);s.Z.registerVersion("firebase","9.18.0","app-compat")},98766:(yt,Ee,g)=>{g.d(Ee,{Lj:()=>xe,X3:()=>ze});var s=g(15861);const d=(le,ve)=>ve.some(Ze=>le instanceof Ze);let C,$;const ce=new WeakMap,J=new WeakMap,ne=new WeakMap,R=new WeakMap,Z=new WeakMap;let be={get(le,ve,Ze){if(le instanceof IDBTransaction){if("done"===ve)return J.get(le);if("objectStoreNames"===ve)return le.objectStoreNames||ne.get(le);if("store"===ve)return Ze.objectStoreNames[1]?void 0:Ze.objectStore(Ze.objectStoreNames[0])}return je(le[ve])},set:(le,ve,Ze)=>(le[ve]=Ze,!0),has:(le,ve)=>le instanceof IDBTransaction&&("done"===ve||"store"===ve)||ve in le};function ye(le){return"function"==typeof le?function ke(le){return le!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function ee(){return $||($=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(le)?function(...ve){return le.apply(Ke(this),ve),je(ce.get(this))}:function(...ve){return je(le.apply(Ke(this),ve))}:function(ve,...Ze){const Ge=le.call(Ke(this),ve,...Ze);return ne.set(Ge,ve.sort?ve.sort():[ve]),je(Ge)}}(le):(le instanceof IDBTransaction&&function Ae(le){if(J.has(le))return;const ve=new Promise((Ze,Ge)=>{const bt=()=>{le.removeEventListener("complete",st),le.removeEventListener("error",Oe),le.removeEventListener("abort",Oe)},st=()=>{Ze(),bt()},Oe=()=>{Ge(le.error||new DOMException("AbortError","AbortError")),bt()};le.addEventListener("complete",st),le.addEventListener("error",Oe),le.addEventListener("abort",Oe)});J.set(le,ve)}(le),d(le,function k(){return C||(C=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(le,be):le)}function je(le){if(le instanceof IDBRequest)return function Y(le){const ve=new Promise((Ze,Ge)=>{const bt=()=>{le.removeEventListener("success",st),le.removeEventListener("error",Oe)},st=()=>{Ze(je(le.result)),bt()},Oe=()=>{Ge(le.error),bt()};le.addEventListener("success",st),le.addEventListener("error",Oe)});return ve.then(Ze=>{Ze instanceof IDBCursor&&ce.set(Ze,le)}).catch(()=>{}),Z.set(ve,le),ve}(le);if(R.has(le))return R.get(le);const ve=ye(le);return ve!==le&&(R.set(le,ve),Z.set(ve,le)),ve}const Ke=le=>Z.get(le);function ze(le,ve,{blocked:Ze,upgrade:Ge,blocking:bt,terminated:st}={}){const Oe=indexedDB.open(le,ve),Ye=je(Oe);return Ge&&Oe.addEventListener("upgradeneeded",tt=>{Ge(je(Oe.result),tt.oldVersion,tt.newVersion,je(Oe.transaction))}),Ze&&Oe.addEventListener("blocked",()=>Ze()),Ye.then(tt=>{st&&tt.addEventListener("close",()=>st()),bt&&tt.addEventListener("versionchange",()=>bt())}).catch(()=>{}),Ye}function xe(le,{blocked:ve}={}){const Ze=indexedDB.deleteDatabase(le);return ve&&Ze.addEventListener("blocked",()=>ve()),je(Ze).then(()=>{})}const U=["get","getKey","getAll","getAllKeys","count"],se=["put","add","delete","clear"],q=new Map;function oe(le,ve){if(!(le instanceof IDBDatabase)||ve in le||"string"!=typeof ve)return;if(q.get(ve))return q.get(ve);const Ze=ve.replace(/FromIndex$/,""),Ge=ve!==Ze,bt=se.includes(Ze);if(!(Ze in(Ge?IDBIndex:IDBObjectStore).prototype)||!bt&&!U.includes(Ze))return;const st=function(){var Oe=(0,s.Z)(function*(Ye,...tt){const lt=this.transaction(Ye,bt?"readwrite":"readonly");let vt=lt.store;return Ge&&(vt=vt.index(tt.shift())),(yield Promise.all([vt[Ze](...tt),bt&<.done]))[0]});return function(tt){return Oe.apply(this,arguments)}}();return q.set(ve,st),st}!function Be(le){be=le(be)}(le=>({...le,get:(ve,Ze,Ge)=>oe(ve,Ze)||le.get(ve,Ze,Ge),has:(ve,Ze)=>!!oe(ve,Ze)||le.has(ve,Ze)}))},85421:(yt,Ee,g)=>{g.d(Ee,{Cz:()=>Ke,ys:()=>je});var s=g(15861),d=g(94650),C=g(36895),$=g(69751),k=g(88996),ee=g(39841),ce=g(77579),J=g(95698);function ne(ze,xe,U,se){return new Promise((q,oe)=>{ze||oe("IndexedDB not available");const le=ze.open(xe,U);let ve;le.onsuccess=Ze=>{ve=le.result,q(ve)},le.onerror=Ze=>{oe(`IndexedDB error: ${le.error}`)},"function"==typeof se&&(le.onupgradeneeded=Ze=>{se(Ze,ve)})})}function R(ze,xe,U,se,q){if(!ze)return;const oe=ze.open(xe,U);oe.onupgradeneeded=le=>{const ve=le.target.result;se.forEach(Ge=>{if(!ve.objectStoreNames.contains(Ge.store)){const bt=ve.createObjectStore(Ge.store,Ge.storeConfig);Ge.storeSchema.forEach(st=>{bt.createIndex(st.name,st.keypath,st.options)})}});const Ze=q&&q();Ze&&Object.keys(Ze).map(Ge=>parseInt(Ge,10)).filter(Ge=>Ge>le.oldVersion).sort((Ge,bt)=>Ge-bt).forEach(Ge=>{Ze[Ge](ve,oe.transaction)}),ve.close()},oe.onsuccess=le=>{le.target.result.close()}}function Ae(ze,xe,U){ze||U("You need to use the openDatabase function to create a database before you query it!"),function Y(ze,xe){return ze.objectStoreNames.contains(xe)}(ze,xe)||U(`objectStore does not exists: ${xe}`)}function be(ze,xe){const U=ze.transaction(xe.storeName,xe.dbMode);return U.onerror=xe.error,U.onabort=xe.abort,U}function Be(ze,xe,U,se){return{storeName:xe,dbMode:ze,error:q=>{U(q)},abort:q=>{U(q)}}}var ke=(()=>{return(ze=ke||(ke={})).readonly="readonly",ze.readwrite="readwrite",ke;var ze})();const ye=new d.OlP(null);let je=(()=>{class ze{constructor(U,se){if(this.dbConfig=U,this.platformId=se,!U.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!U.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=(0,C.NF)(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,R(this.indexedDB,U.name,U.version,U.objectStoresMeta,U.migrationFactory),ne(this.indexedDB,U.name).then(q=>{q.version!==U.version&&(this.dbConfig.version=q.version)}))}createObjectStore(U,se){const q=[U];R(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,q,se)}add(U,se,q){return new $.y(oe=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(le=>{const Ze=be(le,Be(ke.readwrite,U,bt=>oe.error(bt))).objectStore(U);(Boolean(q)?Ze.add(se,q):Ze.add(se)).onsuccess=function(){var bt=(0,s.Z)(function*(st){Ze.get(st.target.result).onsuccess=tt=>{oe.next(tt.target.result),oe.complete()}});return function(st){return bt.apply(this,arguments)}}()}).catch(le=>oe.error(le))})}bulkAdd(U,se){const q=new Promise((oe,le)=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ve=>{const Ge=be(ve,Be(ke.readwrite,U,oe)).objectStore(U),bt=se.map(st=>new Promise((Oe,Ye)=>{const tt=st.key;delete st.key,(Boolean(tt)?Ge.add(st,tt):Ge.add(st)).onsuccess=vt=>{Oe(vt.target.result)}}));oe(Promise.all(bt))}).catch(ve=>le(ve))});return(0,k.D)(q)}bulkDelete(U,se){const q=se.map(oe=>new Promise((le,ve)=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ze=>{const Ge=be(Ze,Be(ke.readwrite,U,ve));Ge.objectStore(U).delete(oe),Ge.oncomplete=()=>{this.getAll(U).pipe((0,J.q)(1)).subscribe(st=>{le(st)})}}).catch(Ze=>ve(Ze))}));return(0,k.D)(Promise.all(q))}getByKey(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{const Ze=be(oe,Be(ke.readonly,U,q.error)).objectStore(U).get(se);Ze.onsuccess=Ge=>{q.next(Ge.target.result),q.complete()},Ze.onerror=Ge=>{q.error(Ge)}}).catch(oe=>q.error(oe))})}bulkGet(U,se){const q=se.map(oe=>this.getByKey(U,oe));return new $.y(oe=>{(0,ee.a)(q).subscribe(le=>{oe.next(le),oe.complete()})})}getByID(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{Ae(oe,U,Ge=>q.error(Ge)),be(oe,Be(ke.readonly,U,q.error)).objectStore(U).get(se).onsuccess=Ge=>{q.next(Ge.target.result)}}).catch(oe=>q.error(oe))})}getByIndex(U,se,q){return new $.y(oe=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(le=>{Ae(le,U,st=>oe.error(st)),be(le,Be(ke.readonly,U,oe.error)).objectStore(U).index(se).get(q).onsuccess=st=>{oe.next(st.target.result),oe.complete()}}).catch(le=>oe.error(le))})}getAll(U){return new $.y(se=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(q=>{Ae(q,U,Ze=>se.error(Ze));const ve=be(q,Be(ke.readonly,U,se.error)).objectStore(U).getAll();ve.onerror=Ze=>{se.error(Ze)},ve.onsuccess=({target:{result:Ze}})=>{se.next(Ze),se.complete()}}).catch(q=>se.error(q))})}update(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{Ae(oe,U,Ge=>q.error(Ge));const ve=be(oe,Be(ke.readwrite,U,Ge=>q.error(Ge))).objectStore(U);ve.put(se).onsuccess=function(){var Ge=(0,s.Z)(function*(bt){ve.get(bt.target.result).onsuccess=Ye=>{q.next(Ye.target.result),q.complete()}});return function(bt){return Ge.apply(this,arguments)}}()}).catch(oe=>q.error(oe))})}delete(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{Ae(oe,U,Ze=>q.error(Ze));const le=be(oe,Be(ke.readwrite,U,Ze=>q.error(Ze)));le.objectStore(U).delete(se),le.oncomplete=()=>{this.getAll(U).pipe((0,J.q)(1)).subscribe(Ze=>{q.next(Ze),q.complete()})}}).catch(oe=>q.error(oe))})}deleteByKey(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{Ae(oe,U,Ze=>q.error(Ze));const le=be(oe,Be(ke.readwrite,U,Ze=>q.error(Ze))),ve=le.objectStore(U);le.oncomplete=()=>{q.next(!0),q.complete()},ve.delete(se)}).catch(oe=>q.error(oe))})}clear(U){return new $.y(se=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(q=>{Ae(q,U,ve=>se.error(ve));const oe=be(q,Be(ke.readwrite,U,ve=>se.error(ve)));oe.objectStore(U).clear(),oe.oncomplete=()=>{se.next(!0),se.complete()}}).catch(q=>se.error(q))})}deleteDatabase(){var U=this;return new $.y(se=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(function(){var q=(0,s.Z)(function*(oe){yield oe.close();const le=U.indexedDB.deleteDatabase(U.dbConfig.name);le.onsuccess=()=>{se.next(!0),se.complete()},le.onerror=ve=>se.error(ve),le.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}});return function(oe){return q.apply(this,arguments)}}()).catch(q=>se.error(q))})}openCursor(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{Ae(oe,U,Ge=>q.error(Ge));const ve=be(oe,Be(ke.readonly,U,q.error)).objectStore(U);(void 0===se?ve.openCursor():ve.openCursor(se)).onsuccess=Ge=>{q.next(Ge),q.complete()}}).catch(oe=>q.error(oe))})}openCursorByIndex(U,se,q,oe=ke.readonly){const le=new ce.x;return ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ve=>{Ae(ve,U,Oe=>{le.error(Oe)}),be(ve,Be(oe,U,Oe=>{le.error(Oe)})).objectStore(U).index(se).openCursor(q).onsuccess=Oe=>{le.next(Oe)}}).catch(ve=>le.error(ve)),le}getAllByIndex(U,se,q){const oe=[];return new $.y(le=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ve=>{Ae(ve,U,Oe=>le.error(Oe)),be(ve,Be(ke.readonly,U,le.error)).objectStore(U).index(se).openCursor(q).onsuccess=Oe=>{const Ye=Oe.target.result;Ye?(oe.push(Ye.value),Ye.continue()):(le.next(oe),le.complete())}}).catch(ve=>le.error(ve))})}getAllKeysByIndex(U,se,q){const oe=[];return new $.y(le=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ve=>{Ae(ve,U,Oe=>le.error(Oe)),be(ve,Be(ke.readonly,U,le.error)).objectStore(U).index(se).openKeyCursor(q).onsuccess=Oe=>{const Ye=Oe.target.result;Ye?(oe.push({primaryKey:Ye.primaryKey,key:Ye.key}),Ye.continue()):(le.next(oe),le.complete())}}).catch(ve=>le.error(ve))})}count(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{Ae(oe,U,Ge=>q.error(Ge));const Ze=be(oe,Be(ke.readonly,U,q.error)).objectStore(U).count(se);Ze.onerror=Ge=>q.error(Ge),Ze.onsuccess=Ge=>{q.next(Ge.target.result),q.complete()}}).catch(oe=>q.error(oe))})}countByIndex(U,se,q){return new $.y(oe=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(le=>{Ae(le,U,st=>oe.error(st));const bt=be(le,Be(ke.readonly,U,oe.error)).objectStore(U).index(se).count(q);bt.onerror=st=>oe.error(st),bt.onsuccess=st=>{oe.next(st.target.result),oe.complete()}}).catch(le=>oe.error(le))})}deleteObjectStore(U){return function Z(ze,xe,U){if(!ze||!xe||!U)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new $.y(se=>{try{const oe=indexedDB.open(ze,xe+1);oe.onupgradeneeded=le=>{const ve=le.target.result;ve.deleteObjectStore(U),ve.close(),console.log("onupgradeneeded"),se.next(!0),se.complete()},oe.onerror=le=>se.error(le)}catch(q){se.error(q)}})}(this.dbConfig.name,++this.dbConfig.version,U)}}return ze.\u0275fac=function(U){return new(U||ze)(d.LFG(ye),d.LFG(d.Lbi))},ze.\u0275prov=d.Yz7({token:ze,factory:ze.\u0275fac}),ze})(),Ke=(()=>{class ze{static forRoot(U){return{ngModule:ze,providers:[je,{provide:ye,useValue:U}]}}}return ze.\u0275fac=function(U){return new(U||ze)},ze.\u0275mod=d.oAB({type:ze}),ze.\u0275inj=d.cJS({imports:[C.ez]}),ze})()},97185:(yt,Ee,g)=>{g.d(Ee,{FN:()=>Oe,PR:()=>q,Rh:()=>tt,_W:()=>st});var s=g(94650),d=g(37340),C=g(77579),$=g(36895),k=g(11481);const ee=["toast-component",""];function ce(fe,G){if(1&fe){const w=s.EpF();s.TgZ(0,"button",5),s.NdJ("click",function(){s.CHM(w);const De=s.oxw();return s.KtG(De.remove())}),s.TgZ(1,"span",6),s._uU(2,"\xd7"),s.qZA()()}}function J(fe,G){if(1&fe&&(s.ynx(0),s._uU(1),s.BQk()),2&fe){const w=s.oxw(2);s.xp6(1),s.hij("[",w.duplicatesCount+1,"]")}}function ne(fe,G){if(1&fe&&(s.TgZ(0,"div"),s._uU(1),s.YNc(2,J,2,1,"ng-container",4),s.qZA()),2&fe){const w=s.oxw();s.Tol(w.options.titleClass),s.uIk("aria-label",w.title),s.xp6(1),s.hij(" ",w.title," "),s.xp6(1),s.Q6J("ngIf",w.duplicatesCount)}}function R(fe,G){if(1&fe&&s._UZ(0,"div",7),2&fe){const w=s.oxw();s.Tol(w.options.messageClass),s.Q6J("innerHTML",w.message,s.oJD)}}function Z(fe,G){if(1&fe&&(s.TgZ(0,"div",8),s._uU(1),s.qZA()),2&fe){const w=s.oxw();s.Tol(w.options.messageClass),s.uIk("aria-label",w.message),s.xp6(1),s.hij(" ",w.message," ")}}function Y(fe,G){if(1&fe&&(s.TgZ(0,"div"),s._UZ(1,"div",9),s.qZA()),2&fe){const w=s.oxw();s.xp6(1),s.Udp("width",w.width+"%")}}class xe{constructor(G,w){this.component=G,this.injector=w}attach(G,w){return this._attachedHost=G,G.attach(this,w)}detach(){const G=this._attachedHost;if(G)return this._attachedHost=void 0,G.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(G){this._attachedHost=G}}class U{attach(G,w){return this._attachedPortal=G,this.attachComponentPortal(G,w)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(G){this._disposeFn=G}}class se{constructor(G){this._overlayRef=G,this.duplicatesCount=0,this._afterClosed=new C.x,this._activate=new C.x,this._manualClose=new C.x,this._resetTimeout=new C.x,this._countDuplicate=new C.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(G,w){G&&this._resetTimeout.next(),w&&this._countDuplicate.next(++this.duplicatesCount)}}class q{constructor(G,w,K,De,et,Mt){this.toastId=G,this.config=w,this.message=K,this.title=De,this.toastType=et,this.toastRef=Mt,this._onTap=new C.x,this._onAction=new C.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(G){this._onAction.next(G)}onAction(){return this._onAction.asObservable()}}const le=new s.OlP("ToastConfig");class ve extends U{constructor(G,w,K){super(),this._hostDomElement=G,this._componentFactoryResolver=w,this._appRef=K}attachComponentPortal(G,w){const K=this._componentFactoryResolver.resolveComponentFactory(G.component);let De;return De=K.create(G.injector),this._appRef.attachView(De.hostView),this.setDisposeFn(()=>{this._appRef.detachView(De.hostView),De.destroy()}),w?this._hostDomElement.insertBefore(this._getComponentRootNode(De),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(De)),De}_getComponentRootNode(G){return G.hostView.rootNodes[0]}}class Ze{constructor(G){this._portalHost=G}attach(G,w=!0){return this._portalHost.attach(G,w)}detach(){return this._portalHost.detach()}}let Ge=(()=>{class fe{constructor(w){this._document=w}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const w=this._document.createElement("div");w.classList.add("overlay-container"),w.setAttribute("aria-live","polite"),this._document.body.appendChild(w),this._containerElement=w}}return fe.\u0275fac=function(w){return new(w||fe)(s.LFG($.K0))},fe.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),bt=(()=>{class fe{constructor(w,K,De,et){this._overlayContainer=w,this._componentFactoryResolver=K,this._appRef=De,this._document=et,this._paneElements=new Map}create(w,K){return this._createOverlayRef(this.getPaneElement(w,K))}getPaneElement(w="",K){return this._paneElements.get(K)||this._paneElements.set(K,{}),this._paneElements.get(K)[w]||(this._paneElements.get(K)[w]=this._createPaneElement(w,K)),this._paneElements.get(K)[w]}_createPaneElement(w,K){const De=this._document.createElement("div");return De.id="toast-container",De.classList.add(w),De.classList.add("toast-container"),K?K.getContainerElement().appendChild(De):this._overlayContainer.getContainerElement().appendChild(De),De}_createPortalHost(w){return new ve(w,this._componentFactoryResolver,this._appRef)}_createOverlayRef(w){return new Ze(this._createPortalHost(w))}}return fe.\u0275fac=function(w){return new(w||fe)(s.LFG(Ge),s.LFG(s._Vd),s.LFG(s.z2F),s.LFG($.K0))},fe.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),st=(()=>{class fe{constructor(w,K,De,et,Mt){this.overlay=K,this._injector=De,this.sanitizer=et,this.ngZone=Mt,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...w.default,...w.config},w.config.iconClasses&&(this.toastrConfig.iconClasses={...w.default.iconClasses,...w.config.iconClasses})}show(w,K,De={},et=""){return this._preBuildNotification(et,w,K,this.applyConfig(De))}success(w,K,De={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",w,K,this.applyConfig(De))}error(w,K,De={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",w,K,this.applyConfig(De))}info(w,K,De={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",w,K,this.applyConfig(De))}warning(w,K,De={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",w,K,this.applyConfig(De))}clear(w){for(const K of this.toasts)if(void 0!==w){if(K.toastId===w)return void K.toastRef.manualClose()}else K.toastRef.manualClose()}remove(w){const K=this._findToast(w);if(!K||(K.activeToast.toastRef.close(),this.toasts.splice(K.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const De=this.toasts[this.currentlyActive].toastRef;De.isInactive()||(this.currentlyActive=this.currentlyActive+1,De.activate())}return!0}findDuplicate(w="",K="",De,et){const{includeTitleDuplicates:Mt}=this.toastrConfig;for(const xt of this.toasts)if((!Mt||Mt&&xt.title===w)&&xt.message===K)return xt.toastRef.onDuplicate(De,et),xt;return null}applyConfig(w={}){return{...this.toastrConfig,...w}}_findToast(w){for(let K=0;K<this.toasts.length;K++)if(this.toasts[K].toastId===w)return{index:K,activeToast:this.toasts[K]};return null}_preBuildNotification(w,K,De,et){return et.onActivateTick?this.ngZone.run(()=>this._buildNotification(w,K,De,et)):this._buildNotification(w,K,De,et)}_buildNotification(w,K,De,et){if(!et.toastComponent)throw new Error("toastComponent required");const Mt=this.findDuplicate(De,K,this.toastrConfig.resetTimeoutOnDuplicate&&et.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&De||K)&&this.toastrConfig.preventDuplicates&&null!==Mt)return Mt;this.previousToastMessage=K;let xt=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(xt=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Lt=this.overlay.create(et.positionClass,this.overlayContainer);this.index=this.index+1;let Kt=K;K&&et.enableHtml&&(Kt=this.sanitizer.sanitize(s.q3G.HTML,K));const hn=new se(Lt),mn=new q(this.index,et,Kt,De,w,hn),bn=s.zs3.create({providers:[{provide:q,useValue:mn}],parent:this._injector}),Pn=new xe(et.toastComponent,bn),ln=Lt.attach(Pn,et.newestOnTop);hn.componentInstance=ln.instance;const yn={toastId:this.index,title:De||"",message:K||"",toastRef:hn,onShown:hn.afterActivate(),onHidden:hn.afterClosed(),onTap:mn.onTap(),onAction:mn.onAction(),portal:ln};return xt||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{yn.toastRef.activate()})),this.toasts.push(yn),yn}}return fe.\u0275fac=function(w){return new(w||fe)(s.LFG(le),s.LFG(bt),s.LFG(s.zs3),s.LFG(k.H7),s.LFG(s.R0b))},fe.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),Oe=(()=>{class fe{constructor(w,K,De){this.toastrService=w,this.toastPackage=K,this.ngZone=De,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=K.message,this.title=K.title,this.options=K.config,this.originalTimeout=K.config.timeOut,this.toastClasses=`${K.toastType} ${K.config.toastClass}`,this.sub=K.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=K.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=K.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=K.toastRef.countDuplicate().subscribe(et=>{this.duplicatesCount=et})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const w=(new Date).getTime();this.width=(this.hideTime-w)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(w,K){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(w),K)):this.timeout=setTimeout(()=>w(),K)}outsideInterval(w,K){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(w),K)):this.intervalId=setInterval(()=>w(),K)}runInsideAngular(w){this.ngZone?this.ngZone.run(()=>w()):w()}}return fe.\u0275fac=function(w){return new(w||fe)(s.Y36(st),s.Y36(q),s.Y36(s.R0b))},fe.\u0275cmp=s.Xpm({type:fe,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(w,K){1&w&&s.NdJ("click",function(){return K.tapToast()})("mouseenter",function(){return K.stickAround()})("mouseleave",function(){return K.delayedHideToast()}),2&w&&(s.d8E("@flyInOut",K.state),s.Tol(K.toastClasses),s.Udp("display",K.displayStyle))},attrs:ee,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(w,K){1&w&&(s.YNc(0,ce,3,0,"button",0),s.YNc(1,ne,3,5,"div",1),s.YNc(2,R,1,3,"div",2),s.YNc(3,Z,2,4,"div",3),s.YNc(4,Y,2,2,"div",4)),2&w&&(s.Q6J("ngIf",K.options.closeButton),s.xp6(1),s.Q6J("ngIf",K.title),s.xp6(1),s.Q6J("ngIf",K.message&&K.options.enableHtml),s.xp6(1),s.Q6J("ngIf",K.message&&!K.options.enableHtml),s.xp6(1),s.Q6J("ngIf",K.options.progressBar))},dependencies:[$.O5],encapsulation:2,data:{animation:[(0,d.X$)("flyInOut",[(0,d.SB)("inactive",(0,d.oB)({opacity:0})),(0,d.SB)("active",(0,d.oB)({opacity:1})),(0,d.SB)("removed",(0,d.oB)({opacity:0})),(0,d.eR)("inactive => active",(0,d.jt)("{{ easeTime }}ms {{ easing }}")),(0,d.eR)("active => removed",(0,d.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),fe})();const Ye={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:Oe};let tt=(()=>{class fe{static forRoot(w={}){return{ngModule:fe,providers:[{provide:le,useValue:{default:Ye,config:w}}]}}}return fe.\u0275fac=function(w){return new(w||fe)},fe.\u0275mod=s.oAB({type:fe}),fe.\u0275inj=s.cJS({imports:[$.ez]}),fe})()},15861:(yt,Ee,g)=>{function s(C,$,k,ee,ce,J,ne){try{var R=C[J](ne),Z=R.value}catch(Y){return void k(Y)}R.done?$(Z):Promise.resolve(Z).then(ee,ce)}function d(C){return function(){var $=this,k=arguments;return new Promise(function(ee,ce){var J=C.apply($,k);function ne(Z){s(J,ee,ce,ne,R,"next",Z)}function R(Z){s(J,ee,ce,ne,R,"throw",Z)}ne(void 0)})}}g.d(Ee,{Z:()=>d})},81180:(yt,Ee,g)=>{function s(k){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ee){return typeof ee}:function(ee){return ee&&"function"==typeof Symbol&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee})(k)}function $(k,ee,ce){return(ee=function C(k){var ee=function d(k,ee){if("object"!==s(k)||null===k)return k;var ce=k[Symbol.toPrimitive];if(void 0!==ce){var J=ce.call(k,ee||"default");if("object"!==s(J))return J;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===ee?String:Number)(k)}(k,"string");return"symbol"===s(ee)?ee:String(ee)}(ee))in k?Object.defineProperty(k,ee,{value:ce,enumerable:!0,configurable:!0,writable:!0}):k[ee]=ce,k}g.d(Ee,{Z:()=>$})}},yt=>{yt(yt.s=32022)}]);
|
|
1
|
+
"use strict";(self.webpackChunkPOS=self.webpackChunkPOS||[]).push([[179],{24766:(yt,Ee,g)=>{g.d(Ee,{N:()=>s});const s={production:!0,firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"},tinyMCEKey:"zc58cdrrftek5r5igtmjiar7ed4n3wr00hzd4w4mvtx8mpxa",version:"1223"}},907:(yt,Ee,g)=>{g.d(Ee,{Z:()=>s});var s=(()=>{return(d=s||(s={})).Outlet="Outlet",d.SyncTime="SyncTime",d.OutletPrice="OutletPrice",d.POSStorage="POSStorage",d.Product="Product",d.OfflineConfig="OfflineConfig",d.Order="Order",d.FailedOrder="FailedOrder",s;var d})()},32022:(yt,Ee,g)=>{var s=g(11481),d=g(94650),C=g(81180),$=g(80529),k=g(37340);function ce(E){return new d.vHH(3e3,!1)}function et(){return typeof window<"u"&&typeof window.document<"u"}function Mt(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function xt(E){switch(E.length){case 0:return new k.ZN;case 1:return E[0];default:return new k.ZE(E)}}function Lt(E,l,a,y,F=new Map,Q=new Map){const we=[],Me=[];let Xe=-1,rt=null;if(y.forEach(Nt=>{const Rt=Nt.get("offset"),vn=Rt==Xe,cn=vn&&rt||new Map;Nt.forEach((Xt,rn)=>{let Hn=rn,Zn=Xt;if("offset"!==rn)switch(Hn=l.normalizePropertyName(Hn,we),Zn){case k.k1:Zn=F.get(rn);break;case k.l3:Zn=Q.get(rn);break;default:Zn=l.normalizeStyleValue(rn,Hn,Zn,we)}cn.set(Hn,Zn)}),vn||Me.push(cn),rt=cn,Xe=Rt}),we.length)throw function st(E){return new d.vHH(3502,!1)}();return Me}function Kt(E,l,a,y){switch(l){case"start":E.onStart(()=>y(a&&hn(a,"start",E)));break;case"done":E.onDone(()=>y(a&&hn(a,"done",E)));break;case"destroy":E.onDestroy(()=>y(a&&hn(a,"destroy",E)))}}function hn(E,l,a){const Q=mn(E.element,E.triggerName,E.fromState,E.toState,l||E.phaseName,a.totalTime??E.totalTime,!!a.disabled),we=E._data;return null!=we&&(Q._data=we),Q}function mn(E,l,a,y,F="",Q=0,we){return{element:E,triggerName:l,fromState:a,toState:y,phaseName:F,totalTime:Q,disabled:!!we}}function zt(E,l,a){let y=E.get(l);return y||E.set(l,y=a),y}function bn(E){const l=E.indexOf(":");return[E.substring(1,l),E.slice(l+1)]}let Pn=(E,l)=>!1,ln=(E,l,a)=>[],yn=null;function Ne(E){const l=E.parentNode||E.host;return l===yn?null:l}(Mt()||typeof Element<"u")&&(et()?(yn=(()=>document.documentElement)(),Pn=(E,l)=>{for(;l;){if(l===E)return!0;l=Ne(l)}return!1}):Pn=(E,l)=>E.contains(l),ln=(E,l,a)=>{if(a)return Array.from(E.querySelectorAll(l));const y=E.querySelector(l);return y?[y]:[]});let Te=null,Qe=!1;const _e=Pn,it=ln;let Le=(()=>{class E{validateStyleProperty(a){return function ct(E){Te||(Te=function pt(){return typeof document<"u"?document.body:null}()||{},Qe=!!Te.style&&"WebkitAppearance"in Te.style);let l=!0;return Te.style&&!function de(E){return"ebkit"==E.substring(1,6)}(E)&&(l=E in Te.style,!l&&Qe&&(l="Webkit"+E.charAt(0).toUpperCase()+E.slice(1)in Te.style)),l}(a)}matchesElement(a,y){return!1}containsElement(a,y){return _e(a,y)}getParentElement(a){return Ne(a)}query(a,y,F){return it(a,y,F)}computeStyle(a,y,F){return F||""}animate(a,y,F,Q,we,Me=[],Xe){return new k.ZN(F,Q)}}return E.\u0275fac=function(a){return new(a||E)},E.\u0275prov=d.Yz7({token:E,factory:E.\u0275fac}),E})(),mt=(()=>{class E{}return E.NOOP=new Le,E})();const St=1e3,nn="ng-enter",jt="ng-leave",xn="ng-trigger",Nn=".ng-trigger",It="ng-animating",ut=".ng-animating";function z(E){if("number"==typeof E)return E;const l=E.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:x(parseFloat(l[1]),l[2])}function x(E,l){return"s"===l?E*St:E}function A(E,l,a){return E.hasOwnProperty("duration")?E:function ie(E,l,a){let F,Q=0,we="";if("string"==typeof E){const Me=E.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Me)return l.push(ce()),{duration:0,delay:0,easing:""};F=x(parseFloat(Me[1]),Me[2]);const Xe=Me[3];null!=Xe&&(Q=x(parseFloat(Xe),Me[4]));const rt=Me[5];rt&&(we=rt)}else F=E;if(!a){let Me=!1,Xe=l.length;F<0&&(l.push(function J(){return new d.vHH(3100,!1)}()),Me=!0),Q<0&&(l.push(function ne(){return new d.vHH(3101,!1)}()),Me=!0),Me&&l.splice(Xe,0,ce())}return{duration:F,delay:Q,easing:we}}(E,l,a)}function Ie(E,l={}){return Object.keys(E).forEach(a=>{l[a]=E[a]}),l}function te(E){const l=new Map;return Object.keys(E).forEach(a=>{l.set(a,E[a])}),l}function $e(E,l=new Map,a){if(a)for(let[y,F]of a)l.set(y,F);for(let[y,F]of E)l.set(y,F);return l}function Fe(E,l,a){return a?l+":"+a+";":""}function wt(E){let l="";for(let a=0;a<E.style.length;a++){const y=E.style.item(a);l+=Fe(0,y,E.style.getPropertyValue(y))}for(const a in E.style)E.style.hasOwnProperty(a)&&!a.startsWith("_")&&(l+=Fe(0,ri(a),E.style[a]));E.setAttribute("style",l)}function he(E,l,a){E.style&&(l.forEach((y,F)=>{const Q=oi(F);a&&!a.has(F)&&a.set(F,E.style[Q]),E.style[Q]=y}),Mt()&&wt(E))}function L(E,l){E.style&&(l.forEach((a,y)=>{const F=oi(y);E.style[F]=""}),Mt()&&wt(E))}function T(E){return Array.isArray(E)?1==E.length?E[0]:(0,k.vP)(E):E}const W=new RegExp("{{\\s*(.+?)\\s*}}","g");function ae(E){let l=[];if("string"==typeof E){let a;for(;a=W.exec(E);)l.push(a[1]);W.lastIndex=0}return l}function He(E,l,a){const y=E.toString(),F=y.replace(W,(Q,we)=>{let Me=l[we];return null==Me&&(a.push(function Z(E){return new d.vHH(3003,!1)}()),Me=""),Me.toString()});return F==y?E:F}function Et(E){const l=[];let a=E.next();for(;!a.done;)l.push(a.value),a=E.next();return l}const qt=/-+([a-z0-9])/g;function oi(E){return E.replace(qt,(...l)=>l[1].toUpperCase())}function ri(E){return E.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function gi(E,l,a){switch(l.type){case 7:return E.visitTrigger(l,a);case 0:return E.visitState(l,a);case 1:return E.visitTransition(l,a);case 2:return E.visitSequence(l,a);case 3:return E.visitGroup(l,a);case 4:return E.visitAnimate(l,a);case 5:return E.visitKeyframes(l,a);case 6:return E.visitStyle(l,a);case 8:return E.visitReference(l,a);case 9:return E.visitAnimateChild(l,a);case 10:return E.visitAnimateRef(l,a);case 11:return E.visitQuery(l,a);case 12:return E.visitStagger(l,a);default:throw function Y(E){return new d.vHH(3004,!1)}()}}function hr(E,l){return window.getComputedStyle(E)[l]}const Wn="*";function Cr(E,l){const a=[];return"string"==typeof E?E.split(/\s*,\s*/).forEach(y=>function Yi(E,l,a){if(":"==E[0]){const Xe=function Ri(E,l){switch(E){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,y)=>parseFloat(y)>parseFloat(a);case":decrement":return(a,y)=>parseFloat(y)<parseFloat(a);default:return l.push(function ve(E){return new d.vHH(3016,!1)}()),"* => *"}}(E,a);if("function"==typeof Xe)return void l.push(Xe);E=Xe}const y=E.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return a.push(function le(E){return new d.vHH(3015,!1)}()),l;const F=y[1],Q=y[2],we=y[3];l.push(In(F,we));"<"==Q[0]&&!(F==Wn&&we==Wn)&&l.push(In(we,F))}(y,a,l)):a.push(E),a}const kt=new Set(["true","1"]),tn=new Set(["false","0"]);function In(E,l){const a=kt.has(E)||tn.has(E),y=kt.has(l)||tn.has(l);return(F,Q)=>{let we=E==Wn||E==F,Me=l==Wn||l==Q;return!we&&a&&"boolean"==typeof F&&(we=F?kt.has(E):tn.has(E)),!Me&&y&&"boolean"==typeof Q&&(Me=Q?kt.has(l):tn.has(l)),we&&Me}}const Si=new RegExp("s*:selfs*,?","g");function An(E,l,a,y){return new Rn(E).build(l,a,y)}class Rn{constructor(l){this._driver=l}build(l,a,y){const F=new fn(a);return this._resetContextStyleTimingState(F),gi(this,T(l),F)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles=new Map,l.collectedStyles.set("",new Map),l.currentTime=0}visitTrigger(l,a){let y=a.queryCount=0,F=a.depCount=0;const Q=[],we=[];return"@"==l.name.charAt(0)&&a.errors.push(function be(){return new d.vHH(3006,!1)}()),l.definitions.forEach(Me=>{if(this._resetContextStyleTimingState(a),0==Me.type){const Xe=Me,rt=Xe.name;rt.toString().split(/\s*,\s*/).forEach(Nt=>{Xe.name=Nt,Q.push(this.visitState(Xe,a))}),Xe.name=rt}else if(1==Me.type){const Xe=this.visitTransition(Me,a);y+=Xe.queryCount,F+=Xe.depCount,we.push(Xe)}else a.errors.push(function Be(){return new d.vHH(3007,!1)}())}),{type:7,name:l.name,states:Q,transitions:we,queryCount:y,depCount:F,options:null}}visitState(l,a){const y=this.visitStyle(l.styles,a),F=l.options&&l.options.params||null;if(y.containsDynamicStyles){const Q=new Set,we=F||{};y.styles.forEach(Me=>{Me instanceof Map&&Me.forEach(Xe=>{ae(Xe).forEach(rt=>{we.hasOwnProperty(rt)||Q.add(rt)})})}),Q.size&&(Et(Q.values()),a.errors.push(function ke(E,l){return new d.vHH(3008,!1)}()))}return{type:0,name:l.name,style:y,options:F?{params:F}:null}}visitTransition(l,a){a.queryCount=0,a.depCount=0;const y=gi(this,T(l.animation),a);return{type:1,matchers:Cr(l.expr,a.errors),animation:y,queryCount:a.queryCount,depCount:a.depCount,options:bi(l.options)}}visitSequence(l,a){return{type:2,steps:l.steps.map(y=>gi(this,y,a)),options:bi(l.options)}}visitGroup(l,a){const y=a.currentTime;let F=0;const Q=l.steps.map(we=>{a.currentTime=y;const Me=gi(this,we,a);return F=Math.max(F,a.currentTime),Me});return a.currentTime=F,{type:3,steps:Q,options:bi(l.options)}}visitAnimate(l,a){const y=function wr(E,l){if(E.hasOwnProperty("duration"))return E;if("number"==typeof E)return pr(A(E,l).duration,0,"");const a=E;if(a.split(/\s+/).some(Q=>"{"==Q.charAt(0)&&"{"==Q.charAt(1))){const Q=pr(0,0,"");return Q.dynamic=!0,Q.strValue=a,Q}const F=A(a,l);return pr(F.duration,F.delay,F.easing)}(l.timings,a.errors);a.currentAnimateTimings=y;let F,Q=l.styles?l.styles:(0,k.oB)({});if(5==Q.type)F=this.visitKeyframes(Q,a);else{let we=l.styles,Me=!1;if(!we){Me=!0;const rt={};y.easing&&(rt.easing=y.easing),we=(0,k.oB)(rt)}a.currentTime+=y.duration+y.delay;const Xe=this.visitStyle(we,a);Xe.isEmptyStep=Me,F=Xe}return a.currentAnimateTimings=null,{type:4,timings:y,style:F,options:null}}visitStyle(l,a){const y=this._makeStyleAst(l,a);return this._validateStyleAst(y,a),y}_makeStyleAst(l,a){const y=[],F=Array.isArray(l.styles)?l.styles:[l.styles];for(let Me of F)"string"==typeof Me?Me===k.l3?y.push(Me):a.errors.push(new d.vHH(3002,!1)):y.push(te(Me));let Q=!1,we=null;return y.forEach(Me=>{if(Me instanceof Map&&(Me.has("easing")&&(we=Me.get("easing"),Me.delete("easing")),!Q))for(let Xe of Me.values())if(Xe.toString().indexOf("{{")>=0){Q=!0;break}}),{type:6,styles:y,easing:we,offset:l.offset,containsDynamicStyles:Q,options:null}}_validateStyleAst(l,a){const y=a.currentAnimateTimings;let F=a.currentTime,Q=a.currentTime;y&&Q>0&&(Q-=y.duration+y.delay),l.styles.forEach(we=>{"string"!=typeof we&&we.forEach((Me,Xe)=>{const rt=a.collectedStyles.get(a.currentQuerySelector),Nt=rt.get(Xe);let Rt=!0;Nt&&(Q!=F&&Q>=Nt.startTime&&F<=Nt.endTime&&(a.errors.push(function Ke(E,l,a,y,F){return new d.vHH(3010,!1)}()),Rt=!1),Q=Nt.startTime),Rt&&rt.set(Xe,{startTime:Q,endTime:F}),a.options&&function I(E,l,a){const y=l.params||{},F=ae(E);F.length&&F.forEach(Q=>{y.hasOwnProperty(Q)||a.push(function R(E){return new d.vHH(3001,!1)}())})}(Me,a.options,a.errors)})})}visitKeyframes(l,a){const y={type:5,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function ze(){return new d.vHH(3011,!1)}()),y;let Q=0;const we=[];let Me=!1,Xe=!1,rt=0;const Nt=l.steps.map(Zn=>{const Mi=this._makeStyleAst(Zn,a);let _i=null!=Mi.offset?Mi.offset:function so(E){if("string"==typeof E)return null;let l=null;if(Array.isArray(E))E.forEach(a=>{if(a instanceof Map&&a.has("offset")){const y=a;l=parseFloat(y.get("offset")),y.delete("offset")}});else if(E instanceof Map&&E.has("offset")){const a=E;l=parseFloat(a.get("offset")),a.delete("offset")}return l}(Mi.styles),ci=0;return null!=_i&&(Q++,ci=Mi.offset=_i),Xe=Xe||ci<0||ci>1,Me=Me||ci<rt,rt=ci,we.push(ci),Mi});Xe&&a.errors.push(function xe(){return new d.vHH(3012,!1)}()),Me&&a.errors.push(function U(){return new d.vHH(3200,!1)}());const Rt=l.steps.length;let vn=0;Q>0&&Q<Rt?a.errors.push(function se(){return new d.vHH(3202,!1)}()):0==Q&&(vn=1/(Rt-1));const cn=Rt-1,Xt=a.currentTime,rn=a.currentAnimateTimings,Hn=rn.duration;return Nt.forEach((Zn,Mi)=>{const _i=vn>0?Mi==cn?1:vn*Mi:we[Mi],ci=_i*Hn;a.currentTime=Xt+rn.delay+ci,rn.duration=ci,this._validateStyleAst(Zn,a),Zn.offset=_i,y.styles.push(Zn)}),y}visitReference(l,a){return{type:8,animation:gi(this,T(l.animation),a),options:bi(l.options)}}visitAnimateChild(l,a){return a.depCount++,{type:9,options:bi(l.options)}}visitAnimateRef(l,a){return{type:10,animation:this.visitReference(l.animation,a),options:bi(l.options)}}visitQuery(l,a){const y=a.currentQuerySelector,F=l.options||{};a.queryCount++,a.currentQuery=l;const[Q,we]=function ki(E){const l=!!E.split(/\s*,\s*/).find(a=>":self"==a);return l&&(E=E.replace(Si,"")),E=E.replace(/@\*/g,Nn).replace(/@\w+/g,a=>Nn+"-"+a.slice(1)).replace(/:animating/g,ut),[E,l]}(l.selector);a.currentQuerySelector=y.length?y+" "+Q:Q,zt(a.collectedStyles,a.currentQuerySelector,new Map);const Me=gi(this,T(l.animation),a);return a.currentQuery=null,a.currentQuerySelector=y,{type:11,selector:Q,limit:F.limit||0,optional:!!F.optional,includeSelf:we,animation:Me,originalSelector:l.selector,options:bi(l.options)}}visitStagger(l,a){a.currentQuery||a.errors.push(function q(){return new d.vHH(3013,!1)}());const y="full"===l.timings?{duration:0,delay:0,easing:"full"}:A(l.timings,a.errors,!0);return{type:12,animation:gi(this,T(l.animation),a),timings:y,options:null}}}class fn{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 bi(E){return E?(E=Ie(E)).params&&(E.params=function Mo(E){return E?Ie(E):null}(E.params)):E={},E}function pr(E,l,a){return{duration:E,delay:l,easing:a}}function di(E,l,a,y,F,Q,we=null,Me=!1){return{type:1,element:E,keyframes:l,preStyleProps:a,postStyleProps:y,duration:F,delay:Q,totalTime:F+Q,easing:we,subTimeline:Me}}class Zi{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,a){let y=this._map.get(l);y||this._map.set(l,y=[]),y.push(...a)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const nr=new RegExp(":enter","g"),En=new RegExp(":leave","g");function zr(E,l,a,y,F,Q=new Map,we=new Map,Me,Xe,rt=[]){return(new To).buildKeyframes(E,l,a,y,F,Q,we,Me,Xe,rt)}class To{buildKeyframes(l,a,y,F,Q,we,Me,Xe,rt,Nt=[]){rt=rt||new Zi;const Rt=new ir(l,a,rt,F,Q,Nt,[]);Rt.options=Xe;const vn=Xe.delay?z(Xe.delay):0;Rt.currentTimeline.delayNextStep(vn),Rt.currentTimeline.setStyles([we],null,Rt.errors,Xe),gi(this,y,Rt);const cn=Rt.timelines.filter(Xt=>Xt.containsAnimation());if(cn.length&&Me.size){let Xt;for(let rn=cn.length-1;rn>=0;rn--){const Hn=cn[rn];if(Hn.element===a){Xt=Hn;break}}Xt&&!Xt.allowOnlyTimelineStyles()&&Xt.setStyles([Me],null,Rt.errors,Xe)}return cn.length?cn.map(Xt=>Xt.buildKeyframes()):[di(a,[],[],[],0,vn,"",!1)]}visitTrigger(l,a){}visitState(l,a){}visitTransition(l,a){}visitAnimateChild(l,a){const y=a.subInstructions.get(a.element);if(y){const F=a.createSubContext(l.options),Q=a.currentTimeline.currentTime,we=this._visitSubInstructions(y,F,F.options);Q!=we&&a.transformIntoNewTimeline(we)}a.previousNode=l}visitAnimateRef(l,a){const y=a.createSubContext(l.options);y.transformIntoNewTimeline(),this._applyAnimationRefDelays([l.options,l.animation.options],a,y),this.visitReference(l.animation,y),a.transformIntoNewTimeline(y.currentTimeline.currentTime),a.previousNode=l}_applyAnimationRefDelays(l,a,y){for(const F of l){const Q=F?.delay;if(Q){const we="number"==typeof Q?Q:z(He(Q,F?.params??{},a.errors));y.delayNextStep(we)}}}_visitSubInstructions(l,a,y){let Q=a.currentTimeline.currentTime;const we=null!=y.duration?z(y.duration):null,Me=null!=y.delay?z(y.delay):null;return 0!==we&&l.forEach(Xe=>{const rt=a.appendInstructionToTimeline(Xe,we,Me);Q=Math.max(Q,rt.duration+rt.delay)}),Q}visitReference(l,a){a.updateOptions(l.options,!0),gi(this,l.animation,a),a.previousNode=l}visitSequence(l,a){const y=a.subContextCount;let F=a;const Q=l.options;if(Q&&(Q.params||Q.delay)&&(F=a.createSubContext(Q),F.transformIntoNewTimeline(),null!=Q.delay)){6==F.previousNode.type&&(F.currentTimeline.snapshotCurrentStyles(),F.previousNode=kr);const we=z(Q.delay);F.delayNextStep(we)}l.steps.length&&(l.steps.forEach(we=>gi(this,we,F)),F.currentTimeline.applyStylesToKeyframe(),F.subContextCount>y&&F.transformIntoNewTimeline()),a.previousNode=l}visitGroup(l,a){const y=[];let F=a.currentTimeline.currentTime;const Q=l.options&&l.options.delay?z(l.options.delay):0;l.steps.forEach(we=>{const Me=a.createSubContext(l.options);Q&&Me.delayNextStep(Q),gi(this,we,Me),F=Math.max(F,Me.currentTimeline.currentTime),y.push(Me.currentTimeline)}),y.forEach(we=>a.currentTimeline.mergeTimelineCollectedStyles(we)),a.transformIntoNewTimeline(F),a.previousNode=l}_visitTiming(l,a){if(l.dynamic){const y=l.strValue;return A(a.params?He(y,a.params,a.errors):y,a.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,a){const y=a.currentAnimateTimings=this._visitTiming(l.timings,a),F=a.currentTimeline;y.delay&&(a.incrementTime(y.delay),F.snapshotCurrentStyles());const Q=l.style;5==Q.type?this.visitKeyframes(Q,a):(a.incrementTime(y.duration),this.visitStyle(Q,a),F.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=l}visitStyle(l,a){const y=a.currentTimeline,F=a.currentAnimateTimings;!F&&y.hasCurrentStyleProperties()&&y.forwardFrame();const Q=F&&F.easing||l.easing;l.isEmptyStep?y.applyEmptyStep(Q):y.setStyles(l.styles,Q,a.errors,a.options),a.previousNode=l}visitKeyframes(l,a){const y=a.currentAnimateTimings,F=a.currentTimeline.duration,Q=y.duration,Me=a.createSubContext().currentTimeline;Me.easing=y.easing,l.styles.forEach(Xe=>{Me.forwardTime((Xe.offset||0)*Q),Me.setStyles(Xe.styles,Xe.easing,a.errors,a.options),Me.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(Me),a.transformIntoNewTimeline(F+Q),a.previousNode=l}visitQuery(l,a){const y=a.currentTimeline.currentTime,F=l.options||{},Q=F.delay?z(F.delay):0;Q&&(6===a.previousNode.type||0==y&&a.currentTimeline.hasCurrentStyleProperties())&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=kr);let we=y;const Me=a.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!F.optional,a.errors);a.currentQueryTotal=Me.length;let Xe=null;Me.forEach((rt,Nt)=>{a.currentQueryIndex=Nt;const Rt=a.createSubContext(l.options,rt);Q&&Rt.delayNextStep(Q),rt===a.element&&(Xe=Rt.currentTimeline),gi(this,l.animation,Rt),Rt.currentTimeline.applyStylesToKeyframe(),we=Math.max(we,Rt.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(we),Xe&&(a.currentTimeline.mergeTimelineCollectedStyles(Xe),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=l}visitStagger(l,a){const y=a.parentContext,F=a.currentTimeline,Q=l.timings,we=Math.abs(Q.duration),Me=we*(a.currentQueryTotal-1);let Xe=we*a.currentQueryIndex;switch(Q.duration<0?"reverse":Q.easing){case"reverse":Xe=Me-Xe;break;case"full":Xe=y.currentStaggerTime}const Nt=a.currentTimeline;Xe&&Nt.delayNextStep(Xe);const Rt=Nt.currentTime;gi(this,l.animation,a),a.previousNode=l,y.currentStaggerTime=F.currentTime-Rt+(F.startTime-y.currentTimeline.startTime)}}const kr={};class ir{constructor(l,a,y,F,Q,we,Me,Xe){this._driver=l,this.element=a,this.subInstructions=y,this._enterClassName=F,this._leaveClassName=Q,this.errors=we,this.timelines=Me,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=kr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Xe||new Di(this._driver,a,0),Me.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,a){if(!l)return;const y=l;let F=this.options;null!=y.duration&&(F.duration=z(y.duration)),null!=y.delay&&(F.delay=z(y.delay));const Q=y.params;if(Q){let we=F.params;we||(we=this.options.params={}),Object.keys(Q).forEach(Me=>{(!a||!we.hasOwnProperty(Me))&&(we[Me]=He(Q[Me],we,this.errors))})}}_copyOptions(){const l={};if(this.options){const a=this.options.params;if(a){const y=l.params={};Object.keys(a).forEach(F=>{y[F]=a[F]})}}return l}createSubContext(l=null,a,y){const F=a||this.element,Q=new ir(this._driver,F,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(F,y||0));return Q.previousNode=this.previousNode,Q.currentAnimateTimings=this.currentAnimateTimings,Q.options=this._copyOptions(),Q.updateOptions(l),Q.currentQueryIndex=this.currentQueryIndex,Q.currentQueryTotal=this.currentQueryTotal,Q.parentContext=this,this.subContextCount++,Q}transformIntoNewTimeline(l){return this.previousNode=kr,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,a,y){const F={duration:a??l.duration,delay:this.currentTimeline.currentTime+(y??0)+l.delay,easing:""},Q=new rr(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,F,l.stretchStartingKeyframe);return this.timelines.push(Q),F}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,a,y,F,Q,we){let Me=[];if(F&&Me.push(this.element),l.length>0){l=(l=l.replace(nr,"."+this._enterClassName)).replace(En,"."+this._leaveClassName);let rt=this._driver.query(this.element,l,1!=y);0!==y&&(rt=y<0?rt.slice(rt.length+y,rt.length):rt.slice(0,y)),Me.push(...rt)}return!Q&&0==Me.length&&we.push(function oe(E){return new d.vHH(3014,!1)}()),Me}}class Di{constructor(l,a,y,F){this._driver=l,this.element=a,this.startTime=y,this._elementTimelineStylesLookup=F,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(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,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 a=1===this._keyframes.size&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+l),a&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,a){return this.applyStylesToKeyframe(),new Di(this._driver,l,a||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,a){this._localTimelineStyles.set(l,a),this._globalTimelineStyles.set(l,a),this._styleSummary.set(l,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&this._previousKeyframe.set("easing",l);for(let[a,y]of this._globalTimelineStyles)this._backFill.set(a,y||k.l3),this._currentKeyframe.set(a,k.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,a,y,F){a&&this._previousKeyframe.set("easing",a);const Q=F&&F.params||{},we=function gr(E,l){const a=new Map;let y;return E.forEach(F=>{if("*"===F){y=y||l.keys();for(let Q of y)a.set(Q,k.l3)}else $e(F,a)}),a}(l,this._globalTimelineStyles);for(let[Me,Xe]of we){const rt=He(Xe,Q,y);this._pendingStyles.set(Me,rt),this._localTimelineStyles.has(Me)||this._backFill.set(Me,this._globalTimelineStyles.get(Me)??k.l3),this._updateStyle(Me,rt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((l,a)=>{this._currentKeyframe.set(a,l)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((l,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,l)}))}snapshotCurrentStyles(){for(let[l,a]of this._localTimelineStyles)this._pendingStyles.set(l,a),this._updateStyle(l,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let a in this._currentKeyframe)l.push(a);return l}mergeTimelineCollectedStyles(l){l._styleSummary.forEach((a,y)=>{const F=this._styleSummary.get(y);(!F||a.time>F.time)&&this._updateStyle(y,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,a=new Set,y=1===this._keyframes.size&&0===this.duration;let F=[];this._keyframes.forEach((Me,Xe)=>{const rt=$e(Me,new Map,this._backFill);rt.forEach((Nt,Rt)=>{Nt===k.k1?l.add(Rt):Nt===k.l3&&a.add(Rt)}),y||rt.set("offset",Xe/this.duration),F.push(rt)});const Q=l.size?Et(l.values()):[],we=a.size?Et(a.values()):[];if(y){const Me=F[0],Xe=new Map(Me);Me.set("offset",0),Xe.set("offset",1),F=[Me,Xe]}return di(this.element,F,Q,we,this.duration,this.startTime,this.easing,!1)}}class rr extends Di{constructor(l,a,y,F,Q,we,Me=!1){super(l,a,we.delay),this.keyframes=y,this.preStyleProps=F,this.postStyleProps=Q,this._stretchStartingKeyframe=Me,this.timings={duration:we.duration,delay:we.delay,easing:we.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:a,duration:y,easing:F}=this.timings;if(this._stretchStartingKeyframe&&a){const Q=[],we=y+a,Me=a/we,Xe=$e(l[0]);Xe.set("offset",0),Q.push(Xe);const rt=$e(l[0]);rt.set("offset",hi(Me)),Q.push(rt);const Nt=l.length-1;for(let Rt=1;Rt<=Nt;Rt++){let vn=$e(l[Rt]);const cn=vn.get("offset");vn.set("offset",hi((a+cn*y)/we)),Q.push(vn)}y=we,a=0,F="",l=Q}return di(this.element,l,this.preStyleProps,this.postStyleProps,y,a,F,!0)}}function hi(E,l=3){const a=Math.pow(10,l-1);return Math.round(E*a)/a}class Ii{}const lo=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 Li extends Ii{normalizePropertyName(l,a){return oi(l)}normalizeStyleValue(l,a,y,F){let Q="";const we=y.toString().trim();if(lo.has(a)&&0!==y&&"0"!==y)if("number"==typeof y)Q="px";else{const Me=y.match(/^[+-]?[\d\.]+([a-z]*)$/);Me&&0==Me[1].length&&F.push(function Ae(E,l){return new d.vHH(3005,!1)}())}return we+Q}}function Ni(E,l,a,y,F,Q,we,Me,Xe,rt,Nt,Rt,vn){return{type:0,element:E,triggerName:l,isRemovalTransition:F,fromState:a,fromStyles:Q,toState:y,toStyles:we,timelines:Me,queriedElements:Xe,preStyleProps:rt,postStyleProps:Nt,totalTime:Rt,errors:vn}}const Fr={};class Wr{constructor(l,a,y){this._triggerName=l,this.ast=a,this._stateStyles=y}match(l,a,y,F){return function Gr(E,l,a,y,F){return E.some(Q=>Q(l,a,y,F))}(this.ast.matchers,l,a,y,F)}buildStyles(l,a,y){let F=this._stateStyles.get("*");return void 0!==l&&(F=this._stateStyles.get(l?.toString())||F),F?F.buildStyles(a,y):new Map}build(l,a,y,F,Q,we,Me,Xe,rt,Nt){const Rt=[],vn=this.ast.options&&this.ast.options.params||Fr,Xt=this.buildStyles(y,Me&&Me.params||Fr,Rt),rn=Xe&&Xe.params||Fr,Hn=this.buildStyles(F,rn,Rt),Zn=new Set,Mi=new Map,_i=new Map,ci="void"===F,lr={params:jo(rn,vn),delay:this.ast.options?.delay},qi=Nt?[]:zr(l,a,this.ast.animation,Q,we,Xt,Hn,lr,rt,Rt);let zi=0;if(qi.forEach(Wi=>{zi=Math.max(Wi.duration+Wi.delay,zi)}),Rt.length)return Ni(a,this._triggerName,y,F,ci,Xt,Hn,[],[],Mi,_i,zi,Rt);qi.forEach(Wi=>{const bo=Wi.element,js=zt(Mi,bo,new Set);Wi.preStyleProps.forEach(qo=>js.add(qo));const Vn=zt(_i,bo,new Set);Wi.postStyleProps.forEach(qo=>Vn.add(qo)),bo!==a&&Zn.add(bo)});const Pr=Et(Zn.values());return Ni(a,this._triggerName,y,F,ci,Xt,Hn,qi,Pr,Mi,_i,zi)}}function jo(E,l){const a=Ie(l);for(const y in E)E.hasOwnProperty(y)&&null!=E[y]&&(a[y]=E[y]);return a}class Kr{constructor(l,a,y){this.styles=l,this.defaultParams=a,this.normalizer=y}buildStyles(l,a){const y=new Map,F=Ie(this.defaultParams);return Object.keys(l).forEach(Q=>{const we=l[Q];null!==we&&(F[Q]=we)}),this.styles.styles.forEach(Q=>{"string"!=typeof Q&&Q.forEach((we,Me)=>{we&&(we=He(we,F,a));const Xe=this.normalizer.normalizePropertyName(Me,a);we=this.normalizer.normalizeStyleValue(Me,Xe,we,a),y.set(Me,we)})}),y}}class os{constructor(l,a,y){this.name=l,this.ast=a,this._normalizer=y,this.transitionFactories=[],this.states=new Map,a.states.forEach(F=>{this.states.set(F.name,new Kr(F.style,F.options&&F.options.params||{},y))}),Yr(this.states,"true","1"),Yr(this.states,"false","0"),a.transitions.forEach(F=>{this.transitionFactories.push(new Wr(l,F,this.states))}),this.fallbackTransition=function Lr(E,l,a){return new Wr(E,{type:1,animation:{type:2,steps:[],options:null},matchers:[(we,Me)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,a,y,F){return this.transitionFactories.find(we=>we.match(l,a,y,F))||null}matchStyles(l,a,y){return this.fallbackTransition.buildStyles(l,a,y)}}function Yr(E,l,a){E.has(l)?E.has(a)||E.set(a,E.get(l)):E.has(a)&&E.set(l,E.get(a))}const mr=new Zi;class Se{constructor(l,a,y){this.bodyNode=l,this._driver=a,this._normalizer=y,this._animations=new Map,this._playersById=new Map,this.players=[]}register(l,a){const y=[],F=[],Q=An(this._driver,a,y,F);if(y.length)throw function Oe(E){return new d.vHH(3503,!1)}();this._animations.set(l,Q)}_buildPlayer(l,a,y){const F=l.element,Q=Lt(0,this._normalizer,0,l.keyframes,a,y);return this._driver.animate(F,Q,l.duration,l.delay,l.easing,[],!0)}create(l,a,y={}){const F=[],Q=this._animations.get(l);let we;const Me=new Map;if(Q?(we=zr(this._driver,a,Q,nn,jt,new Map,new Map,y,mr,F),we.forEach(Nt=>{const Rt=zt(Me,Nt.element,new Map);Nt.postStyleProps.forEach(vn=>Rt.set(vn,null))})):(F.push(function Ye(){return new d.vHH(3300,!1)}()),we=[]),F.length)throw function tt(E){return new d.vHH(3504,!1)}();Me.forEach((Nt,Rt)=>{Nt.forEach((vn,cn)=>{Nt.set(cn,this._driver.computeStyle(Rt,cn,k.l3))})});const rt=xt(we.map(Nt=>{const Rt=Me.get(Nt.element);return this._buildPlayer(Nt,new Map,Rt)}));return this._playersById.set(l,rt),rt.onDestroy(()=>this.destroy(l)),this.players.push(rt),rt}destroy(l){const a=this._getPlayer(l);a.destroy(),this._playersById.delete(l);const y=this.players.indexOf(a);y>=0&&this.players.splice(y,1)}_getPlayer(l){const a=this._playersById.get(l);if(!a)throw function lt(E){return new d.vHH(3301,!1)}();return a}listen(l,a,y,F){const Q=mn(a,"","","");return Kt(this._getPlayer(l),y,Q,F),()=>{}}command(l,a,y,F){if("register"==y)return void this.register(l,F[0]);if("create"==y)return void this.create(l,a,F[0]||{});const Q=this._getPlayer(l);switch(y){case"play":Q.play();break;case"pause":Q.pause();break;case"reset":Q.reset();break;case"restart":Q.restart();break;case"finish":Q.finish();break;case"init":Q.init();break;case"setPosition":Q.setPosition(parseFloat(F[0]));break;case"destroy":this.destroy(l)}}}const Pe="ng-animate-queued",ht="ng-animate-disabled",Bn=[],pn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_r={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},kn="__ng_removed";class fi{get params(){return this.options.params}constructor(l,a=""){this.namespaceId=a;const y=l&&l.hasOwnProperty("value");if(this.value=function Qr(E){return E??null}(y?l.value:l),y){const Q=Ie(l);delete Q.value,this.options=Q}else this.options={};this.options.params||(this.options.params={})}absorbOptions(l){const a=l.params;if(a){const y=this.options.params;Object.keys(a).forEach(F=>{null==y[F]&&(y[F]=a[F])})}}}const Qi="void",uo=new fi(Qi);class Zr{constructor(l,a,y){this.id=l,this.hostElement=a,this._engine=y,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,Mn(a,this._hostClassName)}listen(l,a,y,F){if(!this._triggers.has(a))throw function vt(E,l){return new d.vHH(3302,!1)}();if(null==y||0==y.length)throw function ft(E){return new d.vHH(3303,!1)}();if(!function pi(E){return"start"==E||"done"==E}(y))throw function ot(E,l){return new d.vHH(3400,!1)}();const Q=zt(this._elementListeners,l,[]),we={name:a,phase:y,callback:F};Q.push(we);const Me=zt(this._engine.statesByElement,l,new Map);return Me.has(a)||(Mn(l,xn),Mn(l,xn+"-"+a),Me.set(a,uo)),()=>{this._engine.afterFlush(()=>{const Xe=Q.indexOf(we);Xe>=0&&Q.splice(Xe,1),this._triggers.has(a)||Me.delete(a)})}}register(l,a){return!this._triggers.has(l)&&(this._triggers.set(l,a),!0)}_getTrigger(l){const a=this._triggers.get(l);if(!a)throw function fe(E){return new d.vHH(3401,!1)}();return a}trigger(l,a,y,F=!0){const Q=this._getTrigger(a),we=new or(this.id,a,l);let Me=this._engine.statesByElement.get(l);Me||(Mn(l,xn),Mn(l,xn+"-"+a),this._engine.statesByElement.set(l,Me=new Map));let Xe=Me.get(a);const rt=new fi(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&Xe&&rt.absorbOptions(Xe.options),Me.set(a,rt),Xe||(Xe=uo),rt.value!==Qi&&Xe.value===rt.value){if(!function Ho(E,l){const a=Object.keys(E),y=Object.keys(l);if(a.length!=y.length)return!1;for(let F=0;F<a.length;F++){const Q=a[F];if(!l.hasOwnProperty(Q)||E[Q]!==l[Q])return!1}return!0}(Xe.params,rt.params)){const rn=[],Hn=Q.matchStyles(Xe.value,Xe.params,rn),Zn=Q.matchStyles(rt.value,rt.params,rn);rn.length?this._engine.reportError(rn):this._engine.afterFlush(()=>{L(l,Hn),he(l,Zn)})}return}const vn=zt(this._engine.playersByElement,l,[]);vn.forEach(rn=>{rn.namespaceId==this.id&&rn.triggerName==a&&rn.queued&&rn.destroy()});let cn=Q.matchTransition(Xe.value,rt.value,l,rt.params),Xt=!1;if(!cn){if(!F)return;cn=Q.fallbackTransition,Xt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:a,transition:cn,fromState:Xe,toState:rt,player:we,isFallbackTransition:Xt}),Xt||(Mn(l,Pe),we.onStart(()=>{Sr(l,Pe)})),we.onDone(()=>{let rn=this.players.indexOf(we);rn>=0&&this.players.splice(rn,1);const Hn=this._engine.playersByElement.get(l);if(Hn){let Zn=Hn.indexOf(we);Zn>=0&&Hn.splice(Zn,1)}}),this.players.push(we),vn.push(we),we}deregister(l){this._triggers.delete(l),this._engine.statesByElement.forEach(a=>a.delete(l)),this._elementListeners.forEach((a,y)=>{this._elementListeners.set(y,a.filter(F=>F.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const a=this._engine.playersByElement.get(l);a&&(a.forEach(y=>y.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,a){const y=this._engine.driver.query(l,Nn,!0);y.forEach(F=>{if(F[kn])return;const Q=this._engine.fetchNamespacesByElement(F);Q.size?Q.forEach(we=>we.triggerLeaveAnimation(F,a,!1,!0)):this.clearElementCache(F)}),this._engine.afterFlushAnimationsDone(()=>y.forEach(F=>this.clearElementCache(F)))}triggerLeaveAnimation(l,a,y,F){const Q=this._engine.statesByElement.get(l),we=new Map;if(Q){const Me=[];if(Q.forEach((Xe,rt)=>{if(we.set(rt,Xe.value),this._triggers.has(rt)){const Nt=this.trigger(l,rt,Qi,F);Nt&&Me.push(Nt)}}),Me.length)return this._engine.markElementAsRemoved(this.id,l,!0,a,we),y&&xt(Me).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const a=this._elementListeners.get(l),y=this._engine.statesByElement.get(l);if(a&&y){const F=new Set;a.forEach(Q=>{const we=Q.name;if(F.has(we))return;F.add(we);const Xe=this._triggers.get(we).fallbackTransition,rt=y.get(we)||uo,Nt=new fi(Qi),Rt=new or(this.id,we,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:we,transition:Xe,fromState:rt,toState:Nt,player:Rt,isFallbackTransition:!0})})}}removeNode(l,a){const y=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,a),this.triggerLeaveAnimation(l,a,!0))return;let F=!1;if(y.totalAnimations){const Q=y.players.length?y.playersByQueriedElement.get(l):[];if(Q&&Q.length)F=!0;else{let we=l;for(;we=we.parentNode;)if(y.statesByElement.get(we)){F=!0;break}}}if(this.prepareLeaveAnimationListeners(l),F)y.markElementAsRemoved(this.id,l,!1,a);else{const Q=l[kn];(!Q||Q===pn)&&(y.afterFlush(()=>this.clearElementCache(l)),y.destroyInnerAnimations(l),y._onRemovalComplete(l,a))}}insertNode(l,a){Mn(l,this._hostClassName)}drainQueuedTransitions(l){const a=[];return this._queue.forEach(y=>{const F=y.player;if(F.destroyed)return;const Q=y.element,we=this._elementListeners.get(Q);we&&we.forEach(Me=>{if(Me.name==y.triggerName){const Xe=mn(Q,y.triggerName,y.fromState.value,y.toState.value);Xe._data=l,Kt(y.player,Me.phase,Xe,Me.callback)}}),F.markedForDestroy?this._engine.afterFlush(()=>{F.destroy()}):a.push(y)}),this._queue=[],a.sort((y,F)=>{const Q=y.transition.ast.depCount,we=F.transition.ast.depCount;return 0==Q||0==we?Q-we:this._engine.driver.containsElement(y.element,F.element)?1:-1})}destroy(l){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let a=!1;return this._elementListeners.has(l)&&(a=!0),a=!!this._queue.find(y=>y.element===l)||a,a}}class Tr{_onRemovalComplete(l,a){this.onRemovalComplete(l,a)}constructor(l,a,y){this.bodyNode=l,this.driver=a,this._normalizer=y,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=(F,Q)=>{}}get queuedPlayers(){const l=[];return this._namespaceList.forEach(a=>{a.players.forEach(y=>{y.queued&&l.push(y)})}),l}createNamespace(l,a){const y=new Zr(l,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(y,a):(this.newHostElements.set(a,y),this.collectEnterElement(a)),this._namespaceLookup[l]=y}_balanceNamespaceList(l,a){const y=this._namespaceList,F=this.namespacesByHostElement;if(y.length-1>=0){let we=!1,Me=this.driver.getParentElement(a);for(;Me;){const Xe=F.get(Me);if(Xe){const rt=y.indexOf(Xe);y.splice(rt+1,0,l),we=!0;break}Me=this.driver.getParentElement(Me)}we||y.unshift(l)}else y.push(l);return F.set(a,l),l}register(l,a){let y=this._namespaceLookup[l];return y||(y=this.createNamespace(l,a)),y}registerTrigger(l,a,y){let F=this._namespaceLookup[l];F&&F.register(a,y)&&this.totalAnimations++}destroy(l,a){if(!l)return;const y=this._fetchNamespace(l);this.afterFlush(()=>{this.namespacesByHostElement.delete(y.hostElement),delete this._namespaceLookup[l];const F=this._namespaceList.indexOf(y);F>=0&&this._namespaceList.splice(F,1)}),this.afterFlushAnimationsDone(()=>y.destroy(a))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const a=new Set,y=this.statesByElement.get(l);if(y)for(let F of y.values())if(F.namespaceId){const Q=this._fetchNamespace(F.namespaceId);Q&&a.add(Q)}return a}trigger(l,a,y,F){if(Bi(a)){const Q=this._fetchNamespace(l);if(Q)return Q.trigger(a,y,F),!0}return!1}insertNode(l,a,y,F){if(!Bi(a))return;const Q=a[kn];if(Q&&Q.setForRemoval){Q.setForRemoval=!1,Q.setForMove=!0;const we=this.collectedLeaveElements.indexOf(a);we>=0&&this.collectedLeaveElements.splice(we,1)}if(l){const we=this._fetchNamespace(l);we&&we.insertNode(a,y)}F&&this.collectEnterElement(a)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,a){a?this.disabledNodes.has(l)||(this.disabledNodes.add(l),Mn(l,ht)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Sr(l,ht))}removeNode(l,a,y,F){if(Bi(a)){const Q=l?this._fetchNamespace(l):null;if(Q?Q.removeNode(a,F):this.markElementAsRemoved(l,a,!1,F),y){const we=this.namespacesByHostElement.get(a);we&&we.id!==l&&we.removeNode(a,F)}}else this._onRemovalComplete(a,F)}markElementAsRemoved(l,a,y,F,Q){this.collectedLeaveElements.push(a),a[kn]={namespaceId:l,setForRemoval:F,hasAnimation:y,removedBeforeQueried:!1,previousTriggersValues:Q}}listen(l,a,y,F,Q){return Bi(a)?this._fetchNamespace(l).listen(a,y,F,Q):()=>{}}_buildInstruction(l,a,y,F,Q){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,y,F,l.fromState.options,l.toState.options,a,Q)}destroyInnerAnimations(l){let a=this.driver.query(l,Nn,!0);a.forEach(y=>this.destroyActiveAnimationsForElement(y)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(l,ut,!0),a.forEach(y=>this.finishActiveQueriedAnimationOnElement(y)))}destroyActiveAnimationsForElement(l){const a=this.playersByElement.get(l);a&&a.forEach(y=>{y.queued?y.markedForDestroy=!0:y.destroy()})}finishActiveQueriedAnimationOnElement(l){const a=this.playersByQueriedElement.get(l);a&&a.forEach(y=>y.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return xt(this.players).onDone(()=>l());l()})}processLeaveNode(l){const a=l[kn];if(a&&a.setForRemoval){if(l[kn]=pn,a.namespaceId){this.destroyInnerAnimations(l);const y=this._fetchNamespace(a.namespaceId);y&&y.clearElementCache(l)}this._onRemovalComplete(l,a.setForRemoval)}l.classList?.contains(ht)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(y=>{this.markElementAsDisabled(y,!1)})}flush(l=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((y,F)=>this._balanceNamespaceList(y,F)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;y<this.collectedEnterElements.length;y++)Mn(this.collectedEnterElements[y],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const y=[];try{a=this._flushAnimations(y,l)}finally{for(let F=0;F<y.length;F++)y[F]()}}else for(let y=0;y<this.collectedLeaveElements.length;y++)this.processLeaveNode(this.collectedLeaveElements[y]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(y=>y()),this._flushFns=[],this._whenQuietFns.length){const y=this._whenQuietFns;this._whenQuietFns=[],a.length?xt(a).onDone(()=>{y.forEach(F=>F())}):y.forEach(F=>F())}}reportError(l){throw function G(E){return new d.vHH(3402,!1)}()}_flushAnimations(l,a){const y=new Zi,F=[],Q=new Map,we=[],Me=new Map,Xe=new Map,rt=new Map,Nt=new Set;this.disabledNodes.forEach(Wt=>{Nt.add(Wt);const Jt=this.driver.query(Wt,".ng-animate-queued",!0);for(let on=0;on<Jt.length;on++)Nt.add(Jt[on])});const Rt=this.bodyNode,vn=Array.from(this.statesByElement.keys()),cn=Xr(vn,this.collectedEnterElements),Xt=new Map;let rn=0;cn.forEach((Wt,Jt)=>{const on=nn+rn++;Xt.set(Jt,on),Wt.forEach(Un=>Mn(Un,on))});const Hn=[],Zn=new Set,Mi=new Set;for(let Wt=0;Wt<this.collectedLeaveElements.length;Wt++){const Jt=this.collectedLeaveElements[Wt],on=Jt[kn];on&&on.setForRemoval&&(Hn.push(Jt),Zn.add(Jt),on.hasAnimation?this.driver.query(Jt,".ng-star-inserted",!0).forEach(Un=>Zn.add(Un)):Mi.add(Jt))}const _i=new Map,ci=Xr(vn,Array.from(Zn));ci.forEach((Wt,Jt)=>{const on=jt+rn++;_i.set(Jt,on),Wt.forEach(Un=>Mn(Un,on))}),l.push(()=>{cn.forEach((Wt,Jt)=>{const on=Xt.get(Jt);Wt.forEach(Un=>Sr(Un,on))}),ci.forEach((Wt,Jt)=>{const on=_i.get(Jt);Wt.forEach(Un=>Sr(Un,on))}),Hn.forEach(Wt=>{this.processLeaveNode(Wt)})});const lr=[],qi=[];for(let Wt=this._namespaceList.length-1;Wt>=0;Wt--)this._namespaceList[Wt].drainQueuedTransitions(a).forEach(on=>{const Un=on.player,ui=on.element;if(lr.push(Un),this.collectedEnterElements.length){const zn=ui[kn];if(zn&&zn.setForMove){if(zn.previousTriggersValues&&zn.previousTriggersValues.has(on.triggerName)){const h=zn.previousTriggersValues.get(on.triggerName),f=this.statesByElement.get(on.element);if(f&&f.has(on.triggerName)){const c=f.get(on.triggerName);c.value=h,f.set(on.triggerName,c)}}return void Un.destroy()}}const Hr=!Rt||!this.driver.containsElement(Rt,ui),cr=_i.get(ui),Yn=Xt.get(ui),Qn=this._buildInstruction(on,y,Yn,cr,Hr);if(Qn.errors&&Qn.errors.length)return void qi.push(Qn);if(Hr)return Un.onStart(()=>L(ui,Qn.fromStyles)),Un.onDestroy(()=>he(ui,Qn.toStyles)),void F.push(Un);if(on.isFallbackTransition)return Un.onStart(()=>L(ui,Qn.fromStyles)),Un.onDestroy(()=>he(ui,Qn.toStyles)),void F.push(Un);const Vr=[];Qn.timelines.forEach(zn=>{zn.stretchStartingKeyframe=!0,this.disabledNodes.has(zn.element)||Vr.push(zn)}),Qn.timelines=Vr,y.append(ui,Qn.timelines),we.push({instruction:Qn,player:Un,element:ui}),Qn.queriedElements.forEach(zn=>zt(Me,zn,[]).push(Un)),Qn.preStyleProps.forEach((zn,h)=>{if(zn.size){let f=Xe.get(h);f||Xe.set(h,f=new Set),zn.forEach((c,_)=>f.add(_))}}),Qn.postStyleProps.forEach((zn,h)=>{let f=rt.get(h);f||rt.set(h,f=new Set),zn.forEach((c,_)=>f.add(_))})});if(qi.length){const Wt=[];qi.forEach(Jt=>{Wt.push(function K(E,l){return new d.vHH(3505,!1)}())}),lr.forEach(Jt=>Jt.destroy()),this.reportError(Wt)}const zi=new Map,Pr=new Map;we.forEach(Wt=>{const Jt=Wt.element;y.has(Jt)&&(Pr.set(Jt,Jt),this._beforeAnimationBuild(Wt.player.namespaceId,Wt.instruction,zi))}),F.forEach(Wt=>{const Jt=Wt.element;this._getPreviousPlayers(Jt,!1,Wt.namespaceId,Wt.triggerName,null).forEach(Un=>{zt(zi,Jt,[]).push(Un),Un.destroy()})});const Wi=Hn.filter(Wt=>vr(Wt,Xe,rt)),bo=new Map;qn(bo,this.driver,Mi,rt,k.l3).forEach(Wt=>{vr(Wt,Xe,rt)&&Wi.push(Wt)});const Vn=new Map;cn.forEach((Wt,Jt)=>{qn(Vn,this.driver,new Set(Wt),Xe,k.k1)}),Wi.forEach(Wt=>{const Jt=bo.get(Wt),on=Vn.get(Wt);bo.set(Wt,new Map([...Array.from(Jt?.entries()??[]),...Array.from(on?.entries()??[])]))});const qo=[],Jo=[],na={};we.forEach(Wt=>{const{element:Jt,player:on,instruction:Un}=Wt;if(y.has(Jt)){if(Nt.has(Jt))return on.onDestroy(()=>he(Jt,Un.toStyles)),on.disabled=!0,on.overrideTotalTime(Un.totalTime),void F.push(on);let ui=na;if(Pr.size>1){let cr=Jt;const Yn=[];for(;cr=cr.parentNode;){const Qn=Pr.get(cr);if(Qn){ui=Qn;break}Yn.push(cr)}Yn.forEach(Qn=>Pr.set(Qn,ui))}const Hr=this._buildAnimation(on.namespaceId,Un,zi,Q,Vn,bo);if(on.setRealPlayer(Hr),ui===na)qo.push(on);else{const cr=this.playersByElement.get(ui);cr&&cr.length&&(on.parentPlayer=xt(cr)),F.push(on)}}else L(Jt,Un.fromStyles),on.onDestroy(()=>he(Jt,Un.toStyles)),Jo.push(on),Nt.has(Jt)&&F.push(on)}),Jo.forEach(Wt=>{const Jt=Q.get(Wt.element);if(Jt&&Jt.length){const on=xt(Jt);Wt.setRealPlayer(on)}}),F.forEach(Wt=>{Wt.parentPlayer?Wt.syncPlayerEvents(Wt.parentPlayer):Wt.destroy()});for(let Wt=0;Wt<Hn.length;Wt++){const Jt=Hn[Wt],on=Jt[kn];if(Sr(Jt,jt),on&&on.hasAnimation)continue;let Un=[];if(Me.size){let Hr=Me.get(Jt);Hr&&Hr.length&&Un.push(...Hr);let cr=this.driver.query(Jt,ut,!0);for(let Yn=0;Yn<cr.length;Yn++){let Qn=Me.get(cr[Yn]);Qn&&Qn.length&&Un.push(...Qn)}}const ui=Un.filter(Hr=>!Hr.destroyed);ui.length?Ir(this,Jt,ui):this.processLeaveNode(Jt)}return Hn.length=0,qo.forEach(Wt=>{this.players.push(Wt),Wt.onDone(()=>{Wt.destroy();const Jt=this.players.indexOf(Wt);this.players.splice(Jt,1)}),Wt.play()}),qo}elementContainsData(l,a){let y=!1;const F=a[kn];return F&&F.setForRemoval&&(y=!0),this.playersByElement.has(a)&&(y=!0),this.playersByQueriedElement.has(a)&&(y=!0),this.statesByElement.has(a)&&(y=!0),this._fetchNamespace(l).elementContainsData(a)||y}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,a,y,F,Q){let we=[];if(a){const Me=this.playersByQueriedElement.get(l);Me&&(we=Me)}else{const Me=this.playersByElement.get(l);if(Me){const Xe=!Q||Q==Qi;Me.forEach(rt=>{rt.queued||!Xe&&rt.triggerName!=F||we.push(rt)})}}return(y||F)&&(we=we.filter(Me=>!(y&&y!=Me.namespaceId||F&&F!=Me.triggerName))),we}_beforeAnimationBuild(l,a,y){const Q=a.element,we=a.isRemovalTransition?void 0:l,Me=a.isRemovalTransition?void 0:a.triggerName;for(const Xe of a.timelines){const rt=Xe.element,Nt=rt!==Q,Rt=zt(y,rt,[]);this._getPreviousPlayers(rt,Nt,we,Me,a.toState).forEach(cn=>{const Xt=cn.getRealPlayer();Xt.beforeDestroy&&Xt.beforeDestroy(),cn.destroy(),Rt.push(cn)})}L(Q,a.fromStyles)}_buildAnimation(l,a,y,F,Q,we){const Me=a.triggerName,Xe=a.element,rt=[],Nt=new Set,Rt=new Set,vn=a.timelines.map(Xt=>{const rn=Xt.element;Nt.add(rn);const Hn=rn[kn];if(Hn&&Hn.removedBeforeQueried)return new k.ZN(Xt.duration,Xt.delay);const Zn=rn!==Xe,Mi=function Ei(E){const l=[];return Nr(E,l),l}((y.get(rn)||Bn).map(zi=>zi.getRealPlayer())).filter(zi=>!!zi.element&&zi.element===rn),_i=Q.get(rn),ci=we.get(rn),lr=Lt(0,this._normalizer,0,Xt.keyframes,_i,ci),qi=this._buildPlayer(Xt,lr,Mi);if(Xt.subTimeline&&F&&Rt.add(rn),Zn){const zi=new or(l,Me,rn);zi.setRealPlayer(qi),rt.push(zi)}return qi});rt.forEach(Xt=>{zt(this.playersByQueriedElement,Xt.element,[]).push(Xt),Xt.onDone(()=>function yr(E,l,a){let y=E.get(l);if(y){if(y.length){const F=y.indexOf(a);y.splice(F,1)}0==y.length&&E.delete(l)}return y}(this.playersByQueriedElement,Xt.element,Xt))}),Nt.forEach(Xt=>Mn(Xt,It));const cn=xt(vn);return cn.onDestroy(()=>{Nt.forEach(Xt=>Sr(Xt,It)),he(Xe,a.toStyles)}),Rt.forEach(Xt=>{zt(F,Xt,[]).push(cn)}),cn}_buildPlayer(l,a,y){return a.length>0?this.driver.animate(l.element,a,l.duration,l.delay,l.easing,y):new k.ZN(l.duration,l.delay)}}class or{constructor(l,a,y){this.namespaceId=l,this.triggerName=a,this.element=y,this._player=new k.ZN,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((a,y)=>{a.forEach(F=>Kt(l,y,void 0,F))}),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 a=this._player;a.triggerCallback&&l.onStart(()=>a.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,a){zt(this._queuedCallbacks,l,[]).push(a)}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 a=this._player;a.triggerCallback&&a.triggerCallback(l)}}function Bi(E){return E&&1===E.nodeType}function gn(E,l){const a=E.style.display;return E.style.display=l??"none",a}function qn(E,l,a,y,F){const Q=[];a.forEach(Xe=>Q.push(gn(Xe)));const we=[];y.forEach((Xe,rt)=>{const Nt=new Map;Xe.forEach(Rt=>{const vn=l.computeStyle(rt,Rt,F);Nt.set(Rt,vn),(!vn||0==vn.length)&&(rt[kn]=_r,we.push(rt))}),E.set(rt,Nt)});let Me=0;return a.forEach(Xe=>gn(Xe,Q[Me++])),we}function Xr(E,l){const a=new Map;if(E.forEach(Me=>a.set(Me,[])),0==l.length)return a;const y=1,F=new Set(l),Q=new Map;function we(Me){if(!Me)return y;let Xe=Q.get(Me);if(Xe)return Xe;const rt=Me.parentNode;return Xe=a.has(rt)?rt:F.has(rt)?y:we(rt),Q.set(Me,Xe),Xe}return l.forEach(Me=>{const Xe=we(Me);Xe!==y&&a.get(Xe).push(Me)}),a}function Mn(E,l){E.classList?.add(l)}function Sr(E,l){E.classList?.remove(l)}function Ir(E,l,a){xt(a).onDone(()=>E.processLeaveNode(l))}function Nr(E,l){for(let a=0;a<E.length;a++){const y=E[a];y instanceof k.ZE?Nr(y.players,l):l.push(y)}}function vr(E,l,a){const y=a.get(E);if(!y)return!1;let F=l.get(E);return F?y.forEach(Q=>F.add(Q)):l.set(E,y),a.delete(E),!0}class Jn{constructor(l,a,y){this.bodyNode=l,this._driver=a,this._normalizer=y,this._triggerCache={},this.onRemovalComplete=(F,Q)=>{},this._transitionEngine=new Tr(l,a,y),this._timelineEngine=new Se(l,a,y),this._transitionEngine.onRemovalComplete=(F,Q)=>this.onRemovalComplete(F,Q)}registerTrigger(l,a,y,F,Q){const we=l+"-"+F;let Me=this._triggerCache[we];if(!Me){const Xe=[],rt=[],Nt=An(this._driver,Q,Xe,rt);if(Xe.length)throw function bt(E,l){return new d.vHH(3404,!1)}();Me=function co(E,l,a){return new os(E,l,a)}(F,Nt,this._normalizer),this._triggerCache[we]=Me}this._transitionEngine.registerTrigger(a,F,Me)}register(l,a){this._transitionEngine.register(l,a)}destroy(l,a){this._transitionEngine.destroy(l,a)}onInsert(l,a,y,F){this._transitionEngine.insertNode(l,a,y,F)}onRemove(l,a,y,F){this._transitionEngine.removeNode(l,a,F||!1,y)}disableAnimations(l,a){this._transitionEngine.markElementAsDisabled(l,a)}process(l,a,y,F){if("@"==y.charAt(0)){const[Q,we]=bn(y);this._timelineEngine.command(Q,a,we,F)}else this._transitionEngine.trigger(l,a,y,F)}listen(l,a,y,F,Q){if("@"==y.charAt(0)){const[we,Me]=bn(y);return this._timelineEngine.listen(we,a,Me,Q)}return this._transitionEngine.listen(l,a,y,F,Q)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ao=(()=>{class E{constructor(a,y,F){this._element=a,this._startStyles=y,this._endStyles=F,this._state=0;let Q=E.initialStylesByElement.get(a);Q||E.initialStylesByElement.set(a,Q=new Map),this._initialStyles=Q}start(){this._state<1&&(this._startStyles&&he(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(he(this._element,this._initialStyles),this._endStyles&&(he(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(E.initialStylesByElement.delete(this._element),this._startStyles&&(L(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),he(this._element,this._initialStyles),this._state=3)}}return E.initialStylesByElement=new WeakMap,E})();function Oo(E){let l=null;return E.forEach((a,y)=>{(function Hi(E){return"display"===E||"position"===E})(y)&&(l=l||new Map,l.set(y,a))}),l}class Dr{constructor(l,a,y,F){this.element=l,this.keyframes=a,this.options=y,this._specialStyles=F,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=y.duration,this._delay=y.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,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(l){const a=[];return l.forEach(y=>{a.push(Object.fromEntries(y))}),a}_triggerWebAnimation(l,a,y){return l.animate(this._convertKeyframesToObject(a),y)}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/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l=new Map;this.hasStarted()&&this._finalKeyframe.forEach((y,F)=>{"offset"!==F&&l.set(F,this._finished?y:hr(this.element,F))}),this.currentSnapshot=l}triggerCallback(l){const a="start"===l?this._onStartFns:this._onDoneFns;a.forEach(y=>y()),a.length=0}}class Vo{validateStyleProperty(l){return!0}validateAnimatableStyleProperty(l){return!0}matchesElement(l,a){return!1}containsElement(l,a){return _e(l,a)}getParentElement(l){return Ne(l)}query(l,a,y){return it(l,a,y)}computeStyle(l,a,y){return window.getComputedStyle(l)[a]}animate(l,a,y,F,Q,we=[]){const Xe={duration:y,delay:F,fill:0==F?"both":"forwards"};Q&&(Xe.easing=Q);const rt=new Map,Nt=we.filter(cn=>cn instanceof Dr);(function Ji(E,l){return 0===E||0===l})(y,F)&&Nt.forEach(cn=>{cn.currentSnapshot.forEach((Xt,rn)=>rt.set(rn,Xt))});let Rt=function re(E){return E.length?E[0]instanceof Map?E:E.map(l=>te(l)):[]}(a).map(cn=>$e(cn));Rt=function yi(E,l,a){if(a.size&&l.length){let y=l[0],F=[];if(a.forEach((Q,we)=>{y.has(we)||F.push(we),y.set(we,Q)}),F.length)for(let Q=1;Q<l.length;Q++){let we=l[Q];F.forEach(Me=>we.set(Me,hr(E,Me)))}}return l}(l,Rt,rt);const vn=function ho(E,l){let a=null,y=null;return Array.isArray(l)&&l.length?(a=Oo(l[0]),l.length>1&&(y=Oo(l[l.length-1]))):l instanceof Map&&(a=Oo(l)),a||y?new Ao(E,a,y):null}(l,Rt);return new Dr(l,Rt,Xe,vn)}}var Qt=g(36895);let ss=(()=>{class E extends k._j{constructor(a,y){super(),this._nextAnimationId=0,this._renderer=a.createRenderer(y.body,{id:"0",encapsulation:d.ifc.None,styles:[],data:{animation:[]}})}build(a){const y=this._nextAnimationId.toString();this._nextAnimationId++;const F=Array.isArray(a)?(0,k.vP)(a):a;return Po(this._renderer,null,y,"register",[F]),new as(y,this._renderer)}}return E.\u0275fac=function(a){return new(a||E)(d.LFG(d.FYo),d.LFG(Qt.K0))},E.\u0275prov=d.Yz7({token:E,factory:E.\u0275fac}),E})();class as extends k.LC{constructor(l,a){super(),this._id=l,this._renderer=a}create(l,a){return new Es(this._id,l,a||{},this._renderer)}}class Es{constructor(l,a,y,F){this.id=l,this.element=a,this._renderer=F,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",y)}_listen(l,a){return this._renderer.listen(this.element,`@@${this.id}:${l}`,a)}_command(l,...a){return Po(this._renderer,this.element,this.id,l,a)}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 Po(E,l,a,y,F){return E.setProperty(l,`@@${a}:${y}`,F)}const zo="@.disabled";let Wo=(()=>{class E{constructor(a,y,F){this.delegate=a,this.engine=y,this._zone=F,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),y.onRemovalComplete=(Q,we)=>{const Me=we?.parentNode(Q);Me&&we.removeChild(Me,Q)}}createRenderer(a,y){const Q=this.delegate.createRenderer(a,y);if(!(a&&y&&y.data&&y.data.animation)){let Nt=this._rendererCache.get(Q);return Nt||(Nt=new Gn("",Q,this.engine,()=>this._rendererCache.delete(Q)),this._rendererCache.set(Q,Nt)),Nt}const we=y.id,Me=y.id+"-"+this._currentId;this._currentId++,this.engine.register(Me,a);const Xe=Nt=>{Array.isArray(Nt)?Nt.forEach(Xe):this.engine.registerTrigger(we,Me,a,Nt.name,Nt)};return y.data.animation.forEach(Xe),new Dt(this,Me,Q,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(a,y,F){a>=0&&a<this._microtaskId?this._zone.run(()=>y(F)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Q=>{const[we,Me]=Q;we(Me)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([y,F]))}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()}}return E.\u0275fac=function(a){return new(a||E)(d.LFG(d.FYo),d.LFG(Jn),d.LFG(d.R0b))},E.\u0275prov=d.Yz7({token:E,factory:E.\u0275fac}),E})();class Gn{constructor(l,a,y,F){this.namespaceId=l,this.delegate=a,this.engine=y,this._onDestroy=F,this.destroyNode=this.delegate.destroyNode?Q=>a.destroyNode(Q):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(l,a){return this.delegate.createElement(l,a)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,a){this.delegate.appendChild(l,a),this.engine.onInsert(this.namespaceId,a,l,!1)}insertBefore(l,a,y,F=!0){this.delegate.insertBefore(l,a,y),this.engine.onInsert(this.namespaceId,a,l,F)}removeChild(l,a,y){this.engine.onRemove(this.namespaceId,a,this.delegate,y)}selectRootElement(l,a){return this.delegate.selectRootElement(l,a)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,a,y,F){this.delegate.setAttribute(l,a,y,F)}removeAttribute(l,a,y){this.delegate.removeAttribute(l,a,y)}addClass(l,a){this.delegate.addClass(l,a)}removeClass(l,a){this.delegate.removeClass(l,a)}setStyle(l,a,y,F){this.delegate.setStyle(l,a,y,F)}removeStyle(l,a,y){this.delegate.removeStyle(l,a,y)}setProperty(l,a,y){"@"==a.charAt(0)&&a==zo?this.disableAnimations(l,!!y):this.delegate.setProperty(l,a,y)}setValue(l,a){this.delegate.setValue(l,a)}listen(l,a,y){return this.delegate.listen(l,a,y)}disableAnimations(l,a){this.engine.disableAnimations(l,a)}}class Dt extends Gn{constructor(l,a,y,F,Q){super(a,y,F,Q),this.factory=l,this.namespaceId=a}setProperty(l,a,y){"@"==a.charAt(0)?"."==a.charAt(1)&&a==zo?this.disableAnimations(l,y=void 0===y||!!y):this.engine.process(this.namespaceId,l,a.slice(1),y):this.delegate.setProperty(l,a,y)}listen(l,a,y){if("@"==a.charAt(0)){const F=function On(E){switch(E){case"body":return document.body;case"document":return document;case"window":return window;default:return E}}(l);let Q=a.slice(1),we="";return"@"!=Q.charAt(0)&&([Q,we]=function ls(E){const l=E.indexOf(".");return[E.substring(0,l),E.slice(l+1)]}(Q)),this.engine.listen(this.namespaceId,F,Q,we,Me=>{this.factory.scheduleListenerCallback(Me._data||-1,y,Me)})}return this.delegate.listen(l,a,y)}}const Br=[{provide:k._j,useClass:ss},{provide:Ii,useFactory:function mi(){return new Li}},{provide:Jn,useClass:(()=>{class E extends Jn{constructor(a,y,F,Q){super(a.body,y,F)}ngOnDestroy(){this.flush()}}return E.\u0275fac=function(a){return new(a||E)(d.LFG(Qt.K0),d.LFG(mt),d.LFG(Ii),d.LFG(d.z2F))},E.\u0275prov=d.Yz7({token:E,factory:E.\u0275fac}),E})()},{provide:d.FYo,useFactory:function ws(E,l,a){return new Wo(E,l,a)},deps:[s.se,Jn,d.R0b]}],Vi=[{provide:mt,useFactory:()=>new Vo},{provide:d.QbO,useValue:"BrowserAnimations"},...Br],Go=[{provide:mt,useClass:Le},{provide:d.QbO,useValue:"NoopAnimations"},...Br];let xo=(()=>{class E{static withConfig(a){return{ngModule:E,providers:a.disableAnimations?Go:Vi}}}return E.\u0275fac=function(a){return new(a||E)},E.\u0275mod=d.oAB({type:E}),E.\u0275inj=d.cJS({providers:Vi,imports:[s.b2]}),E})();var ei=g(9116);const Ai=[{path:"menu",loadChildren:()=>Promise.all([g.e(4006),g.e(4177),g.e(3669),g.e(9612),g.e(8592),g.e(8317)]).then(g.bind(g,58317)).then(E=>E.MenuMasterModule)},{path:"print",loadChildren:()=>Promise.all([g.e(3337),g.e(3259),g.e(7193),g.e(4941),g.e(4177),g.e(3669)]).then(g.bind(g,64941)).then(E=>E.PrintModule)},{path:"",loadChildren:()=>Promise.all([g.e(4177),g.e(9612),g.e(6840)]).then(g.bind(g,26840)).then(E=>E.AuthModule)},{path:"**",redirectTo:"menu",pathMatch:"full"}];let qr=(()=>{class E{}return(0,C.Z)(E,"\u0275fac",function(a){return new(a||E)}),(0,C.Z)(E,"\u0275mod",d.oAB({type:E})),(0,C.Z)(E,"\u0275inj",d.cJS({imports:[ei.Bz.forRoot(Ai),ei.Bz]})),E})();var Jr=g(4707);function sr(E,l){return(a,y)=>!E.call(l,a,y)}var fo=g(39300),ko=g(38421),us=g(56451),eo=g(82805),po=g(28746),to=g(63900),go=g(54482),Lo=g(25032),mo=g(25403);function Ko(E){return(0,go.e)((l,a)=>{let y=!1,F=null,Q=null;const we=()=>{if(Q?.unsubscribe(),Q=null,y){y=!1;const Me=F;F=null,a.next(Me)}};l.subscribe((0,mo.x)(a,Me=>{Q?.unsubscribe(),y=!0,F=Me,Q=(0,mo.x)(a,we,Lo.Z),(0,ko.Xf)(E(Me)).subscribe(Q)},()=>{we(),a.complete()},void 0,()=>{F=Q=null}))})}var Ns=g(71884),Bs=g(18505);function Yo(E,l){1&E&&d.GkF(0)}function Us(E,l){if(1&E&&d._UZ(0,"sk-cube-grid",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Zo(E,l){if(1&E&&d._UZ(0,"sk-chasing-dots",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Qo(E,l){if(1&E&&d._UZ(0,"sk-double-bounce",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Ts(E,l){if(1&E&&d._UZ(0,"sk-rotating-plane",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Oi(E,l){if(1&E&&d._UZ(0,"sk-spinner-pulse",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function no(E,l){if(1&E&&d._UZ(0,"sk-three-bounce",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function ti(E,l){if(1&E&&d._UZ(0,"sk-wandering-cubes",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function ds(E,l){if(1&E&&d._UZ(0,"sk-wave",4),2&E){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}const Ci=function(E){return{"background-color":E}};function Xo(E,l){if(1&E&&(d.TgZ(0,"div",1),d.YNc(1,Yo,1,0,"ng-container",2),d.YNc(2,Us,1,1,"sk-cube-grid",3),d.YNc(3,Zo,1,1,"sk-chasing-dots",3),d.YNc(4,Qo,1,1,"sk-double-bounce",3),d.YNc(5,Ts,1,1,"sk-rotating-plane",3),d.YNc(6,Oi,1,1,"sk-spinner-pulse",3),d.YNc(7,no,1,1,"sk-three-bounce",3),d.YNc(8,ti,1,1,"sk-wandering-cubes",3),d.YNc(9,ds,1,1,"sk-wave",3),d.qZA()),2&E){const a=d.oxw();d.Udp("opacity",a.opacity),d.ekj("backdrop",a.backdrop),d.Q6J("ngStyle",d.VKq(14,Ci,a.backdrop?a.backdropBackgroundColor:"transparent")),d.xp6(1),d.Q6J("ngComponentOutlet",a.entryComponent),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skCubeGrid),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skChasingDots),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skDoubleBounce),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skRotatingPlane),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skSpinnerPulse),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skThreeBounce),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skWanderingCubes),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skWave)}}let Ur=(()=>{class E{}return E.\u0275fac=function(a){return new(a||E)},E.\u0275dir=d.lG2({type:E,inputs:{backgroundColor:"backgroundColor"}}),E})(),hs=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-chasing-dots"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),E})(),fs=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-cube-grid"]],features:[d.qOj],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),d.qZA()),2&a&&(d.ekj("colored",!y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),E})(),_o=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-double-bounce"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),E})(),yo=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-rotating-plane"]],features:[d.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(a,y){1&a&&d._UZ(0,"div",0),2&a&&d.Udp("background-color",y.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),E})(),m=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-spinner-pulse"]],features:[d.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(a,y){1&a&&d._UZ(0,"div",0),2&a&&d.Udp("background-color",y.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),E})(),P=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-three-bounce"]],features:[d.qOj],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2)(3,"div",3),d.qZA()),2&a&&(d.ekj("colored",!y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),E})(),D=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-wandering-cubes"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),E})(),j=(()=>{class E extends Ur{}return E.\u0275fac=function(){let l;return function(y){return(l||(l=d.n5z(E)))(y||E)}}(),E.\u0275cmp=d.Xpm({type:E,selectors:[["sk-wave"]],features:[d.qOj],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),d.qZA()),2&a&&(d.ekj("colored",!y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor),d.xp6(1),d.Udp("background-color",y.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),E})();const pe={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};let gt=(()=>{class E{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new Jr.t(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(a){this._filteredMethods=a}set filteredHeaders(a){this._filteredHeaders=a}set forceByPass(a){this._forceByPass=a}shouldBypassUrl(a){return this._filteredUrlPatterns.some(y=>y.test(a))}shouldBypassMethod(a){return this._filteredMethods.some(y=>y.toUpperCase()===a.method.toUpperCase())}shouldBypassHeader(a){return this._filteredHeaders.some(y=>a.headers.has(y))}shouldBypass(a){return this._forceByPass||this.shouldBypassUrl(a.urlWithParams)||this.shouldBypassMethod(a)||this.shouldBypassHeader(a)}intercept(a,y){const F=this.shouldBypass(a);return F||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),y.handle(a).pipe((0,po.x)(()=>{F||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return E.\u0275fac=function(a){return new(a||E)},E.\u0275prov=d.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const $t=[{provide:$.TP,useExisting:gt,multi:!0}];let Sn=(()=>{class E{constructor(a){this.pendingRequestsInterceptor=a,this._visibility$=new Jr.t(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return E.\u0275fac=function(a){return new(a||E)(d.LFG(gt))},E.\u0275prov=d.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),Fn=(()=>{class E{constructor(a,y){this.pendingRequestsInterceptor=a,this.spinnerVisibility=y,this.spinkit=pe,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=pe.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[a,y]=function Fo(E,l,a){return[(0,fo.h)(l,a)((0,ko.Xf)(E)),(0,fo.h)(sr(l,a))((0,ko.Xf)(E))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,F=>F);this.isVisible$=(0,us.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,to.w)(()=>a.pipe(Ko(()=>(0,eo.H)(this.debounceDelay))))),a.pipe((0,to.w)(()=>y.pipe(Ko(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Ns.x)(),(0,Bs.b)(F=>this.updateExpirationDelay(F)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(a=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(a)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(a){a&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,eo.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return E.\u0275fac=function(a){return new(a||E)(d.Y36(gt),d.Y36(Sn))},E.\u0275cmp=d.Xpm({type:E,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(a,y){1&a&&(d.YNc(0,Xo,10,16,"div",0),d.ALo(1,"async")),2&a&&d.Q6J("ngIf",d.lcZ(1,1,y.isVisible$))},dependencies:[Qt.$G,Qt.O5,Qt.PC,fs,hs,_o,yo,m,P,D,j,Qt.Ov],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),E})(),Ln=(()=>{class E{static forRoot(){return{ngModule:E,providers:[$t]}}}return E.\u0275fac=function(a){return new(a||E)},E.\u0275mod=d.oAB({type:E}),E.\u0275inj=d.cJS({imports:[Qt.ez]}),E})();const _n=function(){return["/api/charge"]};let ni=(()=>{class E{constructor(){function a(y){return y<10?"0"+y:y}Date.prototype.toJSON=function(){return this.getFullYear()+"-"+a(this.getMonth()+1)+"-"+a(this.getDate())+"T"+a(this.getHours())+":"+a(this.getMinutes())+":"+a(this.getSeconds())+".000"}}}return(0,C.Z)(E,"\u0275fac",function(a){return new(a||E)}),(0,C.Z)(E,"\u0275cmp",d.Xpm({type:E,selectors:[["app-root"]],decls:3,vars:2,consts:[[3,"filteredUrlPatterns"],[1,"simple-keyboard"]],template:function(a,y){1&a&&d._UZ(0,"router-outlet")(1,"ng-http-loader",0)(2,"div",1),2&a&&(d.xp6(1),d.Q6J("filteredUrlPatterns",d.DdM(1,_n)))},dependencies:[ei.lC,Fn],styles:[".toast-center-center[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-center[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-full-width[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-full-width[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-left[_ngcontent-%COMP%]{top:12px;left:12px}.toast-top-right[_ngcontent-%COMP%]{top:12px;right:12px}.toast-bottom-right[_ngcontent-%COMP%]{right:12px;bottom:12px}.toast-bottom-left[_ngcontent-%COMP%]{bottom:12px;left:12px}.toast-title[_ngcontent-%COMP%]{font-weight:700}.toast-message[_ngcontent-%COMP%]{word-wrap:break-word}.toast-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .toast-message[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#fff}.toast-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ccc;text-decoration:none}.toast-close-button[_ngcontent-%COMP%]{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button[_ngcontent-%COMP%]:hover, .toast-close-button[_ngcontent-%COMP%]:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button[_ngcontent-%COMP%]{padding:0;cursor:pointer;background:transparent;border:0}.toast-container[_ngcontent-%COMP%]{pointer-events:none;position:fixed;z-index:999999}.toast-container[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}.toast-container[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-center[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-full-width[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr[_ngcontent-%COMP%]{background-color:#030303;pointer-events:auto}.toast-success[_ngcontent-%COMP%]{background-color:#51a351}.toast-error[_ngcontent-%COMP%]{background-color:#bd362f}.toast-info[_ngcontent-%COMP%]{background-color:#2f96b4}.toast-warning[_ngcontent-%COMP%]{background-color:#f89406}.toast-progress[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:11em}.toast-container[_ngcontent-%COMP%] .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:18em}.toast-container[_ngcontent-%COMP%] .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:15px 15px 15px 50px;width:25em}}.simple-keyboard[_ngcontent-%COMP%]{width:20vw;position:absolute;left:77%;top:30%;z-index:1200}"]})),E})();var jn=g(97185);const ii=["custom-toast-component",""];function Xi(E,l){if(1&E){const a=d.EpF();d.TgZ(0,"a",11),d.NdJ("click",function(){d.CHM(a);const F=d.oxw(2);return d.KtG(F.remove())}),d._uU(1," x "),d.qZA()}}function wi(E,l){if(1&E&&(d.TgZ(0,"div",6)(1,"div",7)(2,"div",8)(3,"h4"),d._uU(4),d.qZA()()(),d.TgZ(5,"div",9),d.YNc(6,Xi,2,0,"a",10),d.qZA()()),2&E){const a=d.oxw();d.Udp("display","inactive"===a.state.value?"none":""),d.xp6(2),d.Tol(a.options.titleClass),d.uIk("aria-label",a.title),d.xp6(2),d.Oqu(a.title),d.xp6(2),d.Q6J("ngIf",a.options.closeButton)}}const $i=function(E){return{notitle:E}};function ar(E,l){if(1&E&&d._UZ(0,"div",12),2&E){const a=d.oxw();d.Tol(a.options.messageClass),d.Q6J("ngClass",d.VKq(4,$i,null==a.title))("innerHTML",a.message,d.oJD)}}function vo(E,l){if(1&E&&(d.TgZ(0,"div",13),d._uU(1),d.qZA()),2&E){const a=d.oxw();d.Tol(a.options.messageClass),d.Q6J("ngClass",d.VKq(5,$i,null==a.title)),d.uIk("aria-label",a.message),d.xp6(1),d.hij(" ",a.message," ")}}function Ar(E,l){if(1&E){const a=d.EpF();d.TgZ(0,"a",11),d.NdJ("click",function(){d.CHM(a);const F=d.oxw();return d.KtG(F.remove())}),d._uU(1," x "),d.qZA()}}function ps(E,l){if(1&E&&(d.TgZ(0,"div"),d._UZ(1,"div",14),d.qZA()),2&E){const a=d.oxw();d.xp6(1),d.Udp("width",a.width+"%")}}let No=(()=>{class E extends jn.FN{constructor(a,y){super(a,y),(0,C.Z)(this,"toastrService",void 0),(0,C.Z)(this,"toastPackage",void 0),this.toastrService=a,this.toastPackage=y}ngOnInit(){}action(a){return a.stopPropagation(),this.toastPackage.triggerAction(),!1}}return(0,C.Z)(E,"\u0275fac",function(a){return new(a||E)(d.Y36(jn._W),d.Y36(jn.PR))}),(0,C.Z)(E,"\u0275cmp",d.Xpm({type:E,selectors:[["","custom-toast-component",""]],features:[d.qOj],attrs:ii,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","px-0","text-start"],[1,"my-4"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"ngClass"],[1,"toast-progress"]],template:function(a,y){1&a&&(d.TgZ(0,"div",0),d.YNc(1,wi,7,7,"div",1),d.YNc(2,ar,1,6,"div",2),d.YNc(3,vo,2,7,"div",3),d.YNc(4,Ar,2,0,"a",4),d.YNc(5,ps,2,2,"div",5),d.qZA()),2&a&&(d.xp6(1),d.Q6J("ngIf",y.title),d.xp6(1),d.Q6J("ngIf",y.message&&y.options.enableHtml),d.xp6(1),d.Q6J("ngIf",y.message&&!y.options.enableHtml),d.xp6(1),d.Q6J("ngIf",y.options.closeButton&&null==y.title),d.xp6(1),d.Q6J("ngIf",y.options.progressBar))},dependencies:[Qt.mk,Qt.O5],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:1px solid gainsboro;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding:10px 15px 10px 0}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button[_ngcontent-%COMP%]{color:#dcdcdc!important}"],data:{animation:[(0,k.X$)("flyInOut",[(0,k.SB)("inactive",(0,k.oB)({opacity:0})),(0,k.eR)("inactive => active",(0,k.jt)("400ms ease-out",(0,k.F4)([(0,k.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,k.oB)({transform:"skewX(20deg)",opacity:1}),(0,k.oB)({transform:"skewX(-5deg)",opacity:1}),(0,k.oB)({transform:"none",opacity:1})]))),(0,k.eR)("active => removed",(0,k.jt)("400ms ease-out",(0,k.F4)([(0,k.oB)({opacity:1}),(0,k.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}})),E})();var Ss=g(85421),jr=g(10266),ta=g(65412);let gs=(()=>{class E{}return(0,C.Z)(E,"\u0275fac",function(a){return new(a||E)}),(0,C.Z)(E,"\u0275mod",d.oAB({type:E})),(0,C.Z)(E,"\u0275inj",d.cJS({imports:[ta.Is]})),E})();var br=g(907),Or=g(12011),As=g(75200),Do=g(24766);const Pi=new class Is{constructor(){(0,C.Z)(this,"name",void 0),(0,C.Z)(this,"version",void 0),(0,C.Z)(this,"objectStoresMeta",void 0),(0,C.Z)(this,"migrationFactory",void 0),this.name="pos-offline",this.version=1,this.objectStoresMeta=[{store:br.Z.OfflineConfig,storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"configUsingLocal",options:{unique:!1},keypath:"configUsingLocal"},{name:"orderUsingLocal",options:{unique:!1},keypath:"orderUsingLocal"},{name:"productUsingLocal",options:{unique:!1},keypath:"productUsingLocal"}]},{store:br.Z.Order,storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Action",options:{unique:!1},keypath:"Action"},{name:"Items",options:{unique:!1},keypath:"Items"},{name:"CartItems",options:{unique:!1},keypath:"CartItems"},{name:"Invoice",options:{unique:!1},keypath:"Invoice"},{name:"Order",options:{unique:!1},keypath:"Order"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"Shipping",options:{unique:!1},keypath:"Shipping"},{name:"ContactName",options:{unique:!1},keypath:"ContactName"}]},{store:br.Z.Outlet,storeConfig:{keyPath:"RegisterID",autoIncrement:!1},storeSchema:[{name:"DefaultCustomerPOType",options:{unique:!1},keypath:"DefaultCustomerPOType"},{name:"DefaultTaxType",options:{unique:!1},keypath:"DefaultTaxType"},{name:"DefaultWarehouse",options:{unique:!1},keypath:"DefaultWarehouse"},{name:"EntityID",options:{unique:!1},keypath:"EntityID"},{name:"EntityName",options:{unique:!1},keypath:"EntityName"},{name:"InvoiceNumberElement",options:{unique:!1},keypath:"InvoiceNumberElement"},{name:"ListSales",options:{unique:!1},keypath:"ListSales"},{name:"MemberPoint",options:{unique:!1},keypath:"MemberPoint"},{name:"NewOrderID",options:{unique:!1},keypath:"NewOrderID"},{name:"NumberElement",options:{unique:!1},keypath:"NumberElement"},{name:"ParkLayoutPack",options:{unique:!1},keypath:"ParkLayoutPack"},{name:"PrintTemplate",options:{unique:!1},keypath:"PrintTemplate"},{name:"QuickKeyPack",options:{unique:!1},keypath:"QuickKeyPack"},{name:"RegisterID",options:{unique:!1},keypath:"RegisterID"},{name:"ShippingDefault",options:{unique:!1},keypath:"ShippingDefault"}]},{store:br.Z.OutletPrice,storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"EntityID",options:{unique:!1},keypath:"EntityID"},{name:"ExtraCost",options:{unique:!1},keypath:"ExtraCost"},{name:"PriceDiscount",options:{unique:!1},keypath:"PriceDiscount"},{name:"UnitCost",options:{unique:!1},keypath:"UnitCost"},{name:"UnitPrice",options:{unique:!1},keypath:"UnitPrice"},{name:"VariantID",options:{unique:!1},keypath:"VariantID"}]},{store:br.Z.POSStorage,storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"AppConfigJSON",options:{unique:!1},keypath:"AppConfigJSON"},{name:"BINS",options:{unique:!1},keypath:"BINS"},{name:"Currencies",options:{unique:!1},keypath:"Currencies"},{name:"CustomerOptions",options:{unique:!1},keypath:"CustomerOptions"},{name:"Denomination",options:{unique:!1},keypath:"Denomination"},{name:"Entities",options:{unique:!1},keypath:"Entities"},{name:"PaymentTypes",options:{unique:!1},keypath:"PaymentTypes"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"PoTypes",options:{unique:!1},keypath:"PoTypes"},{name:"ProductCount",options:{unique:!1},keypath:"ProductCount"},{name:"Registers",options:{unique:!1},keypath:"Registers"},{name:"Restriction",options:{unique:!1},keypath:"Restriction"},{name:"Roles",options:{unique:!1},keypath:"Roles"},{name:"SalesID",options:{unique:!1},keypath:"SalesID"},{name:"ServerDateString",options:{unique:!1},keypath:"ServerDateString"},{name:"ServerTime",options:{unique:!1},keypath:"ServerTime"},{name:"Taxes",options:{unique:!1},keypath:"Taxes"},{name:"UserID",options:{unique:!1},keypath:"UserID"},{name:"UserName",options:{unique:!1},keypath:"UserName"},{name:"Version",options:{unique:!1},keypath:"Version"}]},{store:br.Z.Product,storeConfig:{keyPath:"ID",autoIncrement:!1},storeSchema:[{name:"BrandName",options:{unique:!1},keypath:"BrandName"},{name:"CategoryName",options:{unique:!1},keypath:"CategoryName"},{name:"CategoryTypeID",options:{unique:!1},keypath:"CategoryTypeID"},{name:"Code",options:{unique:!1},keypath:"Code"},{name:"Component",options:{unique:!1},keypath:"Component"},{name:"Created",options:{unique:!1},keypath:"Created"},{name:"Description",options:{unique:!1},keypath:"Description"},{name:"ExtraCost",options:{unique:!1},keypath:"ExtraCost"},{name:"ID",options:{unique:!1},keypath:"ID"},{name:"ImageUrl",options:{unique:!1},keypath:"ImageUrl"},{name:"LoyaltyPoint",options:{unique:!1},keypath:"LoyaltyPoint"},{name:"Name",options:{unique:!1},keypath:"Name"},{name:"OrderPrice",options:{unique:!1},keypath:"OrderPrice"},{name:"OrderPriceDiscount",options:{unique:!1},keypath:"OrderPriceDiscount"},{name:"Ordered",options:{unique:!1},keypath:"Ordered"},{name:"PaymentTypeID",options:{unique:!1},keypath:"PaymentTypeID"},{name:"PriceBook",options:{unique:!1},keypath:"PriceBook"},{name:"PriceDiscount",options:{unique:!1},keypath:"PriceDiscount"},{name:"PriceNote",options:{unique:!1},keypath:"PriceNote"},{name:"PriceTypeID",options:{unique:!1},keypath:"PriceTypeID"},{name:"ProductID",options:{unique:!1},keypath:"ProductID"},{name:"Taxable",options:{unique:!1},keypath:"Taxable"},{name:"ThumbnailUrl",options:{unique:!1},keypath:"ThumbnailUrl"},{name:"TypeID",options:{unique:!1},keypath:"TypeID"},{name:"UOM",options:{unique:!1},keypath:"UOM"},{name:"UnitCost",options:{unique:!1},keypath:"UnitCost"},{name:"UnitExpense",options:{unique:!1},keypath:"UnitExpense"},{name:"UnitPrice",options:{unique:!1},keypath:"UnitPrice"},{name:"UnitPriceOriginal",options:{unique:!1},keypath:"UnitPriceOriginal"},{name:"UnitQuantity",options:{unique:!1},keypath:"UnitQuantity"},{name:"UnitsInStock",options:{unique:!1},keypath:"UnitsInStock"}]},{store:br.Z.SyncTime,storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"time",keypath:"time",options:{unique:!0}}]},{store:br.Z.FailedOrder,storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Action",options:{unique:!1},keypath:"Action"},{name:"Items",options:{unique:!1},keypath:"Items"},{name:"CartItems",options:{unique:!1},keypath:"CartItems"},{name:"Invoice",options:{unique:!1},keypath:"Invoice"},{name:"Order",options:{unique:!1},keypath:"Order"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"Shipping",options:{unique:!1},keypath:"Shipping"},{name:"ContactName",options:{unique:!1},keypath:"ContactName"}]}]}};let Os=(()=>{class E{}return(0,C.Z)(E,"\u0275fac",function(a){return new(a||E)}),(0,C.Z)(E,"\u0275mod",d.oAB({type:E,bootstrap:[ni]})),(0,C.Z)(E,"\u0275inj",d.cJS({providers:[Qt.JJ,Qt.uU],imports:[s.b2,$.JF,qr,xo,jr.AV,gs,Ss.Cz.forRoot(Pi),Or.hO.initializeApp(Do.N.firebaseConfig),As.ww,Ln.forRoot(),jn.Rh.forRoot({toastComponent:No,positionClass:"toast-bottom-right",closeButton:!0})]})),E})();Do.N.production&&(0,d.G48)(),s.q6().bootstrapModule(Os)},75200:(yt,Ee,g)=>{g.d(Ee,{zQ:()=>Yr,ww:()=>mr});var s=g(94650),d=g(77579),C=g(39646),$=g(69751),k=g(88996),ee=g(56451),ce=g(85363),J=g(63900),ne=g(54004),R=g(34782),Z=g(50590),Y=g(30576);function Ae(Se,Pe){return(0,Y.m)(Pe)?(0,J.w)(()=>Se,Pe):(0,J.w)(()=>Se)}var be=g(49468),Be=g(39300),ke=g(62122),ye=g(12011),je=g(36895);g(70259);var ft=g(15861),ot=g(49681),fe=g(34859),G=g(42090),w=g(41877);const K=new Map,De={activated:!1,tokenObservers:[]},et={initialized:!1,enabled:!1};function Mt(Se){return K.get(Se)||Object.assign({},De)}function Lt(){return et}const Kt="https://content-firebaseappcheck.googleapis.com/v1",zt="exchangeDebugToken",bn={OFFSET_DURATION:3e5,RETRIAL_MIN_WAIT:3e4,RETRIAL_MAX_WAIT:96e4};class ln{constructor(Pe,We,ht,At,Vt){if(this.operation=Pe,this.retryPolicy=We,this.getWaitDuration=ht,this.lowerBound=At,this.upperBound=Vt,this.pending=null,this.nextErrorWaitInterval=At,At>Vt)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(Pe){var We=this;return(0,ft.Z)(function*(){We.stop();try{We.pending=new G.BH,yield function yn(Se){return new Promise(Pe=>{setTimeout(Pe,Se)})}(We.getNextRun(Pe)),We.pending.resolve(),yield We.pending.promise,We.pending=new G.BH,yield We.operation(),We.pending.resolve(),yield We.pending.promise,We.process(!0).catch(()=>{})}catch(ht){We.retryPolicy(ht)?We.process(!1).catch(()=>{}):We.stop()}})()}getNextRun(Pe){if(Pe)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const We=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),We}}}const V=new G.LL("appCheck","AppCheck",{"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.",throttled:"Requests throttled due to {$httpStatus} error. Attempts allowed again after {$time}"});function at(Se,Pe){return pt.apply(this,arguments)}function pt(){return(pt=(0,ft.Z)(function*({url:Se,body:Pe},We){const ht={"Content-Type":"application/json"},At=We.getImmediate({optional:!0});if(At){const fi=yield At.getHeartbeatsHeader();fi&&(ht["X-Firebase-Client"]=fi)}const Vt={method:"POST",body:JSON.stringify(Pe),headers:ht};let Zt,Bn;try{Zt=yield fetch(Se,Vt)}catch(fi){throw V.create("fetch-network-error",{originalErrorMessage:fi?.message})}if(200!==Zt.status)throw V.create("fetch-status-error",{httpStatus:Zt.status});try{Bn=yield Zt.json()}catch(fi){throw V.create("fetch-parse-error",{originalErrorMessage:fi?.message})}const pn=Bn.ttl.match(/^([\d.]+)(s)$/);if(!pn||!pn[2]||isNaN(Number(pn[1])))throw V.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${Bn.ttl}`});const _r=1e3*Number(pn[1]),kn=Date.now();return{token:Bn.token,expireTimeMillis:kn+_r,issuedAtTimeMillis:kn}})).apply(this,arguments)}const Le="firebase-app-check-database",mt=1,St="firebase-app-check-store";let Ot=null;function ut(Se,Pe){return z.apply(this,arguments)}function z(){return(z=(0,ft.Z)(function*(Se,Pe){const ht=(yield function nn(){return Ot||(Ot=new Promise((Se,Pe)=>{try{const We=indexedDB.open(Le,mt);We.onsuccess=ht=>{Se(ht.target.result)},We.onerror=ht=>{var At;Pe(V.create("storage-open",{originalErrorMessage:null===(At=ht.target.error)||void 0===At?void 0:At.message}))},We.onupgradeneeded=ht=>{0===ht.oldVersion&&ht.target.result.createObjectStore(St,{keyPath:"compositeKey"})}}catch(We){Pe(V.create("storage-open",{originalErrorMessage:We?.message}))}}),Ot)}()).transaction(St,"readwrite"),Vt=ht.objectStore(St).put({compositeKey:Se,value:Pe});return new Promise((Zt,Bn)=>{Vt.onsuccess=pn=>{Zt()},ht.onerror=pn=>{var _r;Bn(V.create("storage-set",{originalErrorMessage:null===(_r=pn.target.error)||void 0===_r?void 0:_r.message}))}})})).apply(this,arguments)}const Ie=new w.Yd("@firebase/app-check");function Ce(Se,Pe){return(0,G.hl)()?function xn(Se,Pe){return ut(function ie(Se){return`${Se.options.appId}-${Se.name}`}(Se),Pe)}(Se,Pe).catch(We=>{Ie.warn(`Failed to write token to IndexedDB. Error: ${We}`)}):Promise.resolve()}function he(){return L.apply(this,arguments)}function L(){return(L=(0,ft.Z)(function*(){const Se=Lt();if(Se.enabled&&Se.token)return Se.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const I={error:"UNKNOWN_ERROR"};function W(Se){return G.US.encodeString(JSON.stringify(Se),!1)}function ae(Se){return He.apply(this,arguments)}function He(){return(He=(0,ft.Z)(function*(Se,Pe=!1){const We=Se.app;!function Te(Se){if(!Mt(Se).activated)throw V.create("use-before-activation",{appName:Se.name})}(We);const ht=Mt(We);let Vt,At=ht.token;if(At&&!yi(At)&&(ht.token=void 0,At=void 0),!At){const pn=yield ht.cachedTokenPromise;pn&&(yi(pn)?At=pn:yield Ce(We,void 0))}if(!Pe&&At&&yi(At))return{token:At.token};let Bn,Zt=!1;if(function wt(){return Lt().enabled}()){ht.exchangeTokenPromise||(ht.exchangeTokenPromise=at(function ge(Se,Pe){const{projectId:We,appId:ht,apiKey:At}=Se.options;return{url:`${Kt}/projects/${We}/apps/${ht}:${zt}?key=${At}`,body:{debug_token:Pe}}}(We,yield he()),Se.heartbeatServiceProvider).finally(()=>{ht.exchangeTokenPromise=void 0}),Zt=!0);const pn=yield ht.exchangeTokenPromise;return yield Ce(We,pn),ht.token=pn,{token:pn.token}}try{ht.exchangeTokenPromise||(ht.exchangeTokenPromise=ht.provider.getToken().finally(()=>{ht.exchangeTokenPromise=void 0}),Zt=!0),At=yield Mt(We).exchangeTokenPromise}catch(pn){"appCheck/throttled"===pn.code?Ie.warn(pn.message):Ie.error(pn),Vt=pn}return At?Vt?Bn=yi(At)?{token:At.token,internalError:Vt}:gi(Vt):(Bn={token:At.token},ht.token=At,yield Ce(We,At)):Bn=gi(Vt),Zt&&function Ji(Se,Pe){const We=Mt(Se).tokenObservers;for(const ht of We)try{"EXTERNAL"===ht.type&&null!=Pe.error?ht.error(Pe.error):ht.next(Pe)}catch{}}(We,Bn),Bn})).apply(this,arguments)}function qt(Se,Pe){const We=Mt(Se),ht=We.tokenObservers.filter(At=>At.next!==Pe);0===ht.length&&We.tokenRefresher&&We.tokenRefresher.isRunning()&&We.tokenRefresher.stop(),We.tokenObservers=ht}function oi(Se){const{app:Pe}=Se,We=Mt(Pe);let ht=We.tokenRefresher;ht||(ht=function ri(Se){const{app:Pe}=Se;return new ln((0,ft.Z)(function*(){let ht;if(ht=Mt(Pe).token?yield ae(Se,!0):yield ae(Se),ht.error)throw ht.error;if(ht.internalError)throw ht.internalError}),()=>!0,()=>{const We=Mt(Pe);if(We.token){let ht=We.token.issuedAtTimeMillis+.5*(We.token.expireTimeMillis-We.token.issuedAtTimeMillis)+3e5;return ht=Math.min(ht,We.token.expireTimeMillis-3e5),Math.max(0,ht-Date.now())}return 0},bn.RETRIAL_MIN_WAIT,bn.RETRIAL_MAX_WAIT)}(Se),We.tokenRefresher=ht),!ht.isRunning()&&We.isTokenAutoRefreshEnabled&&ht.start()}function yi(Se){return Se.expireTimeMillis-Date.now()>0}function gi(Se){return{token:W(I),error:Se}}class hr{constructor(Pe,We){this.app=Pe,this.heartbeatServiceProvider=We}_delete(){const{tokenObservers:Pe}=Mt(this.app);for(const We of Pe)qt(this.app,We.next);return Promise.resolve()}}const Zi="app-check-internal";!function Mr(){(0,ot._registerComponent)(new fe.wA("app-check",Se=>function fr(Se,Pe){return new hr(Se,Pe)}(Se.getProvider("app").getImmediate(),Se.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((Se,Pe,We)=>{Se.getProvider(Zi).initialize()})),(0,ot._registerComponent)(new fe.wA(Zi,Se=>function ji(Se){return{getToken:Pe=>ae(Se,Pe),addTokenListener:Pe=>function Et(Se,Pe,We,ht){const{app:At}=Se,Vt=Mt(At);if(Vt.tokenObservers=[...Vt.tokenObservers,{next:We,error:ht,type:Pe}],Vt.token&&yi(Vt.token)){const Bn=Vt.token;Promise.resolve().then(()=>{We({token:Bn.token}),oi(Se)}).catch(()=>{})}Vt.cachedTokenPromise.then(()=>oi(Se))}(Se,"INTERNAL",Pe),removeTokenListener:Pe=>qt(Se.app,Pe)}}(Se.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,ot.registerVersion)("@firebase/app-check","0.6.4")}();class ao{constructor(){return(0,ke.vb)("app-check")}}typeof window<"u"&&window;var Fr=g(29260);const Io=new s.OlP("angularfire2.auth.use-emulator"),Gr=new s.OlP("angularfire2.auth.settings"),jo=new s.OlP("angularfire2.auth.tenant-id"),Kr=new s.OlP("angularfire2.auth.langugage-code"),co=new s.OlP("angularfire2.auth.use-device-language"),os=new s.OlP("angularfire.auth.persistence");let Yr=(()=>{class Se{constructor(We,ht,At,Vt,Zt,Bn,pn,_r,kn,fi,Qi,uo){const Zr=new d.x,Tr=(0,C.of)(void 0).pipe((0,ce.Q)(Zt.outsideAngular),(0,J.w)(()=>Vt.runOutsideAngular(()=>g.e(8971).then(g.bind(g,28971)))),(0,ne.U)(()=>(0,ye.on)(We,Vt,ht)),(0,ne.U)(or=>((Se,Pe,We,ht,At,Vt,Zt,Bn)=>(0,ye.cc)(`${Se.name}.auth`,"AngularFireAuth",Se.name,()=>{const pn=Pe.runOutsideAngular(()=>Se.auth());if(We&&pn.useEmulator(...We),ht&&(pn.tenantId=ht),pn.languageCode=At,Vt&&pn.useDeviceLanguage(),Zt)for(const[_r,kn]of Object.entries(Zt))pn.settings[_r]=kn;return Bn&&pn.setPersistence(Bn),pn},[We,ht,At,Vt,Zt,Bn]))(or,Vt,Bn,_r,kn,fi,pn,Qi)),(0,R.d)({bufferSize:1,refCount:!1}));if((0,je.PM)(At))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,C.of)(null);else{Tr.pipe((0,Z.P)()).subscribe();const yr=Tr.pipe((0,J.w)(pi=>pi.getRedirectResult().then(gn=>gn,()=>null)),ke.iC,(0,R.d)({bufferSize:1,refCount:!1})),Qr=Tr.pipe((0,J.w)(pi=>new $.y(gn=>({unsubscribe:Vt.runOutsideAngular(()=>pi.onAuthStateChanged(qn=>gn.next(qn),qn=>gn.error(qn),()=>gn.complete()))})))),Bi=Tr.pipe((0,J.w)(pi=>new $.y(gn=>({unsubscribe:Vt.runOutsideAngular(()=>pi.onIdTokenChanged(qn=>gn.next(qn),qn=>gn.error(qn),()=>gn.complete()))}))));this.authState=yr.pipe(Ae(Qr),(0,be.R)(Zt.outsideAngular),(0,ce.Q)(Zt.insideAngular)),this.user=yr.pipe(Ae(Bi),(0,be.R)(Zt.outsideAngular),(0,ce.Q)(Zt.insideAngular)),this.idToken=this.user.pipe((0,J.w)(pi=>pi?(0,k.D)(pi.getIdToken()):(0,C.of)(null))),this.idTokenResult=this.user.pipe((0,J.w)(pi=>pi?(0,k.D)(pi.getIdTokenResult()):(0,C.of)(null))),this.credential=(0,ee.T)(yr,Zr,this.authState.pipe((0,Be.h)(pi=>!pi))).pipe((0,ne.U)(pi=>pi?.user?pi:null),(0,be.R)(Zt.outsideAngular),(0,ce.Q)(Zt.insideAngular))}return(0,ye.pX)(this,Tr,Vt,{spy:{apply:(or,yr,Qr)=>{(or.startsWith("signIn")||or.startsWith("createUser"))&&Qr.then(Bi=>Zr.next(Bi))}}})}}return Se.\u0275fac=function(We){return new(We||Se)(s.LFG(ye.Dh),s.LFG(ye.xv,8),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(ke.HU),s.LFG(Io,8),s.LFG(Gr,8),s.LFG(jo,8),s.LFG(Kr,8),s.LFG(co,8),s.LFG(os,8),s.LFG(ao,8))},Se.\u0275prov=s.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"any"}),Se})(),mr=(()=>{class Se{constructor(){Fr.Z.registerVersion("angularfire",ke.q4.full,"auth-compat")}}return Se.\u0275fac=function(We){return new(We||Se)},Se.\u0275mod=s.oAB({type:Se}),Se.\u0275inj=s.cJS({providers:[Yr]}),Se})()},12011:(yt,Ee,g)=>{g.d(Ee,{Dh:()=>J,GT:()=>ee,cc:()=>be,hO:()=>Ae,on:()=>R,pX:()=>k,xv:()=>ne});var s=g(94650),d=g(29260),C=g(62122);yt=g.hmd(yt);const $=["ngOnDestroy"],k=(je,Ke,ze,xe={})=>new Proxy(je,{get:(U,se)=>ze.runOutsideAngular(()=>{var q;if(je[se])return!(null===(q=xe?.spy)||void 0===q)&&q.get&&xe.spy.get(se,je[se]),je[se];if($.indexOf(se)>-1)return()=>{};const oe=Ke.toPromise().then(le=>{const ve=le&&le[se];return"function"==typeof ve?ve.bind(le):ve&&ve.then?ve.then(Ze=>ze.run(()=>Ze)):ze.run(()=>ve)});return new Proxy(()=>{},{get:(le,ve)=>oe[ve],apply:(le,ve,Ze)=>oe.then(Ge=>{var bt;const st=Ge&&Ge(...Ze);return!(null===(bt=xe?.spy)||void 0===bt)&&bt.apply&&xe.spy.apply(se,Ze,st),st})})})}),ee=(je,Ke)=>{Ke.forEach(ze=>{Object.getOwnPropertyNames(ze.prototype||ze).forEach(xe=>{Object.defineProperty(je.prototype,xe,Object.getOwnPropertyDescriptor(ze.prototype||ze,xe))})})};class ce{constructor(Ke){return Ke}}const J=new s.OlP("angularfire2.app.options"),ne=new s.OlP("angularfire2.app.name");function R(je,Ke,ze){const U="object"==typeof ze&&ze||{};U.name=U.name||"string"==typeof ze&&ze||"[DEFAULT]";const q=d.Z.apps.filter(oe=>oe&&oe.name===U.name)[0]||Ke.runOutsideAngular(()=>d.Z.initializeApp(je,U));try{JSON.stringify(je)!==JSON.stringify(q.options)&&Z("error",`${q.name} Firebase App already initialized with different options${yt.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new ce(q)}const Z=(je,...Ke)=>{(0,s.X6Q)()&&typeof console<"u"&&console[je](...Ke)},Y={provide:ce,useFactory:R,deps:[J,s.R0b,[new s.FiY,ne]]};let Ae=(()=>{class je{constructor(ze){d.Z.registerVersion("angularfire",C.q4.full,"core"),d.Z.registerVersion("angularfire",C.q4.full,"app-compat"),d.Z.registerVersion("angular",s.q4F.full,ze.toString())}static initializeApp(ze,xe){return{ngModule:je,providers:[{provide:J,useValue:ze},{provide:ne,useValue:xe}]}}}return je.\u0275fac=function(ze){return new(ze||je)(s.LFG(s.Lbi))},je.\u0275mod=s.oAB({type:je}),je.\u0275inj=s.cJS({providers:[Y]}),je})();function be(je,Ke,ze,xe,U){const[,se,q]=globalThis.\u0275AngularfireInstanceCache.find(oe=>oe[0]===je)||[];if(se)return function Be(je,Ke){try{return je.toString()===Ke.toString()}catch{return je===Ke}}(U,q)||(ye("error",`${Ke} was already initialized on the ${ze} Firebase App with different settings.${ke?" You may need to reload as Firebase is not HMR aware.":""}`),ye("warn",{is:U,was:q})),se;{const oe=xe();return globalThis.\u0275AngularfireInstanceCache.push([je,oe,U]),oe}}const ke=!!yt.hot,ye=(je,...Ke)=>{(0,s.X6Q)()&&typeof console<"u"&&console[je](...Ke)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},62122:(yt,Ee,g)=>{g.d(Ee,{q4:()=>Qn,iC:()=>Hs,HU:()=>xi,vb:()=>dt,JM:()=>Ue});var s=g(94650),d=g(70259),C=g(15861),$=g(49681),k=g(42090),ee=g(34859),ce=g(41877),J=g(98766);const ne="@firebase/installations",R="0.6.4",Z=1e4,Y=`w:${R}`,Ae="FIS_v2",be="https://firebaseinstallations.googleapis.com/v1",Be=36e5,Ke=new k.LL("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function ze(b){return b instanceof k.ZR&&b.code.includes("request-failed")}function xe({projectId:b}){return`${be}/projects/${b}/installations`}function U(b){return{token:b.token,requestStatus:2,expiresIn:Ge(b.expiresIn),creationTime:Date.now()}}function se(b,M){return q.apply(this,arguments)}function q(){return(q=(0,C.Z)(function*(b,M){const me=(yield M.json()).error;return Ke.create("request-failed",{requestName:b,serverCode:me.code,serverMessage:me.message,serverStatus:me.status})})).apply(this,arguments)}function oe({apiKey:b}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":b})}function ve(b){return Ze.apply(this,arguments)}function Ze(){return(Ze=(0,C.Z)(function*(b){const M=yield b();return M.status>=500&&M.status<600?b():M})).apply(this,arguments)}function Ge(b){return Number(b.replace("s","000"))}function Oe(){return(Oe=(0,C.Z)(function*({appConfig:b,heartbeatServiceProvider:M},{fid:N}){const me=xe(b),Ve=oe(b),nt=M.getImmediate({optional:!0});if(nt){const sn=yield nt.getHeartbeatsHeader();sn&&Ve.append("x-firebase-client",sn)}const Gt={method:"POST",headers:Ve,body:JSON.stringify({fid:N,authVersion:Ae,appId:b.appId,sdkVersion:Y})},en=yield ve(()=>fetch(me,Gt));if(en.ok){const sn=yield en.json();return{fid:sn.fid||N,registrationStatus:2,refreshToken:sn.refreshToken,authToken:U(sn.authToken)}}throw yield se("Create Installation",en)})).apply(this,arguments)}function Ye(b){return new Promise(M=>{setTimeout(M,b)})}const lt=/^[cdef][\w-]{21}$/,vt="";function ft(){try{const b=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(b),b[0]=112+b[0]%16;const N=function ot(b){return function tt(b){return btoa(String.fromCharCode(...b)).replace(/\+/g,"-").replace(/\//g,"_")}(b).substr(0,22)}(b);return lt.test(N)?N:vt}catch{return vt}}function fe(b){return`${b.appName}!${b.appId}`}const G=new Map;function w(b,M){const N=fe(b);et(N,M),function Mt(b,M){const N=function Lt(){return!xt&&"BroadcastChannel"in self&&(xt=new BroadcastChannel("[Firebase] FID Change"),xt.onmessage=b=>{et(b.data.key,b.data.fid)}),xt}();N&&N.postMessage({key:b,fid:M}),function Kt(){0===G.size&&xt&&(xt.close(),xt=null)}()}(N,M)}function et(b,M){const N=G.get(b);if(N)for(const me of N)me(M)}let xt=null;const hn="firebase-installations-database",mn=1,zt="firebase-installations-store";let bn=null;function Pn(){return bn||(bn=(0,J.X3)(hn,mn,{upgrade:(b,M)=>{0===M&&b.createObjectStore(zt)}})),bn}function ln(b,M){return yn.apply(this,arguments)}function yn(){return(yn=(0,C.Z)(function*(b,M){const N=fe(b),Ve=(yield Pn()).transaction(zt,"readwrite"),nt=Ve.objectStore(zt),Ct=yield nt.get(N);return yield nt.put(M,N),yield Ve.done,(!Ct||Ct.fid!==M.fid)&&w(b,M.fid),M})).apply(this,arguments)}function Ne(b){return V.apply(this,arguments)}function V(){return(V=(0,C.Z)(function*(b){const M=fe(b),me=(yield Pn()).transaction(zt,"readwrite");yield me.objectStore(zt).delete(M),yield me.done})).apply(this,arguments)}function de(b,M){return Te.apply(this,arguments)}function Te(){return(Te=(0,C.Z)(function*(b,M){const N=fe(b),Ve=(yield Pn()).transaction(zt,"readwrite"),nt=Ve.objectStore(zt),Ct=yield nt.get(N),Gt=M(Ct);return void 0===Gt?yield nt.delete(N):yield nt.put(Gt,N),yield Ve.done,Gt&&(!Ct||Ct.fid!==Gt.fid)&&w(b,Gt.fid),Gt})).apply(this,arguments)}function Qe(b){return ct.apply(this,arguments)}function ct(){return ct=(0,C.Z)(function*(b){let M;const N=yield de(b.appConfig,me=>{const Ve=function at(b){return St(b||{fid:ft(),registrationStatus:0})}(me),nt=function pt(b,M){if(0===M.registrationStatus){if(!navigator.onLine)return{installationEntry:M,registrationPromise:Promise.reject(Ke.create("app-offline"))};const N={fid:M.fid,registrationStatus:1,registrationTime:Date.now()},me=function _e(b,M){return it.apply(this,arguments)}(b,N);return{installationEntry:N,registrationPromise:me}}return 1===M.registrationStatus?{installationEntry:M,registrationPromise:ge(b)}:{installationEntry:M}}(b,Ve);return M=nt.registrationPromise,nt.installationEntry});return N.fid===vt?{installationEntry:yield M}:{installationEntry:N,registrationPromise:M}}),ct.apply(this,arguments)}function it(){return it=(0,C.Z)(function*(b,M){try{const N=yield function st(b,M){return Oe.apply(this,arguments)}(b,M);return ln(b.appConfig,N)}catch(N){throw ze(N)&&409===N.customData.serverCode?yield Ne(b.appConfig):yield ln(b.appConfig,{fid:M.fid,registrationStatus:0}),N}}),it.apply(this,arguments)}function ge(b){return Le.apply(this,arguments)}function Le(){return(Le=(0,C.Z)(function*(b){let M=yield mt(b.appConfig);for(;1===M.registrationStatus;)yield Ye(100),M=yield mt(b.appConfig);if(0===M.registrationStatus){const{installationEntry:N,registrationPromise:me}=yield Qe(b);return me||N}return M})).apply(this,arguments)}function mt(b){return de(b,M=>{if(!M)throw Ke.create("installation-not-found");return St(M)})}function St(b){return function Ht(b){return 1===b.registrationStatus&&b.registrationTime+Z<Date.now()}(b)?{fid:b.fid,registrationStatus:0}:b}function nn(){return(nn=(0,C.Z)(function*({appConfig:b,heartbeatServiceProvider:M},N){const me=function jt(b,{fid:M}){return`${xe(b)}/${M}/authTokens:generate`}(b,N),Ve=function le(b,{refreshToken:M}){const N=oe(b);return N.append("Authorization",function bt(b){return`${Ae} ${b}`}(M)),N}(b,N),nt=M.getImmediate({optional:!0});if(nt){const sn=yield nt.getHeartbeatsHeader();sn&&Ve.append("x-firebase-client",sn)}const Gt={method:"POST",headers:Ve,body:JSON.stringify({installation:{sdkVersion:Y,appId:b.appId}})},en=yield ve(()=>fetch(me,Gt));if(en.ok)return U(yield en.json());throw yield se("Generate Auth Token",en)})).apply(this,arguments)}function xn(b){return Nn.apply(this,arguments)}function Nn(){return Nn=(0,C.Z)(function*(b,M=!1){let N;const me=yield de(b.appConfig,nt=>{if(!ie(nt))throw Ke.create("not-registered");const Ct=nt.authToken;if(!M&&function Ie(b){return 2===b.requestStatus&&!function te(b){const M=Date.now();return M<b.creationTime||b.creationTime+b.expiresIn<M+Be}(b)}(Ct))return nt;if(1===Ct.requestStatus)return N=function It(b,M){return ut.apply(this,arguments)}(b,M),nt;{if(!navigator.onLine)throw Ke.create("app-offline");const Gt=function re(b){const M={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},b),{authToken:M})}(nt);return N=function x(b,M){return A.apply(this,arguments)}(b,Gt),Gt}});return N?yield N:me.authToken}),Nn.apply(this,arguments)}function ut(){return(ut=(0,C.Z)(function*(b,M){let N=yield z(b.appConfig);for(;1===N.authToken.requestStatus;)yield Ye(100),N=yield z(b.appConfig);const me=N.authToken;return 0===me.requestStatus?xn(b,M):me})).apply(this,arguments)}function z(b){return de(b,M=>{if(!ie(M))throw Ke.create("not-registered");return function Ce(b){return 1===b.requestStatus&&b.requestTime+Z<Date.now()}(M.authToken)?Object.assign(Object.assign({},M),{authToken:{requestStatus:0}}):M})}function A(){return A=(0,C.Z)(function*(b,M){try{const N=yield function Ot(b,M){return nn.apply(this,arguments)}(b,M),me=Object.assign(Object.assign({},M),{authToken:N});return yield ln(b.appConfig,me),N}catch(N){if(!ze(N)||401!==N.customData.serverCode&&404!==N.customData.serverCode){const me=Object.assign(Object.assign({},M),{authToken:{requestStatus:0}});yield ln(b.appConfig,me)}else yield Ne(b.appConfig);throw N}}),A.apply(this,arguments)}function ie(b){return void 0!==b&&2===b.registrationStatus}function Fe(){return(Fe=(0,C.Z)(function*(b){const M=b,{installationEntry:N,registrationPromise:me}=yield Qe(M);return me?me.catch(console.error):xn(M).catch(console.error),N.fid})).apply(this,arguments)}function he(){return he=(0,C.Z)(function*(b,M=!1){const N=b;return yield function L(b){return T.apply(this,arguments)}(N),(yield xn(N,M)).token}),he.apply(this,arguments)}function T(){return(T=(0,C.Z)(function*(b){const{registrationPromise:M}=yield Qe(b);M&&(yield M)})).apply(this,arguments)}function Ji(b){return Ke.create("missing-app-config-values",{valueName:b})}const yi="installations",hr=b=>{const M=b.getProvider("app").getImmediate(),N=function ri(b){if(!b||!b.options)throw Ji("App Configuration");if(!b.name)throw Ji("App Name");const M=["projectId","apiKey","appId"];for(const N of M)if(!b.options[N])throw Ji(N);return{appName:b.name,projectId:b.options.projectId,apiKey:b.options.apiKey,appId:b.options.appId}}(M);return{app:M,appConfig:N,heartbeatServiceProvider:(0,$._getProvider)(M,"heartbeat"),_delete:()=>Promise.resolve()}},fr=b=>{const M=b.getProvider("app").getImmediate(),N=(0,$._getProvider)(M,yi).getImmediate();return{getId:()=>function $e(b){return Fe.apply(this,arguments)}(N),getToken:Ve=>function wt(b){return he.apply(this,arguments)}(N,Ve)}};(function ji(){(0,$._registerComponent)(new ee.wA(yi,hr,"PUBLIC")),(0,$._registerComponent)(new ee.wA("installations-internal",fr,"PRIVATE"))})(),(0,$.registerVersion)(ne,R),(0,$.registerVersion)(ne,R,"esm2017");const wn="@firebase/remote-config",Wn=new k.LL("remoteconfig","Remote Config",{"registration-window":"Undefined window object. This SDK only supports usage in a browser environment.","registration-project-id":"Undefined project identifier. Check Firebase app initialization.","registration-api-key":"Undefined API key. Check Firebase app initialization.","registration-app-id":"Undefined app identifier. Check Firebase app initialization.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","storage-delete":"Error thrown when deleting from storage. Original error: {$originalErrorMessage}.","fetch-client-network":"Fetch client failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-timeout":'The config fetch request timed out. Configure timeout using "fetchTimeoutMillis" SDK setting.',"fetch-throttle":'The config fetch request timed out while in an exponential backoff state. Configure timeout using "fetchTimeoutMillis" SDK setting. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.',"fetch-client-parse":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","indexed-db-unavailable":"Indexed DB is not supported by current browser"});class Zi{constructor(M,N,me,Ve){this.client=M,this.storage=N,this.storageCache=me,this.logger=Ve}isCachedDataFresh(M,N){if(!N)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const me=Date.now()-N,Ve=me<=M;return this.logger.debug(`Config fetch cache check. Cache age millis: ${me}. Cache max age millis (minimumFetchIntervalMillis setting): ${M}. Is cache hit: ${Ve}.`),Ve}fetch(M){var N=this;return(0,C.Z)(function*(){const[me,Ve]=yield Promise.all([N.storage.getLastSuccessfulFetchTimestampMillis(),N.storage.getLastSuccessfulFetchResponse()]);if(Ve&&N.isCachedDataFresh(M.cacheMaxAgeMillis,me))return Ve;M.eTag=Ve&&Ve.eTag;const nt=yield N.client.fetch(M),Ct=[N.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===nt.status&&Ct.push(N.storage.setLastSuccessfulFetchResponse(nt)),yield Promise.all(Ct),nt})()}}function Mr(b=navigator){return b.languages&&b.languages[0]||b.language}class Fi{constructor(M,N,me,Ve,nt,Ct){this.firebaseInstallations=M,this.sdkVersion=N,this.namespace=me,this.projectId=Ve,this.apiKey=nt,this.appId=Ct}fetch(M){var N=this;return(0,C.Z)(function*(){const[me,Ve]=yield Promise.all([N.firebaseInstallations.getId(),N.firebaseInstallations.getToken()]),Ct=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${N.projectId}/namespaces/${N.namespace}:fetch?key=${N.apiKey}`,Gt={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":M.eTag||"*"},en={sdk_version:N.sdkVersion,app_instance_id:me,app_instance_id_token:Ve,app_id:N.appId,language_code:Mr()},sn={method:"POST",headers:Gt,body:JSON.stringify(en)},Tn=fetch(Ct,sn),un=new Promise((Co,ms)=>{M.signal.addEventListener(()=>{const Ja=new Error("The operation was aborted.");Ja.name="AbortError",ms(Ja)})});let ro;try{yield Promise.race([Tn,un]),ro=yield Tn}catch(Co){let ms="fetch-client-network";throw"AbortError"===Co?.name&&(ms="fetch-timeout"),Wn.create(ms,{originalErrorMessage:Co?.message})}let dr=ro.status;const Ws=ro.headers.get("ETag")||void 0;let Oa,ra;if(200===ro.status){let Co;try{Co=yield ro.json()}catch(ms){throw Wn.create("fetch-client-parse",{originalErrorMessage:ms?.message})}Oa=Co.entries,ra=Co.state}if("INSTANCE_STATE_UNSPECIFIED"===ra?dr=500:"NO_CHANGE"===ra?dr=304:("NO_TEMPLATE"===ra||"EMPTY_CONFIG"===ra)&&(Oa={}),304!==dr&&200!==dr)throw Wn.create("fetch-status",{httpStatus:dr});return{status:dr,eTag:Ws,config:Oa}})()}}class En{constructor(M,N){this.client=M,this.storage=N}fetch(M){var N=this;return(0,C.Z)(function*(){const me=(yield N.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return N.attemptFetch(M,me)})()}attemptFetch(M,{throttleEndTimeMillis:N,backoffCount:me}){var Ve=this;return(0,C.Z)(function*(){yield function nr(b,M){return new Promise((N,me)=>{const Ve=Math.max(M-Date.now(),0),nt=setTimeout(N,Ve);b.addEventListener(()=>{clearTimeout(nt),me(Wn.create("fetch-throttle",{throttleEndTimeMillis:M}))})})}(M.signal,N);try{const nt=yield Ve.client.fetch(M);return yield Ve.storage.deleteThrottleMetadata(),nt}catch(nt){if(!function ao(b){if(!(b instanceof k.ZR&&b.customData))return!1;const M=Number(b.customData.httpStatus);return 429===M||500===M||503===M||504===M}(nt))throw nt;const Ct={throttleEndTimeMillis:Date.now()+(0,k.$s)(me),backoffCount:me+1};return yield Ve.storage.setThrottleMetadata(Ct),Ve.attemptFetch(M,Ct)}})()}}class kr{constructor(M,N,me,Ve,nt){this.app=M,this._client=N,this._storageCache=me,this._storage=Ve,this._logger=nt,this._isInitializationComplete=!1,this.settings={fetchTimeoutMillis:6e4,minimumFetchIntervalMillis:432e5},this.defaultConfig={}}get fetchTimeMillis(){return this._storageCache.getLastSuccessfulFetchTimestampMillis()||-1}get lastFetchStatus(){return this._storageCache.getLastFetchStatus()||"no-fetch-yet"}}function ir(b,M){const N=b.target.error||void 0;return Wn.create(M,{originalErrorMessage:N&&N?.message})}const Di="app_namespace_store";class li{constructor(M,N,me,Ve=function gr(){return new Promise((b,M)=>{try{const N=indexedDB.open("firebase_remote_config",1);N.onerror=me=>{M(ir(me,"storage-open"))},N.onsuccess=me=>{b(me.target.result)},N.onupgradeneeded=me=>{0===me.oldVersion&&me.target.result.createObjectStore(Di,{keyPath:"compositeKey"})}}catch(N){M(Wn.create("storage-open",{originalErrorMessage:N?.message}))}})}()){this.appId=M,this.appName=N,this.namespace=me,this.openDbPromise=Ve}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(M){return this.set("last_fetch_status",M)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(M){return this.set("last_successful_fetch_timestamp_millis",M)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(M){return this.set("last_successful_fetch_response",M)}getActiveConfig(){return this.get("active_config")}setActiveConfig(M){return this.set("active_config",M)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(M){return this.set("active_config_etag",M)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(M){return this.set("throttle_metadata",M)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(M){var N=this;return(0,C.Z)(function*(){const me=yield N.openDbPromise;return new Promise((Ve,nt)=>{const Gt=me.transaction([Di],"readonly").objectStore(Di),en=N.createCompositeKey(M);try{const sn=Gt.get(en);sn.onerror=Tn=>{nt(ir(Tn,"storage-get"))},sn.onsuccess=Tn=>{const un=Tn.target.result;Ve(un?un.value:void 0)}}catch(sn){nt(Wn.create("storage-get",{originalErrorMessage:sn?.message}))}})})()}set(M,N){var me=this;return(0,C.Z)(function*(){const Ve=yield me.openDbPromise;return new Promise((nt,Ct)=>{const en=Ve.transaction([Di],"readwrite").objectStore(Di),sn=me.createCompositeKey(M);try{const Tn=en.put({compositeKey:sn,value:N});Tn.onerror=un=>{Ct(ir(un,"storage-set"))},Tn.onsuccess=()=>{nt()}}catch(Tn){Ct(Wn.create("storage-set",{originalErrorMessage:Tn?.message}))}})})()}delete(M){var N=this;return(0,C.Z)(function*(){const me=yield N.openDbPromise;return new Promise((Ve,nt)=>{const Gt=me.transaction([Di],"readwrite").objectStore(Di),en=N.createCompositeKey(M);try{const sn=Gt.delete(en);sn.onerror=Tn=>{nt(ir(Tn,"storage-delete"))},sn.onsuccess=()=>{Ve()}}catch(sn){nt(Wn.create("storage-delete",{originalErrorMessage:sn?.message}))}})})()}createCompositeKey(M){return[this.appId,this.appName,this.namespace,M].join()}}class Ii{constructor(M){this.storage=M}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var M=this;return(0,C.Z)(function*(){const N=M.storage.getLastFetchStatus(),me=M.storage.getLastSuccessfulFetchTimestampMillis(),Ve=M.storage.getActiveConfig(),nt=yield N;nt&&(M.lastFetchStatus=nt);const Ct=yield me;Ct&&(M.lastSuccessfulFetchTimestampMillis=Ct);const Gt=yield Ve;Gt&&(M.activeConfig=Gt)})()}setLastFetchStatus(M){return this.lastFetchStatus=M,this.storage.setLastFetchStatus(M)}setLastSuccessfulFetchTimestampMillis(M){return this.lastSuccessfulFetchTimestampMillis=M,this.storage.setLastSuccessfulFetchTimestampMillis(M)}setActiveConfig(M){return this.activeConfig=M,this.storage.setActiveConfig(M)}}function Ni(){return Fr.apply(this,arguments)}function Fr(){return(Fr=(0,C.Z)(function*(){if(!(0,k.hl)())return!1;try{return yield(0,k.eu)()}catch{return!1}})).apply(this,arguments)}!function So(){(0,$._registerComponent)(new ee.wA("remote-config",function b(M,{instanceIdentifier:N}){const me=M.getProvider("app").getImmediate(),Ve=M.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw Wn.create("registration-window");if(!(0,k.hl)())throw Wn.create("indexed-db-unavailable");const{projectId:nt,apiKey:Ct,appId:Gt}=me.options;if(!nt)throw Wn.create("registration-project-id");if(!Ct)throw Wn.create("registration-api-key");if(!Gt)throw Wn.create("registration-app-id");const en=new li(Gt,me.name,N=N||"firebase"),sn=new Ii(en),Tn=new ce.Yd(wn);Tn.logLevel=ce.in.ERROR;const un=new Fi(Ve,$.SDK_VERSION,N,nt,Ct,Gt),ro=new En(un,en),dr=new Zi(ro,en,sn,Tn),Ws=new kr(me,dr,sn,en,Tn);return function ai(b){const M=(0,k.m9)(b);M._initializePromise||(M._initializePromise=M._storageCache.loadFromStorage().then(()=>{M._isInitializationComplete=!0}))}(Ws),Ws},"PUBLIC").setMultipleInstances(!0)),(0,$.registerVersion)(wn,"0.4.4"),(0,$.registerVersion)(wn,"0.4.4","esm2017")}();const Wr="/firebase-messaging-sw.js",Io="/firebase-cloud-messaging-push-scope",Gr="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",jo="https://fcmregistrations.googleapis.com/v1",Kr="google.c.a.c_id",co="google.c.a.c_l",os="google.c.a.ts",Lr="google.c.a.e";var mr=(()=>{return(b=mr||(mr={})).PUSH_RECEIVED="push-received",b.NOTIFICATION_CLICKED="notification-clicked",mr;var b})();function Se(b){const M=new Uint8Array(b);return btoa(String.fromCharCode(...M)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Pe(b){const N=(b+"=".repeat((4-b.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),me=atob(N),Ve=new Uint8Array(me.length);for(let nt=0;nt<me.length;++nt)Ve[nt]=me.charCodeAt(nt);return Ve}const We="fcm_token_details_db",ht=5,At="fcm_token_object_Store";function Zt(){return Zt=(0,C.Z)(function*(b){if("databases"in indexedDB&&!(yield indexedDB.databases()).map(nt=>nt.name).includes(We))return null;let M=null;return(yield(0,J.X3)(We,ht,{upgrade:(me=(0,C.Z)(function*(Ve,nt,Ct,Gt){var en;if(nt<2||!Ve.objectStoreNames.contains(At))return;const sn=Gt.objectStore(At),Tn=yield sn.index("fcmSenderId").get(b);if(yield sn.clear(),Tn)if(2===nt){const un=Tn;if(!un.auth||!un.p256dh||!un.endpoint)return;M={token:un.fcmToken,createTime:null!==(en=un.createTime)&&void 0!==en?en:Date.now(),subscriptionOptions:{auth:un.auth,p256dh:un.p256dh,endpoint:un.endpoint,swScope:un.swScope,vapidKey:"string"==typeof un.vapidKey?un.vapidKey:Se(un.vapidKey)}}}else if(3===nt){const un=Tn;M={token:un.fcmToken,createTime:un.createTime,subscriptionOptions:{auth:Se(un.auth),p256dh:Se(un.p256dh),endpoint:un.endpoint,swScope:un.swScope,vapidKey:Se(un.vapidKey)}}}else if(4===nt){const un=Tn;M={token:un.fcmToken,createTime:un.createTime,subscriptionOptions:{auth:Se(un.auth),p256dh:Se(un.p256dh),endpoint:un.endpoint,swScope:un.swScope,vapidKey:Se(un.vapidKey)}}}}),function(nt,Ct,Gt,en){return me.apply(this,arguments)})})).close(),yield(0,J.Lj)(We),yield(0,J.Lj)("fcm_vapid_details_db"),yield(0,J.Lj)("undefined"),function Bn(b){if(!b||!b.subscriptionOptions)return!1;const{subscriptionOptions:M}=b;return"number"==typeof b.createTime&&b.createTime>0&&"string"==typeof b.token&&b.token.length>0&&"string"==typeof M.auth&&M.auth.length>0&&"string"==typeof M.p256dh&&M.p256dh.length>0&&"string"==typeof M.endpoint&&M.endpoint.length>0&&"string"==typeof M.swScope&&M.swScope.length>0&&"string"==typeof M.vapidKey&&M.vapidKey.length>0}(M)?M:null;var me}),Zt.apply(this,arguments)}const pn="firebase-messaging-database",_r=1,kn="firebase-messaging-store";let fi=null;function Qi(){return fi||(fi=(0,J.X3)(pn,_r,{upgrade:(b,M)=>{0===M&&b.createObjectStore(kn)}})),fi}function uo(b){return Zr.apply(this,arguments)}function Zr(){return Zr=(0,C.Z)(function*(b){const M=Bi(b),me=yield(yield Qi()).transaction(kn).objectStore(kn).get(M);if(me)return me;{const Ve=yield function Vt(b){return Zt.apply(this,arguments)}(b.appConfig.senderId);if(Ve)return yield Tr(b,Ve),Ve}}),Zr.apply(this,arguments)}function Tr(b,M){return or.apply(this,arguments)}function or(){return(or=(0,C.Z)(function*(b,M){const N=Bi(b),Ve=(yield Qi()).transaction(kn,"readwrite");return yield Ve.objectStore(kn).put(M,N),yield Ve.done,M})).apply(this,arguments)}function Qr(){return(Qr=(0,C.Z)(function*(b){const M=Bi(b),me=(yield Qi()).transaction(kn,"readwrite");yield me.objectStore(kn).delete(M),yield me.done})).apply(this,arguments)}function Bi({appConfig:b}){return b.appId}const gn=new k.LL("messaging","Messaging",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."});function qn(b,M){return Xr.apply(this,arguments)}function Xr(){return(Xr=(0,C.Z)(function*(b,M){const N=yield Ho(b),me=Jn(M),Ve={method:"POST",headers:N,body:JSON.stringify(me)};let nt;try{nt=yield(yield fetch(Nr(b.appConfig),Ve)).json()}catch(Ct){throw gn.create("token-subscribe-failed",{errorInfo:Ct?.toString()})}if(nt.error)throw gn.create("token-subscribe-failed",{errorInfo:nt.error.message});if(!nt.token)throw gn.create("token-subscribe-no-token");return nt.token})).apply(this,arguments)}function Sr(){return(Sr=(0,C.Z)(function*(b,M){const N=yield Ho(b),me=Jn(M.subscriptionOptions),Ve={method:"PATCH",headers:N,body:JSON.stringify(me)};let nt;try{nt=yield(yield fetch(`${Nr(b.appConfig)}/${M.token}`,Ve)).json()}catch(Ct){throw gn.create("token-update-failed",{errorInfo:Ct?.toString()})}if(nt.error)throw gn.create("token-update-failed",{errorInfo:nt.error.message});if(!nt.token)throw gn.create("token-update-no-token");return nt.token})).apply(this,arguments)}function Ir(b,M){return Ei.apply(this,arguments)}function Ei(){return(Ei=(0,C.Z)(function*(b,M){const me={method:"DELETE",headers:yield Ho(b)};try{const nt=yield(yield fetch(`${Nr(b.appConfig)}/${M}`,me)).json();if(nt.error)throw gn.create("token-unsubscribe-failed",{errorInfo:nt.error.message})}catch(Ve){throw gn.create("token-unsubscribe-failed",{errorInfo:Ve?.toString()})}})).apply(this,arguments)}function Nr({projectId:b}){return`${jo}/projects/${b}/registrations`}function Ho(b){return vr.apply(this,arguments)}function vr(){return(vr=(0,C.Z)(function*({appConfig:b,installations:M}){const N=yield M.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":b.apiKey,"x-goog-firebase-installations-auth":`FIS ${N}`})})).apply(this,arguments)}function Jn({p256dh:b,auth:M,endpoint:N,vapidKey:me}){const Ve={web:{endpoint:N,auth:M,p256dh:b}};return me!==Gr&&(Ve.web.applicationPubKey=me),Ve}const ho=6048e5;function Oo(){return Oo=(0,C.Z)(function*(b){const M=yield function Es(b,M){return Po.apply(this,arguments)}(b.swRegistration,b.vapidKey),N={vapidKey:b.vapidKey,swScope:b.swRegistration.scope,endpoint:M.endpoint,auth:Se(M.getKey("auth")),p256dh:Se(M.getKey("p256dh"))},me=yield uo(b.firebaseDependencies);if(me){if(function $o(b,M){return M.vapidKey===b.vapidKey&&M.endpoint===b.endpoint&&M.auth===b.auth&&M.p256dh===b.p256dh}(me.subscriptionOptions,N))return Date.now()>=me.createTime+ho?function Vo(b,M){return Qt.apply(this,arguments)}(b,{token:me.token,createTime:Date.now(),subscriptionOptions:N}):me.token;try{yield Ir(b.firebaseDependencies,me.token)}catch(Ve){console.warn(Ve)}return ss(b.firebaseDependencies,N)}return ss(b.firebaseDependencies,N)}),Oo.apply(this,arguments)}function Dr(){return Dr=(0,C.Z)(function*(b){const M=yield uo(b.firebaseDependencies);M&&(yield Ir(b.firebaseDependencies,M.token),yield function yr(b){return Qr.apply(this,arguments)}(b.firebaseDependencies));const N=yield b.swRegistration.pushManager.getSubscription();return!N||N.unsubscribe()}),Dr.apply(this,arguments)}function Qt(){return Qt=(0,C.Z)(function*(b,M){try{const N=yield function Mn(b,M){return Sr.apply(this,arguments)}(b.firebaseDependencies,M),me=Object.assign(Object.assign({},M),{token:N,createTime:Date.now()});return yield Tr(b.firebaseDependencies,me),N}catch(N){throw yield function Hi(b){return Dr.apply(this,arguments)}(b),N}}),Qt.apply(this,arguments)}function ss(b,M){return as.apply(this,arguments)}function as(){return(as=(0,C.Z)(function*(b,M){const me={token:yield qn(b,M),createTime:Date.now(),subscriptionOptions:M};return yield Tr(b,me),me.token})).apply(this,arguments)}function Po(){return(Po=(0,C.Z)(function*(b,M){return(yield b.pushManager.getSubscription())||b.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:Pe(M)})})).apply(this,arguments)}function zo(b){const M={from:b.from,collapseKey:b.collapse_key,messageId:b.fcmMessageId};return function Wo(b,M){if(!M.notification)return;b.notification={};const N=M.notification.title;N&&(b.notification.title=N);const me=M.notification.body;me&&(b.notification.body=me);const Ve=M.notification.image;Ve&&(b.notification.image=Ve);const nt=M.notification.icon;nt&&(b.notification.icon=nt)}(M,b),function Gn(b,M){M.data&&(b.data=M.data)}(M,b),function Dt(b,M){var N,me,Ve,nt,Ct;if(!(M.fcmOptions||null!==(N=M.notification)&&void 0!==N&&N.click_action))return;b.fcmOptions={};const Gt=null!==(Ve=null===(me=M.fcmOptions)||void 0===me?void 0:me.link)&&void 0!==Ve?Ve:null===(nt=M.notification)||void 0===nt?void 0:nt.click_action;Gt&&(b.fcmOptions.link=Gt);const en=null===(Ct=M.fcmOptions)||void 0===Ct?void 0:Ct.analytics_label;en&&(b.fcmOptions.analyticsLabel=en)}(M,b),M}function ls(b,M){const N=[];for(let me=0;me<b.length;me++)N.push(b.charAt(me)),me<M.length&&N.push(M.charAt(me));return N.join("")}function mi(b){return gn.create("missing-app-config-values",{valueName:b})}ls("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),ls("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class ws{constructor(M,N,me){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const Ve=function Cs(b){if(!b||!b.options)throw mi("App Configuration Object");if(!b.name)throw mi("App Name");const M=["projectId","apiKey","appId","messagingSenderId"],{options:N}=b;for(const me of M)if(!N[me])throw mi(me);return{appName:b.name,projectId:N.projectId,apiKey:N.apiKey,appId:N.appId,senderId:N.messagingSenderId}}(M);this.firebaseDependencies={app:M,appConfig:Ve,installations:N,analyticsProvider:me}}_delete(){return Promise.resolve()}}function Br(b){return Vi.apply(this,arguments)}function Vi(){return(Vi=(0,C.Z)(function*(b){try{b.swRegistration=yield navigator.serviceWorker.register(Wr,{scope:Io}),b.swRegistration.update().catch(()=>{})}catch(M){throw gn.create("failed-service-worker-registration",{browserErrorMessage:M?.message})}})).apply(this,arguments)}function xo(){return(xo=(0,C.Z)(function*(b,M){if(!M&&!b.swRegistration&&(yield Br(b)),M||!b.swRegistration){if(!(M instanceof ServiceWorkerRegistration))throw gn.create("invalid-sw-registration");b.swRegistration=M}})).apply(this,arguments)}function Ms(){return(Ms=(0,C.Z)(function*(b,M){M?b.vapidKey=M:b.vapidKey||(b.vapidKey=Gr)})).apply(this,arguments)}function ei(){return ei=(0,C.Z)(function*(b,M){if(!navigator)throw gn.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw gn.create("permission-blocked");return yield function cs(b,M){return Ms.apply(this,arguments)}(b,M?.vapidKey),yield function Go(b,M){return xo.apply(this,arguments)}(b,M?.serviceWorkerRegistration),function Ao(b){return Oo.apply(this,arguments)}(b)}),ei.apply(this,arguments)}function qr(){return(qr=(0,C.Z)(function*(b,M,N){const me=function Jr(b){switch(b){case mr.NOTIFICATION_CLICKED:return"notification_open";case mr.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}(M);(yield b.firebaseDependencies.analyticsProvider.get()).logEvent(me,{message_id:N[Kr],message_name:N[co],message_time:N[os],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}function fo(){return fo=(0,C.Z)(function*(b,M){const N=M.data;if(!N.isFirebaseMessaging)return;b.onMessageHandler&&N.messageType===mr.PUSH_RECEIVED&&("function"==typeof b.onMessageHandler?b.onMessageHandler(zo(N)):b.onMessageHandler.next(zo(N)));const me=N.data;(function On(b){return"object"==typeof b&&!!b&&Kr in b})(me)&&"1"===me[Lr]&&(yield function Ai(b,M,N){return qr.apply(this,arguments)}(b,N.messageType,me))}),fo.apply(this,arguments)}const ko="@firebase/messaging",us=b=>{const M=new ws(b.getProvider("app").getImmediate(),b.getProvider("installations-internal").getImmediate(),b.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",N=>function sr(b,M){return fo.apply(this,arguments)}(M,N)),M},eo=b=>{const M=b.getProvider("messaging").getImmediate();return{getToken:me=>function Ro(b,M){return ei.apply(this,arguments)}(M,me)}};function to(){return go.apply(this,arguments)}function go(){return(go=(0,C.Z)(function*(){try{yield(0,k.eu)()}catch{return!1}return typeof window<"u"&&(0,k.hl)()&&(0,k.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}!function po(){(0,$._registerComponent)(new ee.wA("messaging",us,"PUBLIC")),(0,$._registerComponent)(new ee.wA("messaging-internal",eo,"PRIVATE")),(0,$.registerVersion)(ko,"0.12.4"),(0,$.registerVersion)(ko,"0.12.4","esm2017")}();const Qo="analytics",Ts="firebase_id",Oi="origin",no=6e4,ti="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",ds="https://www.googletagmanager.com/gtag/js",Ci=new ce.Yd("@firebase/analytics");function Xo(b){return Promise.all(b.map(M=>M.catch(N=>N)))}function _o(){return(_o=(0,C.Z)(function*(b,M,N,me,Ve,nt){const Ct=me[Ve];try{if(Ct)yield M[Ct];else{const en=(yield Xo(N)).find(sn=>sn.measurementId===Ve);en&&(yield M[en.appId])}}catch(Gt){Ci.error(Gt)}b("config",Ve,nt)})).apply(this,arguments)}function m(){return(m=(0,C.Z)(function*(b,M,N,me,Ve){try{let nt=[];if(Ve&&Ve.send_to){let Ct=Ve.send_to;Array.isArray(Ct)||(Ct=[Ct]);const Gt=yield Xo(N);for(const en of Ct){const sn=Gt.find(un=>un.measurementId===en),Tn=sn&&M[sn.appId];if(!Tn){nt=[];break}nt.push(Tn)}}0===nt.length&&(nt=Object.values(M)),yield Promise.all(nt),b("event",me,Ve||{})}catch(nt){Ci.error(nt)}})).apply(this,arguments)}const Je=new k.LL("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id} already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-intialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.'}),gt=30,Fn=new class Sn{constructor(M={},N=1e3){this.throttleMetadata=M,this.intervalMillis=N}getThrottleMetadata(M){return this.throttleMetadata[M]}setThrottleMetadata(M,N){this.throttleMetadata[M]=N}deleteThrottleMetadata(M){delete this.throttleMetadata[M]}};function Ln(b){return new Headers({Accept:"application/json","x-goog-api-key":b})}function ni(){return(ni=(0,C.Z)(function*(b){var M;const{appId:N,apiKey:me}=b,Ve={method:"GET",headers:Ln(me)},nt=ti.replace("{app-id}",N),Ct=yield fetch(nt,Ve);if(200!==Ct.status&&304!==Ct.status){let Gt="";try{const en=yield Ct.json();null!==(M=en.error)&&void 0!==M&&M.message&&(Gt=en.error.message)}catch{}throw Je.create("config-fetch-failed",{httpStatus:Ct.status,responseMessage:Gt})}return Ct.json()})).apply(this,arguments)}function ii(){return(ii=(0,C.Z)(function*(b,M=Fn,N){const{appId:me,apiKey:Ve,measurementId:nt}=b.options;if(!me)throw Je.create("no-app-id");if(!Ve){if(nt)return{measurementId:nt,appId:me};throw Je.create("no-api-key")}const Ct=M.getThrottleMetadata(me)||{backoffCount:0,throttleEndTimeMillis:Date.now()},Gt=new vo;return setTimeout((0,C.Z)(function*(){Gt.abort()}),void 0!==N?N:no),Xi({appId:me,apiKey:Ve,measurementId:nt},Ct,Gt,M)})).apply(this,arguments)}function Xi(b,M,N){return wi.apply(this,arguments)}function wi(){return wi=(0,C.Z)(function*(b,{throttleEndTimeMillis:M,backoffCount:N},me,Ve=Fn){var nt;const{appId:Ct,measurementId:Gt}=b;try{yield function $i(b,M){return new Promise((N,me)=>{const Ve=Math.max(M-Date.now(),0),nt=setTimeout(N,Ve);b.addEventListener(()=>{clearTimeout(nt),me(Je.create("fetch-throttle",{throttleEndTimeMillis:M}))})})}(me,M)}catch(en){if(Gt)return Ci.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Gt} provided in the "measurementId" field in the local Firebase config. [${en?.message}]`),{appId:Ct,measurementId:Gt};throw en}try{const en=yield function _n(b){return ni.apply(this,arguments)}(b);return Ve.deleteThrottleMetadata(Ct),en}catch(en){const sn=en;if(!function ar(b){if(!(b instanceof k.ZR&&b.customData))return!1;const M=Number(b.customData.httpStatus);return 429===M||500===M||503===M||504===M}(sn)){if(Ve.deleteThrottleMetadata(Ct),Gt)return Ci.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Gt} provided in the "measurementId" field in the local Firebase config. [${sn?.message}]`),{appId:Ct,measurementId:Gt};throw en}const Tn=503===Number(null===(nt=sn?.customData)||void 0===nt?void 0:nt.httpStatus)?(0,k.$s)(N,Ve.intervalMillis,gt):(0,k.$s)(N,Ve.intervalMillis),un={throttleEndTimeMillis:Date.now()+Tn,backoffCount:N+1};return Ve.setThrottleMetadata(Ct,un),Ci.debug(`Calling attemptFetch again in ${Tn} millis`),Xi(b,un,me,Ve)}}),wi.apply(this,arguments)}class vo{constructor(){this.listeners=[]}addEventListener(M){this.listeners.push(M)}abort(){this.listeners.forEach(M=>M())}}let Ar,Do;function No(){return(No=(0,C.Z)(function*(b,M,N,me,Ve){if(Ve&&Ve.global)b("event",N,me);else{const nt=yield M;b("event",N,Object.assign(Object.assign({},me),{send_to:nt}))}})).apply(this,arguments)}function l(){return(l=(0,C.Z)(function*(){if(!(0,k.hl)())return Ci.warn(Je.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,k.eu)()}catch(b){return Ci.warn(Je.create("indexeddb-unavailable",{errorInfo:b?.toString()}).message),!1}return!0})).apply(this,arguments)}function y(){return y=(0,C.Z)(function*(b,M,N,me,Ve,nt,Ct){var Gt;const en=function jn(b){return ii.apply(this,arguments)}(b);en.then(dr=>{N[dr.measurementId]=dr.appId,b.options.measurementId&&dr.measurementId!==b.options.measurementId&&Ci.warn(`The measurement ID in the local Firebase config (${b.options.measurementId}) does not match the measurement ID fetched from the server (${dr.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(dr=>Ci.error(dr)),M.push(en);const sn=function E(){return l.apply(this,arguments)}().then(dr=>{if(dr)return me.getId()}),[Tn,un]=yield Promise.all([en,sn]);(function j(b){const M=window.document.getElementsByTagName("script");for(const N of Object.values(M))if(N.src&&N.src.includes(ds)&&N.src.includes(b))return N;return null})(nt)||function Ur(b,M){const N=document.createElement("script");N.src=`${ds}?l=${b}&id=${M}`,N.async=!0,document.head.appendChild(N)}(nt,Tn.measurementId),Do&&(Ve("consent","default",Do),function Pi(b){Do=b}(void 0)),Ve("js",new Date);const ro=null!==(Gt=Ct?.config)&&void 0!==Gt?Gt:{};return ro[Oi]="firebase",ro.update=!0,null!=un&&(ro[Ts]=un),Ve("config",Tn.measurementId,ro),Ar&&(Ve("set",Ar),function Os(b){Ar=b}(void 0)),Tn.measurementId}),y.apply(this,arguments)}class F{constructor(M){this.app=M}_delete(){return delete Q[this.app.options.appId],Promise.resolve()}}let Q={},we=[];const Me={};let Nt,Rt,Xe="dataLayer",rt="gtag",vn=!1;function rn(b,M,N){!function Xt(){const b=[];if((0,k.ru)()&&b.push("This is a browser extension environment."),(0,k.zI)()||b.push("Cookies are not available."),b.length>0){const M=b.map((me,Ve)=>`(${Ve+1}) ${me}`).join(" "),N=Je.create("invalid-analytics-context",{errorInfo:M});Ci.warn(N.message)}}();const me=b.options.appId;if(!me)throw Je.create("no-app-id");if(!b.options.apiKey){if(!b.options.measurementId)throw Je.create("no-api-key");Ci.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${b.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=Q[me])throw Je.create("already-exists",{id:me});if(!vn){!function hs(b){let M=[];Array.isArray(window[b])?M=window[b]:window[b]=M}(Xe);const{wrappedGtag:nt,gtagCore:Ct}=function D(b,M,N,me,Ve){let nt=function(...Ct){window[me].push(arguments)};return window[Ve]&&"function"==typeof window[Ve]&&(nt=window[Ve]),window[Ve]=function P(b,M,N,me){function nt(){return nt=(0,C.Z)(function*(Ct,Gt,en){try{"event"===Ct?yield function yo(b,M,N,me,Ve){return m.apply(this,arguments)}(b,M,N,Gt,en):"config"===Ct?yield function fs(b,M,N,me,Ve,nt){return _o.apply(this,arguments)}(b,M,N,me,Gt,en):"consent"===Ct?b("consent","update",en):b("set",Gt)}catch(sn){Ci.error(sn)}}),nt.apply(this,arguments)}return function Ve(Ct,Gt,en){return nt.apply(this,arguments)}}(nt,b,M,N),{gtagCore:nt,wrappedGtag:window[Ve]}}(Q,we,Me,Xe,rt);Rt=nt,Nt=Ct,vn=!0}return Q[me]=function a(b,M,N,me,Ve,nt,Ct){return y.apply(this,arguments)}(b,we,Me,M,Nt,Xe,N),new F(b)}function Mi(){return _i.apply(this,arguments)}function _i(){return(_i=(0,C.Z)(function*(){if((0,k.ru)()||!(0,k.zI)()||!(0,k.hl)())return!1;try{return yield(0,k.eu)()}catch{return!1}})).apply(this,arguments)}const js="@firebase/analytics";!function qo(){(0,$._registerComponent)(new ee.wA(Qo,(M,{options:N})=>rn(M.getProvider("app").getImmediate(),M.getProvider("installations-internal").getImmediate(),N),"PUBLIC")),(0,$._registerComponent)(new ee.wA("analytics-internal",function b(M){try{const N=M.getProvider(Qo).getImmediate();return{logEvent:(me,Ve,nt)=>function Wi(b,M,N,me){b=(0,k.m9)(b),function ps(b,M,N,me,Ve){return No.apply(this,arguments)}(Rt,Q[b.app.options.appId],M,N,me).catch(Ve=>Ci.error(Ve))}(N,me,Ve,nt)}}catch(N){throw Je.create("interop-component-reg-failed",{reason:N})}},"PRIVATE")),(0,$.registerVersion)(js,"0.9.4"),(0,$.registerVersion)(js,"0.9.4","esm2017")}();var Jo=g(84408),Wt=g(97565);const on=new class Jt extends Wt.v{}(class na extends Jo.o{constructor(M,N){super(M,N),this.scheduler=M,this.work=N}schedule(M,N=0){return N>0?super.schedule(M,N):(this.delay=N,this.state=M,this.scheduler.flush(this),this)}execute(M,N){return N>0||this.closed?super.execute(M,N):this._execute(M,N)}requestAsyncId(M,N,me=0){return null!=me&&me>0||null==me&&this.delay>0?super.requestAsyncId(M,N,me):(M.flush(this),0)}});var ui=g(34986),Hr=g(18505),cr=g(49468),Yn=g(85363);const Qn=new s.GfV("7.5.0"),Vr="__angularfire_symbol__analyticsIsSupportedValue",Ps="__angularfire_symbol__analyticsIsSupported",zn="__angularfire_symbol__remoteConfigIsSupportedValue",h="__angularfire_symbol__remoteConfigIsSupported",f="__angularfire_symbol__messagingIsSupportedValue",c="__angularfire_symbol__messagingIsSupported";function Ue(b,M,N){if(M){if(1===M.length)return M[0];const nt=M.filter(Ct=>Ct.app===N);if(1===nt.length)return nt[0]}return N.container.getProvider(b).getImmediate({optional:!0})}globalThis[Ps]||(globalThis[Ps]=Mi().then(b=>globalThis[Vr]=b).catch(()=>globalThis[Vr]=!1)),globalThis[c]||(globalThis[c]=to().then(b=>globalThis[f]=b).catch(()=>globalThis[f]=!1)),globalThis[h]||(globalThis[h]=Ni().then(b=>globalThis[zn]=b).catch(()=>globalThis[zn]=!1));const dt=(b,M)=>{const N=M?[M]:(0,d.C6)(),me=[];return N.forEach(Ve=>{Ve.container.getProvider(b).instances.forEach(Ct=>{me.includes(Ct)||me.push(Ct)})}),me};function Ft(){}class Bt{constructor(M,N=on){this.zone=M,this.delegate=N}now(){return this.delegate.now()}schedule(M,N,me){const Ve=this.zone;return this.delegate.schedule(function(Ct){Ve.runGuarded(()=>{M.apply(this,[Ct])})},N,me)}}class $n{constructor(M){this.zone=M,this.task=null}call(M,N){const me=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",Ft,{},Ft,Ft)),N.pipe((0,Hr.b)({next:me,complete:me,error:me})).subscribe(M).add(me)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let xi=(()=>{class b{constructor(N){this.ngZone=N,this.outsideAngular=N.runOutsideAngular(()=>new Bt(Zone.current)),this.insideAngular=N.run(()=>new Bt(Zone.current,ui.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return b.\u0275fac=function(N){return new(N||b)(s.LFG(s.R0b))},b.\u0275prov=s.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();function ur(){const b=globalThis.\u0275AngularFireScheduler;if(!b)throw new Error("Either AngularFireModule has not been provided in your AppModule (this can be done manually or implictly using\nprovideFirebaseApp) or you're calling an AngularFire method outside of an NgModule (which is not supported).");return b}function Hs(b){return ur(),function zs(b){return function(N){return(N=N.lift(new $n(b.ngZone))).pipe((0,cr.R)(b.outsideAngular),(0,Yn.Q)(b.insideAngular))}}(ur())(b)}},42090:(yt,Ee,g)=>{g.d(Ee,{$s:()=>x,BH:()=>se,L:()=>ne,LL:()=>w,Pz:()=>U,UG:()=>ve,US:()=>ee,ZB:()=>Y,ZR:()=>G,aH:()=>xe,b$:()=>bt,eu:()=>ft,hl:()=>vt,jU:()=>Ze,m9:()=>Ie,ne:()=>at,pd:()=>Qe,r3:()=>zt,ru:()=>Ge,tV:()=>R,uI:()=>le,vZ:()=>yn,w1:()=>Oe,xO:()=>de,xb:()=>Pn,z$:()=>oe,zI:()=>ot,zd:()=>Te});const $=function(te){const re=[];let Ce=0;for(let $e=0;$e<te.length;$e++){let Fe=te.charCodeAt($e);Fe<128?re[Ce++]=Fe:Fe<2048?(re[Ce++]=Fe>>6|192,re[Ce++]=63&Fe|128):55296==(64512&Fe)&&$e+1<te.length&&56320==(64512&te.charCodeAt($e+1))?(Fe=65536+((1023&Fe)<<10)+(1023&te.charCodeAt(++$e)),re[Ce++]=Fe>>18|240,re[Ce++]=Fe>>12&63|128,re[Ce++]=Fe>>6&63|128,re[Ce++]=63&Fe|128):(re[Ce++]=Fe>>12|224,re[Ce++]=Fe>>6&63|128,re[Ce++]=63&Fe|128)}return re},ee={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(te,re){if(!Array.isArray(te))throw Error("encodeByteArray takes an array as a parameter");this.init_();const Ce=re?this.byteToCharMapWebSafe_:this.byteToCharMap_,$e=[];for(let Fe=0;Fe<te.length;Fe+=3){const wt=te[Fe],he=Fe+1<te.length,L=he?te[Fe+1]:0,T=Fe+2<te.length,I=T?te[Fe+2]:0;let He=(15&L)<<2|I>>6,Et=63&I;T||(Et=64,he||(He=64)),$e.push(Ce[wt>>2],Ce[(3&wt)<<4|L>>4],Ce[He],Ce[Et])}return $e.join("")},encodeString(te,re){return this.HAS_NATIVE_SUPPORT&&!re?btoa(te):this.encodeByteArray($(te),re)},decodeString(te,re){return this.HAS_NATIVE_SUPPORT&&!re?atob(te):function(te){const re=[];let Ce=0,$e=0;for(;Ce<te.length;){const Fe=te[Ce++];if(Fe<128)re[$e++]=String.fromCharCode(Fe);else if(Fe>191&&Fe<224){const wt=te[Ce++];re[$e++]=String.fromCharCode((31&Fe)<<6|63&wt)}else if(Fe>239&&Fe<365){const T=((7&Fe)<<18|(63&te[Ce++])<<12|(63&te[Ce++])<<6|63&te[Ce++])-65536;re[$e++]=String.fromCharCode(55296+(T>>10)),re[$e++]=String.fromCharCode(56320+(1023&T))}else{const wt=te[Ce++],he=te[Ce++];re[$e++]=String.fromCharCode((15&Fe)<<12|(63&wt)<<6|63&he)}}return re.join("")}(this.decodeStringToByteArray(te,re))},decodeStringToByteArray(te,re){this.init_();const Ce=re?this.charToByteMapWebSafe_:this.charToByteMap_,$e=[];for(let Fe=0;Fe<te.length;){const wt=Ce[te.charAt(Fe++)],L=Fe<te.length?Ce[te.charAt(Fe)]:0;++Fe;const I=Fe<te.length?Ce[te.charAt(Fe)]:64;++Fe;const ae=Fe<te.length?Ce[te.charAt(Fe)]:64;if(++Fe,null==wt||null==L||null==I||null==ae)throw new ce;$e.push(wt<<2|L>>4),64!==I&&($e.push(L<<4&240|I>>2),64!==ae&&$e.push(I<<6&192|ae))}return $e},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let te=0;te<this.ENCODED_VALS.length;te++)this.byteToCharMap_[te]=this.ENCODED_VALS.charAt(te),this.charToByteMap_[this.byteToCharMap_[te]]=te,this.byteToCharMapWebSafe_[te]=this.ENCODED_VALS_WEBSAFE.charAt(te),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[te]]=te,te>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(te)]=te,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(te)]=te)}}};class ce extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const ne=function(te){return function(te){const re=$(te);return ee.encodeByteArray(re,!0)}(te).replace(/\./g,"")},R=function(te){try{return ee.decodeString(te,!0)}catch(re){console.error("base64Decode failed: ",re)}return null};function Y(te,re){if(!(re instanceof Object))return re;switch(re.constructor){case Date:return new Date(re.getTime());case Object:void 0===te&&(te={});break;case Array:te=[];break;default:return re}for(const Ce in re)!re.hasOwnProperty(Ce)||!Ae(Ce)||(te[Ce]=Y(te[Ce],re[Ce]));return te}function Ae(te){return"__proto__"!==te}const je=()=>{try{return function be(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const te=process.env.__FIREBASE_DEFAULTS__;return te?JSON.parse(te):void 0})()||(()=>{if(typeof document>"u")return;let te;try{te=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const re=te&&R(te[1]);return re&&JSON.parse(re)})()}catch(te){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${te}`)}},xe=()=>{var te;return null===(te=je())||void 0===te?void 0:te.config},U=te=>{var re;return null===(re=je())||void 0===re?void 0:re[`_${te}`]};class se{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((re,Ce)=>{this.resolve=re,this.reject=Ce})}wrapCallback(re){return(Ce,$e)=>{Ce?this.reject(Ce):this.resolve($e),"function"==typeof re&&(this.promise.catch(()=>{}),1===re.length?re(Ce):re(Ce,$e))}}}function oe(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function le(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(oe())}function ve(){var te;const re=null===(te=je())||void 0===te?void 0:te.forceEnvironment;if("node"===re)return!0;if("browser"===re)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function Ze(){return"object"==typeof self&&self.self===self}function Ge(){const te="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof te&&void 0!==te.id}function bt(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function Oe(){const te=oe();return te.indexOf("MSIE ")>=0||te.indexOf("Trident/")>=0}function vt(){try{return"object"==typeof indexedDB}catch{return!1}}function ft(){return new Promise((te,re)=>{try{let Ce=!0;const $e="validate-browser-context-for-indexeddb-analytics-module",Fe=self.indexedDB.open($e);Fe.onsuccess=()=>{Fe.result.close(),Ce||self.indexedDB.deleteDatabase($e),te(!0)},Fe.onupgradeneeded=()=>{Ce=!1},Fe.onerror=()=>{var wt;re((null===(wt=Fe.error)||void 0===wt?void 0:wt.message)||"")}}catch(Ce){re(Ce)}})}function ot(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}class G extends Error{constructor(re,Ce,$e){super(Ce),this.code=re,this.customData=$e,this.name="FirebaseError",Object.setPrototypeOf(this,G.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,w.prototype.create)}}class w{constructor(re,Ce,$e){this.service=re,this.serviceName=Ce,this.errors=$e}create(re,...Ce){const $e=Ce[0]||{},Fe=`${this.service}/${re}`,wt=this.errors[re],he=wt?function K(te,re){return te.replace(De,(Ce,$e)=>{const Fe=re[$e];return null!=Fe?String(Fe):`<${$e}?>`})}(wt,$e):"Error";return new G(Fe,`${this.serviceName}: ${he} (${Fe}).`,$e)}}const De=/\{\$([^}]+)}/g;function zt(te,re){return Object.prototype.hasOwnProperty.call(te,re)}function Pn(te){for(const re in te)if(Object.prototype.hasOwnProperty.call(te,re))return!1;return!0}function yn(te,re){if(te===re)return!0;const Ce=Object.keys(te),$e=Object.keys(re);for(const Fe of Ce){if(!$e.includes(Fe))return!1;const wt=te[Fe],he=re[Fe];if(Ne(wt)&&Ne(he)){if(!yn(wt,he))return!1}else if(wt!==he)return!1}for(const Fe of $e)if(!Ce.includes(Fe))return!1;return!0}function Ne(te){return null!==te&&"object"==typeof te}function de(te){const re=[];for(const[Ce,$e]of Object.entries(te))Array.isArray($e)?$e.forEach(Fe=>{re.push(encodeURIComponent(Ce)+"="+encodeURIComponent(Fe))}):re.push(encodeURIComponent(Ce)+"="+encodeURIComponent($e));return re.length?"&"+re.join("&"):""}function Te(te){const re={};return te.replace(/^\?/,"").split("&").forEach($e=>{if($e){const[Fe,wt]=$e.split("=");re[decodeURIComponent(Fe)]=decodeURIComponent(wt)}}),re}function Qe(te){const re=te.indexOf("?");if(!re)return"";const Ce=te.indexOf("#",re);return te.substring(re,Ce>0?Ce:void 0)}function at(te,re){const Ce=new pt(te,re);return Ce.subscribe.bind(Ce)}class pt{constructor(re,Ce){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=Ce,this.task.then(()=>{re(this)}).catch($e=>{this.error($e)})}next(re){this.forEachObserver(Ce=>{Ce.next(re)})}error(re){this.forEachObserver(Ce=>{Ce.error(re)}),this.close(re)}complete(){this.forEachObserver(re=>{re.complete()}),this.close()}subscribe(re,Ce,$e){let Fe;if(void 0===re&&void 0===Ce&&void 0===$e)throw new Error("Missing Observer.");Fe=function it(te,re){if("object"!=typeof te||null===te)return!1;for(const Ce of re)if(Ce in te&&"function"==typeof te[Ce])return!0;return!1}(re,["next","error","complete"])?re:{next:re,error:Ce,complete:$e},void 0===Fe.next&&(Fe.next=ge),void 0===Fe.error&&(Fe.error=ge),void 0===Fe.complete&&(Fe.complete=ge);const wt=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?Fe.error(this.finalError):Fe.complete()}catch{}}),this.observers.push(Fe),wt}unsubscribeOne(re){void 0===this.observers||void 0===this.observers[re]||(delete this.observers[re],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(re){if(!this.finalized)for(let Ce=0;Ce<this.observers.length;Ce++)this.sendOne(Ce,re)}sendOne(re,Ce){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[re])try{Ce(this.observers[re])}catch($e){typeof console<"u"&&console.error&&console.error($e)}})}close(re){this.finalized||(this.finalized=!0,void 0!==re&&(this.finalError=re),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function ge(){}const Nn=1e3,It=2,ut=144e5,z=.5;function x(te,re=Nn,Ce=It){const $e=re*Math.pow(Ce,te),Fe=Math.round(z*$e*(Math.random()-.5)*2);return Math.min(ut,$e+Fe)}function Ie(te){return te&&te._delegate?te._delegate:te}},61135:(yt,Ee,g)=>{g.d(Ee,{X:()=>d});var s=g(77579);class d extends s.x{constructor($){super(),this._value=$}get value(){return this.getValue()}_subscribe($){const k=super._subscribe($);return!k.closed&&$.next(this._value),k}getValue(){const{hasError:$,thrownError:k,_value:ee}=this;if($)throw k;return this._throwIfClosed(),ee}next($){super.next(this._value=$)}}},69751:(yt,Ee,g)=>{g.d(Ee,{y:()=>J});var s=g(70930),d=g(50727),C=g(48822),$=g(89635),k=g(42416),ee=g(30576),ce=g(72806);let J=(()=>{class Y{constructor(be){be&&(this._subscribe=be)}lift(be){const Be=new Y;return Be.source=this,Be.operator=be,Be}subscribe(be,Be,ke){const ye=function Z(Y){return Y&&Y instanceof s.Lv||function R(Y){return Y&&(0,ee.m)(Y.next)&&(0,ee.m)(Y.error)&&(0,ee.m)(Y.complete)}(Y)&&(0,d.Nn)(Y)}(be)?be:new s.Hp(be,Be,ke);return(0,ce.x)(()=>{const{operator:je,source:Ke}=this;ye.add(je?je.call(ye,Ke):Ke?this._subscribe(ye):this._trySubscribe(ye))}),ye}_trySubscribe(be){try{return this._subscribe(be)}catch(Be){be.error(Be)}}forEach(be,Be){return new(Be=ne(Be))((ke,ye)=>{const je=new s.Hp({next:Ke=>{try{be(Ke)}catch(ze){ye(ze),je.unsubscribe()}},error:ye,complete:ke});this.subscribe(je)})}_subscribe(be){var Be;return null===(Be=this.source)||void 0===Be?void 0:Be.subscribe(be)}[C.L](){return this}pipe(...be){return(0,$.U)(be)(this)}toPromise(be){return new(be=ne(be))((Be,ke)=>{let ye;this.subscribe(je=>ye=je,je=>ke(je),()=>Be(ye))})}}return Y.create=Ae=>new Y(Ae),Y})();function ne(Y){var Ae;return null!==(Ae=Y??k.v.Promise)&&void 0!==Ae?Ae:Promise}},4707:(yt,Ee,g)=>{g.d(Ee,{t:()=>C});var s=g(77579),d=g(26063);class C extends s.x{constructor(k=1/0,ee=1/0,ce=d.l){super(),this._bufferSize=k,this._windowTime=ee,this._timestampProvider=ce,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=ee===1/0,this._bufferSize=Math.max(1,k),this._windowTime=Math.max(1,ee)}next(k){const{isStopped:ee,_buffer:ce,_infiniteTimeWindow:J,_timestampProvider:ne,_windowTime:R}=this;ee||(ce.push(k),!J&&ce.push(ne.now()+R)),this._trimBuffer(),super.next(k)}_subscribe(k){this._throwIfClosed(),this._trimBuffer();const ee=this._innerSubscribe(k),{_infiniteTimeWindow:ce,_buffer:J}=this,ne=J.slice();for(let R=0;R<ne.length&&!k.closed;R+=ce?1:2)k.next(ne[R]);return this._checkFinalizedStatuses(k),ee}_trimBuffer(){const{_bufferSize:k,_timestampProvider:ee,_buffer:ce,_infiniteTimeWindow:J}=this,ne=(J?1:2)*k;if(k<1/0&&ne<ce.length&&ce.splice(0,ce.length-ne),!J){const R=ee.now();let Z=0;for(let Y=1;Y<ce.length&&ce[Y]<=R;Y+=2)Z=Y;Z&&ce.splice(0,Z+1)}}}},77579:(yt,Ee,g)=>{g.d(Ee,{x:()=>ce});var s=g(69751),d=g(50727);const $=(0,g(83888).d)(ne=>function(){ne(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var k=g(38737),ee=g(72806);let ce=(()=>{class ne extends s.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Z){const Y=new J(this,this);return Y.operator=Z,Y}_throwIfClosed(){if(this.closed)throw new $}next(Z){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Y of this.currentObservers)Y.next(Z)}})}error(Z){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Z;const{observers:Y}=this;for(;Y.length;)Y.shift().error(Z)}})}complete(){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Z}=this;for(;Z.length;)Z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Z;return(null===(Z=this.observers)||void 0===Z?void 0:Z.length)>0}_trySubscribe(Z){return this._throwIfClosed(),super._trySubscribe(Z)}_subscribe(Z){return this._throwIfClosed(),this._checkFinalizedStatuses(Z),this._innerSubscribe(Z)}_innerSubscribe(Z){const{hasError:Y,isStopped:Ae,observers:be}=this;return Y||Ae?d.Lc:(this.currentObservers=null,be.push(Z),new d.w0(()=>{this.currentObservers=null,(0,k.P)(be,Z)}))}_checkFinalizedStatuses(Z){const{hasError:Y,thrownError:Ae,isStopped:be}=this;Y?Z.error(Ae):be&&Z.complete()}asObservable(){const Z=new s.y;return Z.source=this,Z}}return ne.create=(R,Z)=>new J(R,Z),ne})();class J extends ce{constructor(R,Z){super(),this.destination=R,this.source=Z}next(R){var Z,Y;null===(Y=null===(Z=this.destination)||void 0===Z?void 0:Z.next)||void 0===Y||Y.call(Z,R)}error(R){var Z,Y;null===(Y=null===(Z=this.destination)||void 0===Z?void 0:Z.error)||void 0===Y||Y.call(Z,R)}complete(){var R,Z;null===(Z=null===(R=this.destination)||void 0===R?void 0:R.complete)||void 0===Z||Z.call(R)}_subscribe(R){var Z,Y;return null!==(Y=null===(Z=this.source)||void 0===Z?void 0:Z.subscribe(R))&&void 0!==Y?Y:d.Lc}}},70930:(yt,Ee,g)=>{g.d(Ee,{Hp:()=>ke,Lv:()=>Y});var s=g(30576),d=g(50727),C=g(42416),$=g(87849),k=g(25032);const ee=ne("C",void 0,void 0);function ne(xe,U,se){return{kind:xe,value:U,error:se}}var R=g(43410),Z=g(72806);class Y extends d.w0{constructor(U){super(),this.isStopped=!1,U?(this.destination=U,(0,d.Nn)(U)&&U.add(this)):this.destination=ze}static create(U,se,q){return new ke(U,se,q)}next(U){this.isStopped?Ke(function J(xe){return ne("N",xe,void 0)}(U),this):this._next(U)}error(U){this.isStopped?Ke(function ce(xe){return ne("E",void 0,xe)}(U),this):(this.isStopped=!0,this._error(U))}complete(){this.isStopped?Ke(ee,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(U){this.destination.next(U)}_error(U){try{this.destination.error(U)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ae=Function.prototype.bind;function be(xe,U){return Ae.call(xe,U)}class Be{constructor(U){this.partialObserver=U}next(U){const{partialObserver:se}=this;if(se.next)try{se.next(U)}catch(q){ye(q)}}error(U){const{partialObserver:se}=this;if(se.error)try{se.error(U)}catch(q){ye(q)}else ye(U)}complete(){const{partialObserver:U}=this;if(U.complete)try{U.complete()}catch(se){ye(se)}}}class ke extends Y{constructor(U,se,q){let oe;if(super(),(0,s.m)(U)||!U)oe={next:U??void 0,error:se??void 0,complete:q??void 0};else{let le;this&&C.v.useDeprecatedNextContext?(le=Object.create(U),le.unsubscribe=()=>this.unsubscribe(),oe={next:U.next&&be(U.next,le),error:U.error&&be(U.error,le),complete:U.complete&&be(U.complete,le)}):oe=U}this.destination=new Be(oe)}}function ye(xe){C.v.useDeprecatedSynchronousErrorHandling?(0,Z.O)(xe):(0,$.h)(xe)}function Ke(xe,U){const{onStoppedNotification:se}=C.v;se&&R.z.setTimeout(()=>se(xe,U))}const ze={closed:!0,next:k.Z,error:function je(xe){throw xe},complete:k.Z}},50727:(yt,Ee,g)=>{g.d(Ee,{Lc:()=>ee,w0:()=>k,Nn:()=>ce});var s=g(30576);const C=(0,g(83888).d)(ne=>function(Z){ne(this),this.message=Z?`${Z.length} errors occurred during unsubscription:\n${Z.map((Y,Ae)=>`${Ae+1}) ${Y.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Z});var $=g(38737);class k{constructor(R){this.initialTeardown=R,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let R;if(!this.closed){this.closed=!0;const{_parentage:Z}=this;if(Z)if(this._parentage=null,Array.isArray(Z))for(const be of Z)be.remove(this);else Z.remove(this);const{initialTeardown:Y}=this;if((0,s.m)(Y))try{Y()}catch(be){R=be instanceof C?be.errors:[be]}const{_finalizers:Ae}=this;if(Ae){this._finalizers=null;for(const be of Ae)try{J(be)}catch(Be){R=R??[],Be instanceof C?R=[...R,...Be.errors]:R.push(Be)}}if(R)throw new C(R)}}add(R){var Z;if(R&&R!==this)if(this.closed)J(R);else{if(R instanceof k){if(R.closed||R._hasParent(this))return;R._addParent(this)}(this._finalizers=null!==(Z=this._finalizers)&&void 0!==Z?Z:[]).push(R)}}_hasParent(R){const{_parentage:Z}=this;return Z===R||Array.isArray(Z)&&Z.includes(R)}_addParent(R){const{_parentage:Z}=this;this._parentage=Array.isArray(Z)?(Z.push(R),Z):Z?[Z,R]:R}_removeParent(R){const{_parentage:Z}=this;Z===R?this._parentage=null:Array.isArray(Z)&&(0,$.P)(Z,R)}remove(R){const{_finalizers:Z}=this;Z&&(0,$.P)(Z,R),R instanceof k&&R._removeParent(this)}}k.EMPTY=(()=>{const ne=new k;return ne.closed=!0,ne})();const ee=k.EMPTY;function ce(ne){return ne instanceof k||ne&&"closed"in ne&&(0,s.m)(ne.remove)&&(0,s.m)(ne.add)&&(0,s.m)(ne.unsubscribe)}function J(ne){(0,s.m)(ne)?ne():ne.unsubscribe()}},42416:(yt,Ee,g)=>{g.d(Ee,{v:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},94033:(yt,Ee,g)=>{g.d(Ee,{c:()=>ee});var s=g(69751),d=g(50727),C=g(38343),$=g(25403),k=g(54482);class ee extends s.y{constructor(J,ne){super(),this.source=J,this.subjectFactory=ne,this._subject=null,this._refCount=0,this._connection=null,(0,k.A)(J)&&(this.lift=J.lift)}_subscribe(J){return this.getSubject().subscribe(J)}getSubject(){const J=this._subject;return(!J||J.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:J}=this;this._subject=this._connection=null,J?.unsubscribe()}connect(){let J=this._connection;if(!J){J=this._connection=new d.w0;const ne=this.getSubject();J.add(this.source.subscribe((0,$.x)(ne,void 0,()=>{this._teardown(),ne.complete()},R=>{this._teardown(),ne.error(R)},()=>this._teardown()))),J.closed&&(this._connection=null,J=d.w0.EMPTY)}return J}refCount(){return(0,C.x)()(this)}}},39841:(yt,Ee,g)=>{g.d(Ee,{a:()=>R,l:()=>Z});var s=g(69751),d=g(54742),C=g(88996),$=g(44671),k=g(83268),ee=g(63269),ce=g(31810),J=g(25403),ne=g(39672);function R(...Ae){const be=(0,ee.yG)(Ae),Be=(0,ee.jO)(Ae),{args:ke,keys:ye}=(0,d.D)(Ae);if(0===ke.length)return(0,C.D)([],be);const je=new s.y(Z(ke,be,ye?Ke=>(0,ce.n)(ye,Ke):$.y));return Be?je.pipe((0,k.Z)(Be)):je}function Z(Ae,be,Be=$.y){return ke=>{Y(be,()=>{const{length:ye}=Ae,je=new Array(ye);let Ke=ye,ze=ye;for(let xe=0;xe<ye;xe++)Y(be,()=>{const U=(0,C.D)(Ae[xe],be);let se=!1;U.subscribe((0,J.x)(ke,q=>{je[xe]=q,se||(se=!0,ze--),ze||ke.next(Be(je.slice()))},()=>{--Ke||ke.complete()}))},ke)},ke)}}function Y(Ae,be,Be){Ae?(0,ne.f)(Be,Ae,be):be()}},97272:(yt,Ee,g)=>{g.d(Ee,{z:()=>k});var s=g(8189),C=g(63269),$=g(88996);function k(...ee){return function d(){return(0,s.J)(1)}()((0,$.D)(ee,(0,C.yG)(ee)))}},49770:(yt,Ee,g)=>{g.d(Ee,{P:()=>C});var s=g(69751),d=g(38421);function C($){return new s.y(k=>{(0,d.Xf)($()).subscribe(k)})}},60515:(yt,Ee,g)=>{g.d(Ee,{E:()=>d});const d=new(g(69751).y)(k=>k.complete())},88996:(yt,Ee,g)=>{g.d(Ee,{D:()=>U});var s=g(38421),d=g(85363),C=g(49468),ee=g(69751),J=g(2202),ne=g(30576),R=g(39672);function Y(se,q){if(!se)throw new Error("Iterable cannot be null");return new ee.y(oe=>{(0,R.f)(oe,q,()=>{const le=se[Symbol.asyncIterator]();(0,R.f)(oe,q,()=>{le.next().then(ve=>{ve.done?oe.complete():oe.next(ve.value)})},0,!0)})})}var Ae=g(93670),be=g(28239),Be=g(81144),ke=g(26495),ye=g(12206),je=g(44532),Ke=g(53260);function U(se,q){return q?function xe(se,q){if(null!=se){if((0,Ae.c)(se))return function $(se,q){return(0,s.Xf)(se).pipe((0,C.R)(q),(0,d.Q)(q))}(se,q);if((0,Be.z)(se))return function ce(se,q){return new ee.y(oe=>{let le=0;return q.schedule(function(){le===se.length?oe.complete():(oe.next(se[le++]),oe.closed||this.schedule())})})}(se,q);if((0,be.t)(se))return function k(se,q){return(0,s.Xf)(se).pipe((0,C.R)(q),(0,d.Q)(q))}(se,q);if((0,ye.D)(se))return Y(se,q);if((0,ke.T)(se))return function Z(se,q){return new ee.y(oe=>{let le;return(0,R.f)(oe,q,()=>{le=se[J.h](),(0,R.f)(oe,q,()=>{let ve,Ze;try{({value:ve,done:Ze}=le.next())}catch(Ge){return void oe.error(Ge)}Ze?oe.complete():oe.next(ve)},0,!0)}),()=>(0,ne.m)(le?.return)&&le.return()})}(se,q);if((0,Ke.L)(se))return function ze(se,q){return Y((0,Ke.Q)(se),q)}(se,q)}throw(0,je.z)(se)}(se,q):(0,s.Xf)(se)}},54968:(yt,Ee,g)=>{g.d(Ee,{R:()=>R});var s=g(38421),d=g(69751),C=g(95577),$=g(81144),k=g(30576),ee=g(83268);const ce=["addListener","removeListener"],J=["addEventListener","removeEventListener"],ne=["on","off"];function R(Be,ke,ye,je){if((0,k.m)(ye)&&(je=ye,ye=void 0),je)return R(Be,ke,ye).pipe((0,ee.Z)(je));const[Ke,ze]=function be(Be){return(0,k.m)(Be.addEventListener)&&(0,k.m)(Be.removeEventListener)}(Be)?J.map(xe=>U=>Be[xe](ke,U,ye)):function Y(Be){return(0,k.m)(Be.addListener)&&(0,k.m)(Be.removeListener)}(Be)?ce.map(Z(Be,ke)):function Ae(Be){return(0,k.m)(Be.on)&&(0,k.m)(Be.off)}(Be)?ne.map(Z(Be,ke)):[];if(!Ke&&(0,$.z)(Be))return(0,C.z)(xe=>R(xe,ke,ye))((0,s.Xf)(Be));if(!Ke)throw new TypeError("Invalid event target");return new d.y(xe=>{const U=(...se)=>xe.next(1<se.length?se:se[0]);return Ke(U),()=>ze(U)})}function Z(Be,ke){return ye=>je=>Be[ye](ke,je)}},38421:(yt,Ee,g)=>{g.d(Ee,{Xf:()=>Ae});var s=g(70655),d=g(81144),C=g(28239),$=g(69751),k=g(93670),ee=g(12206),ce=g(44532),J=g(26495),ne=g(53260),R=g(30576),Z=g(87849),Y=g(48822);function Ae(xe){if(xe instanceof $.y)return xe;if(null!=xe){if((0,k.c)(xe))return function be(xe){return new $.y(U=>{const se=xe[Y.L]();if((0,R.m)(se.subscribe))return se.subscribe(U);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(xe);if((0,d.z)(xe))return function Be(xe){return new $.y(U=>{for(let se=0;se<xe.length&&!U.closed;se++)U.next(xe[se]);U.complete()})}(xe);if((0,C.t)(xe))return function ke(xe){return new $.y(U=>{xe.then(se=>{U.closed||(U.next(se),U.complete())},se=>U.error(se)).then(null,Z.h)})}(xe);if((0,ee.D)(xe))return je(xe);if((0,J.T)(xe))return function ye(xe){return new $.y(U=>{for(const se of xe)if(U.next(se),U.closed)return;U.complete()})}(xe);if((0,ne.L)(xe))return function Ke(xe){return je((0,ne.Q)(xe))}(xe)}throw(0,ce.z)(xe)}function je(xe){return new $.y(U=>{(function ze(xe,U){var se,q,oe,le;return(0,s.mG)(this,void 0,void 0,function*(){try{for(se=(0,s.KL)(xe);!(q=yield se.next()).done;)if(U.next(q.value),U.closed)return}catch(ve){oe={error:ve}}finally{try{q&&!q.done&&(le=se.return)&&(yield le.call(se))}finally{if(oe)throw oe.error}}U.complete()})})(xe,U).catch(se=>U.error(se))})}},56451:(yt,Ee,g)=>{g.d(Ee,{T:()=>ee});var s=g(8189),d=g(38421),C=g(60515),$=g(63269),k=g(88996);function ee(...ce){const J=(0,$.yG)(ce),ne=(0,$._6)(ce,1/0),R=ce;return R.length?1===R.length?(0,d.Xf)(R[0]):(0,s.J)(ne)((0,k.D)(R,J)):C.E}},39646:(yt,Ee,g)=>{g.d(Ee,{of:()=>C});var s=g(63269),d=g(88996);function C(...$){const k=(0,s.yG)($);return(0,d.D)($,k)}},62843:(yt,Ee,g)=>{g.d(Ee,{_:()=>C});var s=g(69751),d=g(30576);function C($,k){const ee=(0,d.m)($)?$:()=>$,ce=J=>J.error(ee());return new s.y(k?J=>k.schedule(ce,0,J):ce)}},82805:(yt,Ee,g)=>{g.d(Ee,{H:()=>k});var s=g(69751),d=g(34986),C=g(93532),$=g(51165);function k(ee=0,ce,J=d.P){let ne=-1;return null!=ce&&((0,C.K)(ce)?J=ce:ne=ce),new s.y(R=>{let Z=(0,$.q)(ee)?+ee-J.now():ee;Z<0&&(Z=0);let Y=0;return J.schedule(function(){R.closed||(R.next(Y++),0<=ne?this.schedule(void 0,ne):R.complete())},Z)})}},25403:(yt,Ee,g)=>{g.d(Ee,{x:()=>d});var s=g(70930);function d($,k,ee,ce,J){return new C($,k,ee,ce,J)}class C extends s.Lv{constructor(k,ee,ce,J,ne,R){super(k),this.onFinalize=ne,this.shouldUnsubscribe=R,this._next=ee?function(Z){try{ee(Z)}catch(Y){k.error(Y)}}:super._next,this._error=J?function(Z){try{J(Z)}catch(Y){k.error(Y)}finally{this.unsubscribe()}}:super._error,this._complete=ce?function(){try{ce()}catch(Z){k.error(Z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ee}=this;super.unsubscribe(),!ee&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}},23601:(yt,Ee,g)=>{g.d(Ee,{e:()=>ce});var s=g(34986),d=g(54482),C=g(38421),$=g(25403),ee=g(82805);function ce(J,ne=s.z){return function k(J){return(0,d.e)((ne,R)=>{let Z=!1,Y=null,Ae=null,be=!1;const Be=()=>{if(Ae?.unsubscribe(),Ae=null,Z){Z=!1;const ye=Y;Y=null,R.next(ye)}be&&R.complete()},ke=()=>{Ae=null,be&&R.complete()};ne.subscribe((0,$.x)(R,ye=>{Z=!0,Y=ye,Ae||(0,C.Xf)(J(ye)).subscribe(Ae=(0,$.x)(R,Be,ke))},()=>{be=!0,(!Z||!Ae||Ae.closed)&&R.complete()}))})}(()=>(0,ee.H)(J,ne))}},70262:(yt,Ee,g)=>{g.d(Ee,{K:()=>$});var s=g(38421),d=g(25403),C=g(54482);function $(k){return(0,C.e)((ee,ce)=>{let R,J=null,ne=!1;J=ee.subscribe((0,d.x)(ce,void 0,void 0,Z=>{R=(0,s.Xf)(k(Z,$(k)(ee))),J?(J.unsubscribe(),J=null,R.subscribe(ce)):ne=!0})),ne&&(J.unsubscribe(),J=null,R.subscribe(ce))})}},24351:(yt,Ee,g)=>{g.d(Ee,{b:()=>C});var s=g(95577),d=g(30576);function C($,k){return(0,d.m)(k)?(0,s.z)($,k,1):(0,s.z)($,1)}},78372:(yt,Ee,g)=>{g.d(Ee,{b:()=>$});var s=g(34986),d=g(54482),C=g(25403);function $(k,ee=s.z){return(0,d.e)((ce,J)=>{let ne=null,R=null,Z=null;const Y=()=>{if(ne){ne.unsubscribe(),ne=null;const be=R;R=null,J.next(be)}};function Ae(){const be=Z+k,Be=ee.now();if(Be<be)return ne=this.schedule(void 0,be-Be),void J.add(ne);Y()}ce.subscribe((0,C.x)(J,be=>{R=be,Z=ee.now(),ne||(ne=ee.schedule(Ae,k),J.add(ne))},()=>{Y(),J.complete()},void 0,()=>{R=ne=null}))})}},46590:(yt,Ee,g)=>{g.d(Ee,{d:()=>C});var s=g(54482),d=g(25403);function C($){return(0,s.e)((k,ee)=>{let ce=!1;k.subscribe((0,d.x)(ee,J=>{ce=!0,ee.next(J)},()=>{ce||ee.next($),ee.complete()}))})}},71884:(yt,Ee,g)=>{g.d(Ee,{x:()=>$});var s=g(44671),d=g(54482),C=g(25403);function $(ee,ce=s.y){return ee=ee??k,(0,d.e)((J,ne)=>{let R,Z=!0;J.subscribe((0,C.x)(ne,Y=>{const Ae=ce(Y);(Z||!ee(R,Ae))&&(Z=!1,R=Ae,ne.next(Y))}))})}function k(ee,ce){return ee===ce}},39300:(yt,Ee,g)=>{g.d(Ee,{h:()=>C});var s=g(54482),d=g(25403);function C($,k){return(0,s.e)((ee,ce)=>{let J=0;ee.subscribe((0,d.x)(ce,ne=>$.call(k,ne,J++)&&ce.next(ne)))})}},28746:(yt,Ee,g)=>{g.d(Ee,{x:()=>d});var s=g(54482);function d(C){return(0,s.e)(($,k)=>{try{$.subscribe(k)}finally{k.add(C)}})}},50590:(yt,Ee,g)=>{g.d(Ee,{P:()=>ce});var s=g(86805),d=g(39300),C=g(95698),$=g(46590),k=g(18068),ee=g(44671);function ce(J,ne){const R=arguments.length>=2;return Z=>Z.pipe(J?(0,d.h)((Y,Ae)=>J(Y,Ae,Z)):ee.y,(0,C.q)(1),R?(0,$.d)(ne):(0,k.T)(()=>new s.K))}},54004:(yt,Ee,g)=>{g.d(Ee,{U:()=>C});var s=g(54482),d=g(25403);function C($,k){return(0,s.e)((ee,ce)=>{let J=0;ee.subscribe((0,d.x)(ce,ne=>{ce.next($.call(k,ne,J++))}))})}},69718:(yt,Ee,g)=>{g.d(Ee,{h:()=>d});var s=g(54004);function d(C){return(0,s.U)(()=>C)}},8189:(yt,Ee,g)=>{g.d(Ee,{J:()=>C});var s=g(95577),d=g(44671);function C($=1/0){return(0,s.z)(d.y,$)}},95577:(yt,Ee,g)=>{g.d(Ee,{z:()=>J});var s=g(54004),d=g(38421),C=g(54482),$=g(39672),k=g(25403),ce=g(30576);function J(ne,R,Z=1/0){return(0,ce.m)(R)?J((Y,Ae)=>(0,s.U)((be,Be)=>R(Y,be,Ae,Be))((0,d.Xf)(ne(Y,Ae))),Z):("number"==typeof R&&(Z=R),(0,C.e)((Y,Ae)=>function ee(ne,R,Z,Y,Ae,be,Be,ke){const ye=[];let je=0,Ke=0,ze=!1;const xe=()=>{ze&&!ye.length&&!je&&R.complete()},U=q=>je<Y?se(q):ye.push(q),se=q=>{be&&R.next(q),je++;let oe=!1;(0,d.Xf)(Z(q,Ke++)).subscribe((0,k.x)(R,le=>{Ae?.(le),be?U(le):R.next(le)},()=>{oe=!0},void 0,()=>{if(oe)try{for(je--;ye.length&&je<Y;){const le=ye.shift();Be?(0,$.f)(R,Be,()=>se(le)):se(le)}xe()}catch(le){R.error(le)}}))};return ne.subscribe((0,k.x)(R,U,()=>{ze=!0,xe()})),()=>{ke?.()}}(Y,Ae,ne,Z)))}},85363:(yt,Ee,g)=>{g.d(Ee,{Q:()=>$});var s=g(39672),d=g(54482),C=g(25403);function $(k,ee=0){return(0,d.e)((ce,J)=>{ce.subscribe((0,C.x)(J,ne=>(0,s.f)(J,k,()=>J.next(ne),ee),()=>(0,s.f)(J,k,()=>J.complete(),ee),ne=>(0,s.f)(J,k,()=>J.error(ne),ee)))})}},38343:(yt,Ee,g)=>{g.d(Ee,{x:()=>C});var s=g(54482),d=g(25403);function C(){return(0,s.e)(($,k)=>{let ee=null;$._refCount++;const ce=(0,d.x)(k,void 0,void 0,void 0,()=>{if(!$||$._refCount<=0||0<--$._refCount)return void(ee=null);const J=$._connection,ne=ee;ee=null,J&&(!ne||J===ne)&&J.unsubscribe(),k.unsubscribe()});$.subscribe(ce),ce.closed||(ee=$.connect())})}},75026:(yt,Ee,g)=>{g.d(Ee,{R:()=>$});var s=g(54482),d=g(25403);function $(k,ee){return(0,s.e)(function C(k,ee,ce,J,ne){return(R,Z)=>{let Y=ce,Ae=ee,be=0;R.subscribe((0,d.x)(Z,Be=>{const ke=be++;Ae=Y?k(Ae,Be,ke):(Y=!0,Be),J&&Z.next(Ae)},ne&&(()=>{Y&&Z.next(Ae),Z.complete()})))}}(k,ee,arguments.length>=2,!0))}},13099:(yt,Ee,g)=>{g.d(Ee,{B:()=>k});var s=g(38421),d=g(77579),C=g(70930),$=g(54482);function k(ce={}){const{connector:J=(()=>new d.x),resetOnError:ne=!0,resetOnComplete:R=!0,resetOnRefCountZero:Z=!0}=ce;return Y=>{let Ae,be,Be,ke=0,ye=!1,je=!1;const Ke=()=>{be?.unsubscribe(),be=void 0},ze=()=>{Ke(),Ae=Be=void 0,ye=je=!1},xe=()=>{const U=Ae;ze(),U?.unsubscribe()};return(0,$.e)((U,se)=>{ke++,!je&&!ye&&Ke();const q=Be=Be??J();se.add(()=>{ke--,0===ke&&!je&&!ye&&(be=ee(xe,Z))}),q.subscribe(se),!Ae&&ke>0&&(Ae=new C.Hp({next:oe=>q.next(oe),error:oe=>{je=!0,Ke(),be=ee(ze,ne,oe),q.error(oe)},complete:()=>{ye=!0,Ke(),be=ee(ze,R),q.complete()}}),(0,s.Xf)(U).subscribe(Ae))})(Y)}}function ee(ce,J,...ne){if(!0===J)return void ce();if(!1===J)return;const R=new C.Hp({next:()=>{R.unsubscribe(),ce()}});return(0,s.Xf)(J(...ne)).subscribe(R)}},34782:(yt,Ee,g)=>{g.d(Ee,{d:()=>C});var s=g(4707),d=g(13099);function C($,k,ee){let ce,J=!1;return $&&"object"==typeof $?({bufferSize:ce=1/0,windowTime:k=1/0,refCount:J=!1,scheduler:ee}=$):ce=$??1/0,(0,d.B)({connector:()=>new s.t(ce,k,ee),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:J})}},35684:(yt,Ee,g)=>{g.d(Ee,{T:()=>d});var s=g(39300);function d(C){return(0,s.h)(($,k)=>C<=k)}},68675:(yt,Ee,g)=>{g.d(Ee,{O:()=>$});var s=g(97272),d=g(63269),C=g(54482);function $(...k){const ee=(0,d.yG)(k);return(0,C.e)((ce,J)=>{(ee?(0,s.z)(k,ce,ee):(0,s.z)(k,ce)).subscribe(J)})}},49468:(yt,Ee,g)=>{g.d(Ee,{R:()=>d});var s=g(54482);function d(C,$=0){return(0,s.e)((k,ee)=>{ee.add(C.schedule(()=>k.subscribe(ee),$))})}},63900:(yt,Ee,g)=>{g.d(Ee,{w:()=>$});var s=g(38421),d=g(54482),C=g(25403);function $(k,ee){return(0,d.e)((ce,J)=>{let ne=null,R=0,Z=!1;const Y=()=>Z&&!ne&&J.complete();ce.subscribe((0,C.x)(J,Ae=>{ne?.unsubscribe();let be=0;const Be=R++;(0,s.Xf)(k(Ae,Be)).subscribe(ne=(0,C.x)(J,ke=>J.next(ee?ee(Ae,ke,Be,be++):ke),()=>{ne=null,Y()}))},()=>{Z=!0,Y()}))})}},95698:(yt,Ee,g)=>{g.d(Ee,{q:()=>$});var s=g(60515),d=g(54482),C=g(25403);function $(k){return k<=0?()=>s.E:(0,d.e)((ee,ce)=>{let J=0;ee.subscribe((0,C.x)(ce,ne=>{++J<=k&&(ce.next(ne),k<=J&&ce.complete())}))})}},82722:(yt,Ee,g)=>{g.d(Ee,{R:()=>k});var s=g(54482),d=g(25403),C=g(38421),$=g(25032);function k(ee){return(0,s.e)((ce,J)=>{(0,C.Xf)(ee).subscribe((0,d.x)(J,()=>J.complete(),$.Z)),!J.closed&&ce.subscribe(J)})}},22529:(yt,Ee,g)=>{g.d(Ee,{o:()=>C});var s=g(54482),d=g(25403);function C($,k=!1){return(0,s.e)((ee,ce)=>{let J=0;ee.subscribe((0,d.x)(ce,ne=>{const R=$(ne,J++);(R||k)&&ce.next(ne),!R&&ce.complete()}))})}},18505:(yt,Ee,g)=>{g.d(Ee,{b:()=>k});var s=g(30576),d=g(54482),C=g(25403),$=g(44671);function k(ee,ce,J){const ne=(0,s.m)(ee)||ce||J?{next:ee,error:ce,complete:J}:ee;return ne?(0,d.e)((R,Z)=>{var Y;null===(Y=ne.subscribe)||void 0===Y||Y.call(ne);let Ae=!0;R.subscribe((0,C.x)(Z,be=>{var Be;null===(Be=ne.next)||void 0===Be||Be.call(ne,be),Z.next(be)},()=>{var be;Ae=!1,null===(be=ne.complete)||void 0===be||be.call(ne),Z.complete()},be=>{var Be;Ae=!1,null===(Be=ne.error)||void 0===Be||Be.call(ne,be),Z.error(be)},()=>{var be,Be;Ae&&(null===(be=ne.unsubscribe)||void 0===be||be.call(ne)),null===(Be=ne.finalize)||void 0===Be||Be.call(ne)}))}):$.y}},18068:(yt,Ee,g)=>{g.d(Ee,{T:()=>$});var s=g(86805),d=g(54482),C=g(25403);function $(ee=k){return(0,d.e)((ce,J)=>{let ne=!1;ce.subscribe((0,C.x)(J,R=>{ne=!0,J.next(R)},()=>ne?J.complete():J.error(ee())))})}function k(){return new s.K}},84408:(yt,Ee,g)=>{g.d(Ee,{o:()=>k});var s=g(50727);class d extends s.w0{constructor(ce,J){super()}schedule(ce,J=0){return this}}const C={setInterval(ee,ce,...J){const{delegate:ne}=C;return ne?.setInterval?ne.setInterval(ee,ce,...J):setInterval(ee,ce,...J)},clearInterval(ee){const{delegate:ce}=C;return(ce?.clearInterval||clearInterval)(ee)},delegate:void 0};var $=g(38737);class k extends d{constructor(ce,J){super(ce,J),this.scheduler=ce,this.work=J,this.pending=!1}schedule(ce,J=0){var ne;if(this.closed)return this;this.state=ce;const R=this.id,Z=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(Z,R,J)),this.pending=!0,this.delay=J,this.id=null!==(ne=this.id)&&void 0!==ne?ne:this.requestAsyncId(Z,this.id,J),this}requestAsyncId(ce,J,ne=0){return C.setInterval(ce.flush.bind(ce,this),ne)}recycleAsyncId(ce,J,ne=0){if(null!=ne&&this.delay===ne&&!1===this.pending)return J;null!=J&&C.clearInterval(J)}execute(ce,J){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ne=this._execute(ce,J);if(ne)return ne;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ce,J){let R,ne=!1;try{this.work(ce)}catch(Z){ne=!0,R=Z||new Error("Scheduled action threw falsy error")}if(ne)return this.unsubscribe(),R}unsubscribe(){if(!this.closed){const{id:ce,scheduler:J}=this,{actions:ne}=J;this.work=this.state=this.scheduler=null,this.pending=!1,(0,$.P)(ne,this),null!=ce&&(this.id=this.recycleAsyncId(J,ce,null)),this.delay=null,super.unsubscribe()}}}},97565:(yt,Ee,g)=>{g.d(Ee,{v:()=>C});var s=g(26063);class d{constructor(k,ee=d.now){this.schedulerActionCtor=k,this.now=ee}schedule(k,ee=0,ce){return new this.schedulerActionCtor(this,k).schedule(ce,ee)}}d.now=s.l.now;class C extends d{constructor(k,ee=d.now){super(k,ee),this.actions=[],this._active=!1}flush(k){const{actions:ee}=this;if(this._active)return void ee.push(k);let ce;this._active=!0;do{if(ce=k.execute(k.state,k.delay))break}while(k=ee.shift());if(this._active=!1,ce){for(;k=ee.shift();)k.unsubscribe();throw ce}}}},66406:(yt,Ee,g)=>{g.d(Ee,{Z:()=>ce});var s=g(84408),d=g(50727);const C={schedule(ne){let R=requestAnimationFrame,Z=cancelAnimationFrame;const{delegate:Y}=C;Y&&(R=Y.requestAnimationFrame,Z=Y.cancelAnimationFrame);const Ae=R(be=>{Z=void 0,ne(be)});return new d.w0(()=>Z?.(Ae))},requestAnimationFrame(...ne){const{delegate:R}=C;return(R?.requestAnimationFrame||requestAnimationFrame)(...ne)},cancelAnimationFrame(...ne){const{delegate:R}=C;return(R?.cancelAnimationFrame||cancelAnimationFrame)(...ne)},delegate:void 0};var k=g(97565);const ce=new class ee extends k.v{flush(R){this._active=!0;const Z=this._scheduled;this._scheduled=void 0;const{actions:Y}=this;let Ae;R=R||Y.shift();do{if(Ae=R.execute(R.state,R.delay))break}while((R=Y[0])&&R.id===Z&&Y.shift());if(this._active=!1,Ae){for(;(R=Y[0])&&R.id===Z&&Y.shift();)R.unsubscribe();throw Ae}}}(class $ extends s.o{constructor(R,Z){super(R,Z),this.scheduler=R,this.work=Z}requestAsyncId(R,Z,Y=0){return null!==Y&&Y>0?super.requestAsyncId(R,Z,Y):(R.actions.push(this),R._scheduled||(R._scheduled=C.requestAnimationFrame(()=>R.flush(void 0))))}recycleAsyncId(R,Z,Y=0){var Ae;if(null!=Y?Y>0:this.delay>0)return super.recycleAsyncId(R,Z,Y);const{actions:be}=R;null!=Z&&(null===(Ae=be[be.length-1])||void 0===Ae?void 0:Ae.id)!==Z&&(C.cancelAnimationFrame(Z),R._scheduled=void 0)}})},53101:(yt,Ee,g)=>{g.d(Ee,{E:()=>be});var s=g(84408);let C,d=1;const $={};function k(ke){return ke in $&&(delete $[ke],!0)}const ee={setImmediate(ke){const ye=d++;return $[ye]=!0,C||(C=Promise.resolve()),C.then(()=>k(ye)&&ke()),ye},clearImmediate(ke){k(ke)}},{setImmediate:J,clearImmediate:ne}=ee,R={setImmediate(...ke){const{delegate:ye}=R;return(ye?.setImmediate||J)(...ke)},clearImmediate(ke){const{delegate:ye}=R;return(ye?.clearImmediate||ne)(ke)},delegate:void 0};var Y=g(97565);const be=new class Ae extends Y.v{flush(ye){this._active=!0;const je=this._scheduled;this._scheduled=void 0;const{actions:Ke}=this;let ze;ye=ye||Ke.shift();do{if(ze=ye.execute(ye.state,ye.delay))break}while((ye=Ke[0])&&ye.id===je&&Ke.shift());if(this._active=!1,ze){for(;(ye=Ke[0])&&ye.id===je&&Ke.shift();)ye.unsubscribe();throw ze}}}(class Z extends s.o{constructor(ye,je){super(ye,je),this.scheduler=ye,this.work=je}requestAsyncId(ye,je,Ke=0){return null!==Ke&&Ke>0?super.requestAsyncId(ye,je,Ke):(ye.actions.push(this),ye._scheduled||(ye._scheduled=R.setImmediate(ye.flush.bind(ye,void 0))))}recycleAsyncId(ye,je,Ke=0){var ze;if(null!=Ke?Ke>0:this.delay>0)return super.recycleAsyncId(ye,je,Ke);const{actions:xe}=ye;null!=je&&(null===(ze=xe[xe.length-1])||void 0===ze?void 0:ze.id)!==je&&(R.clearImmediate(je),ye._scheduled=void 0)}})},34986:(yt,Ee,g)=>{g.d(Ee,{P:()=>$,z:()=>C});var s=g(84408);const C=new(g(97565).v)(s.o),$=C},26063:(yt,Ee,g)=>{g.d(Ee,{l:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},43410:(yt,Ee,g)=>{g.d(Ee,{z:()=>s});const s={setTimeout(d,C,...$){const{delegate:k}=s;return k?.setTimeout?k.setTimeout(d,C,...$):setTimeout(d,C,...$)},clearTimeout(d){const{delegate:C}=s;return(C?.clearTimeout||clearTimeout)(d)},delegate:void 0}},2202:(yt,Ee,g)=>{g.d(Ee,{h:()=>d});const d=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},48822:(yt,Ee,g)=>{g.d(Ee,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},86805:(yt,Ee,g)=>{g.d(Ee,{K:()=>d});const d=(0,g(83888).d)(C=>function(){C(this),this.name="EmptyError",this.message="no elements in sequence"})},63269:(yt,Ee,g)=>{g.d(Ee,{_6:()=>ee,jO:()=>$,yG:()=>k});var s=g(30576),d=g(93532);function C(ce){return ce[ce.length-1]}function $(ce){return(0,s.m)(C(ce))?ce.pop():void 0}function k(ce){return(0,d.K)(C(ce))?ce.pop():void 0}function ee(ce,J){return"number"==typeof C(ce)?ce.pop():J}},54742:(yt,Ee,g)=>{g.d(Ee,{D:()=>k});const{isArray:s}=Array,{getPrototypeOf:d,prototype:C,keys:$}=Object;function k(ce){if(1===ce.length){const J=ce[0];if(s(J))return{args:J,keys:null};if(function ee(ce){return ce&&"object"==typeof ce&&d(ce)===C}(J)){const ne=$(J);return{args:ne.map(R=>J[R]),keys:ne}}}return{args:ce,keys:null}}},38737:(yt,Ee,g)=>{function s(d,C){if(d){const $=d.indexOf(C);0<=$&&d.splice($,1)}}g.d(Ee,{P:()=>s})},83888:(yt,Ee,g)=>{function s(d){const $=d(k=>{Error.call(k),k.stack=(new Error).stack});return $.prototype=Object.create(Error.prototype),$.prototype.constructor=$,$}g.d(Ee,{d:()=>s})},31810:(yt,Ee,g)=>{function s(d,C){return d.reduce(($,k,ee)=>($[k]=C[ee],$),{})}g.d(Ee,{n:()=>s})},72806:(yt,Ee,g)=>{g.d(Ee,{O:()=>$,x:()=>C});var s=g(42416);let d=null;function C(k){if(s.v.useDeprecatedSynchronousErrorHandling){const ee=!d;if(ee&&(d={errorThrown:!1,error:null}),k(),ee){const{errorThrown:ce,error:J}=d;if(d=null,ce)throw J}}else k()}function $(k){s.v.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=k)}},39672:(yt,Ee,g)=>{function s(d,C,$,k=0,ee=!1){const ce=C.schedule(function(){$(),ee?d.add(this.schedule(null,k)):this.unsubscribe()},k);if(d.add(ce),!ee)return ce}g.d(Ee,{f:()=>s})},44671:(yt,Ee,g)=>{function s(d){return d}g.d(Ee,{y:()=>s})},81144:(yt,Ee,g)=>{g.d(Ee,{z:()=>s});const s=d=>d&&"number"==typeof d.length&&"function"!=typeof d},12206:(yt,Ee,g)=>{g.d(Ee,{D:()=>d});var s=g(30576);function d(C){return Symbol.asyncIterator&&(0,s.m)(C?.[Symbol.asyncIterator])}},51165:(yt,Ee,g)=>{function s(d){return d instanceof Date&&!isNaN(d)}g.d(Ee,{q:()=>s})},30576:(yt,Ee,g)=>{function s(d){return"function"==typeof d}g.d(Ee,{m:()=>s})},93670:(yt,Ee,g)=>{g.d(Ee,{c:()=>C});var s=g(48822),d=g(30576);function C($){return(0,d.m)($[s.L])}},26495:(yt,Ee,g)=>{g.d(Ee,{T:()=>C});var s=g(2202),d=g(30576);function C($){return(0,d.m)($?.[s.h])}},28239:(yt,Ee,g)=>{g.d(Ee,{t:()=>d});var s=g(30576);function d(C){return(0,s.m)(C?.then)}},53260:(yt,Ee,g)=>{g.d(Ee,{L:()=>$,Q:()=>C});var s=g(70655),d=g(30576);function C(k){return(0,s.FC)(this,arguments,function*(){const ce=k.getReader();try{for(;;){const{value:J,done:ne}=yield(0,s.qq)(ce.read());if(ne)return yield(0,s.qq)(void 0);yield yield(0,s.qq)(J)}}finally{ce.releaseLock()}})}function $(k){return(0,d.m)(k?.getReader)}},93532:(yt,Ee,g)=>{g.d(Ee,{K:()=>d});var s=g(30576);function d(C){return C&&(0,s.m)(C.schedule)}},54482:(yt,Ee,g)=>{g.d(Ee,{A:()=>d,e:()=>C});var s=g(30576);function d($){return(0,s.m)($?.lift)}function C($){return k=>{if(d(k))return k.lift(function(ee){try{return $(ee,this)}catch(ce){this.error(ce)}});throw new TypeError("Unable to lift unknown Observable type")}}},83268:(yt,Ee,g)=>{g.d(Ee,{Z:()=>$});var s=g(54004);const{isArray:d}=Array;function $(k){return(0,s.U)(ee=>function C(k,ee){return d(ee)?k(...ee):k(ee)}(k,ee))}},25032:(yt,Ee,g)=>{function s(){}g.d(Ee,{Z:()=>s})},89635:(yt,Ee,g)=>{g.d(Ee,{U:()=>C,z:()=>d});var s=g(44671);function d(...$){return C($)}function C($){return 0===$.length?s.y:1===$.length?$[0]:function(ee){return $.reduce((ce,J)=>J(ce),ee)}}},87849:(yt,Ee,g)=>{g.d(Ee,{h:()=>C});var s=g(42416),d=g(43410);function C($){d.z.setTimeout(()=>{const{onUnhandledError:k}=s.v;if(!k)throw $;k($)})}},44532:(yt,Ee,g)=>{function s(d){return new TypeError(`You provided ${null!==d&&"object"==typeof d?"an invalid object":`'${d}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(Ee,{z:()=>s})},70655:(yt,Ee,g)=>{function $(Oe,Ye){var tt={};for(var lt in Oe)Object.prototype.hasOwnProperty.call(Oe,lt)&&Ye.indexOf(lt)<0&&(tt[lt]=Oe[lt]);if(null!=Oe&&"function"==typeof Object.getOwnPropertySymbols){var vt=0;for(lt=Object.getOwnPropertySymbols(Oe);vt<lt.length;vt++)Ye.indexOf(lt[vt])<0&&Object.prototype.propertyIsEnumerable.call(Oe,lt[vt])&&(tt[lt[vt]]=Oe[lt[vt]])}return tt}function k(Oe,Ye,tt,lt){var ot,vt=arguments.length,ft=vt<3?Ye:null===lt?lt=Object.getOwnPropertyDescriptor(Ye,tt):lt;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ft=Reflect.decorate(Oe,Ye,tt,lt);else for(var fe=Oe.length-1;fe>=0;fe--)(ot=Oe[fe])&&(ft=(vt<3?ot(ft):vt>3?ot(Ye,tt,ft):ot(Ye,tt))||ft);return vt>3&&ft&&Object.defineProperty(Ye,tt,ft),ft}function Y(Oe,Ye,tt,lt){return new(tt||(tt=Promise))(function(ft,ot){function fe(K){try{w(lt.next(K))}catch(De){ot(De)}}function G(K){try{w(lt.throw(K))}catch(De){ot(De)}}function w(K){K.done?ft(K.value):function vt(ft){return ft instanceof tt?ft:new tt(function(ot){ot(ft)})}(K.value).then(fe,G)}w((lt=lt.apply(Oe,Ye||[])).next())})}function xe(Oe){return this instanceof xe?(this.v=Oe,this):new xe(Oe)}function U(Oe,Ye,tt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var vt,lt=tt.apply(Oe,Ye||[]),ft=[];return vt={},ot("next"),ot("throw"),ot("return"),vt[Symbol.asyncIterator]=function(){return this},vt;function ot(et){lt[et]&&(vt[et]=function(Mt){return new Promise(function(xt,Lt){ft.push([et,Mt,xt,Lt])>1||fe(et,Mt)})})}function fe(et,Mt){try{!function G(et){et.value instanceof xe?Promise.resolve(et.value.v).then(w,K):De(ft[0][2],et)}(lt[et](Mt))}catch(xt){De(ft[0][3],xt)}}function w(et){fe("next",et)}function K(et){fe("throw",et)}function De(et,Mt){et(Mt),ft.shift(),ft.length&&fe(ft[0][0],ft[0][1])}}function q(Oe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var tt,Ye=Oe[Symbol.asyncIterator];return Ye?Ye.call(Oe):(Oe=function ke(Oe){var Ye="function"==typeof Symbol&&Symbol.iterator,tt=Ye&&Oe[Ye],lt=0;if(tt)return tt.call(Oe);if(Oe&&"number"==typeof Oe.length)return{next:function(){return Oe&<>=Oe.length&&(Oe=void 0),{value:Oe&&Oe[lt++],done:!Oe}}};throw new TypeError(Ye?"Object is not iterable.":"Symbol.iterator is not defined.")}(Oe),tt={},lt("next"),lt("throw"),lt("return"),tt[Symbol.asyncIterator]=function(){return this},tt);function lt(ft){tt[ft]=Oe[ft]&&function(ot){return new Promise(function(fe,G){!function vt(ft,ot,fe,G){Promise.resolve(G).then(function(w){ft({value:w,done:fe})},ot)}(fe,G,(ot=Oe[ft](ot)).done,ot.value)})}}}g.d(Ee,{FC:()=>U,KL:()=>q,_T:()=>$,gn:()=>k,mG:()=>Y,qq:()=>xe})},37340:(yt,Ee,g)=>{g.d(Ee,{F4:()=>R,IO:()=>Be,LC:()=>d,SB:()=>ne,X$:()=>$,ZE:()=>Ke,ZN:()=>je,_7:()=>be,_j:()=>s,eR:()=>Z,jt:()=>k,k1:()=>ze,l3:()=>C,oB:()=>J,oQ:()=>Y,pV:()=>Ae,ru:()=>ee,vP:()=>ce});class s{}class d{}const C="*";function $(xe,U){return{type:7,name:xe,definitions:U,options:{}}}function k(xe,U=null){return{type:4,styles:U,timings:xe}}function ee(xe,U=null){return{type:3,steps:xe,options:U}}function ce(xe,U=null){return{type:2,steps:xe,options:U}}function J(xe){return{type:6,styles:xe,offset:null}}function ne(xe,U,se){return{type:0,name:xe,styles:U,options:se}}function R(xe){return{type:5,steps:xe}}function Z(xe,U,se=null){return{type:1,expr:xe,animation:U,options:se}}function Y(xe,U=null){return{type:8,animation:xe,options:U}}function Ae(xe=null){return{type:9,options:xe}}function be(xe,U=null){return{type:10,animation:xe,options:U}}function Be(xe,U,se=null){return{type:11,selector:xe,animation:U,options:se}}function ye(xe){Promise.resolve().then(xe)}class je{constructor(U=0,se=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=U+se}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(U=>U()),this._onDoneFns=[])}onStart(U){this._originalOnStartFns.push(U),this._onStartFns.push(U)}onDone(U){this._originalOnDoneFns.push(U),this._onDoneFns.push(U)}onDestroy(U){this._onDestroyFns.push(U)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ye(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(U=>U()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(U=>U()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(U){this._position=this.totalTime?U*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(U){const se="start"==U?this._onStartFns:this._onDoneFns;se.forEach(q=>q()),se.length=0}}class Ke{constructor(U){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=U;let se=0,q=0,oe=0;const le=this.players.length;0==le?ye(()=>this._onFinish()):this.players.forEach(ve=>{ve.onDone(()=>{++se==le&&this._onFinish()}),ve.onDestroy(()=>{++q==le&&this._onDestroy()}),ve.onStart(()=>{++oe==le&&this._onStart()})}),this.totalTime=this.players.reduce((ve,Ze)=>Math.max(ve,Ze.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(U=>U()),this._onDoneFns=[])}init(){this.players.forEach(U=>U.init())}onStart(U){this._onStartFns.push(U)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(U=>U()),this._onStartFns=[])}onDone(U){this._onDoneFns.push(U)}onDestroy(U){this._onDestroyFns.push(U)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(U=>U.play())}pause(){this.players.forEach(U=>U.pause())}restart(){this.players.forEach(U=>U.restart())}finish(){this._onFinish(),this.players.forEach(U=>U.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(U=>U.destroy()),this._onDestroyFns.forEach(U=>U()),this._onDestroyFns=[])}reset(){this.players.forEach(U=>U.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(U){const se=U*this.totalTime;this.players.forEach(q=>{const oe=q.totalTime?Math.min(1,se/q.totalTime):1;q.setPosition(oe)})}getPosition(){const U=this.players.reduce((se,q)=>null===se||q.totalTime>se.totalTime?q:se,null);return null!=U?U.getPosition():0}beforeDestroy(){this.players.forEach(U=>{U.beforeDestroy&&U.beforeDestroy()})}triggerCallback(U){const se="start"==U?this._onStartFns:this._onDoneFns;se.forEach(q=>q()),se.length=0}}const ze="!"},12693:(yt,Ee,g)=>{g.d(Ee,{rt:()=>he,s1:()=>et,$s:()=>G,kH:()=>re,mK:()=>at,Em:()=>Mt,tE:()=>te,qV:()=>ct,qm:()=>wt,ic:()=>Lt,Kd:()=>x,X6:()=>mt,yG:()=>St});var s=g(36895),d=g(94650),C=g(83353),$=g(77579),k=g(50727),ee=g(61135),ce=g(39646),J=g(29521),ne=g(18505),R=g(78372),Z=g(39300),Y=g(54004),Ae=g(95698),be=g(35684),Be=g(71884),ke=g(82722),ye=g(21281),je=g(49643),Ke=g(39841),ze=g(97272),xe=g(69751),U=g(68675);const q=new Set;let oe,le=(()=>{class L{constructor(I){this._platform=I,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ze}matchMedia(I){return(this._platform.WEBKIT||this._platform.BLINK)&&function ve(L){if(!q.has(L))try{oe||(oe=document.createElement("style"),oe.setAttribute("type","text/css"),document.head.appendChild(oe)),oe.sheet&&(oe.sheet.insertRule(`@media ${L} {body{ }}`,0),q.add(L))}catch(T){console.error(T)}}(I),this._matchMedia(I)}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(C.t4))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();function Ze(L){return{matches:"all"===L||""===L,media:L,addListener:()=>{},removeListener:()=>{}}}let Ge=(()=>{class L{constructor(I,W){this._mediaMatcher=I,this._zone=W,this._queries=new Map,this._destroySubject=new $.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(I){return bt((0,ye.Eq)(I)).some(ae=>this._registerQuery(ae).mql.matches)}observe(I){const ae=bt((0,ye.Eq)(I)).map(Et=>this._registerQuery(Et).observable);let He=(0,Ke.a)(ae);return He=(0,ze.z)(He.pipe((0,Ae.q)(1)),He.pipe((0,be.T)(1),(0,R.b)(0))),He.pipe((0,Y.U)(Et=>{const qt={matches:!1,breakpoints:{}};return Et.forEach(({matches:oi,query:ri})=>{qt.matches=qt.matches||oi,qt.breakpoints[ri]=oi}),qt}))}_registerQuery(I){if(this._queries.has(I))return this._queries.get(I);const W=this._mediaMatcher.matchMedia(I),He={observable:new xe.y(Et=>{const qt=oi=>this._zone.run(()=>Et.next(oi));return W.addListener(qt),()=>{W.removeListener(qt)}}).pipe((0,U.O)(W),(0,Y.U)(({matches:Et})=>({query:I,matches:Et})),(0,ke.R)(this._destroySubject)),mql:W};return this._queries.set(I,He),He}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(le),d.LFG(d.R0b))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();function bt(L){return L.map(T=>T.split(",")).reduce((T,I)=>T.concat(I)).map(T=>T.trim())}function lt(L,T){return(L.getAttribute(T)||"").match(/\S+/g)||[]}const ft="cdk-describedby-message",ot="cdk-describedby-host";let fe=0,G=(()=>{class L{constructor(I,W){this._platform=W,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+fe++,this._document=I,this._id=(0,d.f3M)(d.AFp)+"-"+fe++}describe(I,W,ae){if(!this._canBeDescribed(I,W))return;const He=w(W,ae);"string"!=typeof W?(K(W,this._id),this._messageRegistry.set(He,{messageElement:W,referenceCount:0})):this._messageRegistry.has(He)||this._createMessageElement(W,ae),this._isElementDescribedByMessage(I,He)||this._addMessageReference(I,He)}removeDescription(I,W,ae){if(!W||!this._isElementNode(I))return;const He=w(W,ae);if(this._isElementDescribedByMessage(I,He)&&this._removeMessageReference(I,He),"string"==typeof W){const Et=this._messageRegistry.get(He);Et&&0===Et.referenceCount&&this._deleteMessageElement(He)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const I=this._document.querySelectorAll(`[${ot}="${this._id}"]`);for(let W=0;W<I.length;W++)this._removeCdkDescribedByReferenceIds(I[W]),I[W].removeAttribute(ot);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(I,W){const ae=this._document.createElement("div");K(ae,this._id),ae.textContent=I,W&&ae.setAttribute("role",W),this._createMessagesContainer(),this._messagesContainer.appendChild(ae),this._messageRegistry.set(w(I,W),{messageElement:ae,referenceCount:0})}_deleteMessageElement(I){this._messageRegistry.get(I)?.messageElement?.remove(),this._messageRegistry.delete(I)}_createMessagesContainer(){if(this._messagesContainer)return;const I="cdk-describedby-message-container",W=this._document.querySelectorAll(`.${I}[platform="server"]`);for(let He=0;He<W.length;He++)W[He].remove();const ae=this._document.createElement("div");ae.style.visibility="hidden",ae.classList.add(I),ae.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&ae.setAttribute("platform","server"),this._document.body.appendChild(ae),this._messagesContainer=ae}_removeCdkDescribedByReferenceIds(I){const W=lt(I,"aria-describedby").filter(ae=>0!=ae.indexOf(ft));I.setAttribute("aria-describedby",W.join(" "))}_addMessageReference(I,W){const ae=this._messageRegistry.get(W);(function Ye(L,T,I){const W=lt(L,T);W.some(ae=>ae.trim()==I.trim())||(W.push(I.trim()),L.setAttribute(T,W.join(" ")))})(I,"aria-describedby",ae.messageElement.id),I.setAttribute(ot,this._id),ae.referenceCount++}_removeMessageReference(I,W){const ae=this._messageRegistry.get(W);ae.referenceCount--,function tt(L,T,I){const ae=lt(L,T).filter(He=>He!=I.trim());ae.length?L.setAttribute(T,ae.join(" ")):L.removeAttribute(T)}(I,"aria-describedby",ae.messageElement.id),I.removeAttribute(ot)}_isElementDescribedByMessage(I,W){const ae=lt(I,"aria-describedby"),He=this._messageRegistry.get(W),Et=He&&He.messageElement.id;return!!Et&&-1!=ae.indexOf(Et)}_canBeDescribed(I,W){if(!this._isElementNode(I))return!1;if(W&&"object"==typeof W)return!0;const ae=null==W?"":`${W}`.trim(),He=I.getAttribute("aria-label");return!(!ae||He&&He.trim()===ae)}_isElementNode(I){return I.nodeType===this._document.ELEMENT_NODE}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(s.K0),d.LFG(C.t4))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();function w(L,T){return"string"==typeof L?`${T||""}/${L}`:L}function K(L,T){L.id||(L.id=`${ft}-${T}-${fe++}`)}class De{constructor(T){this._items=T,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new $.x,this._typeaheadSubscription=k.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=I=>I.disabled,this._pressedLetters=[],this.tabOut=new $.x,this.change=new $.x,T instanceof d.n_E&&(this._itemChangesSubscription=T.changes.subscribe(I=>{if(this._activeItem){const ae=I.toArray().indexOf(this._activeItem);ae>-1&&ae!==this._activeItemIndex&&(this._activeItemIndex=ae)}}))}skipPredicate(T){return this._skipPredicateFn=T,this}withWrap(T=!0){return this._wrap=T,this}withVerticalOrientation(T=!0){return this._vertical=T,this}withHorizontalOrientation(T){return this._horizontal=T,this}withAllowedModifierKeys(T){return this._allowedModifierKeys=T,this}withTypeAhead(T=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ne.b)(I=>this._pressedLetters.push(I)),(0,R.b)(T),(0,Z.h)(()=>this._pressedLetters.length>0),(0,Y.U)(()=>this._pressedLetters.join(""))).subscribe(I=>{const W=this._getItemsArray();for(let ae=1;ae<W.length+1;ae++){const He=(this._activeItemIndex+ae)%W.length,Et=W[He];if(!this._skipPredicateFn(Et)&&0===Et.getLabel().toUpperCase().trim().indexOf(I)){this.setActiveItem(He);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(T=!0){return this._homeAndEnd=T,this}withPageUpDown(T=!0,I=10){return this._pageUpAndDown={enabled:T,delta:I},this}setActiveItem(T){const I=this._activeItem;this.updateActiveItem(T),this._activeItem!==I&&this.change.next(this._activeItemIndex)}onKeydown(T){const I=T.keyCode,ae=["altKey","ctrlKey","metaKey","shiftKey"].every(He=>!T[He]||this._allowedModifierKeys.indexOf(He)>-1);switch(I){case J.Mf:return void this.tabOut.next();case J.JH:if(this._vertical&&ae){this.setNextItemActive();break}return;case J.LH:if(this._vertical&&ae){this.setPreviousItemActive();break}return;case J.SV:if(this._horizontal&&ae){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case J.oh:if(this._horizontal&&ae){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case J.Sd:if(this._homeAndEnd&&ae){this.setFirstItemActive();break}return;case J.uR:if(this._homeAndEnd&&ae){this.setLastItemActive();break}return;case J.Ku:if(this._pageUpAndDown.enabled&&ae){const He=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(He>0?He:0,1);break}return;case J.VM:if(this._pageUpAndDown.enabled&&ae){const He=this._activeItemIndex+this._pageUpAndDown.delta,Et=this._getItemsArray().length;this._setActiveItemByIndex(He<Et?He:Et-1,-1);break}return;default:return void((ae||(0,J.Vb)(T,"shiftKey"))&&(T.key&&1===T.key.length?this._letterKeyStream.next(T.key.toLocaleUpperCase()):(I>=J.A&&I<=J.Z||I>=J.xE&&I<=J.aO)&&this._letterKeyStream.next(String.fromCharCode(I))))}this._pressedLetters=[],T.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(T){const I=this._getItemsArray(),W="number"==typeof T?T:I.indexOf(T);this._activeItem=I[W]??null,this._activeItemIndex=W}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(T){this._wrap?this._setActiveInWrapMode(T):this._setActiveInDefaultMode(T)}_setActiveInWrapMode(T){const I=this._getItemsArray();for(let W=1;W<=I.length;W++){const ae=(this._activeItemIndex+T*W+I.length)%I.length;if(!this._skipPredicateFn(I[ae]))return void this.setActiveItem(ae)}}_setActiveInDefaultMode(T){this._setActiveItemByIndex(this._activeItemIndex+T,T)}_setActiveItemByIndex(T,I){const W=this._getItemsArray();if(W[T]){for(;this._skipPredicateFn(W[T]);)if(!W[T+=I])return;this.setActiveItem(T)}}_getItemsArray(){return this._items instanceof d.n_E?this._items.toArray():this._items}}class et extends De{setActiveItem(T){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(T),this.activeItem&&this.activeItem.setActiveStyles()}}class Mt extends De{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(T){return this._origin=T,this}setActiveItem(T){super.setActiveItem(T),this.activeItem&&this.activeItem.focus(this._origin)}}let Lt=(()=>{class L{constructor(I){this._platform=I}isDisabled(I){return I.hasAttribute("disabled")}isVisible(I){return function hn(L){return!!(L.offsetWidth||L.offsetHeight||"function"==typeof L.getClientRects&&L.getClientRects().length)}(I)&&"visible"===getComputedStyle(I).visibility}isTabbable(I){if(!this._platform.isBrowser)return!1;const W=function Kt(L){try{return L.frameElement}catch{return null}}(function Te(L){return L.ownerDocument&&L.ownerDocument.defaultView||window}(I));if(W&&(-1===Ne(W)||!this.isVisible(W)))return!1;let ae=I.nodeName.toLowerCase(),He=Ne(I);return I.hasAttribute("contenteditable")?-1!==He:!("iframe"===ae||"object"===ae||this._platform.WEBKIT&&this._platform.IOS&&!function V(L){let T=L.nodeName.toLowerCase(),I="input"===T&&L.type;return"text"===I||"password"===I||"select"===T||"textarea"===T}(I))&&("audio"===ae?!!I.hasAttribute("controls")&&-1!==He:"video"===ae?-1!==He&&(null!==He||this._platform.FIREFOX||I.hasAttribute("controls")):I.tabIndex>=0)}isFocusable(I,W){return function de(L){return!function zt(L){return function Pn(L){return"input"==L.nodeName.toLowerCase()}(L)&&"hidden"==L.type}(L)&&(function mn(L){let T=L.nodeName.toLowerCase();return"input"===T||"select"===T||"button"===T||"textarea"===T}(L)||function bn(L){return function ln(L){return"a"==L.nodeName.toLowerCase()}(L)&&L.hasAttribute("href")}(L)||L.hasAttribute("contenteditable")||yn(L))}(I)&&!this.isDisabled(I)&&(W?.ignoreVisibility||this.isVisible(I))}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(C.t4))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();function yn(L){if(!L.hasAttribute("tabindex")||void 0===L.tabIndex)return!1;let T=L.getAttribute("tabindex");return!(!T||isNaN(parseInt(T,10)))}function Ne(L){if(!yn(L))return null;const T=parseInt(L.getAttribute("tabindex")||"",10);return isNaN(T)?-1:T}class Qe{get enabled(){return this._enabled}set enabled(T){this._enabled=T,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(T,this._startAnchor),this._toggleAnchorTabIndex(T,this._endAnchor))}constructor(T,I,W,ae,He=!1){this._element=T,this._checker=I,this._ngZone=W,this._document=ae,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,He||this.attachAnchors()}destroy(){const T=this._startAnchor,I=this._endAnchor;T&&(T.removeEventListener("focus",this.startAnchorListener),T.remove()),I&&(I.removeEventListener("focus",this.endAnchorListener),I.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(T){return new Promise(I=>{this._executeOnStable(()=>I(this.focusInitialElement(T)))})}focusFirstTabbableElementWhenReady(T){return new Promise(I=>{this._executeOnStable(()=>I(this.focusFirstTabbableElement(T)))})}focusLastTabbableElementWhenReady(T){return new Promise(I=>{this._executeOnStable(()=>I(this.focusLastTabbableElement(T)))})}_getRegionBoundary(T){const I=this._element.querySelectorAll(`[cdk-focus-region-${T}], [cdkFocusRegion${T}], [cdk-focus-${T}]`);return"start"==T?I.length?I[0]:this._getFirstTabbableElement(this._element):I.length?I[I.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(T){const I=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(I){if(!this._checker.isFocusable(I)){const W=this._getFirstTabbableElement(I);return W?.focus(T),!!W}return I.focus(T),!0}return this.focusFirstTabbableElement(T)}focusFirstTabbableElement(T){const I=this._getRegionBoundary("start");return I&&I.focus(T),!!I}focusLastTabbableElement(T){const I=this._getRegionBoundary("end");return I&&I.focus(T),!!I}hasAttached(){return this._hasAttached}_getFirstTabbableElement(T){if(this._checker.isFocusable(T)&&this._checker.isTabbable(T))return T;const I=T.children;for(let W=0;W<I.length;W++){const ae=I[W].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(I[W]):null;if(ae)return ae}return null}_getLastTabbableElement(T){if(this._checker.isFocusable(T)&&this._checker.isTabbable(T))return T;const I=T.children;for(let W=I.length-1;W>=0;W--){const ae=I[W].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(I[W]):null;if(ae)return ae}return null}_createAnchor(){const T=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,T),T.classList.add("cdk-visually-hidden"),T.classList.add("cdk-focus-trap-anchor"),T.setAttribute("aria-hidden","true"),T}_toggleAnchorTabIndex(T,I){T?I.setAttribute("tabindex","0"):I.removeAttribute("tabindex")}toggleAnchors(T){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(T,this._startAnchor),this._toggleAnchorTabIndex(T,this._endAnchor))}_executeOnStable(T){this._ngZone.isStable?T():this._ngZone.onStable.pipe((0,Ae.q)(1)).subscribe(T)}}let ct=(()=>{class L{constructor(I,W,ae){this._checker=I,this._ngZone=W,this._document=ae}create(I,W=!1){return new Qe(I,this._checker,this._ngZone,this._document,W)}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(Lt),d.LFG(d.R0b),d.LFG(s.K0))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),at=(()=>{class L{get enabled(){return this.focusTrap.enabled}set enabled(I){this.focusTrap.enabled=(0,ye.Ig)(I)}get autoCapture(){return this._autoCapture}set autoCapture(I){this._autoCapture=(0,ye.Ig)(I)}constructor(I,W,ae){this._elementRef=I,this._focusTrapFactory=W,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(I){const W=I.autoCapture;W&&!W.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,C.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return L.\u0275fac=function(I){return new(I||L)(d.Y36(d.SBq),d.Y36(ct),d.Y36(s.K0))},L.\u0275dir=d.lG2({type:L,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[d.TTD]}),L})();function mt(L){return 0===L.buttons||0===L.offsetX&&0===L.offsetY}function St(L){const T=L.touches&&L.touches[0]||L.changedTouches&&L.changedTouches[0];return!(!T||-1!==T.identifier||null!=T.radiusX&&1!==T.radiusX||null!=T.radiusY&&1!==T.radiusY)}const Ht=new d.OlP("cdk-input-modality-detector-options"),Ot={ignoreKeys:[J.zL,J.jx,J.b2,J.MW,J.JU]},jt=(0,C.i$)({passive:!0,capture:!0});let xn=(()=>{class L{get mostRecentModality(){return this._modality.value}constructor(I,W,ae,He){this._platform=I,this._mostRecentTarget=null,this._modality=new ee.X(null),this._lastTouchMs=0,this._onKeydown=Et=>{this._options?.ignoreKeys?.some(qt=>qt===Et.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,C.sA)(Et))},this._onMousedown=Et=>{Date.now()-this._lastTouchMs<650||(this._modality.next(mt(Et)?"keyboard":"mouse"),this._mostRecentTarget=(0,C.sA)(Et))},this._onTouchstart=Et=>{St(Et)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,C.sA)(Et))},this._options={...Ot,...He},this.modalityDetected=this._modality.pipe((0,be.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Be.x)()),I.isBrowser&&W.runOutsideAngular(()=>{ae.addEventListener("keydown",this._onKeydown,jt),ae.addEventListener("mousedown",this._onMousedown,jt),ae.addEventListener("touchstart",this._onTouchstart,jt)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,jt),document.removeEventListener("mousedown",this._onMousedown,jt),document.removeEventListener("touchstart",this._onTouchstart,jt))}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(C.t4),d.LFG(d.R0b),d.LFG(s.K0),d.LFG(Ht,8))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();const Nn=new d.OlP("liveAnnouncerElement",{providedIn:"root",factory:function It(){return null}}),ut=new d.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let z=0,x=(()=>{class L{constructor(I,W,ae,He){this._ngZone=W,this._defaultOptions=He,this._document=ae,this._liveElement=I||this._createLiveElement()}announce(I,...W){const ae=this._defaultOptions;let He,Et;return 1===W.length&&"number"==typeof W[0]?Et=W[0]:[He,Et]=W,this.clear(),clearTimeout(this._previousTimeout),He||(He=ae&&ae.politeness?ae.politeness:"polite"),null==Et&&ae&&(Et=ae.duration),this._liveElement.setAttribute("aria-live",He),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(qt=>this._currentResolve=qt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=I,"number"==typeof Et&&(this._previousTimeout=setTimeout(()=>this.clear(),Et)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const I="cdk-live-announcer-element",W=this._document.getElementsByClassName(I),ae=this._document.createElement("div");for(let He=0;He<W.length;He++)W[He].remove();return ae.classList.add(I),ae.classList.add("cdk-visually-hidden"),ae.setAttribute("aria-atomic","true"),ae.setAttribute("aria-live","polite"),ae.id="cdk-live-announcer-"+z++,this._document.body.appendChild(ae),ae}_exposeAnnouncerToModals(I){const W=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let ae=0;ae<W.length;ae++){const He=W[ae],Et=He.getAttribute("aria-owns");Et?-1===Et.indexOf(I)&&He.setAttribute("aria-owns",Et+" "+I):He.setAttribute("aria-owns",I)}}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(Nn,8),d.LFG(d.R0b),d.LFG(s.K0),d.LFG(ut,8))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();const ie=new d.OlP("cdk-focus-monitor-default-options"),Ie=(0,C.i$)({passive:!0,capture:!0});let te=(()=>{class L{constructor(I,W,ae,He,Et){this._ngZone=I,this._platform=W,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 $.x,this._rootNodeFocusAndBlurListener=qt=>{for(let ri=(0,C.sA)(qt);ri;ri=ri.parentElement)"focus"===qt.type?this._onFocus(qt,ri):this._onBlur(qt,ri)},this._document=He,this._detectionMode=Et?.detectionMode||0}monitor(I,W=!1){const ae=(0,ye.fI)(I);if(!this._platform.isBrowser||1!==ae.nodeType)return(0,ce.of)(null);const He=(0,C.kV)(ae)||this._getDocument(),Et=this._elementInfo.get(ae);if(Et)return W&&(Et.checkChildren=!0),Et.subject;const qt={checkChildren:W,subject:new $.x,rootNode:He};return this._elementInfo.set(ae,qt),this._registerGlobalListeners(qt),qt.subject}stopMonitoring(I){const W=(0,ye.fI)(I),ae=this._elementInfo.get(W);ae&&(ae.subject.complete(),this._setClasses(W),this._elementInfo.delete(W),this._removeGlobalListeners(ae))}focusVia(I,W,ae){const He=(0,ye.fI)(I);He===this._getDocument().activeElement?this._getClosestElementsInfo(He).forEach(([qt,oi])=>this._originChanged(qt,W,oi)):(this._setOrigin(W),"function"==typeof He.focus&&He.focus(ae))}ngOnDestroy(){this._elementInfo.forEach((I,W)=>this.stopMonitoring(W))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(I){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(I)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:I&&this._isLastInteractionFromInputLabel(I)?"mouse":"program"}_shouldBeAttributedToTouch(I){return 1===this._detectionMode||!!I?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(I,W){I.classList.toggle("cdk-focused",!!W),I.classList.toggle("cdk-touch-focused","touch"===W),I.classList.toggle("cdk-keyboard-focused","keyboard"===W),I.classList.toggle("cdk-mouse-focused","mouse"===W),I.classList.toggle("cdk-program-focused","program"===W)}_setOrigin(I,W=!1){this._ngZone.runOutsideAngular(()=>{this._origin=I,this._originFromTouchInteraction="touch"===I&&W,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(I,W){const ae=this._elementInfo.get(W),He=(0,C.sA)(I);!ae||!ae.checkChildren&&W!==He||this._originChanged(W,this._getFocusOrigin(He),ae)}_onBlur(I,W){const ae=this._elementInfo.get(W);!ae||ae.checkChildren&&I.relatedTarget instanceof Node&&W.contains(I.relatedTarget)||(this._setClasses(W),this._emitOrigin(ae,null))}_emitOrigin(I,W){I.subject.observers.length&&this._ngZone.run(()=>I.subject.next(W))}_registerGlobalListeners(I){if(!this._platform.isBrowser)return;const W=I.rootNode,ae=this._rootNodeFocusListenerCount.get(W)||0;ae||this._ngZone.runOutsideAngular(()=>{W.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ie),W.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ie)}),this._rootNodeFocusListenerCount.set(W,ae+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,ke.R)(this._stopInputModalityDetector)).subscribe(He=>{this._setOrigin(He,!0)}))}_removeGlobalListeners(I){const W=I.rootNode;if(this._rootNodeFocusListenerCount.has(W)){const ae=this._rootNodeFocusListenerCount.get(W);ae>1?this._rootNodeFocusListenerCount.set(W,ae-1):(W.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ie),W.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ie),this._rootNodeFocusListenerCount.delete(W))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(I,W,ae){this._setClasses(I,W),this._emitOrigin(ae,W),this._lastFocusOrigin=W}_getClosestElementsInfo(I){const W=[];return this._elementInfo.forEach((ae,He)=>{(He===I||ae.checkChildren&&He.contains(I))&&W.push([He,ae])}),W}_isLastInteractionFromInputLabel(I){const{_mostRecentTarget:W,mostRecentModality:ae}=this._inputModalityDetector;if("mouse"!==ae||!W||W===I||"INPUT"!==I.nodeName&&"TEXTAREA"!==I.nodeName||I.disabled)return!1;const He=I.labels;if(He)for(let Et=0;Et<He.length;Et++)if(He[Et].contains(W))return!0;return!1}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(d.R0b),d.LFG(C.t4),d.LFG(xn),d.LFG(s.K0,8),d.LFG(ie,8))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),re=(()=>{class L{constructor(I,W){this._elementRef=I,this._focusMonitor=W,this._focusOrigin=null,this.cdkFocusChange=new d.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const I=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(I,1===I.nodeType&&I.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(W=>{this._focusOrigin=W,this.cdkFocusChange.emit(W)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return L.\u0275fac=function(I){return new(I||L)(d.Y36(d.SBq),d.Y36(te))},L.\u0275dir=d.lG2({type:L,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),L})();const Ce="cdk-high-contrast-black-on-white",$e="cdk-high-contrast-white-on-black",Fe="cdk-high-contrast-active";let wt=(()=>{class L{constructor(I,W){this._platform=I,this._document=W,this._breakpointSubscription=(0,d.f3M)(Ge).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const I=this._document.createElement("div");I.style.backgroundColor="rgb(1,2,3)",I.style.position="absolute",this._document.body.appendChild(I);const W=this._document.defaultView||window,ae=W&&W.getComputedStyle?W.getComputedStyle(I):null,He=(ae&&ae.backgroundColor||"").replace(/ /g,"");switch(I.remove(),He){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 I=this._document.body.classList;I.remove(Fe,Ce,$e),this._hasCheckedHighContrastMode=!0;const W=this.getHighContrastMode();1===W?I.add(Fe,Ce):2===W&&I.add(Fe,$e)}}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(C.t4),d.LFG(s.K0))},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),he=(()=>{class L{constructor(I){I._applyBodyHighContrastModeCssClasses()}}return L.\u0275fac=function(I){return new(I||L)(d.LFG(wt))},L.\u0275mod=d.oAB({type:L}),L.\u0275inj=d.cJS({imports:[je.Q8]}),L})()},40445:(yt,Ee,g)=>{g.d(Ee,{Is:()=>ce,vT:()=>ne});var s=g(94650),d=g(36895);const C=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function $(){return(0,s.f3M)(d.K0)}}),k=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ce=(()=>{class R{constructor(Y){this.value="ltr",this.change=new s.vpe,Y&&(this.value=function ee(R){const Z=R?.toLowerCase()||"";return"auto"===Z&&typeof navigator<"u"&&navigator?.language?k.test(navigator.language)?"rtl":"ltr":"rtl"===Z?"rtl":"ltr"}((Y.body?Y.body.dir:null)||(Y.documentElement?Y.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return R.\u0275fac=function(Y){return new(Y||R)(s.LFG(C,8))},R.\u0275prov=s.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),ne=(()=>{class R{}return R.\u0275fac=function(Y){return new(Y||R)},R.\u0275mod=s.oAB({type:R}),R.\u0275inj=s.cJS({}),R})()},21281:(yt,Ee,g)=>{g.d(Ee,{Eq:()=>k,HM:()=>ee,Ig:()=>d,du:()=>J,fI:()=>ce,su:()=>C});var s=g(94650);function d(ne){return null!=ne&&"false"!=`${ne}`}function C(ne,R=0){return function $(ne){return!isNaN(parseFloat(ne))&&!isNaN(Number(ne))}(ne)?Number(ne):R}function k(ne){return Array.isArray(ne)?ne:[ne]}function ee(ne){return null==ne?"":"string"==typeof ne?ne:`${ne}px`}function ce(ne){return ne instanceof s.SBq?ne.nativeElement:ne}function J(ne,R=/\s+/){const Z=[];if(null!=ne){const Y=Array.isArray(ne)?ne:`${ne}`.split(R);for(const Ae of Y){const be=`${Ae}`.trim();be&&Z.push(be)}}return Z}},29521:(yt,Ee,g)=>{g.d(Ee,{A:()=>fe,JH:()=>ze,JU:()=>ee,K5:()=>k,Ku:()=>Ae,LH:()=>je,L_:()=>Y,MW:()=>it,Mf:()=>C,OC:()=>er,SV:()=>Ke,Sd:()=>ke,VM:()=>be,Vb:()=>An,Z:()=>_e,ZH:()=>d,aO:()=>tt,b2:()=>Si,hY:()=>Z,jx:()=>ce,oh:()=>ye,uR:()=>Be,xE:()=>oe,yY:()=>q,zL:()=>J});const d=8,C=9,k=13,ee=16,ce=17,J=18,Z=27,Y=32,Ae=33,be=34,Be=35,ke=36,ye=37,je=38,Ke=39,ze=40,q=46,oe=48,tt=57,fe=65,_e=90,it=91,er=188,Si=224;function An(ai,...Rn){return Rn.length?Rn.some(ki=>ai[ki]):ai.altKey||ai.shiftKey||ai.ctrlKey||ai.metaKey}},49643:(yt,Ee,g)=>{g.d(Ee,{Q8:()=>ne,wD:()=>J});var s=g(21281),d=g(94650),C=g(69751),$=g(77579),k=g(78372);let ee=(()=>{class R{create(Y){return typeof MutationObserver>"u"?null:new MutationObserver(Y)}}return R.\u0275fac=function(Y){return new(Y||R)},R.\u0275prov=d.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),ce=(()=>{class R{constructor(Y){this._mutationObserverFactory=Y,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((Y,Ae)=>this._cleanupObserver(Ae))}observe(Y){const Ae=(0,s.fI)(Y);return new C.y(be=>{const ke=this._observeElement(Ae).subscribe(be);return()=>{ke.unsubscribe(),this._unobserveElement(Ae)}})}_observeElement(Y){if(this._observedElements.has(Y))this._observedElements.get(Y).count++;else{const Ae=new $.x,be=this._mutationObserverFactory.create(Be=>Ae.next(Be));be&&be.observe(Y,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(Y,{observer:be,stream:Ae,count:1})}return this._observedElements.get(Y).stream}_unobserveElement(Y){this._observedElements.has(Y)&&(this._observedElements.get(Y).count--,this._observedElements.get(Y).count||this._cleanupObserver(Y))}_cleanupObserver(Y){if(this._observedElements.has(Y)){const{observer:Ae,stream:be}=this._observedElements.get(Y);Ae&&Ae.disconnect(),be.complete(),this._observedElements.delete(Y)}}}return R.\u0275fac=function(Y){return new(Y||R)(d.LFG(ee))},R.\u0275prov=d.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),J=(()=>{class R{get disabled(){return this._disabled}set disabled(Y){this._disabled=(0,s.Ig)(Y),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(Y){this._debounce=(0,s.su)(Y),this._subscribe()}constructor(Y,Ae,be){this._contentObserver=Y,this._elementRef=Ae,this._ngZone=be,this.event=new d.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const Y=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?Y.pipe((0,k.b)(this.debounce)):Y).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return R.\u0275fac=function(Y){return new(Y||R)(d.Y36(ce),d.Y36(d.SBq),d.Y36(d.R0b))},R.\u0275dir=d.lG2({type:R,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),R})(),ne=(()=>{class R{}return R.\u0275fac=function(Y){return new(Y||R)},R.\u0275mod=d.oAB({type:R}),R.\u0275inj=d.cJS({providers:[ee]}),R})()},98184:(yt,Ee,g)=>{g.d(Ee,{Iu:()=>tt,U8:()=>ln,X_:()=>q,Xj:()=>Ye,_G:()=>ft,aV:()=>Lt,pI:()=>zt,wJ:()=>Mt,xu:()=>mn});var s=g(67376),d=g(36895),C=g(94650),$=g(21281),k=g(83353),ee=g(40445),ce=g(84080),J=g(77579),ne=g(50727),R=g(56451),Z=g(95698),Y=g(82722),Ae=g(22529),be=g(29521);const Be=(0,k.Mq)();class ke{constructor(V,de){this._viewportRuler=V,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=de}attach(){}enable(){if(this._canBeEnabled()){const V=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=V.style.left||"",this._previousHTMLStyles.top=V.style.top||"",V.style.left=(0,$.HM)(-this._previousScrollPosition.left),V.style.top=(0,$.HM)(-this._previousScrollPosition.top),V.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const V=this._document.documentElement,Te=V.style,Qe=this._document.body.style,ct=Te.scrollBehavior||"",at=Qe.scrollBehavior||"";this._isEnabled=!1,Te.left=this._previousHTMLStyles.left,Te.top=this._previousHTMLStyles.top,V.classList.remove("cdk-global-scrollblock"),Be&&(Te.scrollBehavior=Qe.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Be&&(Te.scrollBehavior=ct,Qe.scrollBehavior=at)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const de=this._document.body,Te=this._viewportRuler.getViewportSize();return de.scrollHeight>Te.height||de.scrollWidth>Te.width}}class je{constructor(V,de,Te,Qe){this._scrollDispatcher=V,this._ngZone=de,this._viewportRuler=Te,this._config=Qe,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(V){this._overlayRef=V}enable(){if(this._scrollSubscription)return;const V=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=V.subscribe(()=>{const de=this._viewportRuler.getViewportScrollPosition().top;Math.abs(de-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=V.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Ke{enable(){}disable(){}attach(){}}function ze(Ne,V){return V.some(de=>Ne.bottom<de.top||Ne.top>de.bottom||Ne.right<de.left||Ne.left>de.right)}function xe(Ne,V){return V.some(de=>Ne.top<de.top||Ne.bottom>de.bottom||Ne.left<de.left||Ne.right>de.right)}class U{constructor(V,de,Te,Qe){this._scrollDispatcher=V,this._viewportRuler=de,this._ngZone=Te,this._config=Qe,this._scrollSubscription=null}attach(V){this._overlayRef=V}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const de=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Te,height:Qe}=this._viewportRuler.getViewportSize();ze(de,[{width:Te,height:Qe,bottom:Qe,right:Te,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let se=(()=>{class Ne{constructor(de,Te,Qe,ct){this._scrollDispatcher=de,this._viewportRuler=Te,this._ngZone=Qe,this.noop=()=>new Ke,this.close=at=>new je(this._scrollDispatcher,this._ngZone,this._viewportRuler,at),this.block=()=>new ke(this._viewportRuler,this._document),this.reposition=at=>new U(this._scrollDispatcher,this._viewportRuler,this._ngZone,at),this._document=ct}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(s.mF),C.LFG(s.rL),C.LFG(C.R0b),C.LFG(d.K0))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})();class q{constructor(V){if(this.scrollStrategy=new Ke,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,V){const de=Object.keys(V);for(const Te of de)void 0!==V[Te]&&(this[Te]=V[Te])}}}class ve{constructor(V,de){this.connectionPair=V,this.scrollableViewProperties=de}}let bt=(()=>{class Ne{constructor(de){this._attachedOverlays=[],this._document=de}ngOnDestroy(){this.detach()}add(de){this.remove(de),this._attachedOverlays.push(de)}remove(de){const Te=this._attachedOverlays.indexOf(de);Te>-1&&this._attachedOverlays.splice(Te,1),0===this._attachedOverlays.length&&this.detach()}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(d.K0))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),st=(()=>{class Ne extends bt{constructor(de,Te){super(de),this._ngZone=Te,this._keydownListener=Qe=>{const ct=this._attachedOverlays;for(let at=ct.length-1;at>-1;at--)if(ct[at]._keydownEvents.observers.length>0){const pt=ct[at]._keydownEvents;this._ngZone?this._ngZone.run(()=>pt.next(Qe)):pt.next(Qe);break}}}add(de){super.add(de),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(d.K0),C.LFG(C.R0b,8))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),Oe=(()=>{class Ne extends bt{constructor(de,Te,Qe){super(de),this._platform=Te,this._ngZone=Qe,this._cursorStyleIsSet=!1,this._pointerDownListener=ct=>{this._pointerDownEventTarget=(0,k.sA)(ct)},this._clickListener=ct=>{const at=(0,k.sA)(ct),pt="click"===ct.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:at;this._pointerDownEventTarget=null;const _e=this._attachedOverlays.slice();for(let it=_e.length-1;it>-1;it--){const ge=_e[it];if(ge._outsidePointerEvents.observers.length<1||!ge.hasAttached())continue;if(ge.overlayElement.contains(at)||ge.overlayElement.contains(pt))break;const Le=ge._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Le.next(ct)):Le.next(ct)}}}add(de){if(super.add(de),!this._isAttached){const Te=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Te)):this._addEventListeners(Te),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Te.style.cursor,Te.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const de=this._document.body;de.removeEventListener("pointerdown",this._pointerDownListener,!0),de.removeEventListener("click",this._clickListener,!0),de.removeEventListener("auxclick",this._clickListener,!0),de.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(de.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(de){de.addEventListener("pointerdown",this._pointerDownListener,!0),de.addEventListener("click",this._clickListener,!0),de.addEventListener("auxclick",this._clickListener,!0),de.addEventListener("contextmenu",this._clickListener,!0)}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(d.K0),C.LFG(k.t4),C.LFG(C.R0b,8))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),Ye=(()=>{class Ne{constructor(de,Te){this._platform=Te,this._document=de}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const de="cdk-overlay-container";if(this._platform.isBrowser||(0,k.Oy)()){const Qe=this._document.querySelectorAll(`.${de}[platform="server"], .${de}[platform="test"]`);for(let ct=0;ct<Qe.length;ct++)Qe[ct].remove()}const Te=this._document.createElement("div");Te.classList.add(de),(0,k.Oy)()?Te.setAttribute("platform","test"):this._platform.isBrowser||Te.setAttribute("platform","server"),this._document.body.appendChild(Te),this._containerElement=Te}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(d.K0),C.LFG(k.t4))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})();class tt{constructor(V,de,Te,Qe,ct,at,pt,_e,it,ge=!1){this._portalOutlet=V,this._host=de,this._pane=Te,this._config=Qe,this._ngZone=ct,this._keyboardDispatcher=at,this._document=pt,this._location=_e,this._outsideClickDispatcher=it,this._animationsDisabled=ge,this._backdropElement=null,this._backdropClick=new J.x,this._attachments=new J.x,this._detachments=new J.x,this._locationChanges=ne.w0.EMPTY,this._backdropClickHandler=Le=>this._backdropClick.next(Le),this._backdropTransitionendHandler=Le=>{this._disposeBackdrop(Le.target)},this._keydownEvents=new J.x,this._outsidePointerEvents=new J.x,Qe.scrollStrategy&&(this._scrollStrategy=Qe.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Qe.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(V){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const de=this._portalOutlet.attach(V);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Z.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof de?.onDestroy&&de.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),de}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const V=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),V}dispose(){const V=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,V&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(V){V!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=V,this.hasAttached()&&(V.attach(this),this.updatePosition()))}updateSize(V){this._config={...this._config,...V},this._updateElementSize()}setDirection(V){this._config={...this._config,direction:V},this._updateElementDirection()}addPanelClass(V){this._pane&&this._toggleClasses(this._pane,V,!0)}removePanelClass(V){this._pane&&this._toggleClasses(this._pane,V,!1)}getDirection(){const V=this._config.direction;return V?"string"==typeof V?V:V.value:"ltr"}updateScrollStrategy(V){V!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=V,this.hasAttached()&&(V.attach(this),V.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const V=this._pane.style;V.width=(0,$.HM)(this._config.width),V.height=(0,$.HM)(this._config.height),V.minWidth=(0,$.HM)(this._config.minWidth),V.minHeight=(0,$.HM)(this._config.minHeight),V.maxWidth=(0,$.HM)(this._config.maxWidth),V.maxHeight=(0,$.HM)(this._config.maxHeight)}_togglePointerEvents(V){this._pane.style.pointerEvents=V?"":"none"}_attachBackdrop(){const V="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(V)})}):this._backdropElement.classList.add(V)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const V=this._backdropElement;if(V){if(this._animationsDisabled)return void this._disposeBackdrop(V);V.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{V.addEventListener("transitionend",this._backdropTransitionendHandler)}),V.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(V)},500))}}_toggleClasses(V,de,Te){const Qe=(0,$.Eq)(de||[]).filter(ct=>!!ct);Qe.length&&(Te?V.classList.add(...Qe):V.classList.remove(...Qe))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const V=this._ngZone.onStable.pipe((0,Y.R)((0,R.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),V.unsubscribe())})})}_disposeScrollStrategy(){const V=this._scrollStrategy;V&&(V.disable(),V.detach&&V.detach())}_disposeBackdrop(V){V&&(V.removeEventListener("click",this._backdropClickHandler),V.removeEventListener("transitionend",this._backdropTransitionendHandler),V.remove(),this._backdropElement===V&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const lt="cdk-overlay-connected-position-bounding-box",vt=/([A-Za-z%]+)$/;class ft{get positions(){return this._preferredPositions}constructor(V,de,Te,Qe,ct){this._viewportRuler=de,this._document=Te,this._platform=Qe,this._overlayContainer=ct,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new J.x,this._resizeSubscription=ne.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(V)}attach(V){this._validatePositions(),V.hostElement.classList.add(lt),this._overlayRef=V,this._boundingBox=V.hostElement,this._pane=V.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const V=this._originRect,de=this._overlayRect,Te=this._viewportRect,Qe=this._containerRect,ct=[];let at;for(let pt of this._preferredPositions){let _e=this._getOriginPoint(V,Qe,pt),it=this._getOverlayPoint(_e,de,pt),ge=this._getOverlayFit(it,de,Te,pt);if(ge.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(pt,_e);this._canFitWithFlexibleDimensions(ge,it,Te)?ct.push({position:pt,origin:_e,overlayRect:de,boundingBoxRect:this._calculateBoundingBoxRect(_e,pt)}):(!at||at.overlayFit.visibleArea<ge.visibleArea)&&(at={overlayFit:ge,overlayPoint:it,originPoint:_e,position:pt,overlayRect:de})}if(ct.length){let pt=null,_e=-1;for(const it of ct){const ge=it.boundingBoxRect.width*it.boundingBoxRect.height*(it.position.weight||1);ge>_e&&(_e=ge,pt=it)}return this._isPushed=!1,void this._applyPosition(pt.position,pt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(at.position,at.originPoint);this._applyPosition(at.position,at.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ot(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(lt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const V=this._lastPosition;if(V){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const de=this._getOriginPoint(this._originRect,this._containerRect,V);this._applyPosition(V,de)}else this.apply()}withScrollableContainers(V){return this._scrollables=V,this}withPositions(V){return this._preferredPositions=V,-1===V.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(V){return this._viewportMargin=V,this}withFlexibleDimensions(V=!0){return this._hasFlexibleDimensions=V,this}withGrowAfterOpen(V=!0){return this._growAfterOpen=V,this}withPush(V=!0){return this._canPush=V,this}withLockedPosition(V=!0){return this._positionLocked=V,this}setOrigin(V){return this._origin=V,this}withDefaultOffsetX(V){return this._offsetX=V,this}withDefaultOffsetY(V){return this._offsetY=V,this}withTransformOriginOn(V){return this._transformOriginSelector=V,this}_getOriginPoint(V,de,Te){let Qe,ct;if("center"==Te.originX)Qe=V.left+V.width/2;else{const at=this._isRtl()?V.right:V.left,pt=this._isRtl()?V.left:V.right;Qe="start"==Te.originX?at:pt}return de.left<0&&(Qe-=de.left),ct="center"==Te.originY?V.top+V.height/2:"top"==Te.originY?V.top:V.bottom,de.top<0&&(ct-=de.top),{x:Qe,y:ct}}_getOverlayPoint(V,de,Te){let Qe,ct;return Qe="center"==Te.overlayX?-de.width/2:"start"===Te.overlayX?this._isRtl()?-de.width:0:this._isRtl()?0:-de.width,ct="center"==Te.overlayY?-de.height/2:"top"==Te.overlayY?0:-de.height,{x:V.x+Qe,y:V.y+ct}}_getOverlayFit(V,de,Te,Qe){const ct=G(de);let{x:at,y:pt}=V,_e=this._getOffset(Qe,"x"),it=this._getOffset(Qe,"y");_e&&(at+=_e),it&&(pt+=it);let mt=0-pt,St=pt+ct.height-Te.height,Ht=this._subtractOverflows(ct.width,0-at,at+ct.width-Te.width),Ot=this._subtractOverflows(ct.height,mt,St),nn=Ht*Ot;return{visibleArea:nn,isCompletelyWithinViewport:ct.width*ct.height===nn,fitsInViewportVertically:Ot===ct.height,fitsInViewportHorizontally:Ht==ct.width}}_canFitWithFlexibleDimensions(V,de,Te){if(this._hasFlexibleDimensions){const Qe=Te.bottom-de.y,ct=Te.right-de.x,at=fe(this._overlayRef.getConfig().minHeight),pt=fe(this._overlayRef.getConfig().minWidth);return(V.fitsInViewportVertically||null!=at&&at<=Qe)&&(V.fitsInViewportHorizontally||null!=pt&&pt<=ct)}return!1}_pushOverlayOnScreen(V,de,Te){if(this._previousPushAmount&&this._positionLocked)return{x:V.x+this._previousPushAmount.x,y:V.y+this._previousPushAmount.y};const Qe=G(de),ct=this._viewportRect,at=Math.max(V.x+Qe.width-ct.width,0),pt=Math.max(V.y+Qe.height-ct.height,0),_e=Math.max(ct.top-Te.top-V.y,0),it=Math.max(ct.left-Te.left-V.x,0);let ge=0,Le=0;return ge=Qe.width<=ct.width?it||-at:V.x<this._viewportMargin?ct.left-Te.left-V.x:0,Le=Qe.height<=ct.height?_e||-pt:V.y<this._viewportMargin?ct.top-Te.top-V.y:0,this._previousPushAmount={x:ge,y:Le},{x:V.x+ge,y:V.y+Le}}_applyPosition(V,de){if(this._setTransformOrigin(V),this._setOverlayElementStyles(de,V),this._setBoundingBoxStyles(de,V),V.panelClass&&this._addPanelClasses(V.panelClass),this._lastPosition=V,this._positionChanges.observers.length){const Te=this._getScrollVisibility(),Qe=new ve(V,Te);this._positionChanges.next(Qe)}this._isInitialRender=!1}_setTransformOrigin(V){if(!this._transformOriginSelector)return;const de=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Te,Qe=V.overlayY;Te="center"===V.overlayX?"center":this._isRtl()?"start"===V.overlayX?"right":"left":"start"===V.overlayX?"left":"right";for(let ct=0;ct<de.length;ct++)de[ct].style.transformOrigin=`${Te} ${Qe}`}_calculateBoundingBoxRect(V,de){const Te=this._viewportRect,Qe=this._isRtl();let ct,at,pt,ge,Le,mt;if("top"===de.overlayY)at=V.y,ct=Te.height-at+this._viewportMargin;else if("bottom"===de.overlayY)pt=Te.height-V.y+2*this._viewportMargin,ct=Te.height-pt+this._viewportMargin;else{const St=Math.min(Te.bottom-V.y+Te.top,V.y),Ht=this._lastBoundingBoxSize.height;ct=2*St,at=V.y-St,ct>Ht&&!this._isInitialRender&&!this._growAfterOpen&&(at=V.y-Ht/2)}if("end"===de.overlayX&&!Qe||"start"===de.overlayX&&Qe)mt=Te.width-V.x+this._viewportMargin,ge=V.x-this._viewportMargin;else if("start"===de.overlayX&&!Qe||"end"===de.overlayX&&Qe)Le=V.x,ge=Te.right-V.x;else{const St=Math.min(Te.right-V.x+Te.left,V.x),Ht=this._lastBoundingBoxSize.width;ge=2*St,Le=V.x-St,ge>Ht&&!this._isInitialRender&&!this._growAfterOpen&&(Le=V.x-Ht/2)}return{top:at,left:Le,bottom:pt,right:mt,width:ge,height:ct}}_setBoundingBoxStyles(V,de){const Te=this._calculateBoundingBoxRect(V,de);!this._isInitialRender&&!this._growAfterOpen&&(Te.height=Math.min(Te.height,this._lastBoundingBoxSize.height),Te.width=Math.min(Te.width,this._lastBoundingBoxSize.width));const Qe={};if(this._hasExactPosition())Qe.top=Qe.left="0",Qe.bottom=Qe.right=Qe.maxHeight=Qe.maxWidth="",Qe.width=Qe.height="100%";else{const ct=this._overlayRef.getConfig().maxHeight,at=this._overlayRef.getConfig().maxWidth;Qe.height=(0,$.HM)(Te.height),Qe.top=(0,$.HM)(Te.top),Qe.bottom=(0,$.HM)(Te.bottom),Qe.width=(0,$.HM)(Te.width),Qe.left=(0,$.HM)(Te.left),Qe.right=(0,$.HM)(Te.right),Qe.alignItems="center"===de.overlayX?"center":"end"===de.overlayX?"flex-end":"flex-start",Qe.justifyContent="center"===de.overlayY?"center":"bottom"===de.overlayY?"flex-end":"flex-start",ct&&(Qe.maxHeight=(0,$.HM)(ct)),at&&(Qe.maxWidth=(0,$.HM)(at))}this._lastBoundingBoxSize=Te,ot(this._boundingBox.style,Qe)}_resetBoundingBoxStyles(){ot(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ot(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(V,de){const Te={},Qe=this._hasExactPosition(),ct=this._hasFlexibleDimensions,at=this._overlayRef.getConfig();if(Qe){const ge=this._viewportRuler.getViewportScrollPosition();ot(Te,this._getExactOverlayY(de,V,ge)),ot(Te,this._getExactOverlayX(de,V,ge))}else Te.position="static";let pt="",_e=this._getOffset(de,"x"),it=this._getOffset(de,"y");_e&&(pt+=`translateX(${_e}px) `),it&&(pt+=`translateY(${it}px)`),Te.transform=pt.trim(),at.maxHeight&&(Qe?Te.maxHeight=(0,$.HM)(at.maxHeight):ct&&(Te.maxHeight="")),at.maxWidth&&(Qe?Te.maxWidth=(0,$.HM)(at.maxWidth):ct&&(Te.maxWidth="")),ot(this._pane.style,Te)}_getExactOverlayY(V,de,Te){let Qe={top:"",bottom:""},ct=this._getOverlayPoint(de,this._overlayRect,V);return this._isPushed&&(ct=this._pushOverlayOnScreen(ct,this._overlayRect,Te)),"bottom"===V.overlayY?Qe.bottom=this._document.documentElement.clientHeight-(ct.y+this._overlayRect.height)+"px":Qe.top=(0,$.HM)(ct.y),Qe}_getExactOverlayX(V,de,Te){let at,Qe={left:"",right:""},ct=this._getOverlayPoint(de,this._overlayRect,V);return this._isPushed&&(ct=this._pushOverlayOnScreen(ct,this._overlayRect,Te)),at=this._isRtl()?"end"===V.overlayX?"left":"right":"end"===V.overlayX?"right":"left","right"===at?Qe.right=this._document.documentElement.clientWidth-(ct.x+this._overlayRect.width)+"px":Qe.left=(0,$.HM)(ct.x),Qe}_getScrollVisibility(){const V=this._getOriginRect(),de=this._pane.getBoundingClientRect(),Te=this._scrollables.map(Qe=>Qe.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:xe(V,Te),isOriginOutsideView:ze(V,Te),isOverlayClipped:xe(de,Te),isOverlayOutsideView:ze(de,Te)}}_subtractOverflows(V,...de){return de.reduce((Te,Qe)=>Te-Math.max(Qe,0),V)}_getNarrowedViewportRect(){const V=this._document.documentElement.clientWidth,de=this._document.documentElement.clientHeight,Te=this._viewportRuler.getViewportScrollPosition();return{top:Te.top+this._viewportMargin,left:Te.left+this._viewportMargin,right:Te.left+V-this._viewportMargin,bottom:Te.top+de-this._viewportMargin,width:V-2*this._viewportMargin,height:de-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(V,de){return"x"===de?null==V.offsetX?this._offsetX:V.offsetX:null==V.offsetY?this._offsetY:V.offsetY}_validatePositions(){}_addPanelClasses(V){this._pane&&(0,$.Eq)(V).forEach(de=>{""!==de&&-1===this._appliedPanelClasses.indexOf(de)&&(this._appliedPanelClasses.push(de),this._pane.classList.add(de))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(V=>{this._pane.classList.remove(V)}),this._appliedPanelClasses=[])}_getOriginRect(){const V=this._origin;if(V instanceof C.SBq)return V.nativeElement.getBoundingClientRect();if(V instanceof Element)return V.getBoundingClientRect();const de=V.width||0,Te=V.height||0;return{top:V.y,bottom:V.y+Te,left:V.x,right:V.x+de,height:Te,width:de}}}function ot(Ne,V){for(let de in V)V.hasOwnProperty(de)&&(Ne[de]=V[de]);return Ne}function fe(Ne){if("number"!=typeof Ne&&null!=Ne){const[V,de]=Ne.split(vt);return de&&"px"!==de?null:parseFloat(V)}return Ne||null}function G(Ne){return{top:Math.floor(Ne.top),right:Math.floor(Ne.right),bottom:Math.floor(Ne.bottom),left:Math.floor(Ne.left),width:Math.floor(Ne.width),height:Math.floor(Ne.height)}}const De="cdk-global-overlay-wrapper";class et{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(V){const de=V.getConfig();this._overlayRef=V,this._width&&!de.width&&V.updateSize({width:this._width}),this._height&&!de.height&&V.updateSize({height:this._height}),V.hostElement.classList.add(De),this._isDisposed=!1}top(V=""){return this._bottomOffset="",this._topOffset=V,this._alignItems="flex-start",this}left(V=""){return this._xOffset=V,this._xPosition="left",this}bottom(V=""){return this._topOffset="",this._bottomOffset=V,this._alignItems="flex-end",this}right(V=""){return this._xOffset=V,this._xPosition="right",this}start(V=""){return this._xOffset=V,this._xPosition="start",this}end(V=""){return this._xOffset=V,this._xPosition="end",this}width(V=""){return this._overlayRef?this._overlayRef.updateSize({width:V}):this._width=V,this}height(V=""){return this._overlayRef?this._overlayRef.updateSize({height:V}):this._height=V,this}centerHorizontally(V=""){return this.left(V),this._xPosition="center",this}centerVertically(V=""){return this.top(V),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const V=this._overlayRef.overlayElement.style,de=this._overlayRef.hostElement.style,Te=this._overlayRef.getConfig(),{width:Qe,height:ct,maxWidth:at,maxHeight:pt}=Te,_e=!("100%"!==Qe&&"100vw"!==Qe||at&&"100%"!==at&&"100vw"!==at),it=!("100%"!==ct&&"100vh"!==ct||pt&&"100%"!==pt&&"100vh"!==pt),ge=this._xPosition,Le=this._xOffset,mt="rtl"===this._overlayRef.getConfig().direction;let St="",Ht="",Ot="";_e?Ot="flex-start":"center"===ge?(Ot="center",mt?Ht=Le:St=Le):mt?"left"===ge||"end"===ge?(Ot="flex-end",St=Le):("right"===ge||"start"===ge)&&(Ot="flex-start",Ht=Le):"left"===ge||"start"===ge?(Ot="flex-start",St=Le):("right"===ge||"end"===ge)&&(Ot="flex-end",Ht=Le),V.position=this._cssPosition,V.marginLeft=_e?"0":St,V.marginTop=it?"0":this._topOffset,V.marginBottom=this._bottomOffset,V.marginRight=_e?"0":Ht,de.justifyContent=Ot,de.alignItems=it?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const V=this._overlayRef.overlayElement.style,de=this._overlayRef.hostElement,Te=de.style;de.classList.remove(De),Te.justifyContent=Te.alignItems=V.marginTop=V.marginBottom=V.marginLeft=V.marginRight=V.position="",this._overlayRef=null,this._isDisposed=!0}}let Mt=(()=>{class Ne{constructor(de,Te,Qe,ct){this._viewportRuler=de,this._document=Te,this._platform=Qe,this._overlayContainer=ct}global(){return new et}flexibleConnectedTo(de){return new ft(de,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(s.rL),C.LFG(d.K0),C.LFG(k.t4),C.LFG(Ye))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),xt=0,Lt=(()=>{class Ne{constructor(de,Te,Qe,ct,at,pt,_e,it,ge,Le,mt,St){this.scrollStrategies=de,this._overlayContainer=Te,this._componentFactoryResolver=Qe,this._positionBuilder=ct,this._keyboardDispatcher=at,this._injector=pt,this._ngZone=_e,this._document=it,this._directionality=ge,this._location=Le,this._outsideClickDispatcher=mt,this._animationsModuleType=St}create(de){const Te=this._createHostElement(),Qe=this._createPaneElement(Te),ct=this._createPortalOutlet(Qe),at=new q(de);return at.direction=at.direction||this._directionality.value,new tt(ct,Te,Qe,at,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(de){const Te=this._document.createElement("div");return Te.id="cdk-overlay-"+xt++,Te.classList.add("cdk-overlay-pane"),de.appendChild(Te),Te}_createHostElement(){const de=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(de),de}_createPortalOutlet(de){return this._appRef||(this._appRef=this._injector.get(C.z2F)),new ce.u0(de,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.LFG(se),C.LFG(Ye),C.LFG(C._Vd),C.LFG(Mt),C.LFG(st),C.LFG(C.zs3),C.LFG(C.R0b),C.LFG(d.K0),C.LFG(ee.Is),C.LFG(d.Ye),C.LFG(Oe),C.LFG(C.QbO,8))},Ne.\u0275prov=C.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})();const Kt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],hn=new C.OlP("cdk-connected-overlay-scroll-strategy");let mn=(()=>{class Ne{constructor(de){this.elementRef=de}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.Y36(C.SBq))},Ne.\u0275dir=C.lG2({type:Ne,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),Ne})(),zt=(()=>{class Ne{get offsetX(){return this._offsetX}set offsetX(de){this._offsetX=de,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(de){this._offsetY=de,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(de){this._hasBackdrop=(0,$.Ig)(de)}get lockPosition(){return this._lockPosition}set lockPosition(de){this._lockPosition=(0,$.Ig)(de)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(de){this._flexibleDimensions=(0,$.Ig)(de)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(de){this._growAfterOpen=(0,$.Ig)(de)}get push(){return this._push}set push(de){this._push=(0,$.Ig)(de)}constructor(de,Te,Qe,ct,at){this._overlay=de,this._dir=at,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=ne.w0.EMPTY,this._attachSubscription=ne.w0.EMPTY,this._detachSubscription=ne.w0.EMPTY,this._positionSubscription=ne.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new C.vpe,this.positionChange=new C.vpe,this.attach=new C.vpe,this.detach=new C.vpe,this.overlayKeydown=new C.vpe,this.overlayOutsideClick=new C.vpe,this._templatePortal=new ce.UE(Te,Qe),this._scrollStrategyFactory=ct,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(de){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),de.origin&&this.open&&this._position.apply()),de.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Kt);const de=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=de.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=de.detachments().subscribe(()=>this.detach.emit()),de.keydownEvents().subscribe(Te=>{this.overlayKeydown.next(Te),Te.keyCode===be.hY&&!this.disableClose&&!(0,be.Vb)(Te)&&(Te.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Te=>{this.overlayOutsideClick.next(Te)})}_buildConfig(){const de=this._position=this.positionStrategy||this._createPositionStrategy(),Te=new q({direction:this._dir,positionStrategy:de,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Te.width=this.width),(this.height||0===this.height)&&(Te.height=this.height),(this.minWidth||0===this.minWidth)&&(Te.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Te.minHeight=this.minHeight),this.backdropClass&&(Te.backdropClass=this.backdropClass),this.panelClass&&(Te.panelClass=this.panelClass),Te}_updatePositionStrategy(de){const Te=this.positions.map(Qe=>({originX:Qe.originX,originY:Qe.originY,overlayX:Qe.overlayX,overlayY:Qe.overlayY,offsetX:Qe.offsetX||this.offsetX,offsetY:Qe.offsetY||this.offsetY,panelClass:Qe.panelClass||void 0}));return de.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Te).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const de=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(de),de}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof mn?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(de=>{this.backdropClick.emit(de)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,Ae.o)(()=>this.positionChange.observers.length>0)).subscribe(de=>{this.positionChange.emit(de),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Ne.\u0275fac=function(de){return new(de||Ne)(C.Y36(Lt),C.Y36(C.Rgc),C.Y36(C.s_b),C.Y36(hn),C.Y36(ee.Is,8))},Ne.\u0275dir=C.lG2({type:Ne,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[C.TTD]}),Ne})();const Pn={provide:hn,deps:[Lt],useFactory:function bn(Ne){return()=>Ne.scrollStrategies.reposition()}};let ln=(()=>{class Ne{}return Ne.\u0275fac=function(de){return new(de||Ne)},Ne.\u0275mod=C.oAB({type:Ne}),Ne.\u0275inj=C.cJS({providers:[Lt,Pn],imports:[ee.vT,ce.eL,s.Cl,s.Cl]}),Ne})()},83353:(yt,Ee,g)=>{g.d(Ee,{Mq:()=>be,Oy:()=>xe,_i:()=>Be,ht:()=>Ke,i$:()=>Z,kV:()=>je,qK:()=>J,sA:()=>ze,t4:()=>$});var s=g(94650),d=g(36895);let C;try{C=typeof Intl<"u"&&Intl.v8BreakIterator}catch{C=!1}let ee,$=(()=>{class U{constructor(q){this._platformId=q,this.isBrowser=this._platformId?(0,d.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&&!C)&&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}}return U.\u0275fac=function(q){return new(q||U)(s.LFG(s.Lbi))},U.\u0275prov=s.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),U})();const ce=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function J(){if(ee)return ee;if("object"!=typeof document||!document)return ee=new Set(ce),ee;let U=document.createElement("input");return ee=new Set(ce.filter(se=>(U.setAttribute("type",se),U.type===se))),ee}let ne,Y,Ae,ke;function Z(U){return function R(){if(null==ne&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ne=!0}))}finally{ne=ne||!1}return ne}()?U:!!U.capture}function be(){if(null==Ae){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ae=!1,Ae;if("scrollBehavior"in document.documentElement.style)Ae=!0;else{const U=Element.prototype.scrollTo;Ae=!!U&&!/\{\s*\[native code\]\s*\}/.test(U.toString())}}return Ae}function Be(){if("object"!=typeof document||!document)return 0;if(null==Y){const U=document.createElement("div"),se=U.style;U.dir="rtl",se.width="1px",se.overflow="auto",se.visibility="hidden",se.pointerEvents="none",se.position="absolute";const q=document.createElement("div"),oe=q.style;oe.width="2px",oe.height="1px",U.appendChild(q),document.body.appendChild(U),Y=0,0===U.scrollLeft&&(U.scrollLeft=1,Y=0===U.scrollLeft?1:2),U.remove()}return Y}function je(U){if(function ye(){if(null==ke){const U=typeof document<"u"?document.head:null;ke=!(!U||!U.createShadowRoot&&!U.attachShadow)}return ke}()){const se=U.getRootNode?U.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&se instanceof ShadowRoot)return se}return null}function Ke(){let U=typeof document<"u"&&document?document.activeElement:null;for(;U&&U.shadowRoot;){const se=U.shadowRoot.activeElement;if(se===U)break;U=se}return U}function ze(U){return U.composedPath?U.composedPath()[0]:U.target}function xe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},84080:(yt,Ee,g)=>{g.d(Ee,{C5:()=>R,Pl:()=>Ke,UE:()=>Z,eL:()=>xe,en:()=>Ae,ig:()=>ye,u0:()=>Be});var s=g(94650),d=g(36895);class ne{attach(q){return this._attachedHost=q,q.attach(this)}detach(){let q=this._attachedHost;null!=q&&(this._attachedHost=null,q.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(q){this._attachedHost=q}}class R extends ne{constructor(q,oe,le,ve,Ze){super(),this.component=q,this.viewContainerRef=oe,this.injector=le,this.componentFactoryResolver=ve,this.projectableNodes=Ze}}class Z extends ne{constructor(q,oe,le,ve){super(),this.templateRef=q,this.viewContainerRef=oe,this.context=le,this.injector=ve}get origin(){return this.templateRef.elementRef}attach(q,oe=this.context){return this.context=oe,super.attach(q)}detach(){return this.context=void 0,super.detach()}}class Y extends ne{constructor(q){super(),this.element=q instanceof s.SBq?q.nativeElement:q}}class Ae{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(q){return q instanceof R?(this._attachedPortal=q,this.attachComponentPortal(q)):q instanceof Z?(this._attachedPortal=q,this.attachTemplatePortal(q)):this.attachDomPortal&&q instanceof Y?(this._attachedPortal=q,this.attachDomPortal(q)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(q){this._disposeFn=q}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Be extends Ae{constructor(q,oe,le,ve,Ze){super(),this.outletElement=q,this._componentFactoryResolver=oe,this._appRef=le,this._defaultInjector=ve,this.attachDomPortal=Ge=>{const bt=Ge.element,st=this._document.createComment("dom-portal");bt.parentNode.insertBefore(st,bt),this.outletElement.appendChild(bt),this._attachedPortal=Ge,super.setDisposeFn(()=>{st.parentNode&&st.parentNode.replaceChild(bt,st)})},this._document=Ze}attachComponentPortal(q){const le=(q.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(q.component);let ve;return q.viewContainerRef?(ve=q.viewContainerRef.createComponent(le,q.viewContainerRef.length,q.injector||q.viewContainerRef.injector,q.projectableNodes||void 0),this.setDisposeFn(()=>ve.destroy())):(ve=le.create(q.injector||this._defaultInjector||s.zs3.NULL),this._appRef.attachView(ve.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ve.hostView),ve.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ve)),this._attachedPortal=q,ve}attachTemplatePortal(q){let oe=q.viewContainerRef,le=oe.createEmbeddedView(q.templateRef,q.context,{injector:q.injector});return le.rootNodes.forEach(ve=>this.outletElement.appendChild(ve)),le.detectChanges(),this.setDisposeFn(()=>{let ve=oe.indexOf(le);-1!==ve&&oe.remove(ve)}),this._attachedPortal=q,le}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(q){return q.hostView.rootNodes[0]}}let ye=(()=>{class se extends Z{constructor(oe,le){super(oe,le)}}return se.\u0275fac=function(oe){return new(oe||se)(s.Y36(s.Rgc),s.Y36(s.s_b))},se.\u0275dir=s.lG2({type:se,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[s.qOj]}),se})(),Ke=(()=>{class se extends Ae{constructor(oe,le,ve){super(),this._componentFactoryResolver=oe,this._viewContainerRef=le,this._isInitialized=!1,this.attached=new s.vpe,this.attachDomPortal=Ze=>{const Ge=Ze.element,bt=this._document.createComment("dom-portal");Ze.setAttachedHost(this),Ge.parentNode.insertBefore(bt,Ge),this._getRootNode().appendChild(Ge),this._attachedPortal=Ze,super.setDisposeFn(()=>{bt.parentNode&&bt.parentNode.replaceChild(Ge,bt)})},this._document=ve}get portal(){return this._attachedPortal}set portal(oe){this.hasAttached()&&!oe&&!this._isInitialized||(this.hasAttached()&&super.detach(),oe&&super.attach(oe),this._attachedPortal=oe||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(oe){oe.setAttachedHost(this);const le=null!=oe.viewContainerRef?oe.viewContainerRef:this._viewContainerRef,Ze=(oe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(oe.component),Ge=le.createComponent(Ze,le.length,oe.injector||le.injector,oe.projectableNodes||void 0);return le!==this._viewContainerRef&&this._getRootNode().appendChild(Ge.hostView.rootNodes[0]),super.setDisposeFn(()=>Ge.destroy()),this._attachedPortal=oe,this._attachedRef=Ge,this.attached.emit(Ge),Ge}attachTemplatePortal(oe){oe.setAttachedHost(this);const le=this._viewContainerRef.createEmbeddedView(oe.templateRef,oe.context,{injector:oe.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=oe,this._attachedRef=le,this.attached.emit(le),le}_getRootNode(){const oe=this._viewContainerRef.element.nativeElement;return oe.nodeType===oe.ELEMENT_NODE?oe:oe.parentNode}}return se.\u0275fac=function(oe){return new(oe||se)(s.Y36(s._Vd),s.Y36(s.s_b),s.Y36(d.K0))},se.\u0275dir=s.lG2({type:se,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[s.qOj]}),se})(),xe=(()=>{class se{}return se.\u0275fac=function(oe){return new(oe||se)},se.\u0275mod=s.oAB({type:se}),se.\u0275inj=s.cJS({}),se})()},67376:(yt,Ee,g)=>{g.d(Ee,{Cl:()=>ot,PQ:()=>oe,ZD:()=>ft,mF:()=>q,rL:()=>ve});var s=g(21281),d=g(94650),C=g(77579),$=g(39646),k=g(69751),ee=g(54968),ce=g(66406),J=g(53101),ne=g(50727),R=g(23601),Z=g(39300),Y=g(82722),Ae=g(68675),be=g(83353),Be=g(36895),ke=g(40445);const ye=["contentWrapper"],je=["*"],Ke=new d.OlP("VIRTUAL_SCROLL_STRATEGY");let q=(()=>{class fe{constructor(w,K,De){this._ngZone=w,this._platform=K,this._scrolled=new C.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=De}register(w){this.scrollContainers.has(w)||this.scrollContainers.set(w,w.elementScrolled().subscribe(()=>this._scrolled.next(w)))}deregister(w){const K=this.scrollContainers.get(w);K&&(K.unsubscribe(),this.scrollContainers.delete(w))}scrolled(w=20){return this._platform.isBrowser?new k.y(K=>{this._globalSubscription||this._addGlobalListener();const De=w>0?this._scrolled.pipe((0,R.e)(w)).subscribe(K):this._scrolled.subscribe(K);return this._scrolledCount++,()=>{De.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,$.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((w,K)=>this.deregister(K)),this._scrolled.complete()}ancestorScrolled(w,K){const De=this.getAncestorScrollContainers(w);return this.scrolled(K).pipe((0,Z.h)(et=>!et||De.indexOf(et)>-1))}getAncestorScrollContainers(w){const K=[];return this.scrollContainers.forEach((De,et)=>{this._scrollableContainsElement(et,w)&&K.push(et)}),K}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(w,K){let De=(0,s.fI)(K),et=w.getElementRef().nativeElement;do{if(De==et)return!0}while(De=De.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const w=this._getWindow();return(0,ee.R)(w.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return fe.\u0275fac=function(w){return new(w||fe)(d.LFG(d.R0b),d.LFG(be.t4),d.LFG(Be.K0,8))},fe.\u0275prov=d.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),oe=(()=>{class fe{constructor(w,K,De,et){this.elementRef=w,this.scrollDispatcher=K,this.ngZone=De,this.dir=et,this._destroyed=new C.x,this._elementScrolled=new k.y(Mt=>this.ngZone.runOutsideAngular(()=>(0,ee.R)(this.elementRef.nativeElement,"scroll").pipe((0,Y.R)(this._destroyed)).subscribe(Mt)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(w){const K=this.elementRef.nativeElement,De=this.dir&&"rtl"==this.dir.value;null==w.left&&(w.left=De?w.end:w.start),null==w.right&&(w.right=De?w.start:w.end),null!=w.bottom&&(w.top=K.scrollHeight-K.clientHeight-w.bottom),De&&0!=(0,be._i)()?(null!=w.left&&(w.right=K.scrollWidth-K.clientWidth-w.left),2==(0,be._i)()?w.left=w.right:1==(0,be._i)()&&(w.left=w.right?-w.right:w.right)):null!=w.right&&(w.left=K.scrollWidth-K.clientWidth-w.right),this._applyScrollToOptions(w)}_applyScrollToOptions(w){const K=this.elementRef.nativeElement;(0,be.Mq)()?K.scrollTo(w):(null!=w.top&&(K.scrollTop=w.top),null!=w.left&&(K.scrollLeft=w.left))}measureScrollOffset(w){const K="left",et=this.elementRef.nativeElement;if("top"==w)return et.scrollTop;if("bottom"==w)return et.scrollHeight-et.clientHeight-et.scrollTop;const Mt=this.dir&&"rtl"==this.dir.value;return"start"==w?w=Mt?"right":K:"end"==w&&(w=Mt?K:"right"),Mt&&2==(0,be._i)()?w==K?et.scrollWidth-et.clientWidth-et.scrollLeft:et.scrollLeft:Mt&&1==(0,be._i)()?w==K?et.scrollLeft+et.scrollWidth-et.clientWidth:-et.scrollLeft:w==K?et.scrollLeft:et.scrollWidth-et.clientWidth-et.scrollLeft}}return fe.\u0275fac=function(w){return new(w||fe)(d.Y36(d.SBq),d.Y36(q),d.Y36(d.R0b),d.Y36(ke.Is,8))},fe.\u0275dir=d.lG2({type:fe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),fe})(),ve=(()=>{class fe{constructor(w,K,De){this._platform=w,this._change=new C.x,this._changeListener=et=>{this._change.next(et)},this._document=De,K.runOutsideAngular(()=>{if(w.isBrowser){const et=this._getWindow();et.addEventListener("resize",this._changeListener),et.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const w=this._getWindow();w.removeEventListener("resize",this._changeListener),w.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const w={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),w}getViewportRect(){const w=this.getViewportScrollPosition(),{width:K,height:De}=this.getViewportSize();return{top:w.top,left:w.left,bottom:w.top+De,right:w.left+K,height:De,width:K}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const w=this._document,K=this._getWindow(),De=w.documentElement,et=De.getBoundingClientRect();return{top:-et.top||w.body.scrollTop||K.scrollY||De.scrollTop||0,left:-et.left||w.body.scrollLeft||K.scrollX||De.scrollLeft||0}}change(w=20){return w>0?this._change.pipe((0,R.e)(w)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const w=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:w.innerWidth,height:w.innerHeight}:{width:0,height:0}}}return fe.\u0275fac=function(w){return new(w||fe)(d.LFG(be.t4),d.LFG(d.R0b),d.LFG(Be.K0,8))},fe.\u0275prov=d.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();const Ze=new d.OlP("VIRTUAL_SCROLLABLE");let Ge=(()=>{class fe extends oe{constructor(w,K,De,et){super(w,K,De,et)}measureViewportSize(w){const K=this.elementRef.nativeElement;return"horizontal"===w?K.clientWidth:K.clientHeight}}return fe.\u0275fac=function(w){return new(w||fe)(d.Y36(d.SBq),d.Y36(q),d.Y36(d.R0b),d.Y36(ke.Is,8))},fe.\u0275dir=d.lG2({type:fe,features:[d.qOj]}),fe})();const st=typeof requestAnimationFrame<"u"?ce.Z:J.E;let Oe=(()=>{class fe extends Ge{get orientation(){return this._orientation}set orientation(w){this._orientation!==w&&(this._orientation=w,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(w){this._appendOnly=(0,s.Ig)(w)}constructor(w,K,De,et,Mt,xt,Lt,Kt){super(w,xt,De,Mt),this.elementRef=w,this._changeDetectorRef=K,this._scrollStrategy=et,this.scrollable=Kt,this._platform=(0,d.f3M)(be.t4),this._detachedSubject=new C.x,this._renderedRangeSubject=new C.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new k.y(hn=>this._scrollStrategy.scrolledIndexChange.subscribe(mn=>Promise.resolve().then(()=>this.ngZone.run(()=>hn.next(mn))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=ne.w0.EMPTY,this._viewportChanges=Lt.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,Ae.O)(null),(0,R.e)(0,st)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(w){this.ngZone.runOutsideAngular(()=>{this._forOf=w,this._forOf.dataStream.pipe((0,Y.R)(this._detachedSubject)).subscribe(K=>{const De=K.length;De!==this._dataLength&&(this._dataLength=De,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(w){return this.getElementRef().nativeElement.getBoundingClientRect()[w]}setTotalContentSize(w){this._totalContentSize!==w&&(this._totalContentSize=w,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(w){(function bt(fe,G){return fe.start==G.start&&fe.end==G.end})(this._renderedRange,w)||(this.appendOnly&&(w={start:0,end:Math.max(this._renderedRange.end,w.end)}),this._renderedRangeSubject.next(this._renderedRange=w),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(w,K="to-start"){w=this.appendOnly&&"to-start"===K?0:w;const et="horizontal"==this.orientation,Mt=et?"X":"Y";let Lt=`translate${Mt}(${Number((et&&this.dir&&"rtl"==this.dir.value?-1:1)*w)}px)`;this._renderedContentOffset=w,"to-end"===K&&(Lt+=` translate${Mt}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=Lt&&(this._renderedContentTransform=Lt,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(w,K="auto"){const De={behavior:K};"horizontal"===this.orientation?De.start=w:De.top=w,this.scrollable.scrollTo(De)}scrollToIndex(w,K="auto"){this._scrollStrategy.scrollToIndex(w,K)}measureScrollOffset(w){let K;return K=this.scrollable==this?De=>super.measureScrollOffset(De):De=>this.scrollable.measureScrollOffset(De),Math.max(0,K(w??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(w){let K;const Mt="rtl"==this.dir?.value;K="start"==w?Mt?"right":"left":"end"==w?Mt?"left":"right":w||("horizontal"===this.orientation?"left":"top");const xt=this.scrollable.measureBoundingClientRectWithScrollOffset(K);return this.elementRef.nativeElement.getBoundingClientRect()[K]-xt}measureRenderedContentSize(){const w=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?w.offsetWidth:w.offsetHeight}measureRangeSize(w){return this._forOf?this._forOf.measureRangeSize(w,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(w){w&&this._runAfterChangeDetection.push(w),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const w=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const K of w)K()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return fe.\u0275fac=function(w){return new(w||fe)(d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(d.R0b),d.Y36(Ke,8),d.Y36(ke.Is,8),d.Y36(q),d.Y36(ve),d.Y36(Ze,8))},fe.\u0275cmp=d.Xpm({type:fe,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(w,K){if(1&w&&d.Gf(ye,7),2&w){let De;d.iGM(De=d.CRH())&&(K._contentWrapper=De.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(w,K){2&w&&d.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===K.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==K.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[d._Bn([{provide:oe,useFactory:(G,w)=>G||w,deps:[[new d.FiY,new d.tBr(Ze)],fe]}]),d.qOj,d.jDz],ngContentSelectors:je,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(w,K){1&w&&(d.F$t(),d.TgZ(0,"div",0,1),d.Hsn(2),d.qZA(),d._UZ(3,"div",2)),2&w&&(d.xp6(3),d.Udp("width",K._totalContentWidth)("height",K._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),fe})(),ft=(()=>{class fe{}return fe.\u0275fac=function(w){return new(w||fe)},fe.\u0275mod=d.oAB({type:fe}),fe.\u0275inj=d.cJS({}),fe})(),ot=(()=>{class fe{}return fe.\u0275fac=function(w){return new(w||fe)},fe.\u0275mod=d.oAB({type:fe}),fe.\u0275inj=d.cJS({imports:[ke.vT,ft,Oe,ke.vT,ft]}),fe})()},36895:(yt,Ee,g)=>{g.d(Ee,{$G:()=>tn,Do:()=>Ke,ED:()=>pr,EM:()=>Qi,H9:()=>Lr,HT:()=>$,JF:()=>yr,JJ:()=>co,K0:()=>ee,Mx:()=>Cr,NF:()=>Bn,O5:()=>ki,OU:()=>Se,Ov:()=>Di,PC:()=>Fi,PM:()=>pn,RF:()=>wr,S$:()=>ke,Ts:()=>Io,V_:()=>ne,Ye:()=>ze,b0:()=>je,bD:()=>ht,ez:()=>We,gd:()=>li,mk:()=>kt,n9:()=>bi,p6:()=>it,q:()=>C,sg:()=>An,tP:()=>nr,uU:()=>Li,w_:()=>k});var s=g(94650);let d=null;function C(){return d}function $(m){d||(d=m)}class k{}const ee=new s.OlP("DocumentToken");let ce=(()=>{class m{historyGo(D){throw new Error("Not implemented")}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275prov=s.Yz7({token:m,factory:function(){return function J(){return(0,s.LFG)(R)}()},providedIn:"platform"}),m})();const ne=new s.OlP("Location Initialized");let R=(()=>{class m extends ce{constructor(D){super(),this._doc=D,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return C().getBaseHref(this._doc)}onPopState(D){const j=C().getGlobalEventTarget(this._doc,"window");return j.addEventListener("popstate",D,!1),()=>j.removeEventListener("popstate",D)}onHashChange(D){const j=C().getGlobalEventTarget(this._doc,"window");return j.addEventListener("hashchange",D,!1),()=>j.removeEventListener("hashchange",D)}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(D){this._location.pathname=D}pushState(D,j,pe){Z()?this._history.pushState(D,j,pe):this._location.hash=pe}replaceState(D,j,pe){Z()?this._history.replaceState(D,j,pe):this._location.hash=pe}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return m.\u0275fac=function(D){return new(D||m)(s.LFG(ee))},m.\u0275prov=s.Yz7({token:m,factory:function(){return function Y(){return new R((0,s.LFG)(ee))}()},providedIn:"platform"}),m})();function Z(){return!!window.history.pushState}function Ae(m,P){if(0==m.length)return P;if(0==P.length)return m;let D=0;return m.endsWith("/")&&D++,P.startsWith("/")&&D++,2==D?m+P.substring(1):1==D?m+P:m+"/"+P}function be(m){const P=m.match(/#|\?|$/),D=P&&P.index||m.length;return m.slice(0,D-("/"===m[D-1]?1:0))+m.slice(D)}function Be(m){return m&&"?"!==m[0]?"?"+m:m}let ke=(()=>{class m{historyGo(D){throw new Error("Not implemented")}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275prov=s.Yz7({token:m,factory:function(){return(0,s.f3M)(je)},providedIn:"root"}),m})();const ye=new s.OlP("appBaseHref");let je=(()=>{class m extends ke{constructor(D,j){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=j??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)(ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return Ae(this._baseHref,D)}path(D=!1){const j=this._platformLocation.pathname+Be(this._platformLocation.search),pe=this._platformLocation.hash;return pe&&D?`${j}${pe}`:j}pushState(D,j,pe,Je){const gt=this.prepareExternalUrl(pe+Be(Je));this._platformLocation.pushState(D,j,gt)}replaceState(D,j,pe,Je){const gt=this.prepareExternalUrl(pe+Be(Je));this._platformLocation.replaceState(D,j,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return m.\u0275fac=function(D){return new(D||m)(s.LFG(ce),s.LFG(ye,8))},m.\u0275prov=s.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})(),Ke=(()=>{class m extends ke{constructor(D,j){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=j&&(this._baseHref=j)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let j=this._platformLocation.hash;return null==j&&(j="#"),j.length>0?j.substring(1):j}prepareExternalUrl(D){const j=Ae(this._baseHref,D);return j.length>0?"#"+j:j}pushState(D,j,pe,Je){let gt=this.prepareExternalUrl(pe+Be(Je));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.pushState(D,j,gt)}replaceState(D,j,pe,Je){let gt=this.prepareExternalUrl(pe+Be(Je));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.replaceState(D,j,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return m.\u0275fac=function(D){return new(D||m)(s.LFG(ce),s.LFG(ye,8))},m.\u0275prov=s.Yz7({token:m,factory:m.\u0275fac}),m})(),ze=(()=>{class m{constructor(D){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const j=this._locationStrategy.getBaseHref();this._basePath=function q(m){if(new RegExp("^(https?:)?//").test(m)){const[,D]=m.split(/\/\/[^\/]+/);return D}return m}(be(se(j))),this._locationStrategy.onPopState(pe=>{this._subject.emit({url:this.path(!0),pop:!0,state:pe.state,type:pe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,j=""){return this.path()==this.normalize(D+Be(j))}normalize(D){return m.stripTrailingSlash(function U(m,P){if(!m||!P.startsWith(m))return P;const D=P.substring(m.length);return""===D||["/",";","?","#"].includes(D[0])?D:P}(this._basePath,se(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,j="",pe=null){this._locationStrategy.pushState(pe,"",D,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Be(j)),pe)}replaceState(D,j="",pe=null){this._locationStrategy.replaceState(pe,"",D,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Be(j)),pe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){this._locationStrategy.historyGo?.(D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(j=>{this._notifyUrlChangeListeners(j.url,j.state)})),()=>{const j=this._urlChangeListeners.indexOf(D);this._urlChangeListeners.splice(j,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",j){this._urlChangeListeners.forEach(pe=>pe(D,j))}subscribe(D,j,pe){return this._subject.subscribe({next:D,error:j,complete:pe})}}return m.normalizeQueryParams=Be,m.joinWithSlash=Ae,m.stripTrailingSlash=be,m.\u0275fac=function(D){return new(D||m)(s.LFG(ke))},m.\u0275prov=s.Yz7({token:m,factory:function(){return function xe(){return new ze((0,s.LFG)(ke))}()},providedIn:"root"}),m})();function se(m){return m.replace(/\/index.html$/,"")}const oe={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var le=(()=>((le=le||{})[le.Decimal=0]="Decimal",le[le.Percent=1]="Percent",le[le.Currency=2]="Currency",le[le.Scientific=3]="Scientific",le))(),Ze=(()=>((Ze=Ze||{})[Ze.Format=0]="Format",Ze[Ze.Standalone=1]="Standalone",Ze))(),Ge=(()=>((Ge=Ge||{})[Ge.Narrow=0]="Narrow",Ge[Ge.Abbreviated=1]="Abbreviated",Ge[Ge.Wide=2]="Wide",Ge[Ge.Short=3]="Short",Ge))(),bt=(()=>((bt=bt||{})[bt.Short=0]="Short",bt[bt.Medium=1]="Medium",bt[bt.Long=2]="Long",bt[bt.Full=3]="Full",bt))(),st=(()=>((st=st||{})[st.Decimal=0]="Decimal",st[st.Group=1]="Group",st[st.List=2]="List",st[st.PercentSign=3]="PercentSign",st[st.PlusSign=4]="PlusSign",st[st.MinusSign=5]="MinusSign",st[st.Exponential=6]="Exponential",st[st.SuperscriptingExponent=7]="SuperscriptingExponent",st[st.PerMille=8]="PerMille",st[st.Infinity=9]="Infinity",st[st.NaN=10]="NaN",st[st.TimeSeparator=11]="TimeSeparator",st[st.CurrencyDecimal=12]="CurrencyDecimal",st[st.CurrencyGroup=13]="CurrencyGroup",st))();function G(m,P){return ln((0,s.cg1)(m)[s.wAp.DateFormat],P)}function w(m,P){return ln((0,s.cg1)(m)[s.wAp.TimeFormat],P)}function K(m,P){return ln((0,s.cg1)(m)[s.wAp.DateTimeFormat],P)}function De(m,P){const D=(0,s.cg1)(m),j=D[s.wAp.NumberSymbols][P];if(typeof j>"u"){if(P===st.CurrencyDecimal)return D[s.wAp.NumberSymbols][st.Decimal];if(P===st.CurrencyGroup)return D[s.wAp.NumberSymbols][st.Group]}return j}function et(m,P){return(0,s.cg1)(m)[s.wAp.NumberFormats][P]}function mn(m){if(!m[s.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${m[s.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ln(m,P){for(let D=P;D>-1;D--)if(typeof m[D]<"u")return m[D];throw new Error("Locale data API: locale data undefined")}function yn(m){const[P,D]=m.split(":");return{hours:+P,minutes:+D}}const V=2,Te=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qe={},ct=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var at=(()=>((at=at||{})[at.Short=0]="Short",at[at.ShortGMT=1]="ShortGMT",at[at.Long=2]="Long",at[at.Extended=3]="Extended",at))(),pt=(()=>((pt=pt||{})[pt.FullYear=0]="FullYear",pt[pt.Month=1]="Month",pt[pt.Date=2]="Date",pt[pt.Hours=3]="Hours",pt[pt.Minutes=4]="Minutes",pt[pt.Seconds=5]="Seconds",pt[pt.FractionalSeconds=6]="FractionalSeconds",pt[pt.Day=7]="Day",pt))(),_e=(()=>((_e=_e||{})[_e.DayPeriods=0]="DayPeriods",_e[_e.Days=1]="Days",_e[_e.Months=2]="Months",_e[_e.Eras=3]="Eras",_e))();function it(m,P,D,j){let pe=function Fe(m){if(he(m))return m;if("number"==typeof m&&!isNaN(m))return new Date(m);if("string"==typeof m){if(m=m.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(m)){const[pe,Je=1,gt=1]=m.split("-").map($t=>+$t);return ge(pe,Je-1,gt)}const D=parseFloat(m);if(!isNaN(m-D))return new Date(D);let j;if(j=m.match(Te))return function wt(m){const P=new Date(0);let D=0,j=0;const pe=m[8]?P.setUTCFullYear:P.setFullYear,Je=m[8]?P.setUTCHours:P.setHours;m[9]&&(D=Number(m[9]+m[10]),j=Number(m[9]+m[11])),pe.call(P,Number(m[1]),Number(m[2])-1,Number(m[3]));const gt=Number(m[4]||0)-D,$t=Number(m[5]||0)-j,Sn=Number(m[6]||0),Fn=Math.floor(1e3*parseFloat("0."+(m[7]||0)));return Je.call(P,gt,$t,Sn,Fn),P}(j)}const P=new Date(m);if(!he(P))throw new Error(`Unable to convert "${m}" into a date`);return P}(m);P=Le(D,P)||P;let $t,gt=[];for(;P;){if($t=ct.exec(P),!$t){gt.push(P);break}{gt=gt.concat($t.slice(1));const Ln=gt.pop();if(!Ln)break;P=Ln}}let Sn=pe.getTimezoneOffset();j&&(Sn=re(j,Sn),pe=function $e(m,P,D){const j=D?-1:1,pe=m.getTimezoneOffset();return function Ce(m,P){return(m=new Date(m.getTime())).setMinutes(m.getMinutes()+P),m}(m,j*(re(P,pe)-pe))}(pe,j,!0));let Fn="";return gt.forEach(Ln=>{const _n=function te(m){if(Ie[m])return Ie[m];let P;switch(m){case"G":case"GG":case"GGG":P=jt(_e.Eras,Ge.Abbreviated);break;case"GGGG":P=jt(_e.Eras,Ge.Wide);break;case"GGGGG":P=jt(_e.Eras,Ge.Narrow);break;case"y":P=Ot(pt.FullYear,1,0,!1,!0);break;case"yy":P=Ot(pt.FullYear,2,0,!0,!0);break;case"yyy":P=Ot(pt.FullYear,3,0,!1,!0);break;case"yyyy":P=Ot(pt.FullYear,4,0,!1,!0);break;case"Y":P=ie(1);break;case"YY":P=ie(2,!0);break;case"YYY":P=ie(3);break;case"YYYY":P=ie(4);break;case"M":case"L":P=Ot(pt.Month,1,1);break;case"MM":case"LL":P=Ot(pt.Month,2,1);break;case"MMM":P=jt(_e.Months,Ge.Abbreviated);break;case"MMMM":P=jt(_e.Months,Ge.Wide);break;case"MMMMM":P=jt(_e.Months,Ge.Narrow);break;case"LLL":P=jt(_e.Months,Ge.Abbreviated,Ze.Standalone);break;case"LLLL":P=jt(_e.Months,Ge.Wide,Ze.Standalone);break;case"LLLLL":P=jt(_e.Months,Ge.Narrow,Ze.Standalone);break;case"w":P=A(1);break;case"ww":P=A(2);break;case"W":P=A(1,!0);break;case"d":P=Ot(pt.Date,1);break;case"dd":P=Ot(pt.Date,2);break;case"c":case"cc":P=Ot(pt.Day,1);break;case"ccc":P=jt(_e.Days,Ge.Abbreviated,Ze.Standalone);break;case"cccc":P=jt(_e.Days,Ge.Wide,Ze.Standalone);break;case"ccccc":P=jt(_e.Days,Ge.Narrow,Ze.Standalone);break;case"cccccc":P=jt(_e.Days,Ge.Short,Ze.Standalone);break;case"E":case"EE":case"EEE":P=jt(_e.Days,Ge.Abbreviated);break;case"EEEE":P=jt(_e.Days,Ge.Wide);break;case"EEEEE":P=jt(_e.Days,Ge.Narrow);break;case"EEEEEE":P=jt(_e.Days,Ge.Short);break;case"a":case"aa":case"aaa":P=jt(_e.DayPeriods,Ge.Abbreviated);break;case"aaaa":P=jt(_e.DayPeriods,Ge.Wide);break;case"aaaaa":P=jt(_e.DayPeriods,Ge.Narrow);break;case"b":case"bb":case"bbb":P=jt(_e.DayPeriods,Ge.Abbreviated,Ze.Standalone,!0);break;case"bbbb":P=jt(_e.DayPeriods,Ge.Wide,Ze.Standalone,!0);break;case"bbbbb":P=jt(_e.DayPeriods,Ge.Narrow,Ze.Standalone,!0);break;case"B":case"BB":case"BBB":P=jt(_e.DayPeriods,Ge.Abbreviated,Ze.Format,!0);break;case"BBBB":P=jt(_e.DayPeriods,Ge.Wide,Ze.Format,!0);break;case"BBBBB":P=jt(_e.DayPeriods,Ge.Narrow,Ze.Format,!0);break;case"h":P=Ot(pt.Hours,1,-12);break;case"hh":P=Ot(pt.Hours,2,-12);break;case"H":P=Ot(pt.Hours,1);break;case"HH":P=Ot(pt.Hours,2);break;case"m":P=Ot(pt.Minutes,1);break;case"mm":P=Ot(pt.Minutes,2);break;case"s":P=Ot(pt.Seconds,1);break;case"ss":P=Ot(pt.Seconds,2);break;case"S":P=Ot(pt.FractionalSeconds,1);break;case"SS":P=Ot(pt.FractionalSeconds,2);break;case"SSS":P=Ot(pt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":P=Nn(at.Short);break;case"ZZZZZ":P=Nn(at.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":P=Nn(at.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":P=Nn(at.Long);break;default:return null}return Ie[m]=P,P}(Ln);Fn+=_n?_n(pe,D,Sn):"''"===Ln?"'":Ln.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Fn}function ge(m,P,D){const j=new Date(0);return j.setFullYear(m,P,D),j.setHours(0,0,0),j}function Le(m,P){const D=function Ye(m){return(0,s.cg1)(m)[s.wAp.LocaleId]}(m);if(Qe[D]=Qe[D]||{},Qe[D][P])return Qe[D][P];let j="";switch(P){case"shortDate":j=G(m,bt.Short);break;case"mediumDate":j=G(m,bt.Medium);break;case"longDate":j=G(m,bt.Long);break;case"fullDate":j=G(m,bt.Full);break;case"shortTime":j=w(m,bt.Short);break;case"mediumTime":j=w(m,bt.Medium);break;case"longTime":j=w(m,bt.Long);break;case"fullTime":j=w(m,bt.Full);break;case"short":const pe=Le(m,"shortTime"),Je=Le(m,"shortDate");j=mt(K(m,bt.Short),[pe,Je]);break;case"medium":const gt=Le(m,"mediumTime"),$t=Le(m,"mediumDate");j=mt(K(m,bt.Medium),[gt,$t]);break;case"long":const Sn=Le(m,"longTime"),Fn=Le(m,"longDate");j=mt(K(m,bt.Long),[Sn,Fn]);break;case"full":const Ln=Le(m,"fullTime"),_n=Le(m,"fullDate");j=mt(K(m,bt.Full),[Ln,_n])}return j&&(Qe[D][P]=j),j}function mt(m,P){return P&&(m=m.replace(/\{([^}]+)}/g,function(D,j){return null!=P&&j in P?P[j]:D})),m}function St(m,P,D="-",j,pe){let Je="";(m<0||pe&&m<=0)&&(pe?m=1-m:(m=-m,Je=D));let gt=String(m);for(;gt.length<P;)gt="0"+gt;return j&&(gt=gt.slice(gt.length-P)),Je+gt}function Ot(m,P,D=0,j=!1,pe=!1){return function(Je,gt){let $t=function nn(m,P){switch(m){case pt.FullYear:return P.getFullYear();case pt.Month:return P.getMonth();case pt.Date:return P.getDate();case pt.Hours:return P.getHours();case pt.Minutes:return P.getMinutes();case pt.Seconds:return P.getSeconds();case pt.FractionalSeconds:return P.getMilliseconds();case pt.Day:return P.getDay();default:throw new Error(`Unknown DateType value "${m}".`)}}(m,Je);if((D>0||$t>-D)&&($t+=D),m===pt.Hours)0===$t&&-12===D&&($t=12);else if(m===pt.FractionalSeconds)return function Ht(m,P){return St(m,3).substring(0,P)}($t,P);const Sn=De(gt,st.MinusSign);return St($t,P,Sn,j,pe)}}function jt(m,P,D=Ze.Format,j=!1){return function(pe,Je){return function xn(m,P,D,j,pe,Je){switch(D){case _e.Months:return function vt(m,P,D){const j=(0,s.cg1)(m),Je=ln([j[s.wAp.MonthsFormat],j[s.wAp.MonthsStandalone]],P);return ln(Je,D)}(P,pe,j)[m.getMonth()];case _e.Days:return function lt(m,P,D){const j=(0,s.cg1)(m),Je=ln([j[s.wAp.DaysFormat],j[s.wAp.DaysStandalone]],P);return ln(Je,D)}(P,pe,j)[m.getDay()];case _e.DayPeriods:const gt=m.getHours(),$t=m.getMinutes();if(Je){const Fn=function zt(m){const P=(0,s.cg1)(m);return mn(P),(P[s.wAp.ExtraData][2]||[]).map(j=>"string"==typeof j?yn(j):[yn(j[0]),yn(j[1])])}(P),Ln=function bn(m,P,D){const j=(0,s.cg1)(m);mn(j);const Je=ln([j[s.wAp.ExtraData][0],j[s.wAp.ExtraData][1]],P)||[];return ln(Je,D)||[]}(P,pe,j),_n=Fn.findIndex(ni=>{if(Array.isArray(ni)){const[jn,ii]=ni,Xi=gt>=jn.hours&&$t>=jn.minutes,wi=gt<ii.hours||gt===ii.hours&&$t<ii.minutes;if(jn.hours<ii.hours){if(Xi&&wi)return!0}else if(Xi||wi)return!0}else if(ni.hours===gt&&ni.minutes===$t)return!0;return!1});if(-1!==_n)return Ln[_n]}return function tt(m,P,D){const j=(0,s.cg1)(m),Je=ln([j[s.wAp.DayPeriodsFormat],j[s.wAp.DayPeriodsStandalone]],P);return ln(Je,D)}(P,pe,j)[gt<12?0:1];case _e.Eras:return function ft(m,P){return ln((0,s.cg1)(m)[s.wAp.Eras],P)}(P,j)[m.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${D}`)}}(pe,Je,m,P,D,j)}}function Nn(m){return function(P,D,j){const pe=-1*j,Je=De(D,st.MinusSign),gt=pe>0?Math.floor(pe/60):Math.ceil(pe/60);switch(m){case at.Short:return(pe>=0?"+":"")+St(gt,2,Je)+St(Math.abs(pe%60),2,Je);case at.ShortGMT:return"GMT"+(pe>=0?"+":"")+St(gt,1,Je);case at.Long:return"GMT"+(pe>=0?"+":"")+St(gt,2,Je)+":"+St(Math.abs(pe%60),2,Je);case at.Extended:return 0===j?"Z":(pe>=0?"+":"")+St(gt,2,Je)+":"+St(Math.abs(pe%60),2,Je);default:throw new Error(`Unknown zone width "${m}"`)}}}const It=0,ut=4;function x(m){return ge(m.getFullYear(),m.getMonth(),m.getDate()+(ut-m.getDay()))}function A(m,P=!1){return function(D,j){let pe;if(P){const Je=new Date(D.getFullYear(),D.getMonth(),1).getDay()-1,gt=D.getDate();pe=1+Math.floor((gt+Je)/7)}else{const Je=x(D),gt=function z(m){const P=ge(m,It,1).getDay();return ge(m,0,1+(P<=ut?ut:ut+7)-P)}(Je.getFullYear()),$t=Je.getTime()-gt.getTime();pe=1+Math.round($t/6048e5)}return St(pe,m,De(j,st.MinusSign))}}function ie(m,P=!1){return function(D,j){return St(x(D).getFullYear(),m,De(j,st.MinusSign),P)}}const Ie={};function re(m,P){m=m.replace(/:/g,"");const D=Date.parse("Jan 01, 1970 00:00:00 "+m)/6e4;return isNaN(D)?P:D}function he(m){return m instanceof Date&&!isNaN(m.valueOf())}const L=/^(\d+)?\.((\d+)(-(\d+))?)?$/,T=22,I=".",W="0",ae=";",He=",",Et="#",qt="\xa4";function ri(m,P,D,j,pe,Je,gt=!1){let $t="",Sn=!1;if(isFinite(m)){let Fn=function ji(m){let j,pe,Je,gt,$t,P=Math.abs(m)+"",D=0;for((pe=P.indexOf(I))>-1&&(P=P.replace(I,"")),(Je=P.search(/e/i))>0?(pe<0&&(pe=Je),pe+=+P.slice(Je+1),P=P.substring(0,Je)):pe<0&&(pe=P.length),Je=0;P.charAt(Je)===W;Je++);if(Je===($t=P.length))j=[0],pe=1;else{for($t--;P.charAt($t)===W;)$t--;for(pe-=Je,j=[],gt=0;Je<=$t;Je++,gt++)j[gt]=Number(P.charAt(Je))}return pe>T&&(j=j.splice(0,T-1),D=pe-1,pe=1),{digits:j,exponent:D,integerLen:pe}}(m);gt&&(Fn=function fr(m){if(0===m.digits[0])return m;const P=m.digits.length-m.integerLen;return m.exponent?m.exponent+=2:(0===P?m.digits.push(0,0):1===P&&m.digits.push(0),m.integerLen+=2),m}(Fn));let Ln=P.minInt,_n=P.minFrac,ni=P.maxFrac;if(Je){const ar=Je.match(L);if(null===ar)throw new Error(`${Je} is not a valid digit info`);const vo=ar[1],Ar=ar[3],ps=ar[5];null!=vo&&(Ln=Xn(vo)),null!=Ar&&(_n=Xn(Ar)),null!=ps?ni=Xn(ps):null!=Ar&&_n>ni&&(ni=_n)}!function wn(m,P,D){if(P>D)throw new Error(`The minimum number of digits after fraction (${P}) is higher than the maximum (${D}).`);let j=m.digits,pe=j.length-m.integerLen;const Je=Math.min(Math.max(P,pe),D);let gt=Je+m.integerLen,$t=j[gt];if(gt>0){j.splice(Math.max(m.integerLen,gt));for(let _n=gt;_n<j.length;_n++)j[_n]=0}else{pe=Math.max(0,pe),m.integerLen=1,j.length=Math.max(1,gt=Je+1),j[0]=0;for(let _n=1;_n<gt;_n++)j[_n]=0}if($t>=5)if(gt-1<0){for(let _n=0;_n>gt;_n--)j.unshift(0),m.integerLen++;j.unshift(1),m.integerLen++}else j[gt-1]++;for(;pe<Math.max(0,Je);pe++)j.push(0);let Sn=0!==Je;const Fn=P+m.integerLen,Ln=j.reduceRight(function(_n,ni,jn,ii){return ii[jn]=(ni+=_n)<10?ni:ni-10,Sn&&(0===ii[jn]&&jn>=Fn?ii.pop():Sn=!1),ni>=10?1:0},0);Ln&&(j.unshift(Ln),m.integerLen++)}(Fn,_n,ni);let jn=Fn.digits,ii=Fn.integerLen;const Xi=Fn.exponent;let wi=[];for(Sn=jn.every(ar=>!ar);ii<Ln;ii++)jn.unshift(0);for(;ii<0;ii++)jn.unshift(0);ii>0?wi=jn.splice(ii,jn.length):(wi=jn,jn=[0]);const $i=[];for(jn.length>=P.lgSize&&$i.unshift(jn.splice(-P.lgSize,jn.length).join(""));jn.length>P.gSize;)$i.unshift(jn.splice(-P.gSize,jn.length).join(""));jn.length&&$i.unshift(jn.join("")),$t=$i.join(De(D,j)),wi.length&&($t+=De(D,pe)+wi.join("")),Xi&&($t+=De(D,st.Exponential)+"+"+Xi)}else $t=De(D,st.Infinity);return $t=m<0&&!Sn?P.negPre+$t+P.negSuf:P.posPre+$t+P.posSuf,$t}function hr(m,P="-"){const D={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},j=m.split(ae),pe=j[0],Je=j[1],gt=-1!==pe.indexOf(I)?pe.split(I):[pe.substring(0,pe.lastIndexOf(W)+1),pe.substring(pe.lastIndexOf(W)+1)],$t=gt[0],Sn=gt[1]||"";D.posPre=$t.substring(0,$t.indexOf(Et));for(let Ln=0;Ln<Sn.length;Ln++){const _n=Sn.charAt(Ln);_n===W?D.minFrac=D.maxFrac=Ln+1:_n===Et?D.maxFrac=Ln+1:D.posSuf+=_n}const Fn=$t.split(He);if(D.gSize=Fn[1]?Fn[1].length:0,D.lgSize=Fn[2]||Fn[1]?(Fn[2]||Fn[1]).length:0,Je){const Ln=pe.length-D.posPre.length-D.posSuf.length,_n=Je.indexOf(Et);D.negPre=Je.substring(0,_n).replace(/'/g,""),D.negSuf=Je.slice(_n+Ln).replace(/'/g,"")}else D.negPre=P+D.posPre,D.negSuf=D.posSuf;return D}function Xn(m){const P=parseInt(m);if(isNaN(P))throw new Error("Invalid integer literal when parsing "+m);return P}function Cr(m,P){P=encodeURIComponent(P);for(const D of m.split(";")){const j=D.indexOf("="),[pe,Je]=-1==j?[D,""]:[D.slice(0,j),D.slice(j+1)];if(pe.trim()===P)return decodeURIComponent(Je)}return null}const Yi=/\s+/,Ri=[];let kt=(()=>{class m{constructor(D,j,pe,Je){this._iterableDiffers=D,this._keyValueDiffers=j,this._ngEl=pe,this._renderer=Je,this.initialClasses=Ri,this.stateMap=new Map}set klass(D){this.initialClasses=null!=D?D.trim().split(Yi):Ri}set ngClass(D){this.rawClass="string"==typeof D?D.trim().split(Yi):D}ngDoCheck(){for(const j of this.initialClasses)this._updateState(j,!0);const D=this.rawClass;if(Array.isArray(D)||D instanceof Set)for(const j of D)this._updateState(j,!0);else if(null!=D)for(const j of Object.keys(D))this._updateState(j,Boolean(D[j]));this._applyStateDiff()}_updateState(D,j){const pe=this.stateMap.get(D);void 0!==pe?(pe.enabled!==j&&(pe.changed=!0,pe.enabled=j),pe.touched=!0):this.stateMap.set(D,{enabled:j,changed:!0,touched:!0})}_applyStateDiff(){for(const D of this.stateMap){const j=D[0],pe=D[1];pe.changed?(this._toggleClass(j,pe.enabled),pe.changed=!1):pe.touched||(pe.enabled&&this._toggleClass(j,!1),this.stateMap.delete(j)),pe.touched=!1}}_toggleClass(D,j){(D=D.trim()).length>0&&D.split(Yi).forEach(pe=>{j?this._renderer.addClass(this._ngEl.nativeElement,pe):this._renderer.removeClass(this._ngEl.nativeElement,pe)})}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),m})(),tn=(()=>{class m{constructor(D){this._viewContainerRef=D,this.ngComponentOutlet=null}ngOnChanges(D){const{_viewContainerRef:j,ngComponentOutletNgModule:pe,ngComponentOutletNgModuleFactory:Je}=this;if(j.clear(),this._componentRef=void 0,this.ngComponentOutlet){const gt=this.ngComponentOutletInjector||j.parentInjector;(D.ngComponentOutletNgModule||D.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=pe?(0,s.Lck)(pe,In(gt)):Je?Je.create(In(gt)):void 0),this._componentRef=j.createComponent(this.ngComponentOutlet,{index:j.length,injector:gt,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.s_b))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[s.TTD]}),m})();function In(m){return m.get(s.h0i).injector}class Si{constructor(P,D,j,pe){this.$implicit=P,this.ngForOf=D,this.index=j,this.count=pe}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let An=(()=>{class m{set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}constructor(D,j,pe){this._viewContainer=D,this._template=j,this._differs=pe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const j=this._viewContainer;D.forEachOperation((pe,Je,gt)=>{if(null==pe.previousIndex)j.createEmbeddedView(this._template,new Si(pe.item,this._ngForOf,-1,-1),null===gt?void 0:gt);else if(null==gt)j.remove(null===Je?void 0:Je);else if(null!==Je){const $t=j.get(Je);j.move($t,gt),ai($t,pe)}});for(let pe=0,Je=j.length;pe<Je;pe++){const $t=j.get(pe).context;$t.index=pe,$t.count=Je,$t.ngForOf=this._ngForOf}D.forEachIdentityChange(pe=>{ai(j.get(pe.currentIndex),pe)})}static ngTemplateContextGuard(D,j){return!0}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),m})();function ai(m,P){m.context.$implicit=P.item}let ki=(()=>{class m{constructor(D,j){this._viewContainer=D,this._context=new Mo,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=j}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){fn("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){fn("ngIfElse",D),this._elseTemplateRef=D,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(D,j){return!0}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.s_b),s.Y36(s.Rgc))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),m})();class Mo{constructor(){this.$implicit=null,this.ngIf=null}}function fn(m,P){if(P&&!P.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,s.AaK)(P)}'.`)}class so{constructor(P,D){this._viewContainerRef=P,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(P){P&&!this._created?this.create():!P&&this._created&&this.destroy()}}let wr=(()=>{class m{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews.push(D)}_matchCase(D){const j=D==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||j,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),j}_updateDefaultCases(D){if(this._defaultViews.length>0&&D!==this._defaultUsed){this._defaultUsed=D;for(const j of this._defaultViews)j.enforceState(D)}}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275dir=s.lG2({type:m,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),m})(),bi=(()=>{class m{constructor(D,j,pe){this.ngSwitch=pe,pe._addCase(),this._view=new so(D,j)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(wr,9))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),m})(),pr=(()=>{class m{constructor(D,j,pe){pe._addDefault(new so(D,j))}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(wr,9))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngSwitchDefault",""]],standalone:!0}),m})(),Fi=(()=>{class m{constructor(D,j,pe){this._ngEl=D,this._differs=j,this._renderer=pe,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,j){const[pe,Je]=D.split("."),gt=-1===pe.indexOf("-")?void 0:s.JOm.DashCase;null!=j?this._renderer.setStyle(this._ngEl.nativeElement,pe,Je?`${j}${Je}`:j,gt):this._renderer.removeStyle(this._ngEl.nativeElement,pe,gt)}_applyChanges(D){D.forEachRemovedItem(j=>this._setStyle(j.key,null)),D.forEachAddedItem(j=>this._setStyle(j.key,j.currentValue)),D.forEachChangedItem(j=>this._setStyle(j.key,j.currentValue))}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.SBq),s.Y36(s.aQg),s.Y36(s.Qsj))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),m})(),nr=(()=>{class m{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const j=this._viewContainerRef;if(this._viewRef&&j.remove(j.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:pe,ngTemplateOutletContext:Je,ngTemplateOutletInjector:gt}=this;this._viewRef=j.createEmbeddedView(pe,Je,gt?{injector:gt}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.s_b))},m.\u0275dir=s.lG2({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.TTD]}),m})();function En(m,P){return new s.vHH(2100,!1)}class zr{createSubscription(P,D){return P.subscribe({next:D,error:j=>{throw j}})}dispose(P){P.unsubscribe()}}class To{createSubscription(P,D){return P.then(D,j=>{throw j})}dispose(P){}}const kr=new To,ir=new zr;let Di=(()=>{class m{constructor(D){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=D}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(D){return this._obj?D!==this._obj?(this._dispose(),this.transform(D)):this._latestValue:(D&&this._subscribe(D),this._latestValue)}_subscribe(D){this._obj=D,this._strategy=this._selectStrategy(D),this._subscription=this._strategy.createSubscription(D,j=>this._updateLatestValue(D,j))}_selectStrategy(D){if((0,s.QGY)(D))return kr;if((0,s.F4k)(D))return ir;throw En()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(D,j){D===this._obj&&(this._latestValue=j,this._ref.markForCheck())}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.sBO,16))},m.\u0275pipe=s.Yjl({name:"async",type:m,pure:!1,standalone:!0}),m})(),li=(()=>{class m{transform(D){if(null==D)return null;if("string"!=typeof D)throw En();return D.toUpperCase()}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275pipe=s.Yjl({name:"uppercase",type:m,pure:!0,standalone:!0}),m})();const So=new s.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),lo=new s.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Li=(()=>{class m{constructor(D,j,pe){this.locale=D,this.defaultTimezone=j,this.defaultOptions=pe}transform(D,j,pe,Je){if(null==D||""===D||D!=D)return null;try{return it(D,j??this.defaultOptions?.dateFormat??"mediumDate",Je||this.locale,pe??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(gt){throw En()}}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.soG,16),s.Y36(So,24),s.Y36(lo,24))},m.\u0275pipe=s.Yjl({name:"date",type:m,pure:!0,standalone:!0}),m})(),Io=(()=>{class m{transform(D){return JSON.stringify(D,null,2)}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275pipe=s.Yjl({name:"json",type:m,pure:!1,standalone:!0}),m})(),co=(()=>{class m{constructor(D){this._locale=D}transform(D,j,pe){if(!Yr(D))return null;pe=pe||this._locale;try{return function gi(m,P,D){return ri(m,hr(et(P,le.Decimal),De(P,st.MinusSign)),P,st.Group,st.Decimal,D)}(mr(D),pe,j)}catch(Je){throw En()}}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.soG,16))},m.\u0275pipe=s.Yjl({name:"number",type:m,pure:!0,standalone:!0}),m})(),Lr=(()=>{class m{constructor(D,j="USD"){this._locale=D,this._defaultCurrencyCode=j}transform(D,j=this._defaultCurrencyCode,pe="symbol",Je,gt){if(!Yr(D))return null;gt=gt||this._locale,"boolean"==typeof pe&&(pe=pe?"symbol":"code");let $t=j||this._defaultCurrencyCode;"code"!==pe&&($t="symbol"===pe||"symbol-narrow"===pe?function Ne(m,P,D="en"){const j=function Kt(m){return(0,s.cg1)(m)[s.wAp.Currencies]}(D)[m]||oe[m]||[],pe=j[1];return"narrow"===P&&"string"==typeof pe?pe:j[0]||m}($t,"symbol"===pe?"wide":"narrow",gt):pe);try{return function Ji(m,P,D,j,pe){const gt=hr(et(P,le.Currency),De(P,st.MinusSign));return gt.minFrac=function de(m){let P;const D=oe[m];return D&&(P=D[2]),"number"==typeof P?P:V}(j),gt.maxFrac=gt.minFrac,ri(m,gt,P,st.CurrencyGroup,st.CurrencyDecimal,pe).replace(qt,D).replace(qt,"").trim()}(mr(D),gt,$t,j,Je)}catch(Sn){throw En()}}}return m.\u0275fac=function(D){return new(D||m)(s.Y36(s.soG,16),s.Y36(s.EJc,16))},m.\u0275pipe=s.Yjl({name:"currency",type:m,pure:!0,standalone:!0}),m})();function Yr(m){return!(null==m||""===m||m!=m)}function mr(m){if("string"==typeof m&&!isNaN(Number(m)-parseFloat(m)))return Number(m);if("number"!=typeof m)throw new Error(`${m} is not a number`);return m}let Se=(()=>{class m{transform(D,j,pe){if(null==D)return null;if(!this.supports(D))throw En();return D.slice(j,pe)}supports(D){return"string"==typeof D||Array.isArray(D)}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275pipe=s.Yjl({name:"slice",type:m,pure:!1,standalone:!0}),m})(),We=(()=>{class m{}return m.\u0275fac=function(D){return new(D||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({}),m})();const ht="browser",At="server";function Bn(m){return m===ht}function pn(m){return m===At}let Qi=(()=>{class m{}return m.\u0275prov=(0,s.Yz7)({token:m,providedIn:"root",factory:()=>new uo((0,s.LFG)(ee),window)}),m})();class uo{constructor(P,D){this.document=P,this.window=D,this.offset=()=>[0,0]}setOffset(P){this.offset=Array.isArray(P)?()=>P:P}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(P){this.supportsScrolling()&&this.window.scrollTo(P[0],P[1])}scrollToAnchor(P){if(!this.supportsScrolling())return;const D=function Tr(m,P){const D=m.getElementById(P)||m.getElementsByName(P)[0];if(D)return D;if("function"==typeof m.createTreeWalker&&m.body&&(m.body.createShadowRoot||m.body.attachShadow)){const j=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let pe=j.currentNode;for(;pe;){const Je=pe.shadowRoot;if(Je){const gt=Je.getElementById(P)||Je.querySelector(`[name="${P}"]`);if(gt)return gt}pe=j.nextNode()}}return null}(this.document,P);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(P){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=P)}}scrollToElement(P){const D=P.getBoundingClientRect(),j=D.left+this.window.pageXOffset,pe=D.top+this.window.pageYOffset,Je=this.offset();this.window.scrollTo(j-Je[0],pe-Je[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const P=Zr(this.window.history)||Zr(Object.getPrototypeOf(this.window.history));return!(!P||!P.writable&&!P.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Zr(m){return Object.getOwnPropertyDescriptor(m,"scrollRestoration")}class yr{}},80529:(yt,Ee,g)=>{g.d(Ee,{JF:()=>Nn,TP:()=>ft,WM:()=>R,eN:()=>Ye});var s=g(36895),d=g(94650),C=g(39646),$=g(69751),k=g(24351),ee=g(39300),ce=g(54004);class J{}class ne{}class R{constructor(x){this.normalizedNames=new Map,this.lazyUpdate=null,x?this.lazyInit="string"==typeof x?()=>{this.headers=new Map,x.split("\n").forEach(A=>{const ie=A.indexOf(":");if(ie>0){const Ie=A.slice(0,ie),te=Ie.toLowerCase(),re=A.slice(ie+1).trim();this.maybeSetNormalizedName(Ie,te),this.headers.has(te)?this.headers.get(te).push(re):this.headers.set(te,[re])}})}:()=>{this.headers=new Map,Object.keys(x).forEach(A=>{let ie=x[A];const Ie=A.toLowerCase();"string"==typeof ie&&(ie=[ie]),ie.length>0&&(this.headers.set(Ie,ie),this.maybeSetNormalizedName(A,Ie))})}:this.headers=new Map}has(x){return this.init(),this.headers.has(x.toLowerCase())}get(x){this.init();const A=this.headers.get(x.toLowerCase());return A&&A.length>0?A[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(x){return this.init(),this.headers.get(x.toLowerCase())||null}append(x,A){return this.clone({name:x,value:A,op:"a"})}set(x,A){return this.clone({name:x,value:A,op:"s"})}delete(x,A){return this.clone({name:x,value:A,op:"d"})}maybeSetNormalizedName(x,A){this.normalizedNames.has(A)||this.normalizedNames.set(A,x)}init(){this.lazyInit&&(this.lazyInit instanceof R?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(x=>this.applyUpdate(x)),this.lazyUpdate=null))}copyFrom(x){x.init(),Array.from(x.headers.keys()).forEach(A=>{this.headers.set(A,x.headers.get(A)),this.normalizedNames.set(A,x.normalizedNames.get(A))})}clone(x){const A=new R;return A.lazyInit=this.lazyInit&&this.lazyInit instanceof R?this.lazyInit:this,A.lazyUpdate=(this.lazyUpdate||[]).concat([x]),A}applyUpdate(x){const A=x.name.toLowerCase();switch(x.op){case"a":case"s":let ie=x.value;if("string"==typeof ie&&(ie=[ie]),0===ie.length)return;this.maybeSetNormalizedName(x.name,A);const Ie=("a"===x.op?this.headers.get(A):void 0)||[];Ie.push(...ie),this.headers.set(A,Ie);break;case"d":const te=x.value;if(te){let re=this.headers.get(A);if(!re)return;re=re.filter(Ce=>-1===te.indexOf(Ce)),0===re.length?(this.headers.delete(A),this.normalizedNames.delete(A)):this.headers.set(A,re)}else this.headers.delete(A),this.normalizedNames.delete(A)}}forEach(x){this.init(),Array.from(this.normalizedNames.keys()).forEach(A=>x(this.normalizedNames.get(A),this.headers.get(A)))}}class Y{encodeKey(x){return ke(x)}encodeValue(x){return ke(x)}decodeKey(x){return decodeURIComponent(x)}decodeValue(x){return decodeURIComponent(x)}}const be=/%(\d[a-f0-9])/gi,Be={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ke(z){return encodeURIComponent(z).replace(be,(x,A)=>Be[A]??x)}function ye(z){return`${z}`}class je{constructor(x={}){if(this.updates=null,this.cloneFrom=null,this.encoder=x.encoder||new Y,x.fromString){if(x.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ae(z,x){const A=new Map;return z.length>0&&z.replace(/^\?/,"").split("&").forEach(Ie=>{const te=Ie.indexOf("="),[re,Ce]=-1==te?[x.decodeKey(Ie),""]:[x.decodeKey(Ie.slice(0,te)),x.decodeValue(Ie.slice(te+1))],$e=A.get(re)||[];$e.push(Ce),A.set(re,$e)}),A}(x.fromString,this.encoder)}else x.fromObject?(this.map=new Map,Object.keys(x.fromObject).forEach(A=>{const ie=x.fromObject[A],Ie=Array.isArray(ie)?ie.map(ye):[ye(ie)];this.map.set(A,Ie)})):this.map=null}has(x){return this.init(),this.map.has(x)}get(x){this.init();const A=this.map.get(x);return A?A[0]:null}getAll(x){return this.init(),this.map.get(x)||null}keys(){return this.init(),Array.from(this.map.keys())}append(x,A){return this.clone({param:x,value:A,op:"a"})}appendAll(x){const A=[];return Object.keys(x).forEach(ie=>{const Ie=x[ie];Array.isArray(Ie)?Ie.forEach(te=>{A.push({param:ie,value:te,op:"a"})}):A.push({param:ie,value:Ie,op:"a"})}),this.clone(A)}set(x,A){return this.clone({param:x,value:A,op:"s"})}delete(x,A){return this.clone({param:x,value:A,op:"d"})}toString(){return this.init(),this.keys().map(x=>{const A=this.encoder.encodeKey(x);return this.map.get(x).map(ie=>A+"="+this.encoder.encodeValue(ie)).join("&")}).filter(x=>""!==x).join("&")}clone(x){const A=new je({encoder:this.encoder});return A.cloneFrom=this.cloneFrom||this,A.updates=(this.updates||[]).concat(x),A}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(x=>this.map.set(x,this.cloneFrom.map.get(x))),this.updates.forEach(x=>{switch(x.op){case"a":case"s":const A=("a"===x.op?this.map.get(x.param):void 0)||[];A.push(ye(x.value)),this.map.set(x.param,A);break;case"d":if(void 0===x.value){this.map.delete(x.param);break}{let ie=this.map.get(x.param)||[];const Ie=ie.indexOf(ye(x.value));-1!==Ie&&ie.splice(Ie,1),ie.length>0?this.map.set(x.param,ie):this.map.delete(x.param)}}}),this.cloneFrom=this.updates=null)}}class ze{constructor(){this.map=new Map}set(x,A){return this.map.set(x,A),this}get(x){return this.map.has(x)||this.map.set(x,x.defaultValue()),this.map.get(x)}delete(x){return this.map.delete(x),this}has(x){return this.map.has(x)}keys(){return this.map.keys()}}function U(z){return typeof ArrayBuffer<"u"&&z instanceof ArrayBuffer}function se(z){return typeof Blob<"u"&&z instanceof Blob}function q(z){return typeof FormData<"u"&&z instanceof FormData}class le{constructor(x,A,ie,Ie){let te;if(this.url=A,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=x.toUpperCase(),function xe(z){switch(z){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ie?(this.body=void 0!==ie?ie:null,te=Ie):te=ie,te&&(this.reportProgress=!!te.reportProgress,this.withCredentials=!!te.withCredentials,te.responseType&&(this.responseType=te.responseType),te.headers&&(this.headers=te.headers),te.context&&(this.context=te.context),te.params&&(this.params=te.params)),this.headers||(this.headers=new R),this.context||(this.context=new ze),this.params){const re=this.params.toString();if(0===re.length)this.urlWithParams=A;else{const Ce=A.indexOf("?");this.urlWithParams=A+(-1===Ce?"?":Ce<A.length-1?"&":"")+re}}else this.params=new je,this.urlWithParams=A}serializeBody(){return null===this.body?null:U(this.body)||se(this.body)||q(this.body)||function oe(z){return typeof URLSearchParams<"u"&&z instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof je?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||q(this.body)?null:se(this.body)?this.body.type||null:U(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof je?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(x={}){const A=x.method||this.method,ie=x.url||this.url,Ie=x.responseType||this.responseType,te=void 0!==x.body?x.body:this.body,re=void 0!==x.withCredentials?x.withCredentials:this.withCredentials,Ce=void 0!==x.reportProgress?x.reportProgress:this.reportProgress;let $e=x.headers||this.headers,Fe=x.params||this.params;const wt=x.context??this.context;return void 0!==x.setHeaders&&($e=Object.keys(x.setHeaders).reduce((he,L)=>he.set(L,x.setHeaders[L]),$e)),x.setParams&&(Fe=Object.keys(x.setParams).reduce((he,L)=>he.set(L,x.setParams[L]),Fe)),new le(A,ie,te,{params:Fe,headers:$e,context:wt,reportProgress:Ce,responseType:Ie,withCredentials:re})}}var ve=(()=>((ve=ve||{})[ve.Sent=0]="Sent",ve[ve.UploadProgress=1]="UploadProgress",ve[ve.ResponseHeader=2]="ResponseHeader",ve[ve.DownloadProgress=3]="DownloadProgress",ve[ve.Response=4]="Response",ve[ve.User=5]="User",ve))();class Ze{constructor(x,A=200,ie="OK"){this.headers=x.headers||new R,this.status=void 0!==x.status?x.status:A,this.statusText=x.statusText||ie,this.url=x.url||null,this.ok=this.status>=200&&this.status<300}}class Ge extends Ze{constructor(x={}){super(x),this.type=ve.ResponseHeader}clone(x={}){return new Ge({headers:x.headers||this.headers,status:void 0!==x.status?x.status:this.status,statusText:x.statusText||this.statusText,url:x.url||this.url||void 0})}}class bt extends Ze{constructor(x={}){super(x),this.type=ve.Response,this.body=void 0!==x.body?x.body:null}clone(x={}){return new bt({body:void 0!==x.body?x.body:this.body,headers:x.headers||this.headers,status:void 0!==x.status?x.status:this.status,statusText:x.statusText||this.statusText,url:x.url||this.url||void 0})}}class st extends Ze{constructor(x){super(x,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${x.url||"(unknown url)"}`:`Http failure response for ${x.url||"(unknown url)"}: ${x.status} ${x.statusText}`,this.error=x.error||null}}function Oe(z,x){return{body:x,headers:z.headers,context:z.context,observe:z.observe,params:z.params,reportProgress:z.reportProgress,responseType:z.responseType,withCredentials:z.withCredentials}}let Ye=(()=>{class z{constructor(A){this.handler=A}request(A,ie,Ie={}){let te;if(A instanceof le)te=A;else{let $e,Fe;$e=Ie.headers instanceof R?Ie.headers:new R(Ie.headers),Ie.params&&(Fe=Ie.params instanceof je?Ie.params:new je({fromObject:Ie.params})),te=new le(A,ie,void 0!==Ie.body?Ie.body:null,{headers:$e,context:Ie.context,params:Fe,reportProgress:Ie.reportProgress,responseType:Ie.responseType||"json",withCredentials:Ie.withCredentials})}const re=(0,C.of)(te).pipe((0,k.b)($e=>this.handler.handle($e)));if(A instanceof le||"events"===Ie.observe)return re;const Ce=re.pipe((0,ee.h)($e=>$e instanceof bt));switch(Ie.observe||"body"){case"body":switch(te.responseType){case"arraybuffer":return Ce.pipe((0,ce.U)($e=>{if(null!==$e.body&&!($e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return $e.body}));case"blob":return Ce.pipe((0,ce.U)($e=>{if(null!==$e.body&&!($e.body instanceof Blob))throw new Error("Response is not a Blob.");return $e.body}));case"text":return Ce.pipe((0,ce.U)($e=>{if(null!==$e.body&&"string"!=typeof $e.body)throw new Error("Response is not a string.");return $e.body}));default:return Ce.pipe((0,ce.U)($e=>$e.body))}case"response":return Ce;default:throw new Error(`Unreachable: unhandled observe type ${Ie.observe}}`)}}delete(A,ie={}){return this.request("DELETE",A,ie)}get(A,ie={}){return this.request("GET",A,ie)}head(A,ie={}){return this.request("HEAD",A,ie)}jsonp(A,ie){return this.request("JSONP",A,{params:(new je).append(ie,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(A,ie={}){return this.request("OPTIONS",A,ie)}patch(A,ie,Ie={}){return this.request("PATCH",A,Oe(Ie,ie))}post(A,ie,Ie={}){return this.request("POST",A,Oe(Ie,ie))}put(A,ie,Ie={}){return this.request("PUT",A,Oe(Ie,ie))}}return z.\u0275fac=function(A){return new(A||z)(d.LFG(J))},z.\u0275prov=d.Yz7({token:z,factory:z.\u0275fac}),z})();function tt(z,x){return x(z)}function lt(z,x){return(A,ie)=>x.intercept(A,{handle:Ie=>z(Ie,ie)})}const ft=new d.OlP("HTTP_INTERCEPTORS"),ot=new d.OlP("HTTP_INTERCEPTOR_FNS");function fe(){let z=null;return(x,A)=>(null===z&&(z=((0,d.f3M)(ft,{optional:!0})??[]).reduceRight(lt,tt)),z(x,A))}let G=(()=>{class z extends J{constructor(A,ie){super(),this.backend=A,this.injector=ie,this.chain=null}handle(A){if(null===this.chain){const ie=Array.from(new Set(this.injector.get(ot)));this.chain=ie.reduceRight((Ie,te)=>function vt(z,x,A){return(ie,Ie)=>A.runInContext(()=>x(ie,te=>z(te,Ie)))}(Ie,te,this.injector),tt)}return this.chain(A,ie=>this.backend.handle(ie))}}return z.\u0275fac=function(A){return new(A||z)(d.LFG(ne),d.LFG(d.lqb))},z.\u0275prov=d.Yz7({token:z,factory:z.\u0275fac}),z})();const bn=/^\)\]\}',?\n/;let ln=(()=>{class z{constructor(A){this.xhrFactory=A}handle(A){if("JSONP"===A.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new $.y(ie=>{const Ie=this.xhrFactory.build();if(Ie.open(A.method,A.urlWithParams),A.withCredentials&&(Ie.withCredentials=!0),A.headers.forEach((T,I)=>Ie.setRequestHeader(T,I.join(","))),A.headers.has("Accept")||Ie.setRequestHeader("Accept","application/json, text/plain, */*"),!A.headers.has("Content-Type")){const T=A.detectContentTypeHeader();null!==T&&Ie.setRequestHeader("Content-Type",T)}if(A.responseType){const T=A.responseType.toLowerCase();Ie.responseType="json"!==T?T:"text"}const te=A.serializeBody();let re=null;const Ce=()=>{if(null!==re)return re;const T=Ie.statusText||"OK",I=new R(Ie.getAllResponseHeaders()),W=function Pn(z){return"responseURL"in z&&z.responseURL?z.responseURL:/^X-Request-URL:/m.test(z.getAllResponseHeaders())?z.getResponseHeader("X-Request-URL"):null}(Ie)||A.url;return re=new Ge({headers:I,status:Ie.status,statusText:T,url:W}),re},$e=()=>{let{headers:T,status:I,statusText:W,url:ae}=Ce(),He=null;204!==I&&(He=typeof Ie.response>"u"?Ie.responseText:Ie.response),0===I&&(I=He?200:0);let Et=I>=200&&I<300;if("json"===A.responseType&&"string"==typeof He){const qt=He;He=He.replace(bn,"");try{He=""!==He?JSON.parse(He):null}catch(oi){He=qt,Et&&(Et=!1,He={error:oi,text:He})}}Et?(ie.next(new bt({body:He,headers:T,status:I,statusText:W,url:ae||void 0})),ie.complete()):ie.error(new st({error:He,headers:T,status:I,statusText:W,url:ae||void 0}))},Fe=T=>{const{url:I}=Ce(),W=new st({error:T,status:Ie.status||0,statusText:Ie.statusText||"Unknown Error",url:I||void 0});ie.error(W)};let wt=!1;const he=T=>{wt||(ie.next(Ce()),wt=!0);let I={type:ve.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(I.total=T.total),"text"===A.responseType&&Ie.responseText&&(I.partialText=Ie.responseText),ie.next(I)},L=T=>{let I={type:ve.UploadProgress,loaded:T.loaded};T.lengthComputable&&(I.total=T.total),ie.next(I)};return Ie.addEventListener("load",$e),Ie.addEventListener("error",Fe),Ie.addEventListener("timeout",Fe),Ie.addEventListener("abort",Fe),A.reportProgress&&(Ie.addEventListener("progress",he),null!==te&&Ie.upload&&Ie.upload.addEventListener("progress",L)),Ie.send(te),ie.next({type:ve.Sent}),()=>{Ie.removeEventListener("error",Fe),Ie.removeEventListener("abort",Fe),Ie.removeEventListener("load",$e),Ie.removeEventListener("timeout",Fe),A.reportProgress&&(Ie.removeEventListener("progress",he),null!==te&&Ie.upload&&Ie.upload.removeEventListener("progress",L)),Ie.readyState!==Ie.DONE&&Ie.abort()}})}}return z.\u0275fac=function(A){return new(A||z)(d.LFG(s.JF))},z.\u0275prov=d.Yz7({token:z,factory:z.\u0275fac}),z})();const yn=new d.OlP("XSRF_ENABLED"),V=new d.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Te=new d.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Qe{}let ct=(()=>{class z{constructor(A,ie,Ie){this.doc=A,this.platform=ie,this.cookieName=Ie,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const A=this.doc.cookie||"";return A!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,s.Mx)(A,this.cookieName),this.lastCookieString=A),this.lastToken}}return z.\u0275fac=function(A){return new(A||z)(d.LFG(s.K0),d.LFG(d.Lbi),d.LFG(V))},z.\u0275prov=d.Yz7({token:z,factory:z.\u0275fac}),z})();function at(z,x){const A=z.url.toLowerCase();if(!(0,d.f3M)(yn)||"GET"===z.method||"HEAD"===z.method||A.startsWith("http://")||A.startsWith("https://"))return x(z);const ie=(0,d.f3M)(Qe).getToken(),Ie=(0,d.f3M)(Te);return null!=ie&&!z.headers.has(Ie)&&(z=z.clone({headers:z.headers.set(Ie,ie)})),x(z)}var _e=(()=>((_e=_e||{})[_e.Interceptors=0]="Interceptors",_e[_e.LegacyInterceptors=1]="LegacyInterceptors",_e[_e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",_e[_e.NoXsrfProtection=3]="NoXsrfProtection",_e[_e.JsonpSupport=4]="JsonpSupport",_e[_e.RequestsMadeViaParent=5]="RequestsMadeViaParent",_e))();function it(z,x){return{\u0275kind:z,\u0275providers:x}}function ge(...z){const x=[Ye,ln,G,{provide:J,useExisting:G},{provide:ne,useExisting:ln},{provide:ot,useValue:at,multi:!0},{provide:yn,useValue:!0},{provide:Qe,useClass:ct}];for(const A of z)x.push(...A.\u0275providers);return(0,d.MR2)(x)}const mt=new d.OlP("LEGACY_INTERCEPTOR_FN");let Nn=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=d.oAB({type:z}),z.\u0275inj=d.cJS({providers:[ge(it(_e.LegacyInterceptors,[{provide:mt,useFactory:fe},{provide:ot,useExisting:mt,multi:!0}]))]}),z})()},94650:(yt,Ee,g)=>{g.d(Ee,{$8M:()=>_i,$WT:()=>er,$Z:()=>bh,AFp:()=>Sg,ALo:()=>zp,AaK:()=>J,Akn:()=>ts,AsE:()=>cu,BQk:()=>El,CHM:()=>ls,CRH:()=>rg,CZH:()=>Ll,CqO:()=>tf,D6c:()=>kb,DdM:()=>Pp,Dn7:()=>Kp,EJc:()=>ZD,EiD:()=>Ld,EpF:()=>Jh,F$t:()=>lf,F4k:()=>ef,FYo:()=>Xd,FiY:()=>b,G48:()=>mb,G7q:()=>Zp,Gf:()=>ng,GfV:()=>qd,GkF:()=>Zc,Gpc:()=>Z,Gre:()=>Lf,HOy:()=>du,HTZ:()=>Np,Hsn:()=>cf,Ikx:()=>hu,JOm:()=>_s,JVY:()=>Ym,JZr:()=>ke,Jf7:()=>eh,KtG:()=>Cs,L6k:()=>Zm,LAX:()=>Xm,LFG:()=>It,LSH:()=>fc,Lbi:()=>WD,Lck:()=>J0,MAs:()=>qh,MGl:()=>Cl,MMx:()=>Eu,MR2:()=>f_,MT6:()=>Nf,NdJ:()=>Xc,O4$:()=>ds,OlP:()=>Vn,Oqu:()=>lu,P3R:()=>Ud,PXZ:()=>ub,Q6J:()=>Gc,QGY:()=>Qc,QbO:()=>GD,Qsj:()=>I_,R0b:()=>Uo,RDi:()=>Hm,Rgc:()=>Xa,SBq:()=>Na,Sil:()=>XD,Suo:()=>ig,TTD:()=>Qi,TgZ:()=>vl,Tol:()=>Cf,Udp:()=>ou,VKq:()=>xp,W1O:()=>lg,WFA:()=>qc,WLB:()=>Rp,X6Q:()=>gb,XFs:()=>Ne,Xpm:()=>qt,Xts:()=>pc,Y36:()=>ha,YKP:()=>Ep,YNc:()=>Xh,Yjl:()=>ji,Yz7:()=>De,Z0I:()=>Lt,ZZ4:()=>Ku,_Bn:()=>bp,_UZ:()=>Yc,_Vd:()=>La,_c5:()=>xb,_uU:()=>Of,aQg:()=>Yu,c2e:()=>KD,cJS:()=>Mt,cQ8:()=>tu,cg1:()=>pu,d8E:()=>fu,dDg:()=>sb,dqk:()=>at,eBb:()=>Qm,eFA:()=>jg,eJc:()=>Pu,ekj:()=>su,eoX:()=>Lg,evT:()=>th,f3M:()=>z,g9A:()=>Ag,gM2:()=>Yp,h0i:()=>Ta,hGG:()=>Rb,hYB:()=>eu,hij:()=>Tl,iGM:()=>tg,ifc:()=>Fe,ip1:()=>Tg,jDz:()=>wp,kEZ:()=>kp,kL8:()=>Kf,kcU:()=>Xo,l5B:()=>Fp,lG2:()=>fr,lcZ:()=>Wp,lnq:()=>uu,lqb:()=>Zs,lri:()=>kg,mCW:()=>sl,n5z:()=>rn,n_E:()=>Pl,oAB:()=>yi,oJD:()=>Nd,oxw:()=>af,pB0:()=>qm,q3G:()=>Gi,q4F:()=>Jd,qLn:()=>Ba,qOj:()=>Vc,qZA:()=>Dl,qbA:()=>Lp,qzn:()=>aa,rFY:()=>Bp,rWj:()=>Fg,s9C:()=>Jc,sBO:()=>_b,s_b:()=>Rl,soG:()=>Nl,tBr:()=>Aa,tb:()=>Bg,tp0:()=>N,uIk:()=>Wc,vHH:()=>ye,vpe:()=>bs,wAp:()=>an,xi3:()=>Gp,xp6:()=>lh,ynx:()=>bl,z2F:()=>Bl,z3N:()=>xs,zSh:()=>yc,zs3:()=>Qs});var s=g(77579),d=g(50727),C=g(69751),$=g(56451),k=g(13099);function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function ce(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function J(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(J).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 ne(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const R=ee({__forward_ref__:ee});function Z(e){return e.__forward_ref__=Z,e.toString=function(){return J(this())},e}function Y(e){return Ae(e)?e():e}function Ae(e){return"function"==typeof e&&e.hasOwnProperty(R)&&e.__forward_ref__===Z}function be(e){return e&&!!e.\u0275providers}const ke="https://g.co/ng/security#xss";class ye extends Error{constructor(t,n){super(je(t,n)),this.code=t}}function je(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function Ke(e){return"string"==typeof e?e:null==e?"":String(e)}function q(e,t){throw new ye(-201,!1)}function ot(e,t){null==e&&function fe(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function De(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Mt(e){return{providers:e.providers||[],imports:e.imports||[]}}function xt(e){return Kt(e,bn)||Kt(e,ln)}function Lt(e){return null!==xt(e)}function Kt(e,t){return e.hasOwnProperty(t)?e[t]:null}function zt(e){return e&&(e.hasOwnProperty(Pn)||e.hasOwnProperty(yn))?e[Pn]:null}const bn=ee({\u0275prov:ee}),Pn=ee({\u0275inj:ee}),ln=ee({ngInjectableDef:ee}),yn=ee({ngInjectorDef:ee});var Ne=(()=>((Ne=Ne||{})[Ne.Default=0]="Default",Ne[Ne.Host=1]="Host",Ne[Ne.Self=2]="Self",Ne[Ne.SkipSelf=4]="SkipSelf",Ne[Ne.Optional=8]="Optional",Ne))();let V;function Te(e){const t=V;return V=e,t}function Qe(e,t,n){const i=xt(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Ne.Optional?null:void 0!==t?t:void q(J(e))}const at=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ge={},Le="__NG_DI_FLAG__",mt="ngTempTokenPath",St="ngTokenPath",Ht=/\n/gm,Ot="\u0275",nn="__source";let jt;function xn(e){const t=jt;return jt=e,t}function Nn(e,t=Ne.Default){if(void 0===jt)throw new ye(-203,!1);return null===jt?Qe(e,void 0,t):jt.get(e,t&Ne.Optional?null:void 0,t)}function It(e,t=Ne.Default){return(function de(){return V}()||Nn)(Y(e),t)}function z(e,t=Ne.Default){return It(e,x(t))}function x(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function A(e){const t=[];for(let n=0;n<e.length;n++){const i=Y(e[n]);if(Array.isArray(i)){if(0===i.length)throw new ye(900,!1);let r,o=Ne.Default;for(let u=0;u<i.length;u++){const p=i[u],v=Ie(p);"number"==typeof v?-1===v?r=p.token:o|=v:r=p}t.push(It(r,o))}else t.push(It(i))}return t}function ie(e,t){return e[Le]=t,e.prototype[Le]=t,e}function Ie(e){return e[Le]}function Ce(e){return{toString:e}.toString()}var $e=(()=>(($e=$e||{})[$e.OnPush=0]="OnPush",$e[$e.Default=1]="Default",$e))(),Fe=(()=>{return(e=Fe||(Fe={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Fe;var e})();const wt={},he=[],L=ee({\u0275cmp:ee}),T=ee({\u0275dir:ee}),I=ee({\u0275pipe:ee}),W=ee({\u0275mod:ee}),ae=ee({\u0275fac:ee}),He=ee({__NG_ELEMENT_ID__:ee});let Et=0;function qt(e){return Ce(()=>{const t=Wn(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===$e.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||Fe.Emulated,id:"c"+Et++,styles:e.styles||he,_:null,schemas:e.schemas||null,tView:null};Cr(n);const i=e.dependencies;return n.directiveDefs=Yi(i,!1),n.pipeDefs=Yi(i,!0),n})}function ri(e){return wn(e)||Xn(e)}function Ji(e){return null!==e}function yi(e){return Ce(()=>({type:e.type,bootstrap:e.bootstrap||he,declarations:e.declarations||he,imports:e.imports||he,exports:e.exports||he,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hr(e,t){if(null==e)return wt;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 fr(e){return Ce(()=>{const t=Wn(e);return Cr(t),t})}function ji(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 wn(e){return e[L]||null}function Xn(e){return e[T]||null}function si(e){return e[I]||null}function er(e){const t=wn(e)||Xn(e)||si(e);return null!==t&&t.standalone}function vi(e,t){const n=e[W]||null;if(!n&&!0===t)throw new Error(`Type ${J(e)} does not have '\u0275mod' property.`);return n}function Wn(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,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||he,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hr(e.inputs,t),outputs:hr(e.outputs)}}function Cr(e){e.features?.forEach(t=>t(e))}function Yi(e,t){if(!e)return null;const n=t?si:ri;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(Ji)}const Ri=0,kt=1,tn=2,In=3,Kn=4,Si=5,An=6,ai=7,Rn=8,ki=9,Mo=10,fn=11,so=12,wr=13,bi=14,pr=15,di=16,Zi=17,Mr=18,Fi=19,nr=20,ao=21,En=22,To=1,kr=2,ir=7,Di=8,rr=9,hi=10;function li(e){return Array.isArray(e)&&"object"==typeof e[To]}function Ii(e){return Array.isArray(e)&&!0===e[To]}function So(e){return 0!=(4&e.flags)}function lo(e){return e.componentOffset>-1}function Li(e){return 1==(1&e.flags)}function Ni(e){return!!e.template}function Fr(e){return 0!=(256&e[tn])}function kn(e,t){return e.hasOwnProperty(ae)?e[ae]:null}class fi{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Qi(){return uo}function uo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Tr),Zr}function Zr(){const e=yr(this),t=e?.current;if(t){const n=e.previous;if(n===wt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Tr(e,t,n,i){const r=this.declaredInputs[n],o=yr(e)||function Qr(e,t){return e[or]=t}(e,{previous:wt,current:null}),u=o.current||(o.current={}),p=o.previous,v=p[r];u[r]=new fi(v&&v.currentValue,t,p===wt),e[i]=t}Qi.ngInherit=!0;const or="__ngSimpleChanges__";function yr(e){return e[or]||null}const gn=function(e,t,n){},qn="svg";function Mn(e){for(;Array.isArray(e);)e=e[Ri];return e}function Ir(e,t){return Mn(t[e])}function Ei(e,t){return Mn(t[e.index])}function Ho(e,t){return e.data[t]}function vr(e,t){return e[t]}function Jn(e,t){const n=t[e];return li(n)?n:n[Ri]}function Ao(e){return 64==(64&e[tn])}function Hi(e,t){return null==t?null:e[t]}function Dr(e){e[Mr]=0}function Vo(e,t){e[Si]+=t;let n=e,i=e[In];for(;null!==i&&(1===t&&1===n[Si]||-1===t&&0===n[Si]);)i[Si]+=t,n=i,i=i[In]}const Qt={lFrame:Bs(null),bindingsEnabled:!0};function zo(){return Qt.bindingsEnabled}function Dt(){return Qt.lFrame.lView}function On(){return Qt.lFrame.tView}function ls(e){return Qt.lFrame.contextLView=e,e[Rn]}function Cs(e){return Qt.lFrame.contextLView=null,e}function mi(){let e=ws();for(;null!==e&&64===e.type;)e=e.parent;return e}function ws(){return Qt.lFrame.currentTNode}function Vi(e,t){const n=Qt.lFrame;n.currentTNode=e,n.isParent=t}function Go(){return Qt.lFrame.isParent}function xo(){Qt.lFrame.isParent=!1}function ei(){const e=Qt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ai(){return Qt.lFrame.bindingIndex}function Jr(){return Qt.lFrame.bindingIndex++}function sr(e){const t=Qt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Fo(e,t){const n=Qt.lFrame;n.bindingIndex=n.bindingRootIndex=e,eo(t)}function eo(e){Qt.lFrame.currentDirectiveIndex=e}function po(e){const t=Qt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function to(){return Qt.lFrame.currentQueryIndex}function go(e){Qt.lFrame.currentQueryIndex=e}function Lo(e){const t=e[kt];return 2===t.type?t.declTNode:1===t.type?e[An]:null}function mo(e,t,n){if(n&Ne.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&Ne.Host||(r=Lo(o),null===r||(o=o[pr],10&r.type))););if(null===r)return!1;t=r,e=o}const i=Qt.lFrame=Ns();return i.currentTNode=t,i.lView=e,!0}function Ko(e){const t=Ns(),n=e[kt];Qt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ns(){const e=Qt.lFrame,t=null===e?null:e.child;return null===t?Bs(e):t}function Bs(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 Yo(){const e=Qt.lFrame;return Qt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Us=Yo;function Zo(){const e=Yo();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 Oi(){return Qt.lFrame.selectedIndex}function no(e){Qt.lFrame.selectedIndex=e}function ti(){const e=Qt.lFrame;return Ho(e.tView,e.selectedIndex)}function ds(){Qt.lFrame.currentNamespace=qn}function Xo(){!function Ur(){Qt.lFrame.currentNamespace=null}()}function _o(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:p,ngAfterViewInit:v,ngAfterViewChecked:O,ngOnDestroy:H}=o;u&&(e.contentHooks||(e.contentHooks=[])).push(-n,u),p&&((e.contentHooks||(e.contentHooks=[])).push(n,p),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,p)),v&&(e.viewHooks||(e.viewHooks=[])).push(-n,v),O&&((e.viewHooks||(e.viewHooks=[])).push(n,O),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,O)),null!=H&&(e.destroyHooks||(e.destroyHooks=[])).push(n,H)}}function yo(e,t,n){D(e,t,3,n)}function m(e,t,n,i){(3&e[tn])===n&&D(e,t,n,i)}function P(e,t){let n=e[tn];(3&n)===t&&(n&=2047,n+=1,e[tn]=n)}function D(e,t,n,i){const o=i??-1,u=t.length-1;let p=0;for(let v=void 0!==i?65535&e[Mr]:0;v<u;v++)if("number"==typeof t[v+1]){if(p=t[v],null!=i&&p>=i)break}else t[v]<0&&(e[Mr]+=65536),(p<o||-1==o)&&(j(e,n,t,v),e[Mr]=(4294901760&e[Mr])+v+2),v++}function j(e,t,n,i){const r=n[i]<0,o=n[i+1],p=e[r?-n[i]:n[i]];if(r){if(e[tn]>>11<e[Mr]>>16&&(3&e[tn])===t){e[tn]+=2048,gn(4,p,o);try{o.call(p)}finally{gn(5,p,o)}}}else{gn(4,p,o);try{o.call(p)}finally{gn(5,p,o)}}}const pe=-1;class Je{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function ii(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++],u=n[i++],p=n[i++];e.setAttribute(t,u,p,o)}else{const o=r,u=n[++i];wi(o)?e.setProperty(t,o,u):e.setAttribute(t,o,u),i++}}return i}function Xi(e){return 3===e||4===e||6===e}function wi(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||ar(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function ar(e,t,n,i,r){let o=0,u=e.length;if(-1===t)u=-1;else for(;o<e.length;){const p=e[o++];if("number"==typeof p){if(p===t){u=-1;break}if(p>t){u=o-1;break}}}for(;o<e.length;){const p=e[o];if("number"==typeof p)break;if(p===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!==u&&(e.splice(u,0,t),o=u+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}function vo(e){return e!==pe}function Ar(e){return 32767&e}function No(e,t){let n=function ps(e){return e>>16}(e),i=t;for(;n>0;)i=i[pr],n--;return i}let Ss=!0;function jr(e){const t=Ss;return Ss=e,t}const gs=255,br=5;let Is=0;const Or={};function Do(e,t){const n=Os(e,t);if(-1!==n)return n;const i=t[kt];i.firstCreatePass&&(e.injectorIndex=t.length,Pi(i.data,e),Pi(t,null),Pi(i.blueprint,null));const r=E(e,t),o=e.injectorIndex;if(vo(r)){const u=Ar(r),p=No(r,t),v=p[kt].data;for(let O=0;O<8;O++)t[o+O]=p[u+O]|v[u+O]}return t[o+8]=r,o}function Pi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Os(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function E(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=Mi(r),null===i)return pe;if(n++,r=r[pr],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return pe}function l(e,t,n){!function As(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(He)&&(i=n[He]),null==i&&(i=n[He]=Is++);const r=i&gs;t.data[e+(r>>br)]|=1<<r}(e,t,n)}function y(e,t,n){if(n&Ne.Optional||void 0!==e)return e;q()}function F(e,t,n,i){if(n&Ne.Optional&&void 0===i&&(i=null),!(n&(Ne.Self|Ne.Host))){const r=e[ki],o=Te(void 0);try{return r?r.get(t,i,n&Ne.Optional):Qe(t,i,n&Ne.Optional)}finally{Te(o)}}return y(i,0,n)}function Q(e,t,n,i=Ne.Default,r){if(null!==e){if(1024&t[tn]){const u=function Zn(e,t,n,i,r){let o=e,u=t;for(;null!==o&&null!==u&&1024&u[tn]&&!(256&u[tn]);){const p=we(o,u,n,i|Ne.Self,Or);if(p!==Or)return p;let v=o.parent;if(!v){const O=u[ao];if(O){const H=O.get(n,Or,i);if(H!==Or)return H}v=Mi(u),u=u[pr]}o=v}return r}(e,t,n,i,Or);if(u!==Or)return u}const o=we(e,t,n,i,Or);if(o!==Or)return o}return F(t,n,i,r)}function we(e,t,n,i,r){const o=function Nt(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(He)?e[He]:void 0;return"number"==typeof t?t>=0?t&gs:Xt:t}(n);if("function"==typeof o){if(!mo(t,e,i))return i&Ne.Host?y(r,0,i):F(t,n,i,r);try{const u=o(i);if(null!=u||i&Ne.Optional)return u;q()}finally{Us()}}else if("number"==typeof o){let u=null,p=Os(e,t),v=pe,O=i&Ne.Host?t[di][An]:null;for((-1===p||i&Ne.SkipSelf)&&(v=-1===p?E(e,t):t[p+8],v!==pe&&vn(i,!1)?(u=t[kt],p=Ar(v),t=No(v,t)):p=-1);-1!==p;){const H=t[kt];if(Rt(o,p,H.data)){const ue=Me(p,t,n,u,i,O);if(ue!==Or)return ue}v=t[p+8],v!==pe&&vn(i,t[kt].data[p+8]===O)&&Rt(o,p,t)?(u=H,p=Ar(v),t=No(v,t)):p=-1}}return r}function Me(e,t,n,i,r,o){const u=t[kt],p=u.data[e+8],H=Xe(p,u,n,null==i?lo(p)&&Ss:i!=u&&0!=(3&p.type),r&Ne.Host&&o===p);return null!==H?rt(t,u,H,p):Or}function Xe(e,t,n,i,r){const o=e.providerIndexes,u=t.data,p=1048575&o,v=e.directiveStart,H=o>>20,Re=r?p+H:e.directiveEnd;for(let qe=i?p:p+H;qe<Re;qe++){const _t=u[qe];if(qe<v&&n===_t||qe>=v&&_t.type===n)return qe}if(r){const qe=u[v];if(qe&&Ni(qe)&&qe.type===n)return v}return null}function rt(e,t,n,i){let r=e[n];const o=t.data;if(function gt(e){return e instanceof Je}(r)){const u=r;u.resolving&&function xe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ye(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ze(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ke(e)}(o[n]));const p=jr(u.canSeeViewProviders);u.resolving=!0;const v=u.injectImpl?Te(u.injectImpl):null;mo(e,i,Ne.Default);try{r=e[n]=u.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function fs(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const u=uo(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==v&&Te(v),jr(p),u.resolving=!1,Us()}}return r}function Rt(e,t,n){return!!(n[t+(e>>br)]&1<<e)}function vn(e,t){return!(e&Ne.Self||e&Ne.Host&&t)}class cn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Q(this._tNode,this._lView,t,x(i),n)}}function Xt(){return new cn(mi(),Dt())}function rn(e){return Ce(()=>{const t=e.prototype.constructor,n=t[ae]||Hn(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[ae]||Hn(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Hn(e){return Ae(e)?()=>{const t=Hn(Y(e));return t&&t()}:kn(e)}function Mi(e){const t=e[kt],n=t.type;return 2===n?t.declTNode:1===n?e[An]:null}function _i(e){return function a(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(Xi(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}(mi(),e)}const lr="__parameters__";function Wi(e,t,n){return Ce(()=>{const i=function Pr(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 u=new r(...o);return p.annotation=u,p;function p(v,O,H){const ue=v.hasOwnProperty(lr)?v[lr]:Object.defineProperty(v,lr,{value:[]})[lr];for(;ue.length<=H;)ue.push(null);return(ue[H]=ue[H]||[]).push(u),v}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class Vn{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=De({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function h(e,t){e.forEach(n=>Array.isArray(n)?h(n,t):t(n))}function f(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function c(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function dt(e,t,n){let i=Bt(e,t);return i>=0?e[1|i]=n:(i=~i,function X(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 Ft(e,t){const n=Bt(e,t);if(n>=0)return e[1|n]}function Bt(e,t){return function xi(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const o=i+(r-i>>1),u=e[o<<n];if(t===u)return o<<n;u>t?r=o:i=o+1}return~(r<<n)}(e,t,1)}const Aa=ie(Wi("Inject",e=>({token:e})),-1),b=ie(Wi("Optional"),8),N=ie(Wi("SkipSelf"),4);var _s=(()=>((_s=_s||{})[_s.Important=1]="Important",_s[_s.DashCase=2]="DashCase",_s))();const Gl=new Map;let um=0;const Yl="__ngContext__";function xr(e,t){li(t)?(e[Yl]=t[nr],function hm(e){Gl.set(e[nr],e)}(t)):e[Yl]=t}let Zl;function Ql(e,t){return Zl(e,t)}function xa(e){const t=e[In];return Ii(t)?t[In]:t}function Xl(e){return ud(e[wr])}function ql(e){return ud(e[Kn])}function ud(e){for(;null!==e&&!Ii(e);)e=e[Kn];return e}function oa(e,t,n,i,r){if(null!=i){let o,u=!1;Ii(i)?o=i:li(i)&&(u=!0,i=i[Ri]);const p=Mn(i);0===e&&null!==n?null==r?md(t,n,p):Gs(t,n,p,r||null,!0):1===e&&null!==n?Gs(t,n,p,r||null,!0):2===e?function oc(e,t,n){const i=tl(e,t);i&&function xm(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,p,u):3===e&&t.destroyNode(p),null!=o&&function Fm(e,t,n,i,r){const o=n[ir];o!==Mn(n)&&oa(t,e,i,o,r);for(let p=hi;p<n.length;p++){const v=n[p];Ra(v[kt],v,e,t,i,o)}}(t,e,o,n,r)}}function ec(e,t,n){return e.createElement(t,n)}function hd(e,t){const n=e[rr],i=n.indexOf(t),r=t[In];512&t[tn]&&(t[tn]&=-513,Vo(r,-1)),n.splice(i,1)}function tc(e,t){if(e.length<=hi)return;const n=hi+t,i=e[n];if(i){const r=i[Zi];null!==r&&r!==e&&hd(r,i),t>0&&(e[n-1][Kn]=i[Kn]);const o=c(e,hi+t);!function wm(e,t){Ra(e,t,t[fn],2,null,null),t[Ri]=null,t[An]=null}(i[kt],i);const u=o[Fi];null!==u&&u.detachView(o[kt]),i[In]=null,i[Kn]=null,i[tn]&=-65}return i}function fd(e,t){if(!(128&t[tn])){const n=t[fn];n.destroyNode&&Ra(e,t,n,3,null,null),function Sm(e){let t=e[wr];if(!t)return nc(e[kt],e);for(;t;){let n=null;if(li(t))n=t[wr];else{const i=t[hi];i&&(n=i)}if(!n){for(;t&&!t[Kn]&&t!==e;)li(t)&&nc(t[kt],t),t=t[In];null===t&&(t=e),li(t)&&nc(t[kt],t),n=t&&t[Kn]}t=n}}(t)}}function nc(e,t){if(!(128&t[tn])){t[tn]&=-65,t[tn]|=128,function Pm(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 Je)){const o=n[i+1];if(Array.isArray(o))for(let u=0;u<o.length;u+=2){const p=r[o[u]],v=o[u+1];gn(4,p,v);try{v.call(p)}finally{gn(5,p,v)}}else{gn(4,r,o);try{o.call(r)}finally{gn(5,r,o)}}}}}(e,t),function Om(e,t){const n=e.cleanup,i=t[ai];let r=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const u=n[o+3];u>=0?i[r=u]():i[r=-u].unsubscribe(),o+=2}else{const u=i[r=n[o+1]];n[o].call(u)}if(null!==i){for(let o=r+1;o<i.length;o++)(0,i[o])();t[ai]=null}}(e,t),1===t[kt].type&&t[fn].destroy();const n=t[Zi];if(null!==n&&Ii(t[In])){n!==t[In]&&hd(n,t);const i=t[Fi];null!==i&&i.detachView(e)}!function fm(e){Gl.delete(e[nr])}(t)}}function pd(e,t,n){return function gd(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[Ri];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Fe.None||o===Fe.Emulated)return null}return Ei(i,n)}}(e,t.parent,n)}function Gs(e,t,n,i,r){e.insertBefore(t,n,i,r)}function md(e,t,n){e.appendChild(t,n)}function _d(e,t,n,i,r){null!==i?Gs(e,t,n,i,r):md(e,t,n)}function tl(e,t){return e.parentNode(t)}function yd(e,t,n){return Dd(e,t,n)}let ic,rl,lc,ol,Dd=function vd(e,t,n){return 40&e.type?Ei(e,n):null};function nl(e,t,n,i){const r=pd(e,i,t),o=t[fn],p=yd(i.parent||t[An],i,t);if(null!=r)if(Array.isArray(n))for(let v=0;v<n.length;v++)_d(o,r,n[v],p,!1);else _d(o,r,n,p,!1);void 0!==ic&&ic(o,i,t,n,r)}function il(e,t){if(null!==t){const n=t.type;if(3&n)return Ei(t,e);if(4&n)return rc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return il(e,i);{const r=e[t.index];return Ii(r)?rc(-1,r):Mn(r)}}if(32&n)return Ql(t,e)()||Mn(e[t.index]);{const i=Ed(e,t);return null!==i?Array.isArray(i)?i[0]:il(xa(e[di]),i):il(e,t.next)}}return null}function Ed(e,t){return null!==t?e[di][An].projection[t.projection]:null}function rc(e,t){const n=hi+e+1;if(n<t.length){const i=t[n],r=i[kt].firstChild;if(null!==r)return il(i,r)}return t[ir]}function sc(e,t,n,i,r,o,u){for(;null!=n;){const p=i[n.index],v=n.type;if(u&&0===t&&(p&&xr(Mn(p),i),n.flags|=2),32!=(32&n.flags))if(8&v)sc(e,t,n.child,i,r,o,!1),oa(t,e,r,p,o);else if(32&v){const O=Ql(n,i);let H;for(;H=O();)oa(t,e,r,H,o);oa(t,e,r,p,o)}else 16&v?Cd(e,t,i,n,r,o):oa(t,e,r,p,o);n=u?n.projectionNext:n.next}}function Ra(e,t,n,i,r,o){sc(n,i,e.firstChild,t,r,o,!1)}function Cd(e,t,n,i,r,o){const u=n[di],v=u[An].projection[i.projection];if(Array.isArray(v))for(let O=0;O<v.length;O++)oa(t,e,r,v[O],o);else sc(e,t,v,u[In],r,o,!0)}function wd(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Md(e,t,n){const{mergedAttrs:i,classes:r,styles:o}=n;null!==i&&ii(e,t,i),null!==r&&wd(e,t,r),null!==o&&function Nm(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function sa(e){return function ac(){if(void 0===rl&&(rl=null,at.trustedTypes))try{rl=at.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rl}()?.createHTML(e)||e}function Hm(e){lc=e}function cc(){if(void 0===ol&&(ol=null,at.trustedTypes))try{ol=at.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ol}function Sd(e){return cc()?.createHTML(e)||e}function Ad(e){return cc()?.createScriptURL(e)||e}class Ks{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ke})`}}class Vm extends Ks{getTypeName(){return"HTML"}}class $m extends Ks{getTypeName(){return"Style"}}class zm extends Ks{getTypeName(){return"Script"}}class Wm extends Ks{getTypeName(){return"URL"}}class Gm extends Ks{getTypeName(){return"ResourceURL"}}function xs(e){return e instanceof Ks?e.changingThisBreaksApplicationSecurity:e}function aa(e,t){const n=function Km(e){return e instanceof Ks&&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 ${ke})`)}return n===t}function Ym(e){return new Vm(e)}function Zm(e){return new $m(e)}function Qm(e){return new zm(e)}function Xm(e){return new Wm(e)}function qm(e){return new Gm(e)}class Jm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(sa(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class e_{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=sa(t),n}}const n_=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function sl(e){return(e=String(e)).match(n_)?e:"unsafe:"+e}function Rs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ka(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Pd=Rs("area,br,col,hr,img,wbr"),xd=Rs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rd=Rs("rp,rt"),uc=ka(Pd,ka(xd,Rs("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")),ka(Rd,Rs("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")),ka(Rd,xd)),dc=Rs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),kd=ka(dc,Rs("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"),Rs("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")),i_=Rs("script,style,template");class r_{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(!uc.hasOwnProperty(n))return this.sanitizedSomething=!0,!i_.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),u=o.name,p=u.toLowerCase();if(!kd.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let v=o.value;dc[p]&&(v=sl(v)),this.buf.push(" ",u,'="',Fd(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();uc.hasOwnProperty(n)&&!Pd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Fd(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 o_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s_=/([^\#-~ |!])/g;function Fd(e){return e.replace(/&/g,"&").replace(o_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(s_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let al;function Ld(e,t){let n=null;try{al=al||function Od(e){const t=new e_(e);return function t_(){try{return!!(new window.DOMParser).parseFromString(sa(""),"text/html")}catch{return!1}}()?new Jm(t):t}(e);let i=t?String(t):"";n=al.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=al.getInertBodyElement(i)}while(i!==o);return sa((new r_).sanitizeChildren(hc(n)||n))}finally{if(n){const i=hc(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function hc(e){return"content"in e&&function a_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Gi=(()=>((Gi=Gi||{})[Gi.NONE=0]="NONE",Gi[Gi.HTML=1]="HTML",Gi[Gi.STYLE=2]="STYLE",Gi[Gi.SCRIPT=3]="SCRIPT",Gi[Gi.URL=4]="URL",Gi[Gi.RESOURCE_URL=5]="RESOURCE_URL",Gi))();function Nd(e){const t=Fa();return t?Sd(t.sanitize(Gi.HTML,e)||""):aa(e,"HTML")?Sd(xs(e)):Ld(function Td(){return void 0!==lc?lc:typeof document<"u"?document:void 0}(),Ke(e))}function fc(e){const t=Fa();return t?t.sanitize(Gi.URL,e)||"":aa(e,"URL")?xs(e):sl(Ke(e))}function Bd(e){const t=Fa();if(t)return Ad(t.sanitize(Gi.RESOURCE_URL,e)||"");if(aa(e,"ResourceURL"))return Ad(xs(e));throw new ye(904,!1)}function Ud(e,t,n){return function h_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Bd:fc}(t,n)(e)}function Fa(){const e=Dt();return e&&e[so]}const pc=new Vn("ENVIRONMENT_INITIALIZER"),jd=new Vn("INJECTOR",-1),Hd=new Vn("INJECTOR_DEF_TYPES");class Vd{get(t,n=ge){if(n===ge){const i=new Error(`NullInjectorError: No provider for ${J(t)}!`);throw i.name="NullInjectorError",i}return n}}function f_(e){return{\u0275providers:e}}function p_(...e){return{\u0275providers:$d(0,e),\u0275fromNgModule:!0}}function $d(e,...t){const n=[],i=new Set;let r;return h(t,o=>{const u=o;gc(u,n,[],i)&&(r||(r=[]),r.push(u))}),void 0!==r&&zd(r,n),n}function zd(e,t){for(let n=0;n<e.length;n++){const{providers:r}=e[n];mc(r,o=>{t.push(o)})}}function gc(e,t,n,i){if(!(e=Y(e)))return!1;let r=null,o=zt(e);const u=!o&&wn(e);if(o||u){if(u&&!u.standalone)return!1;r=e}else{const v=e.ngModule;if(o=zt(v),!o)return!1;r=v}const p=i.has(r);if(u){if(p)return!1;if(i.add(r),u.dependencies){const v="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const O of v)gc(O,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!p){let O;i.add(r);try{h(o.imports,H=>{gc(H,t,n,i)&&(O||(O=[]),O.push(H))})}finally{}void 0!==O&&zd(O,t)}if(!p){const O=kn(r)||(()=>new r);t.push({provide:r,useFactory:O,deps:he},{provide:Hd,useValue:r,multi:!0},{provide:pc,useValue:()=>It(r),multi:!0})}const v=o.providers;null==v||p||mc(v,H=>{t.push(H)})}}return r!==e&&void 0!==e.providers}function mc(e,t){for(let n of e)be(n)&&(n=n.\u0275providers),Array.isArray(n)?mc(n,t):t(n)}const g_=ee({provide:String,useValue:ee});function _c(e){return null!==e&&"object"==typeof e&&g_ in e}function Ys(e){return"function"==typeof e}const yc=new Vn("Set Injector scope."),ll={},__={};let vc;function cl(){return void 0===vc&&(vc=new Vd),vc}class Zs{}class Kd extends Zs{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,bc(t,u=>this.processProvider(u)),this.records.set(jd,la(void 0,this)),r.has("environment")&&this.records.set(Zs,la(void 0,this));const o=this.records.get(yc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Hd.multi,he,Ne.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=xn(this),i=Te(void 0);try{return t()}finally{xn(n),Te(i)}}get(t,n=ge,i=Ne.Default){this.assertNotDestroyed(),i=x(i);const r=xn(this),o=Te(void 0);try{if(!(i&Ne.SkipSelf)){let p=this.records.get(t);if(void 0===p){const v=function E_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Vn}(t)&&xt(t);p=v&&this.injectableDefInScope(v)?la(Dc(t),ll):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(i&Ne.Self?cl():this.parent).get(t,n=i&Ne.Optional&&n===ge?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[mt]=u[mt]||[]).unshift(J(t)),r)throw u;return function te(e,t,n,i){const r=e[mt];throw t[nn]&&r.unshift(t[nn]),e.message=function re(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Ot?e.slice(2):e;let r=J(t);if(Array.isArray(t))r=t.map(J).join(" -> ");else if("object"==typeof t){let o=[];for(let u in t)if(t.hasOwnProperty(u)){let p=t[u];o.push(u+":"+("string"==typeof p?JSON.stringify(p):J(p)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Ht,"\n ")}`}("\n"+e.message,r,n,i),e[St]=r,e[mt]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{Te(o),xn(r)}}resolveInjectorInitializers(){const t=xn(this),n=Te(void 0);try{const i=this.get(pc.multi,he,Ne.Self);for(const r of i)r()}finally{xn(t),Te(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(J(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ye(205,!1)}processProvider(t){let n=Ys(t=Y(t))?t:Y(t&&t.provide);const i=function v_(e){return _c(e)?la(void 0,e.useValue):la(Yd(e),ll)}(t);if(Ys(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=la(void 0,ll,!0),r.factory=()=>A(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===ll&&(n.value=__,n.value=n.factory()),"object"==typeof n.value&&n.value&&function b_(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=Y(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Dc(e){const t=xt(e),n=null!==t?t.factory:kn(e);if(null!==n)return n;if(e instanceof Vn)throw new ye(204,!1);if(e instanceof Function)return function y_(e){const t=e.length;if(t>0)throw _(t,"?"),new ye(204,!1);const n=function hn(e){const t=e&&(e[bn]||e[ln]);return t?(function mn(e){if(e.hasOwnProperty("name"))return e.name;(""+e).match(/^function\s*([^\s(]+)/)}(e),t):null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new ye(204,!1)}function Yd(e,t,n){let i;if(Ys(e)){const r=Y(e);return kn(r)||Dc(r)}if(_c(e))i=()=>Y(e.useValue);else if(function Gd(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...A(e.deps||[]));else if(function Wd(e){return!(!e||!e.useExisting)}(e))i=()=>It(Y(e.useExisting));else{const r=Y(e&&(e.useClass||e.provide));if(!function D_(e){return!!e.deps}(e))return kn(r)||Dc(r);i=()=>new r(...A(e.deps))}return i}function la(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function bc(e,t){for(const n of e)Array.isArray(n)?bc(n,t):n&&be(n)?bc(n.\u0275providers,t):t(n)}class C_{}class Zd{}class M_{resolveComponentFactory(t){throw function w_(e){const t=Error(`No component factory found for ${J(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let La=(()=>{class e{}return e.NULL=new M_,e})();function T_(){return ca(mi(),Dt())}function ca(e,t){return new Na(Ei(e,t))}let Na=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=T_,e})();function S_(e){return e instanceof Na?e.nativeElement:e}class Xd{}let I_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function A_(){const e=Dt(),n=Jn(mi().index,e);return(li(n)?n:e)[fn]}(),e})(),O_=(()=>{class e{}return e.\u0275prov=De({token:e,providedIn:"root",factory:()=>null}),e})();class qd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Jd=new qd("15.2.3"),Ec={},Cc="ngOriginalError";function wc(e){return e[Cc]}class Ba{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&&wc(t);for(;n&&wc(n);)n=wc(n);return n||null}}function eh(e){return e.ownerDocument.defaultView}function th(e){return e.ownerDocument}function ks(e){return e instanceof Function?e():e}function ih(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}}const rh="ng-template";function U_(e,t,n){let i=0;for(;i<e.length;){let r=e[i++];if(n&&"class"===r){if(r=e[i],-1!==ih(r.toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function oh(e){return 4===e.type&&e.value!==rh}function j_(e,t,n){return t===(4!==e.type||n?e.value:rh)}function H_(e,t,n){let i=4;const r=e.attrs||[],o=function z_(e){for(let t=0;t<e.length;t++)if(Xi(e[t]))return t;return e.length}(r);let u=!1;for(let p=0;p<t.length;p++){const v=t[p];if("number"!=typeof v){if(!u)if(4&i){if(i=2|1&i,""!==v&&!j_(e,v,n)||""===v&&1===t.length){if(es(i))return!1;u=!0}}else{const O=8&i?v:t[++p];if(8&i&&null!==e.attrs){if(!U_(e.attrs,O,n)){if(es(i))return!1;u=!0}continue}const ue=V_(8&i?"class":v,r,oh(e),n);if(-1===ue){if(es(i))return!1;u=!0;continue}if(""!==O){let Re;Re=ue>o?"":r[ue+1].toLowerCase();const qe=8&i?Re:null;if(qe&&-1!==ih(qe,O,0)||2&i&&O!==Re){if(es(i))return!1;u=!0}}}}else{if(!u&&!es(i)&&!es(v))return!1;if(u&&es(v))continue;u=!1,i=v|1&i}}return es(i)||u}function es(e){return 0==(1&e)}function V_(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){const u=t[r];if(u===e)return r;if(3===u||6===u)o=!0;else{if(1===u||2===u){let p=t[++r];for(;"string"==typeof p;)p=t[++r];continue}if(4===u)break;if(0===u){r+=4;continue}}r+=o?1:2}return-1}return function W_(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 sh(e,t,n=!1){for(let i=0;i<t.length;i++)if(H_(e,t[i],n))return!0;return!1}function G_(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 ah(e,t){return e?":not("+t.trim()+")":t}function K_(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let u=e[n];if("string"==typeof u)if(2&i){const p=e[++n];r+="["+u+(p.length>0?'="'+p+'"':"")+"]"}else 8&i?r+="."+u:4&i&&(r+=" "+u);else""!==r&&!es(u)&&(t+=ah(o,r),r=""),i=u,o=o||!es(i);n++}return""!==r&&(t+=ah(o,r)),t}const Cn={};function lh(e){ch(On(),Dt(),Oi()+e,!1)}function ch(e,t,n,i){if(!i)if(3==(3&t[tn])){const o=e.preOrderCheckHooks;null!==o&&yo(t,o,n)}else{const o=e.preOrderHooks;null!==o&&m(t,o,0,n)}no(n)}function fh(e,t=null,n=null,i){const r=ph(e,t,n,i);return r.resolveInjectorInitializers(),r}function ph(e,t=null,n=null,i,r=new Set){const o=[n||he,p_(e)];return i=i||("object"==typeof e?void 0:J(e)),new Kd(o,t||cl(),i||null,r)}let Qs=(()=>{class e{static create(n,i){if(Array.isArray(n))return fh({name:""},i,n,"");{const r=n.name??"";return fh({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=ge,e.NULL=new Vd,e.\u0275prov=De({token:e,providedIn:"any",factory:()=>It(jd)}),e.__NG_ELEMENT_ID__=-1,e})();function ha(e,t=Ne.Default){const n=Dt();return null===n?It(e,t):Q(mi(),n,Y(e),t)}function bh(){throw new Error("invalid")}function Eh(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 u=e.data[o];go(n[i]),u.contentQueries(2,t[o],o)}}}function dl(e,t,n,i,r,o,u,p,v,O,H){const ue=t.blueprint.slice();return ue[Ri]=r,ue[tn]=76|i,(null!==H||e&&1024&e[tn])&&(ue[tn]|=1024),Dr(ue),ue[In]=ue[pr]=e,ue[Rn]=n,ue[Mo]=u||e&&e[Mo],ue[fn]=p||e&&e[fn],ue[so]=v||e&&e[so]||null,ue[ki]=O||e&&e[ki]||null,ue[An]=o,ue[nr]=function dm(){return um++}(),ue[ao]=H,ue[di]=2==t.type?e[di]:ue,ue}function fa(e,t,n,i,r){let o=e.data[t];if(null===o)o=function Ac(e,t,n,i,r){const o=ws(),u=Go(),v=e.data[t]=function vy(e,t,n,i,r,o){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,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,u?o:o&&o.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=v),null!==o&&(u?null==o.child&&null!==v.parent&&(o.child=v):null===o.next&&(o.next=v,v.prev=o)),v}(e,t,n,i,r),function fo(){return Qt.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const u=function Br(){const e=Qt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===u?-1:u.injectorIndex}return Vi(o,!0),o}function Ua(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 Oc(e,t,n){Ko(t);try{const i=e.viewQuery;null!==i&&jc(1,i,n);const r=e.template;null!==r&&Ch(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Eh(e,t),e.staticViewQueries&&jc(2,e.viewQuery,n);const o=e.components;null!==o&&function my(e,t){for(let n=0;n<t.length;n++)By(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[tn]&=-5,Zo()}}function hl(e,t,n,i){const r=t[tn];if(128!=(128&r)){Ko(t);try{Dr(t),function qr(e){return Qt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Ch(e,t,n,2,i);const u=3==(3&r);if(u){const O=e.preOrderCheckHooks;null!==O&&yo(t,O,null)}else{const O=e.preOrderHooks;null!==O&&m(t,O,0,null),P(t,0)}if(function Ly(e){for(let t=Xl(e);null!==t;t=ql(t)){if(!t[kr])continue;const n=t[rr];for(let i=0;i<n.length;i++){const r=n[i];512&r[tn]||Vo(r[In],1),r[tn]|=512}}}(t),function Fy(e){for(let t=Xl(e);null!==t;t=ql(t))for(let n=hi;n<t.length;n++){const i=t[n],r=i[kt];Ao(i)&&hl(r,i,r.template,i[Rn])}}(t),null!==e.contentQueries&&Eh(e,t),u){const O=e.contentCheckHooks;null!==O&&yo(t,O)}else{const O=e.contentHooks;null!==O&&m(t,O,1),P(t,1)}!function py(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const r=n[i];if(r<0)no(~r);else{const o=r,u=n[++i],p=n[++i];Fo(u,o),p(2,t[o])}}}finally{no(-1)}}(e,t);const p=e.components;null!==p&&function gy(e,t){for(let n=0;n<t.length;n++)Ny(e,t[n])}(t,p);const v=e.viewQuery;if(null!==v&&jc(2,v,i),u){const O=e.viewCheckHooks;null!==O&&yo(t,O)}else{const O=e.viewHooks;null!==O&&m(t,O,2),P(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[tn]&=-41,512&t[tn]&&(t[tn]&=-513,Vo(t[In],-1))}finally{Zo()}}}function Ch(e,t,n,i,r){const o=Oi(),u=2&i;try{no(-1),u&&t.length>En&&ch(e,t,En,!1),gn(u?2:0,r),n(i,r)}finally{no(o),gn(u?3:1,r)}}function Pc(e,t,n){if(So(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o<r;o++){const u=e.data[o];u.contentQueries&&u.contentQueries(1,n[o],o)}}}function xc(e,t,n){zo()&&(function My(e,t,n,i){const r=n.directiveStart,o=n.directiveEnd;lo(n)&&function xy(e,t,n){const i=Ei(t,e),r=wh(n),o=e[Mo],u=fl(e,dl(e,r,null,n.onPush?32:16,i,t,o,o.createRenderer(i,n),null,null,null));e[t.index]=u}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Do(n,t),xr(i,t);const u=n.initialInputs;for(let p=r;p<o;p++){const v=e.data[p],O=rt(t,e,p,n);xr(O,t),null!==u&&Ry(0,p-r,O,v,0,u),Ni(v)&&(Jn(n.index,t)[Rn]=rt(t,e,p,n))}}(e,t,n,Ei(n,t)),64==(64&n.flags)&&Oh(e,t,n))}function Rc(e,t,n=Ei){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const u=i[o+1],p=-1===u?n(t,e):e[u];e[r++]=p}}}function wh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=kc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function kc(e,t,n,i,r,o,u,p,v,O){const H=En+i,ue=H+r,Re=function _y(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Cn);return n}(H,ue),qe="function"==typeof O?O():O;return Re[kt]={type:e,blueprint:Re,template:n,queries:null,viewQuery:p,declTNode:t,data:Re.slice().fill(null,H),bindingStartIndex:H,expandoStartIndex:ue,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 u?u():u,firstChild:null,schemas:v,consts:qe,incompleteFirstPass:!1}}function Mh(e,t,n,i){const r=xh(t);null===n?r.push(i):(r.push(n),e.firstCreatePass&&Rh(e).push(i,r.length-1))}function Th(e,t,n,i){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const o=e[r];null===i?Sh(n,t,r,o):i.hasOwnProperty(r)&&Sh(n,t,i[r],o)}return n}function Sh(e,t,n,i){e.hasOwnProperty(n)?e[n].push(t,i):e[n]=[t,i]}function wo(e,t,n,i,r,o,u,p){const v=Ei(t,n);let H,O=t.inputs;!p&&null!=O&&(H=O[i])?(Hc(e,n,H,i,r),lo(t)&&Ih(n,t.index)):3&t.type&&(i=function by(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=u?u(r,t.value||"",i):r,o.setProperty(v,i,r))}function Ih(e,t){const n=Jn(t,e);16&n[tn]||(n[tn]|=32)}function Fc(e,t,n,i){if(zo()){const r=null===i?null:{"":-1},o=function Sy(e,t){const n=e.directiveRegistry;let i=null,r=null;if(n)for(let o=0;o<n.length;o++){const u=n[o];if(sh(t,u.selectors,!1))if(i||(i=[]),Ni(u))if(null!==u.findHostDirectiveDefs){const p=[];r=r||new Map,u.findHostDirectiveDefs(u,p,r),i.unshift(...p,u),Lc(e,t,p.length)}else i.unshift(u),Lc(e,t,0);else r=r||new Map,u.findHostDirectiveDefs?.(u,i,r),i.push(u)}return null===i?null:[i,r]}(e,n);let u,p;null===o?u=p=null:[u,p]=o,null!==u&&Ah(e,t,n,u,r,p),r&&function Iy(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 ye(-301,!1);i.push(t[r],o)}}}(n,i,r)}n.mergedAttrs=$i(n.mergedAttrs,n.attrs)}function Ah(e,t,n,i,r,o){for(let O=0;O<i.length;O++)l(Do(n,t),e,i[O].type);!function Oy(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let O=0;O<i.length;O++){const H=i[O];H.providersResolver&&H.providersResolver(H)}let u=!1,p=!1,v=Ua(e,t,i.length,null);for(let O=0;O<i.length;O++){const H=i[O];n.mergedAttrs=$i(n.mergedAttrs,H.hostAttrs),Py(e,n,t,v,H),Ay(v,H,r),null!==H.contentQueries&&(n.flags|=4),(null!==H.hostBindings||null!==H.hostAttrs||0!==H.hostVars)&&(n.flags|=64);const ue=H.type.prototype;!u&&(ue.ngOnChanges||ue.ngOnInit||ue.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),u=!0),!p&&(ue.ngOnChanges||ue.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),p=!0),v++}!function Dy(e,t,n){const r=t.directiveEnd,o=e.data,u=t.attrs,p=[];let v=null,O=null;for(let H=t.directiveStart;H<r;H++){const ue=o[H],Re=n?n.get(ue):null,_t=Re?Re.outputs:null;v=Th(ue.inputs,H,v,Re?Re.inputs:null),O=Th(ue.outputs,H,O,_t);const Pt=null===v||null===u||oh(t)?null:ky(v,H,u);p.push(Pt)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=8),v.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=p,t.inputs=v,t.outputs=O}(e,n,o)}function Oh(e,t,n){const i=n.directiveStart,r=n.directiveEnd,o=n.index,u=function us(){return Qt.lFrame.currentDirectiveIndex}();try{no(o);for(let p=i;p<r;p++){const v=e.data[p],O=t[p];eo(p),(null!==v.hostBindings||0!==v.hostVars||null!==v.hostAttrs)&&Ty(v,O)}}finally{no(-1),eo(u)}}function Ty(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Lc(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function Ay(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Ni(t)&&(n[""]=e)}}function Py(e,t,n,i,r){e.data[i]=r;const o=r.factory||(r.factory=kn(r.type)),u=new Je(o,Ni(r),ha);e.blueprint[i]=u,n[i]=u,function Cy(e,t,n,i,r){const o=r.hostBindings;if(o){let u=e.hostBindingOpCodes;null===u&&(u=e.hostBindingOpCodes=[]);const p=~t.index;(function wy(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=p&&u.push(p),u.push(n,i,o)}}(e,t,i,Ua(e,n,r.hostVars,Cn),r)}function ys(e,t,n,i,r,o){const u=Ei(e,t);!function Nc(e,t,n,i,r,o,u){if(null==o)e.removeAttribute(t,r,n);else{const p=null==u?Ke(o):u(o,i||"",r);e.setAttribute(t,r,p,n)}}(t[fn],u,o,e.value,n,i,r)}function Ry(e,t,n,i,r,o){const u=o[t];if(null!==u){const p=i.setInput;for(let v=0;v<u.length;){const O=u[v++],H=u[v++],ue=u[v++];null!==p?i.setInput(n,ue,O,H):n[H]=ue}}}function ky(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 u=e[o];for(let p=0;p<u.length;p+=2)if(u[p]===t){i.push(o,u[p+1],n[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function Ph(e,t,n,i){return[e,!0,!1,t,null,0,i,n,null,null]}function Ny(e,t){const n=Jn(t,e);if(Ao(n)){const i=n[kt];48&n[tn]?hl(i,n,i.template,n[Rn]):n[Si]>0&&Bc(n)}}function Bc(e){for(let i=Xl(e);null!==i;i=ql(i))for(let r=hi;r<i.length;r++){const o=i[r];if(Ao(o))if(512&o[tn]){const u=o[kt];hl(u,o,u.template,o[Rn])}else o[Si]>0&&Bc(o)}const n=e[kt].components;if(null!==n)for(let i=0;i<n.length;i++){const r=Jn(n[i],e);Ao(r)&&r[Si]>0&&Bc(r)}}function By(e,t){const n=Jn(t,e),i=n[kt];(function Uy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),Oc(i,n,n[Rn])}function fl(e,t){return e[wr]?e[bi][Kn]=t:e[wr]=t,e[bi]=t,t}function Uc(e){for(;e;){e[tn]|=32;const t=xa(e);if(Fr(e)&&!t)return e;e=t}return null}function pl(e,t,n,i=!0){const r=t[Mo];r.begin&&r.begin();try{hl(e,t,e.template,n)}catch(u){throw i&&Fh(t,u),u}finally{r.end&&r.end()}}function jc(e,t,n){go(0),t(e,n)}function xh(e){return e[ai]||(e[ai]=[])}function Rh(e){return e.cleanup||(e.cleanup=[])}function kh(e,t,n){return(null===e||Ni(e))&&(n=function Sr(e){for(;Array.isArray(e);){if("object"==typeof e[To])return e;e=e[Ri]}return null}(n[t.index])),n[fn]}function Fh(e,t){const n=e[ki],i=n?n.get(Ba,null):null;i&&i.handleError(t)}function Hc(e,t,n,i,r){for(let o=0;o<n.length;){const u=n[o++],p=n[o++],v=t[u],O=e.data[u];null!==O.setInput?O.setInput(v,r,i,p):v[p]=r}}function Fs(e,t,n){const i=Ir(t,e);!function dd(e,t,n){e.setValue(t,n)}(e[fn],i,n)}function gl(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(let u=0;u<t.length;u++){const p=t[u];"number"==typeof p?o=p:1==o?r=ne(r,p):2==o&&(i=ne(i,p+": "+t[++u]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function ml(e,t,n,i,r=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&i.push(Mn(o)),Ii(o))for(let p=hi;p<o.length;p++){const v=o[p],O=v[kt].firstChild;null!==O&&ml(v[kt],v,O,i)}const u=n.type;if(8&u)ml(e,t,n.child,i);else if(32&u){const p=Ql(n,t);let v;for(;v=p();)i.push(v)}else if(16&u){const p=Ed(t,n);if(Array.isArray(p))i.push(...p);else{const v=xa(t[di]);ml(v[kt],v,p,i,!0)}}n=r?n.projectionNext:n.next}return i}class ja{get rootNodes(){const t=this._lView,n=t[kt];return ml(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Rn]}set context(t){this._lView[Rn]=t}get destroyed(){return 128==(128&this._lView[tn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[In];if(Ii(t)){const n=t[Di],i=n?n.indexOf(this):-1;i>-1&&(tc(t,i),c(n,i))}this._attachedToViewContainer=!1}fd(this._lView[kt],this._lView)}onDestroy(t){Mh(this._lView[kt],this._lView,null,t)}markForCheck(){Uc(this._cdRefInjectingView||this._lView)}detach(){this._lView[tn]&=-65}reattach(){this._lView[tn]|=64}detectChanges(){pl(this._lView[kt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ye(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Tm(e,t){Ra(e,t,t[fn],2,null,null)}(this._lView[kt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ye(902,!1);this._appRef=t}}class jy extends ja{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;pl(t[kt],t,t[Rn],!1)}checkNoChanges(){}get context(){return null}}class Lh extends La{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=wn(t);return new Ha(n,this.ngModule)}}function Nh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Vy{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=x(i);const r=this.injector.get(t,Ec,i);return r!==Ec||n===Ec?r:this.parentInjector.get(t,n,i)}}class Ha extends Zd{get inputs(){return Nh(this.componentDef.inputs)}get outputs(){return Nh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Y_(e){return e.map(K_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){let o=(r=r||this.ngModule)instanceof Zs?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const u=o?new Vy(t,o):t,p=u.get(Xd,null);if(null===p)throw new ye(407,!1);const v=u.get(O_,null),O=p.createRenderer(null,this.componentDef),H=this.componentDef.selectors[0][0]||"div",ue=i?function yy(e,t,n){return e.selectRootElement(t,n===Fe.ShadowDom)}(O,i,this.componentDef.encapsulation):ec(O,H,function Hy(e){const t=e.toLowerCase();return"svg"===t?qn:"math"===t?"math":null}(H)),Re=this.componentDef.onPush?288:272,qe=kc(0,null,null,1,0,null,null,null,null,null),_t=dl(null,qe,null,Re,null,null,p,O,v,u,null);let Pt,Ut;Ko(_t);try{const Yt=this.componentDef;let dn,Tt=null;Yt.findHostDirectiveDefs?(dn=[],Tt=new Map,Yt.findHostDirectiveDefs(Yt,dn,Tt),dn.push(Yt)):dn=[Yt];const Dn=function zy(e,t){const n=e[kt],i=En;return e[i]=t,fa(n,i,2,"#host",null)}(_t,ue),Ti=function Wy(e,t,n,i,r,o,u,p){const v=r[kt];!function Gy(e,t,n,i){for(const r of e)t.mergedAttrs=$i(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(gl(t,t.mergedAttrs,!0),null!==n&&Md(i,n,t))}(i,e,t,u);const O=o.createRenderer(t,n),H=dl(r,wh(n),null,n.onPush?32:16,r[e.index],e,o,O,p||null,null,null);return v.firstCreatePass&&Lc(v,e,i.length-1),fl(r,H),r[e.index]=H}(Dn,ue,Yt,dn,_t,p,O);Ut=Ho(qe,En),ue&&function Yy(e,t,n,i){if(i)ii(e,n,["ng-version",Jd.full]);else{const{attrs:r,classes:o}=function Z_(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(!es(r))break;r=o}i++}return{attrs:t,classes:n}}(t.selectors[0]);r&&ii(e,n,r),o&&o.length>0&&wd(e,n,o.join(" "))}}(O,Yt,ue,i),void 0!==n&&function Zy(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)}}(Ut,this.ngContentSelectors,n),Pt=function Ky(e,t,n,i,r,o){const u=mi(),p=r[kt],v=Ei(u,r);Ah(p,r,u,n,null,i);for(let H=0;H<n.length;H++)xr(rt(r,p,u.directiveStart+H,u),r);Oh(p,r,u),v&&xr(v,r);const O=rt(r,p,u.directiveStart+u.componentOffset,u);if(e[Rn]=r[Rn]=O,null!==o)for(const H of o)H(O,t);return Pc(p,u,e),O}(Ti,Yt,dn,Tt,_t,[Qy]),Oc(qe,_t,null)}finally{Zo()}return new $y(this.componentType,Pt,ca(Ut,_t),_t,Ut)}}class $y extends C_{constructor(t,n,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new jy(r),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){const o=this._rootLView;Hc(o[kt],o,r,t,n),Ih(o,this._tNode.index)}}get injector(){return new cn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Qy(){const e=mi();_o(Dt()[kt],e)}function Vc(e){let t=function Bh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(Ni(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ye(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);const u=e;u.inputs=$c(e.inputs),u.declaredInputs=$c(e.declaredInputs),u.outputs=$c(e.outputs);const p=r.hostBindings;p&&ev(e,p);const v=r.viewQuery,O=r.contentQueries;if(v&&qy(e,v),O&&Jy(e,O),ce(e.inputs,r.inputs),ce(e.declaredInputs,r.declaredInputs),ce(e.outputs,r.outputs),Ni(r)&&r.data.animation){const H=e.data;H.animation=(H.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let u=0;u<o.length;u++){const p=o[u];p&&p.ngInherit&&p(e),p===Vc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Xy(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 $c(e){return e===wt?{}:e===he?[]:e}function qy(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function Jy(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,o)=>{t(i,r,o),n(i,r,o)}:t}function ev(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}function _l(e){return!!zc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function zc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function vs(e,t,n){return e[t]=n}function Va(e,t){return e[t]}function Rr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Xs(e,t,n,i){const r=Rr(e,t,n);return Rr(e,t+1,i)||r}function yl(e,t,n,i,r){const o=Xs(e,t,n,i);return Rr(e,t+2,r)||o}function Bo(e,t,n,i,r,o){const u=Xs(e,t,n,i);return Xs(e,t+2,r,o)||u}function Wc(e,t,n,i){const r=Dt();return Rr(r,Jr(),t)&&(On(),ys(ti(),r,e,t,n,i)),Wc}function ga(e,t,n,i){return Rr(e,Jr(),n)?t+Ke(n)+i:Cn}function ma(e,t,n,i,r,o){const p=Xs(e,Ai(),n,r);return sr(2),p?t+Ke(n)+i+Ke(r)+o:Cn}function _a(e,t,n,i,r,o,u,p){const O=yl(e,Ai(),n,r,u);return sr(3),O?t+Ke(n)+i+Ke(r)+o+Ke(u)+p:Cn}function Xh(e,t,n,i,r,o,u,p){const v=Dt(),O=On(),H=e+En,ue=O.firstCreatePass?function uv(e,t,n,i,r,o,u,p,v){const O=t.consts,H=fa(t,e,4,u||null,Hi(O,p));Fc(t,n,H,Hi(O,v)),_o(t,H);const ue=H.tView=kc(2,H,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,O);return null!==t.queries&&(t.queries.template(t,H),ue.queries=t.queries.embeddedTView(H)),H}(H,O,v,t,n,i,r,o,u):O.data[H];Vi(ue,!1);const Re=v[fn].createComment("");nl(O,v,Re,ue),xr(Re,v),fl(v,v[H]=Ph(Re,v,Re,ue)),Li(ue)&&xc(O,v,ue),null!=u&&Rc(v,ue,p)}function qh(e){return vr(function cs(){return Qt.lFrame.contextLView}(),En+e)}function Gc(e,t,n){const i=Dt();return Rr(i,Jr(),t)&&wo(On(),ti(),i,e,t,i[fn],n,!1),Gc}function Kc(e,t,n,i,r){const u=r?"class":"style";Hc(e,n,t.inputs[u],u,i)}function vl(e,t,n,i){const r=Dt(),o=On(),u=En+e,p=r[fn],v=o.firstCreatePass?function hv(e,t,n,i,r,o){const u=t.consts,v=fa(t,e,2,i,Hi(u,r));return Fc(t,n,v,Hi(u,o)),null!==v.attrs&&gl(v,v.attrs,!1),null!==v.mergedAttrs&&gl(v,v.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,v),v}(u,o,r,t,n,i):o.data[u],O=r[u]=ec(p,t,function hs(){return Qt.lFrame.currentNamespace}()),H=Li(v);return Vi(v,!0),Md(p,O,v),32!=(32&v.flags)&&nl(o,r,O,v),0===function Es(){return Qt.lFrame.elementDepthCount}()&&xr(O,r),function Po(){Qt.lFrame.elementDepthCount++}(),H&&(xc(o,r,v),Pc(o,v,r)),null!==i&&Rc(r,v),vl}function Dl(){let e=mi();Go()?xo():(e=e.parent,Vi(e,!1));const t=e;!function $o(){Qt.lFrame.elementDepthCount--}();const n=On();return n.firstCreatePass&&(_o(n,e),So(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Ln(e){return 0!=(8&e.flags)}(t)&&Kc(n,t,Dt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function _n(e){return 0!=(16&e.flags)}(t)&&Kc(n,t,Dt(),t.stylesWithoutHost,!1),Dl}function Yc(e,t,n,i){return vl(e,t,n,i),Dl(),Yc}function bl(e,t,n){const i=Dt(),r=On(),o=e+En,u=r.firstCreatePass?function fv(e,t,n,i,r){const o=t.consts,u=Hi(o,i),p=fa(t,e,8,"ng-container",u);return null!==u&&gl(p,u,!0),Fc(t,n,p,Hi(o,r)),null!==t.queries&&t.queries.elementStart(t,p),p}(o,r,i,t,n):r.data[o];Vi(u,!0);const p=i[o]=i[fn].createComment("");return nl(r,i,p,u),xr(p,i),Li(u)&&(xc(r,i,u),Pc(r,u,i)),null!=n&&Rc(i,u),bl}function El(){let e=mi();const t=On();return Go()?xo():(e=e.parent,Vi(e,!1)),t.firstCreatePass&&(_o(t,e),So(e)&&t.queries.elementEnd(e)),El}function Zc(e,t,n){return bl(e,t,n),El(),Zc}function Jh(){return Dt()}function Qc(e){return!!e&&"function"==typeof e.then}function ef(e){return!!e&&"function"==typeof e.subscribe}const tf=ef;function Xc(e,t,n,i){const r=Dt(),o=On(),u=mi();return nf(o,r,r[fn],u,e,t,i),Xc}function qc(e,t){const n=mi(),i=Dt(),r=On();return nf(r,i,kh(po(r.data),n,i),n,e,t),qc}function nf(e,t,n,i,r,o,u){const p=Li(i),O=e.firstCreatePass&&Rh(e),H=t[Rn],ue=xh(t);let Re=!0;if(3&i.type||u){const Pt=Ei(i,t),Ut=u?u(Pt):Pt,Yt=ue.length,dn=u?Dn=>u(Mn(Dn[i.index])):i.index;let Tt=null;if(!u&&p&&(Tt=function pv(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const u=r[o];if(u===n&&r[o+1]===i){const p=t[ai],v=r[o+2];return p.length>v?p[v]:null}"string"==typeof u&&(o+=2)}return null}(e,t,r,i.index)),null!==Tt)(Tt.__ngLastListenerFn__||Tt).__ngNextListenerFn__=o,Tt.__ngLastListenerFn__=o,Re=!1;else{o=sf(i,t,H,o,!1);const Dn=n.listen(Ut,r,o);ue.push(o,Dn),O&&O.push(r,dn,Yt,Yt+1)}}else o=sf(i,t,H,o,!1);const qe=i.outputs;let _t;if(Re&&null!==qe&&(_t=qe[r])){const Pt=_t.length;if(Pt)for(let Ut=0;Ut<Pt;Ut+=2){const Ti=t[_t[Ut]][_t[Ut+1]].subscribe(o),Ki=ue.length;ue.push(o,Ti),O&&O.push(r,i.index,Ki,-(Ki+1))}}}function rf(e,t,n,i){try{return gn(6,t,n),!1!==n(i)}catch(r){return Fh(e,r),!1}finally{gn(7,t,n)}}function sf(e,t,n,i,r){return function o(u){if(u===Function)return i;Uc(e.componentOffset>-1?Jn(e.index,t):t);let v=rf(t,n,i,u),O=o.__ngNextListenerFn__;for(;O;)v=rf(t,n,O,u)&&v,O=O.__ngNextListenerFn__;return r&&!1===v&&(u.preventDefault(),u.returnValue=!1),v}}function af(e=1){return function Qo(e){return(Qt.lFrame.contextLView=function Ts(e,t){for(;e>0;)t=t[pr],e--;return t}(e,Qt.lFrame.contextLView))[Rn]}(e)}function gv(e,t){let n=null;const i=function $_(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?sh(e,o,!0):G_(i,o))return r}else n=r}return n}function lf(e){const t=Dt()[di][An];if(!t.projection){const i=t.projection=_(e?e.length:1,null),r=i.slice();let o=t.child;for(;null!==o;){const u=e?gv(o,e):0;null!==u&&(r[u]?r[u].projectionNext=o:i[u]=o,r[u]=o),o=o.next}}}function cf(e,t=0,n){const i=Dt(),r=On(),o=fa(r,En+e,16,null,n||null);null===o.projection&&(o.projection=t),xo(),32!=(32&o.flags)&&function km(e,t,n){Cd(t[fn],0,t,n,pd(e,n,t),yd(n.parent||t[An],n,t))}(r,i,o)}function Jc(e,t,n){return Cl(e,"",t,"",n),Jc}function Cl(e,t,n,i,r){const o=Dt(),u=ga(o,t,n,i);return u!==Cn&&wo(On(),ti(),o,e,u,o[fn],r,!1),Cl}function eu(e,t,n,i,r,o,u){const p=Dt(),v=ma(p,t,n,i,r,o);return v!==Cn&&wo(On(),ti(),p,e,v,p[fn],u,!1),eu}function tu(e,t,n,i,r,o,u,p,v){const O=Dt(),H=_a(O,t,n,i,r,o,u,p);return H!==Cn&&wo(On(),ti(),O,e,H,O[fn],v,!1),tu}function wl(e,t){return e<<17|t<<2}function Vs(e){return e>>17&32767}function nu(e){return 2|e}function qs(e){return(131068&e)>>2}function iu(e,t){return-131069&e|t<<2}function ru(e){return 1|e}function mf(e,t,n,i,r){const o=e[n+1],u=null===t;let p=i?Vs(o):qs(o),v=!1;for(;0!==p&&(!1===v||u);){const H=e[p+1];bv(e[p],t)&&(v=!0,e[p+1]=i?ru(H):nu(H)),p=i?Vs(H):qs(H)}v&&(e[n+1]=i?nu(o):ru(o))}function bv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Bt(e,t)>=0}const tr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _f(e){return e.substring(tr.key,tr.keyEnd)}function Ev(e){return e.substring(tr.value,tr.valueEnd)}function yf(e,t){const n=tr.textEnd;return n===t?-1:(t=tr.keyEnd=function Mv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,tr.key=t,n),Ca(e,t,n))}function vf(e,t){const n=tr.textEnd;let i=tr.key=Ca(e,t,n);return n===i?-1:(i=tr.keyEnd=function Tv(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=bf(e,i,n),i=tr.value=Ca(e,i,n),i=tr.valueEnd=function Sv(e,t,n){let i=-1,r=-1,o=-1,u=t,p=u;for(;u<n;){const v=e.charCodeAt(u++);if(59===v)return p;34===v||39===v?p=u=Ef(e,v,u,n):t===u-4&&85===o&&82===r&&76===i&&40===v?p=u=Ef(e,41,u,n):v>32&&(p=u),o=r,r=i,i=-33&v}return p}(e,i,n),bf(e,i,n))}function Df(e){tr.key=0,tr.keyEnd=0,tr.value=0,tr.valueEnd=0,tr.textEnd=e.length}function Ca(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function bf(e,t,n,i){return(t=Ca(e,t,n))<n&&t++,t}function Ef(e,t,n,i){let r=-1,o=n;for(;o<i;){const u=e.charCodeAt(o++);if(u==t&&92!==r)return o;r=92==u&&92===r?0:u}throw new Error}function ou(e,t,n){return ns(e,t,n,!1),ou}function su(e,t){return ns(e,t,null,!0),su}function ts(e){is(Tf,Iv,e,!1)}function Iv(e,t){for(let n=function wv(e){return Df(e),vf(e,Ca(e,0,tr.textEnd))}(t);n>=0;n=vf(t,n))Tf(e,_f(t),Ev(t))}function Cf(e){is(dt,Ds,e,!0)}function Ds(e,t){for(let n=function Cv(e){return Df(e),yf(e,Ca(e,0,tr.textEnd))}(t);n>=0;n=yf(t,n))dt(e,_f(t),!0)}function ns(e,t,n,i){const r=Dt(),o=On(),u=sr(2);o.firstUpdatePass&&Mf(o,e,u,i),t!==Cn&&Rr(r,u,t)&&Sf(o,o.data[Oi()],r,r[fn],e,r[u+1]=function Fv(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=J(xs(e)))),e}(t,n),i,u)}function is(e,t,n,i){const r=On(),o=sr(2);r.firstUpdatePass&&Mf(r,null,o,i);const u=Dt();if(n!==Cn&&Rr(u,o,n)){const p=r.data[Oi()];if(Af(p,i)&&!wf(r,o)){let v=i?p.classesWithoutHost:p.stylesWithoutHost;null!==v&&(n=ne(v,n||"")),Kc(r,p,u,n,i)}else!function kv(e,t,n,i,r,o,u,p){r===Cn&&(r=he);let v=0,O=0,H=0<r.length?r[0]:null,ue=0<o.length?o[0]:null;for(;null!==H||null!==ue;){const Re=v<r.length?r[v+1]:void 0,qe=O<o.length?o[O+1]:void 0;let Pt,_t=null;H===ue?(v+=2,O+=2,Re!==qe&&(_t=ue,Pt=qe)):null===ue||null!==H&&H<ue?(v+=2,_t=H):(O+=2,_t=ue,Pt=qe),null!==_t&&Sf(e,t,n,i,_t,Pt,u,p),H=v<r.length?r[v]:null,ue=O<o.length?o[O]:null}}(r,p,u,u[fn],u[o+1],u[o+1]=function Rv(e,t,n){if(null==n||""===n)return he;const i=[],r=xs(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,o)}}function wf(e,t){return t>=e.expandoStartIndex}function Mf(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[Oi()],u=wf(e,n);Af(o,i)&&null===t&&!u&&(t=!1),t=function Av(e,t,n,i){const r=po(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=$a(n=au(null,e,t,n,i),t.attrs,i),o=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==r)if(n=au(r,e,t,n,i),null===o){let v=function Ov(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==qs(i))return e[Vs(i)]}(e,t,i);void 0!==v&&Array.isArray(v)&&(v=au(null,e,t,v[1],i),v=$a(v,t.attrs,i),function Pv(e,t,n,i){e[Vs(n?t.classBindings:t.styleBindings)]=i}(e,t,i,v))}else o=function xv(e,t,n){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=$a(i,e[o].hostAttrs,n);return $a(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function vv(e,t,n,i,r,o){let u=o?t.classBindings:t.styleBindings,p=Vs(u),v=qs(u);e[i]=n;let H,O=!1;if(Array.isArray(n)?(H=n[1],(null===H||Bt(n,H)>0)&&(O=!0)):H=n,r)if(0!==v){const Re=Vs(e[p+1]);e[i+1]=wl(Re,p),0!==Re&&(e[Re+1]=iu(e[Re+1],i)),e[p+1]=function _v(e,t){return 131071&e|t<<17}(e[p+1],i)}else e[i+1]=wl(p,0),0!==p&&(e[p+1]=iu(e[p+1],i)),p=i;else e[i+1]=wl(v,0),0===p?p=i:e[v+1]=iu(e[v+1],i),v=i;O&&(e[i+1]=nu(e[i+1])),mf(e,H,i,!0),mf(e,H,i,!1),function Dv(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Bt(o,t)>=0&&(n[i+1]=ru(n[i+1]))}(t,H,e,i,o),u=wl(p,v),o?t.classBindings=u:t.styleBindings=u}(r,o,t,n,u,i)}}function au(e,t,n,i,r){let o=null;const u=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p<u&&(o=t[p],i=$a(i,o.hostAttrs,r),o!==e);)p++;return null!==e&&(n.directiveStylingLast=p),i}function $a(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const u=t[o];"number"==typeof u?r=u:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),dt(e,u,!!n||t[++o]))}return void 0===e?null:e}function Tf(e,t,n){dt(e,t,xs(n))}function Sf(e,t,n,i,r,o,u,p){if(!(3&t.type))return;const v=e.data,O=v[p+1],H=function yv(e){return 1==(1&e)}(O)?If(v,t,n,r,qs(O),u):void 0;Ml(H)||(Ml(o)||function mv(e){return 2==(2&e)}(O)&&(o=If(v,null,n,r,p,u)),function Lm(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=-1===i.indexOf("-")?void 0:_s.DashCase;null==r?e.removeStyle(n,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=_s.Important),e.setStyle(n,i,r,o))}}(i,u,Ir(Oi(),n),r,o))}function If(e,t,n,i,r,o){const u=null===t;let p;for(;r>0;){const v=e[r],O=Array.isArray(v),H=O?v[1]:v,ue=null===H;let Re=n[r+1];Re===Cn&&(Re=ue?he:void 0);let qe=ue?Ft(Re,i):H===i?Re:void 0;if(O&&!Ml(qe)&&(qe=Ft(v,i)),Ml(qe)&&(p=qe,u))return p;const _t=e[r+1];r=u?Vs(_t):qs(_t)}if(null!==t){let v=o?t.residualClasses:t.residualStyles;null!=v&&(p=Ft(v,i))}return p}function Ml(e){return void 0!==e}function Af(e,t){return 0!=(e.flags&(t?8:16))}function Of(e,t=""){const n=Dt(),i=On(),r=e+En,o=i.firstCreatePass?fa(i,r,1,t,null):i.data[r],u=n[r]=function Jl(e,t){return e.createText(t)}(n[fn],t);nl(i,n,u,o),Vi(o,!1)}function lu(e){return Tl("",e,""),lu}function Tl(e,t,n){const i=Dt(),r=ga(i,e,t,n);return r!==Cn&&Fs(i,Oi(),r),Tl}function cu(e,t,n,i,r){const o=Dt(),u=ma(o,e,t,n,i,r);return u!==Cn&&Fs(o,Oi(),u),cu}function uu(e,t,n,i,r,o,u){const p=Dt(),v=_a(p,e,t,n,i,r,o,u);return v!==Cn&&Fs(p,Oi(),v),uu}function du(e,t,n,i,r,o,u,p,v){const O=Dt(),H=function ya(e,t,n,i,r,o,u,p,v,O){const ue=Bo(e,Ai(),n,r,u,v);return sr(4),ue?t+Ke(n)+i+Ke(r)+o+Ke(u)+p+Ke(v)+O:Cn}(O,e,t,n,i,r,o,u,p,v);return H!==Cn&&Fs(O,Oi(),H),du}function Lf(e,t,n){is(dt,Ds,ga(Dt(),e,t,n),!0)}function Nf(e,t,n,i,r){is(dt,Ds,ma(Dt(),e,t,n,i,r),!0)}function hu(e,t,n){const i=Dt();return Rr(i,Jr(),t)&&wo(On(),ti(),i,e,t,i[fn],n,!0),hu}function fu(e,t,n){const i=Dt();if(Rr(i,Jr(),t)){const o=On(),u=ti();wo(o,u,i,e,t,kh(po(o.data),u,i),n,!0)}return fu}const Js=void 0;var Jv=["en",[["a","p"],["AM","PM"],Js],[["AM","PM"],Js,Js],[["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"]],Js,[["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"]],Js,[["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}",Js,"{1} 'at' {0}",Js],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function qv(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let wa={};function pu(e){const t=function e0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Yf(t);if(n)return n;const i=t.split("-")[0];if(n=Yf(i),n)return n;if("en"===i)return Jv;throw new ye(701,!1)}function Kf(e){return pu(e)[an.PluralCase]}function Yf(e){return e in wa||(wa[e]=at.ng&&at.ng.common&&at.ng.common.locales&&at.ng.common.locales[e]),wa[e]}var an=(()=>((an=an||{})[an.LocaleId=0]="LocaleId",an[an.DayPeriodsFormat=1]="DayPeriodsFormat",an[an.DayPeriodsStandalone=2]="DayPeriodsStandalone",an[an.DaysFormat=3]="DaysFormat",an[an.DaysStandalone=4]="DaysStandalone",an[an.MonthsFormat=5]="MonthsFormat",an[an.MonthsStandalone=6]="MonthsStandalone",an[an.Eras=7]="Eras",an[an.FirstDayOfWeek=8]="FirstDayOfWeek",an[an.WeekendRange=9]="WeekendRange",an[an.DateFormat=10]="DateFormat",an[an.TimeFormat=11]="TimeFormat",an[an.DateTimeFormat=12]="DateTimeFormat",an[an.NumberSymbols=13]="NumberSymbols",an[an.NumberFormats=14]="NumberFormats",an[an.CurrencyCode=15]="CurrencyCode",an[an.CurrencySymbol=16]="CurrencySymbol",an[an.CurrencyName=17]="CurrencyName",an[an.Currencies=18]="Currencies",an[an.Directionality=19]="Directionality",an[an.PluralCase=20]="PluralCase",an[an.ExtraData=21]="ExtraData",an))();const Ma="en-US";let Zf=Ma;function _u(e,t,n,i,r){if(e=Y(e),Array.isArray(e))for(let o=0;o<e.length;o++)_u(e[o],t,n,i,r);else{const o=On(),u=Dt();let p=Ys(e)?e:Y(e.provide),v=Yd(e);const O=mi(),H=1048575&O.providerIndexes,ue=O.directiveStart,Re=O.providerIndexes>>20;if(Ys(e)||!e.multi){const qe=new Je(v,r,ha),_t=vu(p,t,r?H:H+Re,ue);-1===_t?(l(Do(O,u),o,p),yu(o,e,t.length),t.push(p),O.directiveStart++,O.directiveEnd++,r&&(O.providerIndexes+=1048576),n.push(qe),u.push(qe)):(n[_t]=qe,u[_t]=qe)}else{const qe=vu(p,t,H+Re,ue),_t=vu(p,t,H,H+Re),Ut=_t>=0&&n[_t];if(r&&!Ut||!r&&!(qe>=0&&n[qe])){l(Do(O,u),o,p);const Yt=function q0(e,t,n,i,r){const o=new Je(e,n,ha);return o.multi=[],o.index=t,o.componentProviders=0,Dp(o,r,i&&!n),o}(r?X0:Q0,n.length,r,i,v);!r&&Ut&&(n[_t].providerFactory=Yt),yu(o,e,t.length,0),t.push(p),O.directiveStart++,O.directiveEnd++,r&&(O.providerIndexes+=1048576),n.push(Yt),u.push(Yt)}else yu(o,e,qe>-1?qe:_t,Dp(n[r?_t:qe],v,!r&&i));!r&&i&&Ut&&n[_t].componentProviders++}}}function yu(e,t,n,i){const r=Ys(t),o=function m_(e){return!!e.useClass}(t);if(r||o){const v=(o?Y(t.useClass):t).prototype.ngOnDestroy;if(v){const O=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const H=O.indexOf(n);-1===H?O.push(n,[i,v]):O[H+1].push(i,v)}else O.push(n,v)}}}function Dp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function vu(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function Q0(e,t,n,i){return Du(this.multi,[])}function X0(e,t,n,i){const r=this.multi;let o;if(this.providerFactory){const u=this.providerFactory.componentProviders,p=rt(n,n[kt],this.providerFactory.index,i);o=p.slice(0,u),Du(r,o);for(let v=u;v<p.length;v++)o.push(p[v])}else o=[],Du(r,o);return o}function Du(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function bp(e,t=[]){return n=>{n.providersResolver=(i,r)=>function Z0(e,t,n){const i=On();if(i.firstCreatePass){const r=Ni(e);_u(n,i.data,i.blueprint,r,!0),_u(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class Ta{}class Ep{}function J0(e,t){return new Cp(e,t??null)}class Cp extends Ta{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Lh(this);const i=vi(t);this._bootstrapComponents=ks(i.bootstrap),this._r3Injector=ph(t,n,[{provide:Ta,useValue:this},{provide:La,useValue:this.componentFactoryResolver}],J(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 bu extends Ep{constructor(t){super(),this.moduleType=t}create(t){return new Cp(this.moduleType,t)}}class eD extends Ta{constructor(t,n,i){super(),this.componentFactoryResolver=new Lh(this),this.instance=null;const r=new Kd([...t,{provide:Ta,useValue:this},{provide:La,useValue:this.componentFactoryResolver}],n||cl(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Eu(e,t,n=null){return new eD(e,t,n).injector}let tD=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const i=$d(0,n.type),r=i.length>0?Eu([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,r)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=De({token:e,providedIn:"environment",factory:()=>new e(It(Zs))}),e})();function wp(e){e.getStandaloneInjector=t=>t.get(tD).getOrCreateStandaloneInjector(e)}function Pp(e,t,n){const i=ei()+e,r=Dt();return r[i]===Cn?vs(r,i,n?t.call(n):t()):Va(r,i)}function xp(e,t,n,i){return Up(Dt(),ei(),e,t,n,i)}function Rp(e,t,n,i,r){return jp(Dt(),ei(),e,t,n,i,r)}function kp(e,t,n,i,r,o){return Hp(Dt(),ei(),e,t,n,i,r,o)}function Fp(e,t,n,i,r,o,u){return Vp(Dt(),ei(),e,t,n,i,r,o,u)}function Lp(e,t,n,i,r,o,u,p){const v=ei()+e,O=Dt(),H=Bo(O,v,n,i,r,o);return Rr(O,v+4,u)||H?vs(O,v+5,p?t.call(p,n,i,r,o,u):t(n,i,r,o,u)):Va(O,v+5)}function Np(e,t,n,i,r,o,u,p,v){const O=ei()+e,H=Dt(),ue=Bo(H,O,n,i,r,o);return Xs(H,O+4,u,p)||ue?vs(H,O+6,v?t.call(v,n,i,r,o,u,p):t(n,i,r,o,u,p)):Va(H,O+6)}function Bp(e,t,n,i){return $p(Dt(),ei(),e,t,n,i)}function Za(e,t){const n=e[t];return n===Cn?void 0:n}function Up(e,t,n,i,r,o){const u=t+n;return Rr(e,u,r)?vs(e,u+1,o?i.call(o,r):i(r)):Za(e,u+1)}function jp(e,t,n,i,r,o,u){const p=t+n;return Xs(e,p,r,o)?vs(e,p+2,u?i.call(u,r,o):i(r,o)):Za(e,p+2)}function Hp(e,t,n,i,r,o,u,p){const v=t+n;return yl(e,v,r,o,u)?vs(e,v+3,p?i.call(p,r,o,u):i(r,o,u)):Za(e,v+3)}function Vp(e,t,n,i,r,o,u,p,v){const O=t+n;return Bo(e,O,r,o,u,p)?vs(e,O+4,v?i.call(v,r,o,u,p):i(r,o,u,p)):Za(e,O+4)}function $p(e,t,n,i,r,o){let u=t+n,p=!1;for(let v=0;v<r.length;v++)Rr(e,u++,r[v])&&(p=!0);return p?vs(e,u,i.apply(o,r)):Za(e,u)}function zp(e,t){const n=On();let i;const r=e+En;n.firstCreatePass?(i=function hD(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=kn(i.type)),u=Te(ha);try{const p=jr(!1),v=o();return jr(p),function dv(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,Dt(),r,v),v}finally{Te(u)}}function Wp(e,t,n){const i=e+En,r=Dt(),o=vr(r,i);return Qa(r,i)?Up(r,ei(),t,o.transform,n,o):o.transform(n)}function Gp(e,t,n,i){const r=e+En,o=Dt(),u=vr(o,r);return Qa(o,r)?jp(o,ei(),t,u.transform,n,i,u):u.transform(n,i)}function Kp(e,t,n,i,r){const o=e+En,u=Dt(),p=vr(u,o);return Qa(u,o)?Hp(u,ei(),t,p.transform,n,i,r,p):p.transform(n,i,r)}function Yp(e,t,n,i,r,o){const u=e+En,p=Dt(),v=vr(p,u);return Qa(p,u)?Vp(p,ei(),t,v.transform,n,i,r,o,v):v.transform(n,i,r,o)}function Zp(e,t,n){const i=e+En,r=Dt(),o=vr(r,i);return Qa(r,i)?$p(r,ei(),t,o.transform,n,o):o.transform.apply(o,n)}function Qa(e,t){return e[kt].data[t].pure}function wu(e){return t=>{setTimeout(e,void 0,t)}}const bs=class fD 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),u=i;if(t&&"object"==typeof t){const v=t;r=v.next?.bind(v),o=v.error?.bind(v),u=v.complete?.bind(v)}this.__isAsync&&(o=wu(o),r&&(r=wu(r)),u&&(u=wu(u)));const p=super.subscribe({next:r,error:o,complete:u});return t instanceof d.w0&&t.add(p),p}};function pD(){return this._results[Symbol.iterator]()}class Pl{get changes(){return this._changes||(this._changes=new bs)}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=Pl.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=pD)}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 zn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ps(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()}}let Xa=(()=>{class e{}return e.__NG_ELEMENT_ID__=_D,e})();const gD=Xa,mD=class extends gD{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tView,r=dl(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);r[Zi]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[Fi];return null!==u&&(r[Fi]=u.createEmbeddedView(i)),Oc(i,r,t),new ja(r)}};function _D(){return xl(mi(),Dt())}function xl(e,t){return 4&e.type?new mD(t,e,ca(e,t)):null}let Rl=(()=>{class e{}return e.__NG_ELEMENT_ID__=yD,e})();function yD(){return qp(mi(),Dt())}const vD=Rl,Qp=class extends vD{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return ca(this._hostTNode,this._hostLView)}get injector(){return new cn(this._hostTNode,this._hostLView)}get parentInjector(){const t=E(this._hostTNode,this._hostLView);if(vo(t)){const n=No(t,this._hostLView),i=Ar(t);return new cn(n[kt].data[i+8],n)}return new cn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Xp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-hi}createEmbeddedView(t,n,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const u=t.createEmbeddedView(n||{},o);return this.insert(u,r),u}createComponent(t,n,i,r,o){const u=t&&!function Vr(e){return"function"==typeof e}(t);let p;if(u)p=n;else{const ue=n||{};p=ue.index,i=ue.injector,r=ue.projectableNodes,o=ue.environmentInjector||ue.ngModuleRef}const v=u?t:new Ha(wn(t)),O=i||this.parentInjector;if(!o&&null==v.ngModule){const Re=(u?O:this.parentInjector).get(Zs,null);Re&&(o=Re)}const H=v.create(O,r,void 0,o);return this.insert(H.hostView,p),H}insert(t,n){const i=t._lView,r=i[kt];if(function Oo(e){return Ii(e[In])}(i)){const H=this.indexOf(t);if(-1!==H)this.detach(H);else{const ue=i[In],Re=new Qp(ue,ue[An],ue[In]);Re.detach(Re.indexOf(t))}}const o=this._adjustIndex(n),u=this._lContainer;!function Im(e,t,n,i){const r=hi+i,o=n.length;i>0&&(n[r-1][Kn]=t),i<o-hi?(t[Kn]=n[r],f(n,hi+i,t)):(n.push(t),t[Kn]=null),t[In]=n;const u=t[Zi];null!==u&&n!==u&&function Am(e,t){const n=e[rr];t[di]!==t[In][In][di]&&(e[kr]=!0),null===n?e[rr]=[t]:n.push(t)}(u,t);const p=t[Fi];null!==p&&p.insertView(e),t[tn]|=64}(r,i,u,o);const p=rc(o,u),v=i[fn],O=tl(v,u[ir]);return null!==O&&function Mm(e,t,n,i,r,o){i[Ri]=r,i[An]=t,Ra(e,i,n,1,r,o)}(r,u[An],v,i,O,p),t.attachToViewContainerRef(),f(Mu(u),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Xp(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=tc(this._lContainer,n);i&&(c(Mu(this._lContainer),n),fd(i[kt],i))}detach(t){const n=this._adjustIndex(t,-1),i=tc(this._lContainer,n);return i&&null!=c(Mu(this._lContainer),n)?new ja(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Xp(e){return e[Di]}function Mu(e){return e[Di]||(e[Di]=[])}function qp(e,t){let n;const i=t[e.index];if(Ii(i))n=i;else{let r;if(8&e.type)r=Mn(i);else{const o=t[fn];r=o.createComment("");const u=Ei(e,t);Gs(o,tl(o,u),r,function Rm(e,t){return e.nextSibling(t)}(o,u),!1)}t[e.index]=n=Ph(i,t,r,e),fl(t,n)}return new Qp(n,e,t)}class Tu{constructor(t){this.queryList=t,this.matches=null}clone(){return new Tu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Su{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 u=n.getByIndex(o);r.push(this.queries[u.indexInDeclarationView].clone())}return new Su(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!==ag(t,n).matches&&this.queries[n].setDirty()}}class Jp{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Iu{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 Iu(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 Au{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 Au(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,DD(n,o)),this.matchTNodeWithReadOption(t,n,Xe(n,t,o,!1,!1))}else i===Xa?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Xe(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Na||r===Rl||r===Xa&&4&n.type)this.addMatch(n.index,-2);else{const o=Xe(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 DD(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 ED(e,t,n,i){return-1===n?function bD(e,t){return 11&e.type?ca(e,t):4&e.type?xl(e,t):null}(t,e):-2===n?function CD(e,t,n){return n===Na?ca(t,e):n===Xa?xl(t,e):n===Rl?qp(t,e):void 0}(e,t,i):rt(e,e[kt],n,t)}function eg(e,t,n,i){const r=t[Fi].queries[i];if(null===r.matches){const o=e.data,u=n.matches,p=[];for(let v=0;v<u.length;v+=2){const O=u[v];p.push(O<0?null:ED(t,o[O],u[v+1],n.metadata.read))}r.matches=p}return r.matches}function Ou(e,t,n,i){const r=e.queries.getByIndex(n),o=r.matches;if(null!==o){const u=eg(e,t,r,n);for(let p=0;p<o.length;p+=2){const v=o[p];if(v>0)i.push(u[p/2]);else{const O=o[p+1],H=t[-v];for(let ue=hi;ue<H.length;ue++){const Re=H[ue];Re[Zi]===Re[In]&&Ou(Re[kt],Re,O,i)}if(null!==H[rr]){const ue=H[rr];for(let Re=0;Re<ue.length;Re++){const qe=ue[Re];Ou(qe[kt],qe,O,i)}}}}}return i}function tg(e){const t=Dt(),n=On(),i=to();go(i+1);const r=ag(n,i);if(e.dirty&&function ho(e){return 4==(4&e[tn])}(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const o=r.crossesNgTemplate?Ou(n,t,i,[]):eg(n,t,r,i);e.reset(o,S_),e.notifyOnChanges()}return!0}return!1}function ng(e,t,n){const i=On();i.firstCreatePass&&(sg(i,new Jp(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),og(i,Dt(),t)}function ig(e,t,n,i){const r=On();if(r.firstCreatePass){const o=mi();sg(r,new Jp(t,n,i),o.index),function MD(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)}og(r,Dt(),n)}function rg(){return function wD(e,t){return e[Fi].queries[t].queryList}(Dt(),to())}function og(e,t,n){const i=new Pl(4==(4&n));Mh(e,t,i,i.destroy),null===t[Fi]&&(t[Fi]=new Su),t[Fi].queries.push(new Tu(i))}function sg(e,t,n){null===e.queries&&(e.queries=new Iu),e.queries.track(new Au(t,n))}function ag(e,t){return e.queries.getByIndex(t)}function lg(e,t){return xl(e,t)}function Pu(e){return!!vi(e)}function Fl(...e){}const Tg=new Vn("Application Initializer");let Ll=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Fl,this.reject=Fl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const o=this.appInits[r]();if(Qc(o))n.push(o);else if(tf(o)){const u=new Promise((p,v)=>{o.subscribe({complete:p,error:v})});n.push(u)}}Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(It(Tg,8))},e.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Sg=new Vn("AppId",{providedIn:"root",factory:function Ig(){return`${Lu()}${Lu()}${Lu()}`}});function Lu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ag=new Vn("Platform Initializer"),WD=new Vn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),GD=new Vn("AnimationModuleType");let KD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Nl=new Vn("LocaleId",{providedIn:"root",factory:()=>z(Nl,Ne.Optional|Ne.SkipSelf)||function YD(){return typeof $localize<"u"&&$localize.locale||Ma}()}),ZD=new Vn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class QD{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let XD=(()=>{class e{compileModuleSync(n){return new bu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),o=ks(vi(n).declarations).reduce((u,p)=>{const v=wn(p);return v&&u.push(new Ha(v)),u},[]);return new QD(i,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const eb=(()=>Promise.resolve(0))();function Nu(e){typeof Zone>"u"?eb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Uo{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bs(!1),this.onMicrotaskEmpty=new bs(!1),this.onStable=new bs(!1),this.onError=new bs(!1),typeof Zone>"u")throw new ye(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 tb(){let e=at.requestAnimationFrame,t=at.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function rb(e){const t=()=>{!function ib(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(at,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Uu(e),e.isCheckStableRunning=!0,Bu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Uu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,u,p)=>{try{return xg(e),n.invokeTask(r,o,u,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Rg(e)}},onInvoke:(n,i,r,o,u,p,v)=>{try{return xg(e),n.invoke(r,o,u,p,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),Rg(e)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Uu(e),Bu(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(!Uo.isInAngularZone())throw new ye(909,!1)}static assertNotInAngularZone(){if(Uo.isInAngularZone())throw new ye(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const o=this._inner,u=o.scheduleEventTask("NgZoneEvent: "+r,t,nb,Fl,Fl);try{return o.runTask(u,n,i)}finally{o.cancelTask(u)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const nb={};function Bu(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 Uu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function xg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Rg(e){e._nesting--,Bu(e)}class ob{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bs,this.onMicrotaskEmpty=new bs,this.onStable=new bs,this.onError=new bs}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 kg=new Vn(""),Fg=new Vn("");let ju,sb=(()=>{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,ju||(function ab(e){ju=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:()=>{Uo.assertNotInAngularZone(),Nu(()=>{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())Nu(()=>{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(u=>u.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[]}}return e.\u0275fac=function(n){return new(n||e)(It(Uo),It(Lg),It(Fg))},e.\u0275prov=De({token:e,factory:e.\u0275fac}),e})(),Lg=(()=>{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 ju?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Ls=!1;let $s=null;const Ng=new Vn("AllowMultipleToken"),Hu=new Vn("PlatformDestroyListeners"),Bg=new Vn("appBootstrapListener");class ub{constructor(t,n){this.name=t,this.token=n}}function jg(e,t,n=[]){const i=`Platform: ${t}`,r=new Vn(i);return(o=[])=>{let u=Vu();if(!u||u.injector.get(Ng,!1)){const p=[...n,...o,{provide:r,useValue:!0}];e?e(p):function db(e){if($s&&!$s.get(Ng,!1))throw new ye(400,!1);$s=e;const t=e.get(Vg);(function Ug(e){const t=e.get(Ag,null);t&&t.forEach(n=>n())})(e)}(function Hg(e=[],t){return Qs.create({name:t,providers:[{provide:yc,useValue:"platform"},{provide:Hu,useValue:new Set([()=>$s=null])},...e]})}(p,i))}return function fb(e){const t=Vu();if(!t)throw new ye(401,!1);return t}()}}function Vu(){return $s?.get(Vg)??null}let Vg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function zg(e,t){let n;return n="noop"===e?new ob:("zone.js"===e?void 0:e)||new Uo(t),n}(i?.ngZone,function $g(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:Uo,useValue:r}];return r.run(()=>{const u=Qs.create({providers:o,parent:this.injector,name:n.moduleType.name}),p=n.create(u),v=p.injector.get(Ba,null);if(!v)throw new ye(402,!1);return r.runOutsideAngular(()=>{const O=r.onError.subscribe({next:H=>{v.handleError(H)}});p.onDestroy(()=>{Ul(this._modules,p),O.unsubscribe()})}),function Wg(e,t,n){try{const i=n();return Qc(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(v,r,()=>{const O=p.injector.get(Ll);return O.runInitializers(),O.donePromise.then(()=>(function Qf(e){ot(e,"Expected localeId to be defined"),"string"==typeof e&&(Zf=e.toLowerCase().replace(/_/g,"-"))}(p.injector.get(Nl,Ma)||Ma),this._moduleDoBootstrap(p),p))})})}bootstrapModule(n,i=[]){const r=Gg({},i);return function lb(e,t,n){const i=new bu(n);return Promise.resolve(i)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(n){const i=n.injector.get(Bl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new ye(-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 ye(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Hu,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(It(Qs))},e.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Gg(e,t){return Array.isArray(t)?t.reduce(Gg,e):{...e,...t}}let Bl=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,i,r){this._zone=n,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new C.y(p=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{p.next(this._stable),p.complete()})}),u=new C.y(p=>{let v;this._zone.runOutsideAngular(()=>{v=this._zone.onStable.subscribe(()=>{Uo.assertNotInAngularZone(),Nu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,p.next(!0))})})});const O=this._zone.onUnstable.subscribe(()=>{Uo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{p.next(!1)}))});return()=>{v.unsubscribe(),O.unsubscribe()}});this.isStable=(0,$.T)(o,u.pipe((0,k.B)()))}bootstrap(n,i){const r=n instanceof Zd;if(!this._injector.get(Ll).done){!r&&er(n);throw new ye(405,Ls)}let u;u=r?n:this._injector.get(La).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const p=function cb(e){return e.isBoundToModule}(u)?void 0:this._injector.get(Ta),O=u.create(Qs.NULL,[],i||u.selector,p),H=O.location.nativeElement,ue=O.injector.get(kg,null);return ue?.registerApplication(H),O.onDestroy(()=>{this.detachView(O.hostView),Ul(this.components,O),ue?.unregisterApplication(H)}),this._loadComponent(O),O}tick(){if(this._runningTick)throw new ye(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Ul(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Bg,[]);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()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ul(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ye(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(It(Uo),It(Zs),It(Ba))},e.\u0275prov=De({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ul(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function gb(){return!1}function mb(){}let _b=(()=>{class e{}return e.__NG_ELEMENT_ID__=yb,e})();function yb(e){return function vb(e,t,n){if(lo(e)&&!n){const i=Jn(e.index,t);return new ja(i,i)}return 47&e.type?new ja(t[di],t):null}(mi(),Dt(),16==(16&e))}class Xg{constructor(){}supports(t){return _l(t)}create(t){return new Mb(t)}}const wb=(e,t)=>t;class Mb{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||wb}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 u=!i||n&&n.currentIndex<Jg(i,r,o)?n:i,p=Jg(u,r,o),v=u.currentIndex;if(u===i)r--,i=i._nextRemoved;else if(n=n._next,null==u.previousIndex)r++;else{o||(o=[]);const O=p-r,H=v-r;if(O!=H){for(let Re=0;Re<O;Re++){const qe=Re<o.length?o[Re]:o[Re]=0,_t=qe+Re;H<=_t&&_t<O&&(o[Re]=qe+1)}o[u.previousIndex]=H-O}}p!==v&&t(u,p,v)}}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=[]),!_l(t))throw new ye(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,o,u,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let p=0;p<this.length;p++)o=t[p],u=this._trackByFn(p,o),null!==n&&Object.is(n.trackById,u)?(i&&(n=this._verifyReinsertion(n,o,u,p)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,u,p),i=!0),n=n._next}else r=0,function av(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,p=>{u=this._trackByFn(r,p),null!==n&&Object.is(n.trackById,u)?(i&&(n=this._verifyReinsertion(n,p,u,r)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,u,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 Tb(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 qg),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 qg),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 Tb{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 Sb{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 qg{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new Sb,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 Jg(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 em{constructor(){}supports(t){return t instanceof Map||zc(t)}create(){return new Ib}}class Ib{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||zc(t)))throw new ye(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,u=r._next;return o&&(o._next=u),u&&(u._prev=o),r._next=null,r._prev=null,r}const i=new Ab(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 Ab{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 tm(){return new Ku([new Xg])}let Ku=(()=>{class e{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||tm()),deps:[[e,new N,new b]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new ye(901,!1)}}return e.\u0275prov=De({token:e,providedIn:"root",factory:tm}),e})();function nm(){return new Yu([new em])}let Yu=(()=>{class e{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||nm()),deps:[[e,new N,new b]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new ye(901,!1)}}return e.\u0275prov=De({token:e,providedIn:"root",factory:nm}),e})();const xb=jg(null,"core",[]);let Rb=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(It(Bl))},e.\u0275mod=yi({type:e}),e.\u0275inj=Mt({}),e})();function kb(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},3238:(yt,Ee,g)=>{g.d(Ee,{yN:()=>ze,mZ:()=>xe,_A:()=>vt,rD:()=>Mt,sG:()=>ft,Ad:()=>tt,K7:()=>St,HF:()=>it,Y2:()=>Qe,BQ:()=>q,XK:()=>De,ey:()=>xn,Ng:()=>ut,rN:()=>nn,wG:()=>ct,si:()=>at,CB:()=>Nn,jH:()=>It,pj:()=>Ge,Kr:()=>bt,Id:()=>Ze,FD:()=>Oe,dB:()=>Ye,sb:()=>st});var s=g(94650),d=g(12693),C=g(40445),k=g(36895),ee=g(83353),ce=g(21281),J=g(69751),ne=g(77579),R=g(29521);const Ae=["text"];function be(z,x){if(1&z&&s._UZ(0,"mat-pseudo-checkbox",6),2&z){const A=s.oxw();s.Q6J("state",A.selected?"checked":"unchecked")("disabled",A.disabled)}}function Be(z,x){if(1&z&&s._UZ(0,"mat-pseudo-checkbox",7),2&z){const A=s.oxw();s.Q6J("disabled",A.disabled)}}function ke(z,x){if(1&z&&(s.TgZ(0,"span",8),s._uU(1),s.qZA()),2&z){const A=s.oxw();s.xp6(1),s.hij("(",A.group.label,")")}}const ye=[[["mat-icon"]],"*"],je=["mat-icon","*"];let ze=(()=>{class z{}return z.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",z.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",z.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",z.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",z})(),xe=(()=>{class z{}return z.COMPLEX="375ms",z.ENTERING="225ms",z.EXITING="195ms",z})();const se=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function U(){return!0}});let q=(()=>{class z{constructor(A,ie,Ie){this._sanityChecks=ie,this._document=Ie,this._hasDoneGlobalChecks=!1,A._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(A){return!(0,ee.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[A])}}return z.\u0275fac=function(A){return new(A||z)(s.LFG(d.qm),s.LFG(se,8),s.LFG(k.K0))},z.\u0275mod=s.oAB({type:z}),z.\u0275inj=s.cJS({imports:[C.vT,C.vT]}),z})();function Ze(z){return class extends z{get disabled(){return this._disabled}set disabled(x){this._disabled=(0,ce.Ig)(x)}constructor(...x){super(...x),this._disabled=!1}}}function Ge(z,x){return class extends z{get color(){return this._color}set color(A){const ie=A||this.defaultColor;ie!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),ie&&this._elementRef.nativeElement.classList.add(`mat-${ie}`),this._color=ie)}constructor(...A){super(...A),this.defaultColor=x,this.color=x}}}function bt(z){return class extends z{get disableRipple(){return this._disableRipple}set disableRipple(x){this._disableRipple=(0,ce.Ig)(x)}constructor(...x){super(...x),this._disableRipple=!1}}}function st(z,x=0){return class extends z{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(A){this._tabIndex=null!=A?(0,ce.su)(A):this.defaultTabIndex}constructor(...A){super(...A),this._tabIndex=x,this.defaultTabIndex=x}}}function Oe(z){return class extends z{updateErrorState(){const x=this.errorState,te=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);te!==x&&(this.errorState=te,this.stateChanges.next())}constructor(...x){super(...x),this.errorState=!1}}}function Ye(z){return class extends z{constructor(...x){super(...x),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new J.y(A=>{this._isInitialized?this._notifySubscriber(A):this._pendingSubscribers.push(A)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(x){x.next(),x.complete()}}}const tt=new s.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function lt(){return(0,s.f3M)(s.soG)}});class vt{constructor(){this._localeChanges=new ne.x,this.localeChanges=this._localeChanges}getValidDateOrNull(x){return this.isDateInstance(x)&&this.isValid(x)?x:null}deserialize(x){return null==x||this.isDateInstance(x)&&this.isValid(x)?x:this.invalid()}setLocale(x){this.locale=x,this._localeChanges.next()}compareDate(x,A){return this.getYear(x)-this.getYear(A)||this.getMonth(x)-this.getMonth(A)||this.getDate(x)-this.getDate(A)}sameDate(x,A){if(x&&A){let ie=this.isValid(x),Ie=this.isValid(A);return ie&&Ie?!this.compareDate(x,A):ie==Ie}return x==A}clampDate(x,A,ie){return A&&this.compareDate(x,A)<0?A:ie&&this.compareDate(x,ie)>0?ie:x}}const ft=new s.OlP("mat-date-formats"),ot=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function fe(z,x){const A=Array(z);for(let ie=0;ie<z;ie++)A[ie]=x(ie);return A}let G=(()=>{class z extends vt{constructor(A,ie){super(),this.useUtcForDisplay=!1,super.setLocale(A)}getYear(A){return A.getFullYear()}getMonth(A){return A.getMonth()}getDate(A){return A.getDate()}getDayOfWeek(A){return A.getDay()}getMonthNames(A){const ie=new Intl.DateTimeFormat(this.locale,{month:A,timeZone:"utc"});return fe(12,Ie=>this._format(ie,new Date(2017,Ie,1)))}getDateNames(){const A=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return fe(31,ie=>this._format(A,new Date(2017,0,ie+1)))}getDayOfWeekNames(A){const ie=new Intl.DateTimeFormat(this.locale,{weekday:A,timeZone:"utc"});return fe(7,Ie=>this._format(ie,new Date(2017,0,Ie+1)))}getYearName(A){const ie=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(ie,A)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(A){return this.getDate(this._createDateWithOverflow(this.getYear(A),this.getMonth(A)+1,0))}clone(A){return new Date(A.getTime())}createDate(A,ie,Ie){let te=this._createDateWithOverflow(A,ie,Ie);return te.getMonth(),te}today(){return new Date}parse(A,ie){return"number"==typeof A?new Date(A):A?new Date(Date.parse(A)):null}format(A,ie){if(!this.isValid(A))throw Error("NativeDateAdapter: Cannot format invalid date.");const Ie=new Intl.DateTimeFormat(this.locale,{...ie,timeZone:"utc"});return this._format(Ie,A)}addCalendarYears(A,ie){return this.addCalendarMonths(A,12*ie)}addCalendarMonths(A,ie){let Ie=this._createDateWithOverflow(this.getYear(A),this.getMonth(A)+ie,this.getDate(A));return this.getMonth(Ie)!=((this.getMonth(A)+ie)%12+12)%12&&(Ie=this._createDateWithOverflow(this.getYear(Ie),this.getMonth(Ie),0)),Ie}addCalendarDays(A,ie){return this._createDateWithOverflow(this.getYear(A),this.getMonth(A),this.getDate(A)+ie)}toIso8601(A){return[A.getUTCFullYear(),this._2digit(A.getUTCMonth()+1),this._2digit(A.getUTCDate())].join("-")}deserialize(A){if("string"==typeof A){if(!A)return null;if(ot.test(A)){let ie=new Date(A);if(this.isValid(ie))return ie}}return super.deserialize(A)}isDateInstance(A){return A instanceof Date}isValid(A){return!isNaN(A.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(A,ie,Ie){const te=new Date;return te.setFullYear(A,ie,Ie),te.setHours(0,0,0,0),te}_2digit(A){return("00"+A).slice(-2)}_format(A,ie){const Ie=new Date;return Ie.setUTCFullYear(ie.getFullYear(),ie.getMonth(),ie.getDate()),Ie.setUTCHours(ie.getHours(),ie.getMinutes(),ie.getSeconds(),ie.getMilliseconds()),A.format(Ie)}}return z.\u0275fac=function(A){return new(A||z)(s.LFG(tt,8),s.LFG(ee.t4))},z.\u0275prov=s.Yz7({token:z,factory:z.\u0275fac}),z})();const w={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let K=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=s.oAB({type:z}),z.\u0275inj=s.cJS({providers:[{provide:vt,useClass:G}]}),z})(),De=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=s.oAB({type:z}),z.\u0275inj=s.cJS({providers:[{provide:ft,useValue:w}],imports:[K]}),z})(),Mt=(()=>{class z{isErrorState(A,ie){return!!(A&&A.invalid&&(A.touched||ie&&ie.submitted))}}return z.\u0275fac=function(A){return new(A||z)},z.\u0275prov=s.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();class mn{constructor(x,A,ie,Ie=!1){this._renderer=x,this.element=A,this.config=ie,this._animationForciblyDisabledThroughCss=Ie,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const zt=(0,ee.i$)({passive:!0,capture:!0});class bn{constructor(){this._events=new Map,this._delegateEventHandler=x=>{const A=(0,ee.sA)(x);A&&this._events.get(x.type)?.forEach((ie,Ie)=>{(Ie===A||Ie.contains(A))&&ie.forEach(te=>te.handleEvent(x))})}}addHandler(x,A,ie,Ie){const te=this._events.get(A);if(te){const re=te.get(ie);re?re.add(Ie):te.set(ie,new Set([Ie]))}else this._events.set(A,new Map([[ie,new Set([Ie])]])),x.runOutsideAngular(()=>{document.addEventListener(A,this._delegateEventHandler,zt)})}removeHandler(x,A,ie){const Ie=this._events.get(x);if(!Ie)return;const te=Ie.get(A);te&&(te.delete(ie),0===te.size&&Ie.delete(A),0===Ie.size&&(this._events.delete(x),document.removeEventListener(x,this._delegateEventHandler,zt)))}}const Pn={enterDuration:225,exitDuration:150},yn=(0,ee.i$)({passive:!0,capture:!0}),Ne=["mousedown","touchstart"],V=["mouseup","mouseleave","touchend","touchcancel"];class de{constructor(x,A,ie,Ie){this._target=x,this._ngZone=A,this._platform=Ie,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ie.isBrowser&&(this._containerElement=(0,ce.fI)(ie))}fadeInRipple(x,A,ie={}){const Ie=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),te={...Pn,...ie.animation};ie.centered&&(x=Ie.left+Ie.width/2,A=Ie.top+Ie.height/2);const re=ie.radius||function Te(z,x,A){const ie=Math.max(Math.abs(z-A.left),Math.abs(z-A.right)),Ie=Math.max(Math.abs(x-A.top),Math.abs(x-A.bottom));return Math.sqrt(ie*ie+Ie*Ie)}(x,A,Ie),Ce=x-Ie.left,$e=A-Ie.top,Fe=te.enterDuration,wt=document.createElement("div");wt.classList.add("mat-ripple-element"),wt.style.left=Ce-re+"px",wt.style.top=$e-re+"px",wt.style.height=2*re+"px",wt.style.width=2*re+"px",null!=ie.color&&(wt.style.backgroundColor=ie.color),wt.style.transitionDuration=`${Fe}ms`,this._containerElement.appendChild(wt);const he=window.getComputedStyle(wt),T=he.transitionDuration,I="none"===he.transitionProperty||"0s"===T||"0s, 0s"===T||0===Ie.width&&0===Ie.height,W=new mn(this,wt,ie,I);wt.style.transform="scale3d(1, 1, 1)",W.state=0,ie.persistent||(this._mostRecentTransientRipple=W);let ae=null;return!I&&(Fe||te.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const He=()=>this._finishRippleTransition(W),Et=()=>this._destroyRipple(W);wt.addEventListener("transitionend",He),wt.addEventListener("transitioncancel",Et),ae={onTransitionEnd:He,onTransitionCancel:Et}}),this._activeRipples.set(W,ae),(I||!Fe)&&this._finishRippleTransition(W),W}fadeOutRipple(x){if(2===x.state||3===x.state)return;const A=x.element,ie={...Pn,...x.config.animation};A.style.transitionDuration=`${ie.exitDuration}ms`,A.style.opacity="0",x.state=2,(x._animationForciblyDisabledThroughCss||!ie.exitDuration)&&this._finishRippleTransition(x)}fadeOutAll(){this._getActiveRipples().forEach(x=>x.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(x=>{x.config.persistent||x.fadeOut()})}setupTriggerEvents(x){const A=(0,ce.fI)(x);!this._platform.isBrowser||!A||A===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=A,Ne.forEach(ie=>{de._eventManager.addHandler(this._ngZone,ie,A,this)}))}handleEvent(x){"mousedown"===x.type?this._onMousedown(x):"touchstart"===x.type?this._onTouchStart(x):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{V.forEach(A=>{this._triggerElement.addEventListener(A,this,yn)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(x){0===x.state?this._startFadeOutTransition(x):2===x.state&&this._destroyRipple(x)}_startFadeOutTransition(x){const A=x===this._mostRecentTransientRipple,{persistent:ie}=x.config;x.state=1,!ie&&(!A||!this._isPointerDown)&&x.fadeOut()}_destroyRipple(x){const A=this._activeRipples.get(x)??null;this._activeRipples.delete(x),this._activeRipples.size||(this._containerRect=null),x===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),x.state=3,null!==A&&(x.element.removeEventListener("transitionend",A.onTransitionEnd),x.element.removeEventListener("transitioncancel",A.onTransitionCancel)),x.element.remove()}_onMousedown(x){const A=(0,d.X6)(x),ie=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!A&&!ie&&(this._isPointerDown=!0,this.fadeInRipple(x.clientX,x.clientY,this._target.rippleConfig))}_onTouchStart(x){if(!this._target.rippleDisabled&&!(0,d.yG)(x)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const A=x.changedTouches;for(let ie=0;ie<A.length;ie++)this.fadeInRipple(A[ie].clientX,A[ie].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(x=>{!x.config.persistent&&(1===x.state||x.config.terminateOnPointerUp&&0===x.state)&&x.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const x=this._triggerElement;x&&(Ne.forEach(A=>de._eventManager.removeHandler(A,x,this)),this._pointerUpEventsRegistered&&V.forEach(A=>x.removeEventListener(A,this,yn)))}}de._eventManager=new bn;const Qe=new s.OlP("mat-ripple-global-options");let ct=(()=>{class z{get disabled(){return this._disabled}set disabled(A){A&&this.fadeOutAllNonPersistent(),this._disabled=A,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(A){this._trigger=A,this._setupTriggerEventsIfEnabled()}constructor(A,ie,Ie,te,re){this._elementRef=A,this._animationMode=re,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=te||{},this._rippleRenderer=new de(this,ie,A,Ie)}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(A,ie=0,Ie){return"number"==typeof A?this._rippleRenderer.fadeInRipple(A,ie,{...this.rippleConfig,...Ie}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...A})}}return z.\u0275fac=function(A){return new(A||z)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(ee.t4),s.Y36(Qe,8),s.Y36(s.QbO,8))},z.\u0275dir=s.lG2({type:z,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(A,ie){2&A&&s.ekj("mat-ripple-unbounded",ie.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"]}),z})(),at=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=s.oAB({type:z}),z.\u0275inj=s.cJS({imports:[q,q]}),z})(),pt=(()=>{class z{constructor(A){this._animationMode=A,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return z.\u0275fac=function(A){return new(A||z)(s.Y36(s.QbO,8))},z.\u0275cmp=s.Xpm({type:z,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(A,ie){2&A&&s.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===ie.state)("mat-pseudo-checkbox-checked","checked"===ie.state)("mat-pseudo-checkbox-disabled",ie.disabled)("mat-pseudo-checkbox-minimal","minimal"===ie.appearance)("mat-pseudo-checkbox-full","full"===ie.appearance)("_mat-animation-noopable","NoopAnimations"===ie._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(A,ie){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),z})(),_e=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=s.oAB({type:z}),z.\u0275inj=s.cJS({imports:[q]}),z})();const it=new s.OlP("MAT_OPTION_PARENT_COMPONENT"),St=new s.OlP("MatOptgroup");let Ot=0;class nn{constructor(x,A=!1){this.source=x,this.isUserInput=A}}let jt=(()=>{class z{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(A){this._disabled=(0,ce.Ig)(A)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(A,ie,Ie,te){this._element=A,this._changeDetectorRef=ie,this._parent=Ie,this.group=te,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ot++,this.onSelectionChange=new s.vpe,this._stateChanges=new ne.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(A,ie){const Ie=this._getHostElement();"function"==typeof Ie.focus&&Ie.focus(ie)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(A){(A.keyCode===R.K5||A.keyCode===R.L_)&&!(0,R.Vb)(A)&&(this._selectViaInteraction(),A.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const A=this.viewValue;A!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=A)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(A=!1){this.onSelectionChange.emit(new nn(this,A))}}return z.\u0275fac=function(A){s.$Z()},z.\u0275dir=s.lG2({type:z,viewQuery:function(A,ie){if(1&A&&s.Gf(Ae,7),2&A){let Ie;s.iGM(Ie=s.CRH())&&(ie._text=Ie.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),z})(),xn=(()=>{class z extends jt{constructor(A,ie,Ie,te){super(A,ie,Ie,te)}}return z.\u0275fac=function(A){return new(A||z)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(it,8),s.Y36(St,8))},z.\u0275cmp=s.Xpm({type:z,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(A,ie){1&A&&s.NdJ("click",function(){return ie._selectViaInteraction()})("keydown",function(te){return ie._handleKeydown(te)}),2&A&&(s.Ikx("id",ie.id),s.uIk("tabindex",ie._getTabIndex())("aria-selected",ie.selected)("aria-disabled",ie.disabled.toString()),s.ekj("mdc-list-item--selected",ie.selected)("mat-mdc-option-multiple",ie.multiple)("mat-mdc-option-active",ie.active)("mdc-list-item--disabled",ie.disabled))},exportAs:["matOption"],features:[s.qOj],ngContentSelectors:je,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(A,ie){1&A&&(s.F$t(ye),s.YNc(0,be,1,2,"mat-pseudo-checkbox",0),s.Hsn(1),s.TgZ(2,"span",1,2),s.Hsn(4,1),s.qZA(),s.YNc(5,Be,1,1,"mat-pseudo-checkbox",3),s.YNc(6,ke,2,1,"span",4),s._UZ(7,"div",5)),2&A&&(s.Q6J("ngIf",ie.multiple),s.xp6(5),s.Q6J("ngIf",!ie.multiple&&ie.selected&&!ie.hideSingleSelectionIndicator),s.xp6(1),s.Q6J("ngIf",ie.group&&ie.group._inert),s.xp6(1),s.Q6J("matRippleTrigger",ie._getHostElement())("matRippleDisabled",ie.disabled||ie.disableRipple))},dependencies:[ct,k.O5,pt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),z})();function Nn(z,x,A){if(A.length){let ie=x.toArray(),Ie=A.toArray(),te=0;for(let re=0;re<z+1;re++)ie[re].group&&ie[re].group===Ie[te]&&te++;return te}return 0}function It(z,x,A,ie){return z<A?z:z+x>A+ie?Math.max(0,z-ie+x):A}let ut=(()=>{class z{}return z.\u0275fac=function(A){return new(A||z)},z.\u0275mod=s.oAB({type:z}),z.\u0275inj=s.cJS({imports:[at,k.ez,q,_e]}),z})()},65412:(yt,Ee,g)=>{g.d(Ee,{WI:()=>xt,uw:()=>ln,Is:()=>ct,so:()=>et});var s=g(98184),d=g(36895),C=g(94650),$=g(12693),k=g(83353),ee=g(84080),ce=g(29521),J=g(77579),ne=g(49770),R=g(39646),Z=g(40445),Y=g(68675);function Ae(_e,it){}class be{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let ke=(()=>{class _e extends ee.en{constructor(ge,Le,mt,St,Ht,Ot,nn,jt){super(),this._elementRef=ge,this._focusTrapFactory=Le,this._config=St,this._interactivityChecker=Ht,this._ngZone=Ot,this._overlayRef=nn,this._focusMonitor=jt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=xn=>{this._portalOutlet.hasAttached();const Nn=this._portalOutlet.attachDomPortal(xn);return this._contentAttached(),Nn},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=mt}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(ge){this._portalOutlet.hasAttached();const Le=this._portalOutlet.attachComponentPortal(ge);return this._contentAttached(),Le}attachTemplatePortal(ge){this._portalOutlet.hasAttached();const Le=this._portalOutlet.attachTemplatePortal(ge);return this._contentAttached(),Le}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ge,Le){this._interactivityChecker.isFocusable(ge)||(ge.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const mt=()=>{ge.removeEventListener("blur",mt),ge.removeEventListener("mousedown",mt),ge.removeAttribute("tabindex")};ge.addEventListener("blur",mt),ge.addEventListener("mousedown",mt)})),ge.focus(Le)}_focusByCssSelector(ge,Le){let mt=this._elementRef.nativeElement.querySelector(ge);mt&&this._forceFocus(mt,Le)}_trapFocus(){const ge=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||ge.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Le=>{Le||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const ge=this._config.restoreFocus;let Le=null;if("string"==typeof ge?Le=this._document.querySelector(ge):"boolean"==typeof ge?Le=ge?this._elementFocusedBeforeDialogWasOpened:null:ge&&(Le=ge),this._config.restoreFocus&&Le&&"function"==typeof Le.focus){const mt=(0,k.ht)(),St=this._elementRef.nativeElement;(!mt||mt===this._document.body||mt===St||St.contains(mt))&&(this._focusMonitor?(this._focusMonitor.focusVia(Le,this._closeInteractionType),this._closeInteractionType=null):Le.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ge=this._elementRef.nativeElement,Le=(0,k.ht)();return ge===Le||ge.contains(Le)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,k.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return _e.\u0275fac=function(ge){return new(ge||_e)(C.Y36(C.SBq),C.Y36($.qV),C.Y36(d.K0,8),C.Y36(be),C.Y36($.ic),C.Y36(C.R0b),C.Y36(s.Iu),C.Y36($.tE))},_e.\u0275cmp=C.Xpm({type:_e,selectors:[["cdk-dialog-container"]],viewQuery:function(ge,Le){if(1&ge&&C.Gf(ee.Pl,7),2&ge){let mt;C.iGM(mt=C.CRH())&&(Le._portalOutlet=mt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(ge,Le){2&ge&&C.uIk("id",Le._config.id||null)("role",Le._config.role)("aria-modal",Le._config.ariaModal)("aria-labelledby",Le._config.ariaLabel?null:Le._ariaLabelledBy)("aria-label",Le._config.ariaLabel)("aria-describedby",Le._config.ariaDescribedBy||null)},features:[C.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ge,Le){1&ge&&C.YNc(0,Ae,0,0,"ng-template",0)},dependencies:[ee.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),_e})();class ye{constructor(it,ge){this.overlayRef=it,this.config=ge,this.closed=new J.x,this.disableClose=ge.disableClose,this.backdropClick=it.backdropClick(),this.keydownEvents=it.keydownEvents(),this.outsidePointerEvents=it.outsidePointerEvents(),this.id=ge.id,this.keydownEvents.subscribe(Le=>{Le.keyCode===ce.hY&&!this.disableClose&&!(0,ce.Vb)(Le)&&(Le.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=it.detachments().subscribe(()=>{!1!==ge.closeOnOverlayDetachments&&this.close()})}close(it,ge){if(this.containerInstance){const Le=this.closed;this.containerInstance._closeInteractionType=ge?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Le.next(it),Le.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(it="",ge=""){return this.overlayRef.updateSize({width:it,height:ge}),this}addPanelClass(it){return this.overlayRef.addPanelClass(it),this}removePanelClass(it){return this.overlayRef.removePanelClass(it),this}}const je=new C.OlP("DialogScrollStrategy"),Ke=new C.OlP("DialogData"),ze=new C.OlP("DefaultDialogConfig"),U={provide:je,deps:[s.aV],useFactory:function xe(_e){return()=>_e.scrollStrategies.block()}};let se=0,q=(()=>{class _e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(ge,Le,mt,St,Ht,Ot){this._overlay=ge,this._injector=Le,this._defaultOptions=mt,this._parentDialog=St,this._overlayContainer=Ht,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J.x,this._afterOpenedAtThisLevel=new J.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,ne.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Y.O)(void 0))),this._scrollStrategy=Ot}open(ge,Le){(Le={...this._defaultOptions||new be,...Le}).id=Le.id||"cdk-dialog-"+se++,Le.id&&this.getDialogById(Le.id);const St=this._getOverlayConfig(Le),Ht=this._overlay.create(St),Ot=new ye(Ht,Le),nn=this._attachContainer(Ht,Ot,Le);return Ot.containerInstance=nn,this._attachDialogContent(ge,Ot,nn,Le),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ot),Ot.closed.subscribe(()=>this._removeOpenDialog(Ot,!0)),this.afterOpened.next(Ot),Ot}closeAll(){oe(this.openDialogs,ge=>ge.close())}getDialogById(ge){return this.openDialogs.find(Le=>Le.id===ge)}ngOnDestroy(){oe(this._openDialogsAtThisLevel,ge=>{!1===ge.config.closeOnDestroy&&this._removeOpenDialog(ge,!1)}),oe(this._openDialogsAtThisLevel,ge=>ge.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(ge){const Le=new s.X_({positionStrategy:ge.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:ge.scrollStrategy||this._scrollStrategy(),panelClass:ge.panelClass,hasBackdrop:ge.hasBackdrop,direction:ge.direction,minWidth:ge.minWidth,minHeight:ge.minHeight,maxWidth:ge.maxWidth,maxHeight:ge.maxHeight,width:ge.width,height:ge.height,disposeOnNavigation:ge.closeOnNavigation});return ge.backdropClass&&(Le.backdropClass=ge.backdropClass),Le}_attachContainer(ge,Le,mt){const St=mt.injector||mt.viewContainerRef?.injector,Ht=[{provide:be,useValue:mt},{provide:ye,useValue:Le},{provide:s.Iu,useValue:ge}];let Ot;mt.container?"function"==typeof mt.container?Ot=mt.container:(Ot=mt.container.type,Ht.push(...mt.container.providers(mt))):Ot=ke;const nn=new ee.C5(Ot,mt.viewContainerRef,C.zs3.create({parent:St||this._injector,providers:Ht}),mt.componentFactoryResolver);return ge.attach(nn).instance}_attachDialogContent(ge,Le,mt,St){if(ge instanceof C.Rgc){const Ht=this._createInjector(St,Le,mt,void 0);let Ot={$implicit:St.data,dialogRef:Le};St.templateContext&&(Ot={...Ot,..."function"==typeof St.templateContext?St.templateContext():St.templateContext}),mt.attachTemplatePortal(new ee.UE(ge,null,Ot,Ht))}else{const Ht=this._createInjector(St,Le,mt,this._injector),Ot=mt.attachComponentPortal(new ee.C5(ge,St.viewContainerRef,Ht,St.componentFactoryResolver));Le.componentInstance=Ot.instance}}_createInjector(ge,Le,mt,St){const Ht=ge.injector||ge.viewContainerRef?.injector,Ot=[{provide:Ke,useValue:ge.data},{provide:ye,useValue:Le}];return ge.providers&&("function"==typeof ge.providers?Ot.push(...ge.providers(Le,ge,mt)):Ot.push(...ge.providers)),ge.direction&&(!Ht||!Ht.get(Z.Is,null,{optional:!0}))&&Ot.push({provide:Z.Is,useValue:{value:ge.direction,change:(0,R.of)()}}),C.zs3.create({parent:Ht||St,providers:Ot})}_removeOpenDialog(ge,Le){const mt=this.openDialogs.indexOf(ge);mt>-1&&(this.openDialogs.splice(mt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((St,Ht)=>{St?Ht.setAttribute("aria-hidden",St):Ht.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Le&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ge=this._overlayContainer.getContainerElement();if(ge.parentElement){const Le=ge.parentElement.children;for(let mt=Le.length-1;mt>-1;mt--){const St=Le[mt];St!==ge&&"SCRIPT"!==St.nodeName&&"STYLE"!==St.nodeName&&!St.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(St,St.getAttribute("aria-hidden")),St.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ge=this._parentDialog;return ge?ge._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return _e.\u0275fac=function(ge){return new(ge||_e)(C.LFG(s.aV),C.LFG(C.zs3),C.LFG(ze,8),C.LFG(_e,12),C.LFG(s.Xj),C.LFG(je))},_e.\u0275prov=C.Yz7({token:_e,factory:_e.\u0275fac}),_e})();function oe(_e,it){let ge=_e.length;for(;ge--;)it(_e[ge])}let le=(()=>{class _e{}return _e.\u0275fac=function(ge){return new(ge||_e)},_e.\u0275mod=C.oAB({type:_e}),_e.\u0275inj=C.cJS({providers:[q,U],imports:[s.U8,ee.eL,$.rt,ee.eL]}),_e})();var ve=g(21281),Ze=g(56451),Ge=g(39300),bt=g(95698),st=g(3238);function Ye(_e,it){}g(37340);class tt{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const lt="mdc-dialog--open",vt="mdc-dialog--opening",ft="mdc-dialog--closing";let G=(()=>{class _e extends ke{constructor(ge,Le,mt,St,Ht,Ot,nn,jt){super(ge,Le,mt,St,Ht,Ot,nn,jt),this._animationStateChanged=new C.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(ge){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ge})}}return _e.\u0275fac=function(ge){return new(ge||_e)(C.Y36(C.SBq),C.Y36($.qV),C.Y36(d.K0,8),C.Y36(tt),C.Y36($.ic),C.Y36(C.R0b),C.Y36(s.Iu),C.Y36($.tE))},_e.\u0275cmp=C.Xpm({type:_e,selectors:[["ng-component"]],features:[C.qOj],decls:0,vars:0,template:function(ge,Le){},encapsulation:2}),_e})();const w="--mat-dialog-transition-duration";function K(_e){return null==_e?null:"number"==typeof _e?_e:_e.endsWith("ms")?(0,ve.su)(_e.substring(0,_e.length-2)):_e.endsWith("s")?1e3*(0,ve.su)(_e.substring(0,_e.length-1)):"0"===_e?0:null}let De=(()=>{class _e extends G{constructor(ge,Le,mt,St,Ht,Ot,nn,jt,xn){super(ge,Le,mt,St,Ht,Ot,nn,xn),this._animationMode=jt,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?K(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?K(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(w,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(vt),this._hostElement.classList.add(lt),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(lt),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(lt),this._animationsEnabled?(this._hostElement.style.setProperty(w,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(ft),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(vt),this._hostElement.classList.remove(ft)}_waitForAnimationToComplete(ge,Le){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Le,ge)}}return _e.\u0275fac=function(ge){return new(ge||_e)(C.Y36(C.SBq),C.Y36($.qV),C.Y36(d.K0,8),C.Y36(tt),C.Y36($.ic),C.Y36(C.R0b),C.Y36(s.Iu),C.Y36(C.QbO,8),C.Y36($.tE))},_e.\u0275cmp=C.Xpm({type:_e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(ge,Le){2&ge&&(C.Ikx("id",Le._config.id),C.uIk("aria-modal",Le._config.ariaModal)("role",Le._config.role)("aria-labelledby",Le._config.ariaLabel?null:Le._ariaLabelledBy)("aria-label",Le._config.ariaLabel)("aria-describedby",Le._config.ariaDescribedBy||null),C.ekj("_mat-animation-noopable",!Le._animationsEnabled))},features:[C.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(ge,Le){1&ge&&(C.TgZ(0,"div",0)(1,"div",1),C.YNc(2,Ye,0,0,"ng-template",2),C.qZA()())},dependencies:[ee.Pl],styles:['.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-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),_e})();class et{constructor(it,ge,Le){this._ref=it,this._containerInstance=Le,this._afterOpened=new J.x,this._beforeClosed=new J.x,this._state=0,this.disableClose=ge.disableClose,this.id=it.id,Le._animationStateChanged.pipe((0,Ge.h)(mt=>"opened"===mt.state),(0,bt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Le._animationStateChanged.pipe((0,Ge.h)(mt=>"closed"===mt.state),(0,bt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),it.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Ze.T)(this.backdropClick(),this.keydownEvents().pipe((0,Ge.h)(mt=>mt.keyCode===ce.hY&&!this.disableClose&&!(0,ce.Vb)(mt)))).subscribe(mt=>{this.disableClose||(mt.preventDefault(),function Mt(_e,it,ge){_e._closeInteractionType=it,_e.close(ge)}(this,"keydown"===mt.type?"keyboard":"mouse"))})}close(it){this._result=it,this._containerInstance._animationStateChanged.pipe((0,Ge.h)(ge=>"closing"===ge.state),(0,bt.q)(1)).subscribe(ge=>{this._beforeClosed.next(it),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ge.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(it){let ge=this._ref.config.positionStrategy;return it&&(it.left||it.right)?it.left?ge.left(it.left):ge.right(it.right):ge.centerHorizontally(),it&&(it.top||it.bottom)?it.top?ge.top(it.top):ge.bottom(it.bottom):ge.centerVertically(),this._ref.updatePosition(),this}updateSize(it="",ge=""){return this._ref.updateSize(it,ge),this}addPanelClass(it){return this._ref.addPanelClass(it),this}removePanelClass(it){return this._ref.removePanelClass(it),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const xt=new C.OlP("MatMdcDialogData"),Lt=new C.OlP("mat-mdc-dialog-default-options"),Kt=new C.OlP("mat-mdc-dialog-scroll-strategy"),mn={provide:Kt,deps:[s.aV],useFactory:function hn(_e){return()=>_e.scrollStrategies.block()}};let bn=0,Pn=(()=>{class _e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ge=this._parentDialog;return ge?ge._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(ge,Le,mt,St,Ht,Ot,nn,jt,xn,Nn){this._overlay=ge,this._defaultOptions=mt,this._parentDialog=St,this._dialogRefConstructor=nn,this._dialogContainerType=jt,this._dialogDataToken=xn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J.x,this._afterOpenedAtThisLevel=new J.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=tt,this.afterAllClosed=(0,ne.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Y.O)(void 0))),this._scrollStrategy=Ot,this._dialog=Le.get(q)}open(ge,Le){let mt;(Le={...this._defaultOptions||new tt,...Le}).id=Le.id||`${this._idPrefix}${bn++}`,Le.scrollStrategy=Le.scrollStrategy||this._scrollStrategy();const St=this._dialog.open(ge,{...Le,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Le},{provide:be,useValue:Le}]},templateContext:()=>({dialogRef:mt}),providers:(Ht,Ot,nn)=>(mt=new this._dialogRefConstructor(Ht,Le,nn),mt.updatePosition(Le?.position),[{provide:this._dialogContainerType,useValue:nn},{provide:this._dialogDataToken,useValue:Ot.data},{provide:this._dialogRefConstructor,useValue:mt}])});return mt.componentInstance=St.componentInstance,this.openDialogs.push(mt),this.afterOpened.next(mt),mt.afterClosed().subscribe(()=>{const Ht=this.openDialogs.indexOf(mt);Ht>-1&&(this.openDialogs.splice(Ht,1),this.openDialogs.length||this._getAfterAllClosed().next())}),mt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ge){return this.openDialogs.find(Le=>Le.id===ge)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(ge){let Le=ge.length;for(;Le--;)ge[Le].close()}}return _e.\u0275fac=function(ge){C.$Z()},_e.\u0275prov=C.Yz7({token:_e,factory:_e.\u0275fac}),_e})(),ln=(()=>{class _e extends Pn{constructor(ge,Le,mt,St,Ht,Ot,nn,jt){super(ge,Le,St,Ot,nn,Ht,et,De,xt,jt),this._idPrefix="mat-mdc-dialog-"}}return _e.\u0275fac=function(ge){return new(ge||_e)(C.LFG(s.aV),C.LFG(C.zs3),C.LFG(d.Ye,8),C.LFG(Lt,8),C.LFG(Kt),C.LFG(_e,12),C.LFG(s.Xj),C.LFG(C.QbO,8))},_e.\u0275prov=C.Yz7({token:_e,factory:_e.\u0275fac}),_e})(),ct=(()=>{class _e{}return _e.\u0275fac=function(ge){return new(ge||_e)},_e.\u0275mod=C.oAB({type:_e}),_e.\u0275inj=C.cJS({providers:[ln,mn],imports:[le,s.U8,ee.eL,st.BQ,st.BQ]}),_e})()},10266:(yt,Ee,g)=>{g.d(Ee,{AV:()=>ft,gM:()=>Ye});var s=g(82722),d=g(95698),C=g(21281),$=g(29521),k=g(94650),ee=g(36895),ce=g(83353),J=g(12693),ne=g(40445),R=g(98184),Z=g(67376),Y=g(84080),Ae=g(77579),Be=(g(37340),g(3238));const ke=["tooltip"],Ke=new k.OlP("mat-tooltip-scroll-strategy"),xe={provide:Ke,deps:[R.aV],useFactory:function ze(ot){return()=>ot.scrollStrategies.reposition({scrollThrottle:20})}},se=new k.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function U(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),oe="tooltip-panel",le=(0,ce.i$)({passive:!0});let Oe=(()=>{class ot{get position(){return this._position}set position(G){G!==this._position&&(this._position=G,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(G){this._positionAtOrigin=(0,C.Ig)(G),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(G){this._disabled=(0,C.Ig)(G),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(G){this._showDelay=(0,C.su)(G)}get hideDelay(){return this._hideDelay}set hideDelay(G){this._hideDelay=(0,C.su)(G),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(G){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=G?String(G).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(G){this._tooltipClass=G,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(G,w,K,De,et,Mt,xt,Lt,Kt,hn,mn,zt){this._overlay=G,this._elementRef=w,this._scrollDispatcher=K,this._viewContainerRef=De,this._ngZone=et,this._platform=Mt,this._ariaDescriber=xt,this._focusMonitor=Lt,this._dir=hn,this._defaultOptions=mn,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ae.x,this._scrollStrategy=Kt,this._document=zt,mn&&(mn.position&&(this.position=mn.position),mn.positionAtOrigin&&(this.positionAtOrigin=mn.positionAtOrigin),mn.touchGestures&&(this.touchGestures=mn.touchGestures)),hn.change.pipe((0,s.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,s.R)(this._destroyed)).subscribe(G=>{G?"keyboard"===G&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const G=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([w,K])=>{G.removeEventListener(w,K,le)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(G,this.message,"tooltip"),this._focusMonitor.stopMonitoring(G)}show(G=this.showDelay,w){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const K=this._createOverlay(w);this._detach(),this._portal=this._portal||new Y.C5(this._tooltipComponent,this._viewContainerRef);const De=this._tooltipInstance=K.attach(this._portal).instance;De._triggerElement=this._elementRef.nativeElement,De._mouseLeaveHideDelay=this._hideDelay,De.afterHidden().pipe((0,s.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),De.show(G)}hide(G=this.hideDelay){const w=this._tooltipInstance;w&&(w.isVisible()?w.hide(G):(w._cancelPendingAnimations(),this._detach()))}toggle(G){this._isTooltipVisible()?this.hide():this.show(void 0,G)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(G){if(this._overlayRef){const De=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!G)&&De._origin instanceof k.SBq)return this._overlayRef;this._detach()}const w=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),K=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&G||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(w);return K.positionChanges.pipe((0,s.R)(this._destroyed)).subscribe(De=>{this._updateCurrentPositionClass(De.connectionPair),this._tooltipInstance&&De.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:K,panelClass:`${this._cssClassPrefix}-${oe}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,s.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,s.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,s.R)(this._destroyed)).subscribe(De=>{this._isTooltipVisible()&&De.keyCode===$.hY&&!(0,$.Vb)(De)&&(De.preventDefault(),De.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(G){const w=G.getConfig().positionStrategy,K=this._getOrigin(),De=this._getOverlayPosition();w.withPositions([this._addOffset({...K.main,...De.main}),this._addOffset({...K.fallback,...De.fallback})])}_addOffset(G){return G}_getOrigin(){const G=!this._dir||"ltr"==this._dir.value,w=this.position;let K;"above"==w||"below"==w?K={originX:"center",originY:"above"==w?"top":"bottom"}:"before"==w||"left"==w&&G||"right"==w&&!G?K={originX:"start",originY:"center"}:("after"==w||"right"==w&&G||"left"==w&&!G)&&(K={originX:"end",originY:"center"});const{x:De,y:et}=this._invertPosition(K.originX,K.originY);return{main:K,fallback:{originX:De,originY:et}}}_getOverlayPosition(){const G=!this._dir||"ltr"==this._dir.value,w=this.position;let K;"above"==w?K={overlayX:"center",overlayY:"bottom"}:"below"==w?K={overlayX:"center",overlayY:"top"}:"before"==w||"left"==w&&G||"right"==w&&!G?K={overlayX:"end",overlayY:"center"}:("after"==w||"right"==w&&G||"left"==w&&!G)&&(K={overlayX:"start",overlayY:"center"});const{x:De,y:et}=this._invertPosition(K.overlayX,K.overlayY);return{main:K,fallback:{overlayX:De,overlayY:et}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,d.q)(1),(0,s.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(G){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=G,this._tooltipInstance._markForCheck())}_invertPosition(G,w){return"above"===this.position||"below"===this.position?"top"===w?w="bottom":"bottom"===w&&(w="top"):"end"===G?G="start":"start"===G&&(G="end"),{x:G,y:w}}_updateCurrentPositionClass(G){const{overlayY:w,originX:K,originY:De}=G;let et;if(et="center"===w?this._dir&&"rtl"===this._dir.value?"end"===K?"left":"right":"start"===K?"left":"right":"bottom"===w&&"top"===De?"above":"below",et!==this._currentPosition){const Mt=this._overlayRef;if(Mt){const xt=`${this._cssClassPrefix}-${oe}-`;Mt.removePanelClass(xt+this._currentPosition),Mt.addPanelClass(xt+et)}this._currentPosition=et}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",G=>{let w;this._setupPointerExitEventsIfNeeded(),void 0!==G.x&&void 0!==G.y&&(w=G),this.show(void 0,w)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",G=>{const w=G.targetTouches?.[0],K=w?{x:w.clientX,y:w.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,K),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const G=[];if(this._platformSupportsMouseEvents())G.push(["mouseleave",w=>{const K=w.relatedTarget;(!K||!this._overlayRef?.overlayElement.contains(K))&&this.hide()}],["wheel",w=>this._wheelListener(w)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const w=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};G.push(["touchend",w],["touchcancel",w])}this._addListeners(G),this._passiveListeners.push(...G)}_addListeners(G){G.forEach(([w,K])=>{this._elementRef.nativeElement.addEventListener(w,K,le)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(G){if(this._isTooltipVisible()){const w=this._document.elementFromPoint(G.clientX,G.clientY),K=this._elementRef.nativeElement;w!==K&&!K.contains(w)&&this.hide()}}_disableNativeGesturesIfNecessary(){const G=this.touchGestures;if("off"!==G){const w=this._elementRef.nativeElement,K=w.style;("on"===G||"INPUT"!==w.nodeName&&"TEXTAREA"!==w.nodeName)&&(K.userSelect=K.msUserSelect=K.webkitUserSelect=K.MozUserSelect="none"),("on"===G||!w.draggable)&&(K.webkitUserDrag="none"),K.touchAction="none",K.webkitTapHighlightColor="transparent"}}}return ot.\u0275fac=function(G){k.$Z()},ot.\u0275dir=k.lG2({type:ot,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),ot})(),Ye=(()=>{class ot extends Oe{constructor(G,w,K,De,et,Mt,xt,Lt,Kt,hn,mn,zt){super(G,w,K,De,et,Mt,xt,Lt,Kt,hn,mn,zt),this._tooltipComponent=lt,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(G){const K=!this._dir||"ltr"==this._dir.value;return"top"===G.originY?G.offsetY=-8:"bottom"===G.originY?G.offsetY=8:"start"===G.originX?G.offsetX=K?-8:8:"end"===G.originX&&(G.offsetX=K?8:-8),G}}return ot.\u0275fac=function(G){return new(G||ot)(k.Y36(R.aV),k.Y36(k.SBq),k.Y36(Z.mF),k.Y36(k.s_b),k.Y36(k.R0b),k.Y36(ce.t4),k.Y36(J.$s),k.Y36(J.tE),k.Y36(Ke),k.Y36(ne.Is,8),k.Y36(se,8),k.Y36(ee.K0))},ot.\u0275dir=k.lG2({type:ot,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[k.qOj]}),ot})(),tt=(()=>{class ot{constructor(G,w){this._changeDetectorRef=G,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ae.x,this._animationsDisabled="NoopAnimations"===w}show(G){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},G)}hide(G){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},G)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:G}){(!G||!this._triggerElement.contains(G))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:G}){(G===this._showAnimation||G===this._hideAnimation)&&this._finalizeAnimation(G===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(G){G?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(G){const w=this._tooltip.nativeElement,K=this._showAnimation,De=this._hideAnimation;if(w.classList.remove(G?De:K),w.classList.add(G?K:De),this._isVisible=G,G&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const et=getComputedStyle(w);("0s"===et.getPropertyValue("animation-duration")||"none"===et.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}G&&this._onShow(),this._animationsDisabled&&(w.classList.add("_mat-animation-noopable"),this._finalizeAnimation(G))}}return ot.\u0275fac=function(G){return new(G||ot)(k.Y36(k.sBO),k.Y36(k.QbO,8))},ot.\u0275dir=k.lG2({type:ot}),ot})(),lt=(()=>{class ot extends tt{constructor(G,w,K){super(G,K),this._elementRef=w,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const G=this._elementRef.nativeElement.getBoundingClientRect();return G.height>24&&G.width>=200}}return ot.\u0275fac=function(G){return new(G||ot)(k.Y36(k.sBO),k.Y36(k.SBq),k.Y36(k.QbO,8))},ot.\u0275cmp=k.Xpm({type:ot,selectors:[["mat-tooltip-component"]],viewQuery:function(G,w){if(1&G&&k.Gf(ke,7),2&G){let K;k.iGM(K=k.CRH())&&(w._tooltip=K.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(G,w){1&G&&k.NdJ("mouseleave",function(De){return w._handleMouseLeave(De)}),2&G&&k.Udp("zoom",w.isVisible()?1:null)},features:[k.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(G,w){1&G&&(k.TgZ(0,"div",0,1),k.NdJ("animationend",function(De){return w._handleAnimationEnd(De)}),k.TgZ(2,"div",2),k._uU(3),k.qZA()()),2&G&&(k.ekj("mdc-tooltip--multiline",w._isMultiline),k.Q6J("ngClass",w.tooltipClass),k.xp6(3),k.Oqu(w.message))},dependencies:[ee.mk],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),ot})(),ft=(()=>{class ot{}return ot.\u0275fac=function(G){return new(G||ot)},ot.\u0275mod=k.oAB({type:ot}),ot.\u0275inj=k.cJS({providers:[xe],imports:[J.rt,ee.ez,R.U8,Be.BQ,Be.BQ,Z.ZD]}),ot})()},11481:(yt,Ee,g)=>{g.d(Ee,{Dx:()=>at,H7:()=>Ce,b2:()=>V,q6:()=>Pn,se:()=>st});var s=g(36895),d=g(94650);class C extends s.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class $ extends C{static makeCurrent(){(0,s.HT)(new $)}onAndCancel(L,T,I){return L.addEventListener(T,I,!1),()=>{L.removeEventListener(T,I,!1)}}dispatchEvent(L,T){L.dispatchEvent(T)}remove(L){L.parentNode&&L.parentNode.removeChild(L)}createElement(L,T){return(T=T||this.getDefaultDocument()).createElement(L)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(L){return L.nodeType===Node.ELEMENT_NODE}isShadowRoot(L){return L instanceof DocumentFragment}getGlobalEventTarget(L,T){return"window"===T?window:"document"===T?L:"body"===T?L.body:null}getBaseHref(L){const T=function ee(){return k=k||document.querySelector("base"),k?k.getAttribute("href"):null}();return null==T?null:function J(he){ce=ce||document.createElement("a"),ce.setAttribute("href",he);const L=ce.pathname;return"/"===L.charAt(0)?L:`/${L}`}(T)}resetBaseElement(){k=null}getUserAgent(){return window.navigator.userAgent}getCookie(L){return(0,s.Mx)(document.cookie,L)}}let ce,k=null;const ne=new d.OlP("TRANSITION_ID"),Z=[{provide:d.ip1,useFactory:function R(he,L,T){return()=>{T.get(d.CZH).donePromise.then(()=>{const I=(0,s.q)(),W=L.querySelectorAll(`style[ng-transition="${he}"]`);for(let ae=0;ae<W.length;ae++)I.remove(W[ae])})}},deps:[ne,s.K0,d.zs3],multi:!0}];let Ae=(()=>{class he{build(){return new XMLHttpRequest}}return he.\u0275fac=function(T){return new(T||he)},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})();const be=new d.OlP("EventManagerPlugins");let Be=(()=>{class he{constructor(T,I){this._zone=I,this._eventNameToPlugin=new Map,T.forEach(W=>{W.manager=this}),this._plugins=T.slice().reverse()}addEventListener(T,I,W){return this._findPluginFor(I).addEventListener(T,I,W)}addGlobalEventListener(T,I,W){return this._findPluginFor(I).addGlobalEventListener(T,I,W)}getZone(){return this._zone}_findPluginFor(T){const I=this._eventNameToPlugin.get(T);if(I)return I;const W=this._plugins;for(let ae=0;ae<W.length;ae++){const He=W[ae];if(He.supports(T))return this._eventNameToPlugin.set(T,He),He}throw new Error(`No event manager plugin found for event ${T}`)}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(be),d.LFG(d.R0b))},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})();class ke{constructor(L){this._doc=L}addGlobalEventListener(L,T,I){const W=(0,s.q)().getGlobalEventTarget(this._doc,L);if(!W)throw new Error(`Unsupported event target ${W} for event ${T}`);return this.addEventListener(W,T,I)}}let ye=(()=>{class he{constructor(){this.usageCount=new Map}addStyles(T){for(const I of T)1===this.changeUsageCount(I,1)&&this.onStyleAdded(I)}removeStyles(T){for(const I of T)0===this.changeUsageCount(I,-1)&&this.onStyleRemoved(I)}onStyleRemoved(T){}onStyleAdded(T){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(T,I){const W=this.usageCount;let ae=W.get(T)??0;return ae+=I,ae>0?W.set(T,ae):W.delete(T),ae}ngOnDestroy(){for(const T of this.getAllStyles())this.onStyleRemoved(T);this.usageCount.clear()}}return he.\u0275fac=function(T){return new(T||he)},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})(),je=(()=>{class he extends ye{constructor(T){super(),this.doc=T,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(T){for(const I of this.hostNodes)this.addStyleToHost(I,T)}onStyleRemoved(T){const I=this.styleRef;I.get(T)?.forEach(ae=>ae.remove()),I.delete(T)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(T){this.hostNodes.add(T);for(const I of this.getAllStyles())this.addStyleToHost(T,I)}removeHost(T){this.hostNodes.delete(T)}addStyleToHost(T,I){const W=this.doc.createElement("style");W.textContent=I,T.appendChild(W);const ae=this.styleRef.get(I);ae?ae.push(W):this.styleRef.set(I,[W])}resetHostNodes(){const T=this.hostNodes;T.clear(),T.add(this.doc.head)}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(s.K0))},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})();const Ke={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/"},ze=/%COMP%/g,U="%COMP%",se=`_nghost-${U}`,q=`_ngcontent-${U}`,le=new d.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Ge(he,L){return L.flat(100).map(T=>T.replace(ze,he))}function bt(he){return L=>{if("__ngUnwrap__"===L)return he;!1===he(L)&&(L.preventDefault(),L.returnValue=!1)}}let st=(()=>{class he{constructor(T,I,W,ae){this.eventManager=T,this.sharedStylesHost=I,this.appId=W,this.removeStylesOnCompDestory=ae,this.rendererByCompId=new Map,this.defaultRenderer=new Oe(T)}createRenderer(T,I){if(!T||!I)return this.defaultRenderer;const W=this.getOrCreateRenderer(T,I);return W instanceof ot?W.applyToHost(T):W instanceof ft&&W.applyStyles(),W}getOrCreateRenderer(T,I){const W=this.rendererByCompId;let ae=W.get(I.id);if(!ae){const He=this.eventManager,Et=this.sharedStylesHost,qt=this.removeStylesOnCompDestory;switch(I.encapsulation){case d.ifc.Emulated:ae=new ot(He,Et,I,this.appId,qt);break;case d.ifc.ShadowDom:return new vt(He,Et,T,I);default:ae=new ft(He,Et,I,qt)}ae.onDestroy=()=>W.delete(I.id),W.set(I.id,ae)}return ae}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(Be),d.LFG(je),d.LFG(d.AFp),d.LFG(le))},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})();class Oe{constructor(L){this.eventManager=L,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(L,T){return T?document.createElementNS(Ke[T]||T,L):document.createElement(L)}createComment(L){return document.createComment(L)}createText(L){return document.createTextNode(L)}appendChild(L,T){(lt(L)?L.content:L).appendChild(T)}insertBefore(L,T,I){L&&(lt(L)?L.content:L).insertBefore(T,I)}removeChild(L,T){L&&L.removeChild(T)}selectRootElement(L,T){let I="string"==typeof L?document.querySelector(L):L;if(!I)throw new Error(`The selector "${L}" did not match any elements`);return T||(I.textContent=""),I}parentNode(L){return L.parentNode}nextSibling(L){return L.nextSibling}setAttribute(L,T,I,W){if(W){T=W+":"+T;const ae=Ke[W];ae?L.setAttributeNS(ae,T,I):L.setAttribute(T,I)}else L.setAttribute(T,I)}removeAttribute(L,T,I){if(I){const W=Ke[I];W?L.removeAttributeNS(W,T):L.removeAttribute(`${I}:${T}`)}else L.removeAttribute(T)}addClass(L,T){L.classList.add(T)}removeClass(L,T){L.classList.remove(T)}setStyle(L,T,I,W){W&(d.JOm.DashCase|d.JOm.Important)?L.style.setProperty(T,I,W&d.JOm.Important?"important":""):L.style[T]=I}removeStyle(L,T,I){I&d.JOm.DashCase?L.style.removeProperty(T):L.style[T]=""}setProperty(L,T,I){L[T]=I}setValue(L,T){L.nodeValue=T}listen(L,T,I){return"string"==typeof L?this.eventManager.addGlobalEventListener(L,T,bt(I)):this.eventManager.addEventListener(L,T,bt(I))}}function lt(he){return"TEMPLATE"===he.tagName&&void 0!==he.content}class vt extends Oe{constructor(L,T,I,W){super(L),this.sharedStylesHost=T,this.hostEl=I,this.shadowRoot=I.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ae=Ge(W.id,W.styles);for(const He of ae){const Et=document.createElement("style");Et.textContent=He,this.shadowRoot.appendChild(Et)}}nodeOrShadowRoot(L){return L===this.hostEl?this.shadowRoot:L}appendChild(L,T){return super.appendChild(this.nodeOrShadowRoot(L),T)}insertBefore(L,T,I){return super.insertBefore(this.nodeOrShadowRoot(L),T,I)}removeChild(L,T){return super.removeChild(this.nodeOrShadowRoot(L),T)}parentNode(L){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(L)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ft extends Oe{constructor(L,T,I,W,ae=I.id){super(L),this.sharedStylesHost=T,this.removeStylesOnCompDestory=W,this.rendererUsageCount=0,this.styles=Ge(ae,I.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class ot extends ft{constructor(L,T,I,W,ae){const He=W+"-"+I.id;super(L,T,I,ae,He),this.contentAttr=function ve(he){return q.replace(ze,he)}(He),this.hostAttr=function Ze(he){return se.replace(ze,he)}(He)}applyToHost(L){this.applyStyles(),this.setAttribute(L,this.hostAttr,"")}createElement(L,T){const I=super.createElement(L,T);return super.setAttribute(I,this.contentAttr,""),I}}let fe=(()=>{class he extends ke{constructor(T){super(T)}supports(T){return!0}addEventListener(T,I,W){return T.addEventListener(I,W,!1),()=>this.removeEventListener(T,I,W)}removeEventListener(T,I,W){return T.removeEventListener(I,W)}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(s.K0))},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})();const G=["alt","control","meta","shift"],w={"\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"},K={alt:he=>he.altKey,control:he=>he.ctrlKey,meta:he=>he.metaKey,shift:he=>he.shiftKey};let De=(()=>{class he extends ke{constructor(T){super(T)}supports(T){return null!=he.parseEventName(T)}addEventListener(T,I,W){const ae=he.parseEventName(I),He=he.eventCallback(ae.fullKey,W,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.q)().onAndCancel(T,ae.domEventName,He))}static parseEventName(T){const I=T.toLowerCase().split("."),W=I.shift();if(0===I.length||"keydown"!==W&&"keyup"!==W)return null;const ae=he._normalizeKey(I.pop());let He="",Et=I.indexOf("code");if(Et>-1&&(I.splice(Et,1),He="code."),G.forEach(oi=>{const ri=I.indexOf(oi);ri>-1&&(I.splice(ri,1),He+=oi+".")}),He+=ae,0!=I.length||0===ae.length)return null;const qt={};return qt.domEventName=W,qt.fullKey=He,qt}static matchEventFullKeyCode(T,I){let W=w[T.key]||T.key,ae="";return I.indexOf("code.")>-1&&(W=T.code,ae="code."),!(null==W||!W)&&(W=W.toLowerCase()," "===W?W="space":"."===W&&(W="dot"),G.forEach(He=>{He!==W&&(0,K[He])(T)&&(ae+=He+".")}),ae+=W,ae===I)}static eventCallback(T,I,W){return ae=>{he.matchEventFullKeyCode(ae,T)&&W.runGuarded(()=>I(ae))}}static _normalizeKey(T){return"esc"===T?"escape":T}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(s.K0))},he.\u0275prov=d.Yz7({token:he,factory:he.\u0275fac}),he})();const Pn=(0,d.eFA)(d._c5,"browser",[{provide:d.Lbi,useValue:s.bD},{provide:d.g9A,useValue:function hn(){$.makeCurrent()},multi:!0},{provide:s.K0,useFactory:function zt(){return(0,d.RDi)(document),document},deps:[]}]),ln=new d.OlP(""),yn=[{provide:d.rWj,useClass:class Y{addToWindow(L){d.dqk.getAngularTestability=(I,W=!0)=>{const ae=L.findTestabilityInTree(I,W);if(null==ae)throw new Error("Could not find testability for element.");return ae},d.dqk.getAllAngularTestabilities=()=>L.getAllTestabilities(),d.dqk.getAllAngularRootElements=()=>L.getAllRootElements(),d.dqk.frameworkStabilizers||(d.dqk.frameworkStabilizers=[]),d.dqk.frameworkStabilizers.push(I=>{const W=d.dqk.getAllAngularTestabilities();let ae=W.length,He=!1;const Et=function(qt){He=He||qt,ae--,0==ae&&I(He)};W.forEach(function(qt){qt.whenStable(Et)})})}findTestabilityInTree(L,T,I){return null==T?null:L.getTestability(T)??(I?(0,s.q)().isShadowRoot(T)?this.findTestabilityInTree(L,T.host,!0):this.findTestabilityInTree(L,T.parentElement,!0):null)}},deps:[]},{provide:d.lri,useClass:d.dDg,deps:[d.R0b,d.eoX,d.rWj]},{provide:d.dDg,useClass:d.dDg,deps:[d.R0b,d.eoX,d.rWj]}],Ne=[{provide:d.zSh,useValue:"root"},{provide:d.qLn,useFactory:function mn(){return new d.qLn},deps:[]},{provide:be,useClass:fe,multi:!0,deps:[s.K0,d.R0b,d.Lbi]},{provide:be,useClass:De,multi:!0,deps:[s.K0]},{provide:st,useClass:st,deps:[Be,je,d.AFp,le]},{provide:d.FYo,useExisting:st},{provide:ye,useExisting:je},{provide:je,useClass:je,deps:[s.K0]},{provide:Be,useClass:Be,deps:[be,d.R0b]},{provide:s.JF,useClass:Ae,deps:[]},[]];let V=(()=>{class he{constructor(T){}static withServerTransition(T){return{ngModule:he,providers:[{provide:d.AFp,useValue:T.appId},{provide:ne,useExisting:d.AFp},Z]}}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(ln,12))},he.\u0275mod=d.oAB({type:he}),he.\u0275inj=d.cJS({providers:[...Ne,...yn],imports:[s.ez,d.hGG]}),he})(),at=(()=>{class he{constructor(T){this._doc=T}getTitle(){return this._doc.title}setTitle(T){this._doc.title=T||""}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(s.K0))},he.\u0275prov=d.Yz7({token:he,factory:function(T){let I=null;return I=T?new T:function ct(){return new at((0,d.LFG)(s.K0))}(),I},providedIn:"root"}),he})();typeof window<"u"&&window;let Ce=(()=>{class he{}return he.\u0275fac=function(T){return new(T||he)},he.\u0275prov=d.Yz7({token:he,factory:function(T){let I=null;return I=T?new(T||he):d.LFG(Fe),I},providedIn:"root"}),he})(),Fe=(()=>{class he extends Ce{constructor(T){super(),this._doc=T}sanitize(T,I){if(null==I)return null;switch(T){case d.q3G.NONE:return I;case d.q3G.HTML:return(0,d.qzn)(I,"HTML")?(0,d.z3N)(I):(0,d.EiD)(this._doc,String(I)).toString();case d.q3G.STYLE:return(0,d.qzn)(I,"Style")?(0,d.z3N)(I):I;case d.q3G.SCRIPT:if((0,d.qzn)(I,"Script"))return(0,d.z3N)(I);throw new Error("unsafe value used in a script context");case d.q3G.URL:return(0,d.qzn)(I,"URL")?(0,d.z3N)(I):(0,d.mCW)(String(I));case d.q3G.RESOURCE_URL:if((0,d.qzn)(I,"ResourceURL"))return(0,d.z3N)(I);throw new Error(`unsafe value used in a resource URL context (see ${d.JZr})`);default:throw new Error(`Unexpected SecurityContext ${T} (see ${d.JZr})`)}}bypassSecurityTrustHtml(T){return(0,d.JVY)(T)}bypassSecurityTrustStyle(T){return(0,d.L6k)(T)}bypassSecurityTrustScript(T){return(0,d.eBb)(T)}bypassSecurityTrustUrl(T){return(0,d.LAX)(T)}bypassSecurityTrustResourceUrl(T){return(0,d.pB0)(T)}}return he.\u0275fac=function(T){return new(T||he)(d.LFG(s.K0))},he.\u0275prov=d.Yz7({token:he,factory:function(T){let I=null;return I=T?new T:function $e(he){return new Fe(he.get(s.K0))}(d.LFG(d.zs3)),I},providedIn:"root"}),he})()},9116:(yt,Ee,g)=>{g.d(Ee,{gz:()=>Li,m2:()=>An,OD:()=>Si,F0:()=>Pi,rH:()=>E,Od:()=>l,Bz:()=>Un,lC:()=>pn});var s=g(94650),d=g(88996),C=g(39646),$=g(61135),k=g(86805),ee=g(39841),ce=g(97272),J=g(49770),ne=g(89635),R=g(62843),Z=g(69751),Y=g(60515),Ae=g(94033),be=g(77579),Be=g(36895),ke=g(54004),ye=g(63900),je=g(95698),Ke=g(68675),ze=g(39300),xe=g(95577),U=g(50590),se=g(24351),q=g(18505),oe=g(70262),le=g(75026),ve=g(54482),Ze=g(25403);function Ge(h){return h<=0?()=>Y.E:(0,ve.e)((f,c)=>{let _=[];f.subscribe((0,Ze.x)(c,S=>{_.push(S),h<_.length&&_.shift()},()=>{for(const S of _)c.next(S);c.complete()},void 0,()=>{_=null}))})}var bt=g(18068),st=g(46590),Oe=g(44671);function Ye(h,f){const c=arguments.length>=2;return _=>_.pipe(h?(0,ze.h)((S,B)=>h(S,B,_)):Oe.y,Ge(1),c?(0,st.d)(f):(0,bt.T)(()=>new k.K))}var tt=g(22529),lt=g(69718),vt=g(28746),ft=g(38343),ot=g(8189),fe=g(11481);const G="primary",w=Symbol("RouteTitle");class K{constructor(f){this.params=f||{}}has(f){return Object.prototype.hasOwnProperty.call(this.params,f)}get(f){if(this.has(f)){const c=this.params[f];return Array.isArray(c)?c[0]:c}return null}getAll(f){if(this.has(f)){const c=this.params[f];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function De(h){return new K(h)}function et(h,f,c){const _=c.path.split("/");if(_.length>h.length||"full"===c.pathMatch&&(f.hasChildren()||_.length<h.length))return null;const S={};for(let B=0;B<_.length;B++){const X=_[B],Ue=h[B];if(X.startsWith(":"))S[X.substring(1)]=Ue;else if(X!==Ue.path)return null}return{consumed:h.slice(0,_.length),posParams:S}}function xt(h,f){const c=h?Object.keys(h):void 0,_=f?Object.keys(f):void 0;if(!c||!_||c.length!=_.length)return!1;let S;for(let B=0;B<c.length;B++)if(S=c[B],!Lt(h[S],f[S]))return!1;return!0}function Lt(h,f){if(Array.isArray(h)&&Array.isArray(f)){if(h.length!==f.length)return!1;const c=[...h].sort(),_=[...f].sort();return c.every((S,B)=>_[B]===S)}return h===f}function Kt(h){return Array.prototype.concat.apply([],h)}function hn(h){return h.length>0?h[h.length-1]:null}function zt(h,f){for(const c in h)h.hasOwnProperty(c)&&f(h[c],c)}function bn(h){return(0,s.CqO)(h)?h:(0,s.QGY)(h)?(0,d.D)(Promise.resolve(h)):(0,C.of)(h)}const Pn=!1,ln={exact:function de(h,f,c){if(!Le(h.segments,f.segments)||!at(h.segments,f.segments,c)||h.numberOfChildren!==f.numberOfChildren)return!1;for(const _ in f.children)if(!h.children[_]||!de(h.children[_],f.children[_],c))return!1;return!0},subset:Qe},yn={exact:function V(h,f){return xt(h,f)},subset:function Te(h,f){return Object.keys(f).length<=Object.keys(h).length&&Object.keys(f).every(c=>Lt(h[c],f[c]))},ignored:()=>!0};function Ne(h,f,c){return ln[c.paths](h.root,f.root,c.matrixParams)&&yn[c.queryParams](h.queryParams,f.queryParams)&&!("exact"===c.fragment&&h.fragment!==f.fragment)}function Qe(h,f,c){return ct(h,f,f.segments,c)}function ct(h,f,c,_){if(h.segments.length>c.length){const S=h.segments.slice(0,c.length);return!(!Le(S,c)||f.hasChildren()||!at(S,c,_))}if(h.segments.length===c.length){if(!Le(h.segments,c)||!at(h.segments,c,_))return!1;for(const S in f.children)if(!h.children[S]||!Qe(h.children[S],f.children[S],_))return!1;return!0}{const S=c.slice(0,h.segments.length),B=c.slice(h.segments.length);return!!(Le(h.segments,S)&&at(h.segments,S,_)&&h.children[G])&&ct(h.children[G],f,B,_)}}function at(h,f,c){return f.every((_,S)=>yn[c](h[S].parameters,_.parameters))}class pt{constructor(f=new _e([],{}),c={},_=null){this.root=f,this.queryParams=c,this.fragment=_}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=De(this.queryParams)),this._queryParamMap}toString(){return Ot.serialize(this)}}class _e{constructor(f,c){this.segments=f,this.children=c,this.parent=null,zt(c,(_,S)=>_.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return nn(this)}}class it{constructor(f,c){this.path=f,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=De(this.parameters)),this._parameterMap}toString(){return A(this)}}function Le(h,f){return h.length===f.length&&h.every((c,_)=>c.path===f[_].path)}let St=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:function(){return new Ht},providedIn:"root"}),h})();class Ht{parse(f){const c=new he(f);return new pt(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(f){const c=`/${jt(f.root,!0)}`,_=function Ie(h){const f=Object.keys(h).map(c=>{const _=h[c];return Array.isArray(_)?_.map(S=>`${Nn(c)}=${Nn(S)}`).join("&"):`${Nn(c)}=${Nn(_)}`}).filter(c=>!!c);return f.length?`?${f.join("&")}`:""}(f.queryParams);return`${c}${_}${"string"==typeof f.fragment?`#${function It(h){return encodeURI(h)}(f.fragment)}`:""}`}}const Ot=new Ht;function nn(h){return h.segments.map(f=>A(f)).join("/")}function jt(h,f){if(!h.hasChildren())return nn(h);if(f){const c=h.children[G]?jt(h.children[G],!1):"",_=[];return zt(h.children,(S,B)=>{B!==G&&_.push(`${B}:${jt(S,!1)}`)}),_.length>0?`${c}(${_.join("//")})`:c}{const c=function mt(h,f){let c=[];return zt(h.children,(_,S)=>{S===G&&(c=c.concat(f(_,S)))}),zt(h.children,(_,S)=>{S!==G&&(c=c.concat(f(_,S)))}),c}(h,(_,S)=>S===G?[jt(h.children[G],!1)]:[`${S}:${jt(_,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[G]?`${nn(h)}/${c[0]}`:`${nn(h)}/(${c.join("//")})`}}function xn(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nn(h){return xn(h).replace(/%3B/gi,";")}function ut(h){return xn(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function z(h){return decodeURIComponent(h)}function x(h){return z(h.replace(/\+/g,"%20"))}function A(h){return`${ut(h.path)}${function ie(h){return Object.keys(h).map(f=>`;${ut(f)}=${ut(h[f])}`).join("")}(h.parameters)}`}const te=/^[^\/()?;=#]+/;function re(h){const f=h.match(te);return f?f[0]:""}const Ce=/^[^=?&#]+/,Fe=/^[^&#]+/;class he{constructor(f){this.url=f,this.remaining=f}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _e([],{}):new _e([],this.parseChildren())}parseQueryParams(){const f={};if(this.consumeOptional("?"))do{this.parseQueryParam(f)}while(this.consumeOptional("&"));return f}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const f=[];for(this.peekStartsWith("(")||f.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),f.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let _={};return this.peekStartsWith("(")&&(_=this.parseParens(!1)),(f.length>0||Object.keys(c).length>0)&&(_[G]=new _e(f,c)),_}parseSegment(){const f=re(this.remaining);if(""===f&&this.peekStartsWith(";"))throw new s.vHH(4009,Pn);return this.capture(f),new it(z(f),this.parseMatrixParams())}parseMatrixParams(){const f={};for(;this.consumeOptional(";");)this.parseParam(f);return f}parseParam(f){const c=re(this.remaining);if(!c)return;this.capture(c);let _="";if(this.consumeOptional("=")){const S=re(this.remaining);S&&(_=S,this.capture(_))}f[z(c)]=z(_)}parseQueryParam(f){const c=function $e(h){const f=h.match(Ce);return f?f[0]:""}(this.remaining);if(!c)return;this.capture(c);let _="";if(this.consumeOptional("=")){const X=function wt(h){const f=h.match(Fe);return f?f[0]:""}(this.remaining);X&&(_=X,this.capture(_))}const S=x(c),B=x(_);if(f.hasOwnProperty(S)){let X=f[S];Array.isArray(X)||(X=[X],f[S]=X),X.push(B)}else f[S]=B}parseParens(f){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=re(this.remaining),S=this.remaining[_.length];if("/"!==S&&")"!==S&&";"!==S)throw new s.vHH(4010,Pn);let B;_.indexOf(":")>-1?(B=_.slice(0,_.indexOf(":")),this.capture(B),this.capture(":")):f&&(B=G);const X=this.parseChildren();c[B]=1===Object.keys(X).length?X[G]:new _e([],X),this.consumeOptional("//")}return c}peekStartsWith(f){return this.remaining.startsWith(f)}consumeOptional(f){return!!this.peekStartsWith(f)&&(this.remaining=this.remaining.substring(f.length),!0)}capture(f){if(!this.consumeOptional(f))throw new s.vHH(4011,Pn)}}function L(h){return h.segments.length>0?new _e([],{[G]:h}):h}function T(h){const f={};for(const _ of Object.keys(h.children)){const B=T(h.children[_]);(B.segments.length>0||B.hasChildren())&&(f[_]=B)}return function I(h){if(1===h.numberOfChildren&&h.children[G]){const f=h.children[G];return new _e(h.segments.concat(f.segments),f.children)}return h}(new _e(h.segments,f))}function W(h){return h instanceof pt}const ae=!1;function oi(h,f,c,_,S){if(0===c.length)return yi(f.root,f.root,f.root,_,S);const B=function fr(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new hr(!0,0,h);let f=0,c=!1;const _=h.reduce((S,B,X)=>{if("object"==typeof B&&null!=B){if(B.outlets){const Ue={};return zt(B.outlets,(dt,Ft)=>{Ue[Ft]="string"==typeof dt?dt.split("/"):dt}),[...S,{outlets:Ue}]}if(B.segmentPath)return[...S,B.segmentPath]}return"string"!=typeof B?[...S,B]:0===X?(B.split("/").forEach((Ue,dt)=>{0==dt&&"."===Ue||(0==dt&&""===Ue?c=!0:".."===Ue?f++:""!=Ue&&S.push(Ue))}),S):[...S,B]},[]);return new hr(c,f,_)}(c);return B.toRoot()?yi(f.root,f.root,new _e([],{}),_,S):function X(dt){const Ft=function Xn(h,f,c,_){if(h.isAbsolute)return new ji(f.root,!0,0);if(-1===_)return new ji(c,c===f.root,0);return function si(h,f,c){let _=h,S=f,B=c;for(;B>S;){if(B-=S,_=_.parent,!_)throw new s.vHH(4005,ae&&"Invalid number of '../'");S=_.segments.length}return new ji(_,!1,S-B)}(c,_+(ri(h.commands[0])?0:1),h.numberOfDoubleDots)}(B,f,h.snapshot?._urlSegment,dt),Bt=Ft.processChildren?Wn(Ft.segmentGroup,Ft.index,B.commands):vi(Ft.segmentGroup,Ft.index,B.commands);return yi(f.root,Ft.segmentGroup,Bt,_,S)}(h.snapshot?._lastPathIndex)}function ri(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function Ji(h){return"object"==typeof h&&null!=h&&h.outlets}function yi(h,f,c,_,S){let X,B={};_&&zt(_,(dt,Ft)=>{B[Ft]=Array.isArray(dt)?dt.map(Bt=>`${Bt}`):`${dt}`}),X=h===f?c:gi(h,f,c);const Ue=L(T(X));return new pt(Ue,B,S)}function gi(h,f,c){const _={};return zt(h.children,(S,B)=>{_[B]=S===f?c:gi(S,f,c)}),new _e(h.segments,_)}class hr{constructor(f,c,_){if(this.isAbsolute=f,this.numberOfDoubleDots=c,this.commands=_,f&&_.length>0&&ri(_[0]))throw new s.vHH(4003,ae&&"Root segment cannot have matrix parameters");const S=_.find(Ji);if(S&&S!==hn(_))throw new s.vHH(4004,ae&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ji{constructor(f,c,_){this.segmentGroup=f,this.processChildren=c,this.index=_}}function vi(h,f,c){if(h||(h=new _e([],{})),0===h.segments.length&&h.hasChildren())return Wn(h,f,c);const _=function Cr(h,f,c){let _=0,S=f;const B={match:!1,pathIndex:0,commandIndex:0};for(;S<h.segments.length;){if(_>=c.length)return B;const X=h.segments[S],Ue=c[_];if(Ji(Ue))break;const dt=`${Ue}`,Ft=_<c.length-1?c[_+1]:null;if(S>0&&void 0===dt)break;if(dt&&Ft&&"object"==typeof Ft&&void 0===Ft.outlets){if(!tn(dt,Ft,X))return B;_+=2}else{if(!tn(dt,{},X))return B;_++}S++}return{match:!0,pathIndex:S,commandIndex:_}}(h,f,c),S=c.slice(_.commandIndex);if(_.match&&_.pathIndex<h.segments.length){const B=new _e(h.segments.slice(0,_.pathIndex),{});return B.children[G]=new _e(h.segments.slice(_.pathIndex),h.children),Wn(B,0,S)}return _.match&&0===S.length?new _e(h.segments,{}):_.match&&!h.hasChildren()?Yi(h,f,c):_.match?Wn(h,0,S):Yi(h,f,c)}function Wn(h,f,c){if(0===c.length)return new _e(h.segments,{});{const _=function er(h){return Ji(h[0])?h[0].outlets:{[G]:h}}(c),S={};return!_[G]&&h.children[G]&&1===h.numberOfChildren&&0===h.children[G].segments.length?Wn(h.children[G],f,c):(zt(_,(B,X)=>{"string"==typeof B&&(B=[B]),null!==B&&(S[X]=vi(h.children[X],f,B))}),zt(h.children,(B,X)=>{void 0===_[X]&&(S[X]=B)}),new _e(h.segments,S))}}function Yi(h,f,c){const _=h.segments.slice(0,f);let S=0;for(;S<c.length;){const B=c[S];if(Ji(B)){const dt=Ri(B.outlets);return new _e(_,dt)}if(0===S&&ri(c[0])){_.push(new it(h.segments[f].path,kt(c[0]))),S++;continue}const X=Ji(B)?B.outlets[G]:`${B}`,Ue=S<c.length-1?c[S+1]:null;X&&Ue&&ri(Ue)?(_.push(new it(X,kt(Ue))),S+=2):(_.push(new it(X,{})),S++)}return new _e(_,{})}function Ri(h){const f={};return zt(h,(c,_)=>{"string"==typeof c&&(c=[c]),null!==c&&(f[_]=Yi(new _e([],{}),0,c))}),f}function kt(h){const f={};return zt(h,(c,_)=>f[_]=`${c}`),f}function tn(h,f,c){return h==c.path&&xt(f,c.parameters)}const In="imperative";class Kn{constructor(f,c){this.id=f,this.url=c}}class Si extends Kn{constructor(f,c,_="imperative",S=null){super(f,c),this.type=0,this.navigationTrigger=_,this.restoredState=S}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class An extends Kn{constructor(f,c,_){super(f,c),this.urlAfterRedirects=_,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ai extends Kn{constructor(f,c,_,S){super(f,c),this.reason=_,this.code=S,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Rn extends Kn{constructor(f,c,_,S){super(f,c),this.reason=_,this.code=S,this.type=16}}class ki extends Kn{constructor(f,c,_,S){super(f,c),this.error=_,this.target=S,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Mo extends Kn{constructor(f,c,_,S){super(f,c),this.urlAfterRedirects=_,this.state=S,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fn extends Kn{constructor(f,c,_,S){super(f,c),this.urlAfterRedirects=_,this.state=S,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class so extends Kn{constructor(f,c,_,S,B){super(f,c),this.urlAfterRedirects=_,this.state=S,this.shouldActivate=B,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class wr extends Kn{constructor(f,c,_,S){super(f,c),this.urlAfterRedirects=_,this.state=S,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bi extends Kn{constructor(f,c,_,S){super(f,c),this.urlAfterRedirects=_,this.state=S,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pr{constructor(f){this.route=f,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class di{constructor(f){this.route=f,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Zi{constructor(f){this.snapshot=f,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mr{constructor(f){this.snapshot=f,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fi{constructor(f){this.snapshot=f,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nr{constructor(f){this.snapshot=f,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ao{constructor(f,c,_){this.routerEvent=f,this.position=c,this.anchor=_,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let To=(()=>{class h{createUrlTree(c,_,S,B,X,Ue){return oi(c||_.root,S,B,X,Ue)}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac}),h})(),ir=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:function(f){return To.\u0275fac(f)},providedIn:"root"}),h})();class Di{constructor(f){this._root=f}get root(){return this._root.value}parent(f){const c=this.pathFromRoot(f);return c.length>1?c[c.length-2]:null}children(f){const c=rr(f,this._root);return c?c.children.map(_=>_.value):[]}firstChild(f){const c=rr(f,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(f){const c=hi(f,this._root);return c.length<2?[]:c[c.length-2].children.map(S=>S.value).filter(S=>S!==f)}pathFromRoot(f){return hi(f,this._root).map(c=>c.value)}}function rr(h,f){if(h===f.value)return f;for(const c of f.children){const _=rr(h,c);if(_)return _}return null}function hi(h,f){if(h===f.value)return[f];for(const c of f.children){const _=hi(h,c);if(_.length)return _.unshift(f),_}return[]}class gr{constructor(f,c){this.value=f,this.children=c}toString(){return`TreeNode(${this.value})`}}function li(h){const f={};return h&&h.children.forEach(c=>f[c.value.outlet]=c),f}class Ii extends Di{constructor(f,c){super(f),this.snapshot=c,Gr(this,f)}toString(){return this.snapshot.toString()}}function So(h,f){const c=function lo(h,f){const X=new Wr([],{},{},"",{},G,f,null,h.root,-1,{});return new Io("",new gr(X,[]))}(h,f),_=new $.X([new it("",{})]),S=new $.X({}),B=new $.X({}),X=new $.X({}),Ue=new $.X(""),dt=new Li(_,S,X,Ue,B,G,f,c.root);return dt.snapshot=c.root,new Ii(new gr(dt,[]),c)}class Li{constructor(f,c,_,S,B,X,Ue,dt){this.url=f,this.params=c,this.queryParams=_,this.fragment=S,this.data=B,this.outlet=X,this.component=Ue,this.title=this.data?.pipe((0,ke.U)(Ft=>Ft[w]))??(0,C.of)(void 0),this._futureSnapshot=dt}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,ke.U)(f=>De(f)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ke.U)(f=>De(f)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ni(h,f="emptyOnly"){const c=h.pathFromRoot;let _=0;if("always"!==f)for(_=c.length-1;_>=1;){const S=c[_],B=c[_-1];if(S.routeConfig&&""===S.routeConfig.path)_--;else{if(B.component)break;_--}}return function Fr(h){return h.reduce((f,c)=>({params:{...f.params,...c.params},data:{...f.data,...c.data},resolve:{...c.data,...f.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(_))}class Wr{get title(){return this.data?.[w]}constructor(f,c,_,S,B,X,Ue,dt,Ft,Bt,$n){this.url=f,this.params=c,this.queryParams=_,this.fragment=S,this.data=B,this.outlet=X,this.component=Ue,this.routeConfig=dt,this._urlSegment=Ft,this._lastPathIndex=Bt,this._resolve=$n}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=De(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=De(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(_=>_.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Io extends Di{constructor(f,c){super(c),this.url=f,Gr(this,c)}toString(){return jo(this._root)}}function Gr(h,f){f.value._routerState=h,f.children.forEach(c=>Gr(h,c))}function jo(h){const f=h.children.length>0?` { ${h.children.map(jo).join(", ")} } `:"";return`${h.value}${f}`}function Kr(h){if(h.snapshot){const f=h.snapshot,c=h._futureSnapshot;h.snapshot=c,xt(f.queryParams,c.queryParams)||h.queryParams.next(c.queryParams),f.fragment!==c.fragment&&h.fragment.next(c.fragment),xt(f.params,c.params)||h.params.next(c.params),function Mt(h,f){if(h.length!==f.length)return!1;for(let c=0;c<h.length;++c)if(!xt(h[c],f[c]))return!1;return!0}(f.url,c.url)||h.url.next(c.url),xt(f.data,c.data)||h.data.next(c.data)}else h.snapshot=h._futureSnapshot,h.data.next(h._futureSnapshot.data)}function co(h,f){const c=xt(h.params,f.params)&&function ge(h,f){return Le(h,f)&&h.every((c,_)=>xt(c.parameters,f[_].parameters))}(h.url,f.url);return c&&!(!h.parent!=!f.parent)&&(!h.parent||co(h.parent,f.parent))}function Lr(h,f,c){if(c&&h.shouldReuseRoute(f.value,c.value.snapshot)){const _=c.value;_._futureSnapshot=f.value;const S=function Yr(h,f,c){return f.children.map(_=>{for(const S of c.children)if(h.shouldReuseRoute(_.value,S.value.snapshot))return Lr(h,_,S);return Lr(h,_)})}(h,f,c);return new gr(_,S)}{if(h.shouldAttach(f.value)){const B=h.retrieve(f.value);if(null!==B){const X=B.route;return X.value._futureSnapshot=f.value,X.children=f.children.map(Ue=>Lr(h,Ue)),X}}const _=function mr(h){return new Li(new $.X(h.url),new $.X(h.params),new $.X(h.queryParams),new $.X(h.fragment),new $.X(h.data),h.outlet,h.component,h)}(f.value),S=f.children.map(B=>Lr(h,B));return new gr(_,S)}}const Se="ngNavigationCancelingError";function Pe(h,f){const{redirectTo:c,navigationBehaviorOptions:_}=W(f)?{redirectTo:f,navigationBehaviorOptions:void 0}:f,S=We(!1,0,f);return S.url=c,S.navigationBehaviorOptions=_,S}function We(h,f,c){const _=new Error("NavigationCancelingError: "+(h||""));return _[Se]=!0,_.cancellationCode=f,c&&(_.url=c),_}function ht(h){return At(h)&&W(h.url)}function At(h){return h&&h[Se]}class Vt{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Zt,this.attachRef=null}}let Zt=(()=>{class h{constructor(){this.contexts=new Map}onChildOutletCreated(c,_){const S=this.getOrCreateContext(c);S.outlet=_,this.contexts.set(c,S)}onChildOutletDestroyed(c){const _=this.getContext(c);_&&(_.outlet=null,_.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let _=this.getContext(c);return _||(_=new Vt,this.contexts.set(c,_)),_}getContext(c){return this.contexts.get(c)||null}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const Bn=!1;let pn=(()=>{class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=G,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)(Zt),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb)}ngOnChanges(c){if(c.name){const{firstChange:_,previousValue:S}=c.name;if(_)return;this.isTrackedInParentContexts(S)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(S)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}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,Bn);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,Bn);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,Bn);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,_){this.activated=c,this._activatedRoute=_,this.location.insert(c.hostView),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,_){if(this.isActivated)throw new s.vHH(4013,Bn);this._activatedRoute=c;const S=this.location,X=c.snapshot.component,Ue=this.parentContexts.getOrCreateContext(this.name).children,dt=new _r(c,Ue,S.injector);if(_&&function kn(h){return!!h.resolveComponentFactory}(_)){const Ft=_.resolveComponentFactory(X);this.activated=S.createComponent(Ft,S.length,dt)}else this.activated=S.createComponent(X,{index:S.length,injector:dt,environmentInjector:_??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275dir=s.lG2({type:h,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[s.TTD]}),h})();class _r{constructor(f,c,_){this.route=f,this.childContexts=c,this.parent=_}get(f,c){return f===Li?this.route:f===Zt?this.childContexts:this.parent.get(f,c)}}let fi=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275cmp=s.Xpm({type:h,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(c,_){1&c&&s._UZ(0,"router-outlet")},dependencies:[pn],encapsulation:2}),h})();function Qi(h,f){return h.providers&&!h._injector&&(h._injector=(0,s.MMx)(h.providers,f,`Route: ${h.path}`)),h._injector??f}function gn(h){const f=h.children&&h.children.map(gn),c=f?{...h,children:f}:{...h};return!c.component&&!c.loadComponent&&(f||c.loadChildren)&&c.outlet&&c.outlet!==G&&(c.component=fi),c}function qn(h){return h.outlet||G}function Xr(h,f){const c=h.filter(_=>qn(_)===f);return c.push(...h.filter(_=>qn(_)!==f)),c}function Mn(h){if(!h)return null;if(h.routeConfig?._injector)return h.routeConfig._injector;for(let f=h.parent;f;f=f.parent){const c=f.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class Ir{constructor(f,c,_,S){this.routeReuseStrategy=f,this.futureState=c,this.currState=_,this.forwardEvent=S}activate(f){const c=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,_,f),Kr(this.futureState.root),this.activateChildRoutes(c,_,f)}deactivateChildRoutes(f,c,_){const S=li(c);f.children.forEach(B=>{const X=B.value.outlet;this.deactivateRoutes(B,S[X],_),delete S[X]}),zt(S,(B,X)=>{this.deactivateRouteAndItsChildren(B,_)})}deactivateRoutes(f,c,_){const S=f.value,B=c?c.value:null;if(S===B)if(S.component){const X=_.getContext(S.outlet);X&&this.deactivateChildRoutes(f,c,X.children)}else this.deactivateChildRoutes(f,c,_);else B&&this.deactivateRouteAndItsChildren(c,_)}deactivateRouteAndItsChildren(f,c){f.value.component&&this.routeReuseStrategy.shouldDetach(f.value.snapshot)?this.detachAndStoreRouteSubtree(f,c):this.deactivateRouteAndOutlet(f,c)}detachAndStoreRouteSubtree(f,c){const _=c.getContext(f.value.outlet),S=_&&f.value.component?_.children:c,B=li(f);for(const X of Object.keys(B))this.deactivateRouteAndItsChildren(B[X],S);if(_&&_.outlet){const X=_.outlet.detach(),Ue=_.children.onOutletDeactivated();this.routeReuseStrategy.store(f.value.snapshot,{componentRef:X,route:f,contexts:Ue})}}deactivateRouteAndOutlet(f,c){const _=c.getContext(f.value.outlet),S=_&&f.value.component?_.children:c,B=li(f);for(const X of Object.keys(B))this.deactivateRouteAndItsChildren(B[X],S);_&&_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated(),_.attachRef=null,_.resolver=null,_.route=null)}activateChildRoutes(f,c,_){const S=li(c);f.children.forEach(B=>{this.activateRoutes(B,S[B.value.outlet],_),this.forwardEvent(new nr(B.value.snapshot))}),f.children.length&&this.forwardEvent(new Mr(f.value.snapshot))}activateRoutes(f,c,_){const S=f.value,B=c?c.value:null;if(Kr(S),S===B)if(S.component){const X=_.getOrCreateContext(S.outlet);this.activateChildRoutes(f,c,X.children)}else this.activateChildRoutes(f,c,_);else if(S.component){const X=_.getOrCreateContext(S.outlet);if(this.routeReuseStrategy.shouldAttach(S.snapshot)){const Ue=this.routeReuseStrategy.retrieve(S.snapshot);this.routeReuseStrategy.store(S.snapshot,null),X.children.onOutletReAttached(Ue.contexts),X.attachRef=Ue.componentRef,X.route=Ue.route.value,X.outlet&&X.outlet.attach(Ue.componentRef,Ue.route.value),Kr(Ue.route.value),this.activateChildRoutes(f,null,X.children)}else{const Ue=Mn(S.snapshot),dt=Ue?.get(s._Vd)??null;X.attachRef=null,X.route=S,X.resolver=dt,X.injector=Ue,X.outlet&&X.outlet.activateWith(S,X.injector),this.activateChildRoutes(f,null,X.children)}}else this.activateChildRoutes(f,null,_)}}class Ei{constructor(f){this.path=f,this.route=this.path[this.path.length-1]}}class Nr{constructor(f,c){this.component=f,this.route=c}}function Ho(h,f,c){const _=h._root;return ho(_,f?f._root:null,c,[_.value])}function Jn(h,f){const c=Symbol(),_=f.get(h,c);return _===c?"function"!=typeof h||(0,s.Z0I)(h)?f.get(h):h:_}function ho(h,f,c,_,S={canDeactivateChecks:[],canActivateChecks:[]}){const B=li(f);return h.children.forEach(X=>{(function Ao(h,f,c,_,S={canDeactivateChecks:[],canActivateChecks:[]}){const B=h.value,X=f?f.value:null,Ue=c?c.getContext(h.value.outlet):null;if(X&&B.routeConfig===X.routeConfig){const dt=function Oo(h,f,c){if("function"==typeof c)return c(h,f);switch(c){case"pathParamsChange":return!Le(h.url,f.url);case"pathParamsOrQueryParamsChange":return!Le(h.url,f.url)||!xt(h.queryParams,f.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!co(h,f)||!xt(h.queryParams,f.queryParams);default:return!co(h,f)}}(X,B,B.routeConfig.runGuardsAndResolvers);dt?S.canActivateChecks.push(new Ei(_)):(B.data=X.data,B._resolvedData=X._resolvedData),ho(h,f,B.component?Ue?Ue.children:null:c,_,S),dt&&Ue&&Ue.outlet&&Ue.outlet.isActivated&&S.canDeactivateChecks.push(new Nr(Ue.outlet.component,X))}else X&&Hi(f,Ue,S),S.canActivateChecks.push(new Ei(_)),ho(h,null,B.component?Ue?Ue.children:null:c,_,S)})(X,B[X.value.outlet],c,_.concat([X.value]),S),delete B[X.value.outlet]}),zt(B,(X,Ue)=>Hi(X,c.getContext(Ue),S)),S}function Hi(h,f,c){const _=li(h),S=h.value;zt(_,(B,X)=>{Hi(B,S.component?f?f.children.getContext(X):null:f,c)}),c.canDeactivateChecks.push(new Nr(S.component&&f&&f.outlet&&f.outlet.isActivated?f.outlet.component:null,S))}function Dr(h){return"function"==typeof h}function Wo(h){return h instanceof k.K||"EmptyError"===h?.name}const Gn=Symbol("INITIAL_VALUE");function Dt(){return(0,ye.w)(h=>(0,ee.a)(h.map(f=>f.pipe((0,je.q)(1),(0,Ke.O)(Gn)))).pipe((0,ke.U)(f=>{for(const c of f)if(!0!==c){if(c===Gn)return Gn;if(!1===c||c instanceof pt)return c}return!0}),(0,ze.h)(f=>f!==Gn),(0,je.q)(1)))}function cs(h){return(0,ne.z)((0,q.b)(f=>{if(W(f))throw Pe(0,f)}),(0,ke.U)(f=>!0===f))}const Ro={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ei(h,f,c,_,S){const B=Ai(h,f,c);return B.matched?function Ms(h,f,c,_){const S=f.canMatch;if(!S||0===S.length)return(0,C.of)(!0);const B=S.map(X=>{const Ue=Jn(X,h);return bn(function Po(h){return h&&Dr(h.canMatch)}(Ue)?Ue.canMatch(f,c):h.runInContext(()=>Ue(f,c)))});return(0,C.of)(B).pipe(Dt(),cs())}(_=Qi(f,_),f,c).pipe((0,ke.U)(X=>!0===X?B:{...Ro})):(0,C.of)(B)}function Ai(h,f,c){if(""===f.path)return"full"===f.pathMatch&&(h.hasChildren()||c.length>0)?{...Ro}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const S=(f.matcher||et)(c,h,f);if(!S)return{...Ro};const B={};zt(S.posParams,(Ue,dt)=>{B[dt]=Ue.path});const X=S.consumed.length>0?{...B,...S.consumed[S.consumed.length-1].parameters}:B;return{matched:!0,consumedSegments:S.consumed,remainingSegments:c.slice(S.consumed.length),parameters:X,positionalParamSegments:S.posParams??{}}}function qr(h,f,c,_){if(c.length>0&&function fo(h,f,c){return c.some(_=>Fo(h,f,_)&&qn(_)!==G)}(h,c,_)){const B=new _e(f,function sr(h,f,c,_){const S={};S[G]=_,_._sourceSegment=h,_._segmentIndexShift=f.length;for(const B of c)if(""===B.path&&qn(B)!==G){const X=new _e([],{});X._sourceSegment=h,X._segmentIndexShift=f.length,S[qn(B)]=X}return S}(h,f,_,new _e(c,h.children)));return B._sourceSegment=h,B._segmentIndexShift=f.length,{segmentGroup:B,slicedSegments:[]}}if(0===c.length&&function ko(h,f,c){return c.some(_=>Fo(h,f,_))}(h,c,_)){const B=new _e(h.segments,function Jr(h,f,c,_,S){const B={};for(const X of _)if(Fo(h,c,X)&&!S[qn(X)]){const Ue=new _e([],{});Ue._sourceSegment=h,Ue._segmentIndexShift=f.length,B[qn(X)]=Ue}return{...S,...B}}(h,f,c,_,h.children));return B._sourceSegment=h,B._segmentIndexShift=f.length,{segmentGroup:B,slicedSegments:c}}const S=new _e(h.segments,h.children);return S._sourceSegment=h,S._segmentIndexShift=f.length,{segmentGroup:S,slicedSegments:c}}function Fo(h,f,c){return(!(h.hasChildren()||f.length>0)||"full"!==c.pathMatch)&&""===c.path}function us(h,f,c,_){return!!(qn(h)===_||_!==G&&Fo(f,c,h))&&("**"===h.path||Ai(f,h,c).matched)}function eo(h,f,c){return 0===f.length&&!h.children[c]}const po=!1;class to{constructor(f){this.segmentGroup=f||null}}class go{constructor(f){this.urlTree=f}}function Lo(h){return(0,R._)(new to(h))}function mo(h){return(0,R._)(new go(h))}class Yo{constructor(f,c,_,S,B){this.injector=f,this.configLoader=c,this.urlSerializer=_,this.urlTree=S,this.config=B,this.allowRedirects=!0}apply(){const f=qr(this.urlTree.root,[],[],this.config).segmentGroup,c=new _e(f.segments,f.children);return this.expandSegmentGroup(this.injector,this.config,c,G).pipe((0,ke.U)(B=>this.createUrlTree(T(B),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,oe.K)(B=>{if(B instanceof go)return this.allowRedirects=!1,this.match(B.urlTree);throw B instanceof to?this.noMatchError(B):B}))}match(f){return this.expandSegmentGroup(this.injector,this.config,f.root,G).pipe((0,ke.U)(S=>this.createUrlTree(T(S),f.queryParams,f.fragment))).pipe((0,oe.K)(S=>{throw S instanceof to?this.noMatchError(S):S}))}noMatchError(f){return new s.vHH(4002,po)}createUrlTree(f,c,_){const S=L(f);return new pt(S,c,_)}expandSegmentGroup(f,c,_,S){return 0===_.segments.length&&_.hasChildren()?this.expandChildren(f,c,_).pipe((0,ke.U)(B=>new _e([],B))):this.expandSegment(f,_,c,_.segments,S,!0)}expandChildren(f,c,_){const S=[];for(const B of Object.keys(_.children))"primary"===B?S.unshift(B):S.push(B);return(0,d.D)(S).pipe((0,se.b)(B=>{const X=_.children[B],Ue=Xr(c,B);return this.expandSegmentGroup(f,Ue,X,B).pipe((0,ke.U)(dt=>({segment:dt,outlet:B})))}),(0,le.R)((B,X)=>(B[X.outlet]=X.segment,B),{}),Ye())}expandSegment(f,c,_,S,B,X){return(0,d.D)(_).pipe((0,se.b)(Ue=>this.expandSegmentAgainstRoute(f,c,_,Ue,S,B,X).pipe((0,oe.K)(Ft=>{if(Ft instanceof to)return(0,C.of)(null);throw Ft}))),(0,U.P)(Ue=>!!Ue),(0,oe.K)((Ue,dt)=>{if(Wo(Ue))return eo(c,S,B)?(0,C.of)(new _e([],{})):Lo(c);throw Ue}))}expandSegmentAgainstRoute(f,c,_,S,B,X,Ue){return us(S,c,B,X)?void 0===S.redirectTo?this.matchSegmentAgainstRoute(f,c,S,B,X):Ue&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(f,c,_,S,B,X):Lo(c):Lo(c)}expandSegmentAgainstRouteUsingRedirect(f,c,_,S,B,X){return"**"===S.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(f,_,S,X):this.expandRegularSegmentAgainstRouteUsingRedirect(f,c,_,S,B,X)}expandWildCardWithParamsAgainstRouteUsingRedirect(f,c,_,S){const B=this.applyRedirectCommands([],_.redirectTo,{});return _.redirectTo.startsWith("/")?mo(B):this.lineralizeSegments(_,B).pipe((0,xe.z)(X=>{const Ue=new _e(X,{});return this.expandSegment(f,Ue,c,X,S,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(f,c,_,S,B,X){const{matched:Ue,consumedSegments:dt,remainingSegments:Ft,positionalParamSegments:Bt}=Ai(c,S,B);if(!Ue)return Lo(c);const $n=this.applyRedirectCommands(dt,S.redirectTo,Bt);return S.redirectTo.startsWith("/")?mo($n):this.lineralizeSegments(S,$n).pipe((0,xe.z)(xi=>this.expandSegment(f,c,_,xi.concat(Ft),X,!1)))}matchSegmentAgainstRoute(f,c,_,S,B){return"**"===_.path?(f=Qi(_,f),_.loadChildren?(_._loadedRoutes?(0,C.of)({routes:_._loadedRoutes,injector:_._loadedInjector}):this.configLoader.loadChildren(f,_)).pipe((0,ke.U)(Ue=>(_._loadedRoutes=Ue.routes,_._loadedInjector=Ue.injector,new _e(S,{})))):(0,C.of)(new _e(S,{}))):ei(c,_,S,f).pipe((0,ye.w)(({matched:X,consumedSegments:Ue,remainingSegments:dt})=>X?this.getChildConfig(f=_._injector??f,_,S).pipe((0,xe.z)(Bt=>{const $n=Bt.injector??f,xi=Bt.routes,{segmentGroup:ur,slicedSegments:Eo}=qr(c,Ue,dt,xi),Er=new _e(ur.segments,ur.children);if(0===Eo.length&&Er.hasChildren())return this.expandChildren($n,xi,Er).pipe((0,ke.U)(zs=>new _e(Ue,zs)));if(0===xi.length&&0===Eo.length)return(0,C.of)(new _e(Ue,{}));const io=qn(_)===B;return this.expandSegment($n,Er,xi,Eo,io?G:B,!0).pipe((0,ke.U)(Hs=>new _e(Ue.concat(Hs.segments),Hs.children)))})):Lo(c)))}getChildConfig(f,c,_){return c.children?(0,C.of)({routes:c.children,injector:f}):c.loadChildren?void 0!==c._loadedRoutes?(0,C.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function xo(h,f,c,_){const S=f.canLoad;if(void 0===S||0===S.length)return(0,C.of)(!0);const B=S.map(X=>{const Ue=Jn(X,h);return bn(function Qt(h){return h&&Dr(h.canLoad)}(Ue)?Ue.canLoad(f,c):h.runInContext(()=>Ue(f,c)))});return(0,C.of)(B).pipe(Dt(),cs())}(f,c,_).pipe((0,xe.z)(S=>S?this.configLoader.loadChildren(f,c).pipe((0,q.b)(B=>{c._loadedRoutes=B.routes,c._loadedInjector=B.injector})):function Ns(h){return(0,R._)(We(po,3))}())):(0,C.of)({routes:[],injector:f})}lineralizeSegments(f,c){let _=[],S=c.root;for(;;){if(_=_.concat(S.segments),0===S.numberOfChildren)return(0,C.of)(_);if(S.numberOfChildren>1||!S.children[G])return f.redirectTo,(0,R._)(new s.vHH(4e3,po));S=S.children[G]}}applyRedirectCommands(f,c,_){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),f,_)}applyRedirectCreateUrlTree(f,c,_,S){const B=this.createSegmentGroup(f,c.root,_,S);return new pt(B,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(f,c){const _={};return zt(f,(S,B)=>{if("string"==typeof S&&S.startsWith(":")){const Ue=S.substring(1);_[B]=c[Ue]}else _[B]=S}),_}createSegmentGroup(f,c,_,S){const B=this.createSegments(f,c.segments,_,S);let X={};return zt(c.children,(Ue,dt)=>{X[dt]=this.createSegmentGroup(f,Ue,_,S)}),new _e(B,X)}createSegments(f,c,_,S){return c.map(B=>B.path.startsWith(":")?this.findPosParam(f,B,S):this.findOrReturn(B,_))}findPosParam(f,c,_){const S=_[c.path.substring(1)];if(!S)throw new s.vHH(4001,po);return S}findOrReturn(f,c){let _=0;for(const S of c){if(S.path===f.path)return c.splice(_),S;_++}return f}}class Qo{}class no{constructor(f,c,_,S,B,X,Ue){this.injector=f,this.rootComponentType=c,this.config=_,this.urlTree=S,this.url=B,this.paramsInheritanceStrategy=X,this.urlSerializer=Ue}recognize(){const f=qr(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,f,G).pipe((0,ke.U)(c=>{if(null===c)return null;const _=new Wr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},G,this.rootComponentType,null,this.urlTree.root,-1,{}),S=new gr(_,c),B=new Io(this.url,S);return this.inheritParamsAndData(B._root),B}))}inheritParamsAndData(f){const c=f.value,_=Ni(c,this.paramsInheritanceStrategy);c.params=Object.freeze(_.params),c.data=Object.freeze(_.data),f.children.forEach(S=>this.inheritParamsAndData(S))}processSegmentGroup(f,c,_,S){return 0===_.segments.length&&_.hasChildren()?this.processChildren(f,c,_):this.processSegment(f,c,_,_.segments,S)}processChildren(f,c,_){return(0,d.D)(Object.keys(_.children)).pipe((0,se.b)(S=>{const B=_.children[S],X=Xr(c,S);return this.processSegmentGroup(f,X,B,S)}),(0,le.R)((S,B)=>S&&B?(S.push(...B),S):null),(0,tt.o)(S=>null!==S),(0,st.d)(null),Ye(),(0,ke.U)(S=>{if(null===S)return null;const B=Xo(S);return function ti(h){h.sort((f,c)=>f.value.outlet===G?-1:c.value.outlet===G?1:f.value.outlet.localeCompare(c.value.outlet))}(B),B}))}processSegment(f,c,_,S,B){return(0,d.D)(c).pipe((0,se.b)(X=>this.processSegmentAgainstRoute(X._injector??f,X,_,S,B)),(0,U.P)(X=>!!X),(0,oe.K)(X=>{if(Wo(X))return eo(_,S,B)?(0,C.of)([]):(0,C.of)(null);throw X}))}processSegmentAgainstRoute(f,c,_,S,B){if(c.redirectTo||!us(c,_,S,B))return(0,C.of)(null);let X;if("**"===c.path){const Ue=S.length>0?hn(S).parameters:{},dt=fs(_)+S.length,Ft=new Wr(S,Ue,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,yo(c),qn(c),c.component??c._loadedComponent??null,c,hs(_),dt,m(c));X=(0,C.of)({snapshot:Ft,consumedSegments:[],remainingSegments:[]})}else X=ei(_,c,S,f).pipe((0,ke.U)(({matched:Ue,consumedSegments:dt,remainingSegments:Ft,parameters:Bt})=>{if(!Ue)return null;const $n=fs(_)+dt.length;return{snapshot:new Wr(dt,Bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,yo(c),qn(c),c.component??c._loadedComponent??null,c,hs(_),$n,m(c)),consumedSegments:dt,remainingSegments:Ft}}));return X.pipe((0,ye.w)(Ue=>{if(null===Ue)return(0,C.of)(null);const{snapshot:dt,consumedSegments:Ft,remainingSegments:Bt}=Ue;f=c._injector??f;const $n=c._loadedInjector??f,xi=function ds(h){return h.children?h.children:h.loadChildren?h._loadedRoutes:[]}(c),{segmentGroup:ur,slicedSegments:Eo}=qr(_,Ft,Bt,xi.filter(io=>void 0===io.redirectTo));if(0===Eo.length&&ur.hasChildren())return this.processChildren($n,xi,ur).pipe((0,ke.U)(io=>null===io?null:[new gr(dt,io)]));if(0===xi.length&&0===Eo.length)return(0,C.of)([new gr(dt,[])]);const Er=qn(c)===B;return this.processSegment($n,xi,ur,Eo,Er?G:B).pipe((0,ke.U)(io=>null===io?null:[new gr(dt,io)]))}))}}function Ci(h){const f=h.value.routeConfig;return f&&""===f.path&&void 0===f.redirectTo}function Xo(h){const f=[],c=new Set;for(const _ of h){if(!Ci(_)){f.push(_);continue}const S=f.find(B=>_.value.routeConfig===B.value.routeConfig);void 0!==S?(S.children.push(..._.children),c.add(S)):f.push(_)}for(const _ of c){const S=Xo(_.children);f.push(new gr(_.value,S))}return f.filter(_=>!c.has(_))}function hs(h){let f=h;for(;f._sourceSegment;)f=f._sourceSegment;return f}function fs(h){let f=h,c=f._segmentIndexShift??0;for(;f._sourceSegment;)f=f._sourceSegment,c+=f._segmentIndexShift??0;return c-1}function yo(h){return h.data||{}}function m(h){return h.resolve||{}}function $t(h){return"string"==typeof h.title||null===h.title}function Sn(h){return(0,ye.w)(f=>{const c=h(f);return c?(0,d.D)(c).pipe((0,ke.U)(()=>f)):(0,C.of)(f)})}const _n=new s.OlP("ROUTES");let ni=(()=>{class h{constructor(c,_){this.injector=c,this.compiler=_,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,C.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const _=bn(c.loadComponent()).pipe((0,ke.U)(ii),(0,q.b)(B=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=B}),(0,vt.x)(()=>{this.componentLoaders.delete(c)})),S=new Ae.c(_,()=>new be.x).pipe((0,ft.x)());return this.componentLoaders.set(c,S),S}loadChildren(c,_){if(this.childrenLoaders.get(_))return this.childrenLoaders.get(_);if(_._loadedRoutes)return(0,C.of)({routes:_._loadedRoutes,injector:_._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(_);const B=this.loadModuleFactoryOrRoutes(_.loadChildren).pipe((0,ke.U)(Ue=>{this.onLoadEndListener&&this.onLoadEndListener(_);let dt,Ft,Bt=!1;Array.isArray(Ue)?Ft=Ue:(dt=Ue.create(c).injector,Ft=Kt(dt.get(_n,[],s.XFs.Self|s.XFs.Optional)));return{routes:Ft.map(gn),injector:dt}}),(0,vt.x)(()=>{this.childrenLoaders.delete(_)})),X=new Ae.c(B,()=>new be.x).pipe((0,ft.x)());return this.childrenLoaders.set(_,X),X}loadModuleFactoryOrRoutes(c){return bn(c()).pipe((0,ke.U)(ii),(0,xe.z)(S=>S instanceof s.YKP||Array.isArray(S)?(0,C.of)(S):(0,d.D)(this.compiler.compileModuleAsync(S))))}}return h.\u0275fac=function(c){return new(c||h)(s.LFG(s.zs3),s.LFG(s.Sil))},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function ii(h){return function jn(h){return h&&"object"==typeof h&&"default"in h}(h)?h.default:h}let wi=(()=>{class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new be.x,this.configLoader=(0,s.f3M)(ni),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(St),this.rootContexts=(0,s.f3M)(Zt),this.navigationId=0,this.afterPreactivation=()=>(0,C.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=S=>this.events.next(new di(S)),this.configLoader.onLoadStartListener=S=>this.events.next(new pr(S))}complete(){this.transitions?.complete()}handleNavigationRequest(c){const _=++this.navigationId;this.transitions?.next({...this.transitions.value,...c,id:_})}setupNavigations(c){return this.transitions=new $.X({id:0,targetPageId:0,currentUrlTree:c.currentUrlTree,currentRawUrl:c.currentUrlTree,extractedUrl:c.urlHandlingStrategy.extract(c.currentUrlTree),urlAfterRedirects:c.urlHandlingStrategy.extract(c.currentUrlTree),rawUrl:c.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:In,restoredState:null,currentSnapshot:c.routerState.snapshot,targetSnapshot:null,currentRouterState:c.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ze.h)(_=>0!==_.id),(0,ke.U)(_=>({..._,extractedUrl:c.urlHandlingStrategy.extract(_.rawUrl)})),(0,ye.w)(_=>{let S=!1,B=!1;return(0,C.of)(_).pipe((0,q.b)(X=>{this.currentNavigation={id:X.id,initialUrl:X.rawUrl,extractedUrl:X.extractedUrl,trigger:X.source,extras:X.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ye.w)(X=>{const Ue=c.browserUrlTree.toString(),dt=!c.navigated||X.extractedUrl.toString()!==Ue||Ue!==c.currentUrlTree.toString();if(!dt&&"reload"!==(X.extras.onSameUrlNavigation??c.onSameUrlNavigation)){const Bt="";return this.events.next(new Rn(X.id,c.serializeUrl(_.rawUrl),Bt,0)),c.rawUrlTree=X.rawUrl,X.resolve(null),Y.E}if(c.urlHandlingStrategy.shouldProcessUrl(X.rawUrl))return $i(X.source)&&(c.browserUrlTree=X.extractedUrl),(0,C.of)(X).pipe((0,ye.w)(Bt=>{const $n=this.transitions?.getValue();return this.events.next(new Si(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),Bt.source,Bt.restoredState)),$n!==this.transitions?.getValue()?Y.E:Promise.resolve(Bt)}),function Us(h,f,c,_){return(0,ye.w)(S=>function Bs(h,f,c,_,S){return new Yo(h,f,c,_,S).apply()}(h,f,c,S.extractedUrl,_).pipe((0,ke.U)(B=>({...S,urlAfterRedirects:B}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,c.config),(0,q.b)(Bt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Bt.urlAfterRedirects},_.urlAfterRedirects=Bt.urlAfterRedirects}),function P(h,f,c,_,S){return(0,xe.z)(B=>function Oi(h,f,c,_,S,B,X="emptyOnly"){return new no(h,f,c,_,S,X,B).recognize().pipe((0,ye.w)(Ue=>null===Ue?function Ts(h){return new Z.y(f=>f.error(h))}(new Qo):(0,C.of)(Ue)))}(h,f,c,B.urlAfterRedirects,_.serialize(B.urlAfterRedirects),_,S).pipe((0,ke.U)(X=>({...B,targetSnapshot:X}))))}(this.environmentInjector,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,q.b)(Bt=>{if(_.targetSnapshot=Bt.targetSnapshot,"eager"===c.urlUpdateStrategy){if(!Bt.extras.skipLocationChange){const xi=c.urlHandlingStrategy.merge(Bt.urlAfterRedirects,Bt.rawUrl);c.setBrowserUrl(xi,Bt)}c.browserUrlTree=Bt.urlAfterRedirects}const $n=new Mo(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),this.urlSerializer.serialize(Bt.urlAfterRedirects),Bt.targetSnapshot);this.events.next($n)}));if(dt&&c.urlHandlingStrategy.shouldProcessUrl(c.rawUrlTree)){const{id:Bt,extractedUrl:$n,source:xi,restoredState:ur,extras:Eo}=X,Er=new Si(Bt,this.urlSerializer.serialize($n),xi,ur);this.events.next(Er);const io=So($n,this.rootComponentType).snapshot;return _={...X,targetSnapshot:io,urlAfterRedirects:$n,extras:{...Eo,skipLocationChange:!1,replaceUrl:!1}},(0,C.of)(_)}{const Bt="";return this.events.next(new Rn(X.id,c.serializeUrl(_.extractedUrl),Bt,1)),c.rawUrlTree=X.rawUrl,X.resolve(null),Y.E}}),(0,q.b)(X=>{const Ue=new fn(X.id,this.urlSerializer.serialize(X.extractedUrl),this.urlSerializer.serialize(X.urlAfterRedirects),X.targetSnapshot);this.events.next(Ue)}),(0,ke.U)(X=>_={...X,guards:Ho(X.targetSnapshot,X.currentSnapshot,this.rootContexts)}),function On(h,f){return(0,xe.z)(c=>{const{targetSnapshot:_,currentSnapshot:S,guards:{canActivateChecks:B,canDeactivateChecks:X}}=c;return 0===X.length&&0===B.length?(0,C.of)({...c,guardsResult:!0}):function ls(h,f,c,_){return(0,d.D)(h).pipe((0,xe.z)(S=>function Go(h,f,c,_,S){const B=f&&f.routeConfig?f.routeConfig.canDeactivate:null;if(!B||0===B.length)return(0,C.of)(!0);const X=B.map(Ue=>{const dt=Mn(f)??S,Ft=Jn(Ue,dt);return bn(function Es(h){return h&&Dr(h.canDeactivate)}(Ft)?Ft.canDeactivate(h,f,c,_):dt.runInContext(()=>Ft(h,f,c,_))).pipe((0,U.P)())});return(0,C.of)(X).pipe(Dt())}(S.component,S.route,c,f,_)),(0,U.P)(S=>!0!==S,!0))}(X,_,S,h).pipe((0,xe.z)(Ue=>Ue&&function Vo(h){return"boolean"==typeof h}(Ue)?function Cs(h,f,c,_){return(0,d.D)(f).pipe((0,se.b)(S=>(0,ce.z)(function ws(h,f){return null!==h&&f&&f(new Zi(h)),(0,C.of)(!0)}(S.route.parent,_),function mi(h,f){return null!==h&&f&&f(new Fi(h)),(0,C.of)(!0)}(S.route,_),function Vi(h,f,c){const _=f[f.length-1],B=f.slice(0,f.length-1).reverse().map(X=>function vr(h){const f=h.routeConfig?h.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:h,guards:f}:null}(X)).filter(X=>null!==X).map(X=>(0,J.P)(()=>{const Ue=X.guards.map(dt=>{const Ft=Mn(X.node)??c,Bt=Jn(dt,Ft);return bn(function as(h){return h&&Dr(h.canActivateChild)}(Bt)?Bt.canActivateChild(_,h):Ft.runInContext(()=>Bt(_,h))).pipe((0,U.P)())});return(0,C.of)(Ue).pipe(Dt())}));return(0,C.of)(B).pipe(Dt())}(h,S.path,c),function Br(h,f,c){const _=f.routeConfig?f.routeConfig.canActivate:null;if(!_||0===_.length)return(0,C.of)(!0);const S=_.map(B=>(0,J.P)(()=>{const X=Mn(f)??c,Ue=Jn(B,X);return bn(function ss(h){return h&&Dr(h.canActivate)}(Ue)?Ue.canActivate(f,h):X.runInContext(()=>Ue(f,h))).pipe((0,U.P)())}));return(0,C.of)(S).pipe(Dt())}(h,S.route,c))),(0,U.P)(S=>!0!==S,!0))}(_,B,h,f):(0,C.of)(Ue)),(0,ke.U)(Ue=>({...c,guardsResult:Ue})))})}(this.environmentInjector,X=>this.events.next(X)),(0,q.b)(X=>{if(_.guardsResult=X.guardsResult,W(X.guardsResult))throw Pe(0,X.guardsResult);const Ue=new so(X.id,this.urlSerializer.serialize(X.extractedUrl),this.urlSerializer.serialize(X.urlAfterRedirects),X.targetSnapshot,!!X.guardsResult);this.events.next(Ue)}),(0,ze.h)(X=>!!X.guardsResult||(c.restoreHistory(X),this.cancelNavigationTransition(X,"",3),!1)),Sn(X=>{if(X.guards.canActivateChecks.length)return(0,C.of)(X).pipe((0,q.b)(Ue=>{const dt=new wr(Ue.id,this.urlSerializer.serialize(Ue.extractedUrl),this.urlSerializer.serialize(Ue.urlAfterRedirects),Ue.targetSnapshot);this.events.next(dt)}),(0,ye.w)(Ue=>{let dt=!1;return(0,C.of)(Ue).pipe(function D(h,f){return(0,xe.z)(c=>{const{targetSnapshot:_,guards:{canActivateChecks:S}}=c;if(!S.length)return(0,C.of)(c);let B=0;return(0,d.D)(S).pipe((0,se.b)(X=>function j(h,f,c,_){const S=h.routeConfig,B=h._resolve;return void 0!==S?.title&&!$t(S)&&(B[w]=S.title),function pe(h,f,c,_){const S=function Je(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}(h);if(0===S.length)return(0,C.of)({});const B={};return(0,d.D)(S).pipe((0,xe.z)(X=>function gt(h,f,c,_){const S=Mn(f)??_,B=Jn(h,S);return bn(B.resolve?B.resolve(f,c):S.runInContext(()=>B(f,c)))}(h[X],f,c,_).pipe((0,U.P)(),(0,q.b)(Ue=>{B[X]=Ue}))),Ge(1),(0,lt.h)(B),(0,oe.K)(X=>Wo(X)?Y.E:(0,R._)(X)))}(B,h,f,_).pipe((0,ke.U)(X=>(h._resolvedData=X,h.data=Ni(h,c).resolve,S&&$t(S)&&(h.data[w]=S.title),null)))}(X.route,_,h,f)),(0,q.b)(()=>B++),Ge(1),(0,xe.z)(X=>B===S.length?(0,C.of)(c):Y.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,q.b)({next:()=>dt=!0,complete:()=>{dt||(c.restoreHistory(Ue),this.cancelNavigationTransition(Ue,"",2))}}))}),(0,q.b)(Ue=>{const dt=new bi(Ue.id,this.urlSerializer.serialize(Ue.extractedUrl),this.urlSerializer.serialize(Ue.urlAfterRedirects),Ue.targetSnapshot);this.events.next(dt)}))}),Sn(X=>{const Ue=dt=>{const Ft=[];dt.routeConfig?.loadComponent&&!dt.routeConfig._loadedComponent&&Ft.push(this.configLoader.loadComponent(dt.routeConfig).pipe((0,q.b)(Bt=>{dt.component=Bt}),(0,ke.U)(()=>{})));for(const Bt of dt.children)Ft.push(...Ue(Bt));return Ft};return(0,ee.a)(Ue(X.targetSnapshot.root)).pipe((0,st.d)(),(0,je.q)(1))}),Sn(()=>this.afterPreactivation()),(0,ke.U)(X=>{const Ue=function os(h,f,c){const _=Lr(h,f._root,c?c._root:void 0);return new Ii(_,f)}(c.routeReuseStrategy,X.targetSnapshot,X.currentRouterState);return _={...X,targetRouterState:Ue}}),(0,q.b)(X=>{c.currentUrlTree=X.urlAfterRedirects,c.rawUrlTree=c.urlHandlingStrategy.merge(X.urlAfterRedirects,X.rawUrl),c.routerState=X.targetRouterState,"deferred"===c.urlUpdateStrategy&&(X.extras.skipLocationChange||c.setBrowserUrl(c.rawUrlTree,X),c.browserUrlTree=X.urlAfterRedirects)}),((h,f,c)=>(0,ke.U)(_=>(new Ir(f,_.targetRouterState,_.currentRouterState,c).activate(h),_)))(this.rootContexts,c.routeReuseStrategy,X=>this.events.next(X)),(0,q.b)({next:X=>{S=!0,this.lastSuccessfulNavigation=this.currentNavigation,c.navigated=!0,this.events.next(new An(X.id,this.urlSerializer.serialize(X.extractedUrl),this.urlSerializer.serialize(c.currentUrlTree))),c.titleStrategy?.updateTitle(X.targetRouterState.snapshot),X.resolve(!0)},complete:()=>{S=!0}}),(0,vt.x)(()=>{S||B||this.cancelNavigationTransition(_,"",1),this.currentNavigation?.id===_.id&&(this.currentNavigation=null)}),(0,oe.K)(X=>{if(B=!0,At(X)){ht(X)||(c.navigated=!0,c.restoreHistory(_,!0));const Ue=new ai(_.id,this.urlSerializer.serialize(_.extractedUrl),X.message,X.cancellationCode);if(this.events.next(Ue),ht(X)){const dt=c.urlHandlingStrategy.merge(X.url,c.rawUrlTree),Ft={skipLocationChange:_.extras.skipLocationChange,replaceUrl:"eager"===c.urlUpdateStrategy||$i(_.source)};c.scheduleNavigation(dt,In,null,Ft,{resolve:_.resolve,reject:_.reject,promise:_.promise})}else _.resolve(!1)}else{c.restoreHistory(_,!0);const Ue=new ki(_.id,this.urlSerializer.serialize(_.extractedUrl),X,_.targetSnapshot??void 0);this.events.next(Ue);try{_.resolve(c.errorHandler(X))}catch(dt){_.reject(dt)}}return Y.E}))}))}cancelNavigationTransition(c,_,S){const B=new ai(c.id,this.urlSerializer.serialize(c.extractedUrl),_,S);this.events.next(B),c.resolve(!1)}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function $i(h){return h!==In}let ar=(()=>{class h{buildTitle(c){let _,S=c.root;for(;void 0!==S;)_=this.getResolvedTitleForRoute(S)??_,S=S.children.find(B=>B.outlet===G);return _}getResolvedTitleForRoute(c){return c.data[w]}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:function(){return(0,s.f3M)(vo)},providedIn:"root"}),h})(),vo=(()=>{class h extends ar{constructor(c){super(),this.title=c}updateTitle(c){const _=this.buildTitle(c);void 0!==_&&this.title.setTitle(_)}}return h.\u0275fac=function(c){return new(c||h)(s.LFG(fe.Dx))},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),Ar=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:function(){return(0,s.f3M)(No)},providedIn:"root"}),h})();class ps{shouldDetach(f){return!1}store(f,c){}shouldAttach(f){return!1}retrieve(f){return null}shouldReuseRoute(f,c){return f.routeConfig===c.routeConfig}}let No=(()=>{class h extends ps{}return h.\u0275fac=function(){let f;return function(_){return(f||(f=s.n5z(h)))(_||h)}}(),h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const jr=new s.OlP("",{providedIn:"root",factory:()=>({})});let ta=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:function(){return(0,s.f3M)(gs)},providedIn:"root"}),h})(),gs=(()=>{class h{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,_){return c}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function Is(h){throw h}function Or(h,f,c){return f.parse("/")}const As={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Do={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Pi=(()=>{class h{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,s.f3M)(s.c2e),this.isNgZoneEnabled=!1,this.options=(0,s.f3M)(jr,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Is,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Or,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,s.f3M)(ta),this.routeReuseStrategy=(0,s.f3M)(Ar),this.urlCreationStrategy=(0,s.f3M)(ir),this.titleStrategy=(0,s.f3M)(ar),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=Kt((0,s.f3M)(_n,{optional:!0})??[]),this.navigationTransitions=(0,s.f3M)(wi),this.urlSerializer=(0,s.f3M)(St),this.location=(0,s.f3M)(Be.Ye),this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new pt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=So(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(c=>{this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId},c=>{this.console.warn(`Unhandled Navigation Error: ${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),In,c)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const _="popstate"===c.type?"popstate":"hashchange";"popstate"===_&&setTimeout(()=>{this.navigateToSyncWithBrowser(c.url,_,c.state)},0)}))}navigateToSyncWithBrowser(c,_,S){const B={replaceUrl:!0},X=S?.navigationId?S:null;if(S){const dt={...S};delete dt.navigationId,delete dt.\u0275routerPageId,0!==Object.keys(dt).length&&(B.state=dt)}const Ue=this.parseUrl(c);this.scheduleNavigation(Ue,_,X,B)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(c){this.config=c.map(gn),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}createUrlTree(c,_={}){const{relativeTo:S,queryParams:B,fragment:X,queryParamsHandling:Ue,preserveFragment:dt}=_,Ft=dt?this.currentUrlTree.fragment:X;let Bt=null;switch(Ue){case"merge":Bt={...this.currentUrlTree.queryParams,...B};break;case"preserve":Bt=this.currentUrlTree.queryParams;break;default:Bt=B||null}return null!==Bt&&(Bt=this.removeEmptyProps(Bt)),this.urlCreationStrategy.createUrlTree(S,this.routerState,this.currentUrlTree,c,Bt,Ft??null)}navigateByUrl(c,_={skipLocationChange:!1}){const S=W(c)?c:this.parseUrl(c),B=this.urlHandlingStrategy.merge(S,this.rawUrlTree);return this.scheduleNavigation(B,In,null,_)}navigate(c,_={skipLocationChange:!1}){return function Os(h){for(let f=0;f<h.length;f++){const c=h[f];if(null==c)throw new s.vHH(4008,false)}}(c),this.navigateByUrl(this.createUrlTree(c,_),_)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let _;try{_=this.urlSerializer.parse(c)}catch(S){_=this.malformedUriErrorHandler(S,this.urlSerializer,c)}return _}isActive(c,_){let S;if(S=!0===_?{...As}:!1===_?{...Do}:_,W(c))return Ne(this.currentUrlTree,c,S);const B=this.parseUrl(c);return Ne(this.currentUrlTree,B,S)}removeEmptyProps(c){return Object.keys(c).reduce((_,S)=>{const B=c[S];return null!=B&&(_[S]=B),_},{})}scheduleNavigation(c,_,S,B,X){if(this.disposed)return Promise.resolve(!1);let Ue,dt,Ft,Bt;return X?(Ue=X.resolve,dt=X.reject,Ft=X.promise):Ft=new Promise(($n,xi)=>{Ue=$n,dt=xi}),Bt="computed"===this.canceledNavigationResolution?S&&S.\u0275routerPageId?S.\u0275routerPageId:B.replaceUrl||B.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Bt,source:_,restoredState:S,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:c,extras:B,resolve:Ue,reject:dt,promise:Ft,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ft.catch($n=>Promise.reject($n))}setBrowserUrl(c,_){const S=this.urlSerializer.serialize(c),B={..._.extras.state,...this.generateNgRouterState(_.id,_.targetPageId)};this.location.isCurrentPathEqualTo(S)||_.extras.replaceUrl?this.location.replaceState(S,"",B):this.location.go(S,"",B)}restoreHistory(c,_=!1){if("computed"===this.canceledNavigationResolution){const S=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===S?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===S&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(S)}else"replace"===this.canceledNavigationResolution&&(_&&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,_){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:_}:{navigationId:c}}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),E=(()=>{class h{constructor(c,_,S,B,X,Ue){this.router=c,this.route=_,this.tabIndexAttribute=S,this.renderer=B,this.el=X,this.locationStrategy=Ue,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new be.x;const dt=X.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===dt||"area"===dt,this.isAnchorElement?this.subscription=c.events.subscribe(Ft=>{Ft instanceof An&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(c){this._preserveFragment=(0,s.D6c)(c)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(c){this._skipLocationChange=(0,s.D6c)(c)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(c){this._replaceUrl=(0,s.D6c)(c)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(c){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",c)}ngOnChanges(c){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(c,_,S,B,X){return!!(null===this.urlTree||this.isAnchorElement&&(0!==c||_||S||B||X||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const c=null===this.href?null:(0,s.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",c)}applyAttributeValue(c,_){const S=this.renderer,B=this.el.nativeElement;null!==_?S.setAttribute(B,c,_):S.removeAttribute(B,c)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return h.\u0275fac=function(c){return new(c||h)(s.Y36(Pi),s.Y36(Li),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(Be.S$))},h.\u0275dir=s.lG2({type:h,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(c,_){1&c&&s.NdJ("click",function(B){return _.onClick(B.button,B.ctrlKey,B.shiftKey,B.altKey,B.metaKey)}),2&c&&s.uIk("target",_.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[s.TTD]}),h})(),l=(()=>{class h{get isActive(){return this._isActive}constructor(c,_,S,B,X){this.router=c,this.element=_,this.renderer=S,this.cdr=B,this.link=X,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new s.vpe,this.routerEventsSubscription=c.events.subscribe(Ue=>{Ue instanceof An&&this.update()})}ngAfterContentInit(){(0,C.of)(this.links.changes,(0,C.of)(null)).pipe((0,ot.J)()).subscribe(c=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const c=[...this.links.toArray(),this.link].filter(_=>!!_).map(_=>_.onChanges);this.linkInputChangesSubscription=(0,d.D)(c).pipe((0,ot.J)()).subscribe(_=>{this._isActive!==this.isLinkActive(this.router)(_)&&this.update()})}set routerLinkActive(c){const _=Array.isArray(c)?c:c.split(" ");this.classes=_.filter(S=>!!S)}ngOnChanges(c){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const c=this.hasActiveLinks();this._isActive!==c&&(this._isActive=c,this.cdr.markForCheck(),this.classes.forEach(_=>{c?this.renderer.addClass(this.element.nativeElement,_):this.renderer.removeClass(this.element.nativeElement,_)}),c&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(c))})}isLinkActive(c){const _=function a(h){return!!h.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return S=>!!S.urlTree&&c.isActive(S.urlTree,_)}hasActiveLinks(){const c=this.isLinkActive(this.router);return this.link&&c(this.link)||this.links.some(c)}}return h.\u0275fac=function(c){return new(c||h)(s.Y36(Pi),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(E,8))},h.\u0275dir=s.lG2({type:h,selectors:[["","routerLinkActive",""]],contentQueries:function(c,_,S){if(1&c&&s.Suo(S,E,5),2&c){let B;s.iGM(B=s.CRH())&&(_.links=B)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[s.TTD]}),h})();class y{}let we=(()=>{class h{constructor(c,_,S,B,X){this.router=c,this.injector=S,this.preloadingStrategy=B,this.loader=X}setUpPreloading(){this.subscription=this.router.events.pipe((0,ze.h)(c=>c instanceof An),(0,se.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,_){const S=[];for(const B of _){B.providers&&!B._injector&&(B._injector=(0,s.MMx)(B.providers,c,`Route: ${B.path}`));const X=B._injector??c,Ue=B._loadedInjector??X;B.loadChildren&&!B._loadedRoutes&&void 0===B.canLoad||B.loadComponent&&!B._loadedComponent?S.push(this.preloadConfig(X,B)):(B.children||B._loadedRoutes)&&S.push(this.processRoutes(Ue,B.children??B._loadedRoutes))}return(0,d.D)(S).pipe((0,ot.J)())}preloadConfig(c,_){return this.preloadingStrategy.preload(_,()=>{let S;S=_.loadChildren&&void 0===_.canLoad?this.loader.loadChildren(c,_):(0,C.of)(null);const B=S.pipe((0,xe.z)(X=>null===X?(0,C.of)(void 0):(_._loadedRoutes=X.routes,_._loadedInjector=X.injector,this.processRoutes(X.injector??c,X.routes))));if(_.loadComponent&&!_._loadedComponent){const X=this.loader.loadComponent(_);return(0,d.D)([B,X]).pipe((0,ot.J)())}return B})}}return h.\u0275fac=function(c){return new(c||h)(s.LFG(Pi),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(y),s.LFG(ni))},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const Me=new s.OlP("");let Xe=(()=>{class h{constructor(c,_,S,B,X={}){this.urlSerializer=c,this.transitions=_,this.viewportScroller=S,this.zone=B,this.options=X,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},X.scrollPositionRestoration=X.scrollPositionRestoration||"disabled",X.anchorScrolling=X.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 Si?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof An&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof ao&&(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,_){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ao(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,_))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return h.\u0275fac=function(c){s.$Z()},h.\u0275prov=s.Yz7({token:h,factory:h.\u0275fac}),h})();var rt=(()=>((rt=rt||{})[rt.COMPLETE=0]="COMPLETE",rt[rt.FAILED=1]="FAILED",rt[rt.REDIRECTING=2]="REDIRECTING",rt))();const Rt=!1;function Xt(h,f){return{\u0275kind:h,\u0275providers:f}}const rn=new s.OlP("",{providedIn:"root",factory:()=>!1});function _i(){const h=(0,s.f3M)(s.zs3);return f=>{const c=h.get(s.z2F);if(f!==c.components[0])return;const _=h.get(Pi),S=h.get(ci);1===h.get(lr)&&_.initialNavigation(),h.get(Wi,null,s.XFs.Optional)?.setUpPreloading(),h.get(Me,null,s.XFs.Optional)?.init(),_.resetRootComponentType(c.componentTypes[0]),S.closed||(S.next(),S.unsubscribe())}}const ci=new s.OlP(Rt?"bootstrap done indicator":"",{factory:()=>new be.x}),lr=new s.OlP(Rt?"initial navigation":"",{providedIn:"root",factory:()=>1});function Pr(){let h=[];return h=Rt?[{provide:s.Xts,multi:!0,useFactory:()=>{const f=(0,s.f3M)(Pi);return()=>f.events.subscribe(c=>{console.group?.(`Router Event: ${c.constructor.name}`),console.log(function En(h){if(!("type"in h))return`Unknown Router Event: ${h.constructor.name}`;switch(h.type){case 14:return`ActivationEnd(path: '${h.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${h.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${h.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${h.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${h.id}, url: '${h.url}', urlAfterRedirects: '${h.urlAfterRedirects}', state: ${h.state}, shouldActivate: ${h.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${h.id}, url: '${h.url}', urlAfterRedirects: '${h.urlAfterRedirects}', state: ${h.state})`;case 2:return`NavigationCancel(id: ${h.id}, url: '${h.url}')`;case 16:return`NavigationSkipped(id: ${h.id}, url: '${h.url}')`;case 1:return`NavigationEnd(id: ${h.id}, url: '${h.url}', urlAfterRedirects: '${h.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${h.id}, url: '${h.url}', error: ${h.error})`;case 0:return`NavigationStart(id: ${h.id}, url: '${h.url}')`;case 6:return`ResolveEnd(id: ${h.id}, url: '${h.url}', urlAfterRedirects: '${h.urlAfterRedirects}', state: ${h.state})`;case 5:return`ResolveStart(id: ${h.id}, url: '${h.url}', urlAfterRedirects: '${h.urlAfterRedirects}', state: ${h.state})`;case 10:return`RouteConfigLoadEnd(path: ${h.route.path})`;case 9:return`RouteConfigLoadStart(path: ${h.route.path})`;case 4:return`RoutesRecognized(id: ${h.id}, url: '${h.url}', urlAfterRedirects: '${h.urlAfterRedirects}', state: ${h.state})`;case 15:return`Scroll(anchor: '${h.anchor}', position: '${h.position?`${h.position[0]}, ${h.position[1]}`:null}')`}}(c)),console.log(c),console.groupEnd?.()})}}]:[],Xt(1,h)}const Wi=new s.OlP(Rt?"router preloader":"");function bo(h){return Xt(0,[{provide:Wi,useExisting:we},{provide:y,useExisting:h}])}const Jo=!1,Wt=new s.OlP(Jo?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),Jt=[Be.Ye,{provide:St,useClass:Ht},Pi,Zt,{provide:Li,useFactory:function cn(h){return h.routerState.root},deps:[Pi]},ni,Jo?{provide:rn,useValue:!0}:[]];function on(){return new s.PXZ("Router",Pi)}let Un=(()=>{class h{constructor(c){}static forRoot(c,_){return{ngModule:h,providers:[Jt,Jo&&_?.enableTracing?Pr().\u0275providers:[],{provide:_n,multi:!0,useValue:c},{provide:Wt,useFactory:Yn,deps:[[Pi,new s.FiY,new s.tp0]]},{provide:jr,useValue:_||{}},_?.useHash?{provide:Be.S$,useClass:Be.Do}:{provide:Be.S$,useClass:Be.b0},{provide:Me,useFactory:()=>{const h=(0,s.f3M)(Be.EM),f=(0,s.f3M)(s.R0b),c=(0,s.f3M)(jr),_=(0,s.f3M)(wi),S=(0,s.f3M)(St);return c.scrollOffset&&h.setOffset(c.scrollOffset),new Xe(S,_,h,f,c)}},_?.preloadingStrategy?bo(_.preloadingStrategy).\u0275providers:[],{provide:s.PXZ,multi:!0,useFactory:on},_?.initialNavigation?Qn(_):[],[{provide:Vr,useFactory:_i},{provide:s.tb,multi:!0,useExisting:Vr}]]}}static forChild(c){return{ngModule:h,providers:[{provide:_n,multi:!0,useValue:c}]}}}return h.\u0275fac=function(c){return new(c||h)(s.LFG(Wt,8))},h.\u0275mod=s.oAB({type:h}),h.\u0275inj=s.cJS({imports:[fi]}),h})();function Yn(h){if(Jo&&h)throw new s.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Qn(h){return["disabled"===h.initialNavigation?Xt(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const f=(0,s.f3M)(Pi);return()=>{f.setUpLocationChangeListener()}}},{provide:lr,useValue:2}]).\u0275providers:[],"enabledBlocking"===h.initialNavigation?Xt(2,[{provide:lr,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:f=>{const c=f.get(Be.V_,Promise.resolve());return()=>c.then(()=>new Promise(_=>{const S=f.get(Pi),B=f.get(ci);(function Nt(h,f){h.events.pipe((0,ze.h)(c=>c instanceof An||c instanceof ai||c instanceof ki||c instanceof Rn),(0,ke.U)(c=>c instanceof An||c instanceof Rn?rt.COMPLETE:c instanceof ai&&(0===c.code||1===c.code)?rt.REDIRECTING:rt.FAILED),(0,ze.h)(c=>c!==rt.REDIRECTING),(0,je.q)(1)).subscribe(()=>{f()})})(S,()=>{_(!0)}),f.get(wi).afterPreactivation=()=>(_(!0),B.closed?(0,C.of)(void 0):B),S.initialNavigation()}))}}]).\u0275providers:[]]}const Vr=new s.OlP(Jo?"Router Initializer":"")},63942:(yt,Ee,g)=>{g.d(Ee,{Z:()=>Be});var s=g(42090),d=g(34859),C=g(49681),$=g(41877);class k{constructor(ye,je){this._delegate=ye,this.firebase=je,(0,C._addComponent)(ye,new d.wA("app-compat",()=>this,"PUBLIC")),this.container=ye.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(ye){this._delegate.automaticDataCollectionEnabled=ye}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(ye=>{this._delegate.checkDestroyed(),ye()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,C.deleteApp)(this._delegate)))}_getService(ye,je=C._DEFAULT_ENTRY_NAME){var Ke;this._delegate.checkDestroyed();const ze=this._delegate.container.getProvider(ye);return!ze.isInitialized()&&"EXPLICIT"===(null===(Ke=ze.getComponent())||void 0===Ke?void 0:Ke.instantiationMode)&&ze.initialize(),ze.getImmediate({identifier:je})}_removeServiceInstance(ye,je=C._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(ye).clearInstance(je)}_addComponent(ye){(0,C._addComponent)(this._delegate,ye)}_addOrOverwriteComponent(ye){(0,C._addOrOverwriteComponent)(this._delegate,ye)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const ce=new s.LL("app-compat","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance."}),R=function ne(){const ke=function J(ke){const ye={},je={__esModule:!0,initializeApp:function xe(oe,le={}){const ve=C.initializeApp(oe,le);if((0,s.r3)(ye,ve.name))return ye[ve.name];const Ze=new ke(ve,je);return ye[ve.name]=Ze,Ze},app:ze,registerVersion:C.registerVersion,setLogLevel:C.setLogLevel,onLog:C.onLog,apps:null,SDK_VERSION:C.SDK_VERSION,INTERNAL:{registerComponent:function se(oe){const le=oe.name,ve=le.replace("-compat","");if(C._registerComponent(oe)&&"PUBLIC"===oe.type){const Ze=(Ge=ze())=>{if("function"!=typeof Ge[ve])throw ce.create("invalid-app-argument",{appName:le});return Ge[ve]()};void 0!==oe.serviceProps&&(0,s.ZB)(Ze,oe.serviceProps),je[ve]=Ze,ke.prototype[ve]=function(...Ge){return this._getService.bind(this,le).apply(this,oe.multipleInstances?Ge:[])}}return"PUBLIC"===oe.type?je[ve]:null},removeApp:function Ke(oe){delete ye[oe]},useAsService:function q(oe,le){return"serverAuth"===le?null:le},modularAPIs:C}};function ze(oe){if(!(0,s.r3)(ye,oe=oe||C._DEFAULT_ENTRY_NAME))throw ce.create("no-app",{appName:oe});return ye[oe]}return je.default=je,Object.defineProperty(je,"apps",{get:function U(){return Object.keys(ye).map(oe=>ye[oe])}}),ze.App=ke,je}(k);return ke.INTERNAL=Object.assign(Object.assign({},ke.INTERNAL),{createFirebaseNamespace:ne,extendNamespace:function ye(je){(0,s.ZB)(ke,je)},createSubscribe:s.ne,ErrorFactory:s.LL,deepExtend:s.ZB}),ke}(),Z=new $.Yd("@firebase/app-compat");if((0,s.jU)()&&void 0!==self.firebase){Z.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n ");const ke=self.firebase.SDK_VERSION;ke&&ke.indexOf("LITE")>=0&&Z.warn("\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n ")}const Be=R;!function be(ke){(0,C.registerVersion)("@firebase/app-compat","0.2.5",ke)}()},49681:(yt,Ee,g)=>{g.r(Ee),g.d(Ee,{FirebaseError:()=>$.ZR,SDK_VERSION:()=>hn,_DEFAULT_ENTRY_NAME:()=>vt,_addComponent:()=>G,_addOrOverwriteComponent:()=>w,_apps:()=>ot,_clearComponents:()=>Mt,_components:()=>fe,_getProvider:()=>De,_registerComponent:()=>K,_removeServiceInstance:()=>et,deleteApp:()=>Pn,getApp:()=>zt,getApps:()=>bn,initializeApp:()=>mn,onLog:()=>Ne,registerVersion:()=>yn,setLogLevel:()=>V});var s=g(15861),d=g(34859),C=g(41877),$=g(42090),k=g(98766);class ee{constructor(ut){this.container=ut}getPlatformInfoString(){return this.container.getProviders().map(z=>{if(function ce(It){return"VERSION"===It.getComponent()?.type}(z)){const x=z.getImmediate();return`${x.library}/${x.version}`}return null}).filter(z=>z).join(" ")}}const J="@firebase/app",R=new C.Yd("@firebase/app"),vt="[DEFAULT]",ft={[J]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","fire-js":"fire-js",firebase:"fire-js-all"},ot=new Map,fe=new Map;function G(It,ut){try{It.container.addComponent(ut)}catch(z){R.debug(`Component ${ut.name} failed to register with FirebaseApp ${It.name}`,z)}}function w(It,ut){It.container.addOrOverwriteComponent(ut)}function K(It){const ut=It.name;if(fe.has(ut))return R.debug(`There were multiple attempts to register component ${ut}.`),!1;fe.set(ut,It);for(const z of ot.values())G(z,It);return!0}function De(It,ut){const z=It.container.getProvider("heartbeat").getImmediate({optional:!0});return z&&z.triggerHeartbeat(),It.container.getProvider(ut)}function et(It,ut,z=vt){De(It,ut).clearInstance(z)}function Mt(){fe.clear()}const Lt=new $.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."});class Kt{constructor(ut,z,x){this._isDeleted=!1,this._options=Object.assign({},ut),this._config=Object.assign({},z),this._name=z.name,this._automaticDataCollectionEnabled=z.automaticDataCollectionEnabled,this._container=x,this.container.addComponent(new d.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(ut){this.checkDestroyed(),this._automaticDataCollectionEnabled=ut}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(ut){this._isDeleted=ut}checkDestroyed(){if(this.isDeleted)throw Lt.create("app-deleted",{appName:this._name})}}const hn="9.18.0";function mn(It,ut={}){let z=It;"object"!=typeof ut&&(ut={name:ut});const x=Object.assign({name:vt,automaticDataCollectionEnabled:!1},ut),A=x.name;if("string"!=typeof A||!A)throw Lt.create("bad-app-name",{appName:String(A)});if(z||(z=(0,$.aH)()),!z)throw Lt.create("no-options");const ie=ot.get(A);if(ie){if((0,$.vZ)(z,ie.options)&&(0,$.vZ)(x,ie.config))return ie;throw Lt.create("duplicate-app",{appName:A})}const Ie=new d.H0(A);for(const re of fe.values())Ie.addComponent(re);const te=new Kt(z,x,Ie);return ot.set(A,te),te}function zt(It=vt){const ut=ot.get(It);if(!ut&&It===vt)return mn();if(!ut)throw Lt.create("no-app",{appName:It});return ut}function bn(){return Array.from(ot.values())}function Pn(It){return ln.apply(this,arguments)}function ln(){return(ln=(0,s.Z)(function*(It){const ut=It.name;ot.has(ut)&&(ot.delete(ut),yield Promise.all(It.container.getProviders().map(z=>z.delete())),It.isDeleted=!0)})).apply(this,arguments)}function yn(It,ut,z){var x;let A=null!==(x=ft[It])&&void 0!==x?x:It;z&&(A+=`-${z}`);const ie=A.match(/\s|\//),Ie=ut.match(/\s|\//);if(ie||Ie){const te=[`Unable to register library "${A}" with version "${ut}":`];return ie&&te.push(`library name "${A}" contains illegal characters (whitespace or "/")`),ie&&Ie&&te.push("and"),Ie&&te.push(`version name "${ut}" contains illegal characters (whitespace or "/")`),void R.warn(te.join(" "))}K(new d.wA(`${A}-version`,()=>({library:A,version:ut}),"VERSION"))}function Ne(It,ut){if(null!==It&&"function"!=typeof It)throw Lt.create("invalid-log-argument");(0,C.Am)(It,ut)}function V(It){(0,C.Ub)(It)}const de="firebase-heartbeat-database",Te=1,Qe="firebase-heartbeat-store";let ct=null;function at(){return ct||(ct=(0,k.X3)(de,Te,{upgrade:(It,ut)=>{0===ut&&It.createObjectStore(Qe)}}).catch(It=>{throw Lt.create("idb-open",{originalErrorMessage:It.message})})),ct}function _e(){return(_e=(0,s.Z)(function*(It){try{return(yield at()).transaction(Qe).objectStore(Qe).get(Le(It))}catch(ut){if(ut instanceof $.ZR)R.warn(ut.message);else{const z=Lt.create("idb-get",{originalErrorMessage:ut?.message});R.warn(z.message)}}})).apply(this,arguments)}function it(It,ut){return ge.apply(this,arguments)}function ge(){return(ge=(0,s.Z)(function*(It,ut){try{const x=(yield at()).transaction(Qe,"readwrite");return yield x.objectStore(Qe).put(ut,Le(It)),x.done}catch(z){if(z instanceof $.ZR)R.warn(z.message);else{const x=Lt.create("idb-set",{originalErrorMessage:z?.message});R.warn(x.message)}}})).apply(this,arguments)}function Le(It){return`${It.name}!${It.options.appId}`}class Ht{constructor(ut){this.container=ut,this._heartbeatsCache=null;const z=this.container.getProvider("app").getImmediate();this._storage=new jt(z),this._heartbeatsCachePromise=this._storage.read().then(x=>(this._heartbeatsCache=x,x))}triggerHeartbeat(){var ut=this;return(0,s.Z)(function*(){const x=ut.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),A=Ot();if(null===ut._heartbeatsCache&&(ut._heartbeatsCache=yield ut._heartbeatsCachePromise),ut._heartbeatsCache.lastSentHeartbeatDate!==A&&!ut._heartbeatsCache.heartbeats.some(ie=>ie.date===A))return ut._heartbeatsCache.heartbeats.push({date:A,agent:x}),ut._heartbeatsCache.heartbeats=ut._heartbeatsCache.heartbeats.filter(ie=>{const Ie=new Date(ie.date).valueOf();return Date.now()-Ie<=2592e6}),ut._storage.overwrite(ut._heartbeatsCache)})()}getHeartbeatsHeader(){var ut=this;return(0,s.Z)(function*(){if(null===ut._heartbeatsCache&&(yield ut._heartbeatsCachePromise),null===ut._heartbeatsCache||0===ut._heartbeatsCache.heartbeats.length)return"";const z=Ot(),{heartbeatsToSend:x,unsentEntries:A}=function nn(It,ut=1024){const z=[];let x=It.slice();for(const A of It){const ie=z.find(Ie=>Ie.agent===A.agent);if(ie){if(ie.dates.push(A.date),xn(z)>ut){ie.dates.pop();break}}else if(z.push({agent:A.agent,dates:[A.date]}),xn(z)>ut){z.pop();break}x=x.slice(1)}return{heartbeatsToSend:z,unsentEntries:x}}(ut._heartbeatsCache.heartbeats),ie=(0,$.L)(JSON.stringify({version:2,heartbeats:x}));return ut._heartbeatsCache.lastSentHeartbeatDate=z,A.length>0?(ut._heartbeatsCache.heartbeats=A,yield ut._storage.overwrite(ut._heartbeatsCache)):(ut._heartbeatsCache.heartbeats=[],ut._storage.overwrite(ut._heartbeatsCache)),ie})()}}function Ot(){return(new Date).toISOString().substring(0,10)}class jt{constructor(ut){this.app=ut,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,s.Z)(function*(){return!!(0,$.hl)()&&(0,$.eu)().then(()=>!0).catch(()=>!1)})()}read(){var ut=this;return(0,s.Z)(function*(){return(yield ut._canUseIndexedDBPromise)&&(yield function pt(It){return _e.apply(this,arguments)}(ut.app))||{heartbeats:[]}})()}overwrite(ut){var z=this;return(0,s.Z)(function*(){var x;if(yield z._canUseIndexedDBPromise){const ie=yield z.read();return it(z.app,{lastSentHeartbeatDate:null!==(x=ut.lastSentHeartbeatDate)&&void 0!==x?x:ie.lastSentHeartbeatDate,heartbeats:ut.heartbeats})}})()}add(ut){var z=this;return(0,s.Z)(function*(){var x;if(yield z._canUseIndexedDBPromise){const ie=yield z.read();return it(z.app,{lastSentHeartbeatDate:null!==(x=ut.lastSentHeartbeatDate)&&void 0!==x?x:ie.lastSentHeartbeatDate,heartbeats:[...ie.heartbeats,...ut.heartbeats]})}})()}}function xn(It){return(0,$.L)(JSON.stringify({version:2,heartbeats:It})).length}!function Nn(It){K(new d.wA("platform-logger",ut=>new ee(ut),"PRIVATE")),K(new d.wA("heartbeat",ut=>new Ht(ut),"PRIVATE")),yn(J,"0.9.5",It),yn(J,"0.9.5","esm2017"),yn("fire-js","")}("")},34859:(yt,Ee,g)=>{g.d(Ee,{H0:()=>J,wA:()=>C});var s=g(15861),d=g(42090);class C{constructor(R,Z,Y){this.name=R,this.instanceFactory=Z,this.type=Y,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(R){return this.instantiationMode=R,this}setMultipleInstances(R){return this.multipleInstances=R,this}setServiceProps(R){return this.serviceProps=R,this}setInstanceCreatedCallback(R){return this.onInstanceCreated=R,this}}const $="[DEFAULT]";class k{constructor(R,Z){this.name=R,this.container=Z,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(R){const Z=this.normalizeInstanceIdentifier(R);if(!this.instancesDeferred.has(Z)){const Y=new d.BH;if(this.instancesDeferred.set(Z,Y),this.isInitialized(Z)||this.shouldAutoInitialize())try{const Ae=this.getOrInitializeService({instanceIdentifier:Z});Ae&&Y.resolve(Ae)}catch{}}return this.instancesDeferred.get(Z).promise}getImmediate(R){var Z;const Y=this.normalizeInstanceIdentifier(R?.identifier),Ae=null!==(Z=R?.optional)&&void 0!==Z&&Z;if(!this.isInitialized(Y)&&!this.shouldAutoInitialize()){if(Ae)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:Y})}catch(be){if(Ae)return null;throw be}}getComponent(){return this.component}setComponent(R){if(R.name!==this.name)throw Error(`Mismatching Component ${R.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=R,this.shouldAutoInitialize()){if(function ce(ne){return"EAGER"===ne.instantiationMode}(R))try{this.getOrInitializeService({instanceIdentifier:$})}catch{}for(const[Z,Y]of this.instancesDeferred.entries()){const Ae=this.normalizeInstanceIdentifier(Z);try{const be=this.getOrInitializeService({instanceIdentifier:Ae});Y.resolve(be)}catch{}}}}clearInstance(R=$){this.instancesDeferred.delete(R),this.instancesOptions.delete(R),this.instances.delete(R)}delete(){var R=this;return(0,s.Z)(function*(){const Z=Array.from(R.instances.values());yield Promise.all([...Z.filter(Y=>"INTERNAL"in Y).map(Y=>Y.INTERNAL.delete()),...Z.filter(Y=>"_delete"in Y).map(Y=>Y._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(R=$){return this.instances.has(R)}getOptions(R=$){return this.instancesOptions.get(R)||{}}initialize(R={}){const{options:Z={}}=R,Y=this.normalizeInstanceIdentifier(R.instanceIdentifier);if(this.isInitialized(Y))throw Error(`${this.name}(${Y}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const Ae=this.getOrInitializeService({instanceIdentifier:Y,options:Z});for(const[be,Be]of this.instancesDeferred.entries())Y===this.normalizeInstanceIdentifier(be)&&Be.resolve(Ae);return Ae}onInit(R,Z){var Y;const Ae=this.normalizeInstanceIdentifier(Z),be=null!==(Y=this.onInitCallbacks.get(Ae))&&void 0!==Y?Y:new Set;be.add(R),this.onInitCallbacks.set(Ae,be);const Be=this.instances.get(Ae);return Be&&R(Be,Ae),()=>{be.delete(R)}}invokeOnInitCallbacks(R,Z){const Y=this.onInitCallbacks.get(Z);if(Y)for(const Ae of Y)try{Ae(R,Z)}catch{}}getOrInitializeService({instanceIdentifier:R,options:Z={}}){let Y=this.instances.get(R);if(!Y&&this.component&&(Y=this.component.instanceFactory(this.container,{instanceIdentifier:(ne=R,ne===$?void 0:ne),options:Z}),this.instances.set(R,Y),this.instancesOptions.set(R,Z),this.invokeOnInitCallbacks(Y,R),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,R,Y)}catch{}var ne;return Y||null}normalizeInstanceIdentifier(R=$){return this.component?this.component.multipleInstances?R:$:R}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class J{constructor(R){this.name=R,this.providers=new Map}addComponent(R){const Z=this.getProvider(R.name);if(Z.isComponentSet())throw new Error(`Component ${R.name} has already been registered with ${this.name}`);Z.setComponent(R)}addOrOverwriteComponent(R){this.getProvider(R.name).isComponentSet()&&this.providers.delete(R.name),this.addComponent(R)}getProvider(R){if(this.providers.has(R))return this.providers.get(R);const Z=new k(R,this);return this.providers.set(R,Z),Z}getProviders(){return Array.from(this.providers.values())}}},41877:(yt,Ee,g)=>{g.d(Ee,{Am:()=>ne,Ub:()=>J,Yd:()=>ce,in:()=>d});const s=[];var d=(()=>{return(R=d||(d={}))[R.DEBUG=0]="DEBUG",R[R.VERBOSE=1]="VERBOSE",R[R.INFO=2]="INFO",R[R.WARN=3]="WARN",R[R.ERROR=4]="ERROR",R[R.SILENT=5]="SILENT",d;var R})();const C={debug:d.DEBUG,verbose:d.VERBOSE,info:d.INFO,warn:d.WARN,error:d.ERROR,silent:d.SILENT},$=d.INFO,k={[d.DEBUG]:"log",[d.VERBOSE]:"log",[d.INFO]:"info",[d.WARN]:"warn",[d.ERROR]:"error"},ee=(R,Z,...Y)=>{if(Z<R.logLevel)return;const Ae=(new Date).toISOString(),be=k[Z];if(!be)throw new Error(`Attempted to log a message with an invalid logType (value: ${Z})`);console[be](`[${Ae}] ${R.name}:`,...Y)};class ce{constructor(Z){this.name=Z,this._logLevel=$,this._logHandler=ee,this._userLogHandler=null,s.push(this)}get logLevel(){return this._logLevel}set logLevel(Z){if(!(Z in d))throw new TypeError(`Invalid value "${Z}" assigned to \`logLevel\``);this._logLevel=Z}setLogLevel(Z){this._logLevel="string"==typeof Z?C[Z]:Z}get logHandler(){return this._logHandler}set logHandler(Z){if("function"!=typeof Z)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=Z}get userLogHandler(){return this._userLogHandler}set userLogHandler(Z){this._userLogHandler=Z}debug(...Z){this._userLogHandler&&this._userLogHandler(this,d.DEBUG,...Z),this._logHandler(this,d.DEBUG,...Z)}log(...Z){this._userLogHandler&&this._userLogHandler(this,d.VERBOSE,...Z),this._logHandler(this,d.VERBOSE,...Z)}info(...Z){this._userLogHandler&&this._userLogHandler(this,d.INFO,...Z),this._logHandler(this,d.INFO,...Z)}warn(...Z){this._userLogHandler&&this._userLogHandler(this,d.WARN,...Z),this._logHandler(this,d.WARN,...Z)}error(...Z){this._userLogHandler&&this._userLogHandler(this,d.ERROR,...Z),this._logHandler(this,d.ERROR,...Z)}}function J(R){s.forEach(Z=>{Z.setLogLevel(R)})}function ne(R,Z){for(const Y of s){let Ae=null;Z&&Z.level&&(Ae=C[Z.level]),Y.userLogHandler=null===R?null:(be,Be,...ke)=>{const ye=ke.map(je=>{if(null==je)return null;if("string"==typeof je)return je;if("number"==typeof je||"boolean"==typeof je)return je.toString();if(je instanceof Error)return je.message;try{return JSON.stringify(je)}catch{return null}}).filter(je=>je).join(" ");Be>=(Ae??be.logLevel)&&R({level:d[Be].toLowerCase(),message:ye,args:ke,type:be.name})}}}},70259:(yt,Ee,g)=>{g.d(Ee,{C6:()=>s.getApps,Mq:()=>s.getApp});var s=g(49681);(0,s.registerVersion)("firebase","9.18.0","app")},29260:(yt,Ee,g)=>{g.d(Ee,{Z:()=>s.Z});var s=g(63942);s.Z.registerVersion("firebase","9.18.0","app-compat")},98766:(yt,Ee,g)=>{g.d(Ee,{Lj:()=>xe,X3:()=>ze});var s=g(15861);const d=(le,ve)=>ve.some(Ze=>le instanceof Ze);let C,$;const ce=new WeakMap,J=new WeakMap,ne=new WeakMap,R=new WeakMap,Z=new WeakMap;let be={get(le,ve,Ze){if(le instanceof IDBTransaction){if("done"===ve)return J.get(le);if("objectStoreNames"===ve)return le.objectStoreNames||ne.get(le);if("store"===ve)return Ze.objectStoreNames[1]?void 0:Ze.objectStore(Ze.objectStoreNames[0])}return je(le[ve])},set:(le,ve,Ze)=>(le[ve]=Ze,!0),has:(le,ve)=>le instanceof IDBTransaction&&("done"===ve||"store"===ve)||ve in le};function ye(le){return"function"==typeof le?function ke(le){return le!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function ee(){return $||($=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(le)?function(...ve){return le.apply(Ke(this),ve),je(ce.get(this))}:function(...ve){return je(le.apply(Ke(this),ve))}:function(ve,...Ze){const Ge=le.call(Ke(this),ve,...Ze);return ne.set(Ge,ve.sort?ve.sort():[ve]),je(Ge)}}(le):(le instanceof IDBTransaction&&function Ae(le){if(J.has(le))return;const ve=new Promise((Ze,Ge)=>{const bt=()=>{le.removeEventListener("complete",st),le.removeEventListener("error",Oe),le.removeEventListener("abort",Oe)},st=()=>{Ze(),bt()},Oe=()=>{Ge(le.error||new DOMException("AbortError","AbortError")),bt()};le.addEventListener("complete",st),le.addEventListener("error",Oe),le.addEventListener("abort",Oe)});J.set(le,ve)}(le),d(le,function k(){return C||(C=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(le,be):le)}function je(le){if(le instanceof IDBRequest)return function Y(le){const ve=new Promise((Ze,Ge)=>{const bt=()=>{le.removeEventListener("success",st),le.removeEventListener("error",Oe)},st=()=>{Ze(je(le.result)),bt()},Oe=()=>{Ge(le.error),bt()};le.addEventListener("success",st),le.addEventListener("error",Oe)});return ve.then(Ze=>{Ze instanceof IDBCursor&&ce.set(Ze,le)}).catch(()=>{}),Z.set(ve,le),ve}(le);if(R.has(le))return R.get(le);const ve=ye(le);return ve!==le&&(R.set(le,ve),Z.set(ve,le)),ve}const Ke=le=>Z.get(le);function ze(le,ve,{blocked:Ze,upgrade:Ge,blocking:bt,terminated:st}={}){const Oe=indexedDB.open(le,ve),Ye=je(Oe);return Ge&&Oe.addEventListener("upgradeneeded",tt=>{Ge(je(Oe.result),tt.oldVersion,tt.newVersion,je(Oe.transaction))}),Ze&&Oe.addEventListener("blocked",()=>Ze()),Ye.then(tt=>{st&&tt.addEventListener("close",()=>st()),bt&&tt.addEventListener("versionchange",()=>bt())}).catch(()=>{}),Ye}function xe(le,{blocked:ve}={}){const Ze=indexedDB.deleteDatabase(le);return ve&&Ze.addEventListener("blocked",()=>ve()),je(Ze).then(()=>{})}const U=["get","getKey","getAll","getAllKeys","count"],se=["put","add","delete","clear"],q=new Map;function oe(le,ve){if(!(le instanceof IDBDatabase)||ve in le||"string"!=typeof ve)return;if(q.get(ve))return q.get(ve);const Ze=ve.replace(/FromIndex$/,""),Ge=ve!==Ze,bt=se.includes(Ze);if(!(Ze in(Ge?IDBIndex:IDBObjectStore).prototype)||!bt&&!U.includes(Ze))return;const st=function(){var Oe=(0,s.Z)(function*(Ye,...tt){const lt=this.transaction(Ye,bt?"readwrite":"readonly");let vt=lt.store;return Ge&&(vt=vt.index(tt.shift())),(yield Promise.all([vt[Ze](...tt),bt&<.done]))[0]});return function(tt){return Oe.apply(this,arguments)}}();return q.set(ve,st),st}!function Be(le){be=le(be)}(le=>({...le,get:(ve,Ze,Ge)=>oe(ve,Ze)||le.get(ve,Ze,Ge),has:(ve,Ze)=>!!oe(ve,Ze)||le.has(ve,Ze)}))},85421:(yt,Ee,g)=>{g.d(Ee,{Cz:()=>Ke,ys:()=>je});var s=g(15861),d=g(94650),C=g(36895),$=g(69751),k=g(88996),ee=g(39841),ce=g(77579),J=g(95698);function ne(ze,xe,U,se){return new Promise((q,oe)=>{ze||oe("IndexedDB not available");const le=ze.open(xe,U);let ve;le.onsuccess=Ze=>{ve=le.result,q(ve)},le.onerror=Ze=>{oe(`IndexedDB error: ${le.error}`)},"function"==typeof se&&(le.onupgradeneeded=Ze=>{se(Ze,ve)})})}function R(ze,xe,U,se,q){if(!ze)return;const oe=ze.open(xe,U);oe.onupgradeneeded=le=>{const ve=le.target.result;se.forEach(Ge=>{if(!ve.objectStoreNames.contains(Ge.store)){const bt=ve.createObjectStore(Ge.store,Ge.storeConfig);Ge.storeSchema.forEach(st=>{bt.createIndex(st.name,st.keypath,st.options)})}});const Ze=q&&q();Ze&&Object.keys(Ze).map(Ge=>parseInt(Ge,10)).filter(Ge=>Ge>le.oldVersion).sort((Ge,bt)=>Ge-bt).forEach(Ge=>{Ze[Ge](ve,oe.transaction)}),ve.close()},oe.onsuccess=le=>{le.target.result.close()}}function Ae(ze,xe,U){ze||U("You need to use the openDatabase function to create a database before you query it!"),function Y(ze,xe){return ze.objectStoreNames.contains(xe)}(ze,xe)||U(`objectStore does not exists: ${xe}`)}function be(ze,xe){const U=ze.transaction(xe.storeName,xe.dbMode);return U.onerror=xe.error,U.onabort=xe.abort,U}function Be(ze,xe,U,se){return{storeName:xe,dbMode:ze,error:q=>{U(q)},abort:q=>{U(q)}}}var ke=(()=>{return(ze=ke||(ke={})).readonly="readonly",ze.readwrite="readwrite",ke;var ze})();const ye=new d.OlP(null);let je=(()=>{class ze{constructor(U,se){if(this.dbConfig=U,this.platformId=se,!U.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!U.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=(0,C.NF)(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,R(this.indexedDB,U.name,U.version,U.objectStoresMeta,U.migrationFactory),ne(this.indexedDB,U.name).then(q=>{q.version!==U.version&&(this.dbConfig.version=q.version)}))}createObjectStore(U,se){const q=[U];R(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,q,se)}add(U,se,q){return new $.y(oe=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(le=>{const Ze=be(le,Be(ke.readwrite,U,bt=>oe.error(bt))).objectStore(U);(Boolean(q)?Ze.add(se,q):Ze.add(se)).onsuccess=function(){var bt=(0,s.Z)(function*(st){Ze.get(st.target.result).onsuccess=tt=>{oe.next(tt.target.result),oe.complete()}});return function(st){return bt.apply(this,arguments)}}()}).catch(le=>oe.error(le))})}bulkAdd(U,se){const q=new Promise((oe,le)=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ve=>{const Ge=be(ve,Be(ke.readwrite,U,oe)).objectStore(U),bt=se.map(st=>new Promise((Oe,Ye)=>{const tt=st.key;delete st.key,(Boolean(tt)?Ge.add(st,tt):Ge.add(st)).onsuccess=vt=>{Oe(vt.target.result)}}));oe(Promise.all(bt))}).catch(ve=>le(ve))});return(0,k.D)(q)}bulkDelete(U,se){const q=se.map(oe=>new Promise((le,ve)=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ze=>{const Ge=be(Ze,Be(ke.readwrite,U,ve));Ge.objectStore(U).delete(oe),Ge.oncomplete=()=>{this.getAll(U).pipe((0,J.q)(1)).subscribe(st=>{le(st)})}}).catch(Ze=>ve(Ze))}));return(0,k.D)(Promise.all(q))}getByKey(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{const Ze=be(oe,Be(ke.readonly,U,q.error)).objectStore(U).get(se);Ze.onsuccess=Ge=>{q.next(Ge.target.result),q.complete()},Ze.onerror=Ge=>{q.error(Ge)}}).catch(oe=>q.error(oe))})}bulkGet(U,se){const q=se.map(oe=>this.getByKey(U,oe));return new $.y(oe=>{(0,ee.a)(q).subscribe(le=>{oe.next(le),oe.complete()})})}getByID(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{Ae(oe,U,Ge=>q.error(Ge)),be(oe,Be(ke.readonly,U,q.error)).objectStore(U).get(se).onsuccess=Ge=>{q.next(Ge.target.result)}}).catch(oe=>q.error(oe))})}getByIndex(U,se,q){return new $.y(oe=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(le=>{Ae(le,U,st=>oe.error(st)),be(le,Be(ke.readonly,U,oe.error)).objectStore(U).index(se).get(q).onsuccess=st=>{oe.next(st.target.result),oe.complete()}}).catch(le=>oe.error(le))})}getAll(U){return new $.y(se=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(q=>{Ae(q,U,Ze=>se.error(Ze));const ve=be(q,Be(ke.readonly,U,se.error)).objectStore(U).getAll();ve.onerror=Ze=>{se.error(Ze)},ve.onsuccess=({target:{result:Ze}})=>{se.next(Ze),se.complete()}}).catch(q=>se.error(q))})}update(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{Ae(oe,U,Ge=>q.error(Ge));const ve=be(oe,Be(ke.readwrite,U,Ge=>q.error(Ge))).objectStore(U);ve.put(se).onsuccess=function(){var Ge=(0,s.Z)(function*(bt){ve.get(bt.target.result).onsuccess=Ye=>{q.next(Ye.target.result),q.complete()}});return function(bt){return Ge.apply(this,arguments)}}()}).catch(oe=>q.error(oe))})}delete(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{Ae(oe,U,Ze=>q.error(Ze));const le=be(oe,Be(ke.readwrite,U,Ze=>q.error(Ze)));le.objectStore(U).delete(se),le.oncomplete=()=>{this.getAll(U).pipe((0,J.q)(1)).subscribe(Ze=>{q.next(Ze),q.complete()})}}).catch(oe=>q.error(oe))})}deleteByKey(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{Ae(oe,U,Ze=>q.error(Ze));const le=be(oe,Be(ke.readwrite,U,Ze=>q.error(Ze))),ve=le.objectStore(U);le.oncomplete=()=>{q.next(!0),q.complete()},ve.delete(se)}).catch(oe=>q.error(oe))})}clear(U){return new $.y(se=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(q=>{Ae(q,U,ve=>se.error(ve));const oe=be(q,Be(ke.readwrite,U,ve=>se.error(ve)));oe.objectStore(U).clear(),oe.oncomplete=()=>{se.next(!0),se.complete()}}).catch(q=>se.error(q))})}deleteDatabase(){var U=this;return new $.y(se=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(function(){var q=(0,s.Z)(function*(oe){yield oe.close();const le=U.indexedDB.deleteDatabase(U.dbConfig.name);le.onsuccess=()=>{se.next(!0),se.complete()},le.onerror=ve=>se.error(ve),le.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}});return function(oe){return q.apply(this,arguments)}}()).catch(q=>se.error(q))})}openCursor(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{Ae(oe,U,Ge=>q.error(Ge));const ve=be(oe,Be(ke.readonly,U,q.error)).objectStore(U);(void 0===se?ve.openCursor():ve.openCursor(se)).onsuccess=Ge=>{q.next(Ge),q.complete()}}).catch(oe=>q.error(oe))})}openCursorByIndex(U,se,q,oe=ke.readonly){const le=new ce.x;return ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ve=>{Ae(ve,U,Oe=>{le.error(Oe)}),be(ve,Be(oe,U,Oe=>{le.error(Oe)})).objectStore(U).index(se).openCursor(q).onsuccess=Oe=>{le.next(Oe)}}).catch(ve=>le.error(ve)),le}getAllByIndex(U,se,q){const oe=[];return new $.y(le=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ve=>{Ae(ve,U,Oe=>le.error(Oe)),be(ve,Be(ke.readonly,U,le.error)).objectStore(U).index(se).openCursor(q).onsuccess=Oe=>{const Ye=Oe.target.result;Ye?(oe.push(Ye.value),Ye.continue()):(le.next(oe),le.complete())}}).catch(ve=>le.error(ve))})}getAllKeysByIndex(U,se,q){const oe=[];return new $.y(le=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ve=>{Ae(ve,U,Oe=>le.error(Oe)),be(ve,Be(ke.readonly,U,le.error)).objectStore(U).index(se).openKeyCursor(q).onsuccess=Oe=>{const Ye=Oe.target.result;Ye?(oe.push({primaryKey:Ye.primaryKey,key:Ye.key}),Ye.continue()):(le.next(oe),le.complete())}}).catch(ve=>le.error(ve))})}count(U,se){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{Ae(oe,U,Ge=>q.error(Ge));const Ze=be(oe,Be(ke.readonly,U,q.error)).objectStore(U).count(se);Ze.onerror=Ge=>q.error(Ge),Ze.onsuccess=Ge=>{q.next(Ge.target.result),q.complete()}}).catch(oe=>q.error(oe))})}countByIndex(U,se,q){return new $.y(oe=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(le=>{Ae(le,U,st=>oe.error(st));const bt=be(le,Be(ke.readonly,U,oe.error)).objectStore(U).index(se).count(q);bt.onerror=st=>oe.error(st),bt.onsuccess=st=>{oe.next(st.target.result),oe.complete()}}).catch(le=>oe.error(le))})}deleteObjectStore(U){return function Z(ze,xe,U){if(!ze||!xe||!U)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new $.y(se=>{try{const oe=indexedDB.open(ze,xe+1);oe.onupgradeneeded=le=>{const ve=le.target.result;ve.deleteObjectStore(U),ve.close(),console.log("onupgradeneeded"),se.next(!0),se.complete()},oe.onerror=le=>se.error(le)}catch(q){se.error(q)}})}(this.dbConfig.name,++this.dbConfig.version,U)}}return ze.\u0275fac=function(U){return new(U||ze)(d.LFG(ye),d.LFG(d.Lbi))},ze.\u0275prov=d.Yz7({token:ze,factory:ze.\u0275fac}),ze})(),Ke=(()=>{class ze{static forRoot(U){return{ngModule:ze,providers:[je,{provide:ye,useValue:U}]}}}return ze.\u0275fac=function(U){return new(U||ze)},ze.\u0275mod=d.oAB({type:ze}),ze.\u0275inj=d.cJS({imports:[C.ez]}),ze})()},97185:(yt,Ee,g)=>{g.d(Ee,{FN:()=>Oe,PR:()=>q,Rh:()=>tt,_W:()=>st});var s=g(94650),d=g(37340),C=g(77579),$=g(36895),k=g(11481);const ee=["toast-component",""];function ce(fe,G){if(1&fe){const w=s.EpF();s.TgZ(0,"button",5),s.NdJ("click",function(){s.CHM(w);const De=s.oxw();return s.KtG(De.remove())}),s.TgZ(1,"span",6),s._uU(2,"\xd7"),s.qZA()()}}function J(fe,G){if(1&fe&&(s.ynx(0),s._uU(1),s.BQk()),2&fe){const w=s.oxw(2);s.xp6(1),s.hij("[",w.duplicatesCount+1,"]")}}function ne(fe,G){if(1&fe&&(s.TgZ(0,"div"),s._uU(1),s.YNc(2,J,2,1,"ng-container",4),s.qZA()),2&fe){const w=s.oxw();s.Tol(w.options.titleClass),s.uIk("aria-label",w.title),s.xp6(1),s.hij(" ",w.title," "),s.xp6(1),s.Q6J("ngIf",w.duplicatesCount)}}function R(fe,G){if(1&fe&&s._UZ(0,"div",7),2&fe){const w=s.oxw();s.Tol(w.options.messageClass),s.Q6J("innerHTML",w.message,s.oJD)}}function Z(fe,G){if(1&fe&&(s.TgZ(0,"div",8),s._uU(1),s.qZA()),2&fe){const w=s.oxw();s.Tol(w.options.messageClass),s.uIk("aria-label",w.message),s.xp6(1),s.hij(" ",w.message," ")}}function Y(fe,G){if(1&fe&&(s.TgZ(0,"div"),s._UZ(1,"div",9),s.qZA()),2&fe){const w=s.oxw();s.xp6(1),s.Udp("width",w.width+"%")}}class xe{constructor(G,w){this.component=G,this.injector=w}attach(G,w){return this._attachedHost=G,G.attach(this,w)}detach(){const G=this._attachedHost;if(G)return this._attachedHost=void 0,G.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(G){this._attachedHost=G}}class U{attach(G,w){return this._attachedPortal=G,this.attachComponentPortal(G,w)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(G){this._disposeFn=G}}class se{constructor(G){this._overlayRef=G,this.duplicatesCount=0,this._afterClosed=new C.x,this._activate=new C.x,this._manualClose=new C.x,this._resetTimeout=new C.x,this._countDuplicate=new C.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(G,w){G&&this._resetTimeout.next(),w&&this._countDuplicate.next(++this.duplicatesCount)}}class q{constructor(G,w,K,De,et,Mt){this.toastId=G,this.config=w,this.message=K,this.title=De,this.toastType=et,this.toastRef=Mt,this._onTap=new C.x,this._onAction=new C.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(G){this._onAction.next(G)}onAction(){return this._onAction.asObservable()}}const le=new s.OlP("ToastConfig");class ve extends U{constructor(G,w,K){super(),this._hostDomElement=G,this._componentFactoryResolver=w,this._appRef=K}attachComponentPortal(G,w){const K=this._componentFactoryResolver.resolveComponentFactory(G.component);let De;return De=K.create(G.injector),this._appRef.attachView(De.hostView),this.setDisposeFn(()=>{this._appRef.detachView(De.hostView),De.destroy()}),w?this._hostDomElement.insertBefore(this._getComponentRootNode(De),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(De)),De}_getComponentRootNode(G){return G.hostView.rootNodes[0]}}class Ze{constructor(G){this._portalHost=G}attach(G,w=!0){return this._portalHost.attach(G,w)}detach(){return this._portalHost.detach()}}let Ge=(()=>{class fe{constructor(w){this._document=w}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const w=this._document.createElement("div");w.classList.add("overlay-container"),w.setAttribute("aria-live","polite"),this._document.body.appendChild(w),this._containerElement=w}}return fe.\u0275fac=function(w){return new(w||fe)(s.LFG($.K0))},fe.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),bt=(()=>{class fe{constructor(w,K,De,et){this._overlayContainer=w,this._componentFactoryResolver=K,this._appRef=De,this._document=et,this._paneElements=new Map}create(w,K){return this._createOverlayRef(this.getPaneElement(w,K))}getPaneElement(w="",K){return this._paneElements.get(K)||this._paneElements.set(K,{}),this._paneElements.get(K)[w]||(this._paneElements.get(K)[w]=this._createPaneElement(w,K)),this._paneElements.get(K)[w]}_createPaneElement(w,K){const De=this._document.createElement("div");return De.id="toast-container",De.classList.add(w),De.classList.add("toast-container"),K?K.getContainerElement().appendChild(De):this._overlayContainer.getContainerElement().appendChild(De),De}_createPortalHost(w){return new ve(w,this._componentFactoryResolver,this._appRef)}_createOverlayRef(w){return new Ze(this._createPortalHost(w))}}return fe.\u0275fac=function(w){return new(w||fe)(s.LFG(Ge),s.LFG(s._Vd),s.LFG(s.z2F),s.LFG($.K0))},fe.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),st=(()=>{class fe{constructor(w,K,De,et,Mt){this.overlay=K,this._injector=De,this.sanitizer=et,this.ngZone=Mt,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...w.default,...w.config},w.config.iconClasses&&(this.toastrConfig.iconClasses={...w.default.iconClasses,...w.config.iconClasses})}show(w,K,De={},et=""){return this._preBuildNotification(et,w,K,this.applyConfig(De))}success(w,K,De={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",w,K,this.applyConfig(De))}error(w,K,De={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",w,K,this.applyConfig(De))}info(w,K,De={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",w,K,this.applyConfig(De))}warning(w,K,De={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",w,K,this.applyConfig(De))}clear(w){for(const K of this.toasts)if(void 0!==w){if(K.toastId===w)return void K.toastRef.manualClose()}else K.toastRef.manualClose()}remove(w){const K=this._findToast(w);if(!K||(K.activeToast.toastRef.close(),this.toasts.splice(K.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const De=this.toasts[this.currentlyActive].toastRef;De.isInactive()||(this.currentlyActive=this.currentlyActive+1,De.activate())}return!0}findDuplicate(w="",K="",De,et){const{includeTitleDuplicates:Mt}=this.toastrConfig;for(const xt of this.toasts)if((!Mt||Mt&&xt.title===w)&&xt.message===K)return xt.toastRef.onDuplicate(De,et),xt;return null}applyConfig(w={}){return{...this.toastrConfig,...w}}_findToast(w){for(let K=0;K<this.toasts.length;K++)if(this.toasts[K].toastId===w)return{index:K,activeToast:this.toasts[K]};return null}_preBuildNotification(w,K,De,et){return et.onActivateTick?this.ngZone.run(()=>this._buildNotification(w,K,De,et)):this._buildNotification(w,K,De,et)}_buildNotification(w,K,De,et){if(!et.toastComponent)throw new Error("toastComponent required");const Mt=this.findDuplicate(De,K,this.toastrConfig.resetTimeoutOnDuplicate&&et.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&De||K)&&this.toastrConfig.preventDuplicates&&null!==Mt)return Mt;this.previousToastMessage=K;let xt=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(xt=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Lt=this.overlay.create(et.positionClass,this.overlayContainer);this.index=this.index+1;let Kt=K;K&&et.enableHtml&&(Kt=this.sanitizer.sanitize(s.q3G.HTML,K));const hn=new se(Lt),mn=new q(this.index,et,Kt,De,w,hn),bn=s.zs3.create({providers:[{provide:q,useValue:mn}],parent:this._injector}),Pn=new xe(et.toastComponent,bn),ln=Lt.attach(Pn,et.newestOnTop);hn.componentInstance=ln.instance;const yn={toastId:this.index,title:De||"",message:K||"",toastRef:hn,onShown:hn.afterActivate(),onHidden:hn.afterClosed(),onTap:mn.onTap(),onAction:mn.onAction(),portal:ln};return xt||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{yn.toastRef.activate()})),this.toasts.push(yn),yn}}return fe.\u0275fac=function(w){return new(w||fe)(s.LFG(le),s.LFG(bt),s.LFG(s.zs3),s.LFG(k.H7),s.LFG(s.R0b))},fe.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),Oe=(()=>{class fe{constructor(w,K,De){this.toastrService=w,this.toastPackage=K,this.ngZone=De,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=K.message,this.title=K.title,this.options=K.config,this.originalTimeout=K.config.timeOut,this.toastClasses=`${K.toastType} ${K.config.toastClass}`,this.sub=K.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=K.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=K.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=K.toastRef.countDuplicate().subscribe(et=>{this.duplicatesCount=et})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const w=(new Date).getTime();this.width=(this.hideTime-w)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(w,K){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(w),K)):this.timeout=setTimeout(()=>w(),K)}outsideInterval(w,K){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(w),K)):this.intervalId=setInterval(()=>w(),K)}runInsideAngular(w){this.ngZone?this.ngZone.run(()=>w()):w()}}return fe.\u0275fac=function(w){return new(w||fe)(s.Y36(st),s.Y36(q),s.Y36(s.R0b))},fe.\u0275cmp=s.Xpm({type:fe,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(w,K){1&w&&s.NdJ("click",function(){return K.tapToast()})("mouseenter",function(){return K.stickAround()})("mouseleave",function(){return K.delayedHideToast()}),2&w&&(s.d8E("@flyInOut",K.state),s.Tol(K.toastClasses),s.Udp("display",K.displayStyle))},attrs:ee,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(w,K){1&w&&(s.YNc(0,ce,3,0,"button",0),s.YNc(1,ne,3,5,"div",1),s.YNc(2,R,1,3,"div",2),s.YNc(3,Z,2,4,"div",3),s.YNc(4,Y,2,2,"div",4)),2&w&&(s.Q6J("ngIf",K.options.closeButton),s.xp6(1),s.Q6J("ngIf",K.title),s.xp6(1),s.Q6J("ngIf",K.message&&K.options.enableHtml),s.xp6(1),s.Q6J("ngIf",K.message&&!K.options.enableHtml),s.xp6(1),s.Q6J("ngIf",K.options.progressBar))},dependencies:[$.O5],encapsulation:2,data:{animation:[(0,d.X$)("flyInOut",[(0,d.SB)("inactive",(0,d.oB)({opacity:0})),(0,d.SB)("active",(0,d.oB)({opacity:1})),(0,d.SB)("removed",(0,d.oB)({opacity:0})),(0,d.eR)("inactive => active",(0,d.jt)("{{ easeTime }}ms {{ easing }}")),(0,d.eR)("active => removed",(0,d.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),fe})();const Ye={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:Oe};let tt=(()=>{class fe{static forRoot(w={}){return{ngModule:fe,providers:[{provide:le,useValue:{default:Ye,config:w}}]}}}return fe.\u0275fac=function(w){return new(w||fe)},fe.\u0275mod=s.oAB({type:fe}),fe.\u0275inj=s.cJS({imports:[$.ez]}),fe})()},15861:(yt,Ee,g)=>{function s(C,$,k,ee,ce,J,ne){try{var R=C[J](ne),Z=R.value}catch(Y){return void k(Y)}R.done?$(Z):Promise.resolve(Z).then(ee,ce)}function d(C){return function(){var $=this,k=arguments;return new Promise(function(ee,ce){var J=C.apply($,k);function ne(Z){s(J,ee,ce,ne,R,"next",Z)}function R(Z){s(J,ee,ce,ne,R,"throw",Z)}ne(void 0)})}}g.d(Ee,{Z:()=>d})},81180:(yt,Ee,g)=>{function s(k){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ee){return typeof ee}:function(ee){return ee&&"function"==typeof Symbol&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee})(k)}function $(k,ee,ce){return(ee=function C(k){var ee=function d(k,ee){if("object"!==s(k)||null===k)return k;var ce=k[Symbol.toPrimitive];if(void 0!==ce){var J=ce.call(k,ee||"default");if("object"!==s(J))return J;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===ee?String:Number)(k)}(k,"string");return"symbol"===s(ee)?ee:String(ee)}(ee))in k?Object.defineProperty(k,ee,{value:ce,enumerable:!0,configurable:!0,writable:!0}):k[ee]=ce,k}g.d(Ee,{Z:()=>$})}},yt=>{yt(yt.s=32022)}]);
|