(self.webpackChunkdexam=self.webpackChunkdexam||[]).push([[179],{9698:(Nt,Se,R)=>{"use strict";R.d(Se,{U:()=>oe,k:()=>j});var o=R(2223);const j=new o.OlP("Configuration File Settings"),oe=new o.OlP("Web API Server URL with trailing forward slash")},9997:(Nt,Se,R)=>{"use strict";var o=R(6550),j=R(2223),oe=R(1591);function ne(O){return new j.vHH(3e3,!1)}function Qe(O){switch(O.length){case 0:return new oe.ZN;case 1:return O[0];default:return new oe.ZE(O)}}function St(O,h,g=new Map,C=new Map){const P=[],H=[];let Q=-1,ee=null;if(h.forEach(Ee=>{const Ge=Ee.get("offset"),yt=Ge==Q,Mt=yt&&ee||new Map;Ee.forEach((Mn,cn)=>{let Kt=cn,Gt=Mn;if("offset"!==cn)switch(Kt=O.normalizePropertyName(Kt,P),Gt){case oe.k1:Gt=g.get(cn);break;case oe.l3:Gt=C.get(cn);break;default:Gt=O.normalizeStyleValue(cn,Kt,Gt,P)}Mt.set(Kt,Gt)}),yt||H.push(Mt),ee=Mt,Q=Ge}),P.length)throw function Vt(O){return new j.vHH(3502,!1)}();return H}function Pt(O,h,g,C){switch(h){case"start":O.onStart(()=>C(g&&kt(g,"start",O)));break;case"done":O.onDone(()=>C(g&&kt(g,"done",O)));break;case"destroy":O.onDestroy(()=>C(g&&kt(g,"destroy",O)))}}function kt(O,h,g){const H=_t(O.element,O.triggerName,O.fromState,O.toState,h||O.phaseName,g.totalTime??O.totalTime,!!g.disabled),Q=O._data;return null!=Q&&(H._data=Q),H}function _t(O,h,g,C,P="",H=0,Q){return{element:O,triggerName:h,fromState:g,toState:C,phaseName:P,totalTime:H,disabled:!!Q}}function tt(O,h,g){let C=O.get(h);return C||O.set(h,C=g),C}function qt(O){const h=O.indexOf(":");return[O.substring(1,h),O.slice(h+1)]}const fn=(()=>typeof document>"u"?null:document.documentElement)();function bn(O){const h=O.parentNode||O.host||null;return h===fn?null:h}let he=null,J=!1;function pt(O,h){for(;h;){if(h===O)return!0;h=bn(h)}return!1}function Qt(O,h,g){if(g)return Array.from(O.querySelectorAll(h));const C=O.querySelector(h);return C?[C]:[]}let ut=(()=>{class O{validateStyleProperty(g){return function Ne(O){he||(he=function ot(){return typeof document<"u"?document.body:null}()||{},J=!!he.style&&"WebkitAppearance"in he.style);let h=!0;return he.style&&!function mn(O){return"ebkit"==O.substring(1,6)}(O)&&(h=O in he.style,!h&&J&&(h="Webkit"+O.charAt(0).toUpperCase()+O.slice(1)in he.style)),h}(g)}matchesElement(g,C){return!1}containsElement(g,C){return pt(g,C)}getParentElement(g){return bn(g)}query(g,C,P){return Qt(g,C,P)}computeStyle(g,C,P){return P||""}animate(g,C,P,H,Q,ee=[],Ee){return new oe.ZN(P,H)}}return O.\u0275fac=function(g){return new(g||O)},O.\u0275prov=j.Yz7({token:O,factory:O.\u0275fac}),O})(),Dt=(()=>{class O{}return O.NOOP=new ut,O})();const hn=1e3,pn="ng-enter",In="ng-leave",Yi="ng-trigger",It=".ng-trigger",_n="ng-animating",en=".ng-animating";function Rn(O){if("number"==typeof O)return O;const h=O.match(/^(-?[\.\d]+)(m?s)/);return!h||h.length<2?0:pi(parseFloat(h[1]),h[2])}function pi(O,h){return"s"===h?O*hn:O}function tn(O,h,g){return O.hasOwnProperty("duration")?O:function Di(O,h,g){let P,H=0,Q="";if("string"==typeof O){const ee=O.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ee)return h.push(ne()),{duration:0,delay:0,easing:""};P=pi(parseFloat(ee[1]),ee[2]);const Ee=ee[3];null!=Ee&&(H=pi(parseFloat(Ee),ee[4]));const Ge=ee[5];Ge&&(Q=Ge)}else P=O;if(!g){let ee=!1,Ee=h.length;P<0&&(h.push(function ie(){return new j.vHH(3100,!1)}()),ee=!0),H<0&&(h.push(function we(){return new j.vHH(3101,!1)}()),ee=!0),ee&&h.splice(Ee,0,ne())}return{duration:P,delay:H,easing:Q}}(O,h,g)}function Ei(O,h={}){return Object.keys(O).forEach(g=>{h[g]=O[g]}),h}function Jn(O){const h=new Map;return Object.keys(O).forEach(g=>{h.set(g,O[g])}),h}function jn(O,h=new Map,g){if(g)for(let[C,P]of g)h.set(C,P);for(let[C,P]of O)h.set(C,P);return h}function vn(O,h,g){h.forEach((C,P)=>{const H=U(P);g&&!g.has(P)&&g.set(P,O.style[H]),O.style[H]=C})}function $n(O,h){h.forEach((g,C)=>{const P=U(C);O.style[P]=""})}function nn(O){return Array.isArray(O)?1==O.length?O[0]:(0,oe.vP)(O):O}const Pe=new RegExp("{{\\s*(.+?)\\s*}}","g");function se(O){let h=[];if("string"==typeof O){let g;for(;g=Pe.exec(O);)h.push(g[1]);Pe.lastIndex=0}return h}function W(O,h,g){const C=O.toString(),P=C.replace(Pe,(H,Q)=>{let ee=h[Q];return null==ee&&(g.push(function Ie(O){return new j.vHH(3003,!1)}()),ee=""),ee.toString()});return P==C?O:P}function ge(O){const h=[];let g=O.next();for(;!g.done;)h.push(g.value),g=O.next();return h}const q=/-+([a-z0-9])/g;function U(O){return O.replace(q,(...h)=>h[1].toUpperCase())}function ke(O,h,g){switch(h.type){case 7:return O.visitTrigger(h,g);case 0:return O.visitState(h,g);case 1:return O.visitTransition(h,g);case 2:return O.visitSequence(h,g);case 3:return O.visitGroup(h,g);case 4:return O.visitAnimate(h,g);case 5:return O.visitKeyframes(h,g);case 6:return O.visitStyle(h,g);case 8:return O.visitReference(h,g);case 9:return O.visitAnimateChild(h,g);case 10:return O.visitAnimateRef(h,g);case 11:return O.visitQuery(h,g);case 12:return O.visitStagger(h,g);default:throw function le(O){return new j.vHH(3004,!1)}()}}function lt(O,h){return window.getComputedStyle(O)[h]}const ti="*";function ji(O,h){const g=[];return"string"==typeof O?O.split(/\s*,\s*/).forEach(C=>function Tn(O,h,g){if(":"==O[0]){const Ee=function ln(O,h){switch(O){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(g,C)=>parseFloat(C)>parseFloat(g);case":decrement":return(g,C)=>parseFloat(C)<parseFloat(g);default:return h.push(function me(O){return new j.vHH(3016,!1)}()),"* => *"}}(O,g);if("function"==typeof Ee)return void h.push(Ee);O=Ee}const C=O.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==C||C.length<4)return g.push(function pe(O){return new j.vHH(3015,!1)}()),h;const P=C[1],H=C[2],Q=C[3];h.push(ii(P,Q));"<"==H[0]&&!(P==ti&&Q==ti)&&h.push(ii(Q,P))}(C,g,h)):g.push(O),g}const ni=new Set(["true","1"]),$i=new Set(["false","0"]);function ii(O,h){const g=ni.has(O)||$i.has(O),C=ni.has(h)||$i.has(h);return(P,H)=>{let Q=O==ti||O==P,ee=h==ti||h==H;return!Q&&g&&"boolean"==typeof P&&(Q=P?ni.has(O):$i.has(O)),!ee&&C&&"boolean"==typeof H&&(ee=H?ni.has(h):$i.has(h)),Q&&ee}}const ri=new RegExp("s*:selfs*,?","g");function Pi(O,h,g,C){return new Gn(O).build(h,g,C)}class Gn{constructor(h){this._driver=h}build(h,g,C){const P=new gr(g);return this._resetContextStyleTimingState(P),ke(this,nn(h),P)}_resetContextStyleTimingState(h){h.currentQuerySelector="",h.collectedStyles=new Map,h.collectedStyles.set("",new Map),h.currentTime=0}visitTrigger(h,g){let C=g.queryCount=0,P=g.depCount=0;const H=[],Q=[];return"@"==h.name.charAt(0)&&g.errors.push(function ue(){return new j.vHH(3006,!1)}()),h.definitions.forEach(ee=>{if(this._resetContextStyleTimingState(g),0==ee.type){const Ee=ee,Ge=Ee.name;Ge.toString().split(/\s*,\s*/).forEach(yt=>{Ee.name=yt,H.push(this.visitState(Ee,g))}),Ee.name=Ge}else if(1==ee.type){const Ee=this.visitTransition(ee,g);C+=Ee.queryCount,P+=Ee.depCount,Q.push(Ee)}else g.errors.push(function Fe(){return new j.vHH(3007,!1)}())}),{type:7,name:h.name,states:H,transitions:Q,queryCount:C,depCount:P,options:null}}visitState(h,g){const C=this.visitStyle(h.styles,g),P=h.options&&h.options.params||null;if(C.containsDynamicStyles){const H=new Set,Q=P||{};C.styles.forEach(ee=>{ee instanceof Map&&ee.forEach(Ee=>{se(Ee).forEach(Ge=>{Q.hasOwnProperty(Ge)||H.add(Ge)})})}),H.size&&(ge(H.values()),g.errors.push(function Re(O,h){return new j.vHH(3008,!1)}()))}return{type:0,name:h.name,style:C,options:P?{params:P}:null}}visitTransition(h,g){g.queryCount=0,g.depCount=0;const C=ke(this,nn(h.animation),g);return{type:1,matchers:ji(h.expr,g.errors),animation:C,queryCount:g.queryCount,depCount:g.depCount,options:qi(h.options)}}visitSequence(h,g){return{type:2,steps:h.steps.map(C=>ke(this,C,g)),options:qi(h.options)}}visitGroup(h,g){const C=g.currentTime;let P=0;const H=h.steps.map(Q=>{g.currentTime=C;const ee=ke(this,Q,g);return P=Math.max(P,g.currentTime),ee});return g.currentTime=P,{type:3,steps:H,options:qi(h.options)}}visitAnimate(h,g){const C=function lo(O,h){if(O.hasOwnProperty("duration"))return O;if("number"==typeof O)return Qn(tn(O,h).duration,0,"");const g=O;if(g.split(/\s+/).some(H=>"{"==H.charAt(0)&&"{"==H.charAt(1))){const H=Qn(0,0,"");return H.dynamic=!0,H.strValue=g,H}const P=tn(g,h);return Qn(P.duration,P.delay,P.easing)}(h.timings,g.errors);g.currentAnimateTimings=C;let P,H=h.styles?h.styles:(0,oe.oB)({});if(5==H.type)P=this.visitKeyframes(H,g);else{let Q=h.styles,ee=!1;if(!Q){ee=!0;const Ge={};C.easing&&(Ge.easing=C.easing),Q=(0,oe.oB)(Ge)}g.currentTime+=C.duration+C.delay;const Ee=this.visitStyle(Q,g);Ee.isEmptyStep=ee,P=Ee}return g.currentAnimateTimings=null,{type:4,timings:C,style:P,options:null}}visitStyle(h,g){const C=this._makeStyleAst(h,g);return this._validateStyleAst(C,g),C}_makeStyleAst(h,g){const C=[],P=Array.isArray(h.styles)?h.styles:[h.styles];for(let ee of P)"string"==typeof ee?ee===oe.l3?C.push(ee):g.errors.push(new j.vHH(3002,!1)):C.push(Jn(ee));let H=!1,Q=null;return C.forEach(ee=>{if(ee instanceof Map&&(ee.has("easing")&&(Q=ee.get("easing"),ee.delete("easing")),!H))for(let Ee of ee.values())if(Ee.toString().indexOf("{{")>=0){H=!0;break}}),{type:6,styles:C,easing:Q,offset:h.offset,containsDynamicStyles:H,options:null}}_validateStyleAst(h,g){const C=g.currentAnimateTimings;let P=g.currentTime,H=g.currentTime;C&&H>0&&(H-=C.duration+C.delay),h.styles.forEach(Q=>{"string"!=typeof Q&&Q.forEach((ee,Ee)=>{const Ge=g.collectedStyles.get(g.currentQuerySelector),yt=Ge.get(Ee);let Mt=!0;yt&&(H!=P&&H>=yt.startTime&&P<=yt.endTime&&(g.errors.push(function Ct(O,h,g,C,P){return new j.vHH(3010,!1)}()),Mt=!1),H=yt.startTime),Mt&&Ge.set(Ee,{startTime:H,endTime:P}),g.options&&function gi(O,h,g){const C=h.params||{},P=se(O);P.length&&P.forEach(H=>{C.hasOwnProperty(H)||g.push(function $e(O){return new j.vHH(3001,!1)}())})}(ee,g.options,g.errors)})})}visitKeyframes(h,g){const C={type:5,styles:[],options:null};if(!g.currentAnimateTimings)return g.errors.push(function xt(){return new j.vHH(3011,!1)}()),C;let H=0;const Q=[];let ee=!1,Ee=!1,Ge=0;const yt=h.steps.map(Mi=>{const un=this._makeStyleAst(Mi,g);let yr=null!=un.offset?un.offset:function Hr(O){if("string"==typeof O)return null;let h=null;if(Array.isArray(O))O.forEach(g=>{if(g instanceof Map&&g.has("offset")){const C=g;h=parseFloat(C.get("offset")),C.delete("offset")}});else if(O instanceof Map&&O.has("offset")){const g=O;h=parseFloat(g.get("offset")),g.delete("offset")}return h}(un.styles),Ni=0;return null!=yr&&(H++,Ni=un.offset=yr),Ee=Ee||Ni<0||Ni>1,ee=ee||Ni<Ge,Ge=Ni,Q.push(Ni),un});Ee&&g.errors.push(function ft(){return new j.vHH(3012,!1)}()),ee&&g.errors.push(function Ht(){return new j.vHH(3200,!1)}());const Mt=h.steps.length;let Mn=0;H>0&&H<Mt?g.errors.push(function X(){return new j.vHH(3202,!1)}()):0==H&&(Mn=1/(Mt-1));const cn=Mt-1,Kt=g.currentTime,Gt=g.currentAnimateTimings,fi=Gt.duration;return yt.forEach((Mi,un)=>{const yr=Mn>0?un==cn?1:Mn*un:Q[un],Ni=yr*fi;g.currentTime=Kt+Gt.delay+Ni,Gt.duration=Ni,this._validateStyleAst(Mi,g),Mi.offset=yr,C.styles.push(Mi)}),C}visitReference(h,g){return{type:8,animation:ke(this,nn(h.animation),g),options:qi(h.options)}}visitAnimateChild(h,g){return g.depCount++,{type:9,options:qi(h.options)}}visitAnimateRef(h,g){return{type:10,animation:this.visitReference(h.animation,g),options:qi(h.options)}}visitQuery(h,g){const C=g.currentQuerySelector,P=h.options||{};g.queryCount++,g.currentQuery=h;const[H,Q]=function wr(O){const h=!!O.split(/\s*,\s*/).find(g=>":self"==g);return h&&(O=O.replace(ri,"")),O=O.replace(/@\*/g,It).replace(/@\w+/g,g=>It+"-"+g.slice(1)).replace(/:animating/g,en),[O,h]}(h.selector);g.currentQuerySelector=C.length?C+" "+H:H,tt(g.collectedStyles,g.currentQuerySelector,new Map);const ee=ke(this,nn(h.animation),g);return g.currentQuery=null,g.currentQuerySelector=C,{type:11,selector:H,limit:P.limit||0,optional:!!P.optional,includeSelf:Q,animation:ee,originalSelector:h.selector,options:qi(h.options)}}visitStagger(h,g){g.currentQuery||g.errors.push(function re(){return new j.vHH(3013,!1)}());const C="full"===h.timings?{duration:0,delay:0,easing:"full"}:tn(h.timings,g.errors,!0);return{type:12,animation:ke(this,nn(h.animation),g),timings:C,options:null}}}class gr{constructor(h){this.errors=h,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 qi(O){return O?(O=Ei(O)).params&&(O.params=function wi(O){return O?Ei(O):null}(O.params)):O={},O}function Qn(O,h,g){return{duration:O,delay:h,easing:g}}function Pr(O,h,g,C,P,H,Q=null,ee=!1){return{type:1,element:O,keyframes:h,preStyleProps:g,postStyleProps:C,duration:P,delay:H,totalTime:P+H,easing:Q,subTimeline:ee}}class mr{constructor(){this._map=new Map}get(h){return this._map.get(h)||[]}append(h,g){let C=this._map.get(h);C||this._map.set(h,C=[]),C.push(...g)}has(h){return this._map.has(h)}clear(){this._map.clear()}}const Cr=new RegExp(":enter","g"),Ci=new RegExp(":leave","g");function lr(O,h,g,C,P,H=new Map,Q=new Map,ee,Ee,Ge=[]){return(new _r).buildKeyframes(O,h,g,C,P,H,Q,ee,Ee,Ge)}class _r{buildKeyframes(h,g,C,P,H,Q,ee,Ee,Ge,yt=[]){Ge=Ge||new mr;const Mt=new Ui(h,g,Ge,P,H,yt,[]);Mt.options=Ee;const Mn=Ee.delay?Rn(Ee.delay):0;Mt.currentTimeline.delayNextStep(Mn),Mt.currentTimeline.setStyles([Q],null,Mt.errors,Ee),ke(this,C,Mt);const cn=Mt.timelines.filter(Kt=>Kt.containsAnimation());if(cn.length&&ee.size){let Kt;for(let Gt=cn.length-1;Gt>=0;Gt--){const fi=cn[Gt];if(fi.element===g){Kt=fi;break}}Kt&&!Kt.allowOnlyTimelineStyles()&&Kt.setStyles([ee],null,Mt.errors,Ee)}return cn.length?cn.map(Kt=>Kt.buildKeyframes()):[Pr(g,[],[],[],0,Mn,"",!1)]}visitTrigger(h,g){}visitState(h,g){}visitTransition(h,g){}visitAnimateChild(h,g){const C=g.subInstructions.get(g.element);if(C){const P=g.createSubContext(h.options),H=g.currentTimeline.currentTime,Q=this._visitSubInstructions(C,P,P.options);H!=Q&&g.transformIntoNewTimeline(Q)}g.previousNode=h}visitAnimateRef(h,g){const C=g.createSubContext(h.options);C.transformIntoNewTimeline(),this._applyAnimationRefDelays([h.options,h.animation.options],g,C),this.visitReference(h.animation,C),g.transformIntoNewTimeline(C.currentTimeline.currentTime),g.previousNode=h}_applyAnimationRefDelays(h,g,C){for(const P of h){const H=P?.delay;if(H){const Q="number"==typeof H?H:Rn(W(H,P?.params??{},g.errors));C.delayNextStep(Q)}}}_visitSubInstructions(h,g,C){let H=g.currentTimeline.currentTime;const Q=null!=C.duration?Rn(C.duration):null,ee=null!=C.delay?Rn(C.delay):null;return 0!==Q&&h.forEach(Ee=>{const Ge=g.appendInstructionToTimeline(Ee,Q,ee);H=Math.max(H,Ge.duration+Ge.delay)}),H}visitReference(h,g){g.updateOptions(h.options,!0),ke(this,h.animation,g),g.previousNode=h}visitSequence(h,g){const C=g.subContextCount;let P=g;const H=h.options;if(H&&(H.params||H.delay)&&(P=g.createSubContext(H),P.transformIntoNewTimeline(),null!=H.delay)){6==P.previousNode.type&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=Zi);const Q=Rn(H.delay);P.delayNextStep(Q)}h.steps.length&&(h.steps.forEach(Q=>ke(this,Q,P)),P.currentTimeline.applyStylesToKeyframe(),P.subContextCount>C&&P.transformIntoNewTimeline()),g.previousNode=h}visitGroup(h,g){const C=[];let P=g.currentTimeline.currentTime;const H=h.options&&h.options.delay?Rn(h.options.delay):0;h.steps.forEach(Q=>{const ee=g.createSubContext(h.options);H&&ee.delayNextStep(H),ke(this,Q,ee),P=Math.max(P,ee.currentTimeline.currentTime),C.push(ee.currentTimeline)}),C.forEach(Q=>g.currentTimeline.mergeTimelineCollectedStyles(Q)),g.transformIntoNewTimeline(P),g.previousNode=h}_visitTiming(h,g){if(h.dynamic){const C=h.strValue;return tn(g.params?W(C,g.params,g.errors):C,g.errors)}return{duration:h.duration,delay:h.delay,easing:h.easing}}visitAnimate(h,g){const C=g.currentAnimateTimings=this._visitTiming(h.timings,g),P=g.currentTimeline;C.delay&&(g.incrementTime(C.delay),P.snapshotCurrentStyles());const H=h.style;5==H.type?this.visitKeyframes(H,g):(g.incrementTime(C.duration),this.visitStyle(H,g),P.applyStylesToKeyframe()),g.currentAnimateTimings=null,g.previousNode=h}visitStyle(h,g){const C=g.currentTimeline,P=g.currentAnimateTimings;!P&&C.hasCurrentStyleProperties()&&C.forwardFrame();const H=P&&P.easing||h.easing;h.isEmptyStep?C.applyEmptyStep(H):C.setStyles(h.styles,H,g.errors,g.options),g.previousNode=h}visitKeyframes(h,g){const C=g.currentAnimateTimings,P=g.currentTimeline.duration,H=C.duration,ee=g.createSubContext().currentTimeline;ee.easing=C.easing,h.styles.forEach(Ee=>{ee.forwardTime((Ee.offset||0)*H),ee.setStyles(Ee.styles,Ee.easing,g.errors,g.options),ee.applyStylesToKeyframe()}),g.currentTimeline.mergeTimelineCollectedStyles(ee),g.transformIntoNewTimeline(P+H),g.previousNode=h}visitQuery(h,g){const C=g.currentTimeline.currentTime,P=h.options||{},H=P.delay?Rn(P.delay):0;H&&(6===g.previousNode.type||0==C&&g.currentTimeline.hasCurrentStyleProperties())&&(g.currentTimeline.snapshotCurrentStyles(),g.previousNode=Zi);let Q=C;const ee=g.invokeQuery(h.selector,h.originalSelector,h.limit,h.includeSelf,!!P.optional,g.errors);g.currentQueryTotal=ee.length;let Ee=null;ee.forEach((Ge,yt)=>{g.currentQueryIndex=yt;const Mt=g.createSubContext(h.options,Ge);H&&Mt.delayNextStep(H),Ge===g.element&&(Ee=Mt.currentTimeline),ke(this,h.animation,Mt),Mt.currentTimeline.applyStylesToKeyframe(),Q=Math.max(Q,Mt.currentTimeline.currentTime)}),g.currentQueryIndex=0,g.currentQueryTotal=0,g.transformIntoNewTimeline(Q),Ee&&(g.currentTimeline.mergeTimelineCollectedStyles(Ee),g.currentTimeline.snapshotCurrentStyles()),g.previousNode=h}visitStagger(h,g){const C=g.parentContext,P=g.currentTimeline,H=h.timings,Q=Math.abs(H.duration),ee=Q*(g.currentQueryTotal-1);let Ee=Q*g.currentQueryIndex;switch(H.duration<0?"reverse":H.easing){case"reverse":Ee=ee-Ee;break;case"full":Ee=C.currentStaggerTime}const yt=g.currentTimeline;Ee&&yt.delayNextStep(Ee);const Mt=yt.currentTime;ke(this,h.animation,g),g.previousNode=h,C.currentStaggerTime=P.currentTime-Mt+(P.startTime-C.currentTimeline.startTime)}}const Zi={};class Ui{constructor(h,g,C,P,H,Q,ee,Ee){this._driver=h,this.element=g,this.subInstructions=C,this._enterClassName=P,this._leaveClassName=H,this.errors=Q,this.timelines=ee,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Zi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ee||new $r(this._driver,g,0),ee.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(h,g){if(!h)return;const C=h;let P=this.options;null!=C.duration&&(P.duration=Rn(C.duration)),null!=C.delay&&(P.delay=Rn(C.delay));const H=C.params;if(H){let Q=P.params;Q||(Q=this.options.params={}),Object.keys(H).forEach(ee=>{(!g||!Q.hasOwnProperty(ee))&&(Q[ee]=W(H[ee],Q,this.errors))})}}_copyOptions(){const h={};if(this.options){const g=this.options.params;if(g){const C=h.params={};Object.keys(g).forEach(P=>{C[P]=g[P]})}}return h}createSubContext(h=null,g,C){const P=g||this.element,H=new Ui(this._driver,P,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(P,C||0));return H.previousNode=this.previousNode,H.currentAnimateTimings=this.currentAnimateTimings,H.options=this._copyOptions(),H.updateOptions(h),H.currentQueryIndex=this.currentQueryIndex,H.currentQueryTotal=this.currentQueryTotal,H.parentContext=this,this.subContextCount++,H}transformIntoNewTimeline(h){return this.previousNode=Zi,this.currentTimeline=this.currentTimeline.fork(this.element,h),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(h,g,C){const P={duration:g??h.duration,delay:this.currentTimeline.currentTime+(C??0)+h.delay,easing:""},H=new sn(this._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,P,h.stretchStartingKeyframe);return this.timelines.push(H),P}incrementTime(h){this.currentTimeline.forwardTime(this.currentTimeline.duration+h)}delayNextStep(h){h>0&&this.currentTimeline.delayNextStep(h)}invokeQuery(h,g,C,P,H,Q){let ee=[];if(P&&ee.push(this.element),h.length>0){h=(h=h.replace(Cr,"."+this._enterClassName)).replace(Ci,"."+this._leaveClassName);let Ge=this._driver.query(this.element,h,1!=C);0!==C&&(Ge=C<0?Ge.slice(Ge.length+C,Ge.length):Ge.slice(0,C)),ee.push(...Ge)}return!H&&0==ee.length&&Q.push(function ye(O){return new j.vHH(3014,!1)}()),ee}}class $r{constructor(h,g,C,P){this._driver=h,this.element=g,this.startTime=C,this._elementTimelineStylesLookup=P,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(g),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(g,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(h){const g=1===this._keyframes.size&&this._pendingStyles.size;this.duration||g?(this.forwardTime(this.currentTime+h),g&&this.snapshotCurrentStyles()):this.startTime+=h}fork(h,g){return this.applyStylesToKeyframe(),new $r(this._driver,h,g||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(h){this.applyStylesToKeyframe(),this.duration=h,this._loadKeyframe()}_updateStyle(h,g){this._localTimelineStyles.set(h,g),this._globalTimelineStyles.set(h,g),this._styleSummary.set(h,{time:this.currentTime,value:g})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(h){h&&this._previousKeyframe.set("easing",h);for(let[g,C]of this._globalTimelineStyles)this._backFill.set(g,C||oe.l3),this._currentKeyframe.set(g,oe.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(h,g,C,P){g&&this._previousKeyframe.set("easing",g);const H=P&&P.params||{},Q=function $(O,h){const g=new Map;let C;return O.forEach(P=>{if("*"===P){C=C||h.keys();for(let H of C)g.set(H,oe.l3)}else jn(P,g)}),g}(h,this._globalTimelineStyles);for(let[ee,Ee]of Q){const Ge=W(Ee,H,C);this._pendingStyles.set(ee,Ge),this._localTimelineStyles.has(ee)||this._backFill.set(ee,this._globalTimelineStyles.get(ee)??oe.l3),this._updateStyle(ee,Ge)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((h,g)=>{this._currentKeyframe.set(g,h)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((h,g)=>{this._currentKeyframe.has(g)||this._currentKeyframe.set(g,h)}))}snapshotCurrentStyles(){for(let[h,g]of this._localTimelineStyles)this._pendingStyles.set(h,g),this._updateStyle(h,g)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const h=[];for(let g in this._currentKeyframe)h.push(g);return h}mergeTimelineCollectedStyles(h){h._styleSummary.forEach((g,C)=>{const P=this._styleSummary.get(C);(!P||g.time>P.time)&&this._updateStyle(C,g.value)})}buildKeyframes(){this.applyStylesToKeyframe();const h=new Set,g=new Set,C=1===this._keyframes.size&&0===this.duration;let P=[];this._keyframes.forEach((ee,Ee)=>{const Ge=jn(ee,new Map,this._backFill);Ge.forEach((yt,Mt)=>{yt===oe.k1?h.add(Mt):yt===oe.l3&&g.add(Mt)}),C||Ge.set("offset",Ee/this.duration),P.push(Ge)});const H=h.size?ge(h.values()):[],Q=g.size?ge(g.values()):[];if(C){const ee=P[0],Ee=new Map(ee);ee.set("offset",0),Ee.set("offset",1),P=[ee,Ee]}return Pr(this.element,P,H,Q,this.duration,this.startTime,this.easing,!1)}}class sn extends $r{constructor(h,g,C,P,H,Q,ee=!1){super(h,g,Q.delay),this.keyframes=C,this.preStyleProps=P,this.postStyleProps=H,this._stretchStartingKeyframe=ee,this.timings={duration:Q.duration,delay:Q.delay,easing:Q.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let h=this.keyframes,{delay:g,duration:C,easing:P}=this.timings;if(this._stretchStartingKeyframe&&g){const H=[],Q=C+g,ee=g/Q,Ee=jn(h[0]);Ee.set("offset",0),H.push(Ee);const Ge=jn(h[0]);Ge.set("offset",x(ee)),H.push(Ge);const yt=h.length-1;for(let Mt=1;Mt<=yt;Mt++){let Mn=jn(h[Mt]);const cn=Mn.get("offset");Mn.set("offset",x((g+cn*C)/Q)),H.push(Mn)}C=Q,g=0,P="",h=H}return Pr(this.element,h,this.preStyleProps,this.postStyleProps,C,g,P,!0)}}function x(O,h=3){const g=Math.pow(10,h-1);return Math.round(O*g)/g}class ve{}const Et=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 Xt extends ve{normalizePropertyName(h,g){return U(h)}normalizeStyleValue(h,g,C,P){let H="";const Q=C.toString().trim();if(Et.has(g)&&0!==C&&"0"!==C)if("number"==typeof C)H="px";else{const ee=C.match(/^[+-]?[\d\.]+([a-z]*)$/);ee&&0==ee[1].length&&P.push(function de(O,h){return new j.vHH(3005,!1)}())}return Q+H}}function Xn(O,h,g,C,P,H,Q,ee,Ee,Ge,yt,Mt,Mn){return{type:0,element:O,triggerName:h,isRemovalTransition:P,fromState:g,fromStyles:H,toState:C,toStyles:Q,timelines:ee,queriedElements:Ee,preStyleProps:Ge,postStyleProps:yt,totalTime:Mt,errors:Mn}}const di={};class gn{constructor(h,g,C){this._triggerName=h,this.ast=g,this._stateStyles=C}match(h,g,C,P){return function an(O,h,g,C,P){return O.some(H=>H(h,g,C,P))}(this.ast.matchers,h,g,C,P)}buildStyles(h,g,C){let P=this._stateStyles.get("*");return void 0!==h&&(P=this._stateStyles.get(h?.toString())||P),P?P.buildStyles(g,C):new Map}build(h,g,C,P,H,Q,ee,Ee,Ge,yt){const Mt=[],Mn=this.ast.options&&this.ast.options.params||di,Kt=this.buildStyles(C,ee&&ee.params||di,Mt),Gt=Ee&&Ee.params||di,fi=this.buildStyles(P,Gt,Mt),Mi=new Set,un=new Map,yr=new Map,Ni="void"===P,Ii={params:ei(Gt,Mn),delay:this.ast.options?.delay},hr=yt?[]:lr(h,g,this.ast.animation,H,Q,Kt,fi,Ii,Ge,Mt);let y=0;if(hr.forEach(E=>{y=Math.max(E.duration+E.delay,y)}),Mt.length)return Xn(g,this._triggerName,C,P,Ni,Kt,fi,[],[],un,yr,y,Mt);hr.forEach(E=>{const F=E.element,Y=tt(un,F,new Set);E.preStyleProps.forEach(Ae=>Y.add(Ae));const be=tt(yr,F,new Set);E.postStyleProps.forEach(Ae=>be.add(Ae)),F!==g&&Mi.add(F)});const I=ge(Mi.values());return Xn(g,this._triggerName,C,P,Ni,Kt,fi,hr,I,un,yr,y)}}function ei(O,h){const g=Ei(h);for(const C in O)O.hasOwnProperty(C)&&null!=O[C]&&(g[C]=O[C]);return g}class Li{constructor(h,g,C){this.styles=h,this.defaultParams=g,this.normalizer=C}buildStyles(h,g){const C=new Map,P=Ei(this.defaultParams);return Object.keys(h).forEach(H=>{const Q=h[H];null!==Q&&(P[H]=Q)}),this.styles.styles.forEach(H=>{"string"!=typeof H&&H.forEach((Q,ee)=>{Q&&(Q=W(Q,P,g));const Ee=this.normalizer.normalizePropertyName(ee,g);Q=this.normalizer.normalizeStyleValue(ee,Ee,Q,g),C.set(ee,Q)})}),C}}class Ti{constructor(h,g,C){this.name=h,this.ast=g,this._normalizer=C,this.transitionFactories=[],this.states=new Map,g.states.forEach(P=>{this.states.set(P.name,new Li(P.style,P.options&&P.options.params||{},C))}),An(this.states,"true","1"),An(this.states,"false","0"),g.transitions.forEach(P=>{this.transitionFactories.push(new gn(h,P,this.states))}),this.fallbackTransition=function Sr(O,h,g){return new gn(O,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Q,ee)=>!0],options:null,queryCount:0,depCount:0},h)}(h,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(h,g,C,P){return this.transitionFactories.find(Q=>Q.match(h,g,C,P))||null}matchStyles(h,g,C){return this.fallbackTransition.buildStyles(h,g,C)}}function An(O,h,g){O.has(h)?O.has(g)||O.set(g,O.get(h)):O.has(g)&&O.set(h,O.get(g))}const cr=new mr;class vr{constructor(h,g,C){this.bodyNode=h,this._driver=g,this._normalizer=C,this._animations=new Map,this._playersById=new Map,this.players=[]}register(h,g){const C=[],H=Pi(this._driver,g,C,[]);if(C.length)throw function jt(O){return new j.vHH(3503,!1)}();this._animations.set(h,H)}_buildPlayer(h,g,C){const P=h.element,H=St(this._normalizer,h.keyframes,g,C);return this._driver.animate(P,H,h.duration,h.delay,h.easing,[],!0)}create(h,g,C={}){const P=[],H=this._animations.get(h);let Q;const ee=new Map;if(H?(Q=lr(this._driver,g,H,pn,In,new Map,new Map,C,cr,P),Q.forEach(yt=>{const Mt=tt(ee,yt.element,new Map);yt.postStyleProps.forEach(Mn=>Mt.set(Mn,null))})):(P.push(function Yt(){return new j.vHH(3300,!1)}()),Q=[]),P.length)throw function Nn(O){return new j.vHH(3504,!1)}();ee.forEach((yt,Mt)=>{yt.forEach((Mn,cn)=>{yt.set(cn,this._driver.computeStyle(Mt,cn,oe.l3))})});const Ge=Qe(Q.map(yt=>{const Mt=ee.get(yt.element);return this._buildPlayer(yt,new Map,Mt)}));return this._playersById.set(h,Ge),Ge.onDestroy(()=>this.destroy(h)),this.players.push(Ge),Ge}destroy(h){const g=this._getPlayer(h);g.destroy(),this._playersById.delete(h);const C=this.players.indexOf(g);C>=0&&this.players.splice(C,1)}_getPlayer(h){const g=this._playersById.get(h);if(!g)throw function Ce(O){return new j.vHH(3301,!1)}();return g}listen(h,g,C,P){const H=_t(g,"","","");return Pt(this._getPlayer(h),C,H,P),()=>{}}command(h,g,C,P){if("register"==C)return void this.register(h,P[0]);if("create"==C)return void this.create(h,g,P[0]||{});const H=this._getPlayer(h);switch(C){case"play":H.play();break;case"pause":H.pause();break;case"reset":H.reset();break;case"restart":H.restart();break;case"finish":H.finish();break;case"init":H.init();break;case"setPosition":H.setPosition(parseFloat(P[0]));break;case"destroy":this.destroy(h)}}}const Zt="ng-animate-queued",Mr="ng-animate-disabled",Gr=[],nr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Fr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gi="__ng_removed";class ir{get params(){return this.options.params}constructor(h,g=""){this.namespaceId=g;const C=h&&h.hasOwnProperty("value");if(this.value=function Vo(O){return O??null}(C?h.value:h),C){const H=Ei(h);delete H.value,this.options=H}else this.options={};this.options.params||(this.options.params={})}absorbOptions(h){const g=h.params;if(g){const C=this.options.params;Object.keys(g).forEach(P=>{null==C[P]&&(C[P]=g[P])})}}}const zi="void",kr=new ir(zi);class zr{constructor(h,g,C){this.id=h,this.hostElement=g,this._engine=C,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+h,dr(g,this._hostClassName)}listen(h,g,C,P){if(!this._triggers.has(g))throw function He(O,h){return new j.vHH(3302,!1)}();if(null==C||0==C.length)throw function Ue(O){return new j.vHH(3303,!1)}();if(!function Wr(O){return"start"==O||"done"==O}(C))throw function je(O,h){return new j.vHH(3400,!1)}();const H=tt(this._elementListeners,h,[]),Q={name:g,phase:C,callback:P};H.push(Q);const ee=tt(this._engine.statesByElement,h,new Map);return ee.has(g)||(dr(h,Yi),dr(h,Yi+"-"+g),ee.set(g,kr)),()=>{this._engine.afterFlush(()=>{const Ee=H.indexOf(Q);Ee>=0&&H.splice(Ee,1),this._triggers.has(g)||ee.delete(g)})}}register(h,g){return!this._triggers.has(h)&&(this._triggers.set(h,g),!0)}_getTrigger(h){const g=this._triggers.get(h);if(!g)throw function Xe(O){return new j.vHH(3401,!1)}();return g}trigger(h,g,C,P=!0){const H=this._getTrigger(g),Q=new Oo(this.id,g,h);let ee=this._engine.statesByElement.get(h);ee||(dr(h,Yi),dr(h,Yi+"-"+g),this._engine.statesByElement.set(h,ee=new Map));let Ee=ee.get(g);const Ge=new ir(C,this.id);if(!(C&&C.hasOwnProperty("value"))&&Ee&&Ge.absorbOptions(Ee.options),ee.set(g,Ge),Ee||(Ee=kr),Ge.value!==zi&&Ee.value===Ge.value){if(!function bo(O,h){const g=Object.keys(O),C=Object.keys(h);if(g.length!=C.length)return!1;for(let P=0;P<g.length;P++){const H=g[P];if(!h.hasOwnProperty(H)||O[H]!==h[H])return!1}return!0}(Ee.params,Ge.params)){const Gt=[],fi=H.matchStyles(Ee.value,Ee.params,Gt),Mi=H.matchStyles(Ge.value,Ge.params,Gt);Gt.length?this._engine.reportError(Gt):this._engine.afterFlush(()=>{$n(h,fi),vn(h,Mi)})}return}const Mn=tt(this._engine.playersByElement,h,[]);Mn.forEach(Gt=>{Gt.namespaceId==this.id&&Gt.triggerName==g&&Gt.queued&&Gt.destroy()});let cn=H.matchTransition(Ee.value,Ge.value,h,Ge.params),Kt=!1;if(!cn){if(!P)return;cn=H.fallbackTransition,Kt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:h,triggerName:g,transition:cn,fromState:Ee,toState:Ge,player:Q,isFallbackTransition:Kt}),Kt||(dr(h,Zt),Q.onStart(()=>{si(h,Zt)})),Q.onDone(()=>{let Gt=this.players.indexOf(Q);Gt>=0&&this.players.splice(Gt,1);const fi=this._engine.playersByElement.get(h);if(fi){let Mi=fi.indexOf(Q);Mi>=0&&fi.splice(Mi,1)}}),this.players.push(Q),Mn.push(Q),Q}deregister(h){this._triggers.delete(h),this._engine.statesByElement.forEach(g=>g.delete(h)),this._elementListeners.forEach((g,C)=>{this._elementListeners.set(C,g.filter(P=>P.name!=h))})}clearElementCache(h){this._engine.statesByElement.delete(h),this._elementListeners.delete(h);const g=this._engine.playersByElement.get(h);g&&(g.forEach(C=>C.destroy()),this._engine.playersByElement.delete(h))}_signalRemovalForInnerTriggers(h,g){const C=this._engine.driver.query(h,It,!0);C.forEach(P=>{if(P[Gi])return;const H=this._engine.fetchNamespacesByElement(P);H.size?H.forEach(Q=>Q.triggerLeaveAnimation(P,g,!1,!0)):this.clearElementCache(P)}),this._engine.afterFlushAnimationsDone(()=>C.forEach(P=>this.clearElementCache(P)))}triggerLeaveAnimation(h,g,C,P){const H=this._engine.statesByElement.get(h),Q=new Map;if(H){const ee=[];if(H.forEach((Ee,Ge)=>{if(Q.set(Ge,Ee.value),this._triggers.has(Ge)){const yt=this.trigger(h,Ge,zi,P);yt&&ee.push(yt)}}),ee.length)return this._engine.markElementAsRemoved(this.id,h,!0,g,Q),C&&Qe(ee).onDone(()=>this._engine.processLeaveNode(h)),!0}return!1}prepareLeaveAnimationListeners(h){const g=this._elementListeners.get(h),C=this._engine.statesByElement.get(h);if(g&&C){const P=new Set;g.forEach(H=>{const Q=H.name;if(P.has(Q))return;P.add(Q);const Ee=this._triggers.get(Q).fallbackTransition,Ge=C.get(Q)||kr,yt=new ir(zi),Mt=new Oo(this.id,Q,h);this._engine.totalQueuedPlayers++,this._queue.push({element:h,triggerName:Q,transition:Ee,fromState:Ge,toState:yt,player:Mt,isFallbackTransition:!0})})}}removeNode(h,g){const C=this._engine;if(h.childElementCount&&this._signalRemovalForInnerTriggers(h,g),this.triggerLeaveAnimation(h,g,!0))return;let P=!1;if(C.totalAnimations){const H=C.players.length?C.playersByQueriedElement.get(h):[];if(H&&H.length)P=!0;else{let Q=h;for(;Q=Q.parentNode;)if(C.statesByElement.get(Q)){P=!0;break}}}if(this.prepareLeaveAnimationListeners(h),P)C.markElementAsRemoved(this.id,h,!1,g);else{const H=h[Gi];(!H||H===nr)&&(C.afterFlush(()=>this.clearElementCache(h)),C.destroyInnerAnimations(h),C._onRemovalComplete(h,g))}}insertNode(h,g){dr(h,this._hostClassName)}drainQueuedTransitions(h){const g=[];return this._queue.forEach(C=>{const P=C.player;if(P.destroyed)return;const H=C.element,Q=this._elementListeners.get(H);Q&&Q.forEach(ee=>{if(ee.name==C.triggerName){const Ee=_t(H,C.triggerName,C.fromState.value,C.toState.value);Ee._data=h,Pt(C.player,ee.phase,Ee,ee.callback)}}),P.markedForDestroy?this._engine.afterFlush(()=>{P.destroy()}):g.push(C)}),this._queue=[],g.sort((C,P)=>{const H=C.transition.ast.depCount,Q=P.transition.ast.depCount;return 0==H||0==Q?H-Q:this._engine.driver.containsElement(C.element,P.element)?1:-1})}destroy(h){this.players.forEach(g=>g.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,h)}elementContainsData(h){let g=!1;return this._elementListeners.has(h)&&(g=!0),g=!!this._queue.find(C=>C.element===h)||g,g}}class yn{_onRemovalComplete(h,g){this.onRemovalComplete(h,g)}constructor(h,g,C){this.bodyNode=h,this.driver=g,this._normalizer=C,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=(P,H)=>{}}get queuedPlayers(){const h=[];return this._namespaceList.forEach(g=>{g.players.forEach(C=>{C.queued&&h.push(C)})}),h}createNamespace(h,g){const C=new zr(h,g,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,g)?this._balanceNamespaceList(C,g):(this.newHostElements.set(g,C),this.collectEnterElement(g)),this._namespaceLookup[h]=C}_balanceNamespaceList(h,g){const C=this._namespaceList,P=this.namespacesByHostElement;if(C.length-1>=0){let Q=!1,ee=this.driver.getParentElement(g);for(;ee;){const Ee=P.get(ee);if(Ee){const Ge=C.indexOf(Ee);C.splice(Ge+1,0,h),Q=!0;break}ee=this.driver.getParentElement(ee)}Q||C.unshift(h)}else C.push(h);return P.set(g,h),h}register(h,g){let C=this._namespaceLookup[h];return C||(C=this.createNamespace(h,g)),C}registerTrigger(h,g,C){let P=this._namespaceLookup[h];P&&P.register(g,C)&&this.totalAnimations++}destroy(h,g){if(!h)return;const C=this._fetchNamespace(h);this.afterFlush(()=>{this.namespacesByHostElement.delete(C.hostElement),delete this._namespaceLookup[h];const P=this._namespaceList.indexOf(C);P>=0&&this._namespaceList.splice(P,1)}),this.afterFlushAnimationsDone(()=>C.destroy(g))}_fetchNamespace(h){return this._namespaceLookup[h]}fetchNamespacesByElement(h){const g=new Set,C=this.statesByElement.get(h);if(C)for(let P of C.values())if(P.namespaceId){const H=this._fetchNamespace(P.namespaceId);H&&g.add(H)}return g}trigger(h,g,C,P){if(Bi(g)){const H=this._fetchNamespace(h);if(H)return H.trigger(g,C,P),!0}return!1}insertNode(h,g,C,P){if(!Bi(g))return;const H=g[Gi];if(H&&H.setForRemoval){H.setForRemoval=!1,H.setForMove=!0;const Q=this.collectedLeaveElements.indexOf(g);Q>=0&&this.collectedLeaveElements.splice(Q,1)}if(h){const Q=this._fetchNamespace(h);Q&&Q.insertNode(g,C)}P&&this.collectEnterElement(g)}collectEnterElement(h){this.collectedEnterElements.push(h)}markElementAsDisabled(h,g){g?this.disabledNodes.has(h)||(this.disabledNodes.add(h),dr(h,Mr)):this.disabledNodes.has(h)&&(this.disabledNodes.delete(h),si(h,Mr))}removeNode(h,g,C){if(Bi(g)){const P=h?this._fetchNamespace(h):null;P?P.removeNode(g,C):this.markElementAsRemoved(h,g,!1,C);const H=this.namespacesByHostElement.get(g);H&&H.id!==h&&H.removeNode(g,C)}else this._onRemovalComplete(g,C)}markElementAsRemoved(h,g,C,P,H){this.collectedLeaveElements.push(g),g[Gi]={namespaceId:h,setForRemoval:P,hasAnimation:C,removedBeforeQueried:!1,previousTriggersValues:H}}listen(h,g,C,P,H){return Bi(g)?this._fetchNamespace(h).listen(g,C,P,H):()=>{}}_buildInstruction(h,g,C,P,H){return h.transition.build(this.driver,h.element,h.fromState.value,h.toState.value,C,P,h.fromState.options,h.toState.options,g,H)}destroyInnerAnimations(h){let g=this.driver.query(h,It,!0);g.forEach(C=>this.destroyActiveAnimationsForElement(C)),0!=this.playersByQueriedElement.size&&(g=this.driver.query(h,en,!0),g.forEach(C=>this.finishActiveQueriedAnimationOnElement(C)))}destroyActiveAnimationsForElement(h){const g=this.playersByElement.get(h);g&&g.forEach(C=>{C.queued?C.markedForDestroy=!0:C.destroy()})}finishActiveQueriedAnimationOnElement(h){const g=this.playersByQueriedElement.get(h);g&&g.forEach(C=>C.finish())}whenRenderingDone(){return new Promise(h=>{if(this.players.length)return Qe(this.players).onDone(()=>h());h()})}processLeaveNode(h){const g=h[Gi];if(g&&g.setForRemoval){if(h[Gi]=nr,g.namespaceId){this.destroyInnerAnimations(h);const C=this._fetchNamespace(g.namespaceId);C&&C.clearElementCache(h)}this._onRemovalComplete(h,g.setForRemoval)}h.classList?.contains(Mr)&&this.markElementAsDisabled(h,!1),this.driver.query(h,".ng-animate-disabled",!0).forEach(C=>{this.markElementAsDisabled(C,!1)})}flush(h=-1){let g=[];if(this.newHostElements.size&&(this.newHostElements.forEach((C,P)=>this._balanceNamespaceList(C,P)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let C=0;C<this.collectedEnterElements.length;C++)dr(this.collectedEnterElements[C],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const C=[];try{g=this._flushAnimations(C,h)}finally{for(let P=0;P<C.length;P++)C[P]()}}else for(let C=0;C<this.collectedLeaveElements.length;C++)this.processLeaveNode(this.collectedLeaveElements[C]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(C=>C()),this._flushFns=[],this._whenQuietFns.length){const C=this._whenQuietFns;this._whenQuietFns=[],g.length?Qe(g).onDone(()=>{C.forEach(P=>P())}):C.forEach(P=>P())}}reportError(h){throw function Oe(O){return new j.vHH(3402,!1)}()}_flushAnimations(h,g){const C=new mr,P=[],H=new Map,Q=[],ee=new Map,Ee=new Map,Ge=new Map,yt=new Set;this.disabledNodes.forEach(dt=>{yt.add(dt);const mt=this.driver.query(dt,".ng-animate-queued",!0);for(let ct=0;ct<mt.length;ct++)yt.add(mt[ct])});const Mt=this.bodyNode,Mn=Array.from(this.statesByElement.keys()),cn=qn(Mn,this.collectedEnterElements),Kt=new Map;let Gt=0;cn.forEach((dt,mt)=>{const ct=pn+Gt++;Kt.set(mt,ct),dt.forEach(Ut=>dr(Ut,ct))});const fi=[],Mi=new Set,un=new Set;for(let dt=0;dt<this.collectedLeaveElements.length;dt++){const mt=this.collectedLeaveElements[dt],ct=mt[Gi];ct&&ct.setForRemoval&&(fi.push(mt),Mi.add(mt),ct.hasAnimation?this.driver.query(mt,".ng-star-inserted",!0).forEach(Ut=>Mi.add(Ut)):un.add(mt))}const yr=new Map,Ni=qn(Mn,Array.from(Mi));Ni.forEach((dt,mt)=>{const ct=In+Gt++;yr.set(mt,ct),dt.forEach(Ut=>dr(Ut,ct))}),h.push(()=>{cn.forEach((dt,mt)=>{const ct=Kt.get(mt);dt.forEach(Ut=>si(Ut,ct))}),Ni.forEach((dt,mt)=>{const ct=yr.get(mt);dt.forEach(Ut=>si(Ut,ct))}),fi.forEach(dt=>{this.processLeaveNode(dt)})});const Ii=[],hr=[];for(let dt=this._namespaceList.length-1;dt>=0;dt--)this._namespaceList[dt].drainQueuedTransitions(g).forEach(ct=>{const Ut=ct.player,st=ct.element;if(Ii.push(Ut),this.collectedEnterElements.length){const kn=st[Gi];if(kn&&kn.setForMove){if(kn.previousTriggersValues&&kn.previousTriggersValues.has(ct.triggerName)){const En=kn.previousTriggersValues.get(ct.triggerName),Lr=this.statesByElement.get(ct.element);if(Lr&&Lr.has(ct.triggerName)){const as=Lr.get(ct.triggerName);as.value=En,Lr.set(ct.triggerName,as)}}return void Ut.destroy()}}const Yn=!Mt||!this.driver.containsElement(Mt,st),Fi=yr.get(st),Wi=Kt.get(st),zn=this._buildInstruction(ct,C,Wi,Fi,Yn);if(zn.errors&&zn.errors.length)return void hr.push(zn);if(Yn)return Ut.onStart(()=>$n(st,zn.fromStyles)),Ut.onDestroy(()=>vn(st,zn.toStyles)),void P.push(Ut);if(ct.isFallbackTransition)return Ut.onStart(()=>$n(st,zn.fromStyles)),Ut.onDestroy(()=>vn(st,zn.toStyles)),void P.push(Ut);const er=[];zn.timelines.forEach(kn=>{kn.stretchStartingKeyframe=!0,this.disabledNodes.has(kn.element)||er.push(kn)}),zn.timelines=er,C.append(st,zn.timelines),Q.push({instruction:zn,player:Ut,element:st}),zn.queriedElements.forEach(kn=>tt(ee,kn,[]).push(Ut)),zn.preStyleProps.forEach((kn,En)=>{if(kn.size){let Lr=Ee.get(En);Lr||Ee.set(En,Lr=new Set),kn.forEach((as,Wo)=>Lr.add(Wo))}}),zn.postStyleProps.forEach((kn,En)=>{let Lr=Ge.get(En);Lr||Ge.set(En,Lr=new Set),kn.forEach((as,Wo)=>Lr.add(Wo))})});if(hr.length){const dt=[];hr.forEach(mt=>{dt.push(function vt(O,h){return new j.vHH(3505,!1)}())}),Ii.forEach(mt=>mt.destroy()),this.reportError(dt)}const y=new Map,I=new Map;Q.forEach(dt=>{const mt=dt.element;C.has(mt)&&(I.set(mt,mt),this._beforeAnimationBuild(dt.player.namespaceId,dt.instruction,y))}),P.forEach(dt=>{const mt=dt.element;this._getPreviousPlayers(mt,!1,dt.namespaceId,dt.triggerName,null).forEach(Ut=>{tt(y,mt,[]).push(Ut),Ut.destroy()})});const E=fi.filter(dt=>Si(dt,Ee,Ge)),F=new Map;Yr(F,this.driver,un,Ge,oe.l3).forEach(dt=>{Si(dt,Ee,Ge)&&E.push(dt)});const be=new Map;cn.forEach((dt,mt)=>{Yr(be,this.driver,new Set(dt),Ee,oe.k1)}),E.forEach(dt=>{const mt=F.get(dt),ct=be.get(dt);F.set(dt,new Map([...mt?.entries()??[],...ct?.entries()??[]]))});const Ae=[],wt=[],Fn={};Q.forEach(dt=>{const{element:mt,player:ct,instruction:Ut}=dt;if(C.has(mt)){if(yt.has(mt))return ct.onDestroy(()=>vn(mt,Ut.toStyles)),ct.disabled=!0,ct.overrideTotalTime(Ut.totalTime),void P.push(ct);let st=Fn;if(I.size>1){let Fi=mt;const Wi=[];for(;Fi=Fi.parentNode;){const zn=I.get(Fi);if(zn){st=zn;break}Wi.push(Fi)}Wi.forEach(zn=>I.set(zn,st))}const Yn=this._buildAnimation(ct.namespaceId,Ut,y,H,be,F);if(ct.setRealPlayer(Yn),st===Fn)Ae.push(ct);else{const Fi=this.playersByElement.get(st);Fi&&Fi.length&&(ct.parentPlayer=Qe(Fi)),P.push(ct)}}else $n(mt,Ut.fromStyles),ct.onDestroy(()=>vn(mt,Ut.toStyles)),wt.push(ct),yt.has(mt)&&P.push(ct)}),wt.forEach(dt=>{const mt=H.get(dt.element);if(mt&&mt.length){const ct=Qe(mt);dt.setRealPlayer(ct)}}),P.forEach(dt=>{dt.parentPlayer?dt.syncPlayerEvents(dt.parentPlayer):dt.destroy()});for(let dt=0;dt<fi.length;dt++){const mt=fi[dt],ct=mt[Gi];if(si(mt,In),ct&&ct.hasAnimation)continue;let Ut=[];if(ee.size){let Yn=ee.get(mt);Yn&&Yn.length&&Ut.push(...Yn);let Fi=this.driver.query(mt,en,!0);for(let Wi=0;Wi<Fi.length;Wi++){let zn=ee.get(Fi[Wi]);zn&&zn.length&&Ut.push(...zn)}}const st=Ut.filter(Yn=>!Yn.destroyed);st.length?Qi(this,mt,st):this.processLeaveNode(mt)}return fi.length=0,Ae.forEach(dt=>{this.players.push(dt),dt.onDone(()=>{dt.destroy();const mt=this.players.indexOf(dt);this.players.splice(mt,1)}),dt.play()}),Ae}elementContainsData(h,g){let C=!1;const P=g[Gi];return P&&P.setForRemoval&&(C=!0),this.playersByElement.has(g)&&(C=!0),this.playersByQueriedElement.has(g)&&(C=!0),this.statesByElement.has(g)&&(C=!0),this._fetchNamespace(h).elementContainsData(g)||C}afterFlush(h){this._flushFns.push(h)}afterFlushAnimationsDone(h){this._whenQuietFns.push(h)}_getPreviousPlayers(h,g,C,P,H){let Q=[];if(g){const ee=this.playersByQueriedElement.get(h);ee&&(Q=ee)}else{const ee=this.playersByElement.get(h);if(ee){const Ee=!H||H==zi;ee.forEach(Ge=>{Ge.queued||!Ee&&Ge.triggerName!=P||Q.push(Ge)})}}return(C||P)&&(Q=Q.filter(ee=>!(C&&C!=ee.namespaceId||P&&P!=ee.triggerName))),Q}_beforeAnimationBuild(h,g,C){const H=g.element,Q=g.isRemovalTransition?void 0:h,ee=g.isRemovalTransition?void 0:g.triggerName;for(const Ee of g.timelines){const Ge=Ee.element,yt=Ge!==H,Mt=tt(C,Ge,[]);this._getPreviousPlayers(Ge,yt,Q,ee,g.toState).forEach(cn=>{const Kt=cn.getRealPlayer();Kt.beforeDestroy&&Kt.beforeDestroy(),cn.destroy(),Mt.push(cn)})}$n(H,g.fromStyles)}_buildAnimation(h,g,C,P,H,Q){const ee=g.triggerName,Ee=g.element,Ge=[],yt=new Set,Mt=new Set,Mn=g.timelines.map(Kt=>{const Gt=Kt.element;yt.add(Gt);const fi=Gt[Gi];if(fi&&fi.removedBeforeQueried)return new oe.ZN(Kt.duration,Kt.delay);const Mi=Gt!==Ee,un=function yo(O){const h=[];return Kr(O,h),h}((C.get(Gt)||Gr).map(y=>y.getRealPlayer())).filter(y=>!!y.element&&y.element===Gt),yr=H.get(Gt),Ni=Q.get(Gt),Ii=St(this._normalizer,Kt.keyframes,yr,Ni),hr=this._buildPlayer(Kt,Ii,un);if(Kt.subTimeline&&P&&Mt.add(Gt),Mi){const y=new Oo(h,ee,Gt);y.setRealPlayer(hr),Ge.push(y)}return hr});Ge.forEach(Kt=>{tt(this.playersByQueriedElement,Kt.element,[]).push(Kt),Kt.onDone(()=>function to(O,h,g){let C=O.get(h);if(C){if(C.length){const P=C.indexOf(g);C.splice(P,1)}0==C.length&&O.delete(h)}return C}(this.playersByQueriedElement,Kt.element,Kt))}),yt.forEach(Kt=>dr(Kt,_n));const cn=Qe(Mn);return cn.onDestroy(()=>{yt.forEach(Kt=>si(Kt,_n)),vn(Ee,g.toStyles)}),Mt.forEach(Kt=>{tt(P,Kt,[]).push(cn)}),cn}_buildPlayer(h,g,C){return g.length>0?this.driver.animate(h.element,g,h.duration,h.delay,h.easing,C):new oe.ZN(h.duration,h.delay)}}class Oo{constructor(h,g,C){this.namespaceId=h,this.triggerName=g,this.element=C,this._player=new oe.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(h){this._containsRealPlayer||(this._player=h,this._queuedCallbacks.forEach((g,C)=>{g.forEach(P=>Pt(h,C,void 0,P))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(h.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(h){this.totalTime=h}syncPlayerEvents(h){const g=this._player;g.triggerCallback&&h.onStart(()=>g.triggerCallback("start")),h.onDone(()=>this.finish()),h.onDestroy(()=>this.destroy())}_queueEvent(h,g){tt(this._queuedCallbacks,h,[]).push(g)}onDone(h){this.queued&&this._queueEvent("done",h),this._player.onDone(h)}onStart(h){this.queued&&this._queueEvent("start",h),this._player.onStart(h)}onDestroy(h){this.queued&&this._queueEvent("destroy",h),this._player.onDestroy(h)}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(h){this.queued||this._player.setPosition(h)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(h){const g=this._player;g.triggerCallback&&g.triggerCallback(h)}}function Bi(O){return O&&1===O.nodeType}function Nr(O,h){const g=O.style.display;return O.style.display=h??"none",g}function Yr(O,h,g,C,P){const H=[];g.forEach(Ee=>H.push(Nr(Ee)));const Q=[];C.forEach((Ee,Ge)=>{const yt=new Map;Ee.forEach(Mt=>{const Mn=h.computeStyle(Ge,Mt,P);yt.set(Mt,Mn),(!Mn||0==Mn.length)&&(Ge[Gi]=Fr,Q.push(Ge))}),O.set(Ge,yt)});let ee=0;return g.forEach(Ee=>Nr(Ee,H[ee++])),Q}function qn(O,h){const g=new Map;if(O.forEach(ee=>g.set(ee,[])),0==h.length)return g;const C=1,P=new Set(h),H=new Map;function Q(ee){if(!ee)return C;let Ee=H.get(ee);if(Ee)return Ee;const Ge=ee.parentNode;return Ee=g.has(Ge)?Ge:P.has(Ge)?C:Q(Ge),H.set(ee,Ee),Ee}return h.forEach(ee=>{const Ee=Q(ee);Ee!==C&&g.get(Ee).push(ee)}),g}function dr(O,h){O.classList?.add(h)}function si(O,h){O.classList?.remove(h)}function Qi(O,h,g){Qe(g).onDone(()=>O.processLeaveNode(h))}function Kr(O,h){for(let g=0;g<O.length;g++){const C=O[g];C instanceof oe.ZE?Kr(C.players,h):h.push(C)}}function Si(O,h,g){const C=g.get(O);if(!C)return!1;let P=h.get(O);return P?C.forEach(H=>P.add(H)):h.set(O,C),g.delete(O),!0}class qr{constructor(h,g,C){this.bodyNode=h,this._driver=g,this._normalizer=C,this._triggerCache={},this.onRemovalComplete=(P,H)=>{},this._transitionEngine=new yn(h,g,C),this._timelineEngine=new vr(h,g,C),this._transitionEngine.onRemovalComplete=(P,H)=>this.onRemovalComplete(P,H)}registerTrigger(h,g,C,P,H){const Q=h+"-"+P;let ee=this._triggerCache[Q];if(!ee){const Ee=[],yt=Pi(this._driver,H,Ee,[]);if(Ee.length)throw function qe(O,h){return new j.vHH(3404,!1)}();ee=function Tr(O,h,g){return new Ti(O,h,g)}(P,yt,this._normalizer),this._triggerCache[Q]=ee}this._transitionEngine.registerTrigger(g,P,ee)}register(h,g){this._transitionEngine.register(h,g)}destroy(h,g){this._transitionEngine.destroy(h,g)}onInsert(h,g,C,P){this._transitionEngine.insertNode(h,g,C,P)}onRemove(h,g,C){this._transitionEngine.removeNode(h,g,C)}disableAnimations(h,g){this._transitionEngine.markElementAsDisabled(h,g)}process(h,g,C,P){if("@"==C.charAt(0)){const[H,Q]=qt(C);this._timelineEngine.command(H,g,Q,P)}else this._transitionEngine.trigger(h,g,C,P)}listen(h,g,C,P,H){if("@"==C.charAt(0)){const[Q,ee]=qt(C);return this._timelineEngine.listen(Q,g,ee,H)}return this._transitionEngine.listen(h,g,C,P,H)}flush(h=-1){this._transitionEngine.flush(h)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ro=(()=>{class O{constructor(g,C,P){this._element=g,this._startStyles=C,this._endStyles=P,this._state=0;let H=O.initialStylesByElement.get(g);H||O.initialStylesByElement.set(g,H=new Map),this._initialStyles=H}start(){this._state<1&&(this._startStyles&&vn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(vn(this._element,this._initialStyles),this._endStyles&&(vn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(O.initialStylesByElement.delete(this._element),this._startStyles&&($n(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($n(this._element,this._endStyles),this._endStyles=null),vn(this._element,this._initialStyles),this._state=3)}}return O.initialStylesByElement=new WeakMap,O})();function Eo(O){let h=null;return O.forEach((g,C)=>{(function wo(O){return"display"===O||"position"===O})(C)&&(h=h||new Map,h.set(C,g))}),h}class fr{constructor(h,g,C,P){this.element=h,this.keyframes=g,this.options=C,this._specialStyles=P,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=C.duration,this._delay=C.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(h=>h()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const h=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,h,this.options),this._finalKeyframe=h.length?h[h.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(h){const g=[];return h.forEach(C=>{g.push(Object.fromEntries(C))}),g}_triggerWebAnimation(h,g,C){return h.animate(this._convertKeyframesToObject(g),C)}onStart(h){this._originalOnStartFns.push(h),this._onStartFns.push(h)}onDone(h){this._originalOnDoneFns.push(h),this._onDoneFns.push(h)}onDestroy(h){this._onDestroyFns.push(h)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(h=>h()),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(h=>h()),this._onDestroyFns=[])}setPosition(h){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=h*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const h=new Map;this.hasStarted()&&this._finalKeyframe.forEach((C,P)=>{"offset"!==P&&h.set(P,this._finished?C:lt(this.element,P))}),this.currentSnapshot=h}triggerCallback(h){const g="start"===h?this._onStartFns:this._onDoneFns;g.forEach(C=>C()),g.length=0}}class Ho{validateStyleProperty(h){return!0}validateAnimatableStyleProperty(h){return!0}matchesElement(h,g){return!1}containsElement(h,g){return pt(h,g)}getParentElement(h){return bn(h)}query(h,g,C){return Qt(h,g,C)}computeStyle(h,g,C){return window.getComputedStyle(h)[g]}animate(h,g,C,P,H,Q=[]){const Ee={duration:C,delay:P,fill:0==P?"both":"forwards"};H&&(Ee.easing=H);const Ge=new Map,yt=Q.filter(cn=>cn instanceof fr);(function Be(O,h){return 0===O||0===h})(C,P)&&yt.forEach(cn=>{cn.currentSnapshot.forEach((Kt,Gt)=>Ge.set(Gt,Kt))});let Mt=function Rr(O){return O.length?O[0]instanceof Map?O:O.map(h=>Jn(h)):[]}(g).map(cn=>jn(cn));Mt=function We(O,h,g){if(g.size&&h.length){let C=h[0],P=[];if(g.forEach((H,Q)=>{C.has(Q)||P.push(Q),C.set(Q,H)}),P.length)for(let H=1;H<h.length;H++){let Q=h[H];P.forEach(ee=>Q.set(ee,lt(O,ee)))}}return h}(h,Mt,Ge);const Mn=function Do(O,h){let g=null,C=null;return Array.isArray(h)&&h.length?(g=Eo(h[0]),h.length>1&&(C=Eo(h[h.length-1]))):h instanceof Map&&(g=Eo(h)),g||C?new Ro(O,g,C):null}(h,Mt);return new fr(h,Mt,Ee,Mn)}}var no=R(4755);let ts=(()=>{class O extends oe._j{constructor(g,C){super(),this._nextAnimationId=0,this._renderer=g.createRenderer(C.body,{id:"0",encapsulation:j.ifc.None,styles:[],data:{animation:[]}})}build(g){const C=this._nextAnimationId.toString();this._nextAnimationId++;const P=Array.isArray(g)?(0,oe.vP)(g):g;return jo(this._renderer,null,C,"register",[P]),new Hs(C,this._renderer)}}return O.\u0275fac=function(g){return new(g||O)(j.LFG(j.FYo),j.LFG(no.K0))},O.\u0275prov=j.Yz7({token:O,factory:O.\u0275fac}),O})();class Hs extends oe.LC{constructor(h,g){super(),this._id=h,this._renderer=g}create(h,g){return new ns(this._id,h,g||{},this._renderer)}}class ns{constructor(h,g,C,P){this.id=h,this.element=g,this._renderer=P,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",C)}_listen(h,g){return this._renderer.listen(this.element,`@@${this.id}:${h}`,g)}_command(h,...g){return jo(this._renderer,this.element,this.id,h,g)}onDone(h){this._listen("done",h)}onStart(h){this._listen("start",h)}onDestroy(h){this._listen("destroy",h)}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(h){this._command("setPosition",h)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function jo(O,h,g,C,P){return O.setProperty(h,`@@${g}:${C}`,P)}const $o="@.disabled";let js=(()=>{class O{constructor(g,C,P){this.delegate=g,this.engine=C,this._zone=P,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),C.onRemovalComplete=(H,Q)=>{const ee=Q?.parentNode(H);ee&&Q.removeChild(ee,H)}}createRenderer(g,C){const H=this.delegate.createRenderer(g,C);if(!(g&&C&&C.data&&C.data.animation)){let yt=this._rendererCache.get(H);return yt||(yt=new co("",H,this.engine,()=>this._rendererCache.delete(H)),this._rendererCache.set(H,yt)),yt}const Q=C.id,ee=C.id+"-"+this._currentId;this._currentId++,this.engine.register(ee,g);const Ee=yt=>{Array.isArray(yt)?yt.forEach(Ee):this.engine.registerTrigger(Q,ee,g,yt.name,yt)};return C.data.animation.forEach(Ee),new Co(this,ee,H,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(g,C,P){g>=0&&g<this._microtaskId?this._zone.run(()=>C(P)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(H=>{const[Q,ee]=H;Q(ee)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([C,P]))}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 O.\u0275fac=function(g){return new(g||O)(j.LFG(j.FYo),j.LFG(qr),j.LFG(j.R0b))},O.\u0275prov=j.Yz7({token:O,factory:O.\u0275fac}),O})();class co{constructor(h,g,C,P){this.namespaceId=h,this.delegate=g,this.engine=C,this._onDestroy=P,this.destroyNode=this.delegate.destroyNode?H=>g.destroyNode(H):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(h,g){return this.delegate.createElement(h,g)}createComment(h){return this.delegate.createComment(h)}createText(h){return this.delegate.createText(h)}appendChild(h,g){this.delegate.appendChild(h,g),this.engine.onInsert(this.namespaceId,g,h,!1)}insertBefore(h,g,C,P=!0){this.delegate.insertBefore(h,g,C),this.engine.onInsert(this.namespaceId,g,h,P)}removeChild(h,g,C){this.engine.onRemove(this.namespaceId,g,this.delegate)}selectRootElement(h,g){return this.delegate.selectRootElement(h,g)}parentNode(h){return this.delegate.parentNode(h)}nextSibling(h){return this.delegate.nextSibling(h)}setAttribute(h,g,C,P){this.delegate.setAttribute(h,g,C,P)}removeAttribute(h,g,C){this.delegate.removeAttribute(h,g,C)}addClass(h,g){this.delegate.addClass(h,g)}removeClass(h,g){this.delegate.removeClass(h,g)}setStyle(h,g,C,P){this.delegate.setStyle(h,g,C,P)}removeStyle(h,g,C){this.delegate.removeStyle(h,g,C)}setProperty(h,g,C){"@"==g.charAt(0)&&g==$o?this.disableAnimations(h,!!C):this.delegate.setProperty(h,g,C)}setValue(h,g){this.delegate.setValue(h,g)}listen(h,g,C){return this.delegate.listen(h,g,C)}disableAnimations(h,g){this.engine.disableAnimations(h,g)}}class Co extends co{constructor(h,g,C,P,H){super(g,C,P,H),this.factory=h,this.namespaceId=g}setProperty(h,g,C){"@"==g.charAt(0)?"."==g.charAt(1)&&g==$o?this.disableAnimations(h,C=void 0===C||!!C):this.engine.process(this.namespaceId,h,g.slice(1),C):this.delegate.setProperty(h,g,C)}listen(h,g,C){if("@"==g.charAt(0)){const P=function Uo(O){switch(O){case"body":return document.body;case"document":return document;case"window":return window;default:return O}}(h);let H=g.slice(1),Q="";return"@"!=H.charAt(0)&&([H,Q]=function Go(O){const h=O.indexOf(".");return[O.substring(0,h),O.slice(h+1)]}(H)),this.engine.listen(this.namespaceId,P,H,Q,ee=>{this.factory.scheduleListenerCallback(ee._data||-1,C,ee)})}return this.delegate.listen(h,g,C)}}const ro=[{provide:oe._j,useClass:ts},{provide:ve,useFactory:function To(){return new Xt}},{provide:qr,useClass:(()=>{class O extends qr{constructor(g,C,P,H){super(g.body,C,P)}ngOnDestroy(){this.flush()}}return O.\u0275fac=function(g){return new(g||O)(j.LFG(no.K0),j.LFG(Dt),j.LFG(ve),j.LFG(j.z2F))},O.\u0275prov=j.Yz7({token:O,factory:O.\u0275fac}),O})()},{provide:j.FYo,useFactory:function _i(O,h,g){return new js(O,h,g)},deps:[o.se,qr,j.R0b]}],M=[{provide:Dt,useFactory:()=>new Ho},{provide:j.QbO,useValue:"BrowserAnimations"},...ro],T=[{provide:Dt,useClass:ut},{provide:j.QbO,useValue:"NoopAnimations"},...ro];let w=(()=>{class O{static withConfig(g){return{ngModule:O,providers:g.disableAnimations?T:M}}}return O.\u0275fac=function(g){return new(g||O)},O.\u0275mod=j.oAB({type:O}),O.\u0275inj=j.cJS({providers:M,imports:[o.b2]}),O})();var Pn=R(9135);const Xi=[{path:"",component:(()=>{class O{constructor(){}ngOnInit(){}}return O.\u0275fac=function(g){return new(g||O)},O.\u0275cmp=j.Xpm({type:O,selectors:[["app-landing-layout"]],decls:1,vars:0,template:function(g,C){1&g&&j._UZ(0,"router-outlet")},dependencies:[Pn.lC]}),O})(),children:[{path:"",loadChildren:()=>R.e(88).then(R.bind(R,88)).then(O=>O.LandingModule)}]}];let xi=(()=>{class O{}return O.\u0275fac=function(g){return new(g||O)},O.\u0275mod=j.oAB({type:O}),O.\u0275inj=j.cJS({imports:[Pn.Bz.forRoot(Xi,{useHash:!0}),Pn.Bz]}),O})();var Jr=R(7123);let vi=(()=>{class O{constructor(g){this.router=g,this.title="dexam"}ngOnInit(){Jr.init({duration:1200}),this.router.events.subscribe(g=>{g instanceof Pn.m2&&window.scrollTo(0,0)})}}return O.\u0275fac=function(g){return new(g||O)(j.Y36(Pn.F0))},O.\u0275cmp=j.Xpm({type:O,selectors:[["app-root"]],decls:2,vars:0,consts:function(){let h;return h=$localize`:␟cb33b150a0b9e6b88a9aa5fa79f91888dd06784a␟2547756348530497105:ltr`,[["dir",h,1,"main-wrap"]]},template:function(g,C){1&g&&(j.TgZ(0,"div",0),j._UZ(1,"router-outlet"),j.qZA())},dependencies:[Pn.lC]}),O})();var is=R(4713);let So=(()=>{class O{}return O.\u0275fac=function(g){return new(g||O)},O.\u0275mod=j.oAB({type:O}),O.\u0275inj=j.cJS({imports:[no.ez,is.IJ,Pn.Bz]}),O})();var rs=R(3144),os=R(9698);let ys=(()=>{class O{}return O.\u0275fac=function(g){return new(g||O)},O.\u0275mod=j.oAB({type:O,bootstrap:[vi]}),O.\u0275inj=j.cJS({providers:[{provide:os.U,useFactory:h=>h.apiServer,deps:[os.k]}],imports:[o.b2,So,rs.JF,w,xi]}),O})();R(5386);const zo=new XMLHttpRequest;zo.addEventListener("load",function ss(O){try{const h=JSON.parse(O.target.responseText);o.q6([{provide:os.k,useValue:h}]).bootstrapModule(ys).catch(g=>console.error(g))}catch(h){console.error(h)}}),zo.addEventListener("error",function uo(O){console.error("Error: retrieving config.json")}),zo.open("GET","./assets/config.json"),zo.send()},7123:function(Nt){Nt.exports=function(Se){function R(j){if(o[j])return o[j].exports;var oe=o[j]={exports:{},id:j,loaded:!1};return Se[j].call(oe.exports,oe,oe.exports,R),oe.loaded=!0,oe.exports}var o={};return R.m=Se,R.c=o,R.p="dist/",R(0)}([function(Se,R,o){"use strict";function j(Ke){return Ke&&Ke.__esModule?Ke:{default:Ke}}var oe=Object.assign||function(Ke){for(var qe=1;qe<arguments.length;qe++){var Vt=arguments[qe];for(var jt in Vt)Object.prototype.hasOwnProperty.call(Vt,jt)&&(Ke[jt]=Vt[jt])}return Ke},ne=(j(o(1)),o(6)),ie=j(ne),$e=j(o(7)),le=j(o(8)),ue=j(o(9)),Re=j(o(10)),Ye=j(o(11)),xt=j(o(14)),ft=[],Ht=!1,X={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},re=function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(Ht=!0),Ht)return ft=(0,Ye.default)(ft,X),(0,Re.default)(ft,X.once),ft},ye=function(){ft=(0,xt.default)(),re()};Se.exports={init:function(Ke){X=oe(X,Ke),ft=(0,xt.default)();var qe=document.all&&!window.atob;return function(Ke){return!0===Ke||"mobile"===Ke&&ue.default.mobile()||"phone"===Ke&&ue.default.phone()||"tablet"===Ke&&ue.default.tablet()||"function"==typeof Ke&&!0===Ke()}(X.disable)||qe?void ft.forEach(function(Ke,qe){Ke.node.removeAttribute("data-aos"),Ke.node.removeAttribute("data-aos-easing"),Ke.node.removeAttribute("data-aos-duration"),Ke.node.removeAttribute("data-aos-delay")}):(X.disableMutationObserver||le.default.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),X.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",X.easing),document.querySelector("body").setAttribute("data-aos-duration",X.duration),document.querySelector("body").setAttribute("data-aos-delay",X.delay),"DOMContentLoaded"===X.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?re(!0):"load"===X.startEvent?window.addEventListener(X.startEvent,function(){re(!0)}):document.addEventListener(X.startEvent,function(){re(!0)}),window.addEventListener("resize",(0,$e.default)(re,X.debounceDelay,!0)),window.addEventListener("orientationchange",(0,$e.default)(re,X.debounceDelay,!0)),window.addEventListener("scroll",(0,ie.default)(function(){(0,Re.default)(ft,X.once)},X.throttleDelay)),X.disableMutationObserver||le.default.ready("[data-aos]",ye),ft)},refresh:re,refreshHard:ye}},function(Se,R){},,,,,function(Se,R){(function(o){"use strict";function j(me,Me,Ke){function qe(tt){var qt=Xe,fn=Oe;return Xe=Oe=void 0,St=tt,vt=me.apply(fn,qt)}function Yt(tt){var qt=tt-Qe;return void 0===Qe||qt>=Me||qt<0||kt&&tt-St>=Tt}function Nn(){var tt=pe();return Yt(tt)?Ce(tt):void(Ft=setTimeout(Nn,function jt(tt){var bn=Me-(tt-Qe);return kt?ye(bn,Tt-(tt-St)):bn}(tt)))}function Ce(tt){return Ft=void 0,_t&&Xe?qe(tt):(Xe=Oe=void 0,vt)}function je(){var tt=pe(),qt=Yt(tt);if(Xe=arguments,Oe=this,Qe=tt,qt){if(void 0===Ft)return function Vt(tt){return St=tt,Ft=setTimeout(Nn,Me),Pt?qe(tt):vt}(Qe);if(kt)return Ft=setTimeout(Nn,Me),qe(Qe)}return void 0===Ft&&(Ft=setTimeout(Nn,Me)),vt}var Xe,Oe,Tt,vt,Ft,Qe,St=0,Pt=!1,kt=!1,_t=!0;if("function"!=typeof me)throw new TypeError(Ie);return Me=we(Me)||0,De(Ke)&&(Pt=!!Ke.leading,Tt=(kt="maxWait"in Ke)?re(we(Ke.maxWait)||0,Me):Tt,_t="trailing"in Ke?!!Ke.trailing:_t),je.cancel=function He(){void 0!==Ft&&clearTimeout(Ft),St=0,Xe=Qe=Oe=Ft=void 0},je.flush=function Ue(){return void 0===Ft?vt:Ce(pe())},je}function De(me){var Me=typeof me>"u"?"undefined":$e(me);return!!me&&("object"==Me||"function"==Me)}function ie(me){return"symbol"==(typeof me>"u"?"undefined":$e(me))||function ne(me){return!!me&&"object"==(typeof me>"u"?"undefined":$e(me))}(me)&&X.call(me)==de}function we(me){if("number"==typeof me)return me;if(ie(me))return le;if(De(me)){var Me="function"==typeof me.valueOf?me.valueOf():me;me=De(Me)?Me+"":Me}if("string"!=typeof me)return 0===me?me:+me;me=me.replace(ue,"");var Ke=Re.test(me);return Ke||ze.test(me)?Ye(me.slice(2),Ke?2:8):Fe.test(me)?le:+me}var $e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(me){return typeof me}:function(me){return me&&"function"==typeof Symbol&&me.constructor===Symbol&&me!==Symbol.prototype?"symbol":typeof me},Ie="Expected a function",le=NaN,de="[object Symbol]",ue=/^\s+|\s+$/g,Fe=/^[-+]0x[0-9a-f]+$/i,Re=/^0b[01]+$/i,ze=/^0o[0-7]+$/i,Ye=parseInt,Ct="object"==(typeof o>"u"?"undefined":$e(o))&&o&&o.Object===Object&&o,xt="object"==(typeof self>"u"?"undefined":$e(self))&&self&&self.Object===Object&&self,ft=Ct||xt||Function("return this")(),X=Object.prototype.toString,re=Math.max,ye=Math.min,pe=function(){return ft.Date.now()};Se.exports=function oe(me,Me,Ke){var qe=!0,Vt=!0;if("function"!=typeof me)throw new TypeError(Ie);return De(Ke)&&(qe="leading"in Ke?!!Ke.leading:qe,Vt="trailing"in Ke?!!Ke.trailing:Vt),j(me,Me,{leading:qe,maxWait:Me,trailing:Vt})}}).call(R,function(){return this}())},function(Se,R){(function(o){"use strict";function oe(pe){var me=typeof pe>"u"?"undefined":we(pe);return!!pe&&("object"==me||"function"==me)}function ne(pe){return"symbol"==(typeof pe>"u"?"undefined":we(pe))||function De(pe){return!!pe&&"object"==(typeof pe>"u"?"undefined":we(pe))}(pe)&&Ht.call(pe)==le}function ie(pe){if("number"==typeof pe)return pe;if(ne(pe))return Ie;if(oe(pe)){var me="function"==typeof pe.valueOf?pe.valueOf():pe;pe=oe(me)?me+"":me}if("string"!=typeof pe)return 0===pe?pe:+pe;pe=pe.replace(de,"");var Me=Fe.test(pe);return Me||Re.test(pe)?ze(pe.slice(2),Me?2:8):ue.test(pe)?Ie:+pe}var we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(pe){return typeof pe}:function(pe){return pe&&"function"==typeof Symbol&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe},$e="Expected a function",Ie=NaN,le="[object Symbol]",de=/^\s+|\s+$/g,ue=/^[-+]0x[0-9a-f]+$/i,Fe=/^0b[01]+$/i,Re=/^0o[0-7]+$/i,ze=parseInt,Ye="object"==(typeof o>"u"?"undefined":we(o))&&o&&o.Object===Object&&o,Ct="object"==(typeof self>"u"?"undefined":we(self))&&self&&self.Object===Object&&self,xt=Ye||Ct||Function("return this")(),Ht=Object.prototype.toString,X=Math.max,re=Math.min,ye=function(){return xt.Date.now()};Se.exports=function j(pe,me,Me){function Ke(_t){var tt=je,qt=Xe;return je=Xe=void 0,Qe=_t,Tt=pe.apply(qt,tt)}function jt(_t){var tt=_t-Ft;return void 0===Ft||tt>=me||tt<0||Pt&&_t-Qe>=Oe}function Yt(){var _t=ye();return jt(_t)?Nn(_t):void(vt=setTimeout(Yt,function Vt(_t){var fn=me-(_t-Ft);return Pt?re(fn,Oe-(_t-Qe)):fn}(_t)))}function Nn(_t){return vt=void 0,kt&&je?Ke(_t):(je=Xe=void 0,Tt)}function Ue(){var _t=ye(),tt=jt(_t);if(je=arguments,Xe=this,Ft=_t,tt){if(void 0===vt)return function qe(_t){return Qe=_t,vt=setTimeout(Yt,me),St?Ke(_t):Tt}(Ft);if(Pt)return vt=setTimeout(Yt,me),Ke(Ft)}return void 0===vt&&(vt=setTimeout(Yt,me)),Tt}var je,Xe,Oe,Tt,vt,Ft,Qe=0,St=!1,Pt=!1,kt=!0;if("function"!=typeof pe)throw new TypeError($e);return me=ie(me)||0,oe(Me)&&(St=!!Me.leading,Oe=(Pt="maxWait"in Me)?X(ie(Me.maxWait)||0,me):Oe,kt="trailing"in Me?!!Me.trailing:kt),Ue.cancel=function Ce(){void 0!==vt&&clearTimeout(vt),Qe=0,je=Ft=Xe=vt=void 0},Ue.flush=function He(){return void 0===vt?Tt:Nn(ye())},Ue}}).call(R,function(){return this}())},function(Se,R){"use strict";function o(we){var $e=void 0,Ie=void 0;for($e=0;$e<we.length;$e+=1)if((Ie=we[$e]).dataset&&Ie.dataset.aos||Ie.children&&o(Ie.children))return!0;return!1}function j(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function ne(we){we&&we.forEach(function($e){var Ie=Array.prototype.slice.call($e.addedNodes),le=Array.prototype.slice.call($e.removedNodes);if(o(Ie.concat(le)))return ie()})}Object.defineProperty(R,"__esModule",{value:!0});var ie=function(){};R.default={isSupported:function oe(){return!!j()},ready:function De(we,$e){var Ie=window.document,de=new(j())(ne);ie=$e,de.observe(Ie.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(Se,R){"use strict";function j(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(R,"__esModule",{value:!0});var oe=function(){function Ie(le,de){for(var ue=0;ue<de.length;ue++){var Fe=de[ue];Fe.enumerable=Fe.enumerable||!1,Fe.configurable=!0,"value"in Fe&&(Fe.writable=!0),Object.defineProperty(le,Fe.key,Fe)}}return function(le,de,ue){return de&&Ie(le.prototype,de),ue&&Ie(le,ue),le}}(),De=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,ne=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,ie=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,we=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,$e=function(){function Ie(){!function o(Ie,le){if(!(Ie instanceof le))throw new TypeError("Cannot call a class as a function")}(this,Ie)}return oe(Ie,[{key:"phone",value:function(){var le=j();return!(!De.test(le)&&!ne.test(le.substr(0,4)))}},{key:"mobile",value:function(){var le=j();return!(!ie.test(le)&&!we.test(le.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),Ie}();R.default=new $e},function(Se,R){"use strict";Object.defineProperty(R,"__esModule",{value:!0});R.default=function(oe,De){var ne=window.pageYOffset,ie=window.innerHeight;oe.forEach(function(we,$e){!function(oe,De,ne){var ie=oe.node.getAttribute("data-aos-once");De>oe.position?oe.node.classList.add("aos-animate"):typeof ie<"u"&&("false"===ie||!ne&&"true"!==ie)&&oe.node.classList.remove("aos-animate")}(we,ie+ne,De)})}},function(Se,R,o){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var De=function j(ie){return ie&&ie.__esModule?ie:{default:ie}}(o(12));R.default=function(ie,we){return ie.forEach(function($e,Ie){$e.node.classList.add("aos-init"),$e.position=(0,De.default)($e.node,we.offset)}),ie}},function(Se,R,o){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var De=function j(ie){return ie&&ie.__esModule?ie:{default:ie}}(o(13));R.default=function(ie,we){var $e=0,Ie=0,le=window.innerHeight,de={offset:ie.getAttribute("data-aos-offset"),anchor:ie.getAttribute("data-aos-anchor"),anchorPlacement:ie.getAttribute("data-aos-anchor-placement")};switch(de.offset&&!isNaN(de.offset)&&(Ie=parseInt(de.offset)),de.anchor&&document.querySelectorAll(de.anchor)&&(ie=document.querySelectorAll(de.anchor)[0]),$e=(0,De.default)(ie).top,de.anchorPlacement){case"top-bottom":break;case"center-bottom":$e+=ie.offsetHeight/2;break;case"bottom-bottom":$e+=ie.offsetHeight;break;case"top-center":$e+=le/2;break;case"bottom-center":$e+=le/2+ie.offsetHeight;break;case"center-center":$e+=le/2+ie.offsetHeight/2;break;case"top-top":$e+=le;break;case"bottom-top":$e+=ie.offsetHeight+le;break;case"center-top":$e+=ie.offsetHeight/2+le}return de.anchorPlacement||de.offset||isNaN(we)||(Ie=we),$e+Ie}},function(Se,R){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(j){for(var oe=0,De=0;j&&!isNaN(j.offsetLeft)&&!isNaN(j.offsetTop);)oe+=j.offsetLeft-("BODY"!=j.tagName?j.scrollLeft:0),De+=j.offsetTop-("BODY"!=j.tagName?j.scrollTop:0),j=j.offsetParent;return{top:De,left:oe}}},function(Se,R){"use strict";Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(j){return j=j||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(j,function(oe){return{node:oe}})}}])},5386:(Nt,Se,R)=>{var o;!function(j,oe,De,ne){"use strict";var Ye,ie=["","webkit","Moz","MS","ms","o"],we=oe.createElement("div"),$e="function",Ie=Math.round,le=Math.abs,de=Date.now;function ue(x,$,Z){return setTimeout(Ht(x,Z),$)}function Fe(x,$,Z){return!!Array.isArray(x)&&(Re(x,Z[$],Z),!0)}function Re(x,$,Z){var ve;if(x)if(x.forEach)x.forEach($,Z);else if(x.length!==ne)for(ve=0;ve<x.length;)$.call(Z,x[ve],ve,x),ve++;else for(ve in x)x.hasOwnProperty(ve)&&$.call(Z,x[ve],ve,x)}function ze(x,$,Z){var ve="DEPRECATED METHOD: "+$+"\n"+Z+" AT \n";return function(){var rt=new Error("get-stack-trace"),Et=rt&&rt.stack?rt.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",Xt=j.console&&(j.console.warn||j.console.log);return Xt&&Xt.call(j.console,ve,Et),x.apply(this,arguments)}}Ye="function"!=typeof Object.assign?function($){if($===ne||null===$)throw new TypeError("Cannot convert undefined or null to object");for(var Z=Object($),ve=1;ve<arguments.length;ve++){var rt=arguments[ve];if(rt!==ne&&null!==rt)for(var Et in rt)rt.hasOwnProperty(Et)&&(Z[Et]=rt[Et])}return Z}:Object.assign;var Ct=ze(function($,Z,ve){for(var rt=Object.keys(Z),Et=0;Et<rt.length;)(!ve||ve&&$[rt[Et]]===ne)&&($[rt[Et]]=Z[rt[Et]]),Et++;return $},"extend","Use `assign`."),xt=ze(function($,Z){return Ct($,Z,!0)},"merge","Use `assign`.");function ft(x,$,Z){var rt,ve=$.prototype;(rt=x.prototype=Object.create(ve)).constructor=x,rt._super=ve,Z&&Ye(rt,Z)}function Ht(x,$){return function(){return x.apply($,arguments)}}function X(x,$){return typeof x==$e?x.apply($&&$[0]||ne,$):x}function re(x,$){return x===ne?$:x}function ye(x,$,Z){Re(Ke($),function(ve){x.addEventListener(ve,Z,!1)})}function pe(x,$,Z){Re(Ke($),function(ve){x.removeEventListener(ve,Z,!1)})}function me(x,$){for(;x;){if(x==$)return!0;x=x.parentNode}return!1}function Me(x,$){return x.indexOf($)>-1}function Ke(x){return x.trim().split(/\s+/g)}function qe(x,$,Z){if(x.indexOf&&!Z)return x.indexOf($);for(var ve=0;ve<x.length;){if(Z&&x[ve][Z]==$||!Z&&x[ve]===$)return ve;ve++}return-1}function Vt(x){return Array.prototype.slice.call(x,0)}function jt(x,$,Z){for(var ve=[],rt=[],Et=0;Et<x.length;){var Xt=$?x[Et][$]:x[Et];qe(rt,Xt)<0&&ve.push(x[Et]),rt[Et]=Xt,Et++}return Z&&(ve=$?ve.sort(function(di,gn){return di[$]>gn[$]}):ve.sort()),ve}function Yt(x,$){for(var Z,ve,rt=$[0].toUpperCase()+$.slice(1),Et=0;Et<ie.length;){if((ve=(Z=ie[Et])?Z+rt:$)in x)return ve;Et++}return ne}var Nn=1;function He(x){var $=x.ownerDocument||x;return $.defaultView||$.parentWindow||j}var je="ontouchstart"in j,Xe=Yt(j,"PointerEvent")!==ne,Oe=je&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Tt="touch",Ft="mouse",St=25,Pt=1,kt=2,_t=4,tt=8,qt=1,fn=2,bn=4,mn=8,he=16,J=fn|bn,Ne=mn|he,Ve=J|Ne,ot=["x","y"],pt=["clientX","clientY"];function Qt(x,$){var Z=this;this.manager=x,this.callback=$,this.element=x.element,this.target=x.options.inputTarget,this.domHandler=function(ve){X(x.options.enable,[x])&&Z.handler(ve)},this.init()}function ut(x,$,Z){var ve=Z.pointers.length,rt=Z.changedPointers.length,Et=$&Pt&&ve-rt==0,Xt=$&(_t|tt)&&ve-rt==0;Z.isFirst=!!Et,Z.isFinal=!!Xt,Et&&(x.session={}),Z.eventType=$,function Dt(x,$){var Z=x.session,ve=$.pointers,rt=ve.length;Z.firstInput||(Z.firstInput=li($)),rt>1&&!Z.firstMultiple?Z.firstMultiple=li($):1===rt&&(Z.firstMultiple=!1);var Et=Z.firstInput,Xt=Z.firstMultiple,Xn=Xt?Xt.center:Et.center,di=$.center=pn(ve);$.timeStamp=de(),$.deltaTime=$.timeStamp-Et.timeStamp,$.angle=_n(Xn,di),$.distance=It(Xn,di),function hn(x,$){var Z=$.center,ve=x.offsetDelta||{},rt=x.prevDelta||{},Et=x.prevInput||{};($.eventType===Pt||Et.eventType===_t)&&(rt=x.prevDelta={x:Et.deltaX||0,y:Et.deltaY||0},ve=x.offsetDelta={x:Z.x,y:Z.y}),$.deltaX=rt.x+(Z.x-ve.x),$.deltaY=rt.y+(Z.y-ve.y)}(Z,$),$.offsetDirection=Yi($.deltaX,$.deltaY);var gn=In($.deltaTime,$.deltaX,$.deltaY);$.overallVelocityX=gn.x,$.overallVelocityY=gn.y,$.overallVelocity=le(gn.x)>le(gn.y)?gn.x:gn.y,$.scale=Xt?function Rn(x,$){return It($[0],$[1],pt)/It(x[0],x[1],pt)}(Xt.pointers,ve):1,$.rotation=Xt?function en(x,$){return _n($[1],$[0],pt)+_n(x[1],x[0],pt)}(Xt.pointers,ve):0,$.maxPointers=Z.prevInput?$.pointers.length>Z.prevInput.maxPointers?$.pointers.length:Z.prevInput.maxPointers:$.pointers.length,function ai(x,$){var rt,Et,Xt,Xn,Z=x.lastInterval||$,ve=$.timeStamp-Z.timeStamp;if($.eventType!=tt&&(ve>St||Z.velocity===ne)){var di=$.deltaX-Z.deltaX,gn=$.deltaY-Z.deltaY,gt=In(ve,di,gn);Et=gt.x,Xt=gt.y,rt=le(gt.x)>le(gt.y)?gt.x:gt.y,Xn=Yi(di,gn),x.lastInterval=$}else rt=Z.velocity,Et=Z.velocityX,Xt=Z.velocityY,Xn=Z.direction;$.velocity=rt,$.velocityX=Et,$.velocityY=Xt,$.direction=Xn}(Z,$);var gt=x.element;me($.srcEvent.target,gt)&&(gt=$.srcEvent.target),$.target=gt}(x,Z),x.emit("hammer.input",Z),x.recognize(Z),x.session.prevInput=Z}function li(x){for(var $=[],Z=0;Z<x.pointers.length;)$[Z]={clientX:Ie(x.pointers[Z].clientX),clientY:Ie(x.pointers[Z].clientY)},Z++;return{timeStamp:de(),pointers:$,center:pn($),deltaX:x.deltaX,deltaY:x.deltaY}}function pn(x){var $=x.length;if(1===$)return{x:Ie(x[0].clientX),y:Ie(x[0].clientY)};for(var Z=0,ve=0,rt=0;rt<$;)Z+=x[rt].clientX,ve+=x[rt].clientY,rt++;return{x:Ie(Z/$),y:Ie(ve/$)}}function In(x,$,Z){return{x:$/x||0,y:Z/x||0}}function Yi(x,$){return x===$?qt:le(x)>=le($)?x<0?fn:bn:$<0?mn:he}function It(x,$,Z){Z||(Z=ot);var ve=$[Z[0]]-x[Z[0]],rt=$[Z[1]]-x[Z[1]];return Math.sqrt(ve*ve+rt*rt)}function _n(x,$,Z){return Z||(Z=ot),180*Math.atan2($[Z[1]]-x[Z[1]],$[Z[0]]-x[Z[0]])/Math.PI}Qt.prototype={handler:function(){},init:function(){this.evEl&&ye(this.element,this.evEl,this.domHandler),this.evTarget&&ye(this.target,this.evTarget,this.domHandler),this.evWin&&ye(He(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&pe(this.element,this.evEl,this.domHandler),this.evTarget&&pe(this.target,this.evTarget,this.domHandler),this.evWin&&pe(He(this.element),this.evWin,this.domHandler)}};var pi={mousedown:Pt,mousemove:kt,mouseup:_t},tn="mousedown",Di="mousemove mouseup";function Ei(){this.evEl=tn,this.evWin=Di,this.pressed=!1,Qt.apply(this,arguments)}ft(Ei,Qt,{handler:function($){var Z=pi[$.type];Z&Pt&&0===$.button&&(this.pressed=!0),Z&kt&&1!==$.which&&(Z=_t),this.pressed&&(Z&_t&&(this.pressed=!1),this.callback(this.manager,Z,{pointers:[$],changedPointers:[$],pointerType:Ft,srcEvent:$}))}});var Jn={pointerdown:Pt,pointermove:kt,pointerup:_t,pointercancel:tt,pointerout:tt},Rr={2:Tt,3:"pen",4:Ft,5:"kinect"},ci="pointerdown",jn="pointermove pointerup pointercancel";function vn(){this.evEl=ci,this.evWin=jn,Qt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}j.MSPointerEvent&&!j.PointerEvent&&(ci="MSPointerDown",jn="MSPointerMove MSPointerUp MSPointerCancel"),ft(vn,Qt,{handler:function($){var Z=this.store,ve=!1,rt=$.type.toLowerCase().replace("ms",""),Et=Jn[rt],Xt=Rr[$.pointerType]||$.pointerType,Xn=Xt==Tt,di=qe(Z,$.pointerId,"pointerId");Et&Pt&&(0===$.button||Xn)?di<0&&(Z.push($),di=Z.length-1):Et&(_t|tt)&&(ve=!0),!(di<0)&&(Z[di]=$,this.callback(this.manager,Et,{pointers:Z,changedPointers:[$],pointerType:Xt,srcEvent:$}),ve&&Z.splice(di,1))}});var $n={touchstart:Pt,touchmove:kt,touchend:_t,touchcancel:tt};function Pe(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,Qt.apply(this,arguments)}function se(x,$){var Z=Vt(x.touches),ve=Vt(x.changedTouches);return $&(_t|tt)&&(Z=jt(Z.concat(ve),"identifier",!0)),[Z,ve]}ft(Pe,Qt,{handler:function($){var Z=$n[$.type];if(Z===Pt&&(this.started=!0),this.started){var ve=se.call(this,$,Z);Z&(_t|tt)&&ve[0].length-ve[1].length==0&&(this.started=!1),this.callback(this.manager,Z,{pointers:ve[0],changedPointers:ve[1],pointerType:Tt,srcEvent:$})}}});var W={touchstart:Pt,touchmove:kt,touchend:_t,touchcancel:tt},ge="touchstart touchmove touchend touchcancel";function q(){this.evTarget=ge,this.targetIds={},Qt.apply(this,arguments)}function U(x,$){var Z=Vt(x.touches),ve=this.targetIds;if($&(Pt|kt)&&1===Z.length)return ve[Z[0].identifier]=!0,[Z,Z];var rt,Et,Xt=Vt(x.changedTouches),Xn=[],di=this.target;if(Et=Z.filter(function(gn){return me(gn.target,di)}),$===Pt)for(rt=0;rt<Et.length;)ve[Et[rt].identifier]=!0,rt++;for(rt=0;rt<Xt.length;)ve[Xt[rt].identifier]&&Xn.push(Xt[rt]),$&(_t|tt)&&delete ve[Xt[rt].identifier],rt++;return Xn.length?[jt(Et.concat(Xn),"identifier",!0),Xn]:void 0}ft(q,Qt,{handler:function($){var Z=W[$.type],ve=U.call(this,$,Z);ve&&this.callback(this.manager,Z,{pointers:ve[0],changedPointers:ve[1],pointerType:Tt,srcEvent:$})}});var K=2500;function We(){Qt.apply(this,arguments);var x=Ht(this.handler,this);this.touch=new q(this.manager,x),this.mouse=new Ei(this.manager,x),this.primaryTouch=null,this.lastTouches=[]}function ke(x,$){x&Pt?(this.primaryTouch=$.changedPointers[0].identifier,lt.call(this,$)):x&(_t|tt)&&lt.call(this,$)}function lt(x){var $=x.changedPointers[0];if($.identifier===this.primaryTouch){var Z={x:$.clientX,y:$.clientY};this.lastTouches.push(Z);var ve=this.lastTouches;setTimeout(function(){var Et=ve.indexOf(Z);Et>-1&&ve.splice(Et,1)},K)}}function Dn(x){for(var $=x.srcEvent.clientX,Z=x.srcEvent.clientY,ve=0;ve<this.lastTouches.length;ve++){var rt=this.lastTouches[ve],Et=Math.abs($-rt.x),Xt=Math.abs(Z-rt.y);if(Et<=25&&Xt<=25)return!0}return!1}ft(We,Qt,{handler:function($,Z,ve){var Et=ve.pointerType==Ft;if(!(Et&&ve.sourceCapabilities&&ve.sourceCapabilities.firesTouchEvents)){if(ve.pointerType==Tt)ke.call(this,Z,ve);else if(Et&&Dn.call(this,ve))return;this.callback($,Z,ve)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var $t=Yt(we.style,"touchAction"),ui=$t!==ne,mi="compute",Un="manipulation",ti="none",ji="pan-x",Tn="pan-y",ln=function ii(){if(!ui)return!1;var x={},$=j.CSS&&j.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(Z){x[Z]=!$||j.CSS.supports("touch-action",Z)}),x}();function ni(x,$){this.manager=x,this.set($)}ni.prototype={set:function(x){x==mi&&(x=this.compute()),ui&&this.manager.element.style&&ln[x]&&(this.manager.element.style[$t]=x),this.actions=x.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var x=[];return Re(this.manager.recognizers,function($){X($.options.enable,[$])&&(x=x.concat($.getTouchAction()))}),function $i(x){if(Me(x,ti))return ti;var $=Me(x,ji),Z=Me(x,Tn);return $&&Z?ti:$||Z?$?ji:Tn:Me(x,Un)?Un:"auto"}(x.join(" "))},preventDefaults:function(x){var $=x.srcEvent,Z=x.offsetDirection;if(!this.manager.session.prevented){var ve=this.actions,rt=Me(ve,ti)&&!ln[ti],Et=Me(ve,Tn)&&!ln[Tn],Xt=Me(ve,ji)&&!ln[ji];if(rt&&1===x.pointers.length&&x.distance<2&&x.deltaTime<250)return;return Xt&&Et||!(rt||Et&&Z&J||Xt&&Z&Ne)?void 0:this.preventSrc($)}$.preventDefault()},preventSrc:function(x){this.manager.session.prevented=!0,x.preventDefault()}};var Ki=1,ri=2,Pi=4,tr=8,Gn=tr,wr=16;function gr(x){this.options=Ye({},this.defaults,x||{}),this.id=function Ce(){return Nn++}(),this.manager=null,this.options.enable=re(this.options.enable,!0),this.state=Ki,this.simultaneous={},this.requireFail=[]}function Hr(x){return x&wr?"cancel":x&tr?"end":x&Pi?"move":x&ri?"start":""}function lo(x){return x==he?"down":x==mn?"up":x==fn?"left":x==bn?"right":""}function qi(x,$){var Z=$.manager;return Z?Z.get(x):x}function Qn(){gr.apply(this,arguments)}function Pr(){Qn.apply(this,arguments),this.pX=null,this.pY=null}function mr(){Qn.apply(this,arguments)}function jr(){gr.apply(this,arguments),this._timer=null,this._input=null}function Ji(){Qn.apply(this,arguments)}function Cr(){Qn.apply(this,arguments)}function ar(){gr.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Ci(x,$){return($=$||{}).recognizers=re($.recognizers,Ci.defaults.preset),new Zi(x,$)}function Zi(x,$){this.options=Ye({},Ci.defaults,$||{}),this.options.inputTarget=this.options.inputTarget||x,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=x,this.input=function Ze(x){return new(x.options.inputClass||(Xe?vn:Oe?q:je?We:Ei))(x,ut)}(this),this.touchAction=new ni(this,this.options.touchAction),Ui(this,!0),Re(this.options.recognizers,function(Z){var ve=this.add(new Z[0](Z[1]));Z[2]&&ve.recognizeWith(Z[2]),Z[3]&&ve.requireFailure(Z[3])},this)}function Ui(x,$){var ve,Z=x.element;Z.style&&(Re(x.options.cssProps,function(rt,Et){ve=Yt(Z.style,Et),$?(x.oldCssProps[ve]=Z.style[ve],Z.style[ve]=rt):Z.style[ve]=x.oldCssProps[ve]||""}),$||(x.oldCssProps={}))}gr.prototype={defaults:{},set:function(x){return Ye(this.options,x),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(x){if(Fe(x,"recognizeWith",this))return this;var $=this.simultaneous;return $[(x=qi(x,this)).id]||($[x.id]=x,x.recognizeWith(this)),this},dropRecognizeWith:function(x){return Fe(x,"dropRecognizeWith",this)||(x=qi(x,this),delete this.simultaneous[x.id]),this},requireFailure:function(x){if(Fe(x,"requireFailure",this))return this;var $=this.requireFail;return-1===qe($,x=qi(x,this))&&($.push(x),x.requireFailure(this)),this},dropRequireFailure:function(x){if(Fe(x,"dropRequireFailure",this))return this;x=qi(x,this);var $=qe(this.requireFail,x);return $>-1&&this.requireFail.splice($,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(x){return!!this.simultaneous[x.id]},emit:function(x){var $=this,Z=this.state;function ve(rt){$.manager.emit(rt,x)}Z<tr&&ve($.options.event+Hr(Z)),ve($.options.event),x.additionalEvent&&ve(x.additionalEvent),Z>=tr&&ve($.options.event+Hr(Z))},tryEmit:function(x){if(this.canEmit())return this.emit(x);this.state=32},canEmit:function(){for(var x=0;x<this.requireFail.length;){if(!(this.requireFail[x].state&(32|Ki)))return!1;x++}return!0},recognize:function(x){var $=Ye({},x);if(!X(this.options.enable,[this,$]))return this.reset(),void(this.state=32);this.state&(Gn|wr|32)&&(this.state=Ki),this.state=this.process($),this.state&(ri|Pi|tr|wr)&&this.tryEmit($)},process:function(x){},getTouchAction:function(){},reset:function(){}},ft(Qn,gr,{defaults:{pointers:1},attrTest:function(x){var $=this.options.pointers;return 0===$||x.pointers.length===$},process:function(x){var $=this.state,Z=x.eventType,ve=$&(ri|Pi),rt=this.attrTest(x);return ve&&(Z&tt||!rt)?$|wr:ve||rt?Z&_t?$|tr:$&ri?$|Pi:ri:32}}),ft(Pr,Qn,{defaults:{event:"pan",threshold:10,pointers:1,direction:Ve},getTouchAction:function(){var x=this.options.direction,$=[];return x&J&&$.push(Tn),x&Ne&&$.push(ji),$},directionTest:function(x){var $=this.options,Z=!0,ve=x.distance,rt=x.direction,Et=x.deltaX,Xt=x.deltaY;return rt&$.direction||($.direction&J?(rt=0===Et?qt:Et<0?fn:bn,Z=Et!=this.pX,ve=Math.abs(x.deltaX)):(rt=0===Xt?qt:Xt<0?mn:he,Z=Xt!=this.pY,ve=Math.abs(x.deltaY))),x.direction=rt,Z&&ve>$.threshold&&rt&$.direction},attrTest:function(x){return Qn.prototype.attrTest.call(this,x)&&(this.state&ri||!(this.state&ri)&&this.directionTest(x))},emit:function(x){this.pX=x.deltaX,this.pY=x.deltaY;var $=lo(x.direction);$&&(x.additionalEvent=this.options.event+$),this._super.emit.call(this,x)}}),ft(mr,Qn,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ti]},attrTest:function(x){return this._super.attrTest.call(this,x)&&(Math.abs(x.scale-1)>this.options.threshold||this.state&ri)},emit:function(x){1!==x.scale&&(x.additionalEvent=this.options.event+(x.scale<1?"in":"out")),this._super.emit.call(this,x)}}),ft(jr,gr,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(x){var $=this.options,Z=x.pointers.length===$.pointers,ve=x.distance<$.threshold,rt=x.deltaTime>$.time;if(this._input=x,!ve||!Z||x.eventType&(_t|tt)&&!rt)this.reset();else if(x.eventType&Pt)this.reset(),this._timer=ue(function(){this.state=Gn,this.tryEmit()},$.time,this);else if(x.eventType&_t)return Gn;return 32},reset:function(){clearTimeout(this._timer)},emit:function(x){this.state===Gn&&(x&&x.eventType&_t?this.manager.emit(this.options.event+"up",x):(this._input.timeStamp=de(),this.manager.emit(this.options.event,this._input)))}}),ft(Ji,Qn,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ti]},attrTest:function(x){return this._super.attrTest.call(this,x)&&(Math.abs(x.rotation)>this.options.threshold||this.state&ri)}}),ft(Cr,Qn,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:J|Ne,pointers:1},getTouchAction:function(){return Pr.prototype.getTouchAction.call(this)},attrTest:function(x){var Z,$=this.options.direction;return $&(J|Ne)?Z=x.overallVelocity:$&J?Z=x.overallVelocityX:$&Ne&&(Z=x.overallVelocityY),this._super.attrTest.call(this,x)&&$&x.offsetDirection&&x.distance>this.options.threshold&&x.maxPointers==this.options.pointers&&le(Z)>this.options.velocity&&x.eventType&_t},emit:function(x){var $=lo(x.offsetDirection);$&&this.manager.emit(this.options.event+$,x),this.manager.emit(this.options.event,x)}}),ft(ar,gr,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Un]},process:function(x){var $=this.options,Z=x.pointers.length===$.pointers,ve=x.distance<$.threshold,rt=x.deltaTime<$.time;if(this.reset(),x.eventType&Pt&&0===this.count)return this.failTimeout();if(ve&&rt&&Z){if(x.eventType!=_t)return this.failTimeout();var Et=!this.pTime||x.timeStamp-this.pTime<$.interval,Xt=!this.pCenter||It(this.pCenter,x.center)<$.posThreshold;if(this.pTime=x.timeStamp,this.pCenter=x.center,Xt&&Et?this.count+=1:this.count=1,this._input=x,0==this.count%$.taps)return this.hasRequireFailures()?(this._timer=ue(function(){this.state=Gn,this.tryEmit()},$.interval,this),ri):Gn}return 32},failTimeout:function(){return this._timer=ue(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Gn&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Ci.VERSION="2.0.7",Ci.defaults={domEvents:!1,touchAction:mi,enable:!0,inputTarget:null,inputClass:null,preset:[[Ji,{enable:!1}],[mr,{enable:!1},["rotate"]],[Cr,{direction:J}],[Pr,{direction:J},["swipe"]],[ar],[ar,{event:"doubletap",taps:2},["tap"]],[jr]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Zi.prototype={set:function(x){return Ye(this.options,x),x.touchAction&&this.touchAction.update(),x.inputTarget&&(this.input.destroy(),this.input.target=x.inputTarget,this.input.init()),this},stop:function(x){this.session.stopped=x?2:1},recognize:function(x){var $=this.session;if(!$.stopped){this.touchAction.preventDefaults(x);var Z,ve=this.recognizers,rt=$.curRecognizer;(!rt||rt&&rt.state&Gn)&&(rt=$.curRecognizer=null);for(var Et=0;Et<ve.length;)Z=ve[Et],2===$.stopped||rt&&Z!=rt&&!Z.canRecognizeWith(rt)?Z.reset():Z.recognize(x),!rt&&Z.state&(ri|Pi|tr)&&(rt=$.curRecognizer=Z),Et++}},get:function(x){if(x instanceof gr)return x;for(var $=this.recognizers,Z=0;Z<$.length;Z++)if($[Z].options.event==x)return $[Z];return null},add:function(x){if(Fe(x,"add",this))return this;var $=this.get(x.options.event);return $&&this.remove($),this.recognizers.push(x),x.manager=this,this.touchAction.update(),x},remove:function(x){if(Fe(x,"remove",this))return this;if(x=this.get(x)){var $=this.recognizers,Z=qe($,x);-1!==Z&&($.splice(Z,1),this.touchAction.update())}return this},on:function(x,$){if(x!==ne&&$!==ne){var Z=this.handlers;return Re(Ke(x),function(ve){Z[ve]=Z[ve]||[],Z[ve].push($)}),this}},off:function(x,$){if(x!==ne){var Z=this.handlers;return Re(Ke(x),function(ve){$?Z[ve]&&Z[ve].splice(qe(Z[ve],$),1):delete Z[ve]}),this}},emit:function(x,$){this.options.domEvents&&function $r(x,$){var Z=oe.createEvent("Event");Z.initEvent(x,!0,!0),Z.gesture=$,$.target.dispatchEvent(Z)}(x,$);var Z=this.handlers[x]&&this.handlers[x].slice();if(Z&&Z.length){$.type=x,$.preventDefault=function(){$.srcEvent.preventDefault()};for(var ve=0;ve<Z.length;)Z[ve]($),ve++}},destroy:function(){this.element&&Ui(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},Ye(Ci,{INPUT_START:Pt,INPUT_MOVE:kt,INPUT_END:_t,INPUT_CANCEL:tt,STATE_POSSIBLE:Ki,STATE_BEGAN:ri,STATE_CHANGED:Pi,STATE_ENDED:tr,STATE_RECOGNIZED:Gn,STATE_CANCELLED:wr,STATE_FAILED:32,DIRECTION_NONE:qt,DIRECTION_LEFT:fn,DIRECTION_RIGHT:bn,DIRECTION_UP:mn,DIRECTION_DOWN:he,DIRECTION_HORIZONTAL:J,DIRECTION_VERTICAL:Ne,DIRECTION_ALL:Ve,Manager:Zi,Input:Qt,TouchAction:ni,TouchInput:q,MouseInput:Ei,PointerEventInput:vn,TouchMouseInput:We,SingleTouchInput:Pe,Recognizer:gr,AttrRecognizer:Qn,Tap:ar,Pan:Pr,Swipe:Cr,Pinch:mr,Rotate:Ji,Press:jr,on:ye,off:pe,each:Re,merge:xt,extend:Ct,assign:Ye,inherit:ft,bindFn:Ht,prefixed:Yt}),(typeof j<"u"?j:typeof self<"u"?self:{}).Hammer=Ci,(o=function(){return Ci}.call(Se,R,Se,Nt))!==ne&&(Nt.exports=o)}(window,document)},1135:(Nt,Se,R)=>{"use strict";R.d(Se,{X:()=>j});var o=R(7579);class j extends o.x{constructor(De){super(),this._value=De}get value(){return this.getValue()}_subscribe(De){const ne=super._subscribe(De);return!ne.closed&&De.next(this._value),ne}getValue(){const{hasError:De,thrownError:ne,_value:ie}=this;if(De)throw ne;return this._throwIfClosed(),ie}next(De){super.next(this._value=De)}}},9751:(Nt,Se,R)=>{"use strict";R.d(Se,{y:()=>$e});var o=R(930),j=R(727),oe=R(8822),De=R(9635),ne=R(2416),ie=R(576),we=R(2806);let $e=(()=>{class ue{constructor(Re){Re&&(this._subscribe=Re)}lift(Re){const ze=new ue;return ze.source=this,ze.operator=Re,ze}subscribe(Re,ze,Ye){const Ct=function de(ue){return ue&&ue instanceof o.Lv||function le(ue){return ue&&(0,ie.m)(ue.next)&&(0,ie.m)(ue.error)&&(0,ie.m)(ue.complete)}(ue)&&(0,j.Nn)(ue)}(Re)?Re:new o.Hp(Re,ze,Ye);return(0,we.x)(()=>{const{operator:xt,source:ft}=this;Ct.add(xt?xt.call(Ct,ft):ft?this._subscribe(Ct):this._trySubscribe(Ct))}),Ct}_trySubscribe(Re){try{return this._subscribe(Re)}catch(ze){Re.error(ze)}}forEach(Re,ze){return new(ze=Ie(ze))((Ye,Ct)=>{const xt=new o.Hp({next:ft=>{try{Re(ft)}catch(Ht){Ct(Ht),xt.unsubscribe()}},error:Ct,complete:Ye});this.subscribe(xt)})}_subscribe(Re){var ze;return null===(ze=this.source)||void 0===ze?void 0:ze.subscribe(Re)}[oe.L](){return this}pipe(...Re){return(0,De.U)(Re)(this)}toPromise(Re){return new(Re=Ie(Re))((ze,Ye)=>{let Ct;this.subscribe(xt=>Ct=xt,xt=>Ye(xt),()=>ze(Ct))})}}return ue.create=Fe=>new ue(Fe),ue})();function Ie(ue){var Fe;return null!==(Fe=ue??ne.config.Promise)&&void 0!==Fe?Fe:Promise}},7579:(Nt,Se,R)=>{"use strict";R.d(Se,{x:()=>we});var o=R(9751),j=R(727);const De=(0,R(3888).d)(Ie=>function(){Ie(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ne=R(8737),ie=R(2806);let we=(()=>{class Ie extends o.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(de){const ue=new $e(this,this);return ue.operator=de,ue}_throwIfClosed(){if(this.closed)throw new De}next(de){(0,ie.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ue of this.currentObservers)ue.next(de)}})}error(de){(0,ie.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=de;const{observers:ue}=this;for(;ue.length;)ue.shift().error(de)}})}complete(){(0,ie.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:de}=this;for(;de.length;)de.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var de;return(null===(de=this.observers)||void 0===de?void 0:de.length)>0}_trySubscribe(de){return this._throwIfClosed(),super._trySubscribe(de)}_subscribe(de){return this._throwIfClosed(),this._checkFinalizedStatuses(de),this._innerSubscribe(de)}_innerSubscribe(de){const{hasError:ue,isStopped:Fe,observers:Re}=this;return ue||Fe?j.Lc:(this.currentObservers=null,Re.push(de),new j.w0(()=>{this.currentObservers=null,(0,ne.P)(Re,de)}))}_checkFinalizedStatuses(de){const{hasError:ue,thrownError:Fe,isStopped:Re}=this;ue?de.error(Fe):Re&&de.complete()}asObservable(){const de=new o.y;return de.source=this,de}}return Ie.create=(le,de)=>new $e(le,de),Ie})();class $e extends we{constructor(le,de){super(),this.destination=le,this.source=de}next(le){var de,ue;null===(ue=null===(de=this.destination)||void 0===de?void 0:de.next)||void 0===ue||ue.call(de,le)}error(le){var de,ue;null===(ue=null===(de=this.destination)||void 0===de?void 0:de.error)||void 0===ue||ue.call(de,le)}complete(){var le,de;null===(de=null===(le=this.destination)||void 0===le?void 0:le.complete)||void 0===de||de.call(le)}_subscribe(le){var de,ue;return null!==(ue=null===(de=this.source)||void 0===de?void 0:de.subscribe(le))&&void 0!==ue?ue:j.Lc}}},930:(Nt,Se,R)=>{"use strict";R.d(Se,{Hp:()=>Ye,Lv:()=>ue});var o=R(576),j=R(727),oe=R(2416),De=R(7849),ne=R(5032);const ie=Ie("C",void 0,void 0);function Ie(X,re,ye){return{kind:X,value:re,error:ye}}var le=R(3410),de=R(2806);class ue extends j.w0{constructor(re){super(),this.isStopped=!1,re?(this.destination=re,(0,j.Nn)(re)&&re.add(this)):this.destination=Ht}static create(re,ye,pe){return new Ye(re,ye,pe)}next(re){this.isStopped?ft(function $e(X){return Ie("N",X,void 0)}(re),this):this._next(re)}error(re){this.isStopped?ft(function we(X){return Ie("E",void 0,X)}(re),this):(this.isStopped=!0,this._error(re))}complete(){this.isStopped?ft(ie,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(re){this.destination.next(re)}_error(re){try{this.destination.error(re)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Fe=Function.prototype.bind;function Re(X,re){return Fe.call(X,re)}class ze{constructor(re){this.partialObserver=re}next(re){const{partialObserver:ye}=this;if(ye.next)try{ye.next(re)}catch(pe){Ct(pe)}}error(re){const{partialObserver:ye}=this;if(ye.error)try{ye.error(re)}catch(pe){Ct(pe)}else Ct(re)}complete(){const{partialObserver:re}=this;if(re.complete)try{re.complete()}catch(ye){Ct(ye)}}}class Ye extends ue{constructor(re,ye,pe){let me;if(super(),(0,o.m)(re)||!re)me={next:re??void 0,error:ye??void 0,complete:pe??void 0};else{let Me;this&&oe.config.useDeprecatedNextContext?(Me=Object.create(re),Me.unsubscribe=()=>this.unsubscribe(),me={next:re.next&&Re(re.next,Me),error:re.error&&Re(re.error,Me),complete:re.complete&&Re(re.complete,Me)}):me=re}this.destination=new ze(me)}}function Ct(X){oe.config.useDeprecatedSynchronousErrorHandling?(0,de.O)(X):(0,De.h)(X)}function ft(X,re){const{onStoppedNotification:ye}=oe.config;ye&&le.z.setTimeout(()=>ye(X,re))}const Ht={closed:!0,next:ne.Z,error:function xt(X){throw X},complete:ne.Z}},727:(Nt,Se,R)=>{"use strict";R.d(Se,{Lc:()=>ie,w0:()=>ne,Nn:()=>we});var o=R(576);const oe=(0,R(3888).d)(Ie=>function(de){Ie(this),this.message=de?`${de.length} errors occurred during unsubscription:\n${de.map((ue,Fe)=>`${Fe+1}) ${ue.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=de});var De=R(8737);class ne{constructor(le){this.initialTeardown=le,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let le;if(!this.closed){this.closed=!0;const{_parentage:de}=this;if(de)if(this._parentage=null,Array.isArray(de))for(const Re of de)Re.remove(this);else de.remove(this);const{initialTeardown:ue}=this;if((0,o.m)(ue))try{ue()}catch(Re){le=Re instanceof oe?Re.errors:[Re]}const{_finalizers:Fe}=this;if(Fe){this._finalizers=null;for(const Re of Fe)try{$e(Re)}catch(ze){le=le??[],ze instanceof oe?le=[...le,...ze.errors]:le.push(ze)}}if(le)throw new oe(le)}}add(le){var de;if(le&&le!==this)if(this.closed)$e(le);else{if(le instanceof ne){if(le.closed||le._hasParent(this))return;le._addParent(this)}(this._finalizers=null!==(de=this._finalizers)&&void 0!==de?de:[]).push(le)}}_hasParent(le){const{_parentage:de}=this;return de===le||Array.isArray(de)&&de.includes(le)}_addParent(le){const{_parentage:de}=this;this._parentage=Array.isArray(de)?(de.push(le),de):de?[de,le]:le}_removeParent(le){const{_parentage:de}=this;de===le?this._parentage=null:Array.isArray(de)&&(0,De.P)(de,le)}remove(le){const{_finalizers:de}=this;de&&(0,De.P)(de,le),le instanceof ne&&le._removeParent(this)}}ne.EMPTY=(()=>{const Ie=new ne;return Ie.closed=!0,Ie})();const ie=ne.EMPTY;function we(Ie){return Ie instanceof ne||Ie&&"closed"in Ie&&(0,o.m)(Ie.remove)&&(0,o.m)(Ie.add)&&(0,o.m)(Ie.unsubscribe)}function $e(Ie){(0,o.m)(Ie)?Ie():Ie.unsubscribe()}},2416:(Nt,Se,R)=>{"use strict";R.d(Se,{config:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},7272:(Nt,Se,R)=>{"use strict";R.d(Se,{z:()=>ne});var o=R(8189),oe=R(3269),De=R(2076);function ne(...ie){return function j(){return(0,o.J)(1)}()((0,De.D)(ie,(0,oe.yG)(ie)))}},9770:(Nt,Se,R)=>{"use strict";R.d(Se,{P:()=>oe});var o=R(9751),j=R(8421);function oe(De){return new o.y(ne=>{(0,j.Xf)(De()).subscribe(ne)})}},515:(Nt,Se,R)=>{"use strict";R.d(Se,{E:()=>j});const j=new(R(9751).y)(ne=>ne.complete())},2076:(Nt,Se,R)=>{"use strict";R.d(Se,{D:()=>pe});var o=R(8421),j=R(9672),oe=R(4482),De=R(5403);function ne(me,Me=0){return(0,oe.e)((Ke,qe)=>{Ke.subscribe((0,De.x)(qe,Vt=>(0,j.f)(qe,me,()=>qe.next(Vt),Me),()=>(0,j.f)(qe,me,()=>qe.complete(),Me),Vt=>(0,j.f)(qe,me,()=>qe.error(Vt),Me)))})}function ie(me,Me=0){return(0,oe.e)((Ke,qe)=>{qe.add(me.schedule(()=>Ke.subscribe(qe),Me))})}var Ie=R(9751),de=R(2202),ue=R(576);function Re(me,Me){if(!me)throw new Error("Iterable cannot be null");return new Ie.y(Ke=>{(0,j.f)(Ke,Me,()=>{const qe=me[Symbol.asyncIterator]();(0,j.f)(Ke,Me,()=>{qe.next().then(Vt=>{Vt.done?Ke.complete():Ke.next(Vt.value)})},0,!0)})})}var ze=R(3670),Ye=R(8239),Ct=R(1144),xt=R(6495),ft=R(2206),Ht=R(4532),X=R(3260);function pe(me,Me){return Me?function ye(me,Me){if(null!=me){if((0,ze.c)(me))return function we(me,Me){return(0,o.Xf)(me).pipe(ie(Me),ne(Me))}(me,Me);if((0,Ct.z)(me))return function le(me,Me){return new Ie.y(Ke=>{let qe=0;return Me.schedule(function(){qe===me.length?Ke.complete():(Ke.next(me[qe++]),Ke.closed||this.schedule())})})}(me,Me);if((0,Ye.t)(me))return function $e(me,Me){return(0,o.Xf)(me).pipe(ie(Me),ne(Me))}(me,Me);if((0,ft.D)(me))return Re(me,Me);if((0,xt.T)(me))return function Fe(me,Me){return new Ie.y(Ke=>{let qe;return(0,j.f)(Ke,Me,()=>{qe=me[de.h](),(0,j.f)(Ke,Me,()=>{let Vt,jt;try{({value:Vt,done:jt}=qe.next())}catch(Yt){return void Ke.error(Yt)}jt?Ke.complete():Ke.next(Vt)},0,!0)}),()=>(0,ue.m)(qe?.return)&&qe.return()})}(me,Me);if((0,X.L)(me))return function re(me,Me){return Re((0,X.Q)(me),Me)}(me,Me)}throw(0,Ht.z)(me)}(me,Me):(0,o.Xf)(me)}},4968:(Nt,Se,R)=>{"use strict";R.d(Se,{R:()=>le});var o=R(8421),j=R(9751),oe=R(5577),De=R(1144),ne=R(576),ie=R(3268);const we=["addListener","removeListener"],$e=["addEventListener","removeEventListener"],Ie=["on","off"];function le(ze,Ye,Ct,xt){if((0,ne.m)(Ct)&&(xt=Ct,Ct=void 0),xt)return le(ze,Ye,Ct).pipe((0,ie.Z)(xt));const[ft,Ht]=function Re(ze){return(0,ne.m)(ze.addEventListener)&&(0,ne.m)(ze.removeEventListener)}(ze)?$e.map(X=>re=>ze[X](Ye,re,Ct)):function ue(ze){return(0,ne.m)(ze.addListener)&&(0,ne.m)(ze.removeListener)}(ze)?we.map(de(ze,Ye)):function Fe(ze){return(0,ne.m)(ze.on)&&(0,ne.m)(ze.off)}(ze)?Ie.map(de(ze,Ye)):[];if(!ft&&(0,De.z)(ze))return(0,oe.z)(X=>le(X,Ye,Ct))((0,o.Xf)(ze));if(!ft)throw new TypeError("Invalid event target");return new j.y(X=>{const re=(...ye)=>X.next(1<ye.length?ye:ye[0]);return ft(re),()=>Ht(re)})}function de(ze,Ye){return Ct=>xt=>ze[Ct](Ye,xt)}},8421:(Nt,Se,R)=>{"use strict";R.d(Se,{Xf:()=>Fe});var o=R(7582),j=R(1144),oe=R(8239),De=R(9751),ne=R(3670),ie=R(2206),we=R(4532),$e=R(6495),Ie=R(3260),le=R(576),de=R(7849),ue=R(8822);function Fe(X){if(X instanceof De.y)return X;if(null!=X){if((0,ne.c)(X))return function Re(X){return new De.y(re=>{const ye=X[ue.L]();if((0,le.m)(ye.subscribe))return ye.subscribe(re);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(X);if((0,j.z)(X))return function ze(X){return new De.y(re=>{for(let ye=0;ye<X.length&&!re.closed;ye++)re.next(X[ye]);re.complete()})}(X);if((0,oe.t)(X))return function Ye(X){return new De.y(re=>{X.then(ye=>{re.closed||(re.next(ye),re.complete())},ye=>re.error(ye)).then(null,de.h)})}(X);if((0,ie.D)(X))return xt(X);if((0,$e.T)(X))return function Ct(X){return new De.y(re=>{for(const ye of X)if(re.next(ye),re.closed)return;re.complete()})}(X);if((0,Ie.L)(X))return function ft(X){return xt((0,Ie.Q)(X))}(X)}throw(0,we.z)(X)}function xt(X){return new De.y(re=>{(function Ht(X,re){var ye,pe,me,Me;return(0,o.mG)(this,void 0,void 0,function*(){try{for(ye=(0,o.KL)(X);!(pe=yield ye.next()).done;)if(re.next(pe.value),re.closed)return}catch(Ke){me={error:Ke}}finally{try{pe&&!pe.done&&(Me=ye.return)&&(yield Me.call(ye))}finally{if(me)throw me.error}}re.complete()})})(X,re).catch(ye=>re.error(ye))})}},6451:(Nt,Se,R)=>{"use strict";R.d(Se,{T:()=>ie});var o=R(8189),j=R(8421),oe=R(515),De=R(3269),ne=R(2076);function ie(...we){const $e=(0,De.yG)(we),Ie=(0,De._6)(we,1/0),le=we;return le.length?1===le.length?(0,j.Xf)(le[0]):(0,o.J)(Ie)((0,ne.D)(le,$e)):oe.E}},9646:(Nt,Se,R)=>{"use strict";R.d(Se,{of:()=>oe});var o=R(3269),j=R(2076);function oe(...De){const ne=(0,o.yG)(De);return(0,j.D)(De,ne)}},5963:(Nt,Se,R)=>{"use strict";R.d(Se,{H:()=>ne});var o=R(9751),j=R(4049),oe=R(3532);function ne(ie=0,we,$e=j.P){let Ie=-1;return null!=we&&((0,oe.K)(we)?$e=we:Ie=we),new o.y(le=>{let de=function De(ie){return ie instanceof Date&&!isNaN(ie)}(ie)?+ie-$e.now():ie;de<0&&(de=0);let ue=0;return $e.schedule(function(){le.closed||(le.next(ue++),0<=Ie?this.schedule(void 0,Ie):le.complete())},de)})}},5403:(Nt,Se,R)=>{"use strict";R.d(Se,{x:()=>j});var o=R(930);function j(De,ne,ie,we,$e){return new oe(De,ne,ie,we,$e)}class oe extends o.Lv{constructor(ne,ie,we,$e,Ie,le){super(ne),this.onFinalize=Ie,this.shouldUnsubscribe=le,this._next=ie?function(de){try{ie(de)}catch(ue){ne.error(ue)}}:super._next,this._error=$e?function(de){try{$e(de)}catch(ue){ne.error(ue)}finally{this.unsubscribe()}}:super._error,this._complete=we?function(){try{we()}catch(de){ne.error(de)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ne;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ie}=this;super.unsubscribe(),!ie&&(null===(ne=this.onFinalize)||void 0===ne||ne.call(this))}}}},4351:(Nt,Se,R)=>{"use strict";R.d(Se,{b:()=>oe});var o=R(5577),j=R(576);function oe(De,ne){return(0,j.m)(ne)?(0,o.z)(De,ne,1):(0,o.z)(De,1)}},1884:(Nt,Se,R)=>{"use strict";R.d(Se,{x:()=>De});var o=R(4671),j=R(4482),oe=R(5403);function De(ie,we=o.y){return ie=ie??ne,(0,j.e)(($e,Ie)=>{let le,de=!0;$e.subscribe((0,oe.x)(Ie,ue=>{const Fe=we(ue);(de||!ie(le,Fe))&&(de=!1,le=Fe,Ie.next(ue))}))})}function ne(ie,we){return ie===we}},9300:(Nt,Se,R)=>{"use strict";R.d(Se,{h:()=>oe});var o=R(4482),j=R(5403);function oe(De,ne){return(0,o.e)((ie,we)=>{let $e=0;ie.subscribe((0,j.x)(we,Ie=>De.call(ne,Ie,$e++)&&we.next(Ie)))})}},8746:(Nt,Se,R)=>{"use strict";R.d(Se,{x:()=>j});var o=R(4482);function j(oe){return(0,o.e)((De,ne)=>{try{De.subscribe(ne)}finally{ne.add(oe)}})}},4004:(Nt,Se,R)=>{"use strict";R.d(Se,{U:()=>oe});var o=R(4482),j=R(5403);function oe(De,ne){return(0,o.e)((ie,we)=>{let $e=0;ie.subscribe((0,j.x)(we,Ie=>{we.next(De.call(ne,Ie,$e++))}))})}},9718:(Nt,Se,R)=>{"use strict";R.d(Se,{h:()=>j});var o=R(4004);function j(oe){return(0,o.U)(()=>oe)}},8189:(Nt,Se,R)=>{"use strict";R.d(Se,{J:()=>oe});var o=R(5577),j=R(4671);function oe(De=1/0){return(0,o.z)(j.y,De)}},5577:(Nt,Se,R)=>{"use strict";R.d(Se,{z:()=>$e});var o=R(4004),j=R(8421),oe=R(4482),De=R(9672),ne=R(5403),we=R(576);function $e(Ie,le,de=1/0){return(0,we.m)(le)?$e((ue,Fe)=>(0,o.U)((Re,ze)=>le(ue,Re,Fe,ze))((0,j.Xf)(Ie(ue,Fe))),de):("number"==typeof le&&(de=le),(0,oe.e)((ue,Fe)=>function ie(Ie,le,de,ue,Fe,Re,ze,Ye){const Ct=[];let xt=0,ft=0,Ht=!1;const X=()=>{Ht&&!Ct.length&&!xt&&le.complete()},re=pe=>xt<ue?ye(pe):Ct.push(pe),ye=pe=>{Re&&le.next(pe),xt++;let me=!1;(0,j.Xf)(de(pe,ft++)).subscribe((0,ne.x)(le,Me=>{Fe?.(Me),Re?re(Me):le.next(Me)},()=>{me=!0},void 0,()=>{if(me)try{for(xt--;Ct.length&&xt<ue;){const Me=Ct.shift();ze?(0,De.f)(le,ze,()=>ye(Me)):ye(Me)}X()}catch(Me){le.error(Me)}}))};return Ie.subscribe((0,ne.x)(le,re,()=>{Ht=!0,X()})),()=>{Ye?.()}}(ue,Fe,Ie,de)))}},3099:(Nt,Se,R)=>{"use strict";R.d(Se,{B:()=>ne});var o=R(8421),j=R(7579),oe=R(930),De=R(4482);function ne(we={}){const{connector:$e=(()=>new j.x),resetOnError:Ie=!0,resetOnComplete:le=!0,resetOnRefCountZero:de=!0}=we;return ue=>{let Fe,Re,ze,Ye=0,Ct=!1,xt=!1;const ft=()=>{Re?.unsubscribe(),Re=void 0},Ht=()=>{ft(),Fe=ze=void 0,Ct=xt=!1},X=()=>{const re=Fe;Ht(),re?.unsubscribe()};return(0,De.e)((re,ye)=>{Ye++,!xt&&!Ct&&ft();const pe=ze=ze??$e();ye.add(()=>{Ye--,0===Ye&&!xt&&!Ct&&(Re=ie(X,de))}),pe.subscribe(ye),!Fe&&Ye>0&&(Fe=new oe.Hp({next:me=>pe.next(me),error:me=>{xt=!0,ft(),Re=ie(Ht,Ie,me),pe.error(me)},complete:()=>{Ct=!0,ft(),Re=ie(Ht,le),pe.complete()}}),(0,o.Xf)(re).subscribe(Fe))})(ue)}}function ie(we,$e,...Ie){if(!0===$e)return void we();if(!1===$e)return;const le=new oe.Hp({next:()=>{le.unsubscribe(),we()}});return $e(...Ie).subscribe(le)}},8675:(Nt,Se,R)=>{"use strict";R.d(Se,{O:()=>De});var o=R(7272),j=R(3269),oe=R(4482);function De(...ne){const ie=(0,j.yG)(ne);return(0,oe.e)((we,$e)=>{(ie?(0,o.z)(ne,we,ie):(0,o.z)(ne,we)).subscribe($e)})}},3900:(Nt,Se,R)=>{"use strict";R.d(Se,{w:()=>De});var o=R(8421),j=R(4482),oe=R(5403);function De(ne,ie){return(0,j.e)((we,$e)=>{let Ie=null,le=0,de=!1;const ue=()=>de&&!Ie&&$e.complete();we.subscribe((0,oe.x)($e,Fe=>{Ie?.unsubscribe();let Re=0;const ze=le++;(0,o.Xf)(ne(Fe,ze)).subscribe(Ie=(0,oe.x)($e,Ye=>$e.next(ie?ie(Fe,Ye,ze,Re++):Ye),()=>{Ie=null,ue()}))},()=>{de=!0,ue()}))})}},5698:(Nt,Se,R)=>{"use strict";R.d(Se,{q:()=>De});var o=R(515),j=R(4482),oe=R(5403);function De(ne){return ne<=0?()=>o.E:(0,j.e)((ie,we)=>{let $e=0;ie.subscribe((0,oe.x)(we,Ie=>{++$e<=ne&&(we.next(Ie),ne<=$e&&we.complete())}))})}},2722:(Nt,Se,R)=>{"use strict";R.d(Se,{R:()=>ne});var o=R(4482),j=R(5403),oe=R(8421),De=R(5032);function ne(ie){return(0,o.e)((we,$e)=>{(0,oe.Xf)(ie).subscribe((0,j.x)($e,()=>$e.complete(),De.Z)),!$e.closed&&we.subscribe($e)})}},8505:(Nt,Se,R)=>{"use strict";R.d(Se,{b:()=>ne});var o=R(576),j=R(4482),oe=R(5403),De=R(4671);function ne(ie,we,$e){const Ie=(0,o.m)(ie)||we||$e?{next:ie,error:we,complete:$e}:ie;return Ie?(0,j.e)((le,de)=>{var ue;null===(ue=Ie.subscribe)||void 0===ue||ue.call(Ie);let Fe=!0;le.subscribe((0,oe.x)(de,Re=>{var ze;null===(ze=Ie.next)||void 0===ze||ze.call(Ie,Re),de.next(Re)},()=>{var Re;Fe=!1,null===(Re=Ie.complete)||void 0===Re||Re.call(Ie),de.complete()},Re=>{var ze;Fe=!1,null===(ze=Ie.error)||void 0===ze||ze.call(Ie,Re),de.error(Re)},()=>{var Re,ze;Fe&&(null===(Re=Ie.unsubscribe)||void 0===Re||Re.call(Ie)),null===(ze=Ie.finalize)||void 0===ze||ze.call(Ie)}))}):De.y}},4049:(Nt,Se,R)=>{"use strict";R.d(Se,{P:()=>le,z:()=>Ie});var o=R(727);class j extends o.w0{constructor(ue,Fe){super()}schedule(ue,Fe=0){return this}}const oe={setInterval(de,ue,...Fe){const{delegate:Re}=oe;return Re?.setInterval?Re.setInterval(de,ue,...Fe):setInterval(de,ue,...Fe)},clearInterval(de){const{delegate:ue}=oe;return(ue?.clearInterval||clearInterval)(de)},delegate:void 0};var De=R(8737),ie=R(6063);class we{constructor(ue,Fe=we.now){this.schedulerActionCtor=ue,this.now=Fe}schedule(ue,Fe=0,Re){return new this.schedulerActionCtor(this,ue).schedule(Re,Fe)}}we.now=ie.l.now;const Ie=new class $e extends we{constructor(ue,Fe=we.now){super(ue,Fe),this.actions=[],this._active=!1}flush(ue){const{actions:Fe}=this;if(this._active)return void Fe.push(ue);let Re;this._active=!0;do{if(Re=ue.execute(ue.state,ue.delay))break}while(ue=Fe.shift());if(this._active=!1,Re){for(;ue=Fe.shift();)ue.unsubscribe();throw Re}}}(class ne extends j{constructor(ue,Fe){super(ue,Fe),this.scheduler=ue,this.work=Fe,this.pending=!1}schedule(ue,Fe=0){var Re;if(this.closed)return this;this.state=ue;const ze=this.id,Ye=this.scheduler;return null!=ze&&(this.id=this.recycleAsyncId(Ye,ze,Fe)),this.pending=!0,this.delay=Fe,this.id=null!==(Re=this.id)&&void 0!==Re?Re:this.requestAsyncId(Ye,this.id,Fe),this}requestAsyncId(ue,Fe,Re=0){return oe.setInterval(ue.flush.bind(ue,this),Re)}recycleAsyncId(ue,Fe,Re=0){if(null!=Re&&this.delay===Re&&!1===this.pending)return Fe;null!=Fe&&oe.clearInterval(Fe)}execute(ue,Fe){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Re=this._execute(ue,Fe);if(Re)return Re;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ue,Fe){let ze,Re=!1;try{this.work(ue)}catch(Ye){Re=!0,ze=Ye||new Error("Scheduled action threw falsy error")}if(Re)return this.unsubscribe(),ze}unsubscribe(){if(!this.closed){const{id:ue,scheduler:Fe}=this,{actions:Re}=Fe;this.work=this.state=this.scheduler=null,this.pending=!1,(0,De.P)(Re,this),null!=ue&&(this.id=this.recycleAsyncId(Fe,ue,null)),this.delay=null,super.unsubscribe()}}}),le=Ie},6063:(Nt,Se,R)=>{"use strict";R.d(Se,{l:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},3410:(Nt,Se,R)=>{"use strict";R.d(Se,{z:()=>o});const o={setTimeout(j,oe,...De){const{delegate:ne}=o;return ne?.setTimeout?ne.setTimeout(j,oe,...De):setTimeout(j,oe,...De)},clearTimeout(j){const{delegate:oe}=o;return(oe?.clearTimeout||clearTimeout)(j)},delegate:void 0}},2202:(Nt,Se,R)=>{"use strict";R.d(Se,{h:()=>j});const j=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Nt,Se,R)=>{"use strict";R.d(Se,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(Nt,Se,R)=>{"use strict";R.d(Se,{_6:()=>ie,jO:()=>De,yG:()=>ne});var o=R(576),j=R(3532);function oe(we){return we[we.length-1]}function De(we){return(0,o.m)(oe(we))?we.pop():void 0}function ne(we){return(0,j.K)(oe(we))?we.pop():void 0}function ie(we,$e){return"number"==typeof oe(we)?we.pop():$e}},4742:(Nt,Se,R)=>{"use strict";R.d(Se,{D:()=>ne});const{isArray:o}=Array,{getPrototypeOf:j,prototype:oe,keys:De}=Object;function ne(we){if(1===we.length){const $e=we[0];if(o($e))return{args:$e,keys:null};if(function ie(we){return we&&"object"==typeof we&&j(we)===oe}($e)){const Ie=De($e);return{args:Ie.map(le=>$e[le]),keys:Ie}}}return{args:we,keys:null}}},8737:(Nt,Se,R)=>{"use strict";function o(j,oe){if(j){const De=j.indexOf(oe);0<=De&&j.splice(De,1)}}R.d(Se,{P:()=>o})},3888:(Nt,Se,R)=>{"use strict";function o(j){const De=j(ne=>{Error.call(ne),ne.stack=(new Error).stack});return De.prototype=Object.create(Error.prototype),De.prototype.constructor=De,De}R.d(Se,{d:()=>o})},1810:(Nt,Se,R)=>{"use strict";function o(j,oe){return j.reduce((De,ne,ie)=>(De[ne]=oe[ie],De),{})}R.d(Se,{n:()=>o})},2806:(Nt,Se,R)=>{"use strict";R.d(Se,{O:()=>De,x:()=>oe});var o=R(2416);let j=null;function oe(ne){if(o.config.useDeprecatedSynchronousErrorHandling){const ie=!j;if(ie&&(j={errorThrown:!1,error:null}),ne(),ie){const{errorThrown:we,error:$e}=j;if(j=null,we)throw $e}}else ne()}function De(ne){o.config.useDeprecatedSynchronousErrorHandling&&j&&(j.errorThrown=!0,j.error=ne)}},9672:(Nt,Se,R)=>{"use strict";function o(j,oe,De,ne=0,ie=!1){const we=oe.schedule(function(){De(),ie?j.add(this.schedule(null,ne)):this.unsubscribe()},ne);if(j.add(we),!ie)return we}R.d(Se,{f:()=>o})},4671:(Nt,Se,R)=>{"use strict";function o(j){return j}R.d(Se,{y:()=>o})},1144:(Nt,Se,R)=>{"use strict";R.d(Se,{z:()=>o});const o=j=>j&&"number"==typeof j.length&&"function"!=typeof j},2206:(Nt,Se,R)=>{"use strict";R.d(Se,{D:()=>j});var o=R(576);function j(oe){return Symbol.asyncIterator&&(0,o.m)(oe?.[Symbol.asyncIterator])}},576:(Nt,Se,R)=>{"use strict";function o(j){return"function"==typeof j}R.d(Se,{m:()=>o})},3670:(Nt,Se,R)=>{"use strict";R.d(Se,{c:()=>oe});var o=R(8822),j=R(576);function oe(De){return(0,j.m)(De[o.L])}},6495:(Nt,Se,R)=>{"use strict";R.d(Se,{T:()=>oe});var o=R(2202),j=R(576);function oe(De){return(0,j.m)(De?.[o.h])}},8239:(Nt,Se,R)=>{"use strict";R.d(Se,{t:()=>j});var o=R(576);function j(oe){return(0,o.m)(oe?.then)}},3260:(Nt,Se,R)=>{"use strict";R.d(Se,{L:()=>De,Q:()=>oe});var o=R(7582),j=R(576);function oe(ne){return(0,o.FC)(this,arguments,function*(){const we=ne.getReader();try{for(;;){const{value:$e,done:Ie}=yield(0,o.qq)(we.read());if(Ie)return yield(0,o.qq)(void 0);yield yield(0,o.qq)($e)}}finally{we.releaseLock()}})}function De(ne){return(0,j.m)(ne?.getReader)}},3532:(Nt,Se,R)=>{"use strict";R.d(Se,{K:()=>j});var o=R(576);function j(oe){return oe&&(0,o.m)(oe.schedule)}},4482:(Nt,Se,R)=>{"use strict";R.d(Se,{A:()=>j,e:()=>oe});var o=R(576);function j(De){return(0,o.m)(De?.lift)}function oe(De){return ne=>{if(j(ne))return ne.lift(function(ie){try{return De(ie,this)}catch(we){this.error(we)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Nt,Se,R)=>{"use strict";R.d(Se,{Z:()=>De});var o=R(4004);const{isArray:j}=Array;function De(ne){return(0,o.U)(ie=>function oe(ne,ie){return j(ie)?ne(...ie):ne(ie)}(ne,ie))}},5032:(Nt,Se,R)=>{"use strict";function o(){}R.d(Se,{Z:()=>o})},9635:(Nt,Se,R)=>{"use strict";R.d(Se,{U:()=>oe,z:()=>j});var o=R(4671);function j(...De){return oe(De)}function oe(De){return 0===De.length?o.y:1===De.length?De[0]:function(ie){return De.reduce((we,$e)=>$e(we),ie)}}},7849:(Nt,Se,R)=>{"use strict";R.d(Se,{h:()=>oe});var o=R(2416),j=R(3410);function oe(De){j.z.setTimeout(()=>{const{onUnhandledError:ne}=o.config;if(!ne)throw De;ne(De)})}},4532:(Nt,Se,R)=>{"use strict";function o(j){return new TypeError(`You provided ${null!==j&&"object"==typeof j?"an invalid object":`'${j}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}R.d(Se,{z:()=>o})},1591:(Nt,Se,R)=>{"use strict";R.d(Se,{LC:()=>j,SB:()=>Ie,X$:()=>De,ZE:()=>ft,ZN:()=>xt,_7:()=>Re,_j:()=>o,eR:()=>de,jt:()=>ne,k1:()=>Ht,l3:()=>oe,oB:()=>$e,oQ:()=>ue,vP:()=>we});class o{}class j{}const oe="*";function De(X,re){return{type:7,name:X,definitions:re,options:{}}}function ne(X,re=null){return{type:4,styles:re,timings:X}}function we(X,re=null){return{type:2,steps:X,options:re}}function $e(X){return{type:6,styles:X,offset:null}}function Ie(X,re,ye){return{type:0,name:X,styles:re,options:ye}}function de(X,re,ye=null){return{type:1,expr:X,animation:re,options:ye}}function ue(X,re=null){return{type:8,animation:X,options:re}}function Re(X,re=null){return{type:10,animation:X,options:re}}function Ct(X){Promise.resolve().then(X)}class xt{constructor(re=0,ye=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=re+ye}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(re=>re()),this._onDoneFns=[])}onStart(re){this._originalOnStartFns.push(re),this._onStartFns.push(re)}onDone(re){this._originalOnDoneFns.push(re),this._onDoneFns.push(re)}onDestroy(re){this._onDestroyFns.push(re)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ct(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(re=>re()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(re=>re()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(re){this._position=this.totalTime?re*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(re){const ye="start"==re?this._onStartFns:this._onDoneFns;ye.forEach(pe=>pe()),ye.length=0}}class ft{constructor(re){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=re;let ye=0,pe=0,me=0;const Me=this.players.length;0==Me?Ct(()=>this._onFinish()):this.players.forEach(Ke=>{Ke.onDone(()=>{++ye==Me&&this._onFinish()}),Ke.onDestroy(()=>{++pe==Me&&this._onDestroy()}),Ke.onStart(()=>{++me==Me&&this._onStart()})}),this.totalTime=this.players.reduce((Ke,qe)=>Math.max(Ke,qe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(re=>re()),this._onDoneFns=[])}init(){this.players.forEach(re=>re.init())}onStart(re){this._onStartFns.push(re)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(re=>re()),this._onStartFns=[])}onDone(re){this._onDoneFns.push(re)}onDestroy(re){this._onDestroyFns.push(re)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(re=>re.play())}pause(){this.players.forEach(re=>re.pause())}restart(){this.players.forEach(re=>re.restart())}finish(){this._onFinish(),this.players.forEach(re=>re.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(re=>re.destroy()),this._onDestroyFns.forEach(re=>re()),this._onDestroyFns=[])}reset(){this.players.forEach(re=>re.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(re){const ye=re*this.totalTime;this.players.forEach(pe=>{const me=pe.totalTime?Math.min(1,ye/pe.totalTime):1;pe.setPosition(me)})}getPosition(){const re=this.players.reduce((ye,pe)=>null===ye||pe.totalTime>ye.totalTime?pe:ye,null);return null!=re?re.getPosition():0}beforeDestroy(){this.players.forEach(re=>{re.beforeDestroy&&re.beforeDestroy()})}triggerCallback(re){const ye="start"==re?this._onStartFns:this._onDoneFns;ye.forEach(pe=>pe()),ye.length=0}}const Ht="!"},4755:(Nt,Se,R)=>{"use strict";R.d(Se,{Do:()=>Ye,EM:()=>Vo,HT:()=>De,JF:()=>qn,K0:()=>ie,Mn:()=>Nn,Mx:()=>ri,NF:()=>kr,O5:()=>Qn,PM:()=>zr,S$:()=>Fe,Tn:()=>Me,UT:()=>Ce,V_:()=>$e,Ye:()=>Ct,ax:()=>Hr,b0:()=>ze,bD:()=>Fr,ez:()=>nr,mk:()=>Gn,p6:()=>hn,q:()=>oe,tP:()=>Ui,w1:()=>bn,w_:()=>ne,x:()=>me});var o=R(2223);let j=null;function oe(){return j}function De(y){j||(j=y)}class ne{}const ie=new o.OlP("DocumentToken");let we=(()=>{class y{historyGo(E){throw new Error("Not implemented")}}return y.\u0275fac=function(E){return new(E||y)},y.\u0275prov=o.Yz7({token:y,factory:function(){return(0,o.f3M)(Ie)},providedIn:"platform"}),y})();const $e=new o.OlP("Location Initialized");let Ie=(()=>{class y extends we{constructor(){super(),this._doc=(0,o.f3M)(ie),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return oe().getBaseHref(this._doc)}onPopState(E){const F=oe().getGlobalEventTarget(this._doc,"window");return F.addEventListener("popstate",E,!1),()=>F.removeEventListener("popstate",E)}onHashChange(E){const F=oe().getGlobalEventTarget(this._doc,"window");return F.addEventListener("hashchange",E,!1),()=>F.removeEventListener("hashchange",E)}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(E){this._location.pathname=E}pushState(E,F,Y){this._history.pushState(E,F,Y)}replaceState(E,F,Y){this._history.replaceState(E,F,Y)}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return y.\u0275fac=function(E){return new(E||y)},y.\u0275prov=o.Yz7({token:y,factory:function(){return new y},providedIn:"platform"}),y})();function le(y,I){if(0==y.length)return I;if(0==I.length)return y;let E=0;return y.endsWith("/")&&E++,I.startsWith("/")&&E++,2==E?y+I.substring(1):1==E?y+I:y+"/"+I}function de(y){const I=y.match(/#|\?|$/),E=I&&I.index||y.length;return y.slice(0,E-("/"===y[E-1]?1:0))+y.slice(E)}function ue(y){return y&&"?"!==y[0]?"?"+y:y}let Fe=(()=>{class y{historyGo(E){throw new Error("Not implemented")}}return y.\u0275fac=function(E){return new(E||y)},y.\u0275prov=o.Yz7({token:y,factory:function(){return(0,o.f3M)(ze)},providedIn:"root"}),y})();const Re=new o.OlP("appBaseHref");let ze=(()=>{class y extends Fe{constructor(E,F){super(),this._platformLocation=E,this._removeListenerFns=[],this._baseHref=F??this._platformLocation.getBaseHrefFromDOM()??(0,o.f3M)(ie).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return le(this._baseHref,E)}path(E=!1){const F=this._platformLocation.pathname+ue(this._platformLocation.search),Y=this._platformLocation.hash;return Y&&E?`${F}${Y}`:F}pushState(E,F,Y,be){const Ae=this.prepareExternalUrl(Y+ue(be));this._platformLocation.pushState(E,F,Ae)}replaceState(E,F,Y,be){const Ae=this.prepareExternalUrl(Y+ue(be));this._platformLocation.replaceState(E,F,Ae)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return y.\u0275fac=function(E){return new(E||y)(o.LFG(we),o.LFG(Re,8))},y.\u0275prov=o.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y})(),Ye=(()=>{class y extends Fe{constructor(E,F){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=F&&(this._baseHref=F)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let F=this._platformLocation.hash;return null==F&&(F="#"),F.length>0?F.substring(1):F}prepareExternalUrl(E){const F=le(this._baseHref,E);return F.length>0?"#"+F:F}pushState(E,F,Y,be){let Ae=this.prepareExternalUrl(Y+ue(be));0==Ae.length&&(Ae=this._platformLocation.pathname),this._platformLocation.pushState(E,F,Ae)}replaceState(E,F,Y,be){let Ae=this.prepareExternalUrl(Y+ue(be));0==Ae.length&&(Ae=this._platformLocation.pathname),this._platformLocation.replaceState(E,F,Ae)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}}return y.\u0275fac=function(E){return new(E||y)(o.LFG(we),o.LFG(Re,8))},y.\u0275prov=o.Yz7({token:y,factory:y.\u0275fac}),y})(),Ct=(()=>{class y{constructor(E){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=E;const F=this._locationStrategy.getBaseHref();this._basePath=function X(y){if(new RegExp("^(https?:)?//").test(y)){const[,E]=y.split(/\/\/[^\/]+/);return E}return y}(de(Ht(F))),this._locationStrategy.onPopState(Y=>{this._subject.emit({url:this.path(!0),pop:!0,state:Y.state,type:Y.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,F=""){return this.path()==this.normalize(E+ue(F))}normalize(E){return y.stripTrailingSlash(function ft(y,I){if(!y||!I.startsWith(y))return I;const E=I.substring(y.length);return""===E||["/",";","?","#"].includes(E[0])?E:I}(this._basePath,Ht(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,F="",Y=null){this._locationStrategy.pushState(Y,"",E,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ue(F)),Y)}replaceState(E,F="",Y=null){this._locationStrategy.replaceState(Y,"",E,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ue(F)),Y)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(F=>{this._notifyUrlChangeListeners(F.url,F.state)})),()=>{const F=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(F,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",F){this._urlChangeListeners.forEach(Y=>Y(E,F))}subscribe(E,F,Y){return this._subject.subscribe({next:E,error:F,complete:Y})}}return y.normalizeQueryParams=ue,y.joinWithSlash=le,y.stripTrailingSlash=de,y.\u0275fac=function(E){return new(E||y)(o.LFG(Fe))},y.\u0275prov=o.Yz7({token:y,factory:function(){return function xt(){return new Ct((0,o.LFG)(Fe))}()},providedIn:"root"}),y})();function Ht(y){return y.replace(/\/index.html$/,"")}var me=(()=>((me=me||{})[me.Format=0]="Format",me[me.Standalone=1]="Standalone",me))(),Me=(()=>((Me=Me||{})[Me.Narrow=0]="Narrow",Me[Me.Abbreviated=1]="Abbreviated",Me[Me.Wide=2]="Wide",Me[Me.Short=3]="Short",Me))(),Ke=(()=>((Ke=Ke||{})[Ke.Short=0]="Short",Ke[Ke.Medium=1]="Medium",Ke[Ke.Long=2]="Long",Ke[Ke.Full=3]="Full",Ke))(),qe=(()=>((qe=qe||{})[qe.Decimal=0]="Decimal",qe[qe.Group=1]="Group",qe[qe.List=2]="List",qe[qe.PercentSign=3]="PercentSign",qe[qe.PlusSign=4]="PlusSign",qe[qe.MinusSign=5]="MinusSign",qe[qe.Exponential=6]="Exponential",qe[qe.SuperscriptingExponent=7]="SuperscriptingExponent",qe[qe.PerMille=8]="PerMille",qe[qe.Infinity=9]="Infinity",qe[qe.NaN=10]="NaN",qe[qe.TimeSeparator=11]="TimeSeparator",qe[qe.CurrencyDecimal=12]="CurrencyDecimal",qe[qe.CurrencyGroup=13]="CurrencyGroup",qe))();function Nn(y,I,E){const F=(0,o.cg1)(y),be=mn([F[o.wAp.DaysFormat],F[o.wAp.DaysStandalone]],I);return mn(be,E)}function Ce(y,I,E){const F=(0,o.cg1)(y),be=mn([F[o.wAp.MonthsFormat],F[o.wAp.MonthsStandalone]],I);return mn(be,E)}function Xe(y,I){return mn((0,o.cg1)(y)[o.wAp.DateFormat],I)}function Oe(y,I){return mn((0,o.cg1)(y)[o.wAp.TimeFormat],I)}function Tt(y,I){return mn((0,o.cg1)(y)[o.wAp.DateTimeFormat],I)}function vt(y,I){const E=(0,o.cg1)(y),F=E[o.wAp.NumberSymbols][I];if(typeof F>"u"){if(I===qe.CurrencyDecimal)return E[o.wAp.NumberSymbols][qe.Decimal];if(I===qe.CurrencyGroup)return E[o.wAp.NumberSymbols][qe.Group]}return F}function tt(y){if(!y[o.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${y[o.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function bn(y){return(0,o.cg1)(y)[o.wAp.Directionality]}function mn(y,I){for(let E=I;E>-1;E--)if(typeof y[E]<"u")return y[E];throw new Error("Locale data API: locale data undefined")}function he(y){const[I,E]=y.split(":");return{hours:+I,minutes:+E}}const ot=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,pt={},Qt=/((?:[^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 Ze=(()=>((Ze=Ze||{})[Ze.Short=0]="Short",Ze[Ze.ShortGMT=1]="ShortGMT",Ze[Ze.Long=2]="Long",Ze[Ze.Extended=3]="Extended",Ze))(),ut=(()=>((ut=ut||{})[ut.FullYear=0]="FullYear",ut[ut.Month=1]="Month",ut[ut.Date=2]="Date",ut[ut.Hours=3]="Hours",ut[ut.Minutes=4]="Minutes",ut[ut.Seconds=5]="Seconds",ut[ut.FractionalSeconds=6]="FractionalSeconds",ut[ut.Day=7]="Day",ut))(),Dt=(()=>((Dt=Dt||{})[Dt.DayPeriods=0]="DayPeriods",Dt[Dt.Days=1]="Days",Dt[Dt.Months=2]="Months",Dt[Dt.Eras=3]="Eras",Dt))();function hn(y,I,E,F){let Y=function Pe(y){if(W(y))return y;if("number"==typeof y&&!isNaN(y))return new Date(y);if("string"==typeof y){if(y=y.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(y)){const[Y,be=1,Ae=1]=y.split("-").map(wt=>+wt);return ai(Y,be-1,Ae)}const E=parseFloat(y);if(!isNaN(y-E))return new Date(E);let F;if(F=y.match(ot))return function se(y){const I=new Date(0);let E=0,F=0;const Y=y[8]?I.setUTCFullYear:I.setFullYear,be=y[8]?I.setUTCHours:I.setHours;y[9]&&(E=Number(y[9]+y[10]),F=Number(y[9]+y[11])),Y.call(I,Number(y[1]),Number(y[2])-1,Number(y[3]));const Ae=Number(y[4]||0)-E,wt=Number(y[5]||0)-F,Fn=Number(y[6]||0),dt=Math.floor(1e3*parseFloat("0."+(y[7]||0)));return be.call(I,Ae,wt,Fn,dt),I}(F)}const I=new Date(y);if(!W(I))throw new Error(`Unable to convert "${y}" into a date`);return I}(y);I=li(E,I)||I;let wt,Ae=[];for(;I;){if(wt=Qt.exec(I),!wt){Ae.push(I);break}{Ae=Ae.concat(wt.slice(1));const mt=Ae.pop();if(!mt)break;I=mt}}let Fn=Y.getTimezoneOffset();F&&(Fn=$n(F,Fn),Y=function gi(y,I,E){const F=E?-1:1,Y=y.getTimezoneOffset();return function nn(y,I){return(y=new Date(y.getTime())).setMinutes(y.getMinutes()+I),y}(y,F*($n(I,Y)-Y))}(Y,F,!0));let dt="";return Ae.forEach(mt=>{const ct=function vn(y){if(jn[y])return jn[y];let I;switch(y){case"G":case"GG":case"GGG":I=en(Dt.Eras,Me.Abbreviated);break;case"GGGG":I=en(Dt.Eras,Me.Wide);break;case"GGGGG":I=en(Dt.Eras,Me.Narrow);break;case"y":I=It(ut.FullYear,1,0,!1,!0);break;case"yy":I=It(ut.FullYear,2,0,!0,!0);break;case"yyy":I=It(ut.FullYear,3,0,!1,!0);break;case"yyyy":I=It(ut.FullYear,4,0,!1,!0);break;case"Y":I=ci(1);break;case"YY":I=ci(2,!0);break;case"YYY":I=ci(3);break;case"YYYY":I=ci(4);break;case"M":case"L":I=It(ut.Month,1,1);break;case"MM":case"LL":I=It(ut.Month,2,1);break;case"MMM":I=en(Dt.Months,Me.Abbreviated);break;case"MMMM":I=en(Dt.Months,Me.Wide);break;case"MMMMM":I=en(Dt.Months,Me.Narrow);break;case"LLL":I=en(Dt.Months,Me.Abbreviated,me.Standalone);break;case"LLLL":I=en(Dt.Months,Me.Wide,me.Standalone);break;case"LLLLL":I=en(Dt.Months,Me.Narrow,me.Standalone);break;case"w":I=Rr(1);break;case"ww":I=Rr(2);break;case"W":I=Rr(1,!0);break;case"d":I=It(ut.Date,1);break;case"dd":I=It(ut.Date,2);break;case"c":case"cc":I=It(ut.Day,1);break;case"ccc":I=en(Dt.Days,Me.Abbreviated,me.Standalone);break;case"cccc":I=en(Dt.Days,Me.Wide,me.Standalone);break;case"ccccc":I=en(Dt.Days,Me.Narrow,me.Standalone);break;case"cccccc":I=en(Dt.Days,Me.Short,me.Standalone);break;case"E":case"EE":case"EEE":I=en(Dt.Days,Me.Abbreviated);break;case"EEEE":I=en(Dt.Days,Me.Wide);break;case"EEEEE":I=en(Dt.Days,Me.Narrow);break;case"EEEEEE":I=en(Dt.Days,Me.Short);break;case"a":case"aa":case"aaa":I=en(Dt.DayPeriods,Me.Abbreviated);break;case"aaaa":I=en(Dt.DayPeriods,Me.Wide);break;case"aaaaa":I=en(Dt.DayPeriods,Me.Narrow);break;case"b":case"bb":case"bbb":I=en(Dt.DayPeriods,Me.Abbreviated,me.Standalone,!0);break;case"bbbb":I=en(Dt.DayPeriods,Me.Wide,me.Standalone,!0);break;case"bbbbb":I=en(Dt.DayPeriods,Me.Narrow,me.Standalone,!0);break;case"B":case"BB":case"BBB":I=en(Dt.DayPeriods,Me.Abbreviated,me.Format,!0);break;case"BBBB":I=en(Dt.DayPeriods,Me.Wide,me.Format,!0);break;case"BBBBB":I=en(Dt.DayPeriods,Me.Narrow,me.Format,!0);break;case"h":I=It(ut.Hours,1,-12);break;case"hh":I=It(ut.Hours,2,-12);break;case"H":I=It(ut.Hours,1);break;case"HH":I=It(ut.Hours,2);break;case"m":I=It(ut.Minutes,1);break;case"mm":I=It(ut.Minutes,2);break;case"s":I=It(ut.Seconds,1);break;case"ss":I=It(ut.Seconds,2);break;case"S":I=It(ut.FractionalSeconds,1);break;case"SS":I=It(ut.FractionalSeconds,2);break;case"SSS":I=It(ut.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":I=pi(Ze.Short);break;case"ZZZZZ":I=pi(Ze.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":I=pi(Ze.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":I=pi(Ze.Long);break;default:return null}return jn[y]=I,I}(mt);dt+=ct?ct(Y,E,Fn):"''"===mt?"'":mt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),dt}function ai(y,I,E){const F=new Date(0);return F.setFullYear(y,I,E),F.setHours(0,0,0),F}function li(y,I){const E=function jt(y){return(0,o.cg1)(y)[o.wAp.LocaleId]}(y);if(pt[E]=pt[E]||{},pt[E][I])return pt[E][I];let F="";switch(I){case"shortDate":F=Xe(y,Ke.Short);break;case"mediumDate":F=Xe(y,Ke.Medium);break;case"longDate":F=Xe(y,Ke.Long);break;case"fullDate":F=Xe(y,Ke.Full);break;case"shortTime":F=Oe(y,Ke.Short);break;case"mediumTime":F=Oe(y,Ke.Medium);break;case"longTime":F=Oe(y,Ke.Long);break;case"fullTime":F=Oe(y,Ke.Full);break;case"short":const Y=li(y,"shortTime"),be=li(y,"shortDate");F=pn(Tt(y,Ke.Short),[Y,be]);break;case"medium":const Ae=li(y,"mediumTime"),wt=li(y,"mediumDate");F=pn(Tt(y,Ke.Medium),[Ae,wt]);break;case"long":const Fn=li(y,"longTime"),dt=li(y,"longDate");F=pn(Tt(y,Ke.Long),[Fn,dt]);break;case"full":const mt=li(y,"fullTime"),ct=li(y,"fullDate");F=pn(Tt(y,Ke.Full),[mt,ct])}return F&&(pt[E][I]=F),F}function pn(y,I){return I&&(y=y.replace(/\{([^}]+)}/g,function(E,F){return null!=I&&F in I?I[F]:E})),y}function In(y,I,E="-",F,Y){let be="";(y<0||Y&&y<=0)&&(Y?y=1-y:(y=-y,be=E));let Ae=String(y);for(;Ae.length<I;)Ae="0"+Ae;return F&&(Ae=Ae.slice(Ae.length-I)),be+Ae}function It(y,I,E=0,F=!1,Y=!1){return function(be,Ae){let wt=function _n(y,I){switch(y){case ut.FullYear:return I.getFullYear();case ut.Month:return I.getMonth();case ut.Date:return I.getDate();case ut.Hours:return I.getHours();case ut.Minutes:return I.getMinutes();case ut.Seconds:return I.getSeconds();case ut.FractionalSeconds:return I.getMilliseconds();case ut.Day:return I.getDay();default:throw new Error(`Unknown DateType value "${y}".`)}}(y,be);if((E>0||wt>-E)&&(wt+=E),y===ut.Hours)0===wt&&-12===E&&(wt=12);else if(y===ut.FractionalSeconds)return function Yi(y,I){return In(y,3).substring(0,I)}(wt,I);const Fn=vt(Ae,qe.MinusSign);return In(wt,I,Fn,F,Y)}}function en(y,I,E=me.Format,F=!1){return function(Y,be){return function Rn(y,I,E,F,Y,be){switch(E){case Dt.Months:return Ce(I,Y,F)[y.getMonth()];case Dt.Days:return Nn(I,Y,F)[y.getDay()];case Dt.DayPeriods:const Ae=y.getHours(),wt=y.getMinutes();if(be){const dt=function qt(y){const I=(0,o.cg1)(y);return tt(I),(I[o.wAp.ExtraData][2]||[]).map(F=>"string"==typeof F?he(F):[he(F[0]),he(F[1])])}(I),mt=function fn(y,I,E){const F=(0,o.cg1)(y);tt(F);const be=mn([F[o.wAp.ExtraData][0],F[o.wAp.ExtraData][1]],I)||[];return mn(be,E)||[]}(I,Y,F),ct=dt.findIndex(Ut=>{if(Array.isArray(Ut)){const[st,Yn]=Ut,Fi=Ae>=st.hours&&wt>=st.minutes,Wi=Ae<Yn.hours||Ae===Yn.hours&&wt<Yn.minutes;if(st.hours<Yn.hours){if(Fi&&Wi)return!0}else if(Fi||Wi)return!0}else if(Ut.hours===Ae&&Ut.minutes===wt)return!0;return!1});if(-1!==ct)return mt[ct]}return function Yt(y,I,E){const F=(0,o.cg1)(y),be=mn([F[o.wAp.DayPeriodsFormat],F[o.wAp.DayPeriodsStandalone]],I);return mn(be,E)}(I,Y,F)[Ae<12?0:1];case Dt.Eras:return function He(y,I){return mn((0,o.cg1)(y)[o.wAp.Eras],I)}(I,F)[y.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${E}`)}}(Y,be,y,I,E,F)}}function pi(y){return function(I,E,F){const Y=-1*F,be=vt(E,qe.MinusSign),Ae=Y>0?Math.floor(Y/60):Math.ceil(Y/60);switch(y){case Ze.Short:return(Y>=0?"+":"")+In(Ae,2,be)+In(Math.abs(Y%60),2,be);case Ze.ShortGMT:return"GMT"+(Y>=0?"+":"")+In(Ae,1,be);case Ze.Long:return"GMT"+(Y>=0?"+":"")+In(Ae,2,be)+":"+In(Math.abs(Y%60),2,be);case Ze.Extended:return 0===F?"Z":(Y>=0?"+":"")+In(Ae,2,be)+":"+In(Math.abs(Y%60),2,be);default:throw new Error(`Unknown zone width "${y}"`)}}}const tn=0,Di=4;function Jn(y){return ai(y.getFullYear(),y.getMonth(),y.getDate()+(Di-y.getDay()))}function Rr(y,I=!1){return function(E,F){let Y;if(I){const be=new Date(E.getFullYear(),E.getMonth(),1).getDay()-1,Ae=E.getDate();Y=1+Math.floor((Ae+be)/7)}else{const be=Jn(E),Ae=function Ei(y){const I=ai(y,tn,1).getDay();return ai(y,0,1+(I<=Di?Di:Di+7)-I)}(be.getFullYear()),wt=be.getTime()-Ae.getTime();Y=1+Math.round(wt/6048e5)}return In(Y,y,vt(F,qe.MinusSign))}}function ci(y,I=!1){return function(E,F){return In(Jn(E).getFullYear(),y,vt(F,qe.MinusSign),I)}}const jn={};function $n(y,I){y=y.replace(/:/g,"");const E=Date.parse("Jan 01, 1970 00:00:00 "+y)/6e4;return isNaN(E)?I:E}function W(y){return y instanceof Date&&!isNaN(y.valueOf())}function ri(y,I){I=encodeURIComponent(I);for(const E of y.split(";")){const F=E.indexOf("="),[Y,be]=-1==F?[E,""]:[E.slice(0,F),E.slice(F+1)];if(Y.trim()===I)return decodeURIComponent(be)}return null}const Pi=/\s+/,tr=[];let Gn=(()=>{class y{constructor(E,F,Y,be){this._iterableDiffers=E,this._keyValueDiffers=F,this._ngEl=Y,this._renderer=be,this.initialClasses=tr,this.stateMap=new Map}set klass(E){this.initialClasses=null!=E?E.trim().split(Pi):tr}set ngClass(E){this.rawClass="string"==typeof E?E.trim().split(Pi):E}ngDoCheck(){for(const F of this.initialClasses)this._updateState(F,!0);const E=this.rawClass;if(Array.isArray(E)||E instanceof Set)for(const F of E)this._updateState(F,!0);else if(null!=E)for(const F of Object.keys(E))this._updateState(F,!!E[F]);this._applyStateDiff()}_updateState(E,F){const Y=this.stateMap.get(E);void 0!==Y?(Y.enabled!==F&&(Y.changed=!0,Y.enabled=F),Y.touched=!0):this.stateMap.set(E,{enabled:F,changed:!0,touched:!0})}_applyStateDiff(){for(const E of this.stateMap){const F=E[0],Y=E[1];Y.changed?(this._toggleClass(F,Y.enabled),Y.changed=!1):Y.touched||(Y.enabled&&this._toggleClass(F,!1),this.stateMap.delete(F)),Y.touched=!1}}_toggleClass(E,F){(E=E.trim()).length>0&&E.split(Pi).forEach(Y=>{F?this._renderer.addClass(this._ngEl.nativeElement,Y):this._renderer.removeClass(this._ngEl.nativeElement,Y)})}}return y.\u0275fac=function(E){return new(E||y)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},y.\u0275dir=o.lG2({type:y,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),y})();class gr{constructor(I,E,F,Y){this.$implicit=I,this.ngForOf=E,this.index=F,this.count=Y}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 Hr=(()=>{class y{set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}constructor(E,F,Y){this._viewContainer=E,this._template=F,this._differs=Y,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const F=this._viewContainer;E.forEachOperation((Y,be,Ae)=>{if(null==Y.previousIndex)F.createEmbeddedView(this._template,new gr(Y.item,this._ngForOf,-1,-1),null===Ae?void 0:Ae);else if(null==Ae)F.remove(null===be?void 0:be);else if(null!==be){const wt=F.get(be);F.move(wt,Ae),lo(wt,Y)}});for(let Y=0,be=F.length;Y<be;Y++){const wt=F.get(Y).context;wt.index=Y,wt.count=be,wt.ngForOf=this._ngForOf}E.forEachIdentityChange(Y=>{lo(F.get(Y.currentIndex),Y)})}static ngTemplateContextGuard(E,F){return!0}}return y.\u0275fac=function(E){return new(E||y)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},y.\u0275dir=o.lG2({type:y,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),y})();function lo(y,I){y.context.$implicit=I.item}let Qn=(()=>{class y{constructor(E,F){this._viewContainer=E,this._context=new Pr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=F}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){mr("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){mr("ngIfElse",E),this._elseTemplateRef=E,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(E,F){return!0}}return y.\u0275fac=function(E){return new(E||y)(o.Y36(o.s_b),o.Y36(o.Rgc))},y.\u0275dir=o.lG2({type:y,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),y})();class Pr{constructor(){this.$implicit=null,this.ngIf=null}}function mr(y,I){if(I&&!I.createEmbeddedView)throw new Error(`${y} must be a TemplateRef, but received '${(0,o.AaK)(I)}'.`)}let Ui=(()=>{class y{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(E){if(E.ngTemplateOutlet||E.ngTemplateOutletInjector){const F=this._viewContainerRef;if(this._viewRef&&F.remove(F.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Y,ngTemplateOutletContext:be,ngTemplateOutletInjector:Ae}=this;this._viewRef=F.createEmbeddedView(Y,be,Ae?{injector:Ae}:void 0)}else this._viewRef=null}else this._viewRef&&E.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return y.\u0275fac=function(E){return new(E||y)(o.Y36(o.s_b))},y.\u0275dir=o.lG2({type:y,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.TTD]}),y})(),nr=(()=>{class y{}return y.\u0275fac=function(E){return new(E||y)},y.\u0275mod=o.oAB({type:y}),y.\u0275inj=o.cJS({}),y})();const Fr="browser",Gi="server";function kr(y){return y===Fr}function zr(y){return y===Gi}let Vo=(()=>{class y{}return y.\u0275prov=(0,o.Yz7)({token:y,providedIn:"root",factory:()=>new Bi((0,o.LFG)(ie),window)}),y})();class Bi{constructor(I,E){this.document=I,this.window=E,this.offset=()=>[0,0]}setOffset(I){this.offset=Array.isArray(I)?()=>I:I}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(I){this.supportsScrolling()&&this.window.scrollTo(I[0],I[1])}scrollToAnchor(I){if(!this.supportsScrolling())return;const E=function Nr(y,I){const E=y.getElementById(I)||y.getElementsByName(I)[0];if(E)return E;if("function"==typeof y.createTreeWalker&&y.body&&"function"==typeof y.body.attachShadow){const F=y.createTreeWalker(y.body,NodeFilter.SHOW_ELEMENT);let Y=F.currentNode;for(;Y;){const be=Y.shadowRoot;if(be){const Ae=be.getElementById(I)||be.querySelector(`[name="${I}"]`);if(Ae)return Ae}Y=F.nextNode()}}return null}(this.document,I);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(I){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=I)}}scrollToElement(I){const E=I.getBoundingClientRect(),F=E.left+this.window.pageXOffset,Y=E.top+this.window.pageYOffset,be=this.offset();this.window.scrollTo(F-be[0],Y-be[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const I=Wr(this.window.history)||Wr(Object.getPrototypeOf(this.window.history));return!(!I||!I.writable&&!I.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Wr(y){return Object.getOwnPropertyDescriptor(y,"scrollRestoration")}class qn{}},3144:(Nt,Se,R)=>{"use strict";R.d(Se,{JF:()=>jn,eN:()=>je});var o=R(2223),j=R(9646),oe=R(2076),De=R(9751),ne=R(4351),ie=R(9300),we=R(4004),$e=R(8746),Ie=R(3900),le=R(4755);class de{}class ue{}class Fe{constructor(U){this.normalizedNames=new Map,this.lazyUpdate=null,U?this.lazyInit="string"==typeof U?()=>{this.headers=new Map,U.split("\n").forEach(K=>{const Be=K.indexOf(":");if(Be>0){const We=K.slice(0,Be),ke=We.toLowerCase(),lt=K.slice(Be+1).trim();this.maybeSetNormalizedName(We,ke),this.headers.has(ke)?this.headers.get(ke).push(lt):this.headers.set(ke,[lt])}})}:()=>{this.headers=new Map,Object.entries(U).forEach(([K,Be])=>{let We;if(We="string"==typeof Be?[Be]:"number"==typeof Be?[Be.toString()]:Be.map(ke=>ke.toString()),We.length>0){const ke=K.toLowerCase();this.headers.set(ke,We),this.maybeSetNormalizedName(K,ke)}})}:this.headers=new Map}has(U){return this.init(),this.headers.has(U.toLowerCase())}get(U){this.init();const K=this.headers.get(U.toLowerCase());return K&&K.length>0?K[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(U){return this.init(),this.headers.get(U.toLowerCase())||null}append(U,K){return this.clone({name:U,value:K,op:"a"})}set(U,K){return this.clone({name:U,value:K,op:"s"})}delete(U,K){return this.clone({name:U,value:K,op:"d"})}maybeSetNormalizedName(U,K){this.normalizedNames.has(K)||this.normalizedNames.set(K,U)}init(){this.lazyInit&&(this.lazyInit instanceof Fe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(U=>this.applyUpdate(U)),this.lazyUpdate=null))}copyFrom(U){U.init(),Array.from(U.headers.keys()).forEach(K=>{this.headers.set(K,U.headers.get(K)),this.normalizedNames.set(K,U.normalizedNames.get(K))})}clone(U){const K=new Fe;return K.lazyInit=this.lazyInit&&this.lazyInit instanceof Fe?this.lazyInit:this,K.lazyUpdate=(this.lazyUpdate||[]).concat([U]),K}applyUpdate(U){const K=U.name.toLowerCase();switch(U.op){case"a":case"s":let Be=U.value;if("string"==typeof Be&&(Be=[Be]),0===Be.length)return;this.maybeSetNormalizedName(U.name,K);const We=("a"===U.op?this.headers.get(K):void 0)||[];We.push(...Be),this.headers.set(K,We);break;case"d":const ke=U.value;if(ke){let lt=this.headers.get(K);if(!lt)return;lt=lt.filter(Dn=>-1===ke.indexOf(Dn)),0===lt.length?(this.headers.delete(K),this.normalizedNames.delete(K)):this.headers.set(K,lt)}else this.headers.delete(K),this.normalizedNames.delete(K)}}forEach(U){this.init(),Array.from(this.normalizedNames.keys()).forEach(K=>U(this.normalizedNames.get(K),this.headers.get(K)))}}class ze{encodeKey(U){return ft(U)}encodeValue(U){return ft(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}const Ct=/%(\d[a-f0-9])/gi,xt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ft(q){return encodeURIComponent(q).replace(Ct,(U,K)=>xt[K]??U)}function Ht(q){return`${q}`}class X{constructor(U={}){if(this.updates=null,this.cloneFrom=null,this.encoder=U.encoder||new ze,U.fromString){if(U.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ye(q,U){const K=new Map;return q.length>0&&q.replace(/^\?/,"").split("&").forEach(We=>{const ke=We.indexOf("="),[lt,Dn]=-1==ke?[U.decodeKey(We),""]:[U.decodeKey(We.slice(0,ke)),U.decodeValue(We.slice(ke+1))],$t=K.get(lt)||[];$t.push(Dn),K.set(lt,$t)}),K}(U.fromString,this.encoder)}else U.fromObject?(this.map=new Map,Object.keys(U.fromObject).forEach(K=>{const Be=U.fromObject[K],We=Array.isArray(Be)?Be.map(Ht):[Ht(Be)];this.map.set(K,We)})):this.map=null}has(U){return this.init(),this.map.has(U)}get(U){this.init();const K=this.map.get(U);return K?K[0]:null}getAll(U){return this.init(),this.map.get(U)||null}keys(){return this.init(),Array.from(this.map.keys())}append(U,K){return this.clone({param:U,value:K,op:"a"})}appendAll(U){const K=[];return Object.keys(U).forEach(Be=>{const We=U[Be];Array.isArray(We)?We.forEach(ke=>{K.push({param:Be,value:ke,op:"a"})}):K.push({param:Be,value:We,op:"a"})}),this.clone(K)}set(U,K){return this.clone({param:U,value:K,op:"s"})}delete(U,K){return this.clone({param:U,value:K,op:"d"})}toString(){return this.init(),this.keys().map(U=>{const K=this.encoder.encodeKey(U);return this.map.get(U).map(Be=>K+"="+this.encoder.encodeValue(Be)).join("&")}).filter(U=>""!==U).join("&")}clone(U){const K=new X({encoder:this.encoder});return K.cloneFrom=this.cloneFrom||this,K.updates=(this.updates||[]).concat(U),K}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(U=>this.map.set(U,this.cloneFrom.map.get(U))),this.updates.forEach(U=>{switch(U.op){case"a":case"s":const K=("a"===U.op?this.map.get(U.param):void 0)||[];K.push(Ht(U.value)),this.map.set(U.param,K);break;case"d":if(void 0===U.value){this.map.delete(U.param);break}{let Be=this.map.get(U.param)||[];const We=Be.indexOf(Ht(U.value));-1!==We&&Be.splice(We,1),Be.length>0?this.map.set(U.param,Be):this.map.delete(U.param)}}}),this.cloneFrom=this.updates=null)}}class ye{constructor(){this.map=new Map}set(U,K){return this.map.set(U,K),this}get(U){return this.map.has(U)||this.map.set(U,U.defaultValue()),this.map.get(U)}delete(U){return this.map.delete(U),this}has(U){return this.map.has(U)}keys(){return this.map.keys()}}function me(q){return typeof ArrayBuffer<"u"&&q instanceof ArrayBuffer}function Me(q){return typeof Blob<"u"&&q instanceof Blob}function Ke(q){return typeof FormData<"u"&&q instanceof FormData}class Vt{constructor(U,K,Be,We){let ke;if(this.url=K,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=U.toUpperCase(),function pe(q){switch(q){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||We?(this.body=void 0!==Be?Be:null,ke=We):ke=Be,ke&&(this.reportProgress=!!ke.reportProgress,this.withCredentials=!!ke.withCredentials,ke.responseType&&(this.responseType=ke.responseType),ke.headers&&(this.headers=ke.headers),ke.context&&(this.context=ke.context),ke.params&&(this.params=ke.params)),this.headers||(this.headers=new Fe),this.context||(this.context=new ye),this.params){const lt=this.params.toString();if(0===lt.length)this.urlWithParams=K;else{const Dn=K.indexOf("?");this.urlWithParams=K+(-1===Dn?"?":Dn<K.length-1?"&":"")+lt}}else this.params=new X,this.urlWithParams=K}serializeBody(){return null===this.body?null:me(this.body)||Me(this.body)||Ke(this.body)||function qe(q){return typeof URLSearchParams<"u"&&q instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof X?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||Ke(this.body)?null:Me(this.body)?this.body.type||null:me(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof X?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(U={}){const K=U.method||this.method,Be=U.url||this.url,We=U.responseType||this.responseType,ke=void 0!==U.body?U.body:this.body,lt=void 0!==U.withCredentials?U.withCredentials:this.withCredentials,Dn=void 0!==U.reportProgress?U.reportProgress:this.reportProgress;let $t=U.headers||this.headers,ui=U.params||this.params;const mi=U.context??this.context;return void 0!==U.setHeaders&&($t=Object.keys(U.setHeaders).reduce((Zn,Un)=>Zn.set(Un,U.setHeaders[Un]),$t)),U.setParams&&(ui=Object.keys(U.setParams).reduce((Zn,Un)=>Zn.set(Un,U.setParams[Un]),ui)),new Vt(K,Be,ke,{params:ui,headers:$t,context:mi,reportProgress:Dn,responseType:We,withCredentials:lt})}}var jt=(()=>((jt=jt||{})[jt.Sent=0]="Sent",jt[jt.UploadProgress=1]="UploadProgress",jt[jt.ResponseHeader=2]="ResponseHeader",jt[jt.DownloadProgress=3]="DownloadProgress",jt[jt.Response=4]="Response",jt[jt.User=5]="User",jt))();class Yt{constructor(U,K=200,Be="OK"){this.headers=U.headers||new Fe,this.status=void 0!==U.status?U.status:K,this.statusText=U.statusText||Be,this.url=U.url||null,this.ok=this.status>=200&&this.status<300}}class Nn extends Yt{constructor(U={}){super(U),this.type=jt.ResponseHeader}clone(U={}){return new Nn({headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class Ce extends Yt{constructor(U={}){super(U),this.type=jt.Response,this.body=void 0!==U.body?U.body:null}clone(U={}){return new Ce({body:void 0!==U.body?U.body:this.body,headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class He extends Yt{constructor(U){super(U,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${U.url||"(unknown url)"}`:`Http failure response for ${U.url||"(unknown url)"}: ${U.status} ${U.statusText}`,this.error=U.error||null}}function Ue(q,U){return{body:U,headers:q.headers,context:q.context,observe:q.observe,params:q.params,reportProgress:q.reportProgress,responseType:q.responseType,withCredentials:q.withCredentials}}let je=(()=>{class q{constructor(K){this.handler=K}request(K,Be,We={}){let ke;if(K instanceof Vt)ke=K;else{let $t,ui;$t=We.headers instanceof Fe?We.headers:new Fe(We.headers),We.params&&(ui=We.params instanceof X?We.params:new X({fromObject:We.params})),ke=new Vt(K,Be,void 0!==We.body?We.body:null,{headers:$t,context:We.context,params:ui,reportProgress:We.reportProgress,responseType:We.responseType||"json",withCredentials:We.withCredentials})}const lt=(0,j.of)(ke).pipe((0,ne.b)($t=>this.handler.handle($t)));if(K instanceof Vt||"events"===We.observe)return lt;const Dn=lt.pipe((0,ie.h)($t=>$t instanceof Ce));switch(We.observe||"body"){case"body":switch(ke.responseType){case"arraybuffer":return Dn.pipe((0,we.U)($t=>{if(null!==$t.body&&!($t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return $t.body}));case"blob":return Dn.pipe((0,we.U)($t=>{if(null!==$t.body&&!($t.body instanceof Blob))throw new Error("Response is not a Blob.");return $t.body}));case"text":return Dn.pipe((0,we.U)($t=>{if(null!==$t.body&&"string"!=typeof $t.body)throw new Error("Response is not a string.");return $t.body}));default:return Dn.pipe((0,we.U)($t=>$t.body))}case"response":return Dn;default:throw new Error(`Unreachable: unhandled observe type ${We.observe}}`)}}delete(K,Be={}){return this.request("DELETE",K,Be)}get(K,Be={}){return this.request("GET",K,Be)}head(K,Be={}){return this.request("HEAD",K,Be)}jsonp(K,Be){return this.request("JSONP",K,{params:(new X).append(Be,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(K,Be={}){return this.request("OPTIONS",K,Be)}patch(K,Be,We={}){return this.request("PATCH",K,Ue(We,Be))}post(K,Be,We={}){return this.request("POST",K,Ue(We,Be))}put(K,Be,We={}){return this.request("PUT",K,Ue(We,Be))}}return q.\u0275fac=function(K){return new(K||q)(o.LFG(de))},q.\u0275prov=o.Yz7({token:q,factory:q.\u0275fac}),q})();function Xe(q,U){return U(q)}function Oe(q,U){return(K,Be)=>U.intercept(K,{handle:We=>q(We,Be)})}const vt=new o.OlP(""),Ft=new o.OlP(""),Qe=new o.OlP("");function St(){let q=null;return(U,K)=>{null===q&&(q=((0,o.f3M)(vt,{optional:!0})??[]).reduceRight(Oe,Xe));const Be=(0,o.f3M)(o.HDt),We=Be.add();return q(U,K).pipe((0,$e.x)(()=>Be.remove(We)))}}let Pt=(()=>{class q extends de{constructor(K,Be){super(),this.backend=K,this.injector=Be,this.chain=null,this.pendingTasks=(0,o.f3M)(o.HDt)}handle(K){if(null===this.chain){const We=Array.from(new Set([...this.injector.get(Ft),...this.injector.get(Qe,[])]));this.chain=We.reduceRight((ke,lt)=>function Tt(q,U,K){return(Be,We)=>K.runInContext(()=>U(Be,ke=>q(ke,We)))}(ke,lt,this.injector),Xe)}const Be=this.pendingTasks.add();return this.chain(K,We=>this.backend.handle(We)).pipe((0,$e.x)(()=>this.pendingTasks.remove(Be)))}}return q.\u0275fac=function(K){return new(K||q)(o.LFG(ue),o.LFG(o.lqb))},q.\u0275prov=o.Yz7({token:q,factory:q.\u0275fac}),q})();const ot=/^\)\]\}',?\n/;let Qt=(()=>{class q{constructor(K){this.xhrFactory=K}handle(K){if("JSONP"===K.method)throw new o.vHH(-2800,!1);const Be=this.xhrFactory;return(Be.\u0275loadImpl?(0,oe.D)(Be.\u0275loadImpl()):(0,j.of)(null)).pipe((0,Ie.w)(()=>new De.y(ke=>{const lt=Be.build();if(lt.open(K.method,K.urlWithParams),K.withCredentials&&(lt.withCredentials=!0),K.headers.forEach((Tn,ln)=>lt.setRequestHeader(Tn,ln.join(","))),K.headers.has("Accept")||lt.setRequestHeader("Accept","application/json, text/plain, */*"),!K.headers.has("Content-Type")){const Tn=K.detectContentTypeHeader();null!==Tn&&lt.setRequestHeader("Content-Type",Tn)}if(K.responseType){const Tn=K.responseType.toLowerCase();lt.responseType="json"!==Tn?Tn:"text"}const Dn=K.serializeBody();let $t=null;const ui=()=>{if(null!==$t)return $t;const Tn=lt.statusText||"OK",ln=new Fe(lt.getAllResponseHeaders()),ni=function pt(q){return"responseURL"in q&&q.responseURL?q.responseURL:/^X-Request-URL:/m.test(q.getAllResponseHeaders())?q.getResponseHeader("X-Request-URL"):null}(lt)||K.url;return $t=new Nn({headers:ln,status:lt.status,statusText:Tn,url:ni}),$t},mi=()=>{let{headers:Tn,status:ln,statusText:ni,url:$i}=ui(),ii=null;204!==ln&&(ii=typeof lt.response>"u"?lt.responseText:lt.response),0===ln&&(ln=ii?200:0);let Ki=ln>=200&&ln<300;if("json"===K.responseType&&"string"==typeof ii){const ri=ii;ii=ii.replace(ot,"");try{ii=""!==ii?JSON.parse(ii):null}catch(Pi){ii=ri,Ki&&(Ki=!1,ii={error:Pi,text:ii})}}Ki?(ke.next(new Ce({body:ii,headers:Tn,status:ln,statusText:ni,url:$i||void 0})),ke.complete()):ke.error(new He({error:ii,headers:Tn,status:ln,statusText:ni,url:$i||void 0}))},Zn=Tn=>{const{url:ln}=ui(),ni=new He({error:Tn,status:lt.status||0,statusText:lt.statusText||"Unknown Error",url:ln||void 0});ke.error(ni)};let Un=!1;const ti=Tn=>{Un||(ke.next(ui()),Un=!0);let ln={type:jt.DownloadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(ln.total=Tn.total),"text"===K.responseType&&lt.responseText&&(ln.partialText=lt.responseText),ke.next(ln)},ji=Tn=>{let ln={type:jt.UploadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(ln.total=Tn.total),ke.next(ln)};return lt.addEventListener("load",mi),lt.addEventListener("error",Zn),lt.addEventListener("timeout",Zn),lt.addEventListener("abort",Zn),K.reportProgress&&(lt.addEventListener("progress",ti),null!==Dn&&lt.upload&&lt.upload.addEventListener("progress",ji)),lt.send(Dn),ke.next({type:jt.Sent}),()=>{lt.removeEventListener("error",Zn),lt.removeEventListener("abort",Zn),lt.removeEventListener("load",mi),lt.removeEventListener("timeout",Zn),K.reportProgress&&(lt.removeEventListener("progress",ti),null!==Dn&&lt.upload&&lt.upload.removeEventListener("progress",ji)),lt.readyState!==lt.DONE&&lt.abort()}})))}}return q.\u0275fac=function(K){return new(K||q)(o.LFG(le.JF))},q.\u0275prov=o.Yz7({token:q,factory:q.\u0275fac}),q})();const Ze=new o.OlP("XSRF_ENABLED"),Dt=new o.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ai=new o.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class li{}let pn=(()=>{class q{constructor(K,Be,We){this.doc=K,this.platform=Be,this.cookieName=We,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const K=this.doc.cookie||"";return K!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,le.Mx)(K,this.cookieName),this.lastCookieString=K),this.lastToken}}return q.\u0275fac=function(K){return new(K||q)(o.LFG(le.K0),o.LFG(o.Lbi),o.LFG(Dt))},q.\u0275prov=o.Yz7({token:q,factory:q.\u0275fac}),q})();function In(q,U){const K=q.url.toLowerCase();if(!(0,o.f3M)(Ze)||"GET"===q.method||"HEAD"===q.method||K.startsWith("http://")||K.startsWith("https://"))return U(q);const Be=(0,o.f3M)(li).getToken(),We=(0,o.f3M)(ai);return null!=Be&&!q.headers.has(We)&&(q=q.clone({headers:q.headers.set(We,Be)})),U(q)}var It=(()=>((It=It||{})[It.Interceptors=0]="Interceptors",It[It.LegacyInterceptors=1]="LegacyInterceptors",It[It.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",It[It.NoXsrfProtection=3]="NoXsrfProtection",It[It.JsonpSupport=4]="JsonpSupport",It[It.RequestsMadeViaParent=5]="RequestsMadeViaParent",It))();function _n(q,U){return{\u0275kind:q,\u0275providers:U}}function en(...q){const U=[je,Qt,Pt,{provide:de,useExisting:Pt},{provide:ue,useExisting:Qt},{provide:Ft,useValue:In,multi:!0},{provide:Ze,useValue:!0},{provide:li,useClass:pn}];for(const K of q)U.push(...K.\u0275providers);return(0,o.MR2)(U)}const pi=new o.OlP("LEGACY_INTERCEPTOR_FN");let jn=(()=>{class q{}return q.\u0275fac=function(K){return new(K||q)},q.\u0275mod=o.oAB({type:q}),q.\u0275inj=o.cJS({providers:[en(_n(It.LegacyInterceptors,[{provide:pi,useFactory:St},{provide:Ft,useExisting:pi,multi:!0}]))]}),q})()},2223:(Nt,Se,R)=>{"use strict";R.d(Se,{$8M:()=>ql,$WT:()=>Z,$Z:()=>Tg,AFp:()=>qp,AaK:()=>ue,CHM:()=>Us,CRH:()=>gv,D6c:()=>qw,DdM:()=>Y_,EJc:()=>tw,EpF:()=>fm,F$t:()=>ym,F4k:()=>hm,FYo:()=>rg,FiY:()=>Os,Gf:()=>hv,GfV:()=>og,GkF:()=>ah,Gpc:()=>ze,HDt:()=>Bv,Hsn:()=>bm,Ikx:()=>vh,JOm:()=>so,Jf7:()=>cg,KtG:()=>bs,LFG:()=>vn,LMc:()=>Zw,LSH:()=>Ta,Lbi:()=>Ef,Lck:()=>$1,MAs:()=>cm,MGl:()=>ad,MMx:()=>V_,MR2:()=>hf,N_p:()=>wh,NdJ:()=>ch,Ojb:()=>Ky,OlP:()=>hi,Oqu:()=>_h,P3R:()=>Hp,PXZ:()=>mw,Q6J:()=>nh,QGY:()=>lh,QbO:()=>Yy,Qsj:()=>c0,R0b:()=>go,RDi:()=>ae,Rgc:()=>Uc,SBq:()=>Tc,SDv:()=>P_,Sil:()=>iw,Suo:()=>pv,TTD:()=>Q,TgZ:()=>od,Tol:()=>km,Udp:()=>ph,VKq:()=>K_,W1O:()=>yv,WLB:()=>q_,XFs:()=>Ze,Xpm:()=>Ji,Xts:()=>Dc,Y36:()=>Dl,YKP:()=>L_,YNc:()=>sm,Yjl:()=>$r,Yz7:()=>tt,Z0I:()=>mn,ZZ4:()=>ip,_Bn:()=>k_,_UZ:()=>rh,_c5:()=>Vw,_uU:()=>Um,aQg:()=>rp,c2e:()=>Lv,cJS:()=>fn,cg1:()=>yh,dDg:()=>fw,dqk:()=>pn,eFA:()=>Qv,eJc:()=>Hh,ekj:()=>gh,eoX:()=>Kv,f3M:()=>nn,g9A:()=>Jp,h0i:()=>Fl,hGG:()=>Hw,hij:()=>ud,iGM:()=>fv,ifc:()=>Be,ip1:()=>kv,jDz:()=>H_,kEZ:()=>J_,kL8:()=>c_,lG2:()=>Ui,lqb:()=>Ma,lri:()=>Wv,n5z:()=>Yl,oAB:()=>lr,oxw:()=>vm,qFp:()=>Qw,qLn:()=>yl,qOj:()=>Yf,qZA:()=>sd,rWj:()=>Yv,rg0:()=>g,s9C:()=>uh,sBO:()=>Cw,s_b:()=>md,soG:()=>vd,tHW:()=>Eh,tb:()=>Zh,tp0:()=>_a,uIk:()=>Jf,vHH:()=>X,vpe:()=>_s,wAp:()=>rn,xp6:()=>vg,z2F:()=>Bl,zSh:()=>_f,zW0:()=>Gg,zs3:()=>na});var o=R(7579),j=R(727),oe=R(1135),De=R(9751),ne=R(6451),ie=R(9646),we=R(3099),$e=R(5577),Ie=R(1884);function le(e){for(let t in e)if(e[t]===le)return t;throw Error("Could not find renamed property on target object.")}function de(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ue).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 Fe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Re=le({__forward_ref__:le});function ze(e){return e.__forward_ref__=ze,e.toString=function(){return ue(this())},e}function Ye(e){return Ct(e)?e():e}function Ct(e){return"function"==typeof e&&e.hasOwnProperty(Re)&&e.__forward_ref__===ze}function xt(e){return e&&!!e.\u0275providers}const Ht="https://g.co/ng/security#xss";class X extends Error{constructor(t,n){super(function re(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function ye(e){return"string"==typeof e?e:null==e?"":String(e)}function qe(e,t){throw new X(-201,!1)}function St(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}function tt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fn(e){return{providers:e.providers||[],imports:e.imports||[]}}function bn(e){return he(e,Ve)||he(e,pt)}function mn(e){return null!==bn(e)}function he(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ne(e){return e&&(e.hasOwnProperty(ot)||e.hasOwnProperty(Qt))?e[ot]:null}const Ve=le({\u0275prov:le}),ot=le({\u0275inj:le}),pt=le({ngInjectableDef:le}),Qt=le({ngInjectorDef:le});var Ze=(()=>((Ze=Ze||{})[Ze.Default=0]="Default",Ze[Ze.Host=1]="Host",Ze[Ze.Self=2]="Self",Ze[Ze.SkipSelf=4]="SkipSelf",Ze[Ze.Optional=8]="Optional",Ze))();let ut;function hn(e){const t=ut;return ut=e,t}function ai(e,t,n){const i=bn(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Ze.Optional?null:void 0!==t?t:void qe(ue(e))}const pn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),_n={},en="__NG_DI_FLAG__",Rn="ngTempTokenPath",tn=/\n/gm,Ei="__source";let Jn;function ci(e){const t=Jn;return Jn=e,t}function jn(e,t=Ze.Default){if(void 0===Jn)throw new X(-203,!1);return null===Jn?ai(e,void 0,t):Jn.get(e,t&Ze.Optional?null:void 0,t)}function vn(e,t=Ze.Default){return(function Dt(){return ut}()||jn)(Ye(e),t)}function nn(e,t=Ze.Default){return vn(e,gi(t))}function gi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Pe(e){const t=[];for(let n=0;n<e.length;n++){const i=Ye(e[n]);if(Array.isArray(i)){if(0===i.length)throw new X(900,!1);let s,l=Ze.Default;for(let d=0;d<i.length;d++){const _=i[d],D=W(_);"number"==typeof D?-1===D?s=_.token:l|=D:s=_}t.push(vn(s,l))}else t.push(vn(i))}return t}function se(e,t){return e[en]=t,e.prototype[en]=t,e}function W(e){return e[en]}function U(e){return{toString:e}.toString()}var K=(()=>((K=K||{})[K.OnPush=0]="OnPush",K[K.Default=1]="Default",K))(),Be=(()=>{return(e=Be||(Be={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Be;var e})();const We={},ke=[],lt=le({\u0275cmp:le}),Dn=le({\u0275dir:le}),$t=le({\u0275pipe:le}),ui=le({\u0275mod:le}),mi=le({\u0275fac:le}),Zn=le({__NG_ELEMENT_ID__:le}),Un=le({__NG_ENV_ID__:le});function ti(e,t,n){let i=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const l=t.length;if(s+l===i||e.charCodeAt(s+l)<=32)return s}n=s+1}}function ji(e,t,n){let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const l=n[i++],d=n[i++],_=n[i++];e.setAttribute(t,d,_,l)}else{const l=s,d=n[++i];ln(l)?e.setProperty(t,l,d):e.setAttribute(t,l,d),i++}}return i}function Tn(e){return 3===e||4===e||6===e}function ln(e){return 64===e.charCodeAt(0)}function ni(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 s=t[i];"number"==typeof s?n=s:0===n||$i(e,n,s,null,-1===n||2===n?t[++i]:null)}}return e}function $i(e,t,n,i,s){let l=0,d=e.length;if(-1===t)d=-1;else for(;l<e.length;){const _=e[l++];if("number"==typeof _){if(_===t){d=-1;break}if(_>t){d=l-1;break}}}for(;l<e.length;){const _=e[l];if("number"==typeof _)break;if(_===n){if(null===i)return void(null!==s&&(e[l+1]=s));if(i===e[l+1])return void(e[l+2]=s)}l++,null!==i&&l++,null!==s&&l++}-1!==d&&(e.splice(d,0,t),l=d+1),e.splice(l++,0,n),null!==i&&e.splice(l++,0,i),null!==s&&e.splice(l++,0,s)}const ii="ng-template";function Ki(e,t,n){let i=0,s=!0;for(;i<e.length;){let l=e[i++];if("string"==typeof l&&s){const d=e[i++];if(n&&"class"===l&&-1!==ti(d.toLowerCase(),t,0))return!0}else{if(1===l){for(;i<e.length&&"string"==typeof(l=e[i++]);)if(l.toLowerCase()===t)return!0;return!1}"number"==typeof l&&(s=!1)}}return!1}function ri(e){return 4===e.type&&e.value!==ii}function Pi(e,t,n){return t===(4!==e.type||n?e.value:ii)}function tr(e,t,n){let i=4;const s=e.attrs||[],l=function Hr(e){for(let t=0;t<e.length;t++)if(Tn(e[t]))return t;return e.length}(s);let d=!1;for(let _=0;_<t.length;_++){const D=t[_];if("number"!=typeof D){if(!d)if(4&i){if(i=2|1&i,""!==D&&!Pi(e,D,n)||""===D&&1===t.length){if(Gn(i))return!1;d=!0}}else{const N=8&i?D:t[++_];if(8&i&&null!==e.attrs){if(!Ki(e.attrs,N,n)){if(Gn(i))return!1;d=!0}continue}const z=wr(8&i?"class":D,s,ri(e),n);if(-1===z){if(Gn(i))return!1;d=!0;continue}if(""!==N){let ce;ce=z>l?"":s[z+1].toLowerCase();const _e=8&i?ce:null;if(_e&&-1!==ti(_e,N,0)||2&i&&N!==ce){if(Gn(i))return!1;d=!0}}}}else{if(!d&&!Gn(i)&&!Gn(D))return!1;if(d&&Gn(D))continue;d=!1,i=D|1&i}}return Gn(i)||d}function Gn(e){return 0==(1&e)}function wr(e,t,n,i){if(null===t)return-1;let s=0;if(i||!n){let l=!1;for(;s<t.length;){const d=t[s];if(d===e)return s;if(3===d||6===d)l=!0;else{if(1===d||2===d){let _=t[++s];for(;"string"==typeof _;)_=t[++s];continue}if(4===d)break;if(0===d){s+=4;continue}}s+=l?1:2}return-1}return function lo(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 wi(e,t,n=!1){for(let i=0;i<t.length;i++)if(tr(e,t[i],n))return!0;return!1}function qi(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let s=0;s<e.length;s++)if(e[s]!==i[s])continue e;return!0}}return!1}function Qn(e,t){return e?":not("+t.trim()+")":t}function Pr(e){let t=e[0],n=1,i=2,s="",l=!1;for(;n<e.length;){let d=e[n];if("string"==typeof d)if(2&i){const _=e[++n];s+="["+d+(_.length>0?'="'+_+'"':"")+"]"}else 8&i?s+="."+d:4&i&&(s+=" "+d);else""!==s&&!Gn(d)&&(t+=Qn(l,s),s=""),i=d,l=l||!Gn(i);n++}return""!==s&&(t+=Qn(l,s)),t}function Ji(e){return U(()=>{const t=rt(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===K.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||Be.Emulated,styles:e.styles||ke,_:null,schemas:e.schemas||null,tView:null,id:""};Et(n);const i=e.dependencies;return n.directiveDefs=Xt(i,!1),n.pipeDefs=Xt(i,!0),n.id=function di(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const s of n)t=Math.imul(31,t)+s.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function ar(e){return sn(e)||x(e)}function Ci(e){return null!==e}function lr(e){return U(()=>({type:e.type,bootstrap:e.bootstrap||ke,declarations:e.declarations||ke,imports:e.imports||ke,exports:e.exports||ke,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Zi(e,t){if(null==e)return We;const n={};for(const i in e)if(e.hasOwnProperty(i)){let s=e[i],l=s;Array.isArray(s)&&(l=s[1],s=s[0]),n[s]=i,t&&(t[s]=l)}return n}function Ui(e){return U(()=>{const t=rt(e);return Et(t),t})}function $r(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 sn(e){return e[lt]||null}function x(e){return e[Dn]||null}function $(e){return e[$t]||null}function Z(e){const t=sn(e)||x(e)||$(e);return null!==t&&t.standalone}function ve(e,t){const n=e[ui]||null;if(!n&&!0===t)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}function rt(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||ke,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Zi(e.inputs,t),outputs:Zi(e.outputs)}}function Et(e){e.features?.forEach(t=>t(e))}function Xt(e,t){if(!e)return null;const n=t?$:ar;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(Ci)}const gn=0,gt=1,an=2,ei=3,Li=4,Tr=5,Ti=6,Sr=7,An=8,cr=9,vr=10,Zt=11,Ur=12,Mr=13,ur=14,oi=15,xr=16,Gr=17,nr=18,Fr=19,Gi=20,ir=21,zi=22,kr=23,zr=24,yn=25,to=1,Vo=2,Bi=7,Wr=8,Nr=9,qn=11;function si(e){return Array.isArray(e)&&"object"==typeof e[to]}function Qi(e){return Array.isArray(e)&&!0===e[to]}function yo(e){return 0!=(4&e.flags)}function Kr(e){return e.componentOffset>-1}function bo(e){return 1==(1&e.flags)}function Si(e){return!!e.template}function qr(e){return 0!=(512&e[an])}function ro(e,t){return e.hasOwnProperty(mi)?e[mi]:null}let Lt=pn.WeakRef??class Le{constructor(t){this.ref=t}deref(){return this.ref}},Xi=0,xi=null,Jr=!1;function vi(e){const t=xi;return xi=e,t}class mo{constructor(){this.id=Xi++,this.ref=function Pn(e){return new Lt(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const i=n.producerNode.deref();if(void 0!==i&&n.atTrackingVersion===this.trackingVersion){if(i.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),i?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Jr;Jr=!0;try{for(const[n,i]of this.consumers){const s=i.consumerNode.deref();void 0!==s&&s.trackingVersion===i.atTrackingVersion?s.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),s?.producers.delete(this.id))}}finally{Jr=t}}producerAccessed(){if(Jr)throw new Error("");if(null===xi)return;let t=xi.producers.get(this.id);void 0===t?(t={consumerNode:xi.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:xi.trackingVersion},xi.producers.set(this.id,t),this.consumers.set(xi.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=xi.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==xi?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let ys=null;function g(e){const t=vi(null);try{return e()}finally{vi(t)}}const C=()=>{};class P extends mo{constructor(t,n,i){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=C,this.registerOnCleanup=s=>{this.cleanupFn=s},this.consumerAllowSignalWrites=i}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=vi(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=C,this.watch(this.registerOnCleanup)}finally{vi(t)}}cleanup(){this.cleanupFn()}}class H{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Q(){return ee}function ee(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ge),Ee}function Ee(){const e=Mt(this),t=e?.current;if(t){const n=e.previous;if(n===We)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Ge(e,t,n,i){const s=this.declaredInputs[n],l=Mt(e)||function Mn(e,t){return e[yt]=t}(e,{previous:We,current:null}),d=l.current||(l.current={}),_=l.previous,D=_[s];d[s]=new H(D&&D.currentValue,t,_===We),e[i]=t}Q.ngInherit=!0;const yt="__ngSimpleChanges__";function Mt(e){return e[yt]||null}const Gt=function(e,t,n){};function un(e){for(;Array.isArray(e);)e=e[gn];return e}function Ni(e,t){return un(t[e])}function Ii(e,t){return un(t[e.index])}function y(e,t){return e.data[t]}function E(e,t){const n=t[e];return si(n)?n:n[gn]}function Y(e){return 128==(128&e[an])}function Ae(e,t){return null==t?null:e[t]}function wt(e){e[Gr]=0}function Fn(e){1024&e[an]||(e[an]|=1024,mt(e,1))}function dt(e){1024&e[an]&&(e[an]&=-1025,mt(e,-1))}function mt(e,t){let n=e[ei];if(null===n)return;n[Tr]+=t;let i=n;for(n=n[ei];null!==n&&(1===t&&1===i[Tr]||-1===t&&0===i[Tr]);)n[Tr]+=t,i=n,n=n[ei]}const st={lFrame:jl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function oo(){return st.bindingsEnabled}function kn(){return null!==st.skipHydrationRootTNode}function nt(){return st.lFrame.lView}function dn(){return st.lFrame.tView}function Us(e){return st.lFrame.contextLView=e,e[An]}function bs(e){return st.lFrame.contextLView=null,e}function rr(){let e=Gs();for(;null!==e&&64===e.type;)e=e.parent;return e}function Gs(){return st.lFrame.currentTNode}function ls(){const e=st.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function _o(e,t){const n=st.lFrame;n.currentTNode=e,n.isParent=t}function oa(){return st.lFrame.isParent}function sa(){st.lFrame.isParent=!1}function pr(){const e=st.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Es(){return st.lFrame.bindingIndex++}function Br(e){const t=st.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function xa(e){st.lFrame.inI18n=e}function aa(e,t){const n=st.lFrame;n.bindingIndex=n.bindingRootIndex=e,ka(t)}function ka(e){st.lFrame.currentDirectiveIndex=e}function Ba(){return st.lFrame.currentQueryIndex}function zs(e){st.lFrame.currentQueryIndex=e}function Va(e){const t=e[gt];return 2===t.type?t.declTNode:1===t.type?e[Ti]:null}function ws(e,t,n){if(n&Ze.SkipSelf){let s=t,l=e;for(;!(s=s.parent,null!==s||n&Ze.Host||(s=Va(l),null===s||(l=l[ur],10&s.type))););if(null===s)return!1;t=s,e=l}const i=st.lFrame=zc();return i.currentTNode=t,i.lView=e,!0}function Cs(e){const t=zc(),n=e[gt];st.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zc(){const e=st.lFrame,t=null===e?null:e.child;return null===t?jl(e):t}function jl(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 Wc(){const e=st.lFrame;return st.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ha=Wc;function ja(){const e=Wc();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 br(){return st.lFrame.selectedIndex}function Fo(e){st.lFrame.selectedIndex=e}function wn(){const e=st.lFrame;return y(e.tView,e.selectedIndex)}let la=!0;function ca(){return la}function Yo(e){la=e}function ua(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const l=e.data[n].type.prototype,{ngAfterContentInit:d,ngAfterContentChecked:_,ngAfterViewInit:D,ngAfterViewChecked:N,ngOnDestroy:k}=l;d&&(e.contentHooks??=[]).push(-n,d),_&&((e.contentHooks??=[]).push(n,_),(e.contentCheckHooks??=[]).push(n,_)),D&&(e.viewHooks??=[]).push(-n,D),N&&((e.viewHooks??=[]).push(n,N),(e.viewCheckHooks??=[]).push(n,N)),null!=k&&(e.destroyHooks??=[]).push(n,k)}}function p(e,t,n){b(e,t,3,n)}function v(e,t,n,i){(3&e[an])===n&&b(e,t,n,i)}function f(e,t){let n=e[an];(3&n)===t&&(n&=4095,n+=1,e[an]=n)}function b(e,t,n,i){const l=i??-1,d=t.length-1;let _=0;for(let D=void 0!==i?65535&e[Gr]:0;D<d;D++)if("number"==typeof t[D+1]){if(_=t[D],null!=i&&_>=i)break}else t[D]<0&&(e[Gr]+=65536),(_<l||-1==l)&&(B(e,n,t,D),e[Gr]=(4294901760&e[Gr])+D+2),D++}function A(e,t){Gt(4,e,t);const n=vi(null);try{t.call(e)}finally{vi(n),Gt(5,e,t)}}function B(e,t,n,i){const s=n[i]<0,l=n[i+1],_=e[s?-n[i]:n[i]];s?e[an]>>12<e[Gr]>>16&&(3&e[an])===t&&(e[an]+=4096,A(_,l)):A(_,l)}const V=-1;class fe{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function zt(e){return e!==V}function Ko(e){return 32767&e}function Ga(e,t){let n=function Ul(e){return e>>16}(e),i=t;for(;n>0;)i=i[ur],n--;return i}let fa=!0;function za(e){const t=fa;return fa=e,t}const Gl=255,Wa=5;let Ya=0;const No={};function Ka(e,t){const n=zl(e,t);if(-1!==n)return n;const i=t[gt];i.firstCreatePass&&(e.injectorIndex=t.length,qa(i.data,e),qa(t,null),qa(i.blueprint,null));const s=Ja(e,t),l=e.injectorIndex;if(zt(s)){const d=Ko(s),_=Ga(s,t),D=_[gt].data;for(let N=0;N<8;N++)t[l+N]=_[d+N]|D[d+N]}return t[l+8]=s,l}function qa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function zl(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ja(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,s=t;for(;null!==s;){if(i=Kl(s),null===i)return V;if(n++,s=s[ur],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return V}function Za(e,t,n){!function Cd(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Zn)&&(i=n[Zn]),null==i&&(i=n[Zn]=Ya++);const s=i&Gl;t.data[e+(s>>Wa)]|=1<<s}(e,t,n)}function Jc(e,t,n){if(n&Ze.Optional||void 0!==e)return e;qe()}function Zc(e,t,n,i){if(n&Ze.Optional&&void 0===i&&(i=null),!(n&(Ze.Self|Ze.Host))){const s=e[cr],l=hn(void 0);try{return s?s.get(t,i,n&Ze.Optional):ai(t,i,n&Ze.Optional)}finally{hn(l)}}return Jc(i,0,n)}function Qc(e,t,n,i=Ze.Default,s){if(null!==e){if(2048&t[an]&&!(i&Ze.Self)){const d=function Nd(e,t,n,i,s){let l=e,d=t;for(;null!==l&&null!==d&&2048&d[an]&&!(512&d[an]);){const _=Xc(l,d,n,i|Ze.Self,No);if(_!==No)return _;let D=l.parent;if(!D){const N=d[Gi];if(N){const k=N.get(n,No,i);if(k!==No)return k}D=Kl(d),d=d[ur]}l=D}return s}(e,t,n,i,No);if(d!==No)return d}const l=Xc(e,t,n,i,No);if(l!==No)return l}return Zc(t,n,i,s)}function Xc(e,t,n,i,s){const l=function Md(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Zn)?e[Zn]:void 0;return"number"==typeof t?t>=0?t&Gl:tu:t}(n);if("function"==typeof l){if(!ws(t,e,i))return i&Ze.Host?Jc(s,0,i):Zc(t,n,i,s);try{const d=l(i);if(null!=d||i&Ze.Optional)return d;qe()}finally{Ha()}}else if("number"==typeof l){let d=null,_=zl(e,t),D=V,N=i&Ze.Host?t[oi][Ti]:null;for((-1===_||i&Ze.SkipSelf)&&(D=-1===_?Ja(e,t):t[_+8],D!==V&&Wl(i,!1)?(d=t[gt],_=Ko(D),t=Ga(D,t)):_=-1);-1!==_;){const k=t[gt];if(eu(l,_,k.data)){const z=Sd(_,t,n,d,i,N);if(z!==No)return z}D=t[_+8],D!==V&&Wl(i,t[gt].data[_+8]===N)&&eu(l,_,t)?(d=k,_=Ko(D),t=Ga(D,t)):_=-1}}return s}function Sd(e,t,n,i,s,l){const d=t[gt],_=d.data[e+8],k=Qa(_,d,n,null==i?Kr(_)&&fa:i!=d&&0!=(3&_.type),s&Ze.Host&&l===_);return null!==k?Ts(t,d,k,_):No}function Qa(e,t,n,i,s){const l=e.providerIndexes,d=t.data,_=1048575&l,D=e.directiveStart,k=l>>20,ce=s?_+k:e.directiveEnd;for(let _e=i?_:_+k;_e<ce;_e++){const Je=d[_e];if(_e<D&&n===Je||_e>=D&&Je.type===n)return _e}if(s){const _e=d[D];if(_e&&Si(_e)&&_e.type===n)return D}return null}function Ts(e,t,n,i){let s=e[n];const l=t.data;if(function et(e){return e instanceof fe}(s)){const d=s;d.resolving&&function me(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new X(-200,`Circular dependency in DI detected for ${e}${n}`)}(function pe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ye(e)}(l[n]));const _=za(d.canSeeViewProviders);d.resolving=!0;const D=d.injectImpl?hn(d.injectImpl):null;ws(e,i,Ze.Default);try{s=e[n]=d.factory(void 0,l,e,i),t.firstCreatePass&&n>=i.directiveStart&&function qc(e,t,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:l}=t.type.prototype;if(i){const d=ee(t);(n.preOrderHooks??=[]).push(e,d),(n.preOrderCheckHooks??=[]).push(e,d)}s&&(n.preOrderHooks??=[]).push(0-e,s),l&&((n.preOrderHooks??=[]).push(e,l),(n.preOrderCheckHooks??=[]).push(e,l))}(n,l[n],t)}finally{null!==D&&hn(D),za(_),d.resolving=!1,Ha()}}return s}function eu(e,t,n){return!!(n[t+(e>>Wa)]&1<<e)}function Wl(e,t){return!(e&Ze.Self||e&Ze.Host&&t)}class Ss{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Qc(this._tNode,this._lView,t,gi(i),n)}}function tu(){return new Ss(rr(),nt())}function Yl(e){return U(()=>{const t=e.prototype.constructor,n=t[mi]||Xa(t),i=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==i;){const l=s[mi]||Xa(s);if(l&&l!==n)return l;s=Object.getPrototypeOf(s)}return l=>new l})}function Xa(e){return Ct(e)?()=>{const t=Xa(Ye(e));return t&&t()}:ro(e)}function Kl(e){const t=e[gt],n=t.type;return 2===n?t.declTNode:1===n?e[Ti]:null}function ql(e){return function Td(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 s=0;for(;s<i;){const l=n[s];if(Tn(l))break;if(0===l)s+=2;else if("number"==typeof l)for(s++;s<i&&"string"==typeof n[s];)s++;else{if(l===t)return n[s+1];s+=2}}}return null}(rr(),e)}const ha="__parameters__";function ga(e,t,n){return U(()=>{const i=function nu(e){return function(...n){if(e){const i=e(...n);for(const s in i)this[s]=i[s]}}}(t);function s(...l){if(this instanceof s)return i.apply(this,l),this;const d=new s(...l);return _.annotation=d,_;function _(D,N,k){const z=D.hasOwnProperty(ha)?D[ha]:Object.defineProperty(D,ha,{value:[]})[ha];for(;z.length<=k;)z.push(null);return(z[k]=z[k]||[]).push(d),D}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function tl(e,t){e.forEach(n=>Array.isArray(n)?tl(n,t):t(n))}function vo(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function bi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ms(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Zr(e,t,n){let i=ko(e,t);return i>=0?e[1|i]=n:(i=~i,function Ad(e,t,n,i){let s=e.length;if(s==t)e.push(n,i);else if(1===s)e.push(i,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function ou(e,t){const n=ko(e,t);if(n>=0)return e[1|n]}function ko(e,t){return function Zl(e,t,n){let i=0,s=e.length>>n;for(;s!==i;){const l=i+(s-i>>1),d=e[l<<n];if(t===d)return l<<n;d>t?s=l:i=l+1}return~(s<<n)}(e,t,1)}const Os=se(ga("Optional"),8),_a=se(ga("SkipSelf"),4);function ya(e){return 128==(128&e.flags)}var so=(()=>((so=so||{})[so.Important=1]="Important",so[so.DashCase=2]="DashCase",so))();const Zs=/^>|^->|<!--|-->|--!>|<!-$/g,al=/(<|>)/,Hd="\u200b$1\u200b";const rc=new Map;let jd=0;const cl="__ngContext__";function Ir(e,t){si(t)?(e[cl]=t[Fr],function Cp(e){rc.set(e[Fr],e)}(t)):e[cl]=t}let bu;function Du(e,t){return bu(e,t)}function ul(e){const t=e[ei];return Qi(t)?t[ei]:t}function wu(e){return cc(e[Ur])}function Cu(e){return cc(e[Li])}function cc(e){for(;null!==e&&!Qi(e);)e=e[Li];return e}function ba(e,t,n,i,s){if(null!=i){let l,d=!1;Qi(i)?l=i:si(i)&&(d=!0,i=i[gn]);const _=un(i);0===e&&null!==n?null==s?Qd(t,n,_):ds(t,n,_,s||null,!0):1===e&&null!==n?ds(t,n,_,s||null,!0):2===e?function mc(e,t,n){const i=Da(e,t);i&&function xp(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,_,d):3===e&&t.destroyNode(_),null!=l&&function Lp(e,t,n,i,s){const l=n[Bi];l!==un(n)&&ba(t,e,i,l,s);for(let _=qn;_<n.length;_++){const D=n[_];hl(D[gt],D,e,t,i,l)}}(t,e,l,n,s)}}function uc(e,t){return e.createText(t)}function Tu(e,t){return e.createComment(function gu(e){return e.replace(Zs,t=>t.replace(al,Hd))}(t))}function fc(e,t,n){return e.createElement(t,n)}function Jd(e,t){const n=e[Nr],i=n.indexOf(t);dt(t),n.splice(i,1)}function Su(e,t){if(e.length<=qn)return;const n=qn+t,i=e[n];if(i){const s=i[xr];null!==s&&s!==e&&Jd(s,i),t>0&&(e[n-1][Li]=i[Li]);const l=bi(e,qn+t);!function Np(e,t){hl(e,t,t[Zt],2,null,null),t[gn]=null,t[Ti]=null}(i[gt],i);const d=l[nr];null!==d&&d.detachView(l[gt]),i[ei]=null,i[Li]=null,i[an]&=-129}return i}function hc(e,t){if(!(256&t[an])){const n=t[Zt];t[kr]?.destroy(),t[zr]?.destroy(),n.destroyNode&&hl(e,t,n,3,null,null),function Ap(e){let t=e[Ur];if(!t)return Mu(e[gt],e);for(;t;){let n=null;if(si(t))n=t[Ur];else{const i=t[qn];i&&(n=i)}if(!n){for(;t&&!t[Li]&&t!==e;)si(t)&&Mu(t[gt],t),t=t[ei];null===t&&(t=e),si(t)&&Mu(t[gt],t),n=t&&t[Li]}t=n}}(t)}}function Mu(e,t){if(!(256&t[an])){t[an]&=-129,t[an]|=256,function Pp(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const s=t[n[i]];if(!(s instanceof fe)){const l=n[i+1];if(Array.isArray(l))for(let d=0;d<l.length;d+=2){const _=s[l[d]],D=l[d+1];Gt(4,_,D);try{D.call(_)}finally{Gt(5,_,D)}}else{Gt(4,s,l);try{l.call(s)}finally{Gt(5,s,l)}}}}}(e,t),function Rp(e,t){const n=e.cleanup,i=t[Sr];if(null!==n)for(let l=0;l<n.length-1;l+=2)if("string"==typeof n[l]){const d=n[l+3];d>=0?i[d]():i[-d].unsubscribe(),l+=2}else n[l].call(i[n[l+1]]);null!==i&&(t[Sr]=null);const s=t[ir];if(null!==s){t[ir]=null;for(let l=0;l<s.length;l++)(0,s[l])()}}(e,t),1===t[gt].type&&t[Zt].destroy();const n=t[xr];if(null!==n&&Qi(t[ei])){n!==t[ei]&&Jd(n,t);const i=t[nr];null!==i&&i.detachView(e)}!function mu(e){rc.delete(e[Fr])}(t)}}function Nu(e,t,n){return Zd(e,t.parent,n)}function Zd(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[gn];{const{componentOffset:s}=i;if(s>-1){const{encapsulation:l}=e.data[i.directiveStart+s];if(l===Be.None||l===Be.Emulated)return null}return Ii(i,n)}}function ds(e,t,n,i,s){e.insertBefore(t,n,i,s)}function Qd(e,t,n){e.appendChild(t,n)}function Xd(e,t,n,i,s){null!==i?ds(e,t,n,i,s):Qd(e,t,n)}function Da(e,t){return e.parentNode(t)}function ef(e,t,n){return nf(e,t,n)}function tf(e,t,n){return 40&e.type?Ii(e,n):null}let pc,a,te,xe,nf=tf;function rf(e,t){nf=e,pc=t}function gc(e,t,n,i){const s=Nu(e,i,t),l=t[Zt],_=ef(i.parent||t[Ti],i,t);if(null!=s)if(Array.isArray(n))for(let D=0;D<n.length;D++)Xd(l,s,n[D],_,!1);else Xd(l,s,n,_,!1);void 0!==pc&&pc(l,i,t,n,s)}function dl(e,t){if(null!==t){const n=t.type;if(3&n)return Ii(t,e);if(4&n)return fl(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return dl(e,i);{const s=e[t.index];return Qi(s)?fl(-1,s):un(s)}}if(32&n)return Du(t,e)()||un(e[t.index]);{const i=sf(e,t);return null!==i?Array.isArray(i)?i[0]:dl(ul(e[oi]),i):dl(e,t.next)}}return null}function sf(e,t){return null!==t?e[oi][Ti].projection[t.projection]:null}function fl(e,t){const n=qn+e+1;if(n<t.length){const i=t[n],s=i[gt].firstChild;if(null!==s)return dl(i,s)}return t[Bi]}function Iu(e,t,n,i,s,l,d){for(;null!=n;){const _=i[n.index],D=n.type;if(d&&0===t&&(_&&Ir(un(_),i),n.flags|=2),32!=(32&n.flags))if(8&D)Iu(e,t,n.child,i,s,l,!1),ba(t,e,s,_,l);else if(32&D){const N=Du(n,i);let k;for(;k=N();)ba(t,e,s,k,l);ba(t,e,s,_,l)}else 16&D?lf(e,t,i,n,s,l):ba(t,e,s,_,l);n=d?n.projectionNext:n.next}}function hl(e,t,n,i,s,l){Iu(n,i,e.firstChild,t,s,l,!1)}function lf(e,t,n,i,s,l){const d=n[oi],D=d[Ti].projection[i.projection];if(Array.isArray(D))for(let N=0;N<D.length;N++)ba(t,e,s,D[N],l);else{let N=D;const k=d[ei];ya(i)&&(N.flags|=128),Iu(e,t,N,k,s,l,!0)}}function Ou(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ru(e,t,n){const{mergedAttrs:i,classes:s,styles:l}=n;null!==i&&ji(e,t,i),null!==s&&Ou(e,t,s),null!==l&&function Au(e,t,n){e.setAttribute(t,"style",n)}(e,t,l)}function r(e){return function u(){if(void 0===a&&(a=null,pn.trustedTypes))try{a=pn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return a}()?.createHTML(e)||e}function ae(e){te=e}function Te(){if(void 0!==te)return te;if(typeof document<"u")return document;throw new X(210,!1)}function Ln(e){return function Ot(){if(void 0===xe&&(xe=null,pn.trustedTypes))try{xe=pn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xe}()?.createScriptURL(e)||e}class Jt{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ht})`}}function On(e){return e instanceof Jt?e.changingThisBreaksApplicationSecurity:e}function Wn(e,t){const n=function Oi(e){return e instanceof Jt&&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 ${Ht})`)}return n===t}class xs{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(r(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Fs{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=r(t),n}}const Io=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xs(e){return(e=String(e)).match(Io)?e:"unsafe:"+e}function eo(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function fs(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const pl=eo("area,br,col,hr,img,wbr"),ea=eo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ea=eo("rp,rt"),ta=fs(pl,fs(ea,eo("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")),fs(Ea,eo("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")),fs(Ea,ea)),Jo=eo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ml=fs(Jo,eo("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"),eo("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"));var Hi=(()=>((Hi=Hi||{})[Hi.NONE=0]="NONE",Hi[Hi.HTML=1]="HTML",Hi[Hi.STYLE=2]="STYLE",Hi[Hi.SCRIPT=3]="SCRIPT",Hi[Hi.URL=4]="URL",Hi[Hi.RESOURCE_URL=5]="RESOURCE_URL",Hi))();function Ta(e){const t=bc();return t?t.sanitize(Hi.URL,e)||"":Wn(e,"URL")?On(e):Xs(ye(e))}function yc(e){const t=bc();if(t)return Ln(t.sanitize(Hi.RESOURCE_URL,e)||"");if(Wn(e,"ResourceURL"))return Ln(On(e));throw new X(904,!1)}function Hp(e,t,n){return function ky(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?yc:Ta}(t,n)(e)}function bc(){const e=nt();return e&&e[vr].sanitizer}class hi{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=tt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Dc=new hi("ENVIRONMENT_INITIALIZER"),jp=new hi("INJECTOR",-1),$p=new hi("INJECTOR_DEF_TYPES");class Up{get(t,n=_n){if(n===_n){const i=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw i.name="NullInjectorError",i}return n}}function hf(e){return{\u0275providers:e}}function Ly(...e){return{\u0275providers:Gp(0,e),\u0275fromNgModule:!0}}function Gp(e,...t){const n=[],i=new Set;let s;return tl(t,l=>{const d=l;pf(d,n,[],i)&&(s||=[],s.push(d))}),void 0!==s&&zp(s,n),n}function zp(e,t){for(let n=0;n<e.length;n++){const{providers:s}=e[n];gf(s,l=>{t.push(l)})}}function pf(e,t,n,i){if(!(e=Ye(e)))return!1;let s=null,l=Ne(e);const d=!l&&sn(e);if(l||d){if(d&&!d.standalone)return!1;s=e}else{const D=e.ngModule;if(l=Ne(D),!l)return!1;s=D}const _=i.has(s);if(d){if(_)return!1;if(i.add(s),d.dependencies){const D="function"==typeof d.dependencies?d.dependencies():d.dependencies;for(const N of D)pf(N,t,n,i)}}else{if(!l)return!1;{if(null!=l.imports&&!_){let N;i.add(s);try{tl(l.imports,k=>{pf(k,t,n,i)&&(N||=[],N.push(k))})}finally{}void 0!==N&&zp(N,t)}if(!_){const N=ro(s)||(()=>new s);t.push({provide:s,useFactory:N,deps:ke},{provide:$p,useValue:s,multi:!0},{provide:Dc,useValue:()=>vn(s),multi:!0})}const D=l.providers;null==D||_||gf(D,k=>{t.push(k)})}}return s!==e&&void 0!==e.providers}function gf(e,t){for(let n of e)xt(n)&&(n=n.\u0275providers),Array.isArray(n)?gf(n,t):t(n)}const By=le({provide:String,useValue:le});function mf(e){return null!==e&&"object"==typeof e&&By in e}function Sa(e){return"function"==typeof e}const _f=new hi("Set Injector scope."),Hu={},Hy={};let vf;function ju(){return void 0===vf&&(vf=new Up),vf}class Ma{}class yf extends Ma{get destroyed(){return this._destroyed}constructor(t,n,i,s){super(),this.parent=n,this.source=i,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Df(t,d=>this.processProvider(d)),this.records.set(jp,_l(void 0,this)),s.has("environment")&&this.records.set(Ma,_l(void 0,this));const l=this.records.get(_f);null!=l&&"string"==typeof l.value&&this.scopes.add(l.value),this.injectorDefTypes=new Set(this.get($p.multi,ke,Ze.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=ci(this),i=hn(void 0);try{return t()}finally{ci(n),hn(i)}}get(t,n=_n,i=Ze.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Un))return t[Un](this);i=gi(i);const s=ci(this),l=hn(void 0);try{if(!(i&Ze.SkipSelf)){let _=this.records.get(t);if(void 0===_){const D=function zy(e){return"function"==typeof e||"object"==typeof e&&e instanceof hi}(t)&&bn(t);_=D&&this.injectableDefInScope(D)?_l(bf(t),Hu):null,this.records.set(t,_)}if(null!=_)return this.hydrate(t,_)}return(i&Ze.Self?ju():this.parent).get(t,n=i&Ze.Optional&&n===_n?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[Rn]=d[Rn]||[]).unshift(ue(t)),s)throw d;return function ge(e,t,n,i){const s=e[Rn];throw t[Ei]&&s.unshift(t[Ei]),e.message=function q(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=ue(t);if(Array.isArray(t))s=t.map(ue).join(" -> ");else if("object"==typeof t){let l=[];for(let d in t)if(t.hasOwnProperty(d)){let _=t[d];l.push(d+":"+("string"==typeof _?JSON.stringify(_):ue(_)))}s=`{${l.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${e.replace(tn,"\n  ")}`}("\n"+e.message,s,n,i),e.ngTokenPath=s,e[Rn]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{hn(l),ci(s)}}resolveInjectorInitializers(){const t=ci(this),n=hn(void 0);try{const i=this.get(Dc.multi,ke,Ze.Self);for(const s of i)s()}finally{ci(t),hn(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(ue(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new X(205,!1)}processProvider(t){let n=Sa(t=Ye(t))?t:Ye(t&&t.provide);const i=function $y(e){return mf(e)?_l(void 0,e.useValue):_l(Kp(e),Hu)}(t);if(Sa(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=_l(void 0,Hu,!0),s.factory=()=>Pe(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Hu&&(n.value=Hy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Gy(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=Ye(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function bf(e){const t=bn(e),n=null!==t?t.factory:ro(e);if(null!==n)return n;if(e instanceof hi)throw new X(204,!1);if(e instanceof Function)return function jy(e){const t=e.length;if(t>0)throw Ms(t,"?"),new X(204,!1);const n=function J(e){return e&&(e[Ve]||e[pt])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new X(204,!1)}function Kp(e,t,n){let i;if(Sa(e)){const s=Ye(e);return ro(s)||bf(s)}if(mf(e))i=()=>Ye(e.useValue);else if(function Yp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Pe(e.deps||[]));else if(function Wp(e){return!(!e||!e.useExisting)}(e))i=()=>vn(Ye(e.useExisting));else{const s=Ye(e&&(e.useClass||e.provide));if(!function Uy(e){return!!e.deps}(e))return ro(s)||bf(s);i=()=>new s(...Pe(e.deps))}return i}function _l(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Df(e,t){for(const n of e)Array.isArray(n)?Df(n,t):n&&xt(n)?Df(n.\u0275providers,t):t(n)}const qp=new hi("AppId",{providedIn:"root",factory:()=>Wy}),Wy="ng",Jp=new hi("Platform Initializer"),Ef=new hi("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Yy=new hi("AnimationModuleType"),Ky=new hi("CSP nonce",{providedIn:"root",factory:()=>Te().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Qp=(e,t)=>null;function Xp(e,t){return Qp(e,t)}class r0{}class ng{}class s0{resolveComponentFactory(t){throw function o0(e){const t=Error(`No component factory found for ${ue(e)}.`);return t.ngComponent=e,t}(t)}}let Wu=(()=>{class e{}return e.NULL=new s0,e})();function a0(){return vl(rr(),nt())}function vl(e,t){return new Tc(Ii(e,t))}let Tc=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=a0,e})();function l0(e){return e instanceof Tc?e.nativeElement:e}class rg{}let c0=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function u0(){const e=nt(),n=E(rr().index,e);return(si(n)?n:e)[Zt]}(),e})(),d0=(()=>{class e{}return e.\u0275prov=tt({token:e,providedIn:"root",factory:()=>null}),e})();class og{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const f0=new og("16.0.4"),Pf={};function Sc(e){for(;e;){e[an]|=64;const t=ul(e);if(qr(e)&&!t)return e;e=t}return null}function xf(e){return e.ngOriginalError}class yl{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&&xf(t);for(;n&&xf(n);)n=xf(n);return n||null}}const lg=new hi("",{providedIn:"root",factory:()=>!1});function cg(e){return e.ownerDocument.defaultView}function Bs(e){return e instanceof Function?e():e}class pg extends mo{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){Sc(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,i){const s=vi(this);this.trackingVersion++;try{t(n,i)}finally{vi(s)}}destroy(){this.trackingVersion++}}let Ku=null;function gg(){return Ku??=new pg,Ku}function mg(e,t){return e[t]??gg()}function _g(e,t){const n=gg();n.hasReadASignal&&(e[t]=Ku,n.lView=e,Ku=new pg)}const Sn={};function vg(e){yg(dn(),nt(),br()+e,!1)}function yg(e,t,n,i){if(!i)if(3==(3&t[an])){const l=e.preOrderCheckHooks;null!==l&&p(t,l,n)}else{const l=e.preOrderHooks;null!==l&&v(t,l,0,n)}Fo(n)}function wg(e,t=null,n=null,i){const s=Cg(e,t,n,i);return s.resolveInjectorInitializers(),s}function Cg(e,t=null,n=null,i,s=new Set){const l=[n||ke,Ly(e)];return i=i||("object"==typeof e?void 0:ue(e)),new yf(l,t||ju(),i||null,s)}let na=(()=>{class e{static create(n,i){if(Array.isArray(n))return wg({name:""},i,n,"");{const s=n.name??"";return wg({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=_n,e.NULL=new Up,e.\u0275prov=tt({token:e,providedIn:"any",factory:()=>vn(jp)}),e.__NG_ELEMENT_ID__=-1,e})();function Dl(e,t=Ze.Default){const n=nt();return null===n?vn(e,t):Qc(rr(),n,Ye(e),t)}function Tg(){throw new Error("invalid")}function qu(e,t,n,i,s,l,d,_,D,N,k){const z=t.blueprint.slice();return z[gn]=s,z[an]=140|i,(null!==N||e&&2048&e[an])&&(z[an]|=2048),wt(z),z[ei]=z[ur]=e,z[An]=n,z[vr]=d||e&&e[vr],z[Zt]=_||e&&e[Zt],z[cr]=D||e&&e[cr]||null,z[Ti]=l,z[Fr]=function oc(){return jd++}(),z[zi]=k,z[Gi]=N,z[oi]=2==t.type?e[oi]:z,z}function El(e,t,n,i,s){let l=e.data[t];if(null===l)l=Ff(e,t,n,i,s),function Pa(){return st.lFrame.inI18n}()&&(l.flags|=32);else if(64&l.type){l.type=n,l.value=i,l.attrs=s;const d=ls();l.injectorIndex=null===d?-1:d.injectorIndex}return _o(l,!0),l}function Ff(e,t,n,i,s){const l=Gs(),d=oa(),D=e.data[t]=function R0(e,t,n,i,s,l){let d=t?t.injectorIndex:-1,_=0;return kn()&&(_|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:d,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:_,providerIndexes:0,value:s,attrs:l,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,d?l:l&&l.parent,n,t,i,s);return null===e.firstChild&&(e.firstChild=D),null!==l&&(d?null==l.child&&null!==D.parent&&(l.child=D):null===l.next&&(l.next=D,D.prev=l)),D}function Mc(e,t,n,i){if(0===n)return-1;const s=t.length;for(let l=0;l<n;l++)t.push(i),e.blueprint.push(i),e.data.push(null);return s}function Sg(e,t,n,i,s){const l=mg(t,kr),d=br(),_=2&i;try{if(Fo(-1),_&&t.length>yn&&yg(e,t,yn,!1),Gt(_?2:0,s),_)l.runInContext(n,i,s);else{const N=vi(null);try{n(i,s)}finally{vi(N)}}}finally{_&&null===t[kr]&&_g(t,kr),Fo(d),Gt(_?3:1,s)}}function kf(e,t,n){if(yo(t)){const i=vi(null);try{const l=t.directiveEnd;for(let d=t.directiveStart;d<l;d++){const _=e.data[d];_.contentQueries&&_.contentQueries(1,n[d],d)}}finally{vi(i)}}}function Lf(e,t,n){oo()&&(function V0(e,t,n,i){const s=n.directiveStart,l=n.directiveEnd;Kr(n)&&function W0(e,t,n){const i=Ii(t,e),d=Ju(e,qu(e,Mg(n),null,n.onPush?64:16,i,t,null,e[vr].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=d}(t,n,e.data[s+n.componentOffset]),e.firstCreatePass||Ka(n,t),Ir(i,t);const d=n.initialInputs;for(let _=s;_<l;_++){const D=e.data[_],N=Ts(t,e,_,n);Ir(N,t),null!==d&&Y0(0,_-s,N,D,0,d),Si(D)&&(E(n.index,t)[An]=Ts(t,e,_,n))}}(e,t,n,Ii(n,t)),64==(64&n.flags)&&Rg(e,t,n))}function Bf(e,t,n=Ii){const i=t.localNames;if(null!==i){let s=t.index+1;for(let l=0;l<i.length;l+=2){const d=i[l+1],_=-1===d?n(t,e):e[d];e[s++]=_}}}function Mg(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Vf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Vf(e,t,n,i,s,l,d,_,D,N,k){const z=yn+i,ce=z+s,_e=function S0(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Sn);return n}(z,ce),Je="function"==typeof N?N():N;return _e[gt]={type:e,blueprint:_e,template:n,queries:null,viewQuery:_,declTNode:t,data:_e.slice().fill(null,z),bindingStartIndex:z,expandoStartIndex:ce,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 l?l():l,pipeRegistry:"function"==typeof d?d():d,firstChild:null,schemas:D,consts:Je,incompleteFirstPass:!1,ssrId:k}}let Ng=e=>null;function Ig(e,t,n,i){for(let s in e)if(e.hasOwnProperty(s)){n=null===n?{}:n;const l=e[s];null===i?Ag(n,t,s,l):i.hasOwnProperty(s)&&Ag(n,t,i[s],l)}return n}function Ag(e,t,n,i){e.hasOwnProperty(n)?e[n].push(t,i):e[n]=[t,i]}function Ao(e,t,n,i,s,l,d,_){const D=Ii(t,n);let k,N=t.inputs;!_&&null!=N&&(k=N[i])?(Gf(e,n,k,i,s),Kr(t)&&function F0(e,t){const n=E(t,e);16&n[an]||(n[an]|=64)}(n,t.index)):3&t.type&&(i=function x0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),s=null!=d?d(s,t.value||"",i):s,l.setProperty(D,i,s))}function Hf(e,t,n,i){if(oo()){const s=null===i?null:{"":-1},l=function j0(e,t){const n=e.directiveRegistry;let i=null,s=null;if(n)for(let l=0;l<n.length;l++){const d=n[l];if(wi(t,d.selectors,!1))if(i||(i=[]),Si(d))if(null!==d.findHostDirectiveDefs){const _=[];s=s||new Map,d.findHostDirectiveDefs(d,_,s),i.unshift(..._,d),jf(e,t,_.length)}else i.unshift(d),jf(e,t,0);else s=s||new Map,d.findHostDirectiveDefs?.(d,i,s),i.push(d)}return null===i?null:[i,s]}(e,n);let d,_;null===l?d=_=null:[d,_]=l,null!==d&&Og(e,t,n,d,s,_),s&&function $0(e,t,n){if(t){const i=e.localNames=[];for(let s=0;s<t.length;s+=2){const l=n[t[s+1]];if(null==l)throw new X(-301,!1);i.push(t[s],l)}}}(n,i,s)}n.mergedAttrs=ni(n.mergedAttrs,n.attrs)}function Og(e,t,n,i,s,l){for(let N=0;N<i.length;N++)Za(Ka(n,t),e,i[N].type);!function G0(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let N=0;N<i.length;N++){const k=i[N];k.providersResolver&&k.providersResolver(k)}let d=!1,_=!1,D=Mc(e,t,i.length,null);for(let N=0;N<i.length;N++){const k=i[N];n.mergedAttrs=ni(n.mergedAttrs,k.hostAttrs),z0(e,n,t,D,k),U0(D,k,s),null!==k.contentQueries&&(n.flags|=4),(null!==k.hostBindings||null!==k.hostAttrs||0!==k.hostVars)&&(n.flags|=64);const z=k.type.prototype;!d&&(z.ngOnChanges||z.ngOnInit||z.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),d=!0),!_&&(z.ngOnChanges||z.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),_=!0),D++}!function P0(e,t,n){const s=t.directiveEnd,l=e.data,d=t.attrs,_=[];let D=null,N=null;for(let k=t.directiveStart;k<s;k++){const z=l[k],ce=n?n.get(z):null,Je=ce?ce.outputs:null;D=Ig(z.inputs,k,D,ce?ce.inputs:null),N=Ig(z.outputs,k,N,Je);const at=null===D||null===d||ri(t)?null:K0(D,k,d);_.push(at)}null!==D&&(D.hasOwnProperty("class")&&(t.flags|=8),D.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=_,t.inputs=D,t.outputs=N}(e,n,l)}function Rg(e,t,n){const i=n.directiveStart,s=n.directiveEnd,l=n.index,d=function Fa(){return st.lFrame.currentDirectiveIndex}();try{Fo(l);for(let _=i;_<s;_++){const D=e.data[_],N=t[_];ka(_),(null!==D.hostBindings||0!==D.hostVars||null!==D.hostAttrs)&&H0(D,N)}}finally{Fo(-1),ka(d)}}function H0(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function jf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function U0(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Si(t)&&(n[""]=e)}}function z0(e,t,n,i,s){e.data[i]=s;const l=s.factory||(s.factory=ro(s.type)),d=new fe(l,Si(s),Dl);e.blueprint[i]=d,n[i]=d,function L0(e,t,n,i,s){const l=s.hostBindings;if(l){let d=e.hostBindingOpCodes;null===d&&(d=e.hostBindingOpCodes=[]);const _=~t.index;(function B0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(d)!=_&&d.push(_),d.push(n,i,l)}}(e,t,i,Mc(e,n,s.hostVars,Sn),s)}function hs(e,t,n,i,s,l){const d=Ii(e,t);!function $f(e,t,n,i,s,l,d){if(null==l)e.removeAttribute(t,s,n);else{const _=null==d?ye(l):d(l,i||"",s);e.setAttribute(t,s,_,n)}}(t[Zt],d,l,e.value,n,i,s)}function Y0(e,t,n,i,s,l){const d=l[t];if(null!==d)for(let _=0;_<d.length;)Pg(i,n,d[_++],d[_++],d[_++])}function Pg(e,t,n,i,s){const l=vi(null);try{null!==e.setInput?e.setInput(t,s,n,i):t[i]=s}finally{vi(l)}}function K0(e,t,n){let i=null,s=0;for(;s<n.length;){const l=n[s];if(0!==l)if(5!==l){if("number"==typeof l)break;if(e.hasOwnProperty(l)){null===i&&(i=[]);const d=e[l];for(let _=0;_<d.length;_+=2)if(d[_]===t){i.push(l,d[_+1],n[s+1]);break}}s+=2}else s+=2;else s+=4}return i}function xg(e,t,n,i){return[e,!0,!1,t,null,0,i,n,null,null,null]}function Fg(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const l=n[i+1];if(-1!==l){const d=e.data[l];zs(n[i]),d.contentQueries(2,t[l],l)}}}function Ju(e,t){return e[Ur]?e[Mr][Li]=t:e[Ur]=t,e[Mr]=t,t}function Uf(e,t,n){zs(0);const i=vi(null);try{t(e,n)}finally{vi(i)}}function kg(e){return e[Sr]||(e[Sr]=[])}function Lg(e){return e.cleanup||(e.cleanup=[])}function Vg(e,t){const n=e[cr],i=n?n.get(yl,null):null;i&&i.handleError(t)}function Gf(e,t,n,i,s){for(let l=0;l<n.length;){const d=n[l++],_=n[l++];Pg(e.data[d],t[d],i,_,s)}}function q0(e,t){const n=E(t,e),i=n[gt];!function J0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const s=n[gn];null!==s&&null===n[zi]&&(n[zi]=Xp(s,n[cr])),zf(i,n,n[An])}function zf(e,t,n){Cs(t);try{const i=e.viewQuery;null!==i&&Uf(1,i,n);const s=e.template;null!==s&&Sg(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Fg(e,t),e.staticViewQueries&&Uf(2,e.viewQuery,n);const l=e.components;null!==l&&function Z0(e,t){for(let n=0;n<t.length;n++)q0(e,t[n])}(t,l)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[an]&=-5,ja()}}let Hg=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,i,s){const l=typeof Zone>"u"?null:Zone.current,d=new P(n,N=>{this.all.has(N)&&this.queue.set(N,l)},s);let _;this.all.add(d),d.notify();const D=()=>{d.cleanup(),_?.(),this.all.delete(d),this.queue.delete(d)};return _=i?.onDestroy(D),{destroy:D}}flush(){if(0!==this.queue.size)for(const[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=tt({token:e,providedIn:"root",factory:()=>new e}),e})();function Zu(e,t,n){let i=n?e.styles:null,s=n?e.classes:null,l=0;if(null!==t)for(let d=0;d<t.length;d++){const _=t[d];"number"==typeof _?l=_:1==l?s=Fe(s,_):2==l&&(i=Fe(i,_+": "+t[++d]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=s:e.classesWithoutHost=s}function Nc(e,t,n,i,s=!1){for(;null!==n;){const l=t[n.index];if(null!==l&&i.push(un(l)),Qi(l)){for(let _=qn;_<l.length;_++){const D=l[_],N=D[gt].firstChild;null!==N&&Nc(D[gt],D,N,i)}l[Bi]!==l[gn]&&i.push(l[Bi])}const d=n.type;if(8&d)Nc(e,t,n.child,i);else if(32&d){const _=Du(n,t);let D;for(;D=_();)i.push(D)}else if(16&d){const _=sf(t,n);if(Array.isArray(_))i.push(..._);else{const D=ul(t[oi]);Nc(D[gt],D,_,i,!0)}}n=s?n.projectionNext:n.next}return i}function Qu(e,t,n,i=!0){const s=t[vr].rendererFactory;s.begin&&s.begin();try{Xu(e,t,e.template,n)}catch(d){throw i&&Vg(t,d),d}finally{s.end&&s.end(),t[vr].effectManager?.flush()}}function Xu(e,t,n,i){const s=t[an];if(256!=(256&s)){t[vr].effectManager?.flush(),Cs(t);try{wt(t),function Ra(e){return st.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Sg(e,t,n,2,i);const d=3==(3&s);if(d){const N=e.preOrderCheckHooks;null!==N&&p(t,N,null)}else{const N=e.preOrderHooks;null!==N&&v(t,N,0,null),f(t,0)}if(function ib(e){for(let t=wu(e);null!==t;t=Cu(t)){if(!t[Vo])continue;const n=t[Nr];for(let i=0;i<n.length;i++){Fn(n[i])}}}(t),function nb(e){for(let t=wu(e);null!==t;t=Cu(t))for(let n=qn;n<t.length;n++){const i=t[n],s=i[gt];Y(i)&&Xu(s,i,s.template,i[An])}}(t),null!==e.contentQueries&&Fg(e,t),d){const N=e.contentCheckHooks;null!==N&&p(t,N)}else{const N=e.contentHooks;null!==N&&v(t,N,1),f(t,1)}!function T0(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const i=mg(t,zr);try{for(let s=0;s<n.length;s++){const l=n[s];if(l<0)Fo(~l);else{const d=l,_=n[++s],D=n[++s];aa(_,d),i.runInContext(D,2,t[d])}}}finally{null===t[zr]&&_g(t,zr),Fo(-1)}}(e,t);const _=e.components;null!==_&&function ob(e,t){for(let n=0;n<t.length;n++)rb(e,t[n])}(t,_);const D=e.viewQuery;if(null!==D&&Uf(2,D,i),d){const N=e.viewCheckHooks;null!==N&&p(t,N)}else{const N=e.viewHooks;null!==N&&v(t,N,2),f(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[an]&=-73,dt(t)}finally{ja()}}}function rb(e,t){const n=E(t,e);if(Y(n)){const i=n[gt];80&n[an]?Xu(i,n,i.template,n[An]):n[Tr]>0&&Wf(n)}}function Wf(e){for(let i=wu(e);null!==i;i=Cu(i))for(let s=qn;s<i.length;s++){const l=i[s];if(Y(l))if(1024&l[an]){const d=l[gt];Xu(d,l,d.template,l[An])}else l[Tr]>0&&Wf(l)}const n=e[gt].components;if(null!==n)for(let i=0;i<n.length;i++){const s=E(n[i],e);Y(s)&&s[Tr]>0&&Wf(s)}}class Ic{get rootNodes(){const t=this._lView,n=t[gt];return Nc(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[An]}set context(t){this._lView[An]=t}get destroyed(){return 256==(256&this._lView[an])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[ei];if(Qi(t)){const n=t[Wr],i=n?n.indexOf(this):-1;i>-1&&(Su(t,i),bi(n,i))}this._attachedToViewContainer=!1}hc(this._lView[gt],this._lView)}onDestroy(t){!function ct(e,t){if(256==(256&e[an]))throw new X(911,!1);null===e[ir]&&(e[ir]=[]),e[ir].push(t)}(this._lView,t)}markForCheck(){Sc(this._cdRefInjectingView||this._lView)}detach(){this._lView[an]&=-129}reattach(){this._lView[an]|=128}detectChanges(){Qu(this._lView[gt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new X(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Kd(e,t){hl(e,t,t[Zt],2,null,null)}(this._lView[gt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new X(902,!1);this._appRef=t}}class sb extends Ic{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Qu(t[gt],t,t[An],!1)}checkNoChanges(){}get context(){return null}}class jg extends Wu{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=sn(t);return new Ac(n,this.ngModule)}}function $g(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class lb{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=gi(i);const s=this.injector.get(t,Pf,i);return s!==Pf||n===Pf?s:this.parentInjector.get(t,n,i)}}class Ac extends ng{get inputs(){return $g(this.componentDef.inputs)}get outputs(){return $g(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function mr(e){return e.map(Pr).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,s){let l=(s=s||this.ngModule)instanceof Ma?s:s?.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const d=l?new lb(t,l):t,_=d.get(rg,null);if(null===_)throw new X(407,!1);const k={rendererFactory:_,sanitizer:d.get(d0,null),effectManager:d.get(Hg,null)},z=_.createRenderer(null,this.componentDef),ce=this.componentDef.selectors[0][0]||"div",_e=i?function M0(e,t,n,i){const l=i.get(lg,!1)||n===Be.ShadowDom,d=e.selectRootElement(t,l);return function N0(e){Ng(e)}(d),d}(z,i,this.componentDef.encapsulation,d):fc(z,ce,function ab(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(ce)),Je=this.componentDef.onPush?576:528,at=Vf(0,null,null,1,0,null,null,null,null,null,null),bt=qu(null,at,null,Je,null,null,k,z,d,null,null);let Wt,it;Cs(bt);try{const on=this.componentDef;let Vn,yi=null;on.findHostDirectiveDefs?(Vn=[],yi=new Map,on.findHostDirectiveDefs(on,Vn,yi),Vn.push(on)):Vn=[on];const es=function ub(e,t){const n=e[gt],i=yn;return e[i]=t,El(n,i,2,"#host",null)}(bt,_e),Ey=function db(e,t,n,i,s,l,d){const _=s[gt];!function fb(e,t,n,i){for(const s of e)t.mergedAttrs=ni(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(Zu(t,t.mergedAttrs,!0),null!==n&&Ru(i,n,t))}(i,e,t,d);let D=null;null!==t&&(D=Xp(t,s[cr]));const N=l.rendererFactory.createRenderer(t,n),k=qu(s,Mg(n),null,n.onPush?64:16,s[e.index],e,l,N,null,null,D);return _.firstCreatePass&&jf(_,e,i.length-1),Ju(s,k),s[e.index]=k}(es,_e,on,Vn,bt,k,z);it=y(at,yn),_e&&function pb(e,t,n,i){if(i)ji(e,n,["ng-version",f0.full]);else{const{attrs:s,classes:l}=function jr(e){const t=[],n=[];let i=1,s=2;for(;i<e.length;){let l=e[i];if("string"==typeof l)2===s?""!==l&&t.push(l,e[++i]):8===s&&n.push(l);else{if(!Gn(s))break;s=l}i++}return{attrs:t,classes:n}}(t.selectors[0]);s&&ji(e,n,s),l&&l.length>0&&Ou(e,n,l.join(" "))}}(z,on,_e,i),void 0!==n&&function gb(e,t,n){const i=e.projection=[];for(let s=0;s<t.length;s++){const l=n[s];i.push(null!=l?Array.from(l):null)}}(it,this.ngContentSelectors,n),Wt=function hb(e,t,n,i,s,l){const d=rr(),_=s[gt],D=Ii(d,s);Og(_,s,d,n,null,i);for(let k=0;k<n.length;k++)Ir(Ts(s,_,d.directiveStart+k,d),s);Rg(_,s,d),D&&Ir(D,s);const N=Ts(s,_,d.directiveStart+d.componentOffset,d);if(e[An]=s[An]=N,null!==l)for(const k of l)k(N,t);return kf(_,d,e),N}(Ey,on,Vn,yi,bt,[mb]),zf(at,bt,null)}finally{ja()}return new cb(this.componentType,Wt,vl(it,bt),bt,it)}}class cb extends r0{constructor(t,n,i,s,l){super(),this.location=i,this._rootLView=s,this._tNode=l,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new sb(s),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let s;if(null!==i&&(s=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const l=this._rootLView;Gf(l[gt],l,s,t,n),this.previousInputValues.set(t,n),Sc(E(this._tNode.index,l))}}get injector(){return new Ss(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function mb(){const e=rr();ua(nt()[gt],e)}function Yf(e){let t=function Ug(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let s;if(Si(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new X(903,!1);s=t.\u0275dir}if(s){if(n){i.push(s);const d=e;d.inputs=Kf(e.inputs),d.declaredInputs=Kf(e.declaredInputs),d.outputs=Kf(e.outputs);const _=s.hostBindings;_&&bb(e,_);const D=s.viewQuery,N=s.contentQueries;if(D&&vb(e,D),N&&yb(e,N),de(e.inputs,s.inputs),de(e.declaredInputs,s.declaredInputs),de(e.outputs,s.outputs),Si(s)&&s.data.animation){const k=e.data;k.animation=(k.animation||[]).concat(s.data.animation)}}const l=s.features;if(l)for(let d=0;d<l.length;d++){const _=l[d];_&&_.ngInherit&&_(e),_===Yf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function _b(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const s=e[i];s.hostVars=t+=s.hostVars,s.hostAttrs=ni(s.hostAttrs,n=ni(n,s.hostAttrs))}}(i)}function Kf(e){return e===We?{}:e===ke?[]:e}function vb(e,t){const n=e.viewQuery;e.viewQuery=n?(i,s)=>{t(i,s),n(i,s)}:t}function yb(e,t){const n=e.contentQueries;e.contentQueries=n?(i,s,l)=>{t(i,s,l),n(i,s,l)}:t}function bb(e,t){const n=e.hostBindings;e.hostBindings=n?(i,s)=>{t(i,s),n(i,s)}:t}function Gg(e){return t=>{t.findHostDirectiveDefs=zg,t.hostDirectives=(Array.isArray(e)?e:e()).map(n=>"function"==typeof n?{directive:Ye(n),inputs:We,outputs:We}:{directive:Ye(n.directive),inputs:Wg(n.inputs),outputs:Wg(n.outputs)})}}function zg(e,t,n){if(null!==e.hostDirectives)for(const i of e.hostDirectives){const s=x(i.directive);Cb(s.declaredInputs,i.inputs),zg(s,t,n),n.set(s,i),t.push(s)}}function Wg(e){if(void 0===e||0===e.length)return We;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Cb(e,t){for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=e[n])}function ed(e){return!!qf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function qf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ps(e,t,n){return e[t]=n}function ao(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Na(e,t,n,i){const s=ao(e,t,n);return ao(e,t+1,i)||s}function Jf(e,t,n,i){const s=nt();return ao(s,Es(),t)&&(dn(),hs(wn(),s,e,t,n,i)),Jf}function Cl(e,t,n,i){return ao(e,Es(),n)?t+ye(n)+i:Sn}function sm(e,t,n,i,s,l,d,_){const D=nt(),N=dn(),k=e+yn,z=N.firstCreatePass?function Gb(e,t,n,i,s,l,d,_,D){const N=t.consts,k=El(t,e,4,d||null,Ae(N,_));Hf(t,n,k,Ae(N,D)),ua(t,k);const z=k.tView=Vf(2,k,i,s,l,t.directiveRegistry,t.pipeRegistry,null,t.schemas,N,null);return null!==t.queries&&(t.queries.template(t,k),z.queries=t.queries.embeddedTView(k)),k}(k,N,D,t,n,i,s,l,d):N.data[k];_o(z,!1);const ce=am(N,D,z,e);ca()&&gc(N,D,ce,z),Ir(ce,D),Ju(D,D[k]=xg(ce,D,ce,z)),bo(z)&&Lf(N,D,z),null!=d&&Bf(D,z,_)}let am=function lm(e,t,n,i){return Yo(!0),t[Zt].createComment("")};function cm(e){return function I(e,t){return e[t]}(function Ds(){return st.lFrame.contextLView}(),yn+e)}function nh(e,t,n){const i=nt();return ao(i,Es(),t)&&Ao(dn(),wn(),i,e,t,i[Zt],n,!1),nh}function ih(e,t,n,i,s){const d=s?"class":"style";Gf(e,n,t.inputs[d],d,i)}function od(e,t,n,i){const s=nt(),l=dn(),d=yn+e,_=s[Zt],D=l.firstCreatePass?function Kb(e,t,n,i,s,l){const d=t.consts,D=El(t,e,2,i,Ae(d,s));return Hf(t,n,D,Ae(d,l)),null!==D.attrs&&Zu(D,D.attrs,!1),null!==D.mergedAttrs&&Zu(D,D.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,D),D}(d,l,s,t,n,i):l.data[d],N=um(l,s,D,_,t,e);s[d]=N;const k=bo(D);return _o(D,!0),Ru(_,N,D),32!=(32&D.flags)&&ca()&&gc(l,s,N,D),0===function Wi(){return st.lFrame.elementDepthCount}()&&Ir(N,s),function zn(){st.lFrame.elementDepthCount++}(),k&&(Lf(l,s,D),kf(l,D,s)),null!==i&&Bf(s,D),od}function sd(){let e=rr();oa()?sa():(e=e.parent,_o(e,!1));const t=e;(function En(e){return st.skipHydrationRootTNode===e})(t)&&function $s(){st.skipHydrationRootTNode=null}(),function er(){st.lFrame.elementDepthCount--}();const n=dn();return n.firstCreatePass&&(ua(n,e),yo(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ki(e){return 0!=(8&e.flags)}(t)&&ih(n,t,nt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function da(e){return 0!=(16&e.flags)}(t)&&ih(n,t,nt(),t.stylesWithoutHost,!1),sd}function rh(e,t,n,i){return od(e,t,n,i),sd(),rh}let um=(e,t,n,i,s,l)=>(Yo(!0),fc(i,s,function Ws(){return st.lFrame.currentNamespace}()));function oh(e,t,n){const i=nt(),s=dn(),l=e+yn,d=s.firstCreatePass?function Zb(e,t,n,i,s){const l=t.consts,d=Ae(l,i),_=El(t,e,8,"ng-container",d);return null!==d&&Zu(_,d,!0),Hf(t,n,_,Ae(l,s)),null!==t.queries&&t.queries.elementStart(t,_),_}(l,s,i,t,n):s.data[l];_o(d,!0);const _=dm(s,i,d,e);return i[l]=_,ca()&&gc(s,i,_,d),Ir(_,i),bo(d)&&(Lf(s,i,d),kf(s,d,i)),null!=n&&Bf(i,d),oh}function sh(){let e=rr();const t=dn();return oa()?sa():(e=e.parent,_o(e,!1)),t.firstCreatePass&&(ua(t,e),yo(e)&&t.queries.elementEnd(e)),sh}function ah(e,t,n){return oh(e,t,n),sh(),ah}let dm=(e,t,n,i)=>(Yo(!0),Tu(t[Zt],""));function fm(){return nt()}function lh(e){return!!e&&"function"==typeof e.then}function hm(e){return!!e&&"function"==typeof e.subscribe}function ch(e,t,n,i){const s=nt(),l=dn(),d=rr();return function gm(e,t,n,i,s,l,d){const _=bo(i),N=e.firstCreatePass&&Lg(e),k=t[An],z=kg(t);let ce=!0;if(3&i.type||d){const at=Ii(i,t),bt=d?d(at):at,Wt=z.length,it=d?Vn=>d(un(Vn[i.index])):i.index;let on=null;if(!d&&_&&(on=function eD(e,t,n,i){const s=e.cleanup;if(null!=s)for(let l=0;l<s.length-1;l+=2){const d=s[l];if(d===n&&s[l+1]===i){const _=t[Sr],D=s[l+2];return _.length>D?_[D]:null}"string"==typeof d&&(l+=2)}return null}(e,t,s,i.index)),null!==on)(on.__ngLastListenerFn__||on).__ngNextListenerFn__=l,on.__ngLastListenerFn__=l,ce=!1;else{l=_m(i,t,k,l,!1);const Vn=n.listen(bt,s,l);z.push(l,Vn),N&&N.push(s,it,Wt,Wt+1)}}else l=_m(i,t,k,l,!1);const _e=i.outputs;let Je;if(ce&&null!==_e&&(Je=_e[s])){const at=Je.length;if(at)for(let bt=0;bt<at;bt+=2){const yi=t[Je[bt]][Je[bt+1]].subscribe(l),es=z.length;z.push(l,yi),N&&N.push(s,i.index,es,-(es+1))}}}(l,s,s[Zt],d,e,t,i),ch}function mm(e,t,n,i){try{return Gt(6,t,n),!1!==n(i)}catch(s){return Vg(e,s),!1}finally{Gt(7,t,n)}}function _m(e,t,n,i,s){return function l(d){if(d===Function)return i;Sc(e.componentOffset>-1?E(e.index,t):t);let D=mm(t,n,i,d),N=l.__ngNextListenerFn__;for(;N;)D=mm(t,n,N,d)&&D,N=N.__ngNextListenerFn__;return s&&!1===D&&d.preventDefault(),D}}function vm(e=1){return function Yc(e){return(st.lFrame.contextLView=function Kc(e,t){for(;e>0;)t=t[ur],e--;return t}(e,st.lFrame.contextLView))[An]}(e)}function tD(e,t){let n=null;const i=function gr(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 s=0;s<t.length;s++){const l=t[s];if("*"!==l){if(null===i?wi(e,l,!0):qi(i,l))return s}else n=s}return n}function ym(e){const t=nt()[oi][Ti];if(!t.projection){const i=t.projection=Ms(e?e.length:1,null),s=i.slice();let l=t.child;for(;null!==l;){const d=e?tD(l,e):0;null!==d&&(s[d]?s[d].projectionNext=l:i[d]=l,s[d]=l),l=l.next}}}function bm(e,t=0,n){const i=nt(),s=dn(),l=El(s,yn+e,16,null,n||null);null===l.projection&&(l.projection=t),sa(),(!i[zi]||kn())&&32!=(32&l.flags)&&function kp(e,t,n){lf(t[Zt],0,t,n,Nu(e,n,t),ef(n.parent||t[Ti],n,t))}(s,i,l)}function uh(e,t,n){return ad(e,"",t,"",n),uh}function ad(e,t,n,i,s){const l=nt(),d=Cl(l,t,n,i);return d!==Sn&&Ao(dn(),wn(),l,e,d,l[Zt],s,!1),ad}function ld(e,t){return e<<17|t<<2}function ia(e){return e>>17&32767}function dh(e){return 2|e}function Ia(e){return(131068&e)>>2}function fh(e,t){return-131069&e|t<<2}function hh(e){return 1|e}function Im(e,t,n,i,s){const l=e[n+1],d=null===t;let _=i?ia(l):Ia(l),D=!1;for(;0!==_&&(!1===D||d);){const k=e[_+1];aD(e[_],t)&&(D=!0,e[_+1]=i?hh(k):dh(k)),_=i?ia(k):Ia(k)}D&&(e[n+1]=i?dh(l):hh(l))}function aD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ko(e,t)>=0}const Or={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Am(e){return e.substring(Or.key,Or.keyEnd)}function Om(e,t){const n=Or.textEnd;return n===t?-1:(t=Or.keyEnd=function dD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Or.key=t,n),Rl(e,t,n))}function Rl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ph(e,t,n){return Zo(e,t,n,!1),ph}function gh(e,t){return Zo(e,t,null,!0),gh}function km(e){!function Qo(e,t,n,i){const s=dn(),l=Br(2);s.firstUpdatePass&&Bm(s,null,l,i);const d=nt();if(n!==Sn&&ao(d,l,n)){const _=s.data[br()];if($m(_,i)&&!Lm(s,l)){let D=i?_.classesWithoutHost:_.stylesWithoutHost;null!==D&&(n=Fe(D,n||"")),ih(s,_,d,n,i)}else!function DD(e,t,n,i,s,l,d,_){s===Sn&&(s=ke);let D=0,N=0,k=0<s.length?s[0]:null,z=0<l.length?l[0]:null;for(;null!==k||null!==z;){const ce=D<s.length?s[D+1]:void 0,_e=N<l.length?l[N+1]:void 0;let at,Je=null;k===z?(D+=2,N+=2,ce!==_e&&(Je=z,at=_e)):null===z||null!==k&&k<z?(D+=2,Je=k):(N+=2,Je=z,at=_e),null!==Je&&Hm(e,t,n,i,Je,at,d,_),k=D<s.length?s[D]:null,z=N<l.length?l[N]:null}}(s,_,d,d[Zt],d[l+1],d[l+1]=function yD(e,t,n){if(null==n||""===n)return ke;const i=[],s=On(n);if(Array.isArray(s))for(let l=0;l<s.length;l++)e(i,s[l],!0);else if("object"==typeof s)for(const l in s)s.hasOwnProperty(l)&&e(i,l,s[l]);else"string"==typeof s&&t(i,s);return i}(e,t,n),i,l)}}(bD,ms,e,!0)}function ms(e,t){for(let n=function cD(e){return function Pm(e){Or.key=0,Or.keyEnd=0,Or.value=0,Or.valueEnd=0,Or.textEnd=e.length}(e),Om(e,Rl(e,0,Or.textEnd))}(t);n>=0;n=Om(t,n))Zr(e,Am(t),!0)}function Zo(e,t,n,i){const s=nt(),l=dn(),d=Br(2);l.firstUpdatePass&&Bm(l,e,d,i),t!==Sn&&ao(s,d,t)&&Hm(l,l.data[br()],s,s[Zt],e,s[d+1]=function ED(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ue(On(e)))),e}(t,n),i,d)}function Lm(e,t){return t>=e.expandoStartIndex}function Bm(e,t,n,i){const s=e.data;if(null===s[n+1]){const l=s[br()],d=Lm(e,n);$m(l,i)&&null===t&&!d&&(t=!1),t=function gD(e,t,n,i){const s=function La(e){const t=st.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let l=i?t.residualClasses:t.residualStyles;if(null===s)0===(i?t.classBindings:t.styleBindings)&&(n=Fc(n=mh(null,e,t,n,i),t.attrs,i),l=null);else{const d=t.directiveStylingLast;if(-1===d||e[d]!==s)if(n=mh(s,e,t,n,i),null===l){let D=function mD(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Ia(i))return e[ia(i)]}(e,t,i);void 0!==D&&Array.isArray(D)&&(D=mh(null,e,t,D[1],i),D=Fc(D,t.attrs,i),function _D(e,t,n,i){e[ia(n?t.classBindings:t.styleBindings)]=i}(e,t,i,D))}else l=function vD(e,t,n){let i;const s=t.directiveEnd;for(let l=1+t.directiveStylingLast;l<s;l++)i=Fc(i,e[l].hostAttrs,n);return Fc(i,t.attrs,n)}(e,t,i)}return void 0!==l&&(i?t.residualClasses=l:t.residualStyles=l),n}(s,l,t,i),function oD(e,t,n,i,s,l){let d=l?t.classBindings:t.styleBindings,_=ia(d),D=Ia(d);e[i]=n;let k,N=!1;if(Array.isArray(n)?(k=n[1],(null===k||ko(n,k)>0)&&(N=!0)):k=n,s)if(0!==D){const ce=ia(e[_+1]);e[i+1]=ld(ce,_),0!==ce&&(e[ce+1]=fh(e[ce+1],i)),e[_+1]=function iD(e,t){return 131071&e|t<<17}(e[_+1],i)}else e[i+1]=ld(_,0),0!==_&&(e[_+1]=fh(e[_+1],i)),_=i;else e[i+1]=ld(D,0),0===_?_=i:e[D+1]=fh(e[D+1],i),D=i;N&&(e[i+1]=dh(e[i+1])),Im(e,k,i,!0),Im(e,k,i,!1),function sD(e,t,n,i,s){const l=s?e.residualClasses:e.residualStyles;null!=l&&"string"==typeof t&&ko(l,t)>=0&&(n[i+1]=hh(n[i+1]))}(t,k,e,i,l),d=ld(_,D),l?t.classBindings=d:t.styleBindings=d}(s,l,t,n,d,i)}}function mh(e,t,n,i,s){let l=null;const d=n.directiveEnd;let _=n.directiveStylingLast;for(-1===_?_=n.directiveStart:_++;_<d&&(l=t[_],i=Fc(i,l.hostAttrs,s),l!==e);)_++;return null!==e&&(n.directiveStylingLast=_),i}function Fc(e,t,n){const i=n?1:2;let s=-1;if(null!==t)for(let l=0;l<t.length;l++){const d=t[l];"number"==typeof d?s=d:s===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Zr(e,d,!!n||t[++l]))}return void 0===e?null:e}function bD(e,t,n){const i=String(t);""!==i&&!i.includes(" ")&&Zr(e,i,n)}function Hm(e,t,n,i,s,l,d,_){if(!(3&t.type))return;const D=e.data,N=D[_+1],k=function rD(e){return 1==(1&e)}(N)?jm(D,t,n,s,Ia(N),d):void 0;cd(k)||(cd(l)||function nD(e){return 2==(2&e)}(N)&&(l=jm(D,null,n,s,_,d)),function Bp(e,t,n,i,s){if(t)s?e.addClass(n,i):e.removeClass(n,i);else{let l=-1===i.indexOf("-")?void 0:so.DashCase;null==s?e.removeStyle(n,i,l):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),l|=so.Important),e.setStyle(n,i,s,l))}}(i,d,Ni(br(),n),s,l))}function jm(e,t,n,i,s,l){const d=null===t;let _;for(;s>0;){const D=e[s],N=Array.isArray(D),k=N?D[1]:D,z=null===k;let ce=n[s+1];ce===Sn&&(ce=z?ke:void 0);let _e=z?ou(ce,i):k===i?ce:void 0;if(N&&!cd(_e)&&(_e=ou(D,i)),cd(_e)&&(_=_e,d))return _;const Je=e[s+1];s=d?ia(Je):Ia(Je)}if(null!==t){let D=l?t.residualClasses:t.residualStyles;null!=D&&(_=ou(D,i))}return _}function cd(e){return void 0!==e}function $m(e,t){return 0!=(e.flags&(t?8:16))}function Um(e,t=""){const n=nt(),i=dn(),s=e+yn,l=i.firstCreatePass?El(i,s,1,t,null):i.data[s],d=Gm(i,n,l,t,e);n[s]=d,ca()&&gc(i,n,d,l),_o(l,!1)}let Gm=(e,t,n,i,s)=>(Yo(!0),uc(t[Zt],i));function _h(e){return ud("",e,""),_h}function ud(e,t,n){const i=nt(),s=Cl(i,e,t,n);return s!==Sn&&function Vs(e,t,n){const i=Ni(t,e);!function dc(e,t,n){e.setValue(t,n)}(e[Zt],i,n)}(i,br(),s),ud}function vh(e,t,n){const i=nt();return ao(i,Es(),t)&&Ao(dn(),wn(),i,e,t,i[Zt],n,!0),vh}const Aa=void 0;var GD=["en",[["a","p"],["AM","PM"],Aa],[["AM","PM"],Aa,Aa],[["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"]],Aa,[["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"]],Aa,[["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}",Aa,"{1} 'at' {0}",Aa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function UD(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Pl={};function yh(e){const t=function zD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=u_(t);if(n)return n;const i=t.split("-")[0];if(n=u_(i),n)return n;if("en"===i)return GD;throw new X(701,!1)}function c_(e){return yh(e)[rn.PluralCase]}function u_(e){return e in Pl||(Pl[e]=pn.ng&&pn.ng.common&&pn.ng.common.locales&&pn.ng.common.locales[e]),Pl[e]}var rn=(()=>((rn=rn||{})[rn.LocaleId=0]="LocaleId",rn[rn.DayPeriodsFormat=1]="DayPeriodsFormat",rn[rn.DayPeriodsStandalone=2]="DayPeriodsStandalone",rn[rn.DaysFormat=3]="DaysFormat",rn[rn.DaysStandalone=4]="DaysStandalone",rn[rn.MonthsFormat=5]="MonthsFormat",rn[rn.MonthsStandalone=6]="MonthsStandalone",rn[rn.Eras=7]="Eras",rn[rn.FirstDayOfWeek=8]="FirstDayOfWeek",rn[rn.WeekendRange=9]="WeekendRange",rn[rn.DateFormat=10]="DateFormat",rn[rn.TimeFormat=11]="TimeFormat",rn[rn.DateTimeFormat=12]="DateTimeFormat",rn[rn.NumberSymbols=13]="NumberSymbols",rn[rn.NumberFormats=14]="NumberFormats",rn[rn.CurrencyCode=15]="CurrencyCode",rn[rn.CurrencySymbol=16]="CurrencySymbol",rn[rn.CurrencyName=17]="CurrencyName",rn[rn.Currencies=18]="Currencies",rn[rn.Directionality=19]="Directionality",rn[rn.PluralCase=20]="PluralCase",rn[rn.ExtraData=21]="ExtraData",rn))();const xl="en-US",dd={marker:"element"},fd={marker:"ICU"};var sr=(()=>((sr=sr||{})[sr.SHIFT=2]="SHIFT",sr[sr.APPEND_EAGERLY=1]="APPEND_EAGERLY",sr[sr.COMMENT=2]="COMMENT",sr))();let d_=xl;function f_(e){(function Qe(e,t){null==e&&St(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(d_=e.toLowerCase().replace(/_/g,"-"))}function h_(e,t,n){const i=t.insertBeforeIndex,s=Array.isArray(i)?i[0]:i;return null===s?tf(e,0,n):un(n[s])}function p_(e,t,n,i,s){const l=t.insertBeforeIndex;if(Array.isArray(l)){let d=i,_=null;if(3&t.type||(_=d,d=s),null!==d&&-1===t.componentOffset)for(let D=1;D<l.length;D++)ds(e,d,n[l[D]],_,!1)}}function g_(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const i=e[n];m_(i)||JD(i,t)&&null===ZD(i)&&QD(i,t.index)}}function m_(e){return!(64&e.type)}function JD(e,t){return m_(t)||e.index>t.index}function ZD(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function QD(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(rf(h_,p_),e.insertBeforeIndex=t)}function t1(e,t,n){const i=Ff(e,n,64,null,null);return g_(t,i),i}function l1(){const e=[];let n,i,t=-1;function l(_,D){t=0;const N=function hd(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}(_,D);i=null!==N?_.remove[N]:ke}function d(){if(t<i.length){const _=i[t++];return _>0?n[_]:(e.push(t,i),l(n[gt].data[~_],n),d())}return 0===e.length?null:(i=e.pop(),t=e.pop(),d())}return function s(_,D){for(n=D;e.length;)e.pop();return l(_.value,D),d}}const pd=/\ufffd(\d+):?\d*\ufffd/gi,u1=/\ufffd(\d+)\ufffd/,T_=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Vc="\ufffd",d1=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,f1=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,h1=/\uE500/g;function S_(e,t,n,i,s,l,d){const _=Mc(e,i,1,null);let D=_<<sr.SHIFT,N=ls();t===N&&(N=null),null===N&&(D|=sr.APPEND_EAGERLY),d&&(D|=sr.COMMENT,function Sp(e){void 0===bu&&(bu=e())}(l1)),s.push(D,null===l?"":l);const k=Ff(e,_,d?32:1,null===l?"":l,null);g_(n,k);const z=k.index;return _o(k,!1),null!==N&&t!==N&&function e1(e,t){let n=e.insertBeforeIndex;null===n?(rf(h_,p_),n=e.insertBeforeIndex=[null,t]):(function Ce(e,t,n){e!=t&&St(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(N,z),k}function m1(e,t,n,i,s,l,d){const _=d.match(pd),D=S_(e,t,n,l,i,_?null:d,!1);_&&Hc(s,d,D.index,null,0,null)}function Hc(e,t,n,i,s,l){const d=e.length,_=d+1;e.push(null,null);const D=d+2,N=t.split(pd);let k=0;for(let z=0;z<N.length;z++){const ce=N[z];if(1&z){const _e=s+parseInt(ce,10);e.push(-1-_e),k|=M_(_e)}else""!==ce&&e.push(ce)}return e.push(n<<2|(i?1:0)),i&&e.push(i,l),e[d]=k,e[_]=e.length-D,k}function M_(e){return 1<<Math.min(e,31)}function N_(e){let t,l,n="",i=0,s=!1;for(;null!==(t=d1.exec(e));)s?t[0]===`${Vc}/*${l}${Vc}`&&(i=t.index,s=!1):(n+=e.substring(i,t.index+t[0].length),l=t[1],s=!0);return n+=e.slice(i),n}function I_(e,t,n,i,s,l){let d=0;const _={type:s.type,currentCaseLViewIndex:Mc(e,t,1,null),anchorIdx:l,cases:[],create:[],remove:[],update:[]};(function C1(e,t,n){e.push(M_(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(n,s,l),function XD(e,t,n){const i=e.data[t];null===i?e.data[t]=n:i.value=n}(e,l,_);const D=s.values;for(let N=0;N<D.length;N++){const k=D[N],z=[];for(let ce=0;ce<k.length;ce++){const _e=k[ce];if("string"!=typeof _e){const Je=z.push(_e)-1;k[ce]=`\x3c!--\ufffd${Je}\ufffd--\x3e`}}d=E1(e,_,t,n,i,s.cases[N],k.join(""),z)|d}d&&function T1(e,t,n){e.push(t,1,n<<2|3)}(n,d,l)}function D1(e){const t=[],n=[];let i=1,s=0;const l=bh(e=e.replace(T_,function(d,_,D){return i="select"===D?0:1,s=parseInt(_.slice(1),10),""}));for(let d=0;d<l.length;){let _=l[d++].trim();1===i&&(_=_.replace(/\s*(?:=)?(\w+)\s*/,"$1")),_.length&&t.push(_);const D=bh(l[d++]);t.length>n.length&&n.push(D)}return{type:i,mainBinding:s,cases:t,values:n}}function bh(e){if(!e)return[];let t=0;const n=[],i=[],s=/[{}]/g;let l;for(s.lastIndex=0;l=s.exec(e);){const _=l.index;if("}"==l[0]){if(n.pop(),0==n.length){const D=e.substring(t,_);T_.test(D)?i.push(D1(D)):i.push(D),t=_+1}}else{if(0==n.length){const D=e.substring(t,_);i.push(D),t=_+1}n.push("{")}}const d=e.substring(t);return i.push(d),i}function E1(e,t,n,i,s,l,d,_){const D=[],N=[],k=[];t.cases.push(l),t.create.push(D),t.remove.push(N),t.update.push(k);const ce=function Vr(e){const t=new Fs(e);return function ho(){try{return!!(new window.DOMParser).parseFromString(r(""),"text/html")}catch{return!1}}()?new xs(t):t}(Te()).getInertBodyElement(d),_e=function vc(e){return"content"in e&&function Ls(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}(ce)||ce;return _e?A_(e,t,n,i,D,N,k,_e,s,_,0):0}function A_(e,t,n,i,s,l,d,_,D,N,k){let z=0,ce=_.firstChild;for(;ce;){const _e=Mc(e,n,1,null);switch(ce.nodeType){case Node.ELEMENT_NODE:const Je=ce,at=Je.tagName.toLowerCase();if(ta.hasOwnProperty(at)){Dh(s,dd,at,D,_e),e.data[_e]=at;const on=Je.attributes;for(let Vn=0;Vn<on.length;Vn++){const yi=on.item(Vn),es=yi.name.toLowerCase();yi.value.match(pd)?ml.hasOwnProperty(es)&&Hc(d,yi.value,_e,yi.name,0,Jo[es]?Xs:null):S1(s,_e,yi)}z=A_(e,t,n,i,s,l,d,ce,_e,N,k+1)|z,O_(l,_e,k)}break;case Node.TEXT_NODE:const bt=ce.textContent||"",Wt=bt.match(pd);Dh(s,null,Wt?"":bt,D,_e),O_(l,_e,k),Wt&&(z=Hc(d,bt,_e,null,0,null)|z);break;case Node.COMMENT_NODE:const it=u1.exec(ce.textContent||"");if(it){const Vn=N[parseInt(it[1],10)];Dh(s,fd,"",D,_e),I_(e,n,i,D,Vn,_e),w1(l,_e,k)}}ce=ce.nextSibling}return z}function O_(e,t,n){0===n&&e.push(t)}function w1(e,t,n){0===n&&(e.push(~t),e.push(t))}function Dh(e,t,n,i,s){null!==t&&e.push(t),e.push(n,s,function n1(e,t,n){return e|t<<17|n<<1}(0,i,s))}function S1(e,t,n){e.push(t<<1|1,n.name,n.value)}function Eh(e,t,n=-1){const i=dn(),s=nt(),l=yn+e,d=Ae(i.consts,t),_=ls();i.firstCreatePass&&function g1(e,t,n,i,s,l){const d=ls(),_=[],D=[],N=[[]];s=function b1(e,t){if(function y1(e){return-1===e}(t))return N_(e);{const n=e.indexOf(`:${t}${Vc}`)+2+t.toString().length,i=e.search(new RegExp(`${Vc}\\/\\*\\d+:${t}${Vc}`));return N_(e.substring(n,i))}}(s,l);const k=function p1(e){return e.replace(h1," ")}(s).split(f1);for(let z=0;z<k.length;z++){let ce=k[z];if(1&z){const _e=47===ce.charCodeAt(0),at=(ce.charCodeAt(_e?1:0),yn+Number.parseInt(ce.substring(_e?2:1)));if(_e)N.shift(),_o(ls(),!1);else{const bt=t1(e,N[0],at);N.unshift([]),_o(bt,!0)}}else{const _e=bh(ce);for(let Je=0;Je<_e.length;Je++){let at=_e[Je];if(1&Je){const bt=at;if("object"!=typeof bt)throw new Error(`Unable to parse ICU expression in "${s}" message.`);I_(e,n,D,t,bt,S_(e,d,N[0],n,_,"",!0).index)}else""!==at&&m1(e,d,N[0],_,D,n,at)}}}e.data[i]={create:_,update:D}}(i,null===_?0:_.index,s,l,d,n),2===i.type?s[oi][an]|=32:s[an]|=32;const D=i.data[l],k=Zd(i,_===s[Ti]?null:_,s);(function o1(e,t,n,i){const s=e[Zt];for(let l=0;l<t.length;l++){const d=t[l++],_=t[l],N=(d&sr.APPEND_EAGERLY)===sr.APPEND_EAGERLY,k=d>>>sr.SHIFT;let z=e[k];null===z&&(z=e[k]=(d&sr.COMMENT)===sr.COMMENT?s.createComment(_):uc(s,_)),N&&null!==n&&ds(s,n,z,i,!1)}})(s,D.create,k,_&&8&_.type?s[_.index]:null),xa(!0)}function wh(){xa(!1)}function P_(e,t,n){Eh(e,t,n),wh()}function Ch(e,t,n,i,s){if(e=Ye(e),Array.isArray(e))for(let l=0;l<e.length;l++)Ch(e[l],t,n,i,s);else{const l=dn(),d=nt();let _=Sa(e)?e:Ye(e.provide),D=Kp(e);const N=rr(),k=1048575&N.providerIndexes,z=N.directiveStart,ce=N.providerIndexes>>20;if(Sa(e)||!e.multi){const _e=new fe(D,s,Dl),Je=Sh(_,t,s?k:k+ce,z);-1===Je?(Za(Ka(N,d),l,_),Th(l,e,t.length),t.push(_),N.directiveStart++,N.directiveEnd++,s&&(N.providerIndexes+=1048576),n.push(_e),d.push(_e)):(n[Je]=_e,d[Je]=_e)}else{const _e=Sh(_,t,k+ce,z),Je=Sh(_,t,k,k+ce),bt=Je>=0&&n[Je];if(s&&!bt||!s&&!(_e>=0&&n[_e])){Za(Ka(N,d),l,_);const Wt=function j1(e,t,n,i,s){const l=new fe(e,n,Dl);return l.multi=[],l.index=t,l.componentProviders=0,F_(l,s,i&&!n),l}(s?H1:V1,n.length,s,i,D);!s&&bt&&(n[Je].providerFactory=Wt),Th(l,e,t.length,0),t.push(_),N.directiveStart++,N.directiveEnd++,s&&(N.providerIndexes+=1048576),n.push(Wt),d.push(Wt)}else Th(l,e,_e>-1?_e:Je,F_(n[s?Je:_e],D,!s&&i));!s&&i&&bt&&n[Je].componentProviders++}}}function Th(e,t,n,i){const s=Sa(t),l=function Vy(e){return!!e.useClass}(t);if(s||l){const D=(l?Ye(t.useClass):t).prototype.ngOnDestroy;if(D){const N=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const k=N.indexOf(n);-1===k?N.push(n,[i,D]):N[k+1].push(i,D)}else N.push(n,D)}}}function F_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Sh(e,t,n,i){for(let s=n;s<i;s++)if(t[s]===e)return s;return-1}function V1(e,t,n,i){return Mh(this.multi,[])}function H1(e,t,n,i){const s=this.multi;let l;if(this.providerFactory){const d=this.providerFactory.componentProviders,_=Ts(n,n[gt],this.providerFactory.index,i);l=_.slice(0,d),Mh(s,l);for(let D=d;D<_.length;D++)l.push(_[D])}else l=[],Mh(s,l);return l}function Mh(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function k_(e,t=[]){return n=>{n.providersResolver=(i,s)=>function B1(e,t,n){const i=dn();if(i.firstCreatePass){const s=Si(e);Ch(n,i.data,i.blueprint,s,!0),Ch(t,i.data,i.blueprint,s,!1)}}(i,s?s(e):e,t)}}class Fl{}class L_{}function $1(e,t){return new Nh(e,t??null,[])}class Nh extends Fl{constructor(t,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new jg(this);const s=ve(t);this._bootstrapComponents=Bs(s.bootstrap),this._r3Injector=Cg(t,n,[{provide:Fl,useValue:this},{provide:Wu,useValue:this.componentFactoryResolver},...i],ue(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 Ih extends L_{constructor(t){super(),this.moduleType=t}create(t){return new Nh(this.moduleType,t,[])}}class B_ extends Fl{constructor(t){super(),this.componentFactoryResolver=new jg(this),this.instance=null;const n=new yf([...t.providers,{provide:Fl,useValue:this},{provide:Wu,useValue:this.componentFactoryResolver}],t.parent||ju(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function V_(e,t,n=null){return new B_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let G1=(()=>{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=Gp(0,n.type),s=i.length>0?V_([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,s)}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=tt({token:e,providedIn:"environment",factory:()=>new e(vn(Ma))}),e})();function H_(e){e.getStandaloneInjector=t=>t.get(G1).getOrCreateStandaloneInjector(e)}function Y_(e,t,n){const i=pr()+e,s=nt();return s[i]===Sn?ps(s,i,n?t.call(n):t()):function Oc(e,t){return e[t]}(s,i)}function K_(e,t,n,i){return function Z_(e,t,n,i,s,l){const d=t+n;return ao(e,d,s)?ps(e,d+1,l?i.call(l,s):i(s)):jc(e,d+1)}(nt(),pr(),e,t,n,i)}function q_(e,t,n,i,s){return function Q_(e,t,n,i,s,l,d){const _=t+n;return Na(e,_,s,l)?ps(e,_+2,d?i.call(d,s,l):i(s,l)):jc(e,_+2)}(nt(),pr(),e,t,n,i,s)}function J_(e,t,n,i,s,l){return function X_(e,t,n,i,s,l,d,_){const D=t+n;return function td(e,t,n,i,s){const l=Na(e,t,n,i);return ao(e,t+2,s)||l}(e,D,s,l,d)?ps(e,D+3,_?i.call(_,s,l,d):i(s,l,d)):jc(e,D+3)}(nt(),pr(),e,t,n,i,s,l)}function jc(e,t){const n=e[t];return n===Sn?void 0:n}function Oh(e){return t=>{setTimeout(e,void 0,t)}}const _s=class fE extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let s=t,l=n||(()=>null),d=i;if(t&&"object"==typeof t){const D=t;s=D.next?.bind(D),l=D.error?.bind(D),d=D.complete?.bind(D)}this.__isAsync&&(l=Oh(l),s&&(s=Oh(s)),d&&(d=Oh(d)));const _=super.subscribe({next:s,error:l,complete:d});return t instanceof j.w0&&t.add(_),_}};function hE(){return this._results[Symbol.iterator]()}class Rh{get changes(){return this._changes||(this._changes=new _s)}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=Rh.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=hE)}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 s=function fo(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function cp(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let s=e[i],l=t[i];if(n&&(s=n(s),l=n(l)),l!==s)return!1}return!0}(i._results,s,n))&&(i._results=s,i.length=s.length,i.last=s[this.length-1],i.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Uc=(()=>{class e{}return e.__NG_ELEMENT_ID__=mE,e})();const pE=Uc,gE=class extends pE{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,i){const s=this._declarationTContainer.tView,l=qu(this._declarationLView,s,t,16,null,s.declTNode,null,null,null,n||null,i||null);l[xr]=this._declarationLView[this._declarationTContainer.index];const _=this._declarationLView[nr];return null!==_&&(l[nr]=_.createEmbeddedView(s)),zf(s,l,t),new Ic(l)}};function mE(){return gd(rr(),nt())}function gd(e,t){return 4&e.type?new gE(t,e,vl(e,t)):null}let md=(()=>{class e{}return e.__NG_ELEMENT_ID__=wE,e})();function wE(){return av(rr(),nt())}const CE=md,ov=class extends CE{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return vl(this._hostTNode,this._hostLView)}get injector(){return new Ss(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ja(this._hostTNode,this._hostLView);if(zt(t)){const n=Ga(t,this._hostLView),i=Ko(t);return new Ss(n[gt].data[i+8],n)}return new Ss(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=sv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-qn}createEmbeddedView(t,n,i){let s,l;"number"==typeof i?s=i:null!=i&&(s=i.index,l=i.injector);const _=t.createEmbeddedViewImpl(n||{},l,null);return this.insertImpl(_,s,false),_}createComponent(t,n,i,s,l){const d=t&&!function el(e){return"function"==typeof e}(t);let _;if(d)_=n;else{const at=n||{};_=at.index,i=at.injector,s=at.projectableNodes,l=at.environmentInjector||at.ngModuleRef}const D=d?t:new Ac(sn(t)),N=i||this.parentInjector;if(!l&&null==D.ngModule){const bt=(d?N:this.parentInjector).get(Ma,null);bt&&(l=bt)}sn(D.componentType??{});const _e=D.create(N,s,null,l);return this.insertImpl(_e.hostView,_,false),_e}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,i){const s=t._lView,l=s[gt];if(function be(e){return Qi(e[ei])}(s)){const D=this.indexOf(t);if(-1!==D)this.detach(D);else{const N=s[ei],k=new ov(N,N[Ti],N[ei]);k.detach(k.indexOf(t))}}const d=this._adjustIndex(n),_=this._lContainer;if(function Op(e,t,n,i){const s=qn+i,l=n.length;i>0&&(n[s-1][Li]=t),i<l-qn?(t[Li]=n[s],vo(n,qn+i,t)):(n.push(t),t[Li]=null),t[ei]=n;const d=t[xr];null!==d&&n!==d&&function qd(e,t){const n=e[Nr];t[oi]!==t[ei][ei][oi]&&(e[Vo]=!0),null===n?e[Nr]=[t]:n.push(t)}(d,t);const _=t[nr];null!==_&&_.insertView(e),t[an]|=128}(l,s,_,d),!i){const D=fl(d,_),N=s[Zt],k=Da(N,_[Bi]);null!==k&&function Ip(e,t,n,i,s,l){i[gn]=s,i[Ti]=t,hl(e,i,n,1,s,l)}(l,_[Ti],N,s,k,D)}return t.attachToViewContainerRef(),vo(xh(_),d,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=sv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Su(this._lContainer,n);i&&(bi(xh(this._lContainer),n),hc(i[gt],i))}detach(t){const n=this._adjustIndex(t,-1),i=Su(this._lContainer,n);return i&&null!=bi(xh(this._lContainer),n)?new Ic(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function sv(e){return e[Wr]}function xh(e){return e[Wr]||(e[Wr]=[])}function av(e,t){let n;const i=t[e.index];return Qi(i)?n=i:(n=xg(i,t,null,e),t[e.index]=n,Ju(t,n)),lv(n,t,e,i),new ov(n,e,t)}let lv=function cv(e,t,n,i){if(e[Bi])return;let s;s=8&n.type?un(i):function TE(e,t){const n=e[Zt],i=n.createComment(""),s=Ii(t,e);return ds(n,Da(n,s),i,function Fp(e,t){return e.nextSibling(t)}(n,s),!1),i}(t,n),e[Bi]=s};class Fh{constructor(t){this.queryList=t,this.matches=null}clone(){return new Fh(this.queryList)}setDirty(){this.queryList.setDirty()}}class kh{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let l=0;l<i;l++){const d=n.getByIndex(l);s.push(this.queries[d.indexInDeclarationView].clone())}return new kh(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==vv(t,n).matches&&this.queries[n].setDirty()}}class uv{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Lh{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 s=null!==n?n.length:0,l=this.getByIndex(i).embeddedTView(t,s);l&&(l.indexInDeclarationView=i,null!==n?n.push(l):n=[l])}return null!==n?new Lh(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 Bh{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 Bh(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 s=0;s<i.length;s++){const l=i[s];this.matchTNodeWithReadOption(t,n,NE(n,l)),this.matchTNodeWithReadOption(t,n,Qa(n,t,l,!1,!1))}else i===Uc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Qa(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const s=this.metadata.read;if(null!==s)if(s===Tc||s===md||s===Uc&&4&n.type)this.addMatch(n.index,-2);else{const l=Qa(n,t,s,!1,!1);null!==l&&this.addMatch(n.index,l)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function NE(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 AE(e,t,n,i){return-1===n?function IE(e,t){return 11&e.type?vl(e,t):4&e.type?gd(e,t):null}(t,e):-2===n?function OE(e,t,n){return n===Tc?vl(t,e):n===Uc?gd(t,e):n===md?av(t,e):void 0}(e,t,i):Ts(e,e[gt],n,t)}function dv(e,t,n,i){const s=t[nr].queries[i];if(null===s.matches){const l=e.data,d=n.matches,_=[];for(let D=0;D<d.length;D+=2){const N=d[D];_.push(N<0?null:AE(t,l[N],d[D+1],n.metadata.read))}s.matches=_}return s.matches}function Vh(e,t,n,i){const s=e.queries.getByIndex(n),l=s.matches;if(null!==l){const d=dv(e,t,s,n);for(let _=0;_<l.length;_+=2){const D=l[_];if(D>0)i.push(d[_/2]);else{const N=l[_+1],k=t[-D];for(let z=qn;z<k.length;z++){const ce=k[z];ce[xr]===ce[ei]&&Vh(ce[gt],ce,N,i)}if(null!==k[Nr]){const z=k[Nr];for(let ce=0;ce<z.length;ce++){const _e=z[ce];Vh(_e[gt],_e,N,i)}}}}}return i}function fv(e){const t=nt(),n=dn(),i=Ba();zs(i+1);const s=vv(n,i);if(e.dirty&&function F(e){return 4==(4&e[an])}(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const l=s.crossesNgTemplate?Vh(n,t,i,[]):dv(n,t,s,i);e.reset(l,l0),e.notifyOnChanges()}return!0}return!1}function hv(e,t,n){const i=dn();i.firstCreatePass&&(_v(i,new uv(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),mv(i,nt(),t)}function pv(e,t,n,i){const s=dn();if(s.firstCreatePass){const l=rr();_v(s,new uv(t,n,i),l.index),function PE(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}mv(s,nt(),n)}function gv(){return function RE(e,t){return e[nr].queries[t].queryList}(nt(),Ba())}function mv(e,t,n){const i=new Rh(4==(4&n));(function O0(e,t,n,i){const s=kg(t);s.push(n),e.firstCreatePass&&Lg(e).push(i,s.length-1)})(e,t,i,i.destroy),null===t[nr]&&(t[nr]=new kh),t[nr].queries.push(new Fh(i))}function _v(e,t,n){null===e.queries&&(e.queries=new Lh),e.queries.track(new Bh(t,n))}function vv(e,t){return e.queries.getByIndex(t)}function yv(e,t){return gd(e,t)}function Hh(e){return!!ve(e)}const kv=new hi("Application Initializer");let zh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=nn(kv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const s of this.appInits){const l=s();if(lh(l))n.push(l);else if(hm(l)){const d=new Promise((_,D)=>{l.subscribe({complete:_,error:D})});n.push(d)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(s=>{this.reject(s)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Lv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const vd=new hi("LocaleId",{providedIn:"root",factory:()=>nn(vd,Ze.Optional|Ze.SkipSelf)||function ew(){return typeof $localize<"u"&&$localize.locale||xl}()}),tw=new hi("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Bv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new oe.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class nw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let iw=(()=>{class e{compileModuleSync(n){return new Ih(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),l=Bs(ve(n).declarations).reduce((d,_)=>{const D=sn(_);return D&&d.push(new Ac(D)),d},[]);return new nw(i,l)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const sw=(()=>Promise.resolve(0))();function Wh(e){typeof Zone>"u"?sw.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function jv(...e){}class go{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _s(!1),this.onMicrotaskEmpty=new _s(!1),this.onStable=new _s(!1),this.onError=new _s(!1),typeof Zone>"u")throw new X(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function aw(){let e=pn.requestAnimationFrame,t=pn.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 uw(e){const t=()=>{!function cw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Kh(e),e.isCheckStableRunning=!0,Yh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Kh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,l,d,_)=>{try{return $v(e),n.invokeTask(s,l,d,_)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||e.shouldCoalesceRunChangeDetection)&&t(),Uv(e)}},onInvoke:(n,i,s,l,d,_,D)=>{try{return $v(e),n.invoke(s,l,d,_,D)}finally{e.shouldCoalesceRunChangeDetection&&t(),Uv(e)}},onHasTask:(n,i,s,l)=>{n.hasTask(s,l),i===s&&("microTask"==l.change?(e._hasPendingMicrotasks=l.microTask,Kh(e),Yh(e)):"macroTask"==l.change&&(e.hasPendingMacrotasks=l.macroTask))},onHandleError:(n,i,s,l)=>(n.handleError(s,l),e.runOutsideAngular(()=>e.onError.emit(l)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!go.isInAngularZone())throw new X(909,!1)}static assertNotInAngularZone(){if(go.isInAngularZone())throw new X(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,s){const l=this._inner,d=l.scheduleEventTask("NgZoneEvent: "+s,t,lw,jv,jv);try{return l.runTask(d,n,i)}finally{l.cancelTask(d)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const lw={};function Yh(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 Kh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function $v(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Uv(e){e._nesting--,Yh(e)}class dw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _s,this.onMicrotaskEmpty=new _s,this.onStable=new _s,this.onError=new _s}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,s){return t.apply(n,i)}}const Gv=new hi("",{providedIn:"root",factory:zv});function zv(){const e=nn(go);let t=!0;const n=new De.y(s=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{s.next(t),s.complete()})}),i=new De.y(s=>{let l;e.runOutsideAngular(()=>{l=e.onStable.subscribe(()=>{go.assertNotInAngularZone(),Wh(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,s.next(!0))})})});const d=e.onUnstable.subscribe(()=>{go.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{s.next(!1)}))});return()=>{l.unsubscribe(),d.unsubscribe()}});return(0,ne.T)(n,i.pipe((0,we.B)()))}const Wv=new hi(""),Yv=new hi("");let qh,fw=(()=>{class e{constructor(n,i,s){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,qh||(function hw(e){qh=e}(s),s.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:()=>{go.assertNotInAngularZone(),Wh(()=>{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())Wh(()=>{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,s){let l=-1;i&&i>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==l),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:l,updateCb:s})}whenStable(n,i,s){if(s&&!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,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(vn(go),vn(Kv),vn(Yv))},e.\u0275prov=tt({token:e,factory:e.\u0275fac}),e})(),Kv=(()=>{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 qh?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),ra=null;const qv=new hi("AllowMultipleToken"),Jh=new hi("PlatformDestroyListeners"),Zh=new hi("appBootstrapListener");class mw{constructor(t,n){this.name=t,this.token=n}}function Qv(e,t,n=[]){const i=`Platform: ${t}`,s=new hi(i);return(l=[])=>{let d=Qh();if(!d||d.injector.get(qv,!1)){const _=[...n,...l,{provide:s,useValue:!0}];e?e(_):function _w(e){if(ra&&!ra.get(qv,!1))throw new X(400,!1);(function Jv(){!function ss(e){ys=e}(()=>{throw new X(600,!1)})})(),ra=e;const t=e.get(ey);(function Zv(e){e.get(Jp,null)?.forEach(n=>n())})(e)}(function Xv(e=[],t){return na.create({name:t,providers:[{provide:_f,useValue:"platform"},{provide:Jh,useValue:new Set([()=>ra=null])},...e]})}(_,i))}return function yw(e){const t=Qh();if(!t)throw new X(401,!1);return t}()}}function Qh(){return ra?.get(ey)??null}let ey=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const s=function bw(e="zone.js",t){return"noop"===e?new dw:"zone.js"===e?new go(t):e}(i?.ngZone,function ty(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return s.run(()=>{const l=function U1(e,t,n){return new Nh(e,t,n)}(n.moduleType,this.injector,function sy(e){return[{provide:go,useFactory:e},{provide:Dc,multi:!0,useFactory:()=>{const t=nn(Ew,{optional:!0});return()=>t.initialize()}},{provide:oy,useFactory:Dw},{provide:Gv,useFactory:zv}]}(()=>s)),d=l.injector.get(yl,null);return s.runOutsideAngular(()=>{const _=s.onError.subscribe({next:D=>{d.handleError(D)}});l.onDestroy(()=>{yd(this._modules,l),_.unsubscribe()})}),function ny(e,t,n){try{const i=n();return lh(i)?i.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(d,s,()=>{const _=l.injector.get(zh);return _.runInitializers(),_.donePromise.then(()=>(f_(l.injector.get(vd,xl)||xl),this._moduleDoBootstrap(l),l))})})}bootstrapModule(n,i=[]){const s=iy({},i);return function pw(e,t,n){const i=new Ih(n);return Promise.resolve(i)}(0,0,n).then(l=>this.bootstrapModuleFactory(l,s))}_moduleDoBootstrap(n){const i=n.injector.get(Bl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>i.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new X(-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 X(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Jh,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)(vn(na))},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function iy(e,t){return Array.isArray(t)?t.reduce(iy,e):{...e,...t}}let Bl=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=nn(oy),this.zoneIsStable=nn(Gv),this.componentTypes=[],this.components=[],this.isStable=nn(Bv).hasPendingTasks.pipe((0,$e.z)(n=>n?(0,ie.of)(!1):this.zoneIsStable),(0,Ie.x)(),(0,we.B)()),this._injector=nn(Ma)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const s=n instanceof ng;if(!this._injector.get(zh).done)throw!s&&Z(n),new X(405,!1);let d;d=s?n:this._injector.get(Wu).resolveComponentFactory(n),this.componentTypes.push(d.componentType);const _=function gw(e){return e.isBoundToModule}(d)?void 0:this._injector.get(Fl),N=d.create(na.NULL,[],i||d.selector,_),k=N.location.nativeElement,z=N.injector.get(Wv,null);return z?.registerApplication(k),N.onDestroy(()=>{this.detachView(N.hostView),yd(this.components,N),z?.unregisterApplication(k)}),this._loadComponent(N),N}tick(){if(this._runningTick)throw new X(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;yd(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Zh,[]);i.push(...this._bootstrapListeners),i.forEach(s=>s(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>yd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new X(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)},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function yd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const oy=new hi("",{providedIn:"root",factory:()=>nn(yl).handleError.bind(void 0)});function Dw(){const e=nn(go),t=nn(yl);return n=>e.runOutsideAngular(()=>t.handleError(n))}let Ew=(()=>{class e{constructor(){this.zone=nn(go),this.applicationRef=nn(Bl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();let Cw=(()=>{class e{}return e.__NG_ELEMENT_ID__=Tw,e})();function Tw(e){return function Sw(e,t,n){if(Kr(e)&&!n){const i=E(e.index,t);return new Ic(i,i)}return 47&e.type?new Ic(t[oi],t):null}(rr(),nt(),16==(16&e))}class uy{constructor(){}supports(t){return ed(t)}create(t){return new Rw(t)}}const Ow=(e,t)=>t;class Rw{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||Ow}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,s=0,l=null;for(;n||i;){const d=!i||n&&n.currentIndex<fy(i,s,l)?n:i,_=fy(d,s,l),D=d.currentIndex;if(d===i)s--,i=i._nextRemoved;else if(n=n._next,null==d.previousIndex)s++;else{l||(l=[]);const N=_-s,k=D-s;if(N!=k){for(let ce=0;ce<N;ce++){const _e=ce<l.length?l[ce]:l[ce]=0,Je=_e+ce;k<=Je&&Je<N&&(l[ce]=_e+1)}l[d.previousIndex]=k-N}}_!==D&&t(d,_,D)}}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=[]),!ed(t))throw new X(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,l,d,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let _=0;_<this.length;_++)l=t[_],d=this._trackByFn(_,l),null!==n&&Object.is(n.trackById,d)?(i&&(n=this._verifyReinsertion(n,l,d,_)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,d,_),i=!0),n=n._next}else s=0,function Sb(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,_=>{d=this._trackByFn(s,_),null!==n&&Object.is(n.trackById,d)?(i&&(n=this._verifyReinsertion(n,_,d,s)),Object.is(n.item,_)||this._addIdentityChange(n,_)):(n=this._mismatch(n,_,d,s),i=!0),n=n._next,s++}),this.length=s;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,s){let l;return null===t?l=this._itTail:(l=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,l,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,l,s)):t=this._addAfter(new Pw(n,i),l,s),t}_verifyReinsertion(t,n,i,s){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==l?t=this._reinsertAfter(l,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),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 s=t._prevRemoved,l=t._nextRemoved;return null===s?this._removalsHead=l:s._nextRemoved=l,null===l?this._removalsTail=s:l._prevRemoved=s,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 s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new dy),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 dy),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 Pw{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 xw{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 dy{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new xw,this.map.set(n,i)),i.add(t)}get(t,n){const s=this.map.get(t);return s?s.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 fy(e,t,n){const i=e.previousIndex;if(null===i)return i;let s=0;return n&&i<n.length&&(s=n[i]),i+t+s}class hy{constructor(){}supports(t){return t instanceof Map||qf(t)}create(){return new Fw}}class Fw{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||qf(t)))throw new X(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,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const l=this._getOrCreateRecordForKey(s,i);n=this._insertBeforeOrAppend(n,l)}}),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 s=this._records.get(t);this._maybeAddToChanges(s,n);const l=s._prev,d=s._next;return l&&(l._next=d),d&&(d._prev=l),s._next=null,s._prev=null,s}const i=new kw(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 kw{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 py(){return new ip([new uy])}let ip=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||py()),deps:[[e,new _a,new Os]]}}find(n){const i=this.factories.find(s=>s.supports(n));if(null!=i)return i;throw new X(901,!1)}}return e.\u0275prov=tt({token:e,providedIn:"root",factory:py}),e})();function gy(){return new rp([new hy])}let rp=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||gy()),deps:[[e,new _a,new Os]]}}find(n){const i=this.factories.find(s=>s.supports(n));if(i)return i;throw new X(901,!1)}}return e.\u0275prov=tt({token:e,providedIn:"root",factory:gy}),e})();const Vw=Qv(null,"core",[]);let Hw=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(vn(Bl))},e.\u0275mod=lr({type:e}),e.\u0275inj=fn({}),e})();function qw(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Zw(e,t){const n=sn(e),i=t.elementInjector||ju();return new Ac(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}function Qw(e){const t=sn(e);if(!t)return null;const n=new Ac(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone}}}},5030:(Nt,Se,R)=>{"use strict";R.d(Se,{Fj:()=>X,on:()=>Ro,u5:()=>_i,Cf:()=>pe,JU:()=>ze,JJ:()=>ut,JL:()=>Dt,F:()=>Cr,On:()=>Xt,Q7:()=>Si,_Y:()=>Xn});var o=R(2223),j=R(4755),oe=R(2076),De=R(9751),ne=R(4742),ie=R(8421),we=R(3269),$e=R(5403),Ie=R(3268),le=R(1810),ue=R(4004);let Fe=(()=>{class M{constructor(w,L){this._renderer=w,this._elementRef=L,this.onChange=Le=>{},this.onTouched=()=>{}}setProperty(w,L){this._renderer.setProperty(this._elementRef.nativeElement,w,L)}registerOnTouched(w){this.onTouched=w}registerOnChange(w){this.onChange=w}setDisabledState(w){this.setProperty("disabled",w)}}return M.\u0275fac=function(w){return new(w||M)(o.Y36(o.Qsj),o.Y36(o.SBq))},M.\u0275dir=o.lG2({type:M}),M})(),Re=(()=>{class M extends Fe{}return M.\u0275fac=function(){let T;return function(L){return(T||(T=o.n5z(M)))(L||M)}}(),M.\u0275dir=o.lG2({type:M,features:[o.qOj]}),M})();const ze=new o.OlP("NgValueAccessor"),xt={provide:ze,useExisting:(0,o.Gpc)(()=>X),multi:!0},Ht=new o.OlP("CompositionEventMode");let X=(()=>{class M extends Fe{constructor(w,L,Le){super(w,L),this._compositionMode=Le,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ft(){const M=(0,j.q)()?(0,j.q)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(w){this.setProperty("value",w??"")}_handleInput(w){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(w)}_compositionStart(){this._composing=!0}_compositionEnd(w){this._composing=!1,this._compositionMode&&this.onChange(w)}}return M.\u0275fac=function(w){return new(w||M)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Ht,8))},M.\u0275dir=o.lG2({type:M,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(w,L){1&w&&o.NdJ("input",function(Lt){return L._handleInput(Lt.target.value)})("blur",function(){return L.onTouched()})("compositionstart",function(){return L._compositionStart()})("compositionend",function(Lt){return L._compositionEnd(Lt.target.value)})},features:[o._Bn([xt]),o.qOj]}),M})();function re(M){return null==M||("string"==typeof M||Array.isArray(M))&&0===M.length}const pe=new o.OlP("NgValidators"),me=new o.OlP("NgAsyncValidators"),Me=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function jt(M){return re(M.value)?{required:!0}:null}function Nn(M){return re(M.value)||Me.test(M.value)?null:{email:!0}}function je(M){return null}function Xe(M){return null!=M}function Oe(M){return(0,o.QGY)(M)?(0,oe.D)(M):M}function Tt(M){let T={};return M.forEach(w=>{T=null!=w?{...T,...w}:T}),0===Object.keys(T).length?null:T}function vt(M,T){return T.map(w=>w(M))}function Qe(M){return M.map(T=>function Ft(M){return!M.validate}(T)?T:w=>T.validate(w))}function Pt(M){return null!=M?function St(M){if(!M)return null;const T=M.filter(Xe);return 0==T.length?null:function(w){return Tt(vt(w,T))}}(Qe(M)):null}function _t(M){return null!=M?function kt(M){if(!M)return null;const T=M.filter(Xe);return 0==T.length?null:function(w){return function de(...M){const T=(0,we.jO)(M),{args:w,keys:L}=(0,ne.D)(M),Le=new De.y(Lt=>{const{length:Pn}=w;if(!Pn)return void Lt.complete();const Vi=new Array(Pn);let Xi=Pn,xi=Pn;for(let Jr=0;Jr<Pn;Jr++){let vi=!1;(0,ie.Xf)(w[Jr]).subscribe((0,$e.x)(Lt,mo=>{vi||(vi=!0,xi--),Vi[Jr]=mo},()=>Xi--,void 0,()=>{(!Xi||!vi)&&(xi||Lt.next(L?(0,le.n)(L,Vi):Vi),Lt.complete())}))}});return T?Le.pipe((0,Ie.Z)(T)):Le}(vt(w,T).map(Oe)).pipe((0,ue.U)(Tt))}}(Qe(M)):null}function tt(M,T){return null===M?[T]:Array.isArray(M)?[...M,T]:[M,T]}function bn(M){return M?Array.isArray(M)?M:[M]:[]}function mn(M,T){return Array.isArray(M)?M.includes(T):M===T}function he(M,T){const w=bn(T);return bn(M).forEach(Le=>{mn(w,Le)||w.push(Le)}),w}function J(M,T){return bn(T).filter(w=>!mn(M,w))}class Ne{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(T){this._rawValidators=T||[],this._composedValidatorFn=Pt(this._rawValidators)}_setAsyncValidators(T){this._rawAsyncValidators=T||[],this._composedAsyncValidatorFn=_t(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(T){this._onDestroyCallbacks.push(T)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(T=>T()),this._onDestroyCallbacks=[]}reset(T=void 0){this.control&&this.control.reset(T)}hasError(T,w){return!!this.control&&this.control.hasError(T,w)}getError(T,w){return this.control?this.control.getError(T,w):null}}class Ve extends Ne{get formDirective(){return null}get path(){return null}}class ot extends Ne{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class pt{constructor(T){this._cd=T}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ut=(()=>{class M extends pt{constructor(w){super(w)}}return M.\u0275fac=function(w){return new(w||M)(o.Y36(ot,2))},M.\u0275dir=o.lG2({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(w,L){2&w&&o.ekj("ng-untouched",L.isUntouched)("ng-touched",L.isTouched)("ng-pristine",L.isPristine)("ng-dirty",L.isDirty)("ng-valid",L.isValid)("ng-invalid",L.isInvalid)("ng-pending",L.isPending)},features:[o.qOj]}),M})(),Dt=(()=>{class M extends pt{constructor(w){super(w)}}return M.\u0275fac=function(w){return new(w||M)(o.Y36(Ve,10))},M.\u0275dir=o.lG2({type:M,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(w,L){2&w&&o.ekj("ng-untouched",L.isUntouched)("ng-touched",L.isTouched)("ng-pristine",L.isPristine)("ng-dirty",L.isDirty)("ng-valid",L.isValid)("ng-invalid",L.isInvalid)("ng-pending",L.isPending)("ng-submitted",L.isSubmitted)},features:[o.qOj]}),M})();const jn="VALID",vn="INVALID",$n="PENDING",nn="DISABLED";function gi(M){return(ge(M)?M.validators:M)||null}function se(M,T){return(ge(T)?T.asyncValidators:M)||null}function ge(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}class K{constructor(T,w){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(T),this._assignAsyncValidators(w)}get validator(){return this._composedValidatorFn}set validator(T){this._rawValidators=this._composedValidatorFn=T}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(T){this._rawAsyncValidators=this._composedAsyncValidatorFn=T}get parent(){return this._parent}get valid(){return this.status===jn}get invalid(){return this.status===vn}get pending(){return this.status==$n}get disabled(){return this.status===nn}get enabled(){return this.status!==nn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(T){this._assignValidators(T)}setAsyncValidators(T){this._assignAsyncValidators(T)}addValidators(T){this.setValidators(he(T,this._rawValidators))}addAsyncValidators(T){this.setAsyncValidators(he(T,this._rawAsyncValidators))}removeValidators(T){this.setValidators(J(T,this._rawValidators))}removeAsyncValidators(T){this.setAsyncValidators(J(T,this._rawAsyncValidators))}hasValidator(T){return mn(this._rawValidators,T)}hasAsyncValidator(T){return mn(this._rawAsyncValidators,T)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(T={}){this.touched=!0,this._parent&&!T.onlySelf&&this._parent.markAsTouched(T)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(T=>T.markAllAsTouched())}markAsUntouched(T={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(w=>{w.markAsUntouched({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}markAsDirty(T={}){this.pristine=!1,this._parent&&!T.onlySelf&&this._parent.markAsDirty(T)}markAsPristine(T={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(w=>{w.markAsPristine({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}markAsPending(T={}){this.status=$n,!1!==T.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!T.onlySelf&&this._parent.markAsPending(T)}disable(T={}){const w=this._parentMarkedDirty(T.onlySelf);this.status=nn,this.errors=null,this._forEachChild(L=>{L.disable({...T,onlySelf:!0})}),this._updateValue(),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...T,skipPristineCheck:w}),this._onDisabledChange.forEach(L=>L(!0))}enable(T={}){const w=this._parentMarkedDirty(T.onlySelf);this.status=jn,this._forEachChild(L=>{L.enable({...T,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent}),this._updateAncestors({...T,skipPristineCheck:w}),this._onDisabledChange.forEach(L=>L(!1))}_updateAncestors(T){this._parent&&!T.onlySelf&&(this._parent.updateValueAndValidity(T),T.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(T){this._parent=T}getRawValue(){return this.value}updateValueAndValidity(T={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===jn||this.status===$n)&&this._runAsyncValidator(T.emitEvent)),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!T.onlySelf&&this._parent.updateValueAndValidity(T)}_updateTreeValidity(T={emitEvent:!0}){this._forEachChild(w=>w._updateTreeValidity(T)),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?nn:jn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(T){if(this.asyncValidator){this.status=$n,this._hasOwnPendingAsyncValidator=!0;const w=Oe(this.asyncValidator(this));this._asyncValidationSubscription=w.subscribe(L=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(L,{emitEvent:T})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(T,w={}){this.errors=T,this._updateControlsErrors(!1!==w.emitEvent)}get(T){let w=T;return null==w||(Array.isArray(w)||(w=w.split(".")),0===w.length)?null:w.reduce((L,Le)=>L&&L._find(Le),this)}getError(T,w){const L=w?this.get(w):this;return L&&L.errors?L.errors[T]:null}hasError(T,w){return!!this.getError(T,w)}get root(){let T=this;for(;T._parent;)T=T._parent;return T}_updateControlsErrors(T){this.status=this._calculateStatus(),T&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(T)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?nn:this.errors?vn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($n)?$n:this._anyControlsHaveStatus(vn)?vn:jn}_anyControlsHaveStatus(T){return this._anyControls(w=>w.status===T)}_anyControlsDirty(){return this._anyControls(T=>T.dirty)}_anyControlsTouched(){return this._anyControls(T=>T.touched)}_updatePristine(T={}){this.pristine=!this._anyControlsDirty(),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}_updateTouched(T={}){this.touched=this._anyControlsTouched(),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}_registerOnCollectionChange(T){this._onCollectionChange=T}_setUpdateStrategy(T){ge(T)&&null!=T.updateOn&&(this._updateOn=T.updateOn)}_parentMarkedDirty(T){return!T&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(T){return null}_assignValidators(T){this._rawValidators=Array.isArray(T)?T.slice():T,this._composedValidatorFn=function Pe(M){return Array.isArray(M)?Pt(M):M||null}(this._rawValidators)}_assignAsyncValidators(T){this._rawAsyncValidators=Array.isArray(T)?T.slice():T,this._composedAsyncValidatorFn=function W(M){return Array.isArray(M)?_t(M):M||null}(this._rawAsyncValidators)}}class Be extends K{constructor(T,w,L){super(gi(w),se(L,w)),this.controls=T,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(T,w){return this.controls[T]?this.controls[T]:(this.controls[T]=w,w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange),w)}addControl(T,w,L={}){this.registerControl(T,w),this.updateValueAndValidity({emitEvent:L.emitEvent}),this._onCollectionChange()}removeControl(T,w={}){this.controls[T]&&this.controls[T]._registerOnCollectionChange(()=>{}),delete this.controls[T],this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}setControl(T,w,L={}){this.controls[T]&&this.controls[T]._registerOnCollectionChange(()=>{}),delete this.controls[T],w&&this.registerControl(T,w),this.updateValueAndValidity({emitEvent:L.emitEvent}),this._onCollectionChange()}contains(T){return this.controls.hasOwnProperty(T)&&this.controls[T].enabled}setValue(T,w={}){(function U(M,T,w){M._forEachChild((L,Le)=>{if(void 0===w[Le])throw new o.vHH(1002,"")})})(this,0,T),Object.keys(T).forEach(L=>{(function q(M,T,w){const L=M.controls;if(!(T?Object.keys(L):L).length)throw new o.vHH(1e3,"");if(!L[w])throw new o.vHH(1001,"")})(this,!0,L),this.controls[L].setValue(T[L],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(T,w={}){null!=T&&(Object.keys(T).forEach(L=>{const Le=this.controls[L];Le&&Le.patchValue(T[L],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(T={},w={}){this._forEachChild((L,Le)=>{L.reset(T[Le],{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this._reduceChildren({},(T,w,L)=>(T[L]=w.getRawValue(),T))}_syncPendingControls(){let T=this._reduceChildren(!1,(w,L)=>!!L._syncPendingControls()||w);return T&&this.updateValueAndValidity({onlySelf:!0}),T}_forEachChild(T){Object.keys(this.controls).forEach(w=>{const L=this.controls[w];L&&T(L,w)})}_setUpControls(){this._forEachChild(T=>{T.setParent(this),T._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(T){for(const[w,L]of Object.entries(this.controls))if(this.contains(w)&&T(L))return!0;return!1}_reduceValue(){return this._reduceChildren({},(w,L,Le)=>((L.enabled||this.disabled)&&(w[Le]=L.value),w))}_reduceChildren(T,w){let L=T;return this._forEachChild((Le,Lt)=>{L=w(L,Le,Lt)}),L}_allControlsDisabled(){for(const T of Object.keys(this.controls))if(this.controls[T].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(T){return this.controls.hasOwnProperty(T)?this.controls[T]:null}}const $t=new o.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>ui}),ui="always";function Zn(M,T,w=ui){Tn(M,T),T.valueAccessor.writeValue(M.value),(M.disabled||"always"===w)&&T.valueAccessor.setDisabledState?.(M.disabled),function ni(M,T){T.valueAccessor.registerOnChange(w=>{M._pendingValue=w,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&ii(M,T)})}(M,T),function Ki(M,T){const w=(L,Le)=>{T.valueAccessor.writeValue(L),Le&&T.viewToModelUpdate(L)};M.registerOnChange(w),T._registerOnDestroy(()=>{M._unregisterOnChange(w)})}(M,T),function $i(M,T){T.valueAccessor.registerOnTouched(()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&ii(M,T),"submit"!==M.updateOn&&M.markAsTouched()})}(M,T),function ji(M,T){if(T.valueAccessor.setDisabledState){const w=L=>{T.valueAccessor.setDisabledState(L)};M.registerOnDisabledChange(w),T._registerOnDestroy(()=>{M._unregisterOnDisabledChange(w)})}}(M,T)}function ti(M,T){M.forEach(w=>{w.registerOnValidatorChange&&w.registerOnValidatorChange(T)})}function Tn(M,T){const w=function qt(M){return M._rawValidators}(M);null!==T.validator?M.setValidators(tt(w,T.validator)):"function"==typeof w&&M.setValidators([w]);const L=function fn(M){return M._rawAsyncValidators}(M);null!==T.asyncValidator?M.setAsyncValidators(tt(L,T.asyncValidator)):"function"==typeof L&&M.setAsyncValidators([L]);const Le=()=>M.updateValueAndValidity();ti(T._rawValidators,Le),ti(T._rawAsyncValidators,Le)}function ii(M,T){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),T.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}const jr={provide:Ve,useExisting:(0,o.Gpc)(()=>Cr)},Ji=(()=>Promise.resolve())();let Cr=(()=>{class M extends Ve{constructor(w,L,Le){super(),this.callSetDisabledState=Le,this.submitted=!1,this._directives=new Set,this.ngSubmit=new o.vpe,this.form=new Be({},Pt(w),_t(L))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(w){Ji.then(()=>{const L=this._findContainer(w.path);w.control=L.registerControl(w.name,w.control),Zn(w.control,w,this.callSetDisabledState),w.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(w)})}getControl(w){return this.form.get(w.path)}removeControl(w){Ji.then(()=>{const L=this._findContainer(w.path);L&&L.removeControl(w.name),this._directives.delete(w)})}addFormGroup(w){Ji.then(()=>{const L=this._findContainer(w.path),Le=new Be({});(function ri(M,T){Tn(M,T)})(Le,w),L.registerControl(w.name,Le),Le.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(w){Ji.then(()=>{const L=this._findContainer(w.path);L&&L.removeControl(w.name)})}getFormGroup(w){return this.form.get(w.path)}updateModel(w,L){Ji.then(()=>{this.form.get(w.path).setValue(L)})}setValue(w){this.control.setValue(w)}onSubmit(w){return this.submitted=!0,function qi(M,T){M._syncPendingControls(),T.forEach(w=>{const L=w.control;"submit"===L.updateOn&&L._pendingChange&&(w.viewToModelUpdate(L._pendingValue),L._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(w),"dialog"===w?.target?.method}onReset(){this.resetForm()}resetForm(w=void 0){this.form.reset(w),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(w){return w.pop(),w.length?this.form.get(w):this.form}}return M.\u0275fac=function(w){return new(w||M)(o.Y36(pe,10),o.Y36(me,10),o.Y36($t,8))},M.\u0275dir=o.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(w,L){1&w&&o.NdJ("submit",function(Lt){return L.onSubmit(Lt)})("reset",function(){return L.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([jr]),o.qOj]}),M})();function ar(M,T){const w=M.indexOf(T);w>-1&&M.splice(w,1)}function Ci(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}const lr=class extends K{constructor(T=null,w,L){super(gi(w),se(L,w)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(T),this._setUpdateStrategy(w),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ge(w)&&(w.nonNullable||w.initialValueIsDefault)&&(this.defaultValue=Ci(T)?T.value:T)}setValue(T,w={}){this.value=this._pendingValue=T,this._onChange.length&&!1!==w.emitModelToViewChange&&this._onChange.forEach(L=>L(this.value,!1!==w.emitViewToModelChange)),this.updateValueAndValidity(w)}patchValue(T,w={}){this.setValue(T,w)}reset(T=this.defaultValue,w={}){this._applyFormState(T),this.markAsPristine(w),this.markAsUntouched(w),this.setValue(this.value,w),this._pendingChange=!1}_updateValue(){}_anyControls(T){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(T){this._onChange.push(T)}_unregisterOnChange(T){ar(this._onChange,T)}registerOnDisabledChange(T){this._onDisabledChange.push(T)}_unregisterOnDisabledChange(T){ar(this._onDisabledChange,T)}_forEachChild(T){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(T){Ci(T)?(this.value=this._pendingValue=T.value,T.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=T}},rt={provide:ot,useExisting:(0,o.Gpc)(()=>Xt)},Et=(()=>Promise.resolve())();let Xt=(()=>{class M extends ot{constructor(w,L,Le,Lt,Pn,Vi){super(),this._changeDetectorRef=Pn,this.callSetDisabledState=Vi,this.control=new lr,this._registered=!1,this.name="",this.update=new o.vpe,this._parent=w,this._setValidators(L),this._setAsyncValidators(Le),this.valueAccessor=function Qn(M,T){if(!T)return null;let w,L,Le;return Array.isArray(T),T.forEach(Lt=>{Lt.constructor===X?w=Lt:function lo(M){return Object.getPrototypeOf(M.constructor)===Re}(Lt)?L=Lt:Le=Lt}),Le||L||w||null}(0,Lt)}ngOnChanges(w){if(this._checkForErrors(),!this._registered||"name"in w){if(this._registered&&(this._checkName(),this.formDirective)){const L=w.name.previousValue;this.formDirective.removeControl({name:L,path:this._getPath(L)})}this._setUpControl()}"isDisabled"in w&&this._updateDisabled(w),function Hr(M,T){if(!M.hasOwnProperty("model"))return!1;const w=M.model;return!!w.isFirstChange()||!Object.is(T,w.currentValue)}(w,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Zn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(w){Et.then(()=>{this.control.setValue(w,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(w){const L=w.isDisabled.currentValue,Le=0!==L&&(0,o.D6c)(L);Et.then(()=>{Le&&!this.control.disabled?this.control.disable():!Le&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(w){return this._parent?function mi(M,T){return[...T.path,M]}(w,this._parent):[w]}}return M.\u0275fac=function(w){return new(w||M)(o.Y36(Ve,9),o.Y36(pe,10),o.Y36(me,10),o.Y36(ze,10),o.Y36(o.sBO,8),o.Y36($t,8))},M.\u0275dir=o.lG2({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([rt]),o.qOj,o.TTD]}),M})(),Xn=(()=>{class M{}return M.\u0275fac=function(w){return new(w||M)},M.\u0275dir=o.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),M})(),ei=(()=>{class M{}return M.\u0275fac=function(w){return new(w||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({}),M})(),qn=(()=>{class M{constructor(){this._validator=je}ngOnChanges(w){if(this.inputName in w){const L=this.normalizeInput(w[this.inputName].currentValue);this._enabled=this.enabled(L),this._validator=this._enabled?this.createValidator(L):je,this._onChange&&this._onChange()}}validate(w){return this._validator(w)}registerOnValidatorChange(w){this._onChange=w}enabled(w){return null!=w}}return M.\u0275fac=function(w){return new(w||M)},M.\u0275dir=o.lG2({type:M,features:[o.TTD]}),M})();const Kr={provide:pe,useExisting:(0,o.Gpc)(()=>Si),multi:!0};let Si=(()=>{class M extends qn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.D6c,this.createValidator=w=>jt}enabled(w){return w}}return M.\u0275fac=function(){let T;return function(L){return(T||(T=o.n5z(M)))(L||M)}}(),M.\u0275dir=o.lG2({type:M,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(w,L){2&w&&o.uIk("required",L._enabled?"":null)},inputs:{required:"required"},features:[o._Bn([Kr]),o.qOj]}),M})();const Do={provide:pe,useExisting:(0,o.Gpc)(()=>Ro),multi:!0};let Ro=(()=>{class M extends qn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=o.D6c,this.createValidator=w=>Nn}enabled(w){return w}}return M.\u0275fac=function(){let T;return function(L){return(T||(T=o.n5z(M)))(L||M)}}(),M.\u0275dir=o.lG2({type:M,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[o._Bn([Do]),o.qOj]}),M})(),io=(()=>{class M{}return M.\u0275fac=function(w){return new(w||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({imports:[ei]}),M})(),_i=(()=>{class M{static withConfig(w){return{ngModule:M,providers:[{provide:$t,useValue:w.callSetDisabledState??ui}]}}}return M.\u0275fac=function(w){return new(w||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({imports:[io]}),M})()},3564:()=>{"use strict";const Nt=":";class Oe extends Error{constructor(J){super(`No translation found for ${Pt(J)}.`),this.parsedMessage=J,this.type="MissingTranslationError"}}const fn=function(he,...J){if(fn.translate){const Ve=fn.translate(he,J);he=Ve[0],J=Ve[1]}let Ne=mn(he[0],he.raw[0]);for(let Ve=1;Ve<he.length;Ve++)Ne+=J[Ve-1]+mn(he[Ve],he.raw[Ve]);return Ne},bn=":";function mn(he,J){return J.charAt(0)===bn?he.substring(function Xe(he,J){for(let Ne=1,Ve=1;Ne<he.length;Ne++,Ve++)if("\\"===J[Ve])Ve++;else if(he[Ne]===Nt)return Ne;throw new Error(`Unterminated $localize metadata block in "${J}".`)}(he,J)+1):he}(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)().$localize=fn},6550:(Nt,Se,R)=>{"use strict";R.d(Se,{Dx:()=>ot,b2:()=>mn,q6:()=>tt,se:()=>Me});var o=R(2223),j=R(4755);class oe extends j.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class De extends oe{static makeCurrent(){(0,j.HT)(new De)}onAndCancel(se,W,ge){return se.addEventListener(W,ge),()=>{se.removeEventListener(W,ge)}}dispatchEvent(se,W){se.dispatchEvent(W)}remove(se){se.parentNode&&se.parentNode.removeChild(se)}createElement(se,W){return(W=W||this.getDefaultDocument()).createElement(se)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(se){return se.nodeType===Node.ELEMENT_NODE}isShadowRoot(se){return se instanceof DocumentFragment}getGlobalEventTarget(se,W){return"window"===W?window:"document"===W?se:"body"===W?se.body:null}getBaseHref(se){const W=function ie(){return ne=ne||document.querySelector("base"),ne?ne.getAttribute("href"):null}();return null==W?null:function $e(Pe){we=we||document.createElement("a"),we.setAttribute("href",Pe);const se=we.pathname;return"/"===se.charAt(0)?se:`/${se}`}(W)}resetBaseElement(){ne=null}getUserAgent(){return window.navigator.userAgent}getCookie(se){return(0,j.Mx)(document.cookie,se)}}let we,ne=null,le=(()=>{class Pe{build(){return new XMLHttpRequest}}return Pe.\u0275fac=function(W){return new(W||Pe)},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const de=new o.OlP("EventManagerPlugins");let ue=(()=>{class Pe{constructor(W,ge){this._zone=ge,this._eventNameToPlugin=new Map,W.forEach(q=>{q.manager=this}),this._plugins=W.slice().reverse()}addEventListener(W,ge,q){return this._findPluginFor(ge).addEventListener(W,ge,q)}getZone(){return this._zone}_findPluginFor(W){let ge=this._eventNameToPlugin.get(W);if(ge)return ge;if(ge=this._plugins.find(U=>U.supports(W)),!ge)throw new o.vHH(5101,!1);return this._eventNameToPlugin.set(W,ge),ge}}return Pe.\u0275fac=function(W){return new(W||Pe)(o.LFG(de),o.LFG(o.R0b))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();class Fe{constructor(se){this._doc=se}}const Re="ng-app-id";let ze=(()=>{class Pe{constructor(W,ge,q,U={}){this.doc=W,this.appId=ge,this.nonce=q,this.platformId=U,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,j.PM)(U),this.resetHostNodes()}addStyles(W){for(const ge of W)1===this.changeUsageCount(ge,1)&&this.onStyleAdded(ge)}removeStyles(W){for(const ge of W)this.changeUsageCount(ge,-1)<=0&&this.onStyleRemoved(ge)}ngOnDestroy(){const W=this.styleNodesInDOM;W&&(W.forEach(ge=>ge.remove()),W.clear());for(const ge of this.getAllStyles())this.onStyleRemoved(ge);this.resetHostNodes()}addHost(W){this.hostNodes.add(W);for(const ge of this.getAllStyles())this.addStyleToHost(W,ge)}removeHost(W){this.hostNodes.delete(W)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(W){for(const ge of this.hostNodes)this.addStyleToHost(ge,W)}onStyleRemoved(W){const ge=this.styleRef;ge.get(W)?.elements?.forEach(q=>q.remove()),ge.delete(W)}collectServerRenderedStyles(){const W=this.doc.head?.querySelectorAll(`style[${Re}="${this.appId}"]`);if(W?.length){const ge=new Map;return W.forEach(q=>{null!=q.textContent&&ge.set(q.textContent,q)}),ge}return null}changeUsageCount(W,ge){const q=this.styleRef;if(q.has(W)){const U=q.get(W);return U.usage+=ge,U.usage}return q.set(W,{usage:ge,elements:[]}),ge}getStyleElement(W,ge){const q=this.styleNodesInDOM,U=q?.get(ge);if(U?.parentNode===W)return q.delete(ge),U.removeAttribute(Re),U;{const K=this.doc.createElement("style");return this.nonce&&K.setAttribute("nonce",this.nonce),K.textContent=ge,this.platformIsServer&&K.setAttribute(Re,this.appId),K}}addStyleToHost(W,ge){const q=this.getStyleElement(W,ge);W.appendChild(q);const U=this.styleRef,K=U.get(ge)?.elements;K?K.push(q):U.set(ge,{elements:[q],usage:1})}resetHostNodes(){const W=this.hostNodes;W.clear(),W.add(this.doc.head)}}return Pe.\u0275fac=function(W){return new(W||Pe)(o.LFG(j.K0),o.LFG(o.AFp),o.LFG(o.Ojb,8),o.LFG(o.Lbi))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const Ye={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/"},Ct=/%COMP%/g,re=new o.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function me(Pe,se){return se.map(W=>W.replace(Ct,Pe))}let Me=(()=>{class Pe{constructor(W,ge,q,U,K,Be,We,ke=null){this.eventManager=W,this.sharedStylesHost=ge,this.appId=q,this.removeStylesOnCompDestory=U,this.doc=K,this.platformId=Be,this.ngZone=We,this.nonce=ke,this.rendererByCompId=new Map,this.platformIsServer=(0,j.PM)(Be),this.defaultRenderer=new Ke(W,K,We,this.platformIsServer)}createRenderer(W,ge){if(!W||!ge)return this.defaultRenderer;this.platformIsServer&&ge.encapsulation===o.ifc.ShadowDom&&(ge={...ge,encapsulation:o.ifc.Emulated});const q=this.getOrCreateRenderer(W,ge);return q instanceof Ce?q.applyToHost(W):q instanceof Nn&&q.applyStyles(),q}getOrCreateRenderer(W,ge){const q=this.rendererByCompId;let U=q.get(ge.id);if(!U){const K=this.doc,Be=this.ngZone,We=this.eventManager,ke=this.sharedStylesHost,lt=this.removeStylesOnCompDestory,Dn=this.platformIsServer;switch(ge.encapsulation){case o.ifc.Emulated:U=new Ce(We,ke,ge,this.appId,lt,K,Be,Dn);break;case o.ifc.ShadowDom:return new Yt(We,ke,W,ge,K,Be,this.nonce,Dn);default:U=new Nn(We,ke,ge,lt,K,Be,Dn)}U.onDestroy=()=>q.delete(ge.id),q.set(ge.id,U)}return U}ngOnDestroy(){this.rendererByCompId.clear()}}return Pe.\u0275fac=function(W){return new(W||Pe)(o.LFG(ue),o.LFG(ze),o.LFG(o.AFp),o.LFG(re),o.LFG(j.K0),o.LFG(o.Lbi),o.LFG(o.R0b),o.LFG(o.Ojb))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();class Ke{constructor(se,W,ge,q){this.eventManager=se,this.doc=W,this.ngZone=ge,this.platformIsServer=q,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(se,W){return W?this.doc.createElementNS(Ye[W]||W,se):this.doc.createElement(se)}createComment(se){return this.doc.createComment(se)}createText(se){return this.doc.createTextNode(se)}appendChild(se,W){(jt(se)?se.content:se).appendChild(W)}insertBefore(se,W,ge){se&&(jt(se)?se.content:se).insertBefore(W,ge)}removeChild(se,W){se&&se.removeChild(W)}selectRootElement(se,W){let ge="string"==typeof se?this.doc.querySelector(se):se;if(!ge)throw new o.vHH(5104,!1);return W||(ge.textContent=""),ge}parentNode(se){return se.parentNode}nextSibling(se){return se.nextSibling}setAttribute(se,W,ge,q){if(q){W=q+":"+W;const U=Ye[q];U?se.setAttributeNS(U,W,ge):se.setAttribute(W,ge)}else se.setAttribute(W,ge)}removeAttribute(se,W,ge){if(ge){const q=Ye[ge];q?se.removeAttributeNS(q,W):se.removeAttribute(`${ge}:${W}`)}else se.removeAttribute(W)}addClass(se,W){se.classList.add(W)}removeClass(se,W){se.classList.remove(W)}setStyle(se,W,ge,q){q&(o.JOm.DashCase|o.JOm.Important)?se.style.setProperty(W,ge,q&o.JOm.Important?"important":""):se.style[W]=ge}removeStyle(se,W,ge){ge&o.JOm.DashCase?se.style.removeProperty(W):se.style[W]=""}setProperty(se,W,ge){se[W]=ge}setValue(se,W){se.nodeValue=W}listen(se,W,ge){if("string"==typeof se&&!(se=(0,j.q)().getGlobalEventTarget(this.doc,se)))throw new Error(`Unsupported event target ${se} for event ${W}`);return this.eventManager.addEventListener(se,W,this.decoratePreventDefault(ge))}decoratePreventDefault(se){return W=>{if("__ngUnwrap__"===W)return se;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>se(W)):se(W))&&W.preventDefault()}}}function jt(Pe){return"TEMPLATE"===Pe.tagName&&void 0!==Pe.content}class Yt extends Ke{constructor(se,W,ge,q,U,K,Be,We){super(se,U,K,We),this.sharedStylesHost=W,this.hostEl=ge,this.shadowRoot=ge.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ke=me(q.id,q.styles);for(const lt of ke){const Dn=document.createElement("style");Be&&Dn.setAttribute("nonce",Be),Dn.textContent=lt,this.shadowRoot.appendChild(Dn)}}nodeOrShadowRoot(se){return se===this.hostEl?this.shadowRoot:se}appendChild(se,W){return super.appendChild(this.nodeOrShadowRoot(se),W)}insertBefore(se,W,ge){return super.insertBefore(this.nodeOrShadowRoot(se),W,ge)}removeChild(se,W){return super.removeChild(this.nodeOrShadowRoot(se),W)}parentNode(se){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(se)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Nn extends Ke{constructor(se,W,ge,q,U,K,Be,We){super(se,U,K,Be),this.sharedStylesHost=W,this.removeStylesOnCompDestory=q,this.rendererUsageCount=0,this.styles=We?me(We,ge.styles):ge.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 Ce extends Nn{constructor(se,W,ge,q,U,K,Be,We){const ke=q+"-"+ge.id;super(se,W,ge,U,K,Be,We,ke),this.contentAttr=function ye(Pe){return"_ngcontent-%COMP%".replace(Ct,Pe)}(ke),this.hostAttr=function pe(Pe){return"_nghost-%COMP%".replace(Ct,Pe)}(ke)}applyToHost(se){this.applyStyles(),this.setAttribute(se,this.hostAttr,"")}createElement(se,W){const ge=super.createElement(se,W);return super.setAttribute(ge,this.contentAttr,""),ge}}let He=(()=>{class Pe extends Fe{constructor(W){super(W)}supports(W){return!0}addEventListener(W,ge,q){return W.addEventListener(ge,q,!1),()=>this.removeEventListener(W,ge,q)}removeEventListener(W,ge,q){return W.removeEventListener(ge,q)}}return Pe.\u0275fac=function(W){return new(W||Pe)(o.LFG(j.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const Ue=["alt","control","meta","shift"],je={"\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"},Xe={alt:Pe=>Pe.altKey,control:Pe=>Pe.ctrlKey,meta:Pe=>Pe.metaKey,shift:Pe=>Pe.shiftKey};let Oe=(()=>{class Pe extends Fe{constructor(W){super(W)}supports(W){return null!=Pe.parseEventName(W)}addEventListener(W,ge,q){const U=Pe.parseEventName(ge),K=Pe.eventCallback(U.fullKey,q,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,j.q)().onAndCancel(W,U.domEventName,K))}static parseEventName(W){const ge=W.toLowerCase().split("."),q=ge.shift();if(0===ge.length||"keydown"!==q&&"keyup"!==q)return null;const U=Pe._normalizeKey(ge.pop());let K="",Be=ge.indexOf("code");if(Be>-1&&(ge.splice(Be,1),K="code."),Ue.forEach(ke=>{const lt=ge.indexOf(ke);lt>-1&&(ge.splice(lt,1),K+=ke+".")}),K+=U,0!=ge.length||0===U.length)return null;const We={};return We.domEventName=q,We.fullKey=K,We}static matchEventFullKeyCode(W,ge){let q=je[W.key]||W.key,U="";return ge.indexOf("code.")>-1&&(q=W.code,U="code."),!(null==q||!q)&&(q=q.toLowerCase()," "===q?q="space":"."===q&&(q="dot"),Ue.forEach(K=>{K!==q&&(0,Xe[K])(W)&&(U+=K+".")}),U+=q,U===ge)}static eventCallback(W,ge,q){return U=>{Pe.matchEventFullKeyCode(U,W)&&q.runGuarded(()=>ge(U))}}static _normalizeKey(W){return"esc"===W?"escape":W}}return Pe.\u0275fac=function(W){return new(W||Pe)(o.LFG(j.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const tt=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:j.bD},{provide:o.g9A,useValue:function St(){De.makeCurrent()},multi:!0},{provide:j.K0,useFactory:function kt(){return(0,o.RDi)(document),document},deps:[]}]),qt=new o.OlP(""),fn=[{provide:o.rWj,useClass:class Ie{addToWindow(se){o.dqk.getAngularTestability=(ge,q=!0)=>{const U=se.findTestabilityInTree(ge,q);if(null==U)throw new o.vHH(5103,!1);return U},o.dqk.getAllAngularTestabilities=()=>se.getAllTestabilities(),o.dqk.getAllAngularRootElements=()=>se.getAllRootElements(),o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(ge=>{const q=o.dqk.getAllAngularTestabilities();let U=q.length,K=!1;const Be=function(We){K=K||We,U--,0==U&&ge(K)};q.forEach(function(We){We.whenStable(Be)})})}findTestabilityInTree(se,W,ge){return null==W?null:se.getTestability(W)??(ge?(0,j.q)().isShadowRoot(W)?this.findTestabilityInTree(se,W.host,!0):this.findTestabilityInTree(se,W.parentElement,!0):null)}},deps:[]},{provide:o.lri,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]}],bn=[{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function Pt(){return new o.qLn},deps:[]},{provide:de,useClass:He,multi:!0,deps:[j.K0,o.R0b,o.Lbi]},{provide:de,useClass:Oe,multi:!0,deps:[j.K0]},Me,ze,ue,{provide:o.FYo,useExisting:Me},{provide:j.JF,useClass:le,deps:[]},[]];let mn=(()=>{class Pe{constructor(W){}static withServerTransition(W){return{ngModule:Pe,providers:[{provide:o.AFp,useValue:W.appId}]}}}return Pe.\u0275fac=function(W){return new(W||Pe)(o.LFG(qt,12))},Pe.\u0275mod=o.oAB({type:Pe}),Pe.\u0275inj=o.cJS({providers:[...bn,...fn],imports:[j.ez,o.hGG]}),Pe})(),ot=(()=>{class Pe{constructor(W){this._doc=W}getTitle(){return this._doc.title}setTitle(W){this._doc.title=W||""}}return Pe.\u0275fac=function(W){return new(W||Pe)(o.LFG(j.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:function(W){let ge=null;return ge=W?new W:function Ve(){return new ot((0,o.LFG)(j.K0))}(),ge},providedIn:"root"}),Pe})();typeof window<"u"&&window},9135:(Nt,Se,R)=>{"use strict";R.d(Se,{m2:()=>_r,F0:()=>dn,Bz:()=>Kc,lC:()=>zi});var o=R(2223),j=R(9751),oe=R(576),ne=R(2076),ie=R(9646),we=R(1135),$e=R(4742),Ie=R(4671),le=R(3268),de=R(3269),ue=R(1810),Fe=R(5403),Re=R(9672);function ze(...p){const v=(0,de.yG)(p),f=(0,de.jO)(p),{args:b,keys:A}=(0,$e.D)(p);if(0===b.length)return(0,ne.D)([],v);const B=new j.y(function Ye(p,v,f=Ie.y){return b=>{Ct(v,()=>{const{length:A}=p,B=new Array(A);let V=A,fe=A;for(let et=0;et<A;et++)Ct(v,()=>{const Rt=(0,ne.D)(p[et],v);let Bt=!1;Rt.subscribe((0,Fe.x)(b,Kn=>{B[et]=Kn,Bt||(Bt=!0,fe--),fe||b.next(f(B.slice()))},()=>{--V||b.complete()}))},b)},b)}}(b,v,A?V=>(0,ue.n)(A,V):Ie.y));return f?B.pipe((0,le.Z)(f)):B}function Ct(p,v,f){p?(0,Re.f)(f,p,v):v()}const ft=(0,R(3888).d)(p=>function(){p(this),this.name="EmptyError",this.message="no elements in sequence"});var Ht=R(7272),X=R(9770),re=R(9635);function ye(p,v){const f=(0,oe.m)(p)?p:()=>p,b=A=>A.error(f());return new j.y(v?A=>v.schedule(b,0,A):b)}var pe=R(515),me=R(727),Me=R(4482);function Ke(){return(0,Me.e)((p,v)=>{let f=null;p._refCount++;const b=(0,Fe.x)(v,void 0,void 0,void 0,()=>{if(!p||p._refCount<=0||0<--p._refCount)return void(f=null);const A=p._connection,B=f;f=null,A&&(!B||A===B)&&A.unsubscribe(),v.unsubscribe()});p.subscribe(b),b.closed||(f=p.connect())})}class qe extends j.y{constructor(v,f){super(),this.source=v,this.subjectFactory=f,this._subject=null,this._refCount=0,this._connection=null,(0,Me.A)(v)&&(this.lift=v.lift)}_subscribe(v){return this.getSubject().subscribe(v)}getSubject(){const v=this._subject;return(!v||v.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:v}=this;this._subject=this._connection=null,v?.unsubscribe()}connect(){let v=this._connection;if(!v){v=this._connection=new me.w0;const f=this.getSubject();v.add(this.source.subscribe((0,Fe.x)(f,void 0,()=>{this._teardown(),f.complete()},b=>{this._teardown(),f.error(b)},()=>this._teardown()))),v.closed&&(this._connection=null,v=me.w0.EMPTY)}return v}refCount(){return Ke()(this)}}var Vt=R(7579),jt=R(4755),Yt=R(4004),Nn=R(3900),Ce=R(5698),He=R(8675),Ue=R(9300),je=R(5577);function Xe(p){return(0,Me.e)((v,f)=>{let b=!1;v.subscribe((0,Fe.x)(f,A=>{b=!0,f.next(A)},()=>{b||f.next(p),f.complete()}))})}function Oe(p=Tt){return(0,Me.e)((v,f)=>{let b=!1;v.subscribe((0,Fe.x)(f,A=>{b=!0,f.next(A)},()=>b?f.complete():f.error(p())))})}function Tt(){return new ft}function vt(p,v){const f=arguments.length>=2;return b=>b.pipe(p?(0,Ue.h)((A,B)=>p(A,B,b)):Ie.y,(0,Ce.q)(1),f?Xe(v):Oe(()=>new ft))}var Ft=R(4351),Qe=R(8505),St=R(8421);function Pt(p){return(0,Me.e)((v,f)=>{let B,b=null,A=!1;b=v.subscribe((0,Fe.x)(f,void 0,void 0,V=>{B=(0,St.Xf)(p(V,Pt(p)(v))),b?(b.unsubscribe(),b=null,B.subscribe(f)):A=!0})),A&&(b.unsubscribe(),b=null,B.subscribe(f))})}function tt(p){return p<=0?()=>pe.E:(0,Me.e)((v,f)=>{let b=[];v.subscribe((0,Fe.x)(f,A=>{b.push(A),p<b.length&&b.shift()},()=>{for(const A of b)f.next(A);f.complete()},void 0,()=>{b=null}))})}var fn=R(9718),bn=R(8746),mn=R(8189),he=R(6550);const J="primary",Ne=Symbol("RouteTitle");class Ve{constructor(v){this.params=v||{}}has(v){return Object.prototype.hasOwnProperty.call(this.params,v)}get(v){if(this.has(v)){const f=this.params[v];return Array.isArray(f)?f[0]:f}return null}getAll(v){if(this.has(v)){const f=this.params[v];return Array.isArray(f)?f:[f]}return[]}get keys(){return Object.keys(this.params)}}function ot(p){return new Ve(p)}function pt(p,v,f){const b=f.path.split("/");if(b.length>p.length||"full"===f.pathMatch&&(v.hasChildren()||b.length<p.length))return null;const A={};for(let B=0;B<b.length;B++){const V=b[B],fe=p[B];if(V.startsWith(":"))A[V.substring(1)]=fe;else if(V!==fe.path)return null}return{consumed:p.slice(0,b.length),posParams:A}}function Ze(p,v){const f=p?Object.keys(p):void 0,b=v?Object.keys(v):void 0;if(!f||!b||f.length!=b.length)return!1;let A;for(let B=0;B<f.length;B++)if(A=f[B],!ut(p[A],v[A]))return!1;return!0}function ut(p,v){if(Array.isArray(p)&&Array.isArray(v)){if(p.length!==v.length)return!1;const f=[...p].sort(),b=[...v].sort();return f.every((A,B)=>b[B]===A)}return p===v}function Dt(p){return p.length>0?p[p.length-1]:null}function hn(p){return function De(p){return!!p&&(p instanceof j.y||(0,oe.m)(p.lift)&&(0,oe.m)(p.subscribe))}(p)?p:(0,o.QGY)(p)?(0,ne.D)(Promise.resolve(p)):(0,ie.of)(p)}const ai={exact:function Yi(p,v,f){if(!Jn(p.segments,v.segments)||!Rn(p.segments,v.segments,f)||p.numberOfChildren!==v.numberOfChildren)return!1;for(const b in v.children)if(!p.children[b]||!Yi(p.children[b],v.children[b],f))return!1;return!0},subset:_n},li={exact:function In(p,v){return Ze(p,v)},subset:function It(p,v){return Object.keys(v).length<=Object.keys(p).length&&Object.keys(v).every(f=>ut(p[f],v[f]))},ignored:()=>!0};function pn(p,v,f){return ai[f.paths](p.root,v.root,f.matrixParams)&&li[f.queryParams](p.queryParams,v.queryParams)&&!("exact"===f.fragment&&p.fragment!==v.fragment)}function _n(p,v,f){return en(p,v,v.segments,f)}function en(p,v,f,b){if(p.segments.length>f.length){const A=p.segments.slice(0,f.length);return!(!Jn(A,f)||v.hasChildren()||!Rn(A,f,b))}if(p.segments.length===f.length){if(!Jn(p.segments,f)||!Rn(p.segments,f,b))return!1;for(const A in v.children)if(!p.children[A]||!_n(p.children[A],v.children[A],b))return!1;return!0}{const A=f.slice(0,p.segments.length),B=f.slice(p.segments.length);return!!(Jn(p.segments,A)&&Rn(p.segments,A,b)&&p.children[J])&&en(p.children[J],v,B,b)}}function Rn(p,v,f){return v.every((b,A)=>li[f](p[A].parameters,b.parameters))}class pi{constructor(v=new tn([],{}),f={},b=null){this.root=v,this.queryParams=f,this.fragment=b}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ot(this.queryParams)),this._queryParamMap}toString(){return vn.serialize(this)}}class tn{constructor(v,f){this.segments=v,this.children=f,this.parent=null,Object.values(f).forEach(b=>b.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $n(this)}}class Di{constructor(v,f){this.path=v,this.parameters=f}get parameterMap(){return this._parameterMap||(this._parameterMap=ot(this.parameters)),this._parameterMap}toString(){return U(this)}}function Jn(p,v){return p.length===v.length&&p.every((f,b)=>f.path===v[b].path)}let ci=(()=>{class p{}return p.\u0275fac=function(f){return new(f||p)},p.\u0275prov=o.Yz7({token:p,factory:function(){return new jn},providedIn:"root"}),p})();class jn{parse(v){const f=new Un(v);return new pi(f.parseRootSegment(),f.parseQueryParams(),f.parseFragment())}serialize(v){const f=`/${nn(v.root,!0)}`,b=function Be(p){const v=Object.keys(p).map(f=>{const b=p[f];return Array.isArray(b)?b.map(A=>`${Pe(f)}=${Pe(A)}`).join("&"):`${Pe(f)}=${Pe(b)}`}).filter(f=>!!f);return v.length?`?${v.join("&")}`:""}(v.queryParams);return`${f}${b}${"string"==typeof v.fragment?`#${function se(p){return encodeURI(p)}(v.fragment)}`:""}`}}const vn=new jn;function $n(p){return p.segments.map(v=>U(v)).join("/")}function nn(p,v){if(!p.hasChildren())return $n(p);if(v){const f=p.children[J]?nn(p.children[J],!1):"",b=[];return Object.entries(p.children).forEach(([A,B])=>{A!==J&&b.push(`${A}:${nn(B,!1)}`)}),b.length>0?`${f}(${b.join("//")})`:f}{const f=function Rr(p,v){let f=[];return Object.entries(p.children).forEach(([b,A])=>{b===J&&(f=f.concat(v(A,b)))}),Object.entries(p.children).forEach(([b,A])=>{b!==J&&(f=f.concat(v(A,b)))}),f}(p,(b,A)=>A===J?[nn(p.children[J],!1)]:[`${A}:${nn(b,!1)}`]);return 1===Object.keys(p.children).length&&null!=p.children[J]?`${$n(p)}/${f[0]}`:`${$n(p)}/(${f.join("//")})`}}function gi(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pe(p){return gi(p).replace(/%3B/gi,";")}function W(p){return gi(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ge(p){return decodeURIComponent(p)}function q(p){return ge(p.replace(/\+/g,"%20"))}function U(p){return`${W(p.path)}${function K(p){return Object.keys(p).map(v=>`;${W(v)}=${W(p[v])}`).join("")}(p.parameters)}`}const We=/^[^\/()?;#]+/;function ke(p){const v=p.match(We);return v?v[0]:""}const lt=/^[^\/()?;=#]+/,$t=/^[^=?&#]+/,mi=/^[^&#]+/;class Un{constructor(v){this.url=v,this.remaining=v}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new tn([],{}):new tn([],this.parseChildren())}parseQueryParams(){const v={};if(this.consumeOptional("?"))do{this.parseQueryParam(v)}while(this.consumeOptional("&"));return v}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const v=[];for(this.peekStartsWith("(")||v.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),v.push(this.parseSegment());let f={};this.peekStartsWith("/(")&&(this.capture("/"),f=this.parseParens(!0));let b={};return this.peekStartsWith("(")&&(b=this.parseParens(!1)),(v.length>0||Object.keys(f).length>0)&&(b[J]=new tn(v,f)),b}parseSegment(){const v=ke(this.remaining);if(""===v&&this.peekStartsWith(";"))throw new o.vHH(4009,!1);return this.capture(v),new Di(ge(v),this.parseMatrixParams())}parseMatrixParams(){const v={};for(;this.consumeOptional(";");)this.parseParam(v);return v}parseParam(v){const f=function Dn(p){const v=p.match(lt);return v?v[0]:""}(this.remaining);if(!f)return;this.capture(f);let b="";if(this.consumeOptional("=")){const A=ke(this.remaining);A&&(b=A,this.capture(b))}v[ge(f)]=ge(b)}parseQueryParam(v){const f=function ui(p){const v=p.match($t);return v?v[0]:""}(this.remaining);if(!f)return;this.capture(f);let b="";if(this.consumeOptional("=")){const V=function Zn(p){const v=p.match(mi);return v?v[0]:""}(this.remaining);V&&(b=V,this.capture(b))}const A=q(f),B=q(b);if(v.hasOwnProperty(A)){let V=v[A];Array.isArray(V)||(V=[V],v[A]=V),V.push(B)}else v[A]=B}parseParens(v){const f={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=ke(this.remaining),A=this.remaining[b.length];if("/"!==A&&")"!==A&&";"!==A)throw new o.vHH(4010,!1);let B;b.indexOf(":")>-1?(B=b.slice(0,b.indexOf(":")),this.capture(B),this.capture(":")):v&&(B=J);const V=this.parseChildren();f[B]=1===Object.keys(V).length?V[J]:new tn([],V),this.consumeOptional("//")}return f}peekStartsWith(v){return this.remaining.startsWith(v)}consumeOptional(v){return!!this.peekStartsWith(v)&&(this.remaining=this.remaining.substring(v.length),!0)}capture(v){if(!this.consumeOptional(v))throw new o.vHH(4011,!1)}}function ti(p){return p.segments.length>0?new tn([],{[J]:p}):p}function ji(p){const v={};for(const b of Object.keys(p.children)){const B=ji(p.children[b]);if(b===J&&0===B.segments.length&&B.hasChildren())for(const[V,fe]of Object.entries(B.children))v[V]=fe;else(B.segments.length>0||B.hasChildren())&&(v[b]=B)}return function Tn(p){if(1===p.numberOfChildren&&p.children[J]){const v=p.children[J];return new tn(p.segments.concat(v.segments),v.children)}return p}(new tn(p.segments,v))}function ln(p){return p instanceof pi}function $i(p){let v;const A=ti(function f(B){const V={};for(const et of B.children){const Rt=f(et);V[et.outlet]=Rt}const fe=new tn(B.url,V);return B===p&&(v=fe),fe}(p.root));return v??A}function ii(p,v,f,b){let A=p;for(;A.parent;)A=A.parent;if(0===v.length)return Pi(A,A,A,f,b);const B=function wr(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new Gn(!0,0,p);let v=0,f=!1;const b=p.reduce((A,B,V)=>{if("object"==typeof B&&null!=B){if(B.outlets){const fe={};return Object.entries(B.outlets).forEach(([et,Rt])=>{fe[et]="string"==typeof Rt?Rt.split("/"):Rt}),[...A,{outlets:fe}]}if(B.segmentPath)return[...A,B.segmentPath]}return"string"!=typeof B?[...A,B]:0===V?(B.split("/").forEach((fe,et)=>{0==et&&"."===fe||(0==et&&""===fe?f=!0:".."===fe?v++:""!=fe&&A.push(fe))}),A):[...A,B]},[]);return new Gn(f,v,b)}(v);if(B.toRoot())return Pi(A,A,new tn([],{}),f,b);const V=function gr(p,v,f){if(p.isAbsolute)return new wi(v,!0,0);if(!f)return new wi(v,!1,NaN);if(null===f.parent)return new wi(f,!0,0);const b=Ki(p.commands[0])?0:1;return function Hr(p,v,f){let b=p,A=v,B=f;for(;B>A;){if(B-=A,b=b.parent,!b)throw new o.vHH(4005,!1);A=b.segments.length}return new wi(b,!1,A-B)}(f,f.segments.length-1+b,p.numberOfDoubleDots)}(B,A,p),fe=V.processChildren?Qn(V.segmentGroup,V.index,B.commands):qi(V.segmentGroup,V.index,B.commands);return Pi(A,V.segmentGroup,fe,f,b)}function Ki(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function ri(p){return"object"==typeof p&&null!=p&&p.outlets}function Pi(p,v,f,b,A){let V,B={};b&&Object.entries(b).forEach(([et,Rt])=>{B[et]=Array.isArray(Rt)?Rt.map(Bt=>`${Bt}`):`${Rt}`}),V=p===v?f:tr(p,v,f);const fe=ti(ji(V));return new pi(fe,B,A)}function tr(p,v,f){const b={};return Object.entries(p.children).forEach(([A,B])=>{b[A]=B===v?f:tr(B,v,f)}),new tn(p.segments,b)}class Gn{constructor(v,f,b){if(this.isAbsolute=v,this.numberOfDoubleDots=f,this.commands=b,v&&b.length>0&&Ki(b[0]))throw new o.vHH(4003,!1);const A=b.find(ri);if(A&&A!==Dt(b))throw new o.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class wi{constructor(v,f,b){this.segmentGroup=v,this.processChildren=f,this.index=b}}function qi(p,v,f){if(p||(p=new tn([],{})),0===p.segments.length&&p.hasChildren())return Qn(p,v,f);const b=function Pr(p,v,f){let b=0,A=v;const B={match:!1,pathIndex:0,commandIndex:0};for(;A<p.segments.length;){if(b>=f.length)return B;const V=p.segments[A],fe=f[b];if(ri(fe))break;const et=`${fe}`,Rt=b<f.length-1?f[b+1]:null;if(A>0&&void 0===et)break;if(et&&Rt&&"object"==typeof Rt&&void 0===Rt.outlets){if(!Cr(et,Rt,V))return B;b+=2}else{if(!Cr(et,{},V))return B;b++}A++}return{match:!0,pathIndex:A,commandIndex:b}}(p,v,f),A=f.slice(b.commandIndex);if(b.match&&b.pathIndex<p.segments.length){const B=new tn(p.segments.slice(0,b.pathIndex),{});return B.children[J]=new tn(p.segments.slice(b.pathIndex),p.children),Qn(B,0,A)}return b.match&&0===A.length?new tn(p.segments,{}):b.match&&!p.hasChildren()?mr(p,v,f):b.match?Qn(p,0,A):mr(p,v,f)}function Qn(p,v,f){if(0===f.length)return new tn(p.segments,{});{const b=function lo(p){return ri(p[0])?p[0].outlets:{[J]:p}}(f),A={};if(!b[J]&&p.children[J]&&1===p.numberOfChildren&&0===p.children[J].segments.length){const B=Qn(p.children[J],v,f);return new tn(p.segments,B.children)}return Object.entries(b).forEach(([B,V])=>{"string"==typeof V&&(V=[V]),null!==V&&(A[B]=qi(p.children[B],v,V))}),Object.entries(p.children).forEach(([B,V])=>{void 0===b[B]&&(A[B]=V)}),new tn(p.segments,A)}}function mr(p,v,f){const b=p.segments.slice(0,v);let A=0;for(;A<f.length;){const B=f[A];if(ri(B)){const et=jr(B.outlets);return new tn(b,et)}if(0===A&&Ki(f[0])){b.push(new Di(p.segments[v].path,Ji(f[0]))),A++;continue}const V=ri(B)?B.outlets[J]:`${B}`,fe=A<f.length-1?f[A+1]:null;V&&fe&&Ki(fe)?(b.push(new Di(V,Ji(fe))),A+=2):(b.push(new Di(V,{})),A++)}return new tn(b,{})}function jr(p){const v={};return Object.entries(p).forEach(([f,b])=>{"string"==typeof b&&(b=[b]),null!==b&&(v[f]=mr(new tn([],{}),0,b))}),v}function Ji(p){const v={};return Object.entries(p).forEach(([f,b])=>v[f]=`${b}`),v}function Cr(p,v,f){return p==f.path&&Ze(v,f.parameters)}const ar="imperative";class Ci{constructor(v,f){this.id=v,this.url=f}}class lr extends Ci{constructor(v,f,b="imperative",A=null){super(v,f),this.type=0,this.navigationTrigger=b,this.restoredState=A}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class _r extends Ci{constructor(v,f,b){super(v,f),this.urlAfterRedirects=b,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Zi extends Ci{constructor(v,f,b,A){super(v,f),this.reason=b,this.code=A,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ui extends Ci{constructor(v,f,b,A){super(v,f),this.reason=b,this.code=A,this.type=16}}class $r extends Ci{constructor(v,f,b,A){super(v,f),this.error=b,this.target=A,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class sn extends Ci{constructor(v,f,b,A){super(v,f),this.urlAfterRedirects=b,this.state=A,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class x extends Ci{constructor(v,f,b,A){super(v,f),this.urlAfterRedirects=b,this.state=A,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $ extends Ci{constructor(v,f,b,A,B){super(v,f),this.urlAfterRedirects=b,this.state=A,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 Z extends Ci{constructor(v,f,b,A){super(v,f),this.urlAfterRedirects=b,this.state=A,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ve extends Ci{constructor(v,f,b,A){super(v,f),this.urlAfterRedirects=b,this.state=A,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rt{constructor(v){this.route=v,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Et{constructor(v){this.route=v,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Xt{constructor(v){this.snapshot=v,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xn{constructor(v){this.snapshot=v,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class di{constructor(v){this.snapshot=v,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gn{constructor(v){this.snapshot=v,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gt{constructor(v,f,b){this.routerEvent=v,this.position=f,this.anchor=b,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ei{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Li,this.attachRef=null}}let Li=(()=>{class p{constructor(){this.contexts=new Map}onChildOutletCreated(f,b){const A=this.getOrCreateContext(f);A.outlet=b,this.contexts.set(f,A)}onChildOutletDestroyed(f){const b=this.getContext(f);b&&(b.outlet=null,b.attachRef=null)}onOutletDeactivated(){const f=this.contexts;return this.contexts=new Map,f}onOutletReAttached(f){this.contexts=f}getOrCreateContext(f){let b=this.getContext(f);return b||(b=new ei,this.contexts.set(f,b)),b}getContext(f){return this.contexts.get(f)||null}}return p.\u0275fac=function(f){return new(f||p)},p.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();class Tr{constructor(v){this._root=v}get root(){return this._root.value}parent(v){const f=this.pathFromRoot(v);return f.length>1?f[f.length-2]:null}children(v){const f=Ti(v,this._root);return f?f.children.map(b=>b.value):[]}firstChild(v){const f=Ti(v,this._root);return f&&f.children.length>0?f.children[0].value:null}siblings(v){const f=Sr(v,this._root);return f.length<2?[]:f[f.length-2].children.map(A=>A.value).filter(A=>A!==v)}pathFromRoot(v){return Sr(v,this._root).map(f=>f.value)}}function Ti(p,v){if(p===v.value)return v;for(const f of v.children){const b=Ti(p,f);if(b)return b}return null}function Sr(p,v){if(p===v.value)return[v];for(const f of v.children){const b=Sr(p,f);if(b.length)return b.unshift(v),b}return[]}class An{constructor(v,f){this.value=v,this.children=f}toString(){return`TreeNode(${this.value})`}}function cr(p){const v={};return p&&p.children.forEach(f=>v[f.value.outlet]=f),v}class vr extends Tr{constructor(v,f){super(v),this.snapshot=f,nr(this,v)}toString(){return this.snapshot.toString()}}function Zt(p,v){const f=function Ur(p,v){const V=new xr([],{},{},"",{},J,v,null,{});return new Gr("",new An(V,[]))}(0,v),b=new we.X([new Di("",{})]),A=new we.X({}),B=new we.X({}),V=new we.X({}),fe=new we.X(""),et=new Mr(b,A,V,fe,B,J,v,f.root);return et.snapshot=f.root,new vr(new An(et,[]),f)}class Mr{constructor(v,f,b,A,B,V,fe,et){this.urlSubject=v,this.paramsSubject=f,this.queryParamsSubject=b,this.fragmentSubject=A,this.dataSubject=B,this.outlet=V,this.component=fe,this._futureSnapshot=et,this.title=this.dataSubject?.pipe((0,Yt.U)(Rt=>Rt[Ne]))??(0,ie.of)(void 0),this.url=v,this.params=f,this.queryParams=b,this.fragment=A,this.data=B}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,Yt.U)(v=>ot(v)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Yt.U)(v=>ot(v)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ur(p,v="emptyOnly"){const f=p.pathFromRoot;let b=0;if("always"!==v)for(b=f.length-1;b>=1;){const A=f[b],B=f[b-1];if(A.routeConfig&&""===A.routeConfig.path)b--;else{if(B.component)break;b--}}return function oi(p){return p.reduce((v,f)=>({params:{...v.params,...f.params},data:{...v.data,...f.data},resolve:{...f.data,...v.resolve,...f.routeConfig?.data,...f._resolvedData}}),{params:{},data:{},resolve:{}})}(f.slice(b))}class xr{get title(){return this.data?.[Ne]}constructor(v,f,b,A,B,V,fe,et,Rt){this.url=v,this.params=f,this.queryParams=b,this.fragment=A,this.data=B,this.outlet=V,this.component=fe,this.routeConfig=et,this._resolve=Rt}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=ot(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ot(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(b=>b.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Gr extends Tr{constructor(v,f){super(f),this.url=v,nr(this,f)}toString(){return Fr(this._root)}}function nr(p,v){v.value._routerState=p,v.children.forEach(f=>nr(p,f))}function Fr(p){const v=p.children.length>0?` { ${p.children.map(Fr).join(", ")} } `:"";return`${p.value}${v}`}function Gi(p){if(p.snapshot){const v=p.snapshot,f=p._futureSnapshot;p.snapshot=f,Ze(v.queryParams,f.queryParams)||p.queryParamsSubject.next(f.queryParams),v.fragment!==f.fragment&&p.fragmentSubject.next(f.fragment),Ze(v.params,f.params)||p.paramsSubject.next(f.params),function Qt(p,v){if(p.length!==v.length)return!1;for(let f=0;f<p.length;++f)if(!Ze(p[f],v[f]))return!1;return!0}(v.url,f.url)||p.urlSubject.next(f.url),Ze(v.data,f.data)||p.dataSubject.next(f.data)}else p.snapshot=p._futureSnapshot,p.dataSubject.next(p._futureSnapshot.data)}function ir(p,v){const f=Ze(p.params,v.params)&&function Ei(p,v){return Jn(p,v)&&p.every((f,b)=>Ze(f.parameters,v[b].parameters))}(p.url,v.url);return f&&!(!p.parent!=!v.parent)&&(!p.parent||ir(p.parent,v.parent))}let zi=(()=>{class p{constructor(){this.activated=null,this._activatedRoute=null,this.name=J,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.parentContexts=(0,o.f3M)(Li),this.location=(0,o.f3M)(o.s_b),this.changeDetector=(0,o.f3M)(o.sBO),this.environmentInjector=(0,o.f3M)(o.lqb),this.inputBinder=(0,o.f3M)(zr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(f){if(f.name){const{firstChange:b,previousValue:A}=f.name;if(b)return;this.isTrackedInParentContexts(A)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(A)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(f){return this.parentContexts.getContext(f)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const f=this.parentContexts.getContext(this.name);f?.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,!1);this.location.detach();const f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,b){this.activated=f,this._activatedRoute=b,this.location.insert(f.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,b){if(this.isActivated)throw new o.vHH(4013,!1);this._activatedRoute=f;const A=this.location,V=f.snapshot.component,fe=this.parentContexts.getOrCreateContext(this.name).children,et=new kr(f,fe,A.injector);this.activated=A.createComponent(V,{index:A.length,injector:et,environmentInjector:b??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return p.\u0275fac=function(f){return new(f||p)},p.\u0275dir=o.lG2({type:p,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.TTD]}),p})();class kr{constructor(v,f,b){this.route=v,this.childContexts=f,this.parent=b}get(v,f){return v===Mr?this.route:v===Li?this.childContexts:this.parent.get(v,f)}}const zr=new o.OlP("");let yn=(()=>{class p{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(f){this.unsubscribeFromRouteData(f),this.subscribeToRouteData(f)}unsubscribeFromRouteData(f){this.outletDataSubscriptions.get(f)?.unsubscribe(),this.outletDataSubscriptions.delete(f)}subscribeToRouteData(f){const{activatedRoute:b}=f,A=ze([b.queryParams,b.params,b.data]).pipe((0,Nn.w)(([B,V,fe],et)=>(fe={...B,...V,...fe},0===et?(0,ie.of)(fe):Promise.resolve(fe)))).subscribe(B=>{if(!f.isActivated||!f.activatedComponentRef||f.activatedRoute!==b||null===b.component)return void this.unsubscribeFromRouteData(f);const V=(0,o.qFp)(b.component);if(V)for(const{templateName:fe}of V.inputs)f.activatedComponentRef.setInput(fe,B[fe]);else this.unsubscribeFromRouteData(f)});this.outletDataSubscriptions.set(f,A)}}return p.\u0275fac=function(f){return new(f||p)},p.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac}),p})();function to(p,v,f){if(f&&p.shouldReuseRoute(v.value,f.value.snapshot)){const b=f.value;b._futureSnapshot=v.value;const A=function Vo(p,v,f){return v.children.map(b=>{for(const A of f.children)if(p.shouldReuseRoute(b.value,A.value.snapshot))return to(p,b,A);return to(p,b)})}(p,v,f);return new An(b,A)}{if(p.shouldAttach(v.value)){const B=p.retrieve(v.value);if(null!==B){const V=B.route;return V.value._futureSnapshot=v.value,V.children=v.children.map(fe=>to(p,fe)),V}}const b=function Bi(p){return new Mr(new we.X(p.url),new we.X(p.params),new we.X(p.queryParams),new we.X(p.fragment),new we.X(p.data),p.outlet,p.component,p)}(v.value),A=v.children.map(B=>to(p,B));return new An(b,A)}}const Wr="ngNavigationCancelingError";function Nr(p,v){const{redirectTo:f,navigationBehaviorOptions:b}=ln(v)?{redirectTo:v,navigationBehaviorOptions:void 0}:v,A=Yr(!1,0,v);return A.url=f,A.navigationBehaviorOptions=b,A}function Yr(p,v,f){const b=new Error("NavigationCancelingError: "+(p||""));return b[Wr]=!0,b.cancellationCode=v,f&&(b.url=f),b}function qn(p){return dr(p)&&ln(p.url)}function dr(p){return p&&p[Wr]}let si=(()=>{class p{}return p.\u0275fac=function(f){return new(f||p)},p.\u0275cmp=o.Xpm({type:p,selectors:[["ng-component"]],standalone:!0,features:[o.jDz],decls:1,vars:0,template:function(f,b){1&f&&o._UZ(0,"router-outlet")},dependencies:[zi],encapsulation:2}),p})();function wo(p){const v=p.children&&p.children.map(wo),f=v?{...p,children:v}:{...p};return!f.component&&!f.loadComponent&&(v||f.loadChildren)&&f.outlet&&f.outlet!==J&&(f.component=si),f}function fr(p){return p.outlet||J}function no(p){if(!p)return null;if(p.routeConfig?._injector)return p.routeConfig._injector;for(let v=p.parent;v;v=v.parent){const f=v.routeConfig;if(f?._loadedInjector)return f._loadedInjector;if(f?._injector)return f._injector}return null}class ns{constructor(v,f,b,A,B){this.routeReuseStrategy=v,this.futureState=f,this.currState=b,this.forwardEvent=A,this.inputBindingEnabled=B}activate(v){const f=this.futureState._root,b=this.currState?this.currState._root:null;this.deactivateChildRoutes(f,b,v),Gi(this.futureState.root),this.activateChildRoutes(f,b,v)}deactivateChildRoutes(v,f,b){const A=cr(f);v.children.forEach(B=>{const V=B.value.outlet;this.deactivateRoutes(B,A[V],b),delete A[V]}),Object.values(A).forEach(B=>{this.deactivateRouteAndItsChildren(B,b)})}deactivateRoutes(v,f,b){const A=v.value,B=f?f.value:null;if(A===B)if(A.component){const V=b.getContext(A.outlet);V&&this.deactivateChildRoutes(v,f,V.children)}else this.deactivateChildRoutes(v,f,b);else B&&this.deactivateRouteAndItsChildren(f,b)}deactivateRouteAndItsChildren(v,f){v.value.component&&this.routeReuseStrategy.shouldDetach(v.value.snapshot)?this.detachAndStoreRouteSubtree(v,f):this.deactivateRouteAndOutlet(v,f)}detachAndStoreRouteSubtree(v,f){const b=f.getContext(v.value.outlet),A=b&&v.value.component?b.children:f,B=cr(v);for(const V of Object.keys(B))this.deactivateRouteAndItsChildren(B[V],A);if(b&&b.outlet){const V=b.outlet.detach(),fe=b.children.onOutletDeactivated();this.routeReuseStrategy.store(v.value.snapshot,{componentRef:V,route:v,contexts:fe})}}deactivateRouteAndOutlet(v,f){const b=f.getContext(v.value.outlet),A=b&&v.value.component?b.children:f,B=cr(v);for(const V of Object.keys(B))this.deactivateRouteAndItsChildren(B[V],A);b&&(b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated()),b.attachRef=null,b.route=null)}activateChildRoutes(v,f,b){const A=cr(f);v.children.forEach(B=>{this.activateRoutes(B,A[B.value.outlet],b),this.forwardEvent(new gn(B.value.snapshot))}),v.children.length&&this.forwardEvent(new Xn(v.value.snapshot))}activateRoutes(v,f,b){const A=v.value,B=f?f.value:null;if(Gi(A),A===B)if(A.component){const V=b.getOrCreateContext(A.outlet);this.activateChildRoutes(v,f,V.children)}else this.activateChildRoutes(v,f,b);else if(A.component){const V=b.getOrCreateContext(A.outlet);if(this.routeReuseStrategy.shouldAttach(A.snapshot)){const fe=this.routeReuseStrategy.retrieve(A.snapshot);this.routeReuseStrategy.store(A.snapshot,null),V.children.onOutletReAttached(fe.contexts),V.attachRef=fe.componentRef,V.route=fe.route.value,V.outlet&&V.outlet.attach(fe.componentRef,fe.route.value),Gi(fe.route.value),this.activateChildRoutes(v,null,V.children)}else{const fe=no(A.snapshot);V.attachRef=null,V.route=A,V.injector=fe,V.outlet&&V.outlet.activateWith(A,V.injector),this.activateChildRoutes(v,null,V.children)}}else this.activateChildRoutes(v,null,b)}}class jo{constructor(v){this.path=v,this.route=this.path[this.path.length-1]}}class io{constructor(v,f){this.component=v,this.route=f}}function $o(p,v,f){const b=p._root;return Co(b,v?v._root:null,f,[b.value])}function co(p,v){const f=Symbol(),b=v.get(p,f);return b===f?"function"!=typeof p||(0,o.Z0I)(p)?v.get(p):p:b}function Co(p,v,f,b,A={canDeactivateChecks:[],canActivateChecks:[]}){const B=cr(v);return p.children.forEach(V=>{(function Uo(p,v,f,b,A={canDeactivateChecks:[],canActivateChecks:[]}){const B=p.value,V=v?v.value:null,fe=f?f.getContext(p.value.outlet):null;if(V&&B.routeConfig===V.routeConfig){const et=function Go(p,v,f){if("function"==typeof f)return f(p,v);switch(f){case"pathParamsChange":return!Jn(p.url,v.url);case"pathParamsOrQueryParamsChange":return!Jn(p.url,v.url)||!Ze(p.queryParams,v.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ir(p,v)||!Ze(p.queryParams,v.queryParams);default:return!ir(p,v)}}(V,B,B.routeConfig.runGuardsAndResolvers);et?A.canActivateChecks.push(new jo(b)):(B.data=V.data,B._resolvedData=V._resolvedData),Co(p,v,B.component?fe?fe.children:null:f,b,A),et&&fe&&fe.outlet&&fe.outlet.isActivated&&A.canDeactivateChecks.push(new io(fe.outlet.component,V))}else V&&Po(v,fe,A),A.canActivateChecks.push(new jo(b)),Co(p,null,B.component?fe?fe.children:null:f,b,A)})(V,B[V.value.outlet],f,b.concat([V.value]),A),delete B[V.value.outlet]}),Object.entries(B).forEach(([V,fe])=>Po(fe,f.getContext(V),A)),A}function Po(p,v,f){const b=cr(p),A=p.value;Object.entries(b).forEach(([B,V])=>{Po(V,A.component?v?v.children.getContext(B):null:v,f)}),f.canDeactivateChecks.push(new io(A.component&&v&&v.outlet&&v.outlet.isActivated?v.outlet.component:null,A))}function To(p){return"function"==typeof p}function Pn(p){return p instanceof ft||"EmptyError"===p?.name}const Vi=Symbol("INITIAL_VALUE");function Xi(){return(0,Nn.w)(p=>ze(p.map(v=>v.pipe((0,Ce.q)(1),(0,He.O)(Vi)))).pipe((0,Yt.U)(v=>{for(const f of v)if(!0!==f){if(f===Vi)return Vi;if(!1===f||f instanceof pi)return f}return!0}),(0,Ue.h)(v=>v!==Vi),(0,Ce.q)(1)))}function os(p){return(0,re.z)((0,Qe.b)(v=>{if(ln(v))throw Nr(0,v)}),(0,Yt.U)(v=>!0===v))}class Mo{constructor(v){this.segmentGroup=v||null}}class ss{constructor(v){this.urlTree=v}}function uo(p){return ye(new Mo(p))}function zo(p){return ye(new ss(p))}class g{constructor(v,f){this.urlSerializer=v,this.urlTree=f}noMatchError(v){return new o.vHH(4002,!1)}lineralizeSegments(v,f){let b=[],A=f.root;for(;;){if(b=b.concat(A.segments),0===A.numberOfChildren)return(0,ie.of)(b);if(A.numberOfChildren>1||!A.children[J])return ye(new o.vHH(4e3,!1));A=A.children[J]}}applyRedirectCommands(v,f,b){return this.applyRedirectCreateUrlTree(f,this.urlSerializer.parse(f),v,b)}applyRedirectCreateUrlTree(v,f,b,A){const B=this.createSegmentGroup(v,f.root,b,A);return new pi(B,this.createQueryParams(f.queryParams,this.urlTree.queryParams),f.fragment)}createQueryParams(v,f){const b={};return Object.entries(v).forEach(([A,B])=>{if("string"==typeof B&&B.startsWith(":")){const fe=B.substring(1);b[A]=f[fe]}else b[A]=B}),b}createSegmentGroup(v,f,b,A){const B=this.createSegments(v,f.segments,b,A);let V={};return Object.entries(f.children).forEach(([fe,et])=>{V[fe]=this.createSegmentGroup(v,et,b,A)}),new tn(B,V)}createSegments(v,f,b,A){return f.map(B=>B.path.startsWith(":")?this.findPosParam(v,B,A):this.findOrReturn(B,b))}findPosParam(v,f,b){const A=b[f.path.substring(1)];if(!A)throw new o.vHH(4001,!1);return A}findOrReturn(v,f){let b=0;for(const A of f){if(A.path===v.path)return f.splice(b),A;b++}return v}}const C={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function P(p,v,f,b,A){const B=H(p,v,f);return B.matched?(b=function Qi(p,v){return p.providers&&!p._injector&&(p._injector=(0,o.MMx)(p.providers,v,`Route: ${p.path}`)),p._injector??v}(v,b),function ys(p,v,f,b){const A=v.canMatch;if(!A||0===A.length)return(0,ie.of)(!0);const B=A.map(V=>{const fe=co(V,p);return hn(function L(p){return p&&To(p.canMatch)}(fe)?fe.canMatch(v,f):p.runInContext(()=>fe(v,f)))});return(0,ie.of)(B).pipe(Xi(),os())}(b,v,f).pipe((0,Yt.U)(V=>!0===V?B:{...C}))):(0,ie.of)(B)}function H(p,v,f){if(""===v.path)return"full"===v.pathMatch&&(p.hasChildren()||f.length>0)?{...C}:{matched:!0,consumedSegments:[],remainingSegments:f,parameters:{},positionalParamSegments:{}};const A=(v.matcher||pt)(f,p,v);if(!A)return{...C};const B={};Object.entries(A.posParams??{}).forEach(([fe,et])=>{B[fe]=et.path});const V=A.consumed.length>0?{...B,...A.consumed[A.consumed.length-1].parameters}:B;return{matched:!0,consumedSegments:A.consumed,remainingSegments:f.slice(A.consumed.length),parameters:V,positionalParamSegments:A.posParams??{}}}function Q(p,v,f,b){return f.length>0&&function Ge(p,v,f){return f.some(b=>Mt(p,v,b)&&fr(b)!==J)}(p,f,b)?{segmentGroup:new tn(v,Ee(b,new tn(f,p.children))),slicedSegments:[]}:0===f.length&&function yt(p,v,f){return f.some(b=>Mt(p,v,b))}(p,f,b)?{segmentGroup:new tn(p.segments,ee(p,0,f,b,p.children)),slicedSegments:f}:{segmentGroup:new tn(p.segments,p.children),slicedSegments:f}}function ee(p,v,f,b,A){const B={};for(const V of b)if(Mt(p,f,V)&&!A[fr(V)]){const fe=new tn([],{});B[fr(V)]=fe}return{...A,...B}}function Ee(p,v){const f={};f[J]=v;for(const b of p)if(""===b.path&&fr(b)!==J){const A=new tn([],{});f[fr(b)]=A}return f}function Mt(p,v,f){return(!(p.hasChildren()||v.length>0)||"full"!==f.pathMatch)&&""===f.path}class Gt{constructor(v,f,b,A,B,V,fe){this.injector=v,this.configLoader=f,this.rootComponentType=b,this.config=A,this.urlTree=B,this.paramsInheritanceStrategy=V,this.urlSerializer=fe,this.allowRedirects=!0,this.applyRedirects=new g(this.urlSerializer,this.urlTree)}noMatchError(v){return new o.vHH(4002,!1)}recognize(){const v=Q(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,v,J).pipe(Pt(f=>{if(f instanceof ss)return this.allowRedirects=!1,this.urlTree=f.urlTree,this.match(f.urlTree);throw f instanceof Mo?this.noMatchError(f):f}),(0,Yt.U)(f=>{const b=new xr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},J,this.rootComponentType,null,{}),A=new An(b,f),B=new Gr("",A),V=function ni(p,v,f=null,b=null){return ii($i(p),v,f,b)}(b,[],this.urlTree.queryParams,this.urlTree.fragment);return V.queryParams=this.urlTree.queryParams,B.url=this.urlSerializer.serialize(V),this.inheritParamsAndData(B._root),{state:B,tree:V}}))}match(v){return this.processSegmentGroup(this.injector,this.config,v.root,J).pipe(Pt(b=>{throw b instanceof Mo?this.noMatchError(b):b}))}inheritParamsAndData(v){const f=v.value,b=ur(f,this.paramsInheritanceStrategy);f.params=Object.freeze(b.params),f.data=Object.freeze(b.data),v.children.forEach(A=>this.inheritParamsAndData(A))}processSegmentGroup(v,f,b,A){return 0===b.segments.length&&b.hasChildren()?this.processChildren(v,f,b):this.processSegment(v,f,b,b.segments,A,!0)}processChildren(v,f,b){const A=[];for(const B of Object.keys(b.children))"primary"===B?A.unshift(B):A.push(B);return(0,ne.D)(A).pipe((0,Ft.b)(B=>{const V=b.children[B],fe=function Ho(p,v){const f=p.filter(b=>fr(b)===v);return f.push(...p.filter(b=>fr(b)!==v)),f}(f,B);return this.processSegmentGroup(v,fe,V,B)}),function _t(p,v){return(0,Me.e)(function kt(p,v,f,b,A){return(B,V)=>{let fe=f,et=v,Rt=0;B.subscribe((0,Fe.x)(V,Bt=>{const Kn=Rt++;et=fe?p(et,Bt,Kn):(fe=!0,Bt),b&&V.next(et)},A&&(()=>{fe&&V.next(et),V.complete()})))}}(p,v,arguments.length>=2,!0))}((B,V)=>(B.push(...V),B)),Xe(null),function qt(p,v){const f=arguments.length>=2;return b=>b.pipe(p?(0,Ue.h)((A,B)=>p(A,B,b)):Ie.y,tt(1),f?Xe(v):Oe(()=>new ft))}(),(0,je.z)(B=>{if(null===B)return uo(b);const V=un(B);return function fi(p){p.sort((v,f)=>v.value.outlet===J?-1:f.value.outlet===J?1:v.value.outlet.localeCompare(f.value.outlet))}(V),(0,ie.of)(V)}))}processSegment(v,f,b,A,B,V){return(0,ne.D)(f).pipe((0,Ft.b)(fe=>this.processSegmentAgainstRoute(fe._injector??v,f,fe,b,A,B,V).pipe(Pt(et=>{if(et instanceof Mo)return(0,ie.of)(null);throw et}))),vt(fe=>!!fe),Pt(fe=>{if(Pn(fe))return function cn(p,v,f){return 0===v.length&&!p.children[f]}(b,A,B)?(0,ie.of)([]):uo(b);throw fe}))}processSegmentAgainstRoute(v,f,b,A,B,V,fe){return function Mn(p,v,f,b){return!!(fr(p)===b||b!==J&&Mt(v,f,p))&&("**"===p.path||H(v,p,f).matched)}(b,A,B,V)?void 0===b.redirectTo?this.matchSegmentAgainstRoute(v,A,b,B,V,fe):fe&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(v,A,f,b,B,V):uo(A):uo(A)}expandSegmentAgainstRouteUsingRedirect(v,f,b,A,B,V){return"**"===A.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(v,b,A,V):this.expandRegularSegmentAgainstRouteUsingRedirect(v,f,b,A,B,V)}expandWildCardWithParamsAgainstRouteUsingRedirect(v,f,b,A){const B=this.applyRedirects.applyRedirectCommands([],b.redirectTo,{});return b.redirectTo.startsWith("/")?zo(B):this.applyRedirects.lineralizeSegments(b,B).pipe((0,je.z)(V=>{const fe=new tn(V,{});return this.processSegment(v,f,fe,V,A,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(v,f,b,A,B,V){const{matched:fe,consumedSegments:et,remainingSegments:Rt,positionalParamSegments:Bt}=H(f,A,B);if(!fe)return uo(f);const Kn=this.applyRedirects.applyRedirectCommands(et,A.redirectTo,Bt);return A.redirectTo.startsWith("/")?zo(Kn):this.applyRedirects.lineralizeSegments(A,Kn).pipe((0,je.z)(ki=>this.processSegment(v,b,f,ki.concat(Rt),V,!1)))}matchSegmentAgainstRoute(v,f,b,A,B,V){let fe;if("**"===b.path){const et=A.length>0?Dt(A).parameters:{},Rt=new xr(A,et,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ni(b),fr(b),b.component??b._loadedComponent??null,b,Ii(b));fe=(0,ie.of)({snapshot:Rt,consumedSegments:[],remainingSegments:[]}),f.children={}}else fe=P(f,b,A,v).pipe((0,Yt.U)(({matched:et,consumedSegments:Rt,remainingSegments:Bt,parameters:Kn})=>et?{snapshot:new xr(Rt,Kn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ni(b),fr(b),b.component??b._loadedComponent??null,b,Ii(b)),consumedSegments:Rt,remainingSegments:Bt}:null));return fe.pipe((0,Nn.w)(et=>null===et?uo(f):this.getChildConfig(v=b._injector??v,b,A).pipe((0,Nn.w)(({routes:Rt})=>{const Bt=b._loadedInjector??v,{snapshot:Kn,consumedSegments:ki,remainingSegments:da}=et,{segmentGroup:Ys,slicedSegments:Ks}=Q(f,ki,da,Rt);if(0===Ks.length&&Ys.hasChildren())return this.processChildren(Bt,Rt,Ys).pipe((0,Yt.U)(Ko=>null===Ko?null:[new An(Kn,Ko)]));if(0===Rt.length&&0===Ks.length)return(0,ie.of)([new An(Kn,[])]);const zt=fr(b)===B;return this.processSegment(Bt,Rt,Ys,Ks,zt?J:B,!0).pipe((0,Yt.U)(Ko=>[new An(Kn,Ko)]))}))))}getChildConfig(v,f,b){return f.children?(0,ie.of)({routes:f.children,injector:v}):f.loadChildren?void 0!==f._loadedRoutes?(0,ie.of)({routes:f._loadedRoutes,injector:f._loadedInjector}):function rs(p,v,f,b){const A=v.canLoad;if(void 0===A||0===A.length)return(0,ie.of)(!0);const B=A.map(V=>{const fe=co(V,p);return hn(function ro(p){return p&&To(p.canLoad)}(fe)?fe.canLoad(v,f):p.runInContext(()=>fe(v,f)))});return(0,ie.of)(B).pipe(Xi(),os())}(v,f,b).pipe((0,je.z)(A=>A?this.configLoader.loadChildren(v,f).pipe((0,Qe.b)(B=>{f._loadedRoutes=B.routes,f._loadedInjector=B.injector})):function h(p){return ye(Yr(!1,3))}())):(0,ie.of)({routes:[],injector:v})}}function Mi(p){const v=p.value.routeConfig;return v&&""===v.path}function un(p){const v=[],f=new Set;for(const b of p){if(!Mi(b)){v.push(b);continue}const A=v.find(B=>b.value.routeConfig===B.value.routeConfig);void 0!==A?(A.children.push(...b.children),f.add(A)):v.push(b)}for(const b of f){const A=un(b.children);v.push(new An(b.value,A))}return v.filter(b=>!f.has(b))}function Ni(p){return p.data||{}}function Ii(p){return p.resolve||{}}function be(p){return"string"==typeof p.title||null===p.title}function Ae(p){return(0,Nn.w)(v=>{const f=p(v);return f?(0,ne.D)(f).pipe((0,Yt.U)(()=>v)):(0,ie.of)(v)})}const wt=new o.OlP("ROUTES");let Fn=(()=>{class p{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.f3M)(o.Sil)}loadComponent(f){if(this.componentLoaders.get(f))return this.componentLoaders.get(f);if(f._loadedComponent)return(0,ie.of)(f._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(f);const b=hn(f.loadComponent()).pipe((0,Yt.U)(mt),(0,Qe.b)(B=>{this.onLoadEndListener&&this.onLoadEndListener(f),f._loadedComponent=B}),(0,bn.x)(()=>{this.componentLoaders.delete(f)})),A=new qe(b,()=>new Vt.x).pipe(Ke());return this.componentLoaders.set(f,A),A}loadChildren(f,b){if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,ie.of)({routes:b._loadedRoutes,injector:b._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(b);const B=this.loadModuleFactoryOrRoutes(b.loadChildren).pipe((0,Yt.U)(fe=>{this.onLoadEndListener&&this.onLoadEndListener(b);let et,Rt;return Array.isArray(fe)?Rt=fe:(et=fe.create(f).injector,Rt=et.get(wt,[],o.XFs.Self|o.XFs.Optional).flat()),{routes:Rt.map(wo),injector:et}}),(0,bn.x)(()=>{this.childrenLoaders.delete(b)})),V=new qe(B,()=>new Vt.x).pipe(Ke());return this.childrenLoaders.set(b,V),V}loadModuleFactoryOrRoutes(f){return hn(f()).pipe((0,Yt.U)(mt),(0,je.z)(b=>b instanceof o.YKP||Array.isArray(b)?(0,ie.of)(b):(0,ne.D)(this.compiler.compileModuleAsync(b))))}}return p.\u0275fac=function(f){return new(f||p)},p.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();function mt(p){return function dt(p){return p&&"object"==typeof p&&"default"in p}(p)?p.default:p}let ct=(()=>{class p{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Vt.x,this.configLoader=(0,o.f3M)(Fn),this.environmentInjector=(0,o.f3M)(o.lqb),this.urlSerializer=(0,o.f3M)(ci),this.rootContexts=(0,o.f3M)(Li),this.inputBindingEnabled=null!==(0,o.f3M)(zr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,ie.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=A=>this.events.next(new Et(A)),this.configLoader.onLoadStartListener=A=>this.events.next(new rt(A))}complete(){this.transitions?.complete()}handleNavigationRequest(f){const b=++this.navigationId;this.transitions?.next({...this.transitions.value,...f,id:b})}setupNavigations(f){return this.transitions=new we.X({id:0,currentUrlTree:f.currentUrlTree,currentRawUrl:f.currentUrlTree,extractedUrl:f.urlHandlingStrategy.extract(f.currentUrlTree),urlAfterRedirects:f.urlHandlingStrategy.extract(f.currentUrlTree),rawUrl:f.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ar,restoredState:null,currentSnapshot:f.routerState.snapshot,targetSnapshot:null,currentRouterState:f.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ue.h)(b=>0!==b.id),(0,Yt.U)(b=>({...b,extractedUrl:f.urlHandlingStrategy.extract(b.rawUrl)})),(0,Nn.w)(b=>{let A=!1,B=!1;return(0,ie.of)(b).pipe((0,Qe.b)(V=>{this.currentNavigation={id:V.id,initialUrl:V.rawUrl,extractedUrl:V.extractedUrl,trigger:V.source,extras:V.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Nn.w)(V=>{const fe=f.browserUrlTree.toString(),et=!f.navigated||V.extractedUrl.toString()!==fe||fe!==f.currentUrlTree.toString();if(!et&&"reload"!==(V.extras.onSameUrlNavigation??f.onSameUrlNavigation)){const Bt="";return this.events.next(new Ui(V.id,f.serializeUrl(b.rawUrl),Bt,0)),f.rawUrlTree=V.rawUrl,V.resolve(null),pe.E}if(f.urlHandlingStrategy.shouldProcessUrl(V.rawUrl))return Ut(V.source)&&(f.browserUrlTree=V.extractedUrl),(0,ie.of)(V).pipe((0,Nn.w)(Bt=>{const Kn=this.transitions?.getValue();return this.events.next(new lr(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),Bt.source,Bt.restoredState)),Kn!==this.transitions?.getValue()?pe.E:Promise.resolve(Bt)}),function hr(p,v,f,b,A,B){return(0,je.z)(V=>function Kt(p,v,f,b,A,B,V="emptyOnly"){return new Gt(p,v,f,b,A,V,B).recognize()}(p,v,f,b,V.extractedUrl,A,B).pipe((0,Yt.U)(({state:fe,tree:et})=>({...V,targetSnapshot:fe,urlAfterRedirects:et}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,f.config,this.urlSerializer,f.paramsInheritanceStrategy),(0,Qe.b)(Bt=>{if(b.targetSnapshot=Bt.targetSnapshot,b.urlAfterRedirects=Bt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Bt.urlAfterRedirects},"eager"===f.urlUpdateStrategy){if(!Bt.extras.skipLocationChange){const ki=f.urlHandlingStrategy.merge(Bt.urlAfterRedirects,Bt.rawUrl);f.setBrowserUrl(ki,Bt)}f.browserUrlTree=Bt.urlAfterRedirects}const Kn=new sn(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),this.urlSerializer.serialize(Bt.urlAfterRedirects),Bt.targetSnapshot);this.events.next(Kn)}));if(et&&f.urlHandlingStrategy.shouldProcessUrl(f.rawUrlTree)){const{id:Bt,extractedUrl:Kn,source:ki,restoredState:da,extras:Ys}=V,Ks=new lr(Bt,this.urlSerializer.serialize(Kn),ki,da);this.events.next(Ks);const zt=Zt(0,this.rootComponentType).snapshot;return b={...V,targetSnapshot:zt,urlAfterRedirects:Kn,extras:{...Ys,skipLocationChange:!1,replaceUrl:!1}},(0,ie.of)(b)}{const Bt="";return this.events.next(new Ui(V.id,f.serializeUrl(b.extractedUrl),Bt,1)),f.rawUrlTree=V.rawUrl,V.resolve(null),pe.E}}),(0,Qe.b)(V=>{const fe=new x(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot);this.events.next(fe)}),(0,Yt.U)(V=>b={...V,guards:$o(V.targetSnapshot,V.currentSnapshot,this.rootContexts)}),function xi(p,v){return(0,je.z)(f=>{const{targetSnapshot:b,currentSnapshot:A,guards:{canActivateChecks:B,canDeactivateChecks:V}}=f;return 0===V.length&&0===B.length?(0,ie.of)({...f,guardsResult:!0}):function Jr(p,v,f,b){return(0,ne.D)(p).pipe((0,je.z)(A=>function So(p,v,f,b,A){const B=v&&v.routeConfig?v.routeConfig.canDeactivate:null;if(!B||0===B.length)return(0,ie.of)(!0);const V=B.map(fe=>{const et=no(v)??A,Rt=co(fe,et);return hn(function w(p){return p&&To(p.canDeactivate)}(Rt)?Rt.canDeactivate(p,v,f,b):et.runInContext(()=>Rt(p,v,f,b))).pipe(vt())});return(0,ie.of)(V).pipe(Xi())}(A.component,A.route,f,v,b)),vt(A=>!0!==A,!0))}(V,b,A,p).pipe((0,je.z)(fe=>fe&&function _i(p){return"boolean"==typeof p}(fe)?function vi(p,v,f,b){return(0,ne.D)(v).pipe((0,Ft.b)(A=>(0,Ht.z)(function xo(p,v){return null!==p&&v&&v(new Xt(p)),(0,ie.of)(!0)}(A.route.parent,b),function mo(p,v){return null!==p&&v&&v(new di(p)),(0,ie.of)(!0)}(A.route,b),function vs(p,v,f){const b=v[v.length-1],B=v.slice(0,v.length-1).reverse().map(V=>function js(p){const v=p.routeConfig?p.routeConfig.canActivateChild:null;return v&&0!==v.length?{node:p,guards:v}:null}(V)).filter(V=>null!==V).map(V=>(0,X.P)(()=>{const fe=V.guards.map(et=>{const Rt=no(V.node)??f,Bt=co(et,Rt);return hn(function T(p){return p&&To(p.canActivateChild)}(Bt)?Bt.canActivateChild(b,p):Rt.runInContext(()=>Bt(b,p))).pipe(vt())});return(0,ie.of)(fe).pipe(Xi())}));return(0,ie.of)(B).pipe(Xi())}(p,A.path,f),function is(p,v,f){const b=v.routeConfig?v.routeConfig.canActivate:null;if(!b||0===b.length)return(0,ie.of)(!0);const A=b.map(B=>(0,X.P)(()=>{const V=no(v)??f,fe=co(B,V);return hn(function M(p){return p&&To(p.canActivate)}(fe)?fe.canActivate(v,p):V.runInContext(()=>fe(v,p))).pipe(vt())}));return(0,ie.of)(A).pipe(Xi())}(p,A.route,f))),vt(A=>!0!==A,!0))}(b,B,p,v):(0,ie.of)(fe)),(0,Yt.U)(fe=>({...f,guardsResult:fe})))})}(this.environmentInjector,V=>this.events.next(V)),(0,Qe.b)(V=>{if(b.guardsResult=V.guardsResult,ln(V.guardsResult))throw Nr(0,V.guardsResult);const fe=new $(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot,!!V.guardsResult);this.events.next(fe)}),(0,Ue.h)(V=>!!V.guardsResult||(f.restoreHistory(V),this.cancelNavigationTransition(V,"",3),!1)),Ae(V=>{if(V.guards.canActivateChecks.length)return(0,ie.of)(V).pipe((0,Qe.b)(fe=>{const et=new Z(fe.id,this.urlSerializer.serialize(fe.extractedUrl),this.urlSerializer.serialize(fe.urlAfterRedirects),fe.targetSnapshot);this.events.next(et)}),(0,Nn.w)(fe=>{let et=!1;return(0,ie.of)(fe).pipe(function y(p,v){return(0,je.z)(f=>{const{targetSnapshot:b,guards:{canActivateChecks:A}}=f;if(!A.length)return(0,ie.of)(f);let B=0;return(0,ne.D)(A).pipe((0,Ft.b)(V=>function I(p,v,f,b){const A=p.routeConfig,B=p._resolve;return void 0!==A?.title&&!be(A)&&(B[Ne]=A.title),function E(p,v,f,b){const A=function F(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}(p);if(0===A.length)return(0,ie.of)({});const B={};return(0,ne.D)(A).pipe((0,je.z)(V=>function Y(p,v,f,b){const A=no(v)??b,B=co(p,A);return hn(B.resolve?B.resolve(v,f):A.runInContext(()=>B(v,f)))}(p[V],v,f,b).pipe(vt(),(0,Qe.b)(fe=>{B[V]=fe}))),tt(1),(0,fn.h)(B),Pt(V=>Pn(V)?pe.E:ye(V)))}(B,p,v,b).pipe((0,Yt.U)(V=>(p._resolvedData=V,p.data=ur(p,f).resolve,A&&be(A)&&(p.data[Ne]=A.title),null)))}(V.route,b,p,v)),(0,Qe.b)(()=>B++),tt(1),(0,je.z)(V=>B===A.length?(0,ie.of)(f):pe.E))})}(f.paramsInheritanceStrategy,this.environmentInjector),(0,Qe.b)({next:()=>et=!0,complete:()=>{et||(f.restoreHistory(fe),this.cancelNavigationTransition(fe,"",2))}}))}),(0,Qe.b)(fe=>{const et=new ve(fe.id,this.urlSerializer.serialize(fe.extractedUrl),this.urlSerializer.serialize(fe.urlAfterRedirects),fe.targetSnapshot);this.events.next(et)}))}),Ae(V=>{const fe=et=>{const Rt=[];et.routeConfig?.loadComponent&&!et.routeConfig._loadedComponent&&Rt.push(this.configLoader.loadComponent(et.routeConfig).pipe((0,Qe.b)(Bt=>{et.component=Bt}),(0,Yt.U)(()=>{})));for(const Bt of et.children)Rt.push(...fe(Bt));return Rt};return ze(fe(V.targetSnapshot.root)).pipe(Xe(),(0,Ce.q)(1))}),Ae(()=>this.afterPreactivation()),(0,Yt.U)(V=>{const fe=function Oo(p,v,f){const b=to(p,v._root,f?f._root:void 0);return new vr(b,v)}(f.routeReuseStrategy,V.targetSnapshot,V.currentRouterState);return b={...V,targetRouterState:fe}}),(0,Qe.b)(V=>{f.currentUrlTree=V.urlAfterRedirects,f.rawUrlTree=f.urlHandlingStrategy.merge(V.urlAfterRedirects,V.rawUrl),f.routerState=V.targetRouterState,"deferred"===f.urlUpdateStrategy&&(V.extras.skipLocationChange||f.setBrowserUrl(f.rawUrlTree,V),f.browserUrlTree=V.urlAfterRedirects)}),((p,v,f,b)=>(0,Yt.U)(A=>(new ns(v,A.targetRouterState,A.currentRouterState,f,b).activate(p),A)))(this.rootContexts,f.routeReuseStrategy,V=>this.events.next(V),this.inputBindingEnabled),(0,Ce.q)(1),(0,Qe.b)({next:V=>{A=!0,this.lastSuccessfulNavigation=this.currentNavigation,f.navigated=!0,this.events.next(new _r(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(f.currentUrlTree))),f.titleStrategy?.updateTitle(V.targetRouterState.snapshot),V.resolve(!0)},complete:()=>{A=!0}}),(0,bn.x)(()=>{A||B||this.cancelNavigationTransition(b,"",1),this.currentNavigation?.id===b.id&&(this.currentNavigation=null)}),Pt(V=>{if(B=!0,dr(V)){qn(V)||(f.navigated=!0,f.restoreHistory(b,!0));const fe=new Zi(b.id,this.urlSerializer.serialize(b.extractedUrl),V.message,V.cancellationCode);if(this.events.next(fe),qn(V)){const et=f.urlHandlingStrategy.merge(V.url,f.rawUrlTree),Rt={skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===f.urlUpdateStrategy||Ut(b.source)};f.scheduleNavigation(et,ar,null,Rt,{resolve:b.resolve,reject:b.reject,promise:b.promise})}else b.resolve(!1)}else{f.restoreHistory(b,!0);const fe=new $r(b.id,this.urlSerializer.serialize(b.extractedUrl),V,b.targetSnapshot??void 0);this.events.next(fe);try{b.resolve(f.errorHandler(V))}catch(et){b.reject(et)}}return pe.E}))}))}cancelNavigationTransition(f,b,A){const B=new Zi(f.id,this.urlSerializer.serialize(f.extractedUrl),b,A);this.events.next(B),f.resolve(!1)}}return p.\u0275fac=function(f){return new(f||p)},p.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();function Ut(p){return p!==ar}let st=(()=>{class p{buildTitle(f){let b,A=f.root;for(;void 0!==A;)b=this.getResolvedTitleForRoute(A)??b,A=A.children.find(B=>B.outlet===J);return b}getResolvedTitleForRoute(f){return f.data[Ne]}}return p.\u0275fac=function(f){return new(f||p)},p.\u0275prov=o.Yz7({token:p,factory:function(){return(0,o.f3M)(Yn)},providedIn:"root"}),p})(),Yn=(()=>{class p extends st{constructor(f){super(),this.title=f}updateTitle(f){const b=this.buildTitle(f);void 0!==b&&this.title.setTitle(b)}}return p.\u0275fac=function(f){return new(f||p)(o.LFG(he.Dx))},p.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),Fi=(()=>{class p{}return p.\u0275fac=function(f){return new(f||p)},p.\u0275prov=o.Yz7({token:p,factory:function(){return(0,o.f3M)(zn)},providedIn:"root"}),p})();class Wi{shouldDetach(v){return!1}store(v,f){}shouldAttach(v){return!1}retrieve(v){return null}shouldReuseRoute(v,f){return v.routeConfig===f.routeConfig}}let zn=(()=>{class p extends Wi{}return p.\u0275fac=function(){let v;return function(b){return(v||(v=o.n5z(p)))(b||p)}}(),p.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();const er=new o.OlP("",{providedIn:"root",factory:()=>({})});let oo=(()=>{class p{}return p.\u0275fac=function(f){return new(f||p)},p.\u0275prov=o.Yz7({token:p,factory:function(){return(0,o.f3M)(kn)},providedIn:"root"}),p})(),kn=(()=>{class p{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,b){return f}}return p.\u0275fac=function(f){return new(f||p)},p.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();var En=(()=>((En=En||{})[En.COMPLETE=0]="COMPLETE",En[En.FAILED=1]="FAILED",En[En.REDIRECTING=2]="REDIRECTING",En))();function Lr(p,v){p.events.pipe((0,Ue.h)(f=>f instanceof _r||f instanceof Zi||f instanceof $r||f instanceof Ui),(0,Yt.U)(f=>f instanceof _r||f instanceof Ui?En.COMPLETE:f instanceof Zi&&(0===f.code||1===f.code)?En.REDIRECTING:En.FAILED),(0,Ue.h)(f=>f!==En.REDIRECTING),(0,Ce.q)(1)).subscribe(()=>{v()})}function as(p){throw p}function Wo(p,v,f){return v.parse("/")}const $s={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},nt={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let dn=(()=>{class p{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,o.f3M)(o.c2e),this.isNgZoneEnabled=!1,this.options=(0,o.f3M)(er,{optional:!0})||{},this.pendingTasks=(0,o.f3M)(o.HDt),this.errorHandler=this.options.errorHandler||as,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Wo,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,o.f3M)(oo),this.routeReuseStrategy=(0,o.f3M)(Fi),this.titleStrategy=(0,o.f3M)(st),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,o.f3M)(wt,{optional:!0})?.flat()??[],this.navigationTransitions=(0,o.f3M)(ct),this.urlSerializer=(0,o.f3M)(ci),this.location=(0,o.f3M)(jt.Ye),this.componentInputBindingEnabled=!!(0,o.f3M)(zr,{optional:!0}),this.isNgZoneEnabled=(0,o.f3M)(o.R0b)instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new pi,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Zt(0,null),this.navigationTransitions.setupNavigations(this).subscribe(f=>{this.lastSuccessfulId=f.id,this.currentPageId=this.browserPageId??0},f=>{this.console.warn(`Unhandled Navigation Error: ${f}`)})}resetRootComponentType(f){this.routerState.root.component=f,this.navigationTransitions.rootComponentType=f}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const f=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ar,f)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(f=>{const b="popstate"===f.type?"popstate":"hashchange";"popstate"===b&&setTimeout(()=>{this.navigateToSyncWithBrowser(f.url,b,f.state)},0)}))}navigateToSyncWithBrowser(f,b,A){const B={replaceUrl:!0},V=A?.navigationId?A:null;if(A){const et={...A};delete et.navigationId,delete et.\u0275routerPageId,0!==Object.keys(et).length&&(B.state=et)}const fe=this.parseUrl(f);this.scheduleNavigation(fe,b,V,B)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(f){this.config=f.map(wo),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(f,b={}){const{relativeTo:A,queryParams:B,fragment:V,queryParamsHandling:fe,preserveFragment:et}=b,Rt=et?this.currentUrlTree.fragment:V;let Kn,Bt=null;switch(fe){case"merge":Bt={...this.currentUrlTree.queryParams,...B};break;case"preserve":Bt=this.currentUrlTree.queryParams;break;default:Bt=B||null}null!==Bt&&(Bt=this.removeEmptyProps(Bt));try{Kn=$i(A?A.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof f[0]||!f[0].startsWith("/"))&&(f=[]),Kn=this.currentUrlTree.root}return ii(Kn,f,Bt,Rt??null)}navigateByUrl(f,b={skipLocationChange:!1}){const A=ln(f)?f:this.parseUrl(f),B=this.urlHandlingStrategy.merge(A,this.rawUrlTree);return this.scheduleNavigation(B,ar,null,b)}navigate(f,b={skipLocationChange:!1}){return function Us(p){for(let v=0;v<p.length;v++)if(null==p[v])throw new o.vHH(4008,!1)}(f),this.navigateByUrl(this.createUrlTree(f,b),b)}serializeUrl(f){return this.urlSerializer.serialize(f)}parseUrl(f){let b;try{b=this.urlSerializer.parse(f)}catch(A){b=this.malformedUriErrorHandler(A,this.urlSerializer,f)}return b}isActive(f,b){let A;if(A=!0===b?{...$s}:!1===b?{...nt}:b,ln(f))return pn(this.currentUrlTree,f,A);const B=this.parseUrl(f);return pn(this.currentUrlTree,B,A)}removeEmptyProps(f){return Object.keys(f).reduce((b,A)=>{const B=f[A];return null!=B&&(b[A]=B),b},{})}scheduleNavigation(f,b,A,B,V){if(this.disposed)return Promise.resolve(!1);let fe,et,Rt;V?(fe=V.resolve,et=V.reject,Rt=V.promise):Rt=new Promise((Kn,ki)=>{fe=Kn,et=ki});const Bt=this.pendingTasks.add();return Lr(this,()=>{Promise.resolve().then(()=>this.pendingTasks.remove(Bt))}),this.navigationTransitions.handleNavigationRequest({source:b,restoredState:A,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:f,extras:B,resolve:fe,reject:et,promise:Rt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Rt.catch(Kn=>Promise.reject(Kn))}setBrowserUrl(f,b){const A=this.urlSerializer.serialize(f);if(this.location.isCurrentPathEqualTo(A)||b.extras.replaceUrl){const V={...b.extras.state,...this.generateNgRouterState(b.id,this.browserPageId)};this.location.replaceState(A,"",V)}else{const B={...b.extras.state,...this.generateNgRouterState(b.id,(this.browserPageId??0)+1)};this.location.go(A,"",B)}}restoreHistory(f,b=!1){if("computed"===this.canceledNavigationResolution){const B=this.currentPageId-(this.browserPageId??this.currentPageId);0!==B?this.location.historyGo(B):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===B&&(this.resetState(f),this.browserUrlTree=f.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(b&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=f.currentRouterState,this.currentUrlTree=f.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(f,b){return"computed"===this.canceledNavigationResolution?{navigationId:f,\u0275routerPageId:b}:{navigationId:f}}}return p.\u0275fac=function(f){return new(f||p)},p.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();class ls{}let sa=(()=>{class p{constructor(f,b,A,B,V){this.router=f,this.injector=A,this.preloadingStrategy=B,this.loader=V}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ue.h)(f=>f instanceof _r),(0,Ft.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,b){const A=[];for(const B of b){B.providers&&!B._injector&&(B._injector=(0,o.MMx)(B.providers,f,`Route: ${B.path}`));const V=B._injector??f,fe=B._loadedInjector??V;(B.loadChildren&&!B._loadedRoutes&&void 0===B.canLoad||B.loadComponent&&!B._loadedComponent)&&A.push(this.preloadConfig(V,B)),(B.children||B._loadedRoutes)&&A.push(this.processRoutes(fe,B.children??B._loadedRoutes))}return(0,ne.D)(A).pipe((0,mn.J)())}preloadConfig(f,b){return this.preloadingStrategy.preload(b,()=>{let A;A=b.loadChildren&&void 0===b.canLoad?this.loader.loadChildren(f,b):(0,ie.of)(null);const B=A.pipe((0,je.z)(V=>null===V?(0,ie.of)(void 0):(b._loadedRoutes=V.routes,b._loadedInjector=V.injector,this.processRoutes(V.injector??f,V.routes))));if(b.loadComponent&&!b._loadedComponent){const V=this.loader.loadComponent(b);return(0,ne.D)([B,V]).pipe((0,mn.J)())}return B})}}return p.\u0275fac=function(f){return new(f||p)(o.LFG(dn),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(ls),o.LFG(Fn))},p.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();const Ds=new o.OlP("");let Vl=(()=>{class p{constructor(f,b,A,B,V={}){this.urlSerializer=f,this.transitions=b,this.viewportScroller=A,this.zone=B,this.options=V,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},V.scrollPositionRestoration=V.scrollPositionRestoration||"disabled",V.anchorScrolling=V.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(f=>{f instanceof lr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof _r?(this.lastId=f.id,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.urlAfterRedirects).fragment)):f instanceof Ui&&0===f.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof gt&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(f,b){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new gt(f,"popstate"===this.lastSource?this.store[this.restoredId]:null,b))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return p.\u0275fac=function(f){o.$Z()},p.\u0275prov=o.Yz7({token:p,factory:p.\u0275fac}),p})();function or(p,v){return{\u0275kind:p,\u0275providers:v}}function xa(){const p=(0,o.f3M)(o.zs3);return v=>{const f=p.get(o.z2F);if(v!==f.components[0])return;const b=p.get(dn),A=p.get(aa);1===p.get(Fa)&&b.initialNavigation(),p.get(zs,null,o.XFs.Optional)?.setUpPreloading(),p.get(Ds,null,o.XFs.Optional)?.init(),b.resetRootComponentType(f.componentTypes[0]),A.closed||(A.next(),A.complete(),A.unsubscribe())}}const aa=new o.OlP("",{factory:()=>new Vt.x}),Fa=new o.OlP("",{providedIn:"root",factory:()=>1}),zs=new o.OlP("");function Va(p){return or(0,[{provide:zs,useExisting:sa},{provide:ls,useExisting:p}])}const Ha=new o.OlP("ROUTER_FORROOT_GUARD"),ja=[jt.Ye,{provide:ci,useClass:jn},dn,Li,{provide:Mr,useFactory:function pr(p){return p.routerState.root},deps:[dn]},Fn,[]];function Yc(){return new o.PXZ("Router",dn)}let Kc=(()=>{class p{constructor(f){}static forRoot(f,b){return{ngModule:p,providers:[ja,[],{provide:wt,multi:!0,useValue:f},{provide:Ha,useFactory:cs,deps:[[dn,new o.FiY,new o.tp0]]},{provide:er,useValue:b||{}},b?.useHash?{provide:jt.S$,useClass:jt.Do}:{provide:jt.S$,useClass:jt.b0},{provide:Ds,useFactory:()=>{const p=(0,o.f3M)(jt.EM),v=(0,o.f3M)(o.R0b),f=(0,o.f3M)(er),b=(0,o.f3M)(ct),A=(0,o.f3M)(ci);return f.scrollOffset&&p.setOffset(f.scrollOffset),new Vl(A,b,p,v,f)}},b?.preloadingStrategy?Va(b.preloadingStrategy).\u0275providers:[],{provide:o.PXZ,multi:!0,useFactory:Yc},b?.initialNavigation?$a(b):[],b?.bindToComponentInputs?or(8,[yn,{provide:zr,useExisting:yn}]).\u0275providers:[],[{provide:Ua,useFactory:xa},{provide:o.tb,multi:!0,useExisting:Ua}]]}}static forChild(f){return{ngModule:p,providers:[{provide:wt,multi:!0,useValue:f}]}}}return p.\u0275fac=function(f){return new(f||p)(o.LFG(Ha,8))},p.\u0275mod=o.oAB({type:p}),p.\u0275inj=o.cJS({}),p})();function cs(p){return"guarded"}function $a(p){return["disabled"===p.initialNavigation?or(3,[{provide:o.ip1,multi:!0,useFactory:()=>{const v=(0,o.f3M)(dn);return()=>{v.setUpLocationChangeListener()}}},{provide:Fa,useValue:2}]).\u0275providers:[],"enabledBlocking"===p.initialNavigation?or(2,[{provide:Fa,useValue:0},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:v=>{const f=v.get(jt.V_,Promise.resolve());return()=>f.then(()=>new Promise(b=>{const A=v.get(dn),B=v.get(aa);Lr(A,()=>{b(!0)}),v.get(ct).afterPreactivation=()=>(b(!0),B.closed?(0,ie.of)(void 0):B),A.initialNavigation()}))}}]).\u0275providers:[]]}const Ua=new o.OlP("")},4713:(Nt,Se,R)=>{"use strict";R.d(Se,{_D:()=>Ds,IJ:()=>Ru});var o=R(2223),j=R(9751),oe=R(515),De=R(9646),ne=R(7579),ie=R(4968),we=R(5963),$e=R(8421);const{isArray:Ie}=Array;function le(a){return 1===a.length&&Ie(a[0])?a[0]:a}var de=R(5403);R(6451);var ze=R(3269);function Ye(...a){const u=(0,ze.jO)(a),r=le(a);return r.length?new j.y(c=>{let m=r.map(()=>[]),S=r.map(()=>!1);c.add(()=>{m=S=null});for(let G=0;!c.closed&&G<r.length;G++)(0,$e.Xf)(r[G]).subscribe((0,de.x)(c,te=>{if(m[G].push(te),m.every(ae=>ae.length)){const ae=m.map(Te=>Te.shift());c.next(u?u(...ae):ae),m.some((Te,xe)=>!Te.length&&S[xe])&&c.complete()}},()=>{S[G]=!0,!m[G].length&&c.complete()}));return()=>{m=S=null}}):oe.E}var Ct=R(7272),ft=R(2722),Ht=R(9300),X=R(5698),re=R(8505),ye=R(4004),pe=R(4482),me=R(4671),Me=R(5032);function Ke(...a){const u=(0,ze.jO)(a);return(0,pe.e)((r,c)=>{const m=a.length,S=new Array(m);let G=a.map(()=>!1),te=!1;for(let ae=0;ae<m;ae++)(0,$e.Xf)(a[ae]).subscribe((0,de.x)(c,Te=>{S[ae]=Te,!te&&!G[ae]&&(G[ae]=!0,(te=G.every(me.y))&&(G=null))},Me.Z));r.subscribe((0,de.x)(c,ae=>{if(te){const Te=[ae,...S];c.next(u?u(...Te):Te)}}))})}R(4049),R(9718),R(5577);var He=R(3900);R(8675),R(1884);var Oe=R(4755);R(5030),Math,Math,Math;const Gr=["*"],jo=["dialog"];function Y(a){return"string"==typeof a}function wt(a){return null!=a}function st(a){return(a||document.body).getBoundingClientRect()}const zn={animation:!0,transitionTimerDelayMs:5},er=()=>{},{transitionTimerDelayMs:oo}=zn,kn=new Map,En=(a,u,r,c)=>{let m=c.context||{};const S=kn.get(u);if(S)switch(c.runningTransition){case"continue":return oe.E;case"stop":a.run(()=>S.transition$.complete()),m=Object.assign(S.context,m),kn.delete(u)}const G=r(u,c.animation,m)||er;if(!c.animation||"none"===window.getComputedStyle(u).transitionProperty)return a.run(()=>G()),(0,De.of)(void 0).pipe(function Yn(a){return u=>new j.y(r=>u.subscribe({next:G=>a.run(()=>r.next(G)),error:G=>a.run(()=>r.error(G)),complete:()=>a.run(()=>r.complete())}))}(a));const te=new ne.x,ae=new ne.x,Te=te.pipe(function xt(...a){return u=>(0,Ct.z)(u,(0,De.of)(...a))}(!0));kn.set(u,{transition$:te,complete:()=>{ae.next(),ae.complete()},context:m});const xe=function Wi(a){const{transitionDelay:u,transitionDuration:r}=window.getComputedStyle(a);return 1e3*(parseFloat(u)+parseFloat(r))}(u);return a.runOutsideAngular(()=>{const Ot=(0,ie.R)(u,"transitionend").pipe((0,ft.R)(Te),(0,Ht.h)(({target:At})=>At===u));(function ue(...a){return 1===(a=le(a)).length?(0,$e.Xf)(a[0]):new j.y(function Fe(a){return u=>{let r=[];for(let c=0;r&&!u.closed&&c<a.length;c++)r.push((0,$e.Xf)(a[c]).subscribe((0,de.x)(u,m=>{if(r){for(let S=0;S<r.length;S++)S!==c&&r[S].unsubscribe();r=null}u.next(m)})))}}(a))})((0,we.H)(xe+oo).pipe((0,ft.R)(Te)),Ot,ae).pipe((0,ft.R)(Te)).subscribe(()=>{kn.delete(u),a.run(()=>{G(),te.next(),te.complete()})})}),te.asObservable()},Wo=(a,u,r)=>{let{direction:c,maxSize:m,dimension:S}=r;const{classList:G}=a;function te(){G.add("collapse"),"show"===c?G.add("show"):G.remove("show")}if(u)return m||(m=function as(a,u){if(typeof navigator>"u")return"0px";const{classList:r}=a,c=r.contains("show");c||r.add("show"),a.style[u]="";const m=a.getBoundingClientRect()[u]+"px";return c||r.remove("show"),m}(a,S),r.maxSize=m,a.style[S]="show"!==c?m:"0px",G.remove("collapse"),G.remove("collapsing"),G.remove("show"),st(a),G.add("collapsing")),a.style[S]="show"===c?m:"0px",()=>{te(),G.remove("collapsing"),a.style[S]=""};te()};let $s=(()=>{class a{constructor(){this.animation=zn.animation}}return a.\u0275fac=function(r){return new(r||a)},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),sa=(()=>{class a{constructor(r){this._ngbConfig=r,this.horizontal=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(r){this._animation=r}}return a.\u0275fac=function(r){return new(r||a)(o.LFG($s))},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Ds=(()=>{class a{set collapsed(r){this._isCollapsed!==r&&(this._isCollapsed=r,this._afterInit&&this._runTransitionWithEvents(r,this.animation))}constructor(r,c,m){this._element=r,this._zone=m,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new o.vpe,this.shown=new o.vpe,this.hidden=new o.vpe,this.animation=c.animation,this.horizontal=c.horizontal}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(r=this._isCollapsed){this.collapsed=!r,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(r,c){return En(this._zone,this._element.nativeElement,Wo,{animation:c,runningTransition:"stop",context:{direction:r?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(r,c){this._runTransition(r,c).subscribe(()=>{r?this.hidden.emit():this.shown.emit()})}}return a.\u0275fac=function(r){return new(r||a)(o.Y36(o.SBq),o.Y36(sa),o.Y36(o.R0b))},a.\u0275dir=o.lG2({type:a,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(r,c){2&r&&o.ekj("collapse-horizontal",c.horizontal)},inputs:{animation:"animation",collapsed:["ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],standalone:!0}),a})(),aa=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})(),Ba=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})(),br=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})(),Fo=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})();var zt=(()=>((zt=zt||{})[zt.Tab=9]="Tab",zt[zt.Enter=13]="Enter",zt[zt.Escape=27]="Escape",zt[zt.Space=32]="Space",zt[zt.PageUp=33]="PageUp",zt[zt.PageDown=34]="PageDown",zt[zt.End=35]="End",zt[zt.Home=36]="Home",zt[zt.ArrowLeft=37]="ArrowLeft",zt[zt.ArrowUp=38]="ArrowUp",zt[zt.ArrowRight=39]="ArrowRight",zt[zt.ArrowDown=40]="ArrowDown",zt))();typeof navigator<"u"&&navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));const zl=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Ja(a){const u=Array.from(a.querySelectorAll(zl)).filter(r=>-1!==r.tabIndex);return[u[0],u[u.length-1]]}new Date(1882,10,12),new Date(2174,10,25);let lu=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})(),du=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})();class qo{constructor(u,r,c){this.nodes=u,this.viewRef=r,this.componentRef=c}}let yp=(()=>{class a{constructor(r,c){this._el=r,this._zone=c}ngOnInit(){this._zone.onStable.asObservable().pipe((0,X.q)(1)).subscribe(()=>{En(this._zone,this._el.nativeElement,(r,c)=>{c&&st(r),r.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return En(this._zone,this._el.nativeElement,({classList:r})=>r.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return a.\u0275fac=function(r){return new(r||a)(o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(r,c){2&r&&(o.Tol("modal-backdrop"+(c.backdropClass?" "+c.backdropClass:"")),o.ekj("show",!c.animation)("fade",c.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[o.jDz],decls:0,vars:0,template:function(r,c){},encapsulation:2}),a})();class rl{update(u){}close(u){}dismiss(u){}}const bp=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],Dp=["animation","backdropClass"];class Ep{_applyWindowOptions(u,r){bp.forEach(c=>{wt(r[c])&&(u[c]=r[c])})}_applyBackdropOptions(u,r){Dp.forEach(c=>{wt(r[c])&&(u[c]=r[c])})}update(u){this._applyWindowOptions(this._windowCmptRef.instance,u),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,u)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,ft.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,ft.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(u,r,c,m){this._windowCmptRef=u,this._contentRef=r,this._backdropCmptRef=c,this._beforeDismiss=m,this._closed=new ne.x,this._dismissed=new ne.x,this._hidden=new ne.x,u.instance.dismissEvent.subscribe(S=>{this.dismiss(S)}),this.result=new Promise((S,G)=>{this._resolve=S,this._reject=G}),this.result.then(null,()=>{})}close(u){this._windowCmptRef&&(this._closed.next(u),this._resolve(u),this._removeModalElements())}_dismiss(u){this._dismissed.next(u),this._reject(u),this._removeModalElements()}dismiss(u){if(this._windowCmptRef)if(this._beforeDismiss){const r=this._beforeDismiss();!function Fn(a){return a&&a.then}(r)?!1!==r&&this._dismiss(u):r.then(c=>{!1!==c&&this._dismiss(u)},()=>{})}else this._dismiss(u)}_removeModalElements(){const u=this._windowCmptRef.instance.hide(),r=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,De.of)(void 0);u.subscribe(()=>{const{nativeElement:c}=this._windowCmptRef.location;c.parentNode.removeChild(c),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),r.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:c}=this._backdropCmptRef.location;c.parentNode.removeChild(c),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Ye(u,r).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var us=(()=>((us=us||{})[us.BACKDROP_CLICK=0]="BACKDROP_CLICK",us[us.ESC=1]="ESC",us))();let wp=(()=>{class a{constructor(r,c,m){this._document=r,this._elRef=c,this._zone=m,this._closed$=new ne.x,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new o.vpe,this.shown=new ne.x,this.hidden=new ne.x}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":Y(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(r){this.dismissEvent.emit(r)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,X.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:r}=this._elRef,c={animation:this.animation,runningTransition:"stop"},G=Ye(En(this._zone,r,()=>r.classList.remove("show"),c),En(this._zone,this._dialogEl.nativeElement,()=>{},c));return G.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),G}_show(){const r={animation:this.animation,runningTransition:"continue"};Ye(En(this._zone,this._elRef.nativeElement,(S,G)=>{G&&st(S),S.classList.add("show")},r),En(this._zone,this._dialogEl.nativeElement,()=>{},r)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:r}=this._elRef;this._zone.runOutsideAngular(()=>{(0,ie.R)(r,"keydown").pipe((0,ft.R)(this._closed$),(0,Ht.h)(m=>m.which===zt.Escape)).subscribe(m=>{this.keyboard?requestAnimationFrame(()=>{m.defaultPrevented||this._zone.run(()=>this.dismiss(us.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let c=!1;(0,ie.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,ft.R)(this._closed$),(0,re.b)(()=>c=!1),(0,He.w)(()=>(0,ie.R)(r,"mouseup").pipe((0,ft.R)(this._closed$),(0,X.q)(1))),(0,Ht.h)(({target:m})=>r===m)).subscribe(()=>{c=!0}),(0,ie.R)(r,"click").pipe((0,ft.R)(this._closed$)).subscribe(({target:m})=>{r===m&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!c&&this._zone.run(()=>this.dismiss(us.BACKDROP_CLICK))),c=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:r}=this._elRef;if(!r.contains(document.activeElement)){const c=r.querySelector("[ngbAutofocus]"),m=Ja(r)[0];(c||m||r).focus()}}_restoreFocus(){const r=this._document.body,c=this._elWithFocus;let m;m=c&&c.focus&&r.contains(c)?c:r,this._zone.runOutsideAngular(()=>{setTimeout(()=>m.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&En(this._zone,this._elRef.nativeElement,({classList:r})=>(r.add("modal-static"),()=>r.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return a.\u0275fac=function(r){return new(r||a)(o.Y36(Oe.K0),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ngb-modal-window"]],viewQuery:function(r,c){if(1&r&&o.Gf(jo,7),2&r){let m;o.iGM(m=o.CRH())&&(c._dialogEl=m.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(r,c){2&r&&(o.uIk("aria-modal",!0)("aria-labelledby",c.ariaLabelledBy)("aria-describedby",c.ariaDescribedBy),o.Tol("modal d-block"+(c.windowClass?" "+c.windowClass:"")),o.ekj("fade",c.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[o.jDz],ngContentSelectors:Gr,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(r,c){1&r&&(o.F$t(),o.TgZ(0,"div",0,1)(2,"div",2),o.Hsn(3),o.qZA()()),2&r&&o.Tol("modal-dialog"+(c.size?" modal-"+c.size:"")+(c.centered?" modal-dialog-centered":"")+c.fullscreenClass+(c.scrollable?" modal-dialog-scrollable":"")+(c.modalDialogClass?" "+c.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}),a})(),Vd=(()=>{class a{constructor(r){this._document=r}hide(){const r=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),c=this._document.body,m=c.style,{overflow:S,paddingRight:G}=m;if(r>0){const te=parseFloat(window.getComputedStyle(c).paddingRight);m.paddingRight=`${te+r}px`}return m.overflow="hidden",()=>{r>0&&(m.paddingRight=G),m.overflow=S}}}return a.\u0275fac=function(r){return new(r||a)(o.LFG(Oe.K0))},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),ol=(()=>{class a{constructor(r,c,m,S,G,te,ae){this._applicationRef=r,this._injector=c,this._environmentInjector=m,this._document=S,this._scrollBar=G,this._rendererFactory=te,this._ngZone=ae,this._activeWindowCmptHasChanged=new ne.x,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new o.vpe,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const Te=this._windowCmpts[this._windowCmpts.length-1];((a,u,r,c=!1)=>{a.runOutsideAngular(()=>{const m=(0,ie.R)(u,"focusin").pipe((0,ft.R)(r),(0,ye.U)(S=>S.target));(0,ie.R)(u,"keydown").pipe((0,ft.R)(r),(0,Ht.h)(S=>S.which===zt.Tab),Ke(m)).subscribe(([S,G])=>{const[te,ae]=Ja(u);(G===te||G===u)&&S.shiftKey&&(ae.focus(),S.preventDefault()),G===ae&&!S.shiftKey&&(te.focus(),S.preventDefault())}),c&&(0,ie.R)(u,"click").pipe((0,ft.R)(r),Ke(m),(0,ye.U)(S=>S[1])).subscribe(S=>S.focus())})})(this._ngZone,Te.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(Te.location.nativeElement)}})}_restoreScrollBar(){const r=this._scrollBarRestoreFn;r&&(this._scrollBarRestoreFn=null,r())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(r,c,m){const S=m.container instanceof HTMLElement?m.container:wt(m.container)?this._document.querySelector(m.container):this._document.body,G=this._rendererFactory.createRenderer(null,null);if(!S)throw new Error(`The specified modal container "${m.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const te=new rl,ae=(r=m.injector||r).get(o.lqb,null)||this._environmentInjector,Te=this._getContentRef(r,ae,c,te,m);let xe=!1!==m.backdrop?this._attachBackdrop(S):void 0,Ot=this._attachWindowComponent(S,Te.nodes),ht=new Ep(Ot,Te,xe,m.beforeDismiss);return this._registerModalRef(ht),this._registerWindowCmpt(Ot),ht.hidden.pipe((0,X.q)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(G.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),te.close=At=>{ht.close(At)},te.dismiss=At=>{ht.dismiss(At)},te.update=At=>{ht.update(At)},ht.update(m),1===this._modalRefs.length&&G.addClass(this._document.body,"modal-open"),xe&&xe.instance&&xe.changeDetectorRef.detectChanges(),Ot.changeDetectorRef.detectChanges(),ht}get activeInstances(){return this._activeInstances}dismissAll(r){this._modalRefs.forEach(c=>c.dismiss(r))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(r){let c=(0,o.LMc)(yp,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(c.hostView),r.appendChild(c.location.nativeElement),c}_attachWindowComponent(r,c){let m=(0,o.LMc)(wp,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:c});return this._applicationRef.attachView(m.hostView),r.appendChild(m.location.nativeElement),m}_getContentRef(r,c,m,S,G){return m?m instanceof o.Rgc?this._createFromTemplateRef(m,S):Y(m)?this._createFromString(m):this._createFromComponent(r,c,m,S,G):new qo([])}_createFromTemplateRef(r,c){const S=r.createEmbeddedView({$implicit:c,close(G){c.close(G)},dismiss(G){c.dismiss(G)}});return this._applicationRef.attachView(S),new qo([S.rootNodes],S)}_createFromString(r){const c=this._document.createTextNode(`${r}`);return new qo([[c]])}_createFromComponent(r,c,m,S,G){const te=o.zs3.create({providers:[{provide:rl,useValue:S}],parent:r}),ae=(0,o.LMc)(m,{environmentInjector:c,elementInjector:te}),Te=ae.location.nativeElement;return G.scrollable&&Te.classList.add("component-host-scrollable"),this._applicationRef.attachView(ae.hostView),new qo([[Te]],ae.hostView,ae)}_setAriaHidden(r){const c=r.parentElement;c&&r!==this._document.body&&(Array.from(c.children).forEach(m=>{m!==r&&"SCRIPT"!==m.nodeName&&(this._ariaHiddenValues.set(m,m.getAttribute("aria-hidden")),m.setAttribute("aria-hidden","true"))}),this._setAriaHidden(c))}_revertAriaHidden(){this._ariaHiddenValues.forEach((r,c)=>{r?c.setAttribute("aria-hidden",r):c.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(r){const c=()=>{const m=this._modalRefs.indexOf(r);m>-1&&(this._modalRefs.splice(m,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(r),this._activeInstances.emit(this._modalRefs),r.result.then(c,c)}_registerWindowCmpt(r){this._windowCmpts.push(r),this._activeWindowCmptHasChanged.next(),r.onDestroy(()=>{const c=this._windowCmpts.indexOf(r);c>-1&&(this._windowCmpts.splice(c,1),this._activeWindowCmptHasChanged.next())})}}return a.\u0275fac=function(r){return new(r||a)(o.LFG(o.z2F),o.LFG(o.zs3),o.LFG(o.lqb),o.LFG(Oe.K0),o.LFG(Vd),o.LFG(o.FYo),o.LFG(o.R0b))},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),nc=(()=>{class a{constructor(r){this._ngbConfig=r,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(r){this._animation=r}}return a.\u0275fac=function(r){return new(r||a)(o.LFG($s))},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),fu=(()=>{class a{constructor(r,c,m){this._injector=r,this._modalStack=c,this._config=m}open(r,c={}){const m={...this._config,animation:this._config.animation,...c};return this._modalStack.open(this._injector,r,m)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(r){this._modalStack.dismissAll(r)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return a.\u0275fac=function(r){return new(r||a)(o.LFG(o.zs3),o.LFG(ol),o.LFG(nc))},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),ic=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({providers:[fu]}),a})(),mu=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})(),lc=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})(),Eu=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})(),cc=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})(),dc=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})(),hc=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})(),ds=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})(),Da=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})();new o.OlP("live announcer delay",{providedIn:"root",factory:function pc(){return 100}});let fl=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})(),Au=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({}),a})();const Ou=[aa,Ba,br,Fo,lu,du,ic,mu,Au,lc,Eu,cc,dc,hc,ds,Da,fl];let Ru=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({imports:[Ou,aa,Ba,br,Fo,lu,du,ic,mu,Au,lc,Eu,cc,dc,hc,ds,Da,fl]}),a})()},7582:(Nt,Se,R)=>{"use strict";function ue(Ce,He,Ue,je){return new(Ue||(Ue=Promise))(function(Oe,Tt){function vt(St){try{Qe(je.next(St))}catch(Pt){Tt(Pt)}}function Ft(St){try{Qe(je.throw(St))}catch(Pt){Tt(Pt)}}function Qe(St){St.done?Oe(St.value):function Xe(Oe){return Oe instanceof Ue?Oe:new Ue(function(Tt){Tt(Oe)})}(St.value).then(vt,Ft)}Qe((je=je.apply(Ce,He||[])).next())})}function X(Ce){return this instanceof X?(this.v=Ce,this):new X(Ce)}function re(Ce,He,Ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Xe,je=Ue.apply(Ce,He||[]),Oe=[];return Xe={},Tt("next"),Tt("throw"),Tt("return"),Xe[Symbol.asyncIterator]=function(){return this},Xe;function Tt(kt){je[kt]&&(Xe[kt]=function(_t){return new Promise(function(tt,qt){Oe.push([kt,_t,tt,qt])>1||vt(kt,_t)})})}function vt(kt,_t){try{!function Ft(kt){kt.value instanceof X?Promise.resolve(kt.value.v).then(Qe,St):Pt(Oe[0][2],kt)}(je[kt](_t))}catch(tt){Pt(Oe[0][3],tt)}}function Qe(kt){vt("next",kt)}function St(kt){vt("throw",kt)}function Pt(kt,_t){kt(_t),Oe.shift(),Oe.length&&vt(Oe[0][0],Oe[0][1])}}function pe(Ce){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ue,He=Ce[Symbol.asyncIterator];return He?He.call(Ce):(Ce=function Ye(Ce){var He="function"==typeof Symbol&&Symbol.iterator,Ue=He&&Ce[He],je=0;if(Ue)return Ue.call(Ce);if(Ce&&"number"==typeof Ce.length)return{next:function(){return Ce&&je>=Ce.length&&(Ce=void 0),{value:Ce&&Ce[je++],done:!Ce}}};throw new TypeError(He?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ce),Ue={},je("next"),je("throw"),je("return"),Ue[Symbol.asyncIterator]=function(){return this},Ue);function je(Oe){Ue[Oe]=Ce[Oe]&&function(Tt){return new Promise(function(vt,Ft){!function Xe(Oe,Tt,vt,Ft){Promise.resolve(Ft).then(function(Qe){Oe({value:Qe,done:vt})},Tt)}(vt,Ft,(Tt=Ce[Oe](Tt)).done,Tt.value)})}}}R.d(Se,{FC:()=>re,KL:()=>pe,mG:()=>ue,qq:()=>X})}},Nt=>{var Se=o=>Nt(Nt.s=o);Se(3564),Se(9997)}]);