zohodealpos 1.2.8 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/zoho/642.c750b53899b660f2e780.js +1 -0
- package/zoho/665.8af334950ba206e5c0e5.js +1 -0
- package/zoho/{899.e7c3ee1002532167d341.js → 899.3c03f8f7b28f7194ce11.js} +1 -1
- package/zoho/assets/bootstrap_light.scss +1 -1
- package/zoho/index.html +3 -3
- package/zoho/main.87fafd478f714d6e58fe.js +1 -0
- package/zoho/ngsw-worker.js +4 -4
- package/zoho/ngsw.json +15 -15
- package/zoho/runtime.493ad5dd13fe621280c8.js +1 -0
- package/zoho/{styles.dbdb7106a9efcb2c87be.css → styles.51eee3d61e891f39ef1d.css} +1 -1
- package/zoho/642.ddb3bff2ab696bd80bd4.js +0 -1
- package/zoho/665.994c0a8fe9bf285b8bca.js +0 -1
- package/zoho/main.0a3f344284c2463752f0.js +0 -1
- package/zoho/runtime.9472b3f83af830f73fb7.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkzoho=self.webpackChunkzoho||[]).push([[179],{8255:ze=>{function he(I){return Promise.resolve().then(()=>{var _=new Error("Cannot find module '"+I+"'");throw _.code="MODULE_NOT_FOUND",_})}he.keys=()=>[],he.resolve=he,he.id=8255,ze.exports=he},7238:(ze,he,I)=>{"use strict";I.d(he,{l3:()=>ie,_j:()=>_,LC:()=>p,ZN:()=>xe,jt:()=>Y,pV:()=>ve,F4:()=>W,IO:()=>J,vP:()=>Z,SB:()=>H,oB:()=>te,eR:()=>N,X$:()=>ce,ZE:()=>Ve,k1:()=>Pe});class _{}class p{}const ie="*";function ce(oe,_e){return{type:7,name:oe,definitions:_e,options:{}}}function Y(oe,_e=null){return{type:4,styles:_e,timings:oe}}function Z(oe,_e=null){return{type:2,steps:oe,options:_e}}function te(oe){return{type:6,styles:oe,offset:null}}function H(oe,_e,He){return{type:0,name:oe,styles:_e,options:He}}function W(oe){return{type:5,steps:oe}}function N(oe,_e,He=null){return{type:1,expr:oe,animation:_e,options:He}}function ve(oe=null){return{type:9,options:oe}}function J(oe,_e,He=null){return{type:11,selector:oe,animation:_e,options:He}}function Me(oe){Promise.resolve(null).then(oe)}class xe{constructor(_e=0,He=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=_e+He}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(_e=>_e()),this._onDoneFns=[])}onStart(_e){this._onStartFns.push(_e)}onDone(_e){this._onDoneFns.push(_e)}onDestroy(_e){this._onDestroyFns.push(_e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Me(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(_e=>_e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(_e=>_e()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(_e){this._position=this.totalTime?_e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(_e){const He="start"==_e?this._onStartFns:this._onDoneFns;He.forEach(qe=>qe()),He.length=0}}class Ve{constructor(_e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=_e;let He=0,qe=0,at=0;const Ut=this.players.length;0==Ut?Me(()=>this._onFinish()):this.players.forEach(ft=>{ft.onDone(()=>{++He==Ut&&this._onFinish()}),ft.onDestroy(()=>{++qe==Ut&&this._onDestroy()}),ft.onStart(()=>{++at==Ut&&this._onStart()})}),this.totalTime=this.players.reduce((ft,Ft)=>Math.max(ft,Ft.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(_e=>_e()),this._onDoneFns=[])}init(){this.players.forEach(_e=>_e.init())}onStart(_e){this._onStartFns.push(_e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(_e=>_e()),this._onStartFns=[])}onDone(_e){this._onDoneFns.push(_e)}onDestroy(_e){this._onDestroyFns.push(_e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(_e=>_e.play())}pause(){this.players.forEach(_e=>_e.pause())}restart(){this.players.forEach(_e=>_e.restart())}finish(){this._onFinish(),this.players.forEach(_e=>_e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(_e=>_e.destroy()),this._onDestroyFns.forEach(_e=>_e()),this._onDestroyFns=[])}reset(){this.players.forEach(_e=>_e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(_e){const He=_e*this.totalTime;this.players.forEach(qe=>{const at=qe.totalTime?Math.min(1,He/qe.totalTime):1;qe.setPosition(at)})}getPosition(){const _e=this.players.reduce((He,qe)=>null===He||qe.totalTime>He.totalTime?qe:He,null);return null!=_e?_e.getPosition():0}beforeDestroy(){this.players.forEach(_e=>{_e.beforeDestroy&&_e.beforeDestroy()})}triggerCallback(_e){const He="start"==_e?this._onStartFns:this._onDoneFns;He.forEach(qe=>qe()),He.length=0}}const Pe="!"},8583:(ze,he,I)=>{"use strict";I.d(he,{mr:()=>Ve,Ov:()=>mi,ez:()=>Bi,K0:()=>Z,uU:()=>Ni,JJ:()=>Hr,Do:()=>oe,Ts:()=>Fi,V_:()=>W,Ye:()=>_e,S$:()=>Me,mk:()=>Je,$G:()=>ht,sg:()=>hn,O5:()=>Rt,PC:()=>bn,RF:()=>ts,n9:()=>Xn,ED:()=>Ur,tP:()=>Bn,b0:()=>Pe,lw:()=>te,EM:()=>Es,JF:()=>si,NF:()=>ji,w_:()=>k,bD:()=>br,q:()=>ie,Mx:()=>Te,HT:()=>Y});var _=I(8720);let p=null;function ie(){return p}function Y(E){p||(p=E)}class k{}const Z=new _.OlP("DocumentToken");let te=(()=>{class E{historyGo(v){throw new Error("Not implemented")}}return E.\u0275fac=function(v){return new(v||E)},E.\u0275prov=(0,_.Yz7)({factory:H,token:E,providedIn:"platform"}),E})();function H(){return(0,_.LFG)(N)}const W=new _.OlP("Location Initialized");let N=(()=>{class E extends te{constructor(v){super(),this._doc=v,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ie().getBaseHref(this._doc)}onPopState(v){const M=ie().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",v,!1),()=>M.removeEventListener("popstate",v)}onHashChange(v){const M=ie().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",v,!1),()=>M.removeEventListener("hashchange",v)}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(v){this.location.pathname=v}pushState(v,M,z){ue()?this._history.pushState(v,M,z):this.location.hash=z}replaceState(v,M,z){ue()?this._history.replaceState(v,M,z):this.location.hash=z}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}}return E.\u0275fac=function(v){return new(v||E)(_.LFG(Z))},E.\u0275prov=(0,_.Yz7)({factory:ve,token:E,providedIn:"platform"}),E})();function ue(){return!!window.history.pushState}function ve(){return new N((0,_.LFG)(Z))}function Ie(E,T){if(0==E.length)return T;if(0==T.length)return E;let v=0;return E.endsWith("/")&&v++,T.startsWith("/")&&v++,2==v?E+T.substring(1):1==v?E+T:E+"/"+T}function J(E){const T=E.match(/#|\?|$/),v=T&&T.index||E.length;return E.slice(0,v-("/"===E[v-1]?1:0))+E.slice(v)}function pe(E){return E&&"?"!==E[0]?"?"+E:E}let Me=(()=>{class E{historyGo(v){throw new Error("Not implemented")}}return E.\u0275fac=function(v){return new(v||E)},E.\u0275prov=(0,_.Yz7)({factory:xe,token:E,providedIn:"root"}),E})();function xe(E){const T=(0,_.LFG)(Z).location;return new Pe((0,_.LFG)(te),T&&T.origin||"")}const Ve=new _.OlP("appBaseHref");let Pe=(()=>{class E extends Me{constructor(v,M){if(super(),this._platformLocation=v,this._removeListenerFns=[],null==M&&(M=this._platformLocation.getBaseHrefFromDOM()),null==M)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=M}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}prepareExternalUrl(v){return Ie(this._baseHref,v)}path(v=!1){const M=this._platformLocation.pathname+pe(this._platformLocation.search),z=this._platformLocation.hash;return z&&v?`${M}${z}`:M}pushState(v,M,z,ye){const Re=this.prepareExternalUrl(z+pe(ye));this._platformLocation.pushState(v,M,Re)}replaceState(v,M,z,ye){const Re=this.prepareExternalUrl(z+pe(ye));this._platformLocation.replaceState(v,M,Re)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(v=0){var M,z;null===(z=(M=this._platformLocation).historyGo)||void 0===z||z.call(M,v)}}return E.\u0275fac=function(v){return new(v||E)(_.LFG(te),_.LFG(Ve,8))},E.\u0275prov=_.Yz7({token:E,factory:E.\u0275fac}),E})(),oe=(()=>{class E extends Me{constructor(v,M){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=M&&(this._baseHref=M)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}path(v=!1){let M=this._platformLocation.hash;return null==M&&(M="#"),M.length>0?M.substring(1):M}prepareExternalUrl(v){const M=Ie(this._baseHref,v);return M.length>0?"#"+M:M}pushState(v,M,z,ye){let Re=this.prepareExternalUrl(z+pe(ye));0==Re.length&&(Re=this._platformLocation.pathname),this._platformLocation.pushState(v,M,Re)}replaceState(v,M,z,ye){let Re=this.prepareExternalUrl(z+pe(ye));0==Re.length&&(Re=this._platformLocation.pathname),this._platformLocation.replaceState(v,M,Re)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(v=0){var M,z;null===(z=(M=this._platformLocation).historyGo)||void 0===z||z.call(M,v)}}return E.\u0275fac=function(v){return new(v||E)(_.LFG(te),_.LFG(Ve,8))},E.\u0275prov=_.Yz7({token:E,factory:E.\u0275fac}),E})(),_e=(()=>{class E{constructor(v,M){this._subject=new _.vpe,this._urlChangeListeners=[],this._platformStrategy=v;const z=this._platformStrategy.getBaseHref();this._platformLocation=M,this._baseHref=J(at(z)),this._platformStrategy.onPopState(ye=>{this._subject.emit({url:this.path(!0),pop:!0,state:ye.state,type:ye.type})})}path(v=!1){return this.normalize(this._platformStrategy.path(v))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(v,M=""){return this.path()==this.normalize(v+pe(M))}normalize(v){return E.stripTrailingSlash(function(E,T){return E&&T.startsWith(E)?T.substring(E.length):T}(this._baseHref,at(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._platformStrategy.prepareExternalUrl(v)}go(v,M="",z=null){this._platformStrategy.pushState(z,"",v,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+pe(M)),z)}replaceState(v,M="",z=null){this._platformStrategy.replaceState(z,"",v,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+pe(M)),z)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(v=0){var M,z;null===(z=(M=this._platformStrategy).historyGo)||void 0===z||z.call(M,v)}onUrlChange(v){this._urlChangeListeners.push(v),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(M=>{this._notifyUrlChangeListeners(M.url,M.state)}))}_notifyUrlChangeListeners(v="",M){this._urlChangeListeners.forEach(z=>z(v,M))}subscribe(v,M,z){return this._subject.subscribe({next:v,error:M,complete:z})}}return E.\u0275fac=function(v){return new(v||E)(_.LFG(Me),_.LFG(te))},E.normalizeQueryParams=pe,E.joinWithSlash=Ie,E.stripTrailingSlash=J,E.\u0275prov=(0,_.Yz7)({factory:He,token:E,providedIn:"root"}),E})();function He(){return new _e((0,_.LFG)(Me),(0,_.LFG)(te))}function at(E){return E.replace(/\/index.html$/,"")}var ft=(()=>((ft=ft||{})[ft.Decimal=0]="Decimal",ft[ft.Percent=1]="Percent",ft[ft.Currency=2]="Currency",ft[ft.Scientific=3]="Scientific",ft))(),Ft=(()=>((Ft=Ft||{})[Ft.Zero=0]="Zero",Ft[Ft.One=1]="One",Ft[Ft.Two=2]="Two",Ft[Ft.Few=3]="Few",Ft[Ft.Many=4]="Many",Ft[Ft.Other=5]="Other",Ft))(),Tt=(()=>((Tt=Tt||{})[Tt.Format=0]="Format",Tt[Tt.Standalone=1]="Standalone",Tt))(),nt=(()=>((nt=nt||{})[nt.Narrow=0]="Narrow",nt[nt.Abbreviated=1]="Abbreviated",nt[nt.Wide=2]="Wide",nt[nt.Short=3]="Short",nt))(),_t=(()=>((_t=_t||{})[_t.Short=0]="Short",_t[_t.Medium=1]="Medium",_t[_t.Long=2]="Long",_t[_t.Full=3]="Full",_t))(),Ge=(()=>((Ge=Ge||{})[Ge.Decimal=0]="Decimal",Ge[Ge.Group=1]="Group",Ge[Ge.List=2]="List",Ge[Ge.PercentSign=3]="PercentSign",Ge[Ge.PlusSign=4]="PlusSign",Ge[Ge.MinusSign=5]="MinusSign",Ge[Ge.Exponential=6]="Exponential",Ge[Ge.SuperscriptingExponent=7]="SuperscriptingExponent",Ge[Ge.PerMille=8]="PerMille",Ge[Ge.Infinity=9]="Infinity",Ge[Ge.NaN=10]="NaN",Ge[Ge.TimeSeparator=11]="TimeSeparator",Ge[Ge.CurrencyDecimal=12]="CurrencyDecimal",Ge[Ge.CurrencyGroup=13]="CurrencyGroup",Ge))();function we(E,T){return Yt((0,_.cg1)(E)[_.wAp.DateFormat],T)}function X(E,T){return Yt((0,_.cg1)(E)[_.wAp.TimeFormat],T)}function le(E,T){return Yt((0,_.cg1)(E)[_.wAp.DateTimeFormat],T)}function Ne(E,T){const v=(0,_.cg1)(E),M=v[_.wAp.NumberSymbols][T];if(void 0===M){if(T===Ge.CurrencyDecimal)return v[_.wAp.NumberSymbols][Ge.Decimal];if(T===Ge.CurrencyGroup)return v[_.wAp.NumberSymbols][Ge.Group]}return M}const _n=_.kL8;function ln(E){if(!E[_.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${E[_.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Yt(E,T){for(let v=T;v>-1;v--)if(void 0!==E[v])return E[v];throw new Error("Locale data API: locale data undefined")}function De(E){const[T,v]=E.split(":");return{hours:+T,minutes:+v}}const Se=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ze={},kt=/((?:[^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 et=(()=>((et=et||{})[et.Short=0]="Short",et[et.ShortGMT=1]="ShortGMT",et[et.Long=2]="Long",et[et.Extended=3]="Extended",et))(),Ce=(()=>((Ce=Ce||{})[Ce.FullYear=0]="FullYear",Ce[Ce.Month=1]="Month",Ce[Ce.Date=2]="Date",Ce[Ce.Hours=3]="Hours",Ce[Ce.Minutes=4]="Minutes",Ce[Ce.Seconds=5]="Seconds",Ce[Ce.FractionalSeconds=6]="FractionalSeconds",Ce[Ce.Day=7]="Day",Ce))(),Oe=(()=>((Oe=Oe||{})[Oe.DayPeriods=0]="DayPeriods",Oe[Oe.Days=1]="Days",Oe[Oe.Months=2]="Months",Oe[Oe.Eras=3]="Eras",Oe))();function un(E,T,v,M){let z=function(E){if($n(E))return E;if("number"==typeof E&&!isNaN(E))return new Date(E);if("string"==typeof E){if(E=E.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(E)){const[z,ye=1,Re=1]=E.split("-").map(Ue=>+Ue);return Mt(z,ye-1,Re)}const v=parseFloat(E);if(!isNaN(E-v))return new Date(v);let M;if(M=E.match(Se))return function(E){const T=new Date(0);let v=0,M=0;const z=E[8]?T.setUTCFullYear:T.setFullYear,ye=E[8]?T.setUTCHours:T.setHours;E[9]&&(v=Number(E[9]+E[10]),M=Number(E[9]+E[11])),z.call(T,Number(E[1]),Number(E[2])-1,Number(E[3]));const Re=Number(E[4]||0)-v,Ue=Number(E[5]||0)-M,zt=Number(E[6]||0),sn=Math.floor(1e3*parseFloat("0."+(E[7]||0)));return ye.call(T,Re,Ue,zt,sn),T}(M)}const T=new Date(E);if(!$n(T))throw new Error(`Unable to convert "${E}" into a date`);return T}(E);T=cn(v,T)||T;let Ue,Re=[];for(;T;){if(Ue=kt.exec(T),!Ue){Re.push(T);break}{Re=Re.concat(Ue.slice(1));const Kt=Re.pop();if(!Kt)break;T=Kt}}let zt=z.getTimezoneOffset();M&&(zt=ir(M,zt),z=function(E,T,v){const z=E.getTimezoneOffset();return function(E,T){return(E=new Date(E.getTime())).setMinutes(E.getMinutes()+T),E}(E,-1*(ir(T,z)-z))}(z,M));let sn="";return Re.forEach(Kt=>{const lt=function(E){if(Kn[E])return Kn[E];let T;switch(E){case"G":case"GG":case"GGG":T=St(Oe.Eras,nt.Abbreviated);break;case"GGGG":T=St(Oe.Eras,nt.Wide);break;case"GGGGG":T=St(Oe.Eras,nt.Narrow);break;case"y":T=rt(Ce.FullYear,1,0,!1,!0);break;case"yy":T=rt(Ce.FullYear,2,0,!0,!0);break;case"yyy":T=rt(Ce.FullYear,3,0,!1,!0);break;case"yyyy":T=rt(Ce.FullYear,4,0,!1,!0);break;case"Y":T=gn(1);break;case"YY":T=gn(2,!0);break;case"YYY":T=gn(3);break;case"YYYY":T=gn(4);break;case"M":case"L":T=rt(Ce.Month,1,1);break;case"MM":case"LL":T=rt(Ce.Month,2,1);break;case"MMM":T=St(Oe.Months,nt.Abbreviated);break;case"MMMM":T=St(Oe.Months,nt.Wide);break;case"MMMMM":T=St(Oe.Months,nt.Narrow);break;case"LLL":T=St(Oe.Months,nt.Abbreviated,Tt.Standalone);break;case"LLLL":T=St(Oe.Months,nt.Wide,Tt.Standalone);break;case"LLLLL":T=St(Oe.Months,nt.Narrow,Tt.Standalone);break;case"w":T=Br(1);break;case"ww":T=Br(2);break;case"W":T=Br(1,!0);break;case"d":T=rt(Ce.Date,1);break;case"dd":T=rt(Ce.Date,2);break;case"c":case"cc":T=rt(Ce.Day,1);break;case"ccc":T=St(Oe.Days,nt.Abbreviated,Tt.Standalone);break;case"cccc":T=St(Oe.Days,nt.Wide,Tt.Standalone);break;case"ccccc":T=St(Oe.Days,nt.Narrow,Tt.Standalone);break;case"cccccc":T=St(Oe.Days,nt.Short,Tt.Standalone);break;case"E":case"EE":case"EEE":T=St(Oe.Days,nt.Abbreviated);break;case"EEEE":T=St(Oe.Days,nt.Wide);break;case"EEEEE":T=St(Oe.Days,nt.Narrow);break;case"EEEEEE":T=St(Oe.Days,nt.Short);break;case"a":case"aa":case"aaa":T=St(Oe.DayPeriods,nt.Abbreviated);break;case"aaaa":T=St(Oe.DayPeriods,nt.Wide);break;case"aaaaa":T=St(Oe.DayPeriods,nt.Narrow);break;case"b":case"bb":case"bbb":T=St(Oe.DayPeriods,nt.Abbreviated,Tt.Standalone,!0);break;case"bbbb":T=St(Oe.DayPeriods,nt.Wide,Tt.Standalone,!0);break;case"bbbbb":T=St(Oe.DayPeriods,nt.Narrow,Tt.Standalone,!0);break;case"B":case"BB":case"BBB":T=St(Oe.DayPeriods,nt.Abbreviated,Tt.Format,!0);break;case"BBBB":T=St(Oe.DayPeriods,nt.Wide,Tt.Format,!0);break;case"BBBBB":T=St(Oe.DayPeriods,nt.Narrow,Tt.Format,!0);break;case"h":T=rt(Ce.Hours,1,-12);break;case"hh":T=rt(Ce.Hours,2,-12);break;case"H":T=rt(Ce.Hours,1);break;case"HH":T=rt(Ce.Hours,2);break;case"m":T=rt(Ce.Minutes,1);break;case"mm":T=rt(Ce.Minutes,2);break;case"s":T=rt(Ce.Seconds,1);break;case"ss":T=rt(Ce.Seconds,2);break;case"S":T=rt(Ce.FractionalSeconds,1);break;case"SS":T=rt(Ce.FractionalSeconds,2);break;case"SSS":T=rt(Ce.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":T=gt(et.Short);break;case"ZZZZZ":T=gt(et.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":T=gt(et.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":T=gt(et.Long);break;default:return null}return Kn[E]=T,T}(Kt);sn+=lt?lt(z,v,zt):"''"===Kt?"'":Kt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),sn}function Mt(E,T,v){const M=new Date(0);return M.setFullYear(E,T,v),M.setHours(0,0,0),M}function cn(E,T){const v=function(E){return(0,_.cg1)(E)[_.wAp.LocaleId]}(E);if(Ze[v]=Ze[v]||{},Ze[v][T])return Ze[v][T];let M="";switch(T){case"shortDate":M=we(E,_t.Short);break;case"mediumDate":M=we(E,_t.Medium);break;case"longDate":M=we(E,_t.Long);break;case"fullDate":M=we(E,_t.Full);break;case"shortTime":M=X(E,_t.Short);break;case"mediumTime":M=X(E,_t.Medium);break;case"longTime":M=X(E,_t.Long);break;case"fullTime":M=X(E,_t.Full);break;case"short":const z=cn(E,"shortTime"),ye=cn(E,"shortDate");M=ct(le(E,_t.Short),[z,ye]);break;case"medium":const Re=cn(E,"mediumTime"),Ue=cn(E,"mediumDate");M=ct(le(E,_t.Medium),[Re,Ue]);break;case"long":const zt=cn(E,"longTime"),sn=cn(E,"longDate");M=ct(le(E,_t.Long),[zt,sn]);break;case"full":const Kt=cn(E,"fullTime"),lt=cn(E,"fullDate");M=ct(le(E,_t.Full),[Kt,lt])}return M&&(Ze[v][T]=M),M}function ct(E,T){return T&&(E=E.replace(/\{([^}]+)}/g,function(v,M){return null!=T&&M in T?T[M]:v})),E}function wt(E,T,v="-",M,z){let ye="";(E<0||z&&E<=0)&&(z?E=1-E:(E=-E,ye=v));let Re=String(E);for(;Re.length<T;)Re="0"+Re;return M&&(Re=Re.substr(Re.length-T)),ye+Re}function rt(E,T,v=0,M=!1,z=!1){return function(ye,Re){let Ue=function(E,T){switch(E){case Ce.FullYear:return T.getFullYear();case Ce.Month:return T.getMonth();case Ce.Date:return T.getDate();case Ce.Hours:return T.getHours();case Ce.Minutes:return T.getMinutes();case Ce.Seconds:return T.getSeconds();case Ce.FractionalSeconds:return T.getMilliseconds();case Ce.Day:return T.getDay();default:throw new Error(`Unknown DateType value "${E}".`)}}(E,ye);if((v>0||Ue>-v)&&(Ue+=v),E===Ce.Hours)0===Ue&&-12===v&&(Ue=12);else if(E===Ce.FractionalSeconds)return function(E,T){return wt(E,3).substr(0,T)}(Ue,T);const zt=Ne(Re,Ge.MinusSign);return wt(Ue,T,zt,M,z)}}function St(E,T,v=Tt.Format,M=!1){return function(z,ye){return function(E,T,v,M,z,ye){switch(v){case Oe.Months:return function(E,T,v){const M=(0,_.cg1)(E),ye=Yt([M[_.wAp.MonthsFormat],M[_.wAp.MonthsStandalone]],T);return Yt(ye,v)}(T,z,M)[E.getMonth()];case Oe.Days:return function(E,T,v){const M=(0,_.cg1)(E),ye=Yt([M[_.wAp.DaysFormat],M[_.wAp.DaysStandalone]],T);return Yt(ye,v)}(T,z,M)[E.getDay()];case Oe.DayPeriods:const Re=E.getHours(),Ue=E.getMinutes();if(ye){const sn=function(E){const T=(0,_.cg1)(E);return ln(T),(T[_.wAp.ExtraData][2]||[]).map(M=>"string"==typeof M?De(M):[De(M[0]),De(M[1])])}(T),Kt=function(E,T,v){const M=(0,_.cg1)(E);ln(M);const ye=Yt([M[_.wAp.ExtraData][0],M[_.wAp.ExtraData][1]],T)||[];return Yt(ye,v)||[]}(T,z,M),lt=sn.findIndex(En=>{if(Array.isArray(En)){const[Qt,tn]=En,Cn=Re>=Qt.hours&&Ue>=Qt.minutes,tr=Re<tn.hours||Re===tn.hours&&Ue<tn.minutes;if(Qt.hours<tn.hours){if(Cn&&tr)return!0}else if(Cn||tr)return!0}else if(En.hours===Re&&En.minutes===Ue)return!0;return!1});if(-1!==lt)return Kt[lt]}return function(E,T,v){const M=(0,_.cg1)(E),ye=Yt([M[_.wAp.DayPeriodsFormat],M[_.wAp.DayPeriodsStandalone]],T);return Yt(ye,v)}(T,z,M)[Re<12?0:1];case Oe.Eras:return function(E,T){return Yt((0,_.cg1)(E)[_.wAp.Eras],T)}(T,M)[E.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${v}`)}}(z,ye,E,T,v,M)}}function gt(E){return function(T,v,M){const z=-1*M,ye=Ne(v,Ge.MinusSign),Re=z>0?Math.floor(z/60):Math.ceil(z/60);switch(E){case et.Short:return(z>=0?"+":"")+wt(Re,2,ye)+wt(Math.abs(z%60),2,ye);case et.ShortGMT:return"GMT"+(z>=0?"+":"")+wt(Re,1,ye);case et.Long:return"GMT"+(z>=0?"+":"")+wt(Re,2,ye)+":"+wt(Math.abs(z%60),2,ye);case et.Extended:return 0===M?"Z":(z>=0?"+":"")+wt(Re,2,ye)+":"+wt(Math.abs(z%60),2,ye);default:throw new Error(`Unknown zone width "${E}"`)}}}function fr(E){return Mt(E.getFullYear(),E.getMonth(),E.getDate()+(4-E.getDay()))}function Br(E,T=!1){return function(v,M){let z;if(T){const ye=new Date(v.getFullYear(),v.getMonth(),1).getDay()-1,Re=v.getDate();z=1+Math.floor((Re+ye)/7)}else{const ye=fr(v),Re=function(E){const T=Mt(E,0,1).getDay();return Mt(E,0,1+(T<=4?4:11)-T)}(ye.getFullYear()),Ue=ye.getTime()-Re.getTime();z=1+Math.round(Ue/6048e5)}return wt(z,E,Ne(M,Ge.MinusSign))}}function gn(E,T=!1){return function(v,M){return wt(fr(v).getFullYear(),E,Ne(M,Ge.MinusSign),T)}}const Kn={};function ir(E,T){E=E.replace(/:/g,"");const v=Date.parse("Jan 01, 1970 00:00:00 "+E)/6e4;return isNaN(v)?T:v}function $n(E){return E instanceof Date&&!isNaN(E.valueOf())}const Et=/^(\d+)?\.((\d+)(-(\d+))?)?$/,V="0";function Jt(E){const T=parseInt(E);if(isNaN(T))throw new Error("Invalid integer literal when parsing "+E);return T}class ee{}let O=(()=>{class E extends ee{constructor(v){super(),this.locale=v}getPluralCategory(v,M){switch(_n(M||this.locale)(v)){case Ft.Zero:return"zero";case Ft.One:return"one";case Ft.Two:return"two";case Ft.Few:return"few";case Ft.Many:return"many";default:return"other"}}}return E.\u0275fac=function(v){return new(v||E)(_.LFG(_.soG))},E.\u0275prov=_.Yz7({token:E,factory:E.\u0275fac}),E})();function Te(E,T){T=encodeURIComponent(T);for(const v of E.split(";")){const M=v.indexOf("="),[z,ye]=-1==M?[v,""]:[v.slice(0,M),v.slice(M+1)];if(z.trim()===T)return decodeURIComponent(ye)}return null}let Je=(()=>{class E{constructor(v,M,z,ye){this._iterableDiffers=v,this._keyValueDiffers=M,this._ngEl=z,this._renderer=ye,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(v){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof v?v.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(v){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof v?v.split(/\s+/):v,this._rawClass&&((0,_.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const v=this._iterableDiffer.diff(this._rawClass);v&&this._applyIterableChanges(v)}else if(this._keyValueDiffer){const v=this._keyValueDiffer.diff(this._rawClass);v&&this._applyKeyValueChanges(v)}}_applyKeyValueChanges(v){v.forEachAddedItem(M=>this._toggleClass(M.key,M.currentValue)),v.forEachChangedItem(M=>this._toggleClass(M.key,M.currentValue)),v.forEachRemovedItem(M=>{M.previousValue&&this._toggleClass(M.key,!1)})}_applyIterableChanges(v){v.forEachAddedItem(M=>{if("string"!=typeof M.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,_.AaK)(M.item)}`);this._toggleClass(M.item,!0)}),v.forEachRemovedItem(M=>this._toggleClass(M.item,!1))}_applyClasses(v){v&&(Array.isArray(v)||v instanceof Set?v.forEach(M=>this._toggleClass(M,!0)):Object.keys(v).forEach(M=>this._toggleClass(M,!!v[M])))}_removeClasses(v){v&&(Array.isArray(v)||v instanceof Set?v.forEach(M=>this._toggleClass(M,!1)):Object.keys(v).forEach(M=>this._toggleClass(M,!1)))}_toggleClass(v,M){(v=v.trim())&&v.split(/\s+/g).forEach(z=>{M?this._renderer.addClass(this._ngEl.nativeElement,z):this._renderer.removeClass(this._ngEl.nativeElement,z)})}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.ZZ4),_.Y36(_.aQg),_.Y36(_.SBq),_.Y36(_.Qsj))},E.\u0275dir=_.lG2({type:E,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),E})(),ht=(()=>{class E{constructor(v){this._viewContainerRef=v,this._componentRef=null,this._moduleRef=null}ngOnChanges(v){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const M=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(v.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const Re=M.get(_.h0i);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Re.injector)}else this._moduleRef=null;const ye=(this._moduleRef?this._moduleRef.componentFactoryResolver:M.get(_._Vd)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(ye,this._viewContainerRef.length,M,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.s_b))},E.\u0275dir=_.lG2({type:E,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[_.TTD]}),E})();class Pt{constructor(T,v,M,z){this.$implicit=T,this.ngForOf=v,this.index=M,this.count=z}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 hn=(()=>{class E{constructor(v,M,z){this._viewContainer=v,this._template=M,this._differs=z,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(v){v&&(this._template=v)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const v=this._ngForOf;if(!this._differ&&v)try{this._differ=this._differs.find(v).create(this.ngForTrackBy)}catch(M){throw new Error(`Cannot find a differ supporting object '${v}' of type '${function(E){return E.name||typeof E}(v)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const v=this._differ.diff(this._ngForOf);v&&this._applyChanges(v)}}_applyChanges(v){const M=[];v.forEachOperation((z,ye,Re)=>{if(null==z.previousIndex){const Ue=this._viewContainer.createEmbeddedView(this._template,new Pt(null,this._ngForOf,-1,-1),null===Re?void 0:Re),zt=new Jn(z,Ue);M.push(zt)}else if(null==Re)this._viewContainer.remove(null===ye?void 0:ye);else if(null!==ye){const Ue=this._viewContainer.get(ye);this._viewContainer.move(Ue,Re);const zt=new Jn(z,Ue);M.push(zt)}});for(let z=0;z<M.length;z++)this._perViewChange(M[z].view,M[z].record);for(let z=0,ye=this._viewContainer.length;z<ye;z++){const Re=this._viewContainer.get(z);Re.context.index=z,Re.context.count=ye,Re.context.ngForOf=this._ngForOf}v.forEachIdentityChange(z=>{this._viewContainer.get(z.currentIndex).context.$implicit=z.item})}_perViewChange(v,M){v.context.$implicit=M.item}static ngTemplateContextGuard(v,M){return!0}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.s_b),_.Y36(_.Rgc),_.Y36(_.ZZ4))},E.\u0275dir=_.lG2({type:E,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),E})();class Jn{constructor(T,v){this.record=T,this.view=v}}let Rt=(()=>{class E{constructor(v,M){this._viewContainer=v,this._context=new es,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=M}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){Fs("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){Fs("ngIfElse",v),this._elseTemplateRef=v,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(v,M){return!0}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.s_b),_.Y36(_.Rgc))},E.\u0275dir=_.lG2({type:E,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),E})();class es{constructor(){this.$implicit=null,this.ngIf=null}}function Fs(E,T){if(T&&!T.createEmbeddedView)throw new Error(`${E} must be a TemplateRef, but received '${(0,_.AaK)(T)}'.`)}class jr{constructor(T,v){this._viewContainerRef=T,this._templateRef=v,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(T){T&&!this._created?this.create():!T&&this._created&&this.destroy()}}let ts=(()=>{class E{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(v){this._ngSwitch=v,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(v){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(v)}_matchCase(v){const M=v==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||M,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),M}_updateDefaultCases(v){if(this._defaultViews&&v!==this._defaultUsed){this._defaultUsed=v;for(let M=0;M<this._defaultViews.length;M++)this._defaultViews[M].enforceState(v)}}}return E.\u0275fac=function(v){return new(v||E)},E.\u0275dir=_.lG2({type:E,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),E})(),Xn=(()=>{class E{constructor(v,M,z){this.ngSwitch=z,z._addCase(),this._view=new jr(v,M)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.s_b),_.Y36(_.Rgc),_.Y36(ts,9))},E.\u0275dir=_.lG2({type:E,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),E})(),Ur=(()=>{class E{constructor(v,M,z){z._addDefault(new jr(v,M))}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.s_b),_.Y36(_.Rgc),_.Y36(ts,9))},E.\u0275dir=_.lG2({type:E,selectors:[["","ngSwitchDefault",""]]}),E})(),bn=(()=>{class E{constructor(v,M,z){this._ngEl=v,this._differs=M,this._renderer=z,this._ngStyle=null,this._differ=null}set ngStyle(v){this._ngStyle=v,!this._differ&&v&&(this._differ=this._differs.find(v).create())}ngDoCheck(){if(this._differ){const v=this._differ.diff(this._ngStyle);v&&this._applyChanges(v)}}_setStyle(v,M){const[z,ye]=v.split(".");null!=(M=null!=M&&ye?`${M}${ye}`:M)?this._renderer.setStyle(this._ngEl.nativeElement,z,M):this._renderer.removeStyle(this._ngEl.nativeElement,z)}_applyChanges(v){v.forEachRemovedItem(M=>this._setStyle(M.key,null)),v.forEachAddedItem(M=>this._setStyle(M.key,M.currentValue)),v.forEachChangedItem(M=>this._setStyle(M.key,M.currentValue))}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.SBq),_.Y36(_.aQg),_.Y36(_.Qsj))},E.\u0275dir=_.lG2({type:E,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),E})(),Bn=(()=>{class E{constructor(v){this._viewContainerRef=v,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(v){if(v.ngTemplateOutlet){const M=this._viewContainerRef;this._viewRef&&M.remove(M.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?M.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&v.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.s_b))},E.\u0275dir=_.lG2({type:E,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[_.TTD]}),E})();function An(E,T){return Error(`InvalidPipeArgument: '${T}' for pipe '${(0,_.AaK)(E)}'`)}class rs{createSubscription(T,v){return T.subscribe({next:v,error:M=>{throw M}})}dispose(T){T.unsubscribe()}onDestroy(T){T.unsubscribe()}}class zn{createSubscription(T,v){return T.then(v,M=>{throw M})}dispose(T){}onDestroy(T){}}const gi=new zn,Js=new rs;let mi=(()=>{class E{constructor(v){this._ref=v,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(v){return this._obj?v!==this._obj?(this._dispose(),this.transform(v)):this._latestValue:(v&&this._subscribe(v),this._latestValue)}_subscribe(v){this._obj=v,this._strategy=this._selectStrategy(v),this._subscription=this._strategy.createSubscription(v,M=>this._updateLatestValue(v,M))}_selectStrategy(v){if((0,_.QGY)(v))return gi;if((0,_.F4k)(v))return Js;throw An(E,v)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(v,M){v===this._obj&&(this._latestValue=M,this._ref.markForCheck())}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.sBO,16))},E.\u0275pipe=_.Yjl({name:"async",type:E,pure:!1}),E})(),Ni=(()=>{class E{constructor(v){this.locale=v}transform(v,M="mediumDate",z,ye){if(null==v||""===v||v!=v)return null;try{return un(v,M,ye||this.locale,z)}catch(Re){throw An(E,Re.message)}}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.soG,16))},E.\u0275pipe=_.Yjl({name:"date",type:E,pure:!0}),E})(),Fi=(()=>{class E{transform(v){return JSON.stringify(v,null,2)}}return E.\u0275fac=function(v){return new(v||E)},E.\u0275pipe=_.Yjl({name:"json",type:E,pure:!1}),E})(),Hr=(()=>{class E{constructor(v){this._locale=v}transform(v,M,z){if(!function(E){return!(null==E||""===E||E!=E)}(v))return null;z=z||this._locale;try{return function(E,T,v){return function(E,T,v,M,z,ye,Re=!1){let Ue="",zt=!1;if(isFinite(E)){let sn=function(E){let M,z,ye,Re,Ue,T=Math.abs(E)+"",v=0;for((z=T.indexOf("."))>-1&&(T=T.replace(".","")),(ye=T.search(/e/i))>0?(z<0&&(z=ye),z+=+T.slice(ye+1),T=T.substring(0,ye)):z<0&&(z=T.length),ye=0;T.charAt(ye)===V;ye++);if(ye===(Ue=T.length))M=[0],z=1;else{for(Ue--;T.charAt(Ue)===V;)Ue--;for(z-=ye,M=[],Re=0;ye<=Ue;ye++,Re++)M[Re]=Number(T.charAt(ye))}return z>22&&(M=M.splice(0,21),v=z-1,z=1),{digits:M,exponent:v,integerLen:z}}(E);Re&&(sn=function(E){if(0===E.digits[0])return E;const T=E.digits.length-E.integerLen;return E.exponent?E.exponent+=2:(0===T?E.digits.push(0,0):1===T&&E.digits.push(0),E.integerLen+=2),E}(sn));let Kt=T.minInt,lt=T.minFrac,En=T.maxFrac;if(ye){const zr=ye.match(Et);if(null===zr)throw new Error(`${ye} is not a valid digit info`);const wr=zr[1],bs=zr[3],Bs=zr[5];null!=wr&&(Kt=Jt(wr)),null!=bs&&(lt=Jt(bs)),null!=Bs?En=Jt(Bs):null!=bs&<>En&&(En=lt)}!function(E,T,v){if(T>v)throw new Error(`The minimum number of digits after fraction (${T}) is higher than the maximum (${v}).`);let M=E.digits,z=M.length-E.integerLen;const ye=Math.min(Math.max(T,z),v);let Re=ye+E.integerLen,Ue=M[Re];if(Re>0){M.splice(Math.max(E.integerLen,Re));for(let lt=Re;lt<M.length;lt++)M[lt]=0}else{z=Math.max(0,z),E.integerLen=1,M.length=Math.max(1,Re=ye+1),M[0]=0;for(let lt=1;lt<Re;lt++)M[lt]=0}if(Ue>=5)if(Re-1<0){for(let lt=0;lt>Re;lt--)M.unshift(0),E.integerLen++;M.unshift(1),E.integerLen++}else M[Re-1]++;for(;z<Math.max(0,ye);z++)M.push(0);let zt=0!==ye;const sn=T+E.integerLen,Kt=M.reduceRight(function(lt,En,Qt,tn){return tn[Qt]=(En+=lt)<10?En:En-10,zt&&(0===tn[Qt]&&Qt>=sn?tn.pop():zt=!1),En>=10?1:0},0);Kt&&(M.unshift(Kt),E.integerLen++)}(sn,lt,En);let Qt=sn.digits,tn=sn.integerLen;const Cn=sn.exponent;let tr=[];for(zt=Qt.every(zr=>!zr);tn<Kt;tn++)Qt.unshift(0);for(;tn<0;tn++)Qt.unshift(0);tn>0?tr=Qt.splice(tn,Qt.length):(tr=Qt,Qt=[0]);const gr=[];for(Qt.length>=T.lgSize&&gr.unshift(Qt.splice(-T.lgSize,Qt.length).join(""));Qt.length>T.gSize;)gr.unshift(Qt.splice(-T.gSize,Qt.length).join(""));Qt.length&&gr.unshift(Qt.join("")),Ue=gr.join(Ne(v,M)),tr.length&&(Ue+=Ne(v,z)+tr.join("")),Cn&&(Ue+=Ne(v,Ge.Exponential)+"+"+Cn)}else Ue=Ne(v,Ge.Infinity);return Ue=E<0&&!zt?T.negPre+Ue+T.negSuf:T.posPre+Ue+T.posSuf,Ue}(E,function(E,T="-"){const v={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},M=E.split(";"),z=M[0],ye=M[1],Re=-1!==z.indexOf(".")?z.split("."):[z.substring(0,z.lastIndexOf(V)+1),z.substring(z.lastIndexOf(V)+1)],Ue=Re[0],zt=Re[1]||"";v.posPre=Ue.substr(0,Ue.indexOf("#"));for(let Kt=0;Kt<zt.length;Kt++){const lt=zt.charAt(Kt);lt===V?v.minFrac=v.maxFrac=Kt+1:"#"===lt?v.maxFrac=Kt+1:v.posSuf+=lt}const sn=Ue.split(",");if(v.gSize=sn[1]?sn[1].length:0,v.lgSize=sn[2]||sn[1]?(sn[2]||sn[1]).length:0,ye){const Kt=z.length-v.posPre.length-v.posSuf.length,lt=ye.indexOf("#");v.negPre=ye.substr(0,lt).replace(/'/g,""),v.negSuf=ye.substr(lt+Kt).replace(/'/g,"")}else v.negPre=T+v.posPre,v.negSuf=v.posSuf;return v}(function(E,T){return(0,_.cg1)(E)[_.wAp.NumberFormats][T]}(T,ft.Decimal),Ne(T,Ge.MinusSign)),T,Ge.Group,Ge.Decimal,v)}(function(E){if("string"==typeof E&&!isNaN(Number(E)-parseFloat(E)))return Number(E);if("number"!=typeof E)throw new Error(`${E} is not a number`);return E}(v),z,M)}catch(ye){throw An(E,ye.message)}}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.soG,16))},E.\u0275pipe=_.Yjl({name:"number",type:E,pure:!0}),E})();let Bi=(()=>{class E{}return E.\u0275fac=function(v){return new(v||E)},E.\u0275mod=_.oAB({type:E}),E.\u0275inj=_.cJS({providers:[{provide:ee,useClass:O}]}),E})();const br="browser";function ji(E){return E===br}let Es=(()=>{class E{}return E.\u0275prov=(0,_.Yz7)({token:E,providedIn:"root",factory:()=>new Cs((0,_.LFG)(Z),window)}),E})();class Cs{constructor(T,v){this.document=T,this.window=v,this.offset=()=>[0,0]}setOffset(T){this.offset=Array.isArray(T)?()=>T:T}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(T){this.supportsScrolling()&&this.window.scrollTo(T[0],T[1])}scrollToAnchor(T){if(!this.supportsScrolling())return;const v=function(E,T){const v=E.getElementById(T)||E.getElementsByName(T)[0];if(v)return v;if("function"==typeof E.createTreeWalker&&E.body&&(E.body.createShadowRoot||E.body.attachShadow)){const M=E.createTreeWalker(E.body,NodeFilter.SHOW_ELEMENT);let z=M.currentNode;for(;z;){const ye=z.shadowRoot;if(ye){const Re=ye.getElementById(T)||ye.querySelector(`[name="${T}"]`);if(Re)return Re}z=M.nextNode()}}return null}(this.document,T);v&&(this.scrollToElement(v),this.attemptFocus(v))}setHistoryScrollRestoration(T){if(this.supportScrollRestoration()){const v=this.window.history;v&&v.scrollRestoration&&(v.scrollRestoration=T)}}scrollToElement(T){const v=T.getBoundingClientRect(),M=v.left+this.window.pageXOffset,z=v.top+this.window.pageYOffset,ye=this.offset();this.window.scrollTo(M-ye[0],z-ye[1])}attemptFocus(T){return T.focus(),this.document.activeElement===T}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const T=Dn(this.window.history)||Dn(Object.getPrototypeOf(this.window.history));return!(!T||!T.writable&&!T.set)}catch(T){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(T){return!1}}}function Dn(E){return Object.getOwnPropertyDescriptor(E,"scrollRestoration")}class si{}},1841:(ze,he,I)=>{"use strict";I.d(he,{TP:()=>Ge,eN:()=>nt,JF:()=>In,WM:()=>W});var _=I(8583),p=I(8720),ie=I(5917),ce=I(7574),Y=I(4612),k=I(5435),Z=I(8002);class te{}class H{}class W{constructor(x){this.normalizedNames=new Map,this.lazyUpdate=null,x?this.lazyInit="string"==typeof x?()=>{this.headers=new Map,x.split("\n").forEach(q=>{const Fe=q.indexOf(":");if(Fe>0){const Se=q.slice(0,Fe),Ze=Se.toLowerCase(),kt=q.slice(Fe+1).trim();this.maybeSetNormalizedName(Se,Ze),this.headers.has(Ze)?this.headers.get(Ze).push(kt):this.headers.set(Ze,[kt])}})}:()=>{this.headers=new Map,Object.keys(x).forEach(q=>{let Fe=x[q];const Se=q.toLowerCase();"string"==typeof Fe&&(Fe=[Fe]),Fe.length>0&&(this.headers.set(Se,Fe),this.maybeSetNormalizedName(q,Se))})}:this.headers=new Map}has(x){return this.init(),this.headers.has(x.toLowerCase())}get(x){this.init();const q=this.headers.get(x.toLowerCase());return q&&q.length>0?q[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(x){return this.init(),this.headers.get(x.toLowerCase())||null}append(x,q){return this.clone({name:x,value:q,op:"a"})}set(x,q){return this.clone({name:x,value:q,op:"s"})}delete(x,q){return this.clone({name:x,value:q,op:"d"})}maybeSetNormalizedName(x,q){this.normalizedNames.has(q)||this.normalizedNames.set(q,x)}init(){this.lazyInit&&(this.lazyInit instanceof W?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(x=>this.applyUpdate(x)),this.lazyUpdate=null))}copyFrom(x){x.init(),Array.from(x.headers.keys()).forEach(q=>{this.headers.set(q,x.headers.get(q)),this.normalizedNames.set(q,x.normalizedNames.get(q))})}clone(x){const q=new W;return q.lazyInit=this.lazyInit&&this.lazyInit instanceof W?this.lazyInit:this,q.lazyUpdate=(this.lazyUpdate||[]).concat([x]),q}applyUpdate(x){const q=x.name.toLowerCase();switch(x.op){case"a":case"s":let Fe=x.value;if("string"==typeof Fe&&(Fe=[Fe]),0===Fe.length)return;this.maybeSetNormalizedName(x.name,q);const Se=("a"===x.op?this.headers.get(q):void 0)||[];Se.push(...Fe),this.headers.set(q,Se);break;case"d":const Ze=x.value;if(Ze){let kt=this.headers.get(q);if(!kt)return;kt=kt.filter(et=>-1===Ze.indexOf(et)),0===kt.length?(this.headers.delete(q),this.normalizedNames.delete(q)):this.headers.set(q,kt)}else this.headers.delete(q),this.normalizedNames.delete(q)}}forEach(x){this.init(),Array.from(this.normalizedNames.keys()).forEach(q=>x(this.normalizedNames.get(q),this.headers.get(q)))}}class N{encodeKey(x){return ve(x)}encodeValue(x){return ve(x)}decodeKey(x){return decodeURIComponent(x)}decodeValue(x){return decodeURIComponent(x)}}function ve(De){return encodeURIComponent(De).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function Ie(De){return`${De}`}class J{constructor(x={}){if(this.updates=null,this.cloneFrom=null,this.encoder=x.encoder||new N,x.fromString){if(x.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(De,x){const q=new Map;return De.length>0&&De.replace(/^\?/,"").split("&").forEach(Se=>{const Ze=Se.indexOf("="),[kt,et]=-1==Ze?[x.decodeKey(Se),""]:[x.decodeKey(Se.slice(0,Ze)),x.decodeValue(Se.slice(Ze+1))],Ce=q.get(kt)||[];Ce.push(et),q.set(kt,Ce)}),q}(x.fromString,this.encoder)}else x.fromObject?(this.map=new Map,Object.keys(x.fromObject).forEach(q=>{const Fe=x.fromObject[q];this.map.set(q,Array.isArray(Fe)?Fe:[Fe])})):this.map=null}has(x){return this.init(),this.map.has(x)}get(x){this.init();const q=this.map.get(x);return q?q[0]:null}getAll(x){return this.init(),this.map.get(x)||null}keys(){return this.init(),Array.from(this.map.keys())}append(x,q){return this.clone({param:x,value:q,op:"a"})}appendAll(x){const q=[];return Object.keys(x).forEach(Fe=>{const Se=x[Fe];Array.isArray(Se)?Se.forEach(Ze=>{q.push({param:Fe,value:Ze,op:"a"})}):q.push({param:Fe,value:Se,op:"a"})}),this.clone(q)}set(x,q){return this.clone({param:x,value:q,op:"s"})}delete(x,q){return this.clone({param:x,value:q,op:"d"})}toString(){return this.init(),this.keys().map(x=>{const q=this.encoder.encodeKey(x);return this.map.get(x).map(Fe=>q+"="+this.encoder.encodeValue(Fe)).join("&")}).filter(x=>""!==x).join("&")}clone(x){const q=new J({encoder:this.encoder});return q.cloneFrom=this.cloneFrom||this,q.updates=(this.updates||[]).concat(x),q}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(x=>this.map.set(x,this.cloneFrom.map.get(x))),this.updates.forEach(x=>{switch(x.op){case"a":case"s":const q=("a"===x.op?this.map.get(x.param):void 0)||[];q.push(Ie(x.value)),this.map.set(x.param,q);break;case"d":if(void 0===x.value){this.map.delete(x.param);break}{let Fe=this.map.get(x.param)||[];const Se=Fe.indexOf(Ie(x.value));-1!==Se&&Fe.splice(Se,1),Fe.length>0?this.map.set(x.param,Fe):this.map.delete(x.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(x,q){return this.map.set(x,q),this}get(x){return this.map.has(x)||this.map.set(x,x.defaultValue()),this.map.get(x)}delete(x){return this.map.delete(x),this}keys(){return this.map.keys()}}function Ve(De){return"undefined"!=typeof ArrayBuffer&&De instanceof ArrayBuffer}function Pe(De){return"undefined"!=typeof Blob&&De instanceof Blob}function oe(De){return"undefined"!=typeof FormData&&De instanceof FormData}class He{constructor(x,q,Fe,Se){let Ze;if(this.url=q,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=x.toUpperCase(),function(De){switch(De){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Se?(this.body=void 0!==Fe?Fe:null,Ze=Se):Ze=Fe,Ze&&(this.reportProgress=!!Ze.reportProgress,this.withCredentials=!!Ze.withCredentials,Ze.responseType&&(this.responseType=Ze.responseType),Ze.headers&&(this.headers=Ze.headers),Ze.context&&(this.context=Ze.context),Ze.params&&(this.params=Ze.params)),this.headers||(this.headers=new W),this.context||(this.context=new Me),this.params){const kt=this.params.toString();if(0===kt.length)this.urlWithParams=q;else{const et=q.indexOf("?");this.urlWithParams=q+(-1===et?"?":et<q.length-1?"&":"")+kt}}else this.params=new J,this.urlWithParams=q}serializeBody(){return null===this.body?null:Ve(this.body)||Pe(this.body)||oe(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof J?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||oe(this.body)?null:Pe(this.body)?this.body.type||null:Ve(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof J?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(x={}){var q;const Fe=x.method||this.method,Se=x.url||this.url,Ze=x.responseType||this.responseType,kt=void 0!==x.body?x.body:this.body,et=void 0!==x.withCredentials?x.withCredentials:this.withCredentials,Ce=void 0!==x.reportProgress?x.reportProgress:this.reportProgress;let Oe=x.headers||this.headers,un=x.params||this.params;const Mt=null!==(q=x.context)&&void 0!==q?q:this.context;return void 0!==x.setHeaders&&(Oe=Object.keys(x.setHeaders).reduce((cn,ct)=>cn.set(ct,x.setHeaders[ct]),Oe)),x.setParams&&(un=Object.keys(x.setParams).reduce((cn,ct)=>cn.set(ct,x.setParams[ct]),un)),new He(Fe,Se,kt,{params:un,headers:Oe,context:Mt,reportProgress:Ce,responseType:Ze,withCredentials:et})}}var qe=(()=>((qe=qe||{})[qe.Sent=0]="Sent",qe[qe.UploadProgress=1]="UploadProgress",qe[qe.ResponseHeader=2]="ResponseHeader",qe[qe.DownloadProgress=3]="DownloadProgress",qe[qe.Response=4]="Response",qe[qe.User=5]="User",qe))();class at{constructor(x,q=200,Fe="OK"){this.headers=x.headers||new W,this.status=void 0!==x.status?x.status:q,this.statusText=x.statusText||Fe,this.url=x.url||null,this.ok=this.status>=200&&this.status<300}}class Ut extends at{constructor(x={}){super(x),this.type=qe.ResponseHeader}clone(x={}){return new Ut({headers:x.headers||this.headers,status:void 0!==x.status?x.status:this.status,statusText:x.statusText||this.statusText,url:x.url||this.url||void 0})}}class ft extends at{constructor(x={}){super(x),this.type=qe.Response,this.body=void 0!==x.body?x.body:null}clone(x={}){return new ft({body:void 0!==x.body?x.body:this.body,headers:x.headers||this.headers,status:void 0!==x.status?x.status:this.status,statusText:x.statusText||this.statusText,url:x.url||this.url||void 0})}}class Ft extends at{constructor(x){super(x,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${x.url||"(unknown url)"}`:`Http failure response for ${x.url||"(unknown url)"}: ${x.status} ${x.statusText}`,this.error=x.error||null}}function Tt(De,x){return{body:x,headers:De.headers,context:De.context,observe:De.observe,params:De.params,reportProgress:De.reportProgress,responseType:De.responseType,withCredentials:De.withCredentials}}let nt=(()=>{class De{constructor(q){this.handler=q}request(q,Fe,Se={}){let Ze;if(q instanceof He)Ze=q;else{let Ce,Oe;Ce=Se.headers instanceof W?Se.headers:new W(Se.headers),Se.params&&(Oe=Se.params instanceof J?Se.params:new J({fromObject:Se.params})),Ze=new He(q,Fe,void 0!==Se.body?Se.body:null,{headers:Ce,context:Se.context,params:Oe,reportProgress:Se.reportProgress,responseType:Se.responseType||"json",withCredentials:Se.withCredentials})}const kt=(0,ie.of)(Ze).pipe((0,Y.b)(Ce=>this.handler.handle(Ce)));if(q instanceof He||"events"===Se.observe)return kt;const et=kt.pipe((0,k.h)(Ce=>Ce instanceof ft));switch(Se.observe||"body"){case"body":switch(Ze.responseType){case"arraybuffer":return et.pipe((0,Z.U)(Ce=>{if(null!==Ce.body&&!(Ce.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ce.body}));case"blob":return et.pipe((0,Z.U)(Ce=>{if(null!==Ce.body&&!(Ce.body instanceof Blob))throw new Error("Response is not a Blob.");return Ce.body}));case"text":return et.pipe((0,Z.U)(Ce=>{if(null!==Ce.body&&"string"!=typeof Ce.body)throw new Error("Response is not a string.");return Ce.body}));case"json":default:return et.pipe((0,Z.U)(Ce=>Ce.body))}case"response":return et;default:throw new Error(`Unreachable: unhandled observe type ${Se.observe}}`)}}delete(q,Fe={}){return this.request("DELETE",q,Fe)}get(q,Fe={}){return this.request("GET",q,Fe)}head(q,Fe={}){return this.request("HEAD",q,Fe)}jsonp(q,Fe){return this.request("JSONP",q,{params:(new J).append(Fe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(q,Fe={}){return this.request("OPTIONS",q,Fe)}patch(q,Fe,Se={}){return this.request("PATCH",q,Tt(Se,Fe))}post(q,Fe,Se={}){return this.request("POST",q,Tt(Se,Fe))}put(q,Fe,Se={}){return this.request("PUT",q,Tt(Se,Fe))}}return De.\u0275fac=function(q){return new(q||De)(p.LFG(te))},De.\u0275prov=p.Yz7({token:De,factory:De.\u0275fac}),De})();class _t{constructor(x,q){this.next=x,this.interceptor=q}handle(x){return this.interceptor.intercept(x,this.next)}}const Ge=new p.OlP("HTTP_INTERCEPTORS");let sr=(()=>{class De{intercept(q,Fe){return Fe.handle(q)}}return De.\u0275fac=function(q){return new(q||De)},De.\u0275prov=p.Yz7({token:De,factory:De.\u0275fac}),De})();const we=/^\)\]\}',?\n/;let le=(()=>{class De{constructor(q){this.xhrFactory=q}handle(q){if("JSONP"===q.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ce.y(Fe=>{const Se=this.xhrFactory.build();if(Se.open(q.method,q.urlWithParams),q.withCredentials&&(Se.withCredentials=!0),q.headers.forEach((ct,wt)=>Se.setRequestHeader(ct,wt.join(","))),q.headers.has("Accept")||Se.setRequestHeader("Accept","application/json, text/plain, */*"),!q.headers.has("Content-Type")){const ct=q.detectContentTypeHeader();null!==ct&&Se.setRequestHeader("Content-Type",ct)}if(q.responseType){const ct=q.responseType.toLowerCase();Se.responseType="json"!==ct?ct:"text"}const Ze=q.serializeBody();let kt=null;const et=()=>{if(null!==kt)return kt;const ct=1223===Se.status?204:Se.status,wt=Se.statusText||"OK",Ln=new W(Se.getAllResponseHeaders()),rt=function(De){return"responseURL"in De&&De.responseURL?De.responseURL:/^X-Request-URL:/m.test(De.getAllResponseHeaders())?De.getResponseHeader("X-Request-URL"):null}(Se)||q.url;return kt=new Ut({headers:Ln,status:ct,statusText:wt,url:rt}),kt},Ce=()=>{let{headers:ct,status:wt,statusText:Ln,url:rt}=et(),Ht=null;204!==wt&&(Ht=void 0===Se.response?Se.responseText:Se.response),0===wt&&(wt=Ht?200:0);let St=wt>=200&&wt<300;if("json"===q.responseType&&"string"==typeof Ht){const Vn=Ht;Ht=Ht.replace(we,"");try{Ht=""!==Ht?JSON.parse(Ht):null}catch(gt){Ht=Vn,St&&(St=!1,Ht={error:gt,text:Ht})}}St?(Fe.next(new ft({body:Ht,headers:ct,status:wt,statusText:Ln,url:rt||void 0})),Fe.complete()):Fe.error(new Ft({error:Ht,headers:ct,status:wt,statusText:Ln,url:rt||void 0}))},Oe=ct=>{const{url:wt}=et(),Ln=new Ft({error:ct,status:Se.status||0,statusText:Se.statusText||"Unknown Error",url:wt||void 0});Fe.error(Ln)};let un=!1;const Mt=ct=>{un||(Fe.next(et()),un=!0);let wt={type:qe.DownloadProgress,loaded:ct.loaded};ct.lengthComputable&&(wt.total=ct.total),"text"===q.responseType&&!!Se.responseText&&(wt.partialText=Se.responseText),Fe.next(wt)},cn=ct=>{let wt={type:qe.UploadProgress,loaded:ct.loaded};ct.lengthComputable&&(wt.total=ct.total),Fe.next(wt)};return Se.addEventListener("load",Ce),Se.addEventListener("error",Oe),Se.addEventListener("timeout",Oe),Se.addEventListener("abort",Oe),q.reportProgress&&(Se.addEventListener("progress",Mt),null!==Ze&&Se.upload&&Se.upload.addEventListener("progress",cn)),Se.send(Ze),Fe.next({type:qe.Sent}),()=>{Se.removeEventListener("error",Oe),Se.removeEventListener("abort",Oe),Se.removeEventListener("load",Ce),Se.removeEventListener("timeout",Oe),q.reportProgress&&(Se.removeEventListener("progress",Mt),null!==Ze&&Se.upload&&Se.upload.removeEventListener("progress",cn)),Se.readyState!==Se.DONE&&Se.abort()}})}}return De.\u0275fac=function(q){return new(q||De)(p.LFG(_.JF))},De.\u0275prov=p.Yz7({token:De,factory:De.\u0275fac}),De})();const Ne=new p.OlP("XSRF_COOKIE_NAME"),Ye=new p.OlP("XSRF_HEADER_NAME");class rn{}let qt=(()=>{class De{constructor(q,Fe,Se){this.doc=q,this.platform=Fe,this.cookieName=Se,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const q=this.doc.cookie||"";return q!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,_.Mx)(q,this.cookieName),this.lastCookieString=q),this.lastToken}}return De.\u0275fac=function(q){return new(q||De)(p.LFG(_.K0),p.LFG(p.Lbi),p.LFG(Ne))},De.\u0275prov=p.Yz7({token:De,factory:De.\u0275fac}),De})(),At=(()=>{class De{constructor(q,Fe){this.tokenService=q,this.headerName=Fe}intercept(q,Fe){const Se=q.url.toLowerCase();if("GET"===q.method||"HEAD"===q.method||Se.startsWith("http://")||Se.startsWith("https://"))return Fe.handle(q);const Ze=this.tokenService.getToken();return null!==Ze&&!q.headers.has(this.headerName)&&(q=q.clone({headers:q.headers.set(this.headerName,Ze)})),Fe.handle(q)}}return De.\u0275fac=function(q){return new(q||De)(p.LFG(rn),p.LFG(Ye))},De.\u0275prov=p.Yz7({token:De,factory:De.\u0275fac}),De})(),Hn=(()=>{class De{constructor(q,Fe){this.backend=q,this.injector=Fe,this.chain=null}handle(q){if(null===this.chain){const Fe=this.injector.get(Ge,[]);this.chain=Fe.reduceRight((Se,Ze)=>new _t(Se,Ze),this.backend)}return this.chain.handle(q)}}return De.\u0275fac=function(q){return new(q||De)(p.LFG(H),p.LFG(p.zs3))},De.\u0275prov=p.Yz7({token:De,factory:De.\u0275fac}),De})(),Sn=(()=>{class De{static disable(){return{ngModule:De,providers:[{provide:At,useClass:sr}]}}static withOptions(q={}){return{ngModule:De,providers:[q.cookieName?{provide:Ne,useValue:q.cookieName}:[],q.headerName?{provide:Ye,useValue:q.headerName}:[]]}}}return De.\u0275fac=function(q){return new(q||De)},De.\u0275mod=p.oAB({type:De}),De.\u0275inj=p.cJS({providers:[At,{provide:Ge,useExisting:At,multi:!0},{provide:rn,useClass:qt},{provide:Ne,useValue:"XSRF-TOKEN"},{provide:Ye,useValue:"X-XSRF-TOKEN"}]}),De})(),In=(()=>{class De{}return De.\u0275fac=function(q){return new(q||De)},De.\u0275mod=p.oAB({type:De}),De.\u0275inj=p.cJS({providers:[nt,{provide:te,useClass:Hn},le,{provide:H,useExisting:le}],imports:[[Sn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),De})()},8720:(ze,he,I)=>{"use strict";I.d(he,{deG:()=>__,tb:()=>Iy,AFp:()=>wy,ip1:()=>Dd,CZH:()=>Zo,hGG:()=>sS,z2F:()=>qa,sBO:()=>XD,Sil:()=>Qa,_Vd:()=>qi,EJc:()=>Ay,SBq:()=>qs,qLn:()=>Co,vpe:()=>Zs,gxx:()=>Io,tBr:()=>yo,XFs:()=>x,OlP:()=>xn,zs3:()=>on,ZZ4:()=>Hl,aQg:()=>$l,soG:()=>Xl,YKP:()=>um,v3s:()=>LT,h0i:()=>Zi,PXZ:()=>RT,R0b:()=>Jr,FiY:()=>li,Lbi:()=>Sy,g9A:()=>Ty,n_E:()=>Ka,Qsj:()=>VD,FYo:()=>Ul,JOm:()=>zs,Tiy:()=>Zc,q3G:()=>Nn,tp0:()=>Ai,EAV:()=>UT,Rgc:()=>ka,dDg:()=>xy,DyG:()=>ul,GfV:()=>tm,s_b:()=>Gl,ifc:()=>Mt,eFA:()=>Vy,G48:()=>wT,Gpc:()=>Ie,f3M:()=>R_,X6Q:()=>Pd,_c5:()=>ZT,VLi:()=>DT,c2e:()=>My,zSh:()=>wa,wAp:()=>dt,vHH:()=>xe,EiD:()=>Ef,mCW:()=>ma,qzn:()=>Eo,JVY:()=>Y_,pB0:()=>J_,eBb:()=>q_,L6k:()=>Q_,LAX:()=>Z_,cg1:()=>Hc,Tjo:()=>QT,kL8:()=>Dg,yhl:()=>ff,dqk:()=>rt,sIi:()=>Ia,CqO:()=>Pc,QGY:()=>Ac,F4k:()=>Rp,RDi:()=>E,AaK:()=>N,z3N:()=>ui,qOj:()=>gc,TTD:()=>os,_Bn:()=>qg,xp6:()=>ih,uIk:()=>_c,Tol:()=>Jp,Gre:()=>hg,ekj:()=>kc,Suo:()=>ty,Xpm:()=>ir,lG2:()=>ae,Yz7:()=>Ye,cJS:()=>qt,oAB:()=>$n,Yjl:()=>V,Y36:()=>Aa,_UZ:()=>Mp,GkF:()=>Ap,BQk:()=>Mc,ynx:()=>Ic,qZA:()=>Sc,TgZ:()=>Tc,EpF:()=>Pp,n5z:()=>cs,Ikx:()=>jc,LFG:()=>jn,$8M:()=>ai,NdJ:()=>Rc,CRH:()=>ny,kcU:()=>Tr,O4$:()=>Lt,oxw:()=>Np,ALo:()=>Ym,lcZ:()=>Qm,xi3:()=>qm,Hsn:()=>kp,F$t:()=>Fp,Q6J:()=>Dc,s9C:()=>Nc,MGl:()=>Ol,DdM:()=>Lm,VKq:()=>Vm,WLB:()=>Bm,kEZ:()=>jm,l5B:()=>Um,qbA:()=>Hm,iGM:()=>Xm,MAs:()=>mp,CHM:()=>ao,oJD:()=>Cf,LSH:()=>Iu,kYT:()=>Et,Udp:()=>Fc,WFA:()=>Oc,d8E:()=>Uc,YNc:()=>gp,W1O:()=>oy,_uU:()=>ig,Oqu:()=>Vc,hij:()=>Nl,AsE:()=>Bc,Gf:()=>ey});var _=I(9765),p=I(5319),ie=I(7574),ce=I(6682),Y=I(4458),k=I(1307);function Z(){return new _.xQ}function H(e){for(let t in e)if(e[t]===H)return t;throw Error("Could not find renamed property on target object.")}function W(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function N(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(N).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 ue(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ve=H({__forward_ref__:H});function Ie(e){return e.__forward_ref__=Ie,e.toString=function(){return N(this())},e}function J(e){return pe(e)?e():e}function pe(e){return"function"==typeof e&&e.hasOwnProperty(ve)&&e.__forward_ref__===Ie}class xe extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function oe(e){return"string"==typeof e?e:null==e?"":String(e)}function _e(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():oe(e)}function Ut(e,t){const n=t?` in ${t}`:"";throw new xe("201",`No provider for ${_e(e)} found${n}`)}function fe(e,t){null==e&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Ye(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function qt(e){return{providers:e.providers||[],imports:e.imports||[]}}function At(e){return Hn(e,In)||Hn(e,Yt)}function Hn(e,t){return e.hasOwnProperty(t)?e[t]:null}function Sn(e){return e&&(e.hasOwnProperty(dr)||e.hasOwnProperty(De))?e[dr]:null}const In=H({\u0275prov:H}),dr=H({\u0275inj:H}),Yt=H({ngInjectableDef:H}),De=H({ngInjectorDef:H});var x=(()=>((x=x||{})[x.Default=0]="Default",x[x.Host=1]="Host",x[x.Self=2]="Self",x[x.SkipSelf=4]="SkipSelf",x[x.Optional=8]="Optional",x))();let q;function Se(e){const t=q;return q=e,t}function Ze(e,t,n){const r=At(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&x.Optional?null:void 0!==t?t:void Ut(N(e),"Injector")}function et(e){return{toString:e}.toString()}var Ce=(()=>((Ce=Ce||{})[Ce.OnPush=0]="OnPush",Ce[Ce.Default=1]="Default",Ce))(),Mt=(()=>((Mt=Mt||{})[Mt.Emulated=0]="Emulated",Mt[Mt.None=2]="None",Mt[Mt.ShadowDom=3]="ShadowDom",Mt))();const cn="undefined"!=typeof globalThis&&globalThis,ct="undefined"!=typeof window&&window,wt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ln="undefined"!=typeof global&&global,rt=cn||Ln||ct||wt,Vn={},gt=[],Vr=H({\u0275cmp:H}),$t=H({\u0275dir:H}),Mn=H({\u0275pipe:H}),fr=H({\u0275mod:H}),Br=H({\u0275loc:H}),gn=H({\u0275fac:H}),Kn=H({__NG_ELEMENT_ID__:H});let Zn=0;function ir(e){return et(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ce.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||gt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Mt.Emulated,id:"c",styles:e.styles||gt,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,i=e.features,o=e.pipes;return r.id+=Zn++,r.inputs=U(e.inputs,n),r.outputs=U(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(or):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Xr):null,r})}function or(e){return me(e)||function(e){return e[$t]||null}(e)}function Xr(e){return function(e){return e[Mn]||null}(e)}const Cr={};function $n(e){return et(()=>{const t={type:e.type,bootstrap:e.bootstrap||gt,declarations:e.declarations||gt,imports:e.imports||gt,exports:e.exports||gt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Cr[e.id]=e.type),t})}function Et(e,t){return et(()=>{const n=Wt(e,!0);n.declarations=t.declarations||gt,n.imports=t.imports||gt,n.exports=t.exports||gt})}function U(e,t){if(null==e)return Vn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}const ae=ir;function V(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function me(e){return e[Vr]||null}function Wt(e,t){const n=e[fr]||null;if(!n&&!0===t)throw new Error(`Type ${N(e)} does not have '\u0275mod' property.`);return n}const O=11;function bn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Bn(e){return Array.isArray(e)&&!0===e[1]}function Ls(e){return 0!=(8&e.flags)}function An(e){return 2==(2&e.flags)}function rs(e){return 1==(1&e.flags)}function zn(e){return null!==e.template}function gi(e){return 0!=(512&e[2])}function br(e,t){return e.hasOwnProperty(gn)?e[gn]:null}class vi{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function os(){return Dr}function Dr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Wr),ji}function ji(){const e=Ei(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Vn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Wr(e,t,n,r){const s=Ei(e)||function(e,t){return e[ei]=t}(e,{previous:Vn,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],f=o[a];i[a]=new vi(f&&f.currentValue,t,o===Vn),e[r]=t}os.ngInherit=!0;const ei="__ngSimpleChanges__";function Ei(e){return e[ei]||null}const ni="http://www.w3.org/2000/svg";let si;function E(e){si=e}function T(){return void 0!==si?si:"undefined"!=typeof document?document:void 0}function M(e){return!!e.listen}const ye={createRenderer:(e,t)=>T()};function Ue(e){for(;Array.isArray(e);)e=e[0];return e}function Kt(e,t){return Ue(t[e])}function lt(e,t){return Ue(t[e.index])}function Qt(e,t){return e.data[t]}function tn(e,t){return e[t]}function Cn(e,t){const n=t[e];return bn(n)?n:n[0]}function tr(e){return 4==(4&e[2])}function gr(e){return 128==(128&e[2])}function wr(e,t){return null==t?null:e[t]}function bs(e){e[18]=0}function Bs(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const pt={lFrame:Fr(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function oo(){return pt.bindingsEnabled}function Ae(){return pt.lFrame.lView}function It(){return pt.lFrame.tView}function ao(e){return pt.lFrame.contextLView=e,e[8]}function Pn(){let e=D();for(;null!==e&&64===e.type;)e=e.parent;return e}function D(){return pt.lFrame.currentTNode}function u(e,t){const n=pt.lFrame;n.currentTNode=e,n.isParent=t}function g(){return pt.lFrame.isParent}function w(){pt.lFrame.isParent=!1}function j(){return pt.isInCheckNoChangesMode}function ne(e){pt.isInCheckNoChangesMode=e}function ge(){const e=pt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Le(){return pt.lFrame.bindingIndex}function ut(){return pt.lFrame.bindingIndex++}function vt(e){const t=pt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ot(e,t){const n=pt.lFrame;n.bindingIndex=n.bindingRootIndex=e,an(t)}function an(e){pt.lFrame.currentDirectiveIndex=e}function Rn(e){const t=pt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function wn(){return pt.lFrame.currentQueryIndex}function Gr(e){pt.lFrame.currentQueryIndex=e}function xr(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Gn(e,t,n){if(n&x.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&x.Host||(s=xr(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=pt.lFrame=Nr();return r.currentTNode=t,r.lView=e,!0}function mr(e){const t=Nr(),n=e[1];pt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Nr(){const e=pt.lFrame,t=null===e?null:e.child;return null===t?Fr(e):t}function Fr(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 oi(){const e=pt.lFrame;return pt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const js=oi;function kr(){const e=oi();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 je(){return pt.lFrame.selectedIndex}function Qe(e){pt.lFrame.selectedIndex=e}function $e(){const e=pt.lFrame;return Qt(e.tView,e.selectedIndex)}function Lt(){pt.lFrame.currentNamespace=ni}function Tr(){pt.lFrame.currentNamespace=null}function Di(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:f,ngAfterViewChecked:m,ngOnDestroy:b}=i;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),f&&(e.viewHooks||(e.viewHooks=[])).push(-n,f),m&&((e.viewHooks||(e.viewHooks=[])).push(n,m),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,m)),null!=b&&(e.destroyHooks||(e.destroyHooks=[])).push(n,b)}}function Xt(e,t,n){Sr(e,t,3,n)}function as(e,t,n,r){(3&e[2])===n&&Sr(e,t,n,r)}function Yr(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Sr(e,t,n,r){const i=null!=r?r:-1,o=t.length-1;let a=0;for(let f=void 0!==r?65535&e[18]:0;f<o;f++)if("number"==typeof t[f+1]){if(a=t[f],null!=r&&a>=r)break}else t[f]<0&&(e[18]+=65536),(a<i||-1==i)&&(ls(e,n,t,f),e[18]=(4294901760&e[18])+f+2),f++}function ls(e,t,n,r){const s=n[r]<0,i=n[r+1],a=e[s?-n[r]:n[r]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Hi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function us(e,t,n){const r=M(e);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],a=n[s++],f=n[s++];r?e.setAttribute(t,a,f,o):t.setAttributeNS(o,a,f)}else{const o=i,a=n[++s];aa(o)?r&&e.setProperty(t,o,a):r?e.setAttribute(t,o,a):t.setAttribute(o,a),s++}}return s}function oa(e){return 3===e||4===e||6===e}function aa(e){return 64===e.charCodeAt(0)}function uo(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||il(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function il(e,t,n,r,s){let i=0,o=e.length;if(-1===t)o=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){o=-1;break}if(a>t){o=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function ol(e){return-1!==e}function Ti(e){return 32767&e}function Si(e,t){let n=function(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let co=!0;function fo(e){const t=co;return co=e,t}let fu=0;function Ii(e,t){const n=ll(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,la(r.data,e),la(t,null),la(r.blueprint,null));const s=h(e,t),i=e.injectorIndex;if(ol(s)){const o=Ti(s),a=Si(s,t),f=a[1].data;for(let m=0;m<8;m++)t[i+m]=a[o+m]|f[o+m]}return t[i+8]=s,i}function la(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ll(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function h(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){const i=s[1],o=i.type;if(r=2===o?i.declTNode:1===o?s[6]:null,null===r)return-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function d(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Kn)&&(r=n[Kn]),null==r&&(r=n[Kn]=fu++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function y(e,t,n){if(n&x.Optional)return e;Ut(t,"NodeInjector")}function C(e,t,n,r){if(n&x.Optional&&void 0===r&&(r=null),0==(n&(x.Self|x.Host))){const s=e[9],i=Se(void 0);try{return s?s.get(t,r,n&x.Optional):Ze(t,r,n&x.Optional)}finally{Se(i)}}return y(r,t,n)}function S(e,t,n,r=x.Default,s){if(null!==e){const i=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Kn)?e[Kn]:void 0;return"number"==typeof t?t>=0?255&t:K:t}(n);if("function"==typeof i){if(!Gn(t,e,r))return r&x.Host?y(s,n,r):C(t,n,r,s);try{const o=i(r);if(null!=o||r&x.Optional)return o;Ut(n)}finally{js()}}else if("number"==typeof i){let o=null,a=ll(e,t),f=-1,m=r&x.Host?t[16][6]:null;for((-1===a||r&x.SkipSelf)&&(f=-1===a?h(e,t):t[a+8],-1!==f&&Gt(r,!1)?(o=t[1],a=Ti(f),t=Si(f,t)):a=-1);-1!==a;){const b=t[1];if(dn(i,a,b.data)){const A=Ee(a,t,n,o,r,m);if(A!==F)return A}f=t[a+8],-1!==f&&Gt(r,t[1].data[a+8]===m)&&dn(i,a,t)?(o=b,a=Ti(f),t=Si(f,t)):a=-1}}}return C(t,n,r,s)}const F={};function K(){return new Ir(Pn(),Ae())}function Ee(e,t,n,r,s,i){const o=t[1],a=o.data[e+8],b=We(a,o,n,null==r?An(a)&&co:r!=o&&0!=(3&a.type),s&x.Host&&i===a);return null!==b?tt(t,o,b,a):F}function We(e,t,n,r,s){const i=e.providerIndexes,o=t.data,a=1048575&i,f=e.directiveStart,b=i>>20,R=s?a+b:e.directiveEnd;for(let B=r?a:a+b;B<R;B++){const Q=o[B];if(B<f&&n===Q||B>=f&&Q.type===n)return B}if(s){const B=o[f];if(B&&zn(B)&&B.type===n)return f}return null}function tt(e,t,n,r){let s=e[n];const i=t.data;if(function(e){return e instanceof Hi}(s)){const o=s;o.resolving&&function(e,t){throw new xe("200",`Circular dependency in DI detected for ${e}`)}(_e(i[n]));const a=fo(o.canSeeViewProviders);o.resolving=!0;const f=o.injectImpl?Se(o.injectImpl):null;Gn(e,r,x.Default);try{s=e[n]=o.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const o=Dr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==f&&Se(f),fo(a),o.resolving=!1,js()}}return s}function dn(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Gt(e,t){return!(e&x.Self||e&x.Host&&t)}class Ir{constructor(t,n){this._tNode=t,this._lView=n}get(t,n){return S(this._tNode,this._lView,t,void 0,n)}}function cs(e){return et(()=>{const t=e.prototype.constructor,n=t[gn]||Lr(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[gn]||Lr(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function Lr(e){return pe(e)?()=>{const t=Lr(J(e));return t&&t()}:br(e)}function ai(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let s=0;for(;s<r;){const i=n[s];if(oa(i))break;if(0===i)s+=2;else if("number"==typeof i)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(i===t)return n[s+1];s+=2}}}return null}(Pn(),e)}const Mr="__parameters__";function $i(e,t,n){return et(()=>{const r=function(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}(t);function s(...i){if(this instanceof s)return r.apply(this,i),this;const o=new s(...i);return a.annotation=o,a;function a(f,m,b){const A=f.hasOwnProperty(Mr)?f[Mr]:Object.defineProperty(f,Mr,{value:[]})[Mr];for(;A.length<=b;)A.push(null);return(A[b]=A[b]||[]).push(o),f}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class xn{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=Ye({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const __=new xn("AnalyzeForEntryComponents"),ul=Function;function ds(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),ds(r,t)):t!==e&&t.push(r)}return t}function Hs(e,t){e.forEach(n=>Array.isArray(n)?Hs(n,t):t(n))}function dl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Mi(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function qr(e,t,n){let r=po(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,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]=r}}(e,r,t,n)),r}function gu(e,t){const n=po(e,t);if(n>=0)return e[1|n]}function po(e,t){return function(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),o=e[i<<n];if(t===o)return i<<n;o>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const fa={},yu="__NG_DI_FLAG__",go="ngTempTokenPath",M_=/\n/gm,_u="__source",vu=H({provide:String,useValue:H});let ha;function mo(e){const t=ha;return ha=e,t}function P_(e,t=x.Default){if(void 0===ha)throw new Error("inject() must be called from an injection context");return null===ha?Ze(e,void 0,t):ha.get(e,t&x.Optional?null:void 0,t)}function jn(e,t=x.Default){return(q||P_)(J(e),t)}const R_=jn;function zi(e){const t=[];for(let n=0;n<e.length;n++){const r=J(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let s,i=x.Default;for(let o=0;o<r.length;o++){const a=r[o],f=O_(a);"number"==typeof f?-1===f?s=a.token:i|=f:s=a}t.push(jn(s,i))}else t.push(jn(r))}return t}function pa(e,t){return e[yu]=t,e.prototype[yu]=t,e}function O_(e){return e[yu]}function rf(e,t,n,r){const s=e[go];throw t[_u]&&s.unshift(t[_u]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=N(t);if(Array.isArray(t))s=t.map(N).join(" -> ");else if("object"==typeof t){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];i.push(o+":"+("string"==typeof a?JSON.stringify(a):N(a)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(M_,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[go]=null,e}const yo=pa($i("Inject",e=>({token:e})),-1),li=pa($i("Optional"),8),Ai=pa($i("SkipSelf"),4);let gl,ml;function vo(e){var t;return(null===(t=function(){if(void 0===gl&&(gl=null,rt.trustedTypes))try{gl=rt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return gl}())||void 0===t?void 0:t.createHTML(e))||e}function uf(e){var t;return(null===(t=function(){if(void 0===ml&&(ml=null,rt.trustedTypes))try{ml=rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ml}())||void 0===t?void 0:t.createHTML(e))||e}class Gi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class $_ extends Gi{getTypeName(){return"HTML"}}class W_ extends Gi{getTypeName(){return"Style"}}class z_ extends Gi{getTypeName(){return"Script"}}class G_ extends Gi{getTypeName(){return"URL"}}class K_ extends Gi{getTypeName(){return"ResourceURL"}}function ui(e){return e instanceof Gi?e.changingThisBreaksApplicationSecurity:e}function Eo(e,t){const n=ff(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function ff(e){return e instanceof Gi&&e.getTypeName()||null}function Y_(e){return new $_(e)}function Q_(e){return new W_(e)}function q_(e){return new z_(e)}function Z_(e){return new G_(e)}function J_(e){return new K_(e)}class X_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(vo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class ev{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=vo(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=vo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const o=n.item(s).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const nv=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,rv=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function ma(e){return(e=String(e)).match(nv)||e.match(rv)?e:"unsafe:"+e}function $s(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ya(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const gf=$s("area,br,col,hr,img,wbr"),mf=$s("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yf=$s("rp,rt"),Du=ya(gf,ya(mf,$s("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")),ya(yf,$s("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")),ya(yf,mf)),wu=$s("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Tu=$s("srcset"),_f=ya(wu,Tu,$s("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),$s("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")),sv=$s("script,style,template");class iv{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Du.hasOwnProperty(n))return this.sanitizedSomething=!0,!sv.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const i=r.item(s),o=i.name,a=o.toLowerCase();if(!_f.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let f=i.value;wu[a]&&(f=ma(f)),Tu[a]&&(e=f,f=(e=String(e)).split(",").map(t=>ma(t.trim())).join(", ")),this.buf.push(" ",o,'="',vf(f),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Du.hasOwnProperty(n)&&!gf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(vf(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const ov=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,av=/([^\#-~ |!])/g;function vf(e){return e.replace(/&/g,"&").replace(ov,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(av,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let yl;function Ef(e,t){let n=null;try{yl=yl||function(e){const t=new ev(e);return function(){try{return!!(new window.DOMParser).parseFromString(vo(""),"text/html")}catch(e){return!1}}()?new X_(t):t}(e);let r=t?String(t):"";n=yl.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=yl.getInertBodyElement(r)}while(r!==i);return vo((new iv).sanitizeChildren(Su(n)||n))}finally{if(n){const r=Su(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Su(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Nn=(()=>((Nn=Nn||{})[Nn.NONE=0]="NONE",Nn[Nn.HTML=1]="HTML",Nn[Nn.STYLE=2]="STYLE",Nn[Nn.SCRIPT=3]="SCRIPT",Nn[Nn.URL=4]="URL",Nn[Nn.RESOURCE_URL=5]="RESOURCE_URL",Nn))();function Cf(e){const t=_a();return t?uf(t.sanitize(Nn.HTML,e)||""):Eo(e,"HTML")?uf(ui(e)):Ef(T(),oe(e))}function Iu(e){const t=_a();return t?t.sanitize(Nn.URL,e)||"":Eo(e,"URL")?ui(e):ma(oe(e))}function _a(){const e=Ae();return e&&e[12]}const wf="__ngContext__";function yr(e,t){e[wf]=t}function Au(e){const t=function(e){return e[wf]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function _l(e){return e.ngOriginalError}function wv(e,...t){e.error(...t)}class Co{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=this._findContext(t),s=(e=t)&&e.ngErrorLogger||wv;var e;s(this._console,"ERROR",t),n&&s(this._console,"ORIGINAL ERROR",n),r&&s(this._console,"ERROR CONTEXT",r)}_findContext(t){return t?t.ngDebugContext||this._findContext(_l(t)):null}_findOriginalError(t){let n=t&&_l(t);for(;n&&_l(n);)n=_l(n);return n||null}}const xf=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(rt))();function Ws(e){return e instanceof Function?e():e}var zs=(()=>((zs=zs||{})[zs.Important=1]="Important",zs[zs.DashCase=2]="DashCase",zs))();function Ou(e,t){return undefined(e,t)}function Ea(e){const t=e[3];return Bn(t)?t[3]:t}function xu(e){return Vf(e[13])}function Nu(e){return Vf(e[4])}function Vf(e){for(;null!==e&&!Bn(e);)e=e[4];return e}function Do(e,t,n,r,s){if(null!=r){let i,o=!1;Bn(r)?i=r:bn(r)&&(o=!0,r=r[0]);const a=Ue(r);0===e&&null!==n?null==s?Wf(t,n,a):Ki(t,n,a,s||null,!0):1===e&&null!==n?Ki(t,n,a,s||null,!0):2===e?function(e,t,n){const r=El(e,t);r&&function(e,t,n,r){M(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=i&&function(e,t,n,r,s){const i=n[7];i!==Ue(n)&&Do(t,e,r,i,s);for(let a=10;a<n.length;a++){const f=n[a];Ca(f[1],f,e,t,r,i)}}(t,e,i,n,s)}}function ku(e,t,n){return M(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function jf(e,t){const n=e[9],r=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Bs(s,-1)),n.splice(r,1)}function Lu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&jf(s,r),t>0&&(e[n-1][4]=r[4]);const i=Wi(e,10+t);!function(e,t){Ca(e,t,t[O],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=i[19];null!==o&&o.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Uf(e,t){if(!(256&t[2])){const n=t[O];M(n)&&n.destroyNode&&Ca(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Vu(e[1],e);for(;t;){let n=null;if(bn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)bn(t)&&Vu(t[1],t),t=t[3];null===t&&(t=e),bn(t)&&Vu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Vu(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof Hi)){const i=n[r+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){const a=s[i[o]],f=i[o+1];try{f.call(a)}finally{}}else try{i.call(s)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let s=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const o=n[i+1],a="function"==typeof o?o(t):Ue(t[o]),f=r[s=n[i+2]],m=n[i+3];"boolean"==typeof m?a.removeEventListener(n[i],f,m):m>=0?r[s=m]():r[s=-m].unsubscribe(),i+=2}else{const o=r[s=n[i+1]];n[i].call(o)}if(null!==r){for(let i=s+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&M(t[O])&&t[O].destroy();const n=t[17];if(null!==n&&Bn(t[3])){n!==t[3]&&jf(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Hf(e,t,n){return function(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const s=e.data[r.directiveStart].encapsulation;if(s===Mt.None||s===Mt.Emulated)return null}return lt(r,n)}(e,t.parent,n)}function Ki(e,t,n,r,s){M(e)?e.insertBefore(t,n,r,s):t.insertBefore(n,r,s)}function Wf(e,t,n){M(e)?e.appendChild(t,n):t.appendChild(n)}function zf(e,t,n,r,s){null!==r?Ki(e,t,n,r,s):Wf(e,t,n)}function El(e,t){return M(e)?e.parentNode(t):t.parentNode}function Gf(e,t,n){return Yf(e,t,n)}let Yf=function(e,t,n){return 40&e.type?lt(e,n):null};function Cl(e,t,n,r){const s=Hf(e,r,t),i=t[O],a=Gf(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let f=0;f<n.length;f++)zf(i,s,n[f],a,!1);else zf(i,s,n,a,!1)}function bl(e,t){if(null!==t){const n=t.type;if(3&n)return lt(t,e);if(4&n)return ju(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return bl(e,r);{const s=e[t.index];return Bn(s)?ju(-1,s):Ue(s)}}if(32&n)return Ou(t,e)()||Ue(e[t.index]);{const r=qf(e,t);return null!==r?Array.isArray(r)?r[0]:bl(Ea(e[16]),r):bl(e,t.next)}}return null}function qf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ju(e,t){const n=10+e+1;if(n<t.length){const r=t[n],s=r[1].firstChild;if(null!==s)return bl(r,s)}return t[7]}function Uu(e,t,n,r,s,i,o){for(;null!=n;){const a=r[n.index],f=n.type;if(o&&0===t&&(a&&yr(Ue(a),r),n.flags|=4),64!=(64&n.flags))if(8&f)Uu(e,t,n.child,r,s,i,!1),Do(t,e,s,a,i);else if(32&f){const m=Ou(n,r);let b;for(;b=m();)Do(t,e,s,b,i);Do(t,e,s,a,i)}else 16&f?Jf(e,t,r,n,s,i):Do(t,e,s,a,i);n=o?n.projectionNext:n.next}}function Ca(e,t,n,r,s,i){Uu(n,r,e.firstChild,t,s,i,!1)}function Jf(e,t,n,r,s,i){const o=n[16],f=o[6].projection[r.projection];if(Array.isArray(f))for(let m=0;m<f.length;m++)Do(t,e,s,f[m],i);else Uu(e,t,f,o[3],s,i,!0)}function Xf(e,t,n){M(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Hu(e,t,n){M(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function eh(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const i=t.length;if(s+i===r||e.charCodeAt(s+i)<=32)return s}n=s+1}}const th="ng-template";function qv(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==eh(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function nh(e){return 4===e.type&&e.value!==th}function Zv(e,t,n){return t===(4!==e.type||n?e.value:th)}function Jv(e,t,n){let r=4;const s=e.attrs||[],i=function(e){for(let t=0;t<e.length;t++)if(oa(e[t]))return t;return e.length}(s);let o=!1;for(let a=0;a<t.length;a++){const f=t[a];if("number"!=typeof f){if(!o)if(4&r){if(r=2|1&r,""!==f&&!Zv(e,f,n)||""===f&&1===t.length){if(ws(r))return!1;o=!0}}else{const m=8&r?f:t[++a];if(8&r&&null!==e.attrs){if(!qv(e.attrs,m,n)){if(ws(r))return!1;o=!0}continue}const A=Xv(8&r?"class":f,s,nh(e),n);if(-1===A){if(ws(r))return!1;o=!0;continue}if(""!==m){let R;R=A>i?"":s[A+1].toLowerCase();const B=8&r?R:null;if(B&&-1!==eh(B,m,0)||2&r&&m!==R){if(ws(r))return!1;o=!0}}}}else{if(!o&&!ws(r)&&!ws(f))return!1;if(o&&ws(f))continue;o=!1,r=f|1&r}}return ws(r)||o}function ws(e){return 0==(1&e)}function Xv(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let i=!1;for(;s<t.length;){const o=t[s];if(o===e)return s;if(3===o||6===o)i=!0;else{if(1===o||2===o){let a=t[++s];for(;"string"==typeof a;)a=t[++s];continue}if(4===o)break;if(0===o){s+=4;continue}}s+=i?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function rh(e,t,n=!1){for(let r=0;r<t.length;r++)if(Jv(e,t[r],n))return!0;return!1}function rE(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let s=0;s<e.length;s++)if(e[s]!==r[s])continue e;return!0}}return!1}function sh(e,t){return e?":not("+t.trim()+")":t}function sE(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const a=e[++n];s+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""!==s&&!ws(o)&&(t+=sh(i,s),s=""),r=o,i=i||!ws(r);n++}return""!==s&&(t+=sh(i,s)),t}const bt={};function ih(e){oh(It(),Ae(),je()+e,j())}function oh(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Xt(t,i,n)}else{const i=e.preOrderHooks;null!==i&&as(t,i,0,n)}Qe(n)}function Dl(e,t){return e<<17|t<<2}function Ts(e){return e>>17&32767}function $u(e){return 2|e}function ci(e){return(131068&e)>>2}function Wu(e,t){return-131069&e|t<<2}function zu(e){return 1|e}function mh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const o=e.data[i];Gr(s),o.contentQueries(2,t[i],i)}}}function ba(e,t,n,r,s,i,o,a,f,m){const b=t.blueprint.slice();return b[0]=s,b[2]=140|r,bs(b),b[3]=b[15]=e,b[8]=n,b[10]=o||e&&e[10],b[O]=a||e&&e[O],b[12]=f||e&&e[12]||null,b[9]=m||e&&e[9]||null,b[6]=i,b[16]=2==t.type?e[16]:b,b}function wo(e,t,n,r,s){let i=e.data[t];if(null===i)i=function(e,t,n,r,s){const i=D(),o=g(),f=e.data[t]=function(e,t,n,r,s,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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,o?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=f),null!==i&&(o?null==i.child&&null!==f.parent&&(i.child=f):null===i.next&&(i.next=f)),f}(e,t,n,r,s),pt.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const o=function(){const e=pt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===o?-1:o.injectorIndex}return u(i,!0),i}function To(e,t,n,r){if(0===n)return-1;const s=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function Da(e,t,n){mr(t);try{const r=e.viewQuery;null!==r&&ac(1,r,n);const s=e.template;null!==s&&yh(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&mh(e,t),e.staticViewQueries&&ac(2,e.viewQuery,n);const i=e.components;null!==i&&function(e,t){for(let n=0;n<t.length;n++)LE(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,kr()}}function So(e,t,n,r){const s=t[2];if(256==(256&s))return;mr(t);const i=j();try{bs(t),function(e){pt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&yh(e,t,n,2,r);const o=3==(3&s);if(!i)if(o){const m=e.preOrderCheckHooks;null!==m&&Xt(t,m,null)}else{const m=e.preOrderHooks;null!==m&&as(t,m,0,null),Yr(t,0)}if(function(e){for(let t=xu(e);null!==t;t=Nu(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const s=n[r],i=s[3];0==(1024&s[2])&&Bs(i,1),s[2]|=1024}}}(t),function(e){for(let t=xu(e);null!==t;t=Nu(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];gr(r)&&So(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&mh(e,t),!i)if(o){const m=e.contentCheckHooks;null!==m&&Xt(t,m)}else{const m=e.contentHooks;null!==m&&as(t,m,1),Yr(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)Qe(~s);else{const i=s,o=n[++r],a=n[++r];Ot(o,i),a(2,t[i])}}}finally{Qe(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)kE(e,t[n])}(t,a);const f=e.viewQuery;if(null!==f&&ac(2,f,r),!i)if(o){const m=e.viewCheckHooks;null!==m&&Xt(t,m)}else{const m=e.viewHooks;null!==m&&as(t,m,2),Yr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Bs(t[3],-1))}finally{kr()}}function yE(e,t,n,r){const s=t[10],i=!j(),o=tr(t);try{i&&!o&&s.begin&&s.begin(),o&&Da(e,t,r),So(e,t,n,r)}finally{i&&!o&&s.end&&s.end()}}function yh(e,t,n,r,s){const i=je(),o=2&r;try{Qe(-1),o&&t.length>20&&oh(e,t,20,j()),n(r,s)}finally{Qe(i)}}function _h(e,t,n){if(Ls(t)){const s=t.directiveEnd;for(let i=t.directiveStart;i<s;i++){const o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}}function Xu(e,t,n){!oo()||(function(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Ii(n,t),yr(r,t);const o=n.initialInputs;for(let a=s;a<i;a++){const f=e.data[a],m=zn(f);m&&RE(t,n,f);const b=tt(t,e,a,n);yr(b,t),null!==o&&OE(0,a-s,b,f,0,o),m&&(Cn(n.index,t)[8]=b)}}(e,t,n,lt(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,s=n.directiveEnd,o=n.index,a=pt.lFrame.currentDirectiveIndex;try{Qe(o);for(let f=r;f<s;f++){const m=e.data[f],b=t[f];an(f),(null!==m.hostBindings||0!==m.hostVars||null!==m.hostAttrs)&&Sh(m,b)}}finally{Qe(-1),an(a)}}(e,t,n))}function ec(e,t,n=lt){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],a=-1===o?n(t,e):e[o];e[s++]=a}}}function vh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Sl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Sl(e,t,n,r,s,i,o,a,f,m){const b=20+r,A=b+s,R=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:bt);return n}(b,A),B="function"==typeof m?m():m;return R[1]={type:e,blueprint:R,template:n,queries:null,viewQuery:a,declTNode:t,data:R.slice().fill(null,b),bindingStartIndex:b,expandoStartIndex:A,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 i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:f,consts:B,incompleteFirstPass:!1}}function bh(e,t,n,r){const s=Oh(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&xh(e).push(r,s.length-1))}function Dh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function Zr(e,t,n,r,s,i,o,a){const f=lt(t,n);let b,m=t.inputs;!a&&null!=m&&(b=m[r])?(kh(e,n,b,r,s),An(t)&&function(e,t){const n=Cn(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=o?o(s,t.value||"",r):s,M(i)?i.setProperty(f,r,s):aa(r)||(f.setProperty?f.setProperty(r,s):f[r]=s))}function tc(e,t,n,r){let s=!1;if(oo()){const i=function(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];rh(n,o.selectors,!1)&&(s||(s=[]),d(Ii(n,t),e,o.type),zn(o)?(Ih(e,n),s.unshift(o)):s.push(o))}return s}(e,t,n),o=null===r?null:{"":-1};if(null!==i){s=!0,Mh(n,e.data.length,i.length);for(let b=0;b<i.length;b++){const A=i[b];A.providersResolver&&A.providersResolver(A)}let a=!1,f=!1,m=To(e,t,i.length,null);for(let b=0;b<i.length;b++){const A=i[b];n.mergedAttrs=uo(n.mergedAttrs,A.hostAttrs),Ah(e,n,t,m,A),PE(m,A,o),null!==A.contentQueries&&(n.flags|=8),(null!==A.hostBindings||null!==A.hostAttrs||0!==A.hostVars)&&(n.flags|=128);const R=A.type.prototype;!a&&(R.ngOnChanges||R.ngOnInit||R.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!f&&(R.ngOnChanges||R.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),f=!0),m++}!function(e,t){const r=t.directiveEnd,s=e.data,i=t.attrs,o=[];let a=null,f=null;for(let m=t.directiveStart;m<r;m++){const b=s[m],A=b.inputs,R=null===i||nh(t)?null:xE(A,i);o.push(R),a=Dh(A,m,a),f=Dh(b.outputs,m,f)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=f}(e,n)}o&&function(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const i=n[t[s+1]];if(null==i)throw new xe("301",`Export of name '${t[s+1]}' not found!`);r.push(t[s],i)}}}(n,r,o)}return n.mergedAttrs=uo(n.mergedAttrs,n.attrs),s}function Th(e,t,n,r,s,i){const o=i.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const f=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=f&&a.push(f),a.push(r,s,o)}}function Sh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ih(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function PE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;zn(t)&&(n[""]=e)}}function Mh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ah(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=br(s.type)),o=new Hi(i,zn(s),null);e.blueprint[r]=o,n[r]=o,Th(e,t,0,r,To(e,n,s.hostVars,bt),s)}function RE(e,t,n){const r=lt(t,e),s=vh(n),i=e[10],o=Il(e,ba(e,s,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=o}function Gs(e,t,n,r,s,i){const o=lt(e,t);!function(e,t,n,r,s,i,o){if(null==i)M(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const a=null==o?oe(i):o(i,r||"",s);M(e)?e.setAttribute(t,s,a,n):n?t.setAttributeNS(n,s,a):t.setAttribute(s,a)}}(t[O],o,i,e.value,n,r,s)}function OE(e,t,n,r,s,i){const o=i[t];if(null!==o){const a=r.setInput;for(let f=0;f<o.length;){const m=o[f++],b=o[f++],A=o[f++];null!==a?r.setInput(n,A,m,b):n[b]=A}}}function xE(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Ph(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function kE(e,t){const n=Cn(t,e);if(gr(n)){const r=n[1];80&n[2]?So(r,n,r.template,n[8]):n[5]>0&&rc(n)}}function rc(e){for(let r=xu(e);null!==r;r=Nu(r))for(let s=10;s<r.length;s++){const i=r[s];if(1024&i[2]){const o=i[1];So(o,i,o.template,i[8])}else i[5]>0&&rc(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=Cn(n[r],e);gr(s)&&s[5]>0&&rc(s)}}function LE(e,t){const n=Cn(t,e),r=n[1];(function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Da(r,n,n[8])}function Il(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function sc(e){for(;e;){e[2]|=64;const t=Ea(e);if(gi(e)&&!t)return e;e=t}return null}function oc(e,t,n){const r=t[10];r.begin&&r.begin();try{So(e,t,e.template,n)}catch(s){throw Fh(t,s),s}finally{r.end&&r.end()}}function Rh(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Au(n),s=r[1];yE(s,r,s.template,n)}}(e[8])}function ac(e,t,n){Gr(0),t(e,n)}const HE=(()=>Promise.resolve(null))();function Oh(e){return e[7]||(e[7]=[])}function xh(e){return e.cleanup||(e.cleanup=[])}function Nh(e,t,n){return(null===e||zn(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[O]}function Fh(e,t){const n=e[9],r=n?n.get(Co,null):null;r&&r.handleError(t)}function kh(e,t,n,r,s){for(let i=0;i<n.length;){const o=n[i++],a=n[i++],f=t[o],m=e.data[o];null!==m.setInput?m.setInput(f,s,r,a):f[a]=s}}function fi(e,t,n){const r=Kt(t,e);!function(e,t,n){M(e)?e.setValue(t,n):t.textContent=n}(e[O],r,n)}function Ml(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?i=a:1==i?s=ue(s,a):2==i&&(r=ue(r,a+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}const Io=new xn("INJECTOR",-1);class Lh{get(t,n=fa){if(n===fa){const r=new Error(`NullInjectorError: No provider for ${N(t)}!`);throw r.name="NullInjectorError",r}return n}}const wa=new xn("Set Injector scope."),Ta={},zE={};let lc;function Vh(){return void 0===lc&&(lc=new Lh),lc}function Bh(e,t=null,n=null,r){return new KE(e,n,t||Vh(),r)}class KE{constructor(t,n,r,s=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];n&&Hs(n,a=>this.processProvider(a,t,n)),Hs([t],a=>this.processInjectorType(a,[],i)),this.records.set(Io,Mo(void 0,this));const o=this.records.get(wa);this.scope=null!=o?o.value:null,this.source=s||("object"==typeof t?null:N(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=fa,r=x.Default){this.assertNotDestroyed();const s=mo(this),i=Se(void 0);try{if(!(r&x.SkipSelf)){let a=this.records.get(t);if(void 0===a){const f=("function"==typeof(e=t)||"object"==typeof e&&e instanceof xn)&&At(t);a=f&&this.injectableDefInScope(f)?Mo(uc(t),Ta):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&x.Self?Vh():this.parent).get(t,n=r&x.Optional&&n===fa?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[go]=o[go]||[]).unshift(N(t)),s)throw o;return rf(o,t,"R3InjectorError",this.source)}throw o}finally{Se(i),mo(s)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,s)=>t.push(N(s))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=J(t)))return!1;let s=Sn(t);const i=null==s&&t.ngModule||void 0,o=void 0===i?t:i,a=-1!==r.indexOf(o);if(void 0!==i&&(s=Sn(i)),null==s)return!1;if(null!=s.imports&&!a){let b;r.push(o);try{Hs(s.imports,A=>{this.processInjectorType(A,n,r)&&(void 0===b&&(b=[]),b.push(A))})}finally{}if(void 0!==b)for(let A=0;A<b.length;A++){const{ngModule:R,providers:B}=b[A];Hs(B,Q=>this.processProvider(Q,R,B||gt))}}this.injectorDefTypes.add(o);const f=br(o)||(()=>new o);this.records.set(o,Mo(f,Ta));const m=s.providers;if(null!=m&&!a){const b=t;Hs(m,A=>this.processProvider(A,b,m))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let s=Ao(t=J(t))?t:J(t&&t.provide);const i=Uh(e=t)?Mo(void 0,e.useValue):Mo(jh(e),Ta);var e;if(Ao(t)||!0!==t.multi)this.records.get(s);else{let o=this.records.get(s);o||(o=Mo(void 0,Ta,!0),o.factory=()=>zi(o.multi),this.records.set(s,o)),s=t,o.multi.push(t)}this.records.set(s,i)}hydrate(t,n){return n.value===Ta&&(n.value=zE,n.value=n.factory()),"object"==typeof n.value&&n.value&&null!==(e=n.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(n.value),n.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const n=J(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function uc(e){const t=At(e),n=null!==t?t.factory:br(e);if(null!==n)return n;if(e instanceof xn)throw new Error(`Token ${N(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=Mi(t,"?");throw new Error(`Can't resolve all parameters for ${N(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[In]||e[Yt]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function jh(e,t,n){let r;if(Ao(e)){const s=J(e);return br(s)||uc(s)}if(Uh(e))r=()=>J(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...zi(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>jn(J(e.useExisting));else{const s=J(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return br(s)||uc(s);r=()=>new s(...zi(e.deps))}return r}function Mo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Uh(e){return null!==e&&"object"==typeof e&&vu in e}function Ao(e){return"function"==typeof e}const Hh=function(e,t,n){return function(e,t=null,n=null,r){const s=Bh(e,t,n,r);return s._resolveInjectorDefTypes(),s}({name:n},t,e,n)};class on{static create(t,n){return Array.isArray(t)?Hh(t,n,""):Hh(t.providers,t.parent,t.name||"")}}function pC(e,t){Di(Au(e)[1],Pn())}function gc(e){let t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(zn(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");s=t.\u0275dir}if(s){if(n){r.push(s);const o=e;o.inputs=mc(e.inputs),o.declaredInputs=mc(e.declaredInputs),o.outputs=mc(e.outputs);const a=s.hostBindings;a&&_C(e,a);const f=s.viewQuery,m=s.contentQueries;if(f&&mC(e,f),m&&yC(e,m),W(e.inputs,s.inputs),W(e.declaredInputs,s.declaredInputs),W(e.outputs,s.outputs),zn(s)&&s.data.animation){const b=e.data;b.animation=(b.animation||[]).concat(s.data.animation)}}const i=s.features;if(i)for(let o=0;o<i.length;o++){const a=i[o];a&&a.ngInherit&&a(e),a===gc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=uo(s.hostAttrs,n=uo(n,s.hostAttrs))}}(r)}function mc(e){return e===Vn?{}:e===gt?[]:e}function mC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function yC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function _C(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}on.THROW_IF_NOT_FOUND=fa,on.NULL=new Lh,on.\u0275prov=Ye({token:on,providedIn:"any",factory:()=>jn(Io)}),on.__NG_ELEMENT_ID__=-1;let Al=null;function Po(){if(!Al){const e=rt.Symbol;if(e&&e.iterator)Al=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Al=r)}}}return Al}class Is{constructor(t){this.wrapped=t}static wrap(t){return new Is(t)}static unwrap(t){return Is.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Is}}function Ia(e){return!!yc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Po()in e)}function yc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ks(e,t,n){return e[t]=n}function Ma(e,t){return e[t]}function _r(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Yi(e,t,n,r){const s=_r(e,t,n);return _r(e,t+1,r)||s}function hs(e,t,n,r,s,i){const o=Yi(e,t,n,r);return Yi(e,t+2,s,i)||o}function _c(e,t,n,r){const s=Ae();return _r(s,ut(),t)&&(It(),Gs($e(),s,e,t,n,r)),_c}function Oo(e,t,n,r){return _r(e,ut(),n)?t+oe(n)+r:bt}function gp(e,t,n,r,s,i,o,a){const f=Ae(),m=It(),b=e+20,A=m.firstCreatePass?function(e,t,n,r,s,i,o,a,f){const m=t.consts,b=wo(t,e,4,o||null,wr(m,a));tc(t,n,b,wr(m,f)),Di(t,b);const A=b.tViews=Sl(2,b,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,m);return null!==t.queries&&(t.queries.template(t,b),A.queries=t.queries.embeddedTView(b)),b}(b,m,f,t,n,r,s,i,o):m.data[b];u(A,!1);const R=f[O].createComment("");Cl(m,f,R,A),yr(R,f),Il(f,f[b]=Ph(R,f,R,A)),rs(A)&&Xu(m,f,A),null!=o&&ec(f,A,a)}function mp(e){return tn(pt.lFrame.contextLView,20+e)}function Aa(e,t=x.Default){const n=Ae();return null===n?jn(e,t):S(Pn(),n,J(e),t)}function Dc(e,t,n){const r=Ae();return _r(r,ut(),t)&&Zr(It(),$e(),r,e,t,r[O],n,!1),Dc}function wc(e,t,n,r,s){const o=s?"class":"style";kh(e,n,t.inputs[o],o,r)}function Tc(e,t,n,r){const s=Ae(),i=It(),o=20+e,a=s[O],f=s[o]=ku(a,t,pt.lFrame.currentNamespace),m=i.firstCreatePass?function(e,t,n,r,s,i,o){const a=t.consts,m=wo(t,e,2,s,wr(a,i));return tc(t,n,m,wr(a,o)),null!==m.attrs&&Ml(m,m.attrs,!1),null!==m.mergedAttrs&&Ml(m,m.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,m),m}(o,i,s,0,t,n,r):i.data[o];u(m,!0);const b=m.mergedAttrs;null!==b&&us(a,f,b);const A=m.classes;null!==A&&Hu(a,f,A);const R=m.styles;null!==R&&Xf(a,f,R),64!=(64&m.flags)&&Cl(i,s,f,m),0===pt.lFrame.elementDepthCount&&yr(f,s),pt.lFrame.elementDepthCount++,rs(m)&&(Xu(i,s,m),_h(i,m,s)),null!==r&&ec(s,m)}function Sc(){let e=Pn();g()?w():(e=e.parent,u(e,!1));const t=e;pt.lFrame.elementDepthCount--;const n=It();n.firstCreatePass&&(Di(n,e),Ls(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&wc(n,t,Ae(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&wc(n,t,Ae(),t.stylesWithoutHost,!1)}function Mp(e,t,n,r){Tc(e,t,n,r),Sc()}function Ic(e,t,n){const r=Ae(),s=It(),i=e+20,o=s.firstCreatePass?function(e,t,n,r,s){const i=t.consts,o=wr(i,r),a=wo(t,e,8,"ng-container",o);return null!==o&&Ml(a,o,!0),tc(t,n,a,wr(i,s)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,s,r,t,n):s.data[i];u(o,!0);const a=r[i]=r[O].createComment("");Cl(s,r,a,o),yr(a,r),rs(o)&&(Xu(s,r,o),_h(s,o,r)),null!=n&&ec(r,o)}function Mc(){let e=Pn();const t=It();g()?w():(e=e.parent,u(e,!1)),t.firstCreatePass&&(Di(t,e),Ls(e)&&t.queries.elementEnd(e))}function Ap(e,t,n){Ic(e,t,n),Mc()}function Pp(){return Ae()}function Ac(e){return!!e&&"function"==typeof e.then}function Rp(e){return!!e&&"function"==typeof e.subscribe}const Pc=Rp;function Rc(e,t,n,r){const s=Ae(),i=It(),o=Pn();return Op(i,s,s[O],o,e,t,!!n,r),Rc}function Oc(e,t){const n=Pn(),r=Ae(),s=It();return Op(s,r,Nh(Rn(s.data),n,r),n,e,t,!1),Oc}function Op(e,t,n,r,s,i,o,a){const f=rs(r),b=e.firstCreatePass&&xh(e),A=t[8],R=Oh(t);let B=!0;if(3&r.type||a){const re=lt(r,t),ke=a?a(re):re,be=R.length,Xe=a?yt=>a(Ue(yt[r.index])):r.index;if(M(n)){let yt=null;if(!a&&f&&(yt=function(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const o=s[i];if(o===n&&s[i+1]===r){const a=t[7],f=s[i+2];return a.length>f?a[f]:null}"string"==typeof o&&(i+=2)}return null}(e,t,s,r.index)),null!==yt)(yt.__ngLastListenerFn__||yt).__ngNextListenerFn__=i,yt.__ngLastListenerFn__=i,B=!1;else{i=xc(r,t,A,i,!1);const jt=n.listen(ke,s,i);R.push(i,jt),b&&b.push(s,Xe,be,be+1)}}else i=xc(r,t,A,i,!0),ke.addEventListener(s,i,o),R.push(i),b&&b.push(s,Xe,be,o)}else i=xc(r,t,A,i,!1);const Q=r.outputs;let de;if(B&&null!==Q&&(de=Q[s])){const re=de.length;if(re)for(let ke=0;ke<re;ke+=2){const qn=t[de[ke]][de[ke+1]].subscribe(i),ms=R.length;R.push(i,qn),b&&b.push(s,r.index,ms,-(ms+1))}}}function xp(e,t,n,r){try{return!1!==n(r)}catch(s){return Fh(e,s),!1}}function xc(e,t,n,r,s){return function i(o){if(o===Function)return r;const a=2&e.flags?Cn(e.index,t):t;0==(32&t[2])&&sc(a);let f=xp(t,0,r,o),m=i.__ngNextListenerFn__;for(;m;)f=xp(t,0,m,o)&&f,m=m.__ngNextListenerFn__;return s&&!1===f&&(o.preventDefault(),o.returnValue=!1),f}}function Np(e=1){return function(e){return(pt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,pt.lFrame.contextLView))[8]}(e)}function JC(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const i=t[s];if("*"!==i){if(null===r?rh(e,i,!0):rE(r,i))return s}else n=s}return n}function Fp(e){const t=Ae()[16][6];if(!t.projection){const r=t.projection=Mi(e?e.length:1,null),s=r.slice();let i=t.child;for(;null!==i;){const o=e?JC(i,e):0;null!==o&&(s[o]?s[o].projectionNext=i:r[o]=i,s[o]=i),i=i.next}}}function kp(e,t=0,n){const r=Ae(),s=It(),i=wo(s,20+e,16,null,n||null);null===i.projection&&(i.projection=t),w(),64!=(64&i.flags)&&function(e,t,n){Jf(t[O],0,t,n,Hf(e,n,t),Gf(n.parent||t[6],n,t))}(s,r,i)}function Nc(e,t,n){return Ol(e,"",t,"",n),Nc}function Ol(e,t,n,r,s){const i=Ae(),o=Oo(i,t,n,r);return o!==bt&&Zr(It(),$e(),i,e,o,i[O],s,!1),Ol}function zp(e,t,n,r,s){const i=e[n+1],o=null===t;let a=r?Ts(i):ci(i),f=!1;for(;0!==a&&(!1===f||o);){const b=e[a+1];tb(e[a],t)&&(f=!0,e[a+1]=r?zu(b):$u(b)),a=r?Ts(b):ci(b)}f&&(e[n+1]=r?$u(i):zu(i))}function tb(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&po(e,t)>=0}const Qn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Gp(e){return e.substring(Qn.key,Qn.keyEnd)}function Kp(e,t){const n=Qn.textEnd;return n===t?-1:(t=Qn.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Qn.key=t,n),Uo(e,t,n))}function Uo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Fc(e,t,n){return Ms(e,t,n,!1),Fc}function kc(e,t){return Ms(e,t,null,!0),kc}function Jp(e){As(qr,Qs,e,!0)}function Qs(e,t){for(let n=function(e){return function(e){Qn.key=0,Qn.keyEnd=0,Qn.value=0,Qn.valueEnd=0,Qn.textEnd=e.length}(e),Kp(e,Uo(e,0,Qn.textEnd))}(t);n>=0;n=Kp(t,n))qr(e,Gp(t),!0)}function Ms(e,t,n,r){const s=Ae(),i=It(),o=vt(2);i.firstUpdatePass&&eg(i,e,o,r),t!==bt&&_r(s,o,t)&&ng(i,i.data[je()],s,s[O],e,s[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=N(ui(e)))),e}(t,n),r,o)}function As(e,t,n,r){const s=It(),i=vt(2);s.firstUpdatePass&&eg(s,null,i,r);const o=Ae();if(n!==bt&&_r(o,i,n)){const a=s.data[je()];if(sg(a,r)&&!Xp(s,i)){let f=r?a.classesWithoutHost:a.stylesWithoutHost;null!==f&&(n=ue(f,n||"")),wc(s,a,o,n,r)}else!function(e,t,n,r,s,i,o,a){s===bt&&(s=gt);let f=0,m=0,b=0<s.length?s[0]:null,A=0<i.length?i[0]:null;for(;null!==b||null!==A;){const R=f<s.length?s[f+1]:void 0,B=m<i.length?i[m+1]:void 0;let de,Q=null;b===A?(f+=2,m+=2,R!==B&&(Q=A,de=B)):null===A||null!==b&&b<A?(f+=2,Q=b):(m+=2,Q=A,de=B),null!==Q&&ng(e,t,n,r,Q,de,o,a),b=f<s.length?s[f]:null,A=m<i.length?i[m]:null}}(s,a,o,o[O],o[i+1],o[i+1]=function(e,t,n){if(null==n||""===n)return gt;const r=[],s=ui(n);if(Array.isArray(s))for(let i=0;i<s.length;i++)e(r,s[i],!0);else if("object"==typeof s)for(const i in s)s.hasOwnProperty(i)&&e(r,i,s[i]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,i)}}function Xp(e,t){return t>=e.expandoStartIndex}function eg(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[je()],o=Xp(e,n);sg(i,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){const s=Rn(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=Pa(n=Lc(null,e,t,n,r),t.attrs,r),i=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==s)if(n=Lc(s,e,t,n,r),null===i){let f=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ci(r))return e[Ts(r)]}(e,t,r);void 0!==f&&Array.isArray(f)&&(f=Lc(null,e,t,f[1],r),f=Pa(f,t.attrs,r),function(e,t,n,r){e[Ts(n?t.classBindings:t.styleBindings)]=r}(e,t,r,f))}else i=function(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=Pa(r,e[i].hostAttrs,n);return Pa(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function(e,t,n,r,s,i){let o=i?t.classBindings:t.styleBindings,a=Ts(o),f=ci(o);e[r]=n;let b,m=!1;if(Array.isArray(n)){const A=n;b=A[1],(null===b||po(A,b)>0)&&(m=!0)}else b=n;if(s)if(0!==f){const R=Ts(e[a+1]);e[r+1]=Dl(R,a),0!==R&&(e[R+1]=Wu(e[R+1],r)),e[a+1]=function(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Dl(a,0),0!==a&&(e[a+1]=Wu(e[a+1],r)),a=r;else e[r+1]=Dl(f,0),0===a?a=r:e[f+1]=Wu(e[f+1],r),f=r;m&&(e[r+1]=$u(e[r+1])),zp(e,b,r,!0),zp(e,b,r,!1),function(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&po(i,t)>=0&&(n[r+1]=zu(n[r+1]))}(t,b,e,r,i),o=Dl(a,f),i?t.classBindings=o:t.styleBindings=o}(s,i,t,n,o,r)}}function Lc(e,t,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(i=t[a],r=Pa(r,i.hostAttrs,s),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Pa(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?s=o:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),qr(e,o,!!n||t[++i]))}return void 0===e?null:e}function ng(e,t,n,r,s,i,o,a){if(!(3&t.type))return;const f=e.data,m=f[a+1];xl(function(e){return 1==(1&e)}(m)?rg(f,t,n,s,ci(m),o):void 0)||(xl(i)||function(e){return 2==(2&e)}(m)&&(i=rg(f,null,n,s,a,o)),function(e,t,n,r,s){const i=M(e);if(t)s?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let o=-1===r.indexOf("-")?void 0:zs.DashCase;if(null==s)i?e.removeStyle(n,r,o):n.style.removeProperty(r);else{const a="string"==typeof s&&s.endsWith("!important");a&&(s=s.slice(0,-10),o|=zs.Important),i?e.setStyle(n,r,s,o):n.style.setProperty(r,s,a?"important":"")}}}(r,o,Kt(je(),n),s,i))}function rg(e,t,n,r,s,i){const o=null===t;let a;for(;s>0;){const f=e[s],m=Array.isArray(f),b=m?f[1]:f,A=null===b;let R=n[s+1];R===bt&&(R=A?gt:void 0);let B=A?gu(R,r):b===r?R:void 0;if(m&&!xl(B)&&(B=gu(f,r)),xl(B)&&(a=B,o))return a;const Q=e[s+1];s=o?Ts(Q):ci(Q)}if(null!==t){let f=i?t.residualClasses:t.residualStyles;null!=f&&(a=gu(f,r))}return a}function xl(e){return void 0!==e}function sg(e,t){return 0!=(e.flags&(t?16:32))}function ig(e,t=""){const n=Ae(),r=It(),s=e+20,i=r.firstCreatePass?wo(r,s,1,t,null):r.data[s],o=n[s]=function(e,t){return M(e)?e.createText(t):e.createTextNode(t)}(n[O],t);Cl(r,n,o,i),u(i,!1)}function Vc(e){return Nl("",e,""),Vc}function Nl(e,t,n){const r=Ae(),s=Oo(r,e,t,n);return s!==bt&&fi(r,je(),s),Nl}function Bc(e,t,n,r,s){const i=Ae(),o=function(e,t,n,r,s,i){const a=Yi(e,Le(),n,s);return vt(2),a?t+oe(n)+r+oe(s)+i:bt}(i,e,t,n,r,s);return o!==bt&&fi(i,je(),o),Bc}function hg(e,t,n){As(qr,Qs,Oo(Ae(),e,t,n),!0)}function jc(e,t,n){const r=Ae();return _r(r,ut(),t)&&Zr(It(),$e(),r,e,t,r[O],n,!0),jc}function Uc(e,t,n){const r=Ae();if(_r(r,ut(),t)){const i=It(),o=$e();Zr(i,o,r,e,t,Nh(Rn(i.data),o,r),n,!0)}return Uc}const Qi=void 0;var Nb=["en",[["a","p"],["AM","PM"],Qi],[["AM","PM"],Qi,Qi],[["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"]],Qi,[["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"]],Qi,[["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}",Qi,"{1} 'at' {0}",Qi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Ho={};function Hc(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=wg(t);if(n)return n;const r=t.split("-")[0];if(n=wg(r),n)return n;if("en"===r)return Nb;throw new Error(`Missing locale data for the locale "${e}".`)}function Dg(e){return Hc(e)[dt.PluralCase]}function wg(e){return e in Ho||(Ho[e]=rt.ng&&rt.ng.common&&rt.ng.common.locales&&rt.ng.common.locales[e]),Ho[e]}var dt=(()=>((dt=dt||{})[dt.LocaleId=0]="LocaleId",dt[dt.DayPeriodsFormat=1]="DayPeriodsFormat",dt[dt.DayPeriodsStandalone=2]="DayPeriodsStandalone",dt[dt.DaysFormat=3]="DaysFormat",dt[dt.DaysStandalone=4]="DaysStandalone",dt[dt.MonthsFormat=5]="MonthsFormat",dt[dt.MonthsStandalone=6]="MonthsStandalone",dt[dt.Eras=7]="Eras",dt[dt.FirstDayOfWeek=8]="FirstDayOfWeek",dt[dt.WeekendRange=9]="WeekendRange",dt[dt.DateFormat=10]="DateFormat",dt[dt.TimeFormat=11]="TimeFormat",dt[dt.DateTimeFormat=12]="DateTimeFormat",dt[dt.NumberSymbols=13]="NumberSymbols",dt[dt.NumberFormats=14]="NumberFormats",dt[dt.CurrencyCode=15]="CurrencyCode",dt[dt.CurrencySymbol=16]="CurrencySymbol",dt[dt.CurrencyName=17]="CurrencyName",dt[dt.Currencies=18]="Currencies",dt[dt.Directionality=19]="Directionality",dt[dt.PluralCase=20]="PluralCase",dt[dt.ExtraData=21]="ExtraData",dt))();const Fl="en-US";let Tg=Fl;function $c(e){fe(e,"Expected localeId to be defined"),"string"==typeof e&&(Tg=e.toLowerCase().replace(/_/g,"-"))}function Gc(e,t,n,r,s){if(e=J(e),Array.isArray(e))for(let i=0;i<e.length;i++)Gc(e[i],t,n,r,s);else{const i=It(),o=Ae();let a=Ao(e)?e:J(e.provide),f=jh(e);const m=Pn(),b=1048575&m.providerIndexes,A=m.directiveStart,R=m.providerIndexes>>20;if(Ao(e)||!e.multi){const B=new Hi(f,s,Aa),Q=Yc(a,t,s?b:b+R,A);-1===Q?(d(Ii(m,o),i,a),Kc(i,e,t.length),t.push(a),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),n.push(B),o.push(B)):(n[Q]=B,o[Q]=B)}else{const B=Yc(a,t,b+R,A),Q=Yc(a,t,b,b+R),de=B>=0&&n[B],re=Q>=0&&n[Q];if(s&&!re||!s&&!de){d(Ii(m,o),i,a);const ke=function(e,t,n,r,s){const i=new Hi(e,n,Aa);return i.multi=[],i.index=t,i.componentProviders=0,Qg(i,s,r&&!n),i}(s?RD:PD,n.length,s,r,f);!s&&re&&(n[Q].providerFactory=ke),Kc(i,e,t.length,0),t.push(a),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),n.push(ke),o.push(ke)}else Kc(i,e,B>-1?B:Q,Qg(n[s?Q:B],f,!s&&r));!s&&r&&re&&n[Q].componentProviders++}}}function Kc(e,t,n,r){const s=Ao(t);if(s||function(e){return!!e.useClass}(t)){const o=(t.useClass||t).prototype.ngOnDestroy;if(o){const a=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const f=a.indexOf(n);-1===f?a.push(n,[r,o]):a[f+1].push(r,o)}else a.push(n,o)}}}function Qg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Yc(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function PD(e,t,n,r){return Qc(this.multi,[])}function RD(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const o=this.providerFactory.componentProviders,a=tt(n,n[1],this.providerFactory.index,r);i=a.slice(0,o),Qc(s,i);for(let f=o;f<a.length;f++)i.push(a[f])}else i=[],Qc(s,i);return i}function Qc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function qg(e,t=[]){return n=>{n.providersResolver=(r,s)=>function(e,t,n){const r=It();if(r.firstCreatePass){const s=zn(e);Gc(n,r.data,r.blueprint,s,!0),Gc(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class Zg{}const Xg="ngComponent";class ND{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${N(e)}. Did you add it to @NgModule.entryComponents?`);return t[Xg]=e,t}(t)}}class qi{}function jl(...e){}function Wo(e,t){return new qs(lt(e,t))}qi.NULL=new ND;const LD=function(){return Wo(Pn(),Ae())};let qs=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=LD,e})();function em(e){return e instanceof qs?e.nativeElement:e}class Ul{}let VD=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>jD(),e})();const jD=function(){const e=Ae(),n=Cn(Pn().index,e);return function(e){return e[O]}(bn(n)?n:e)};let Zc=(()=>{class e{}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:()=>null}),e})();class tm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const nm=new tm("12.2.1");class rm{constructor(){}supports(t){return Ia(t)}create(t){return new WD(t)}}const $D=(e,t)=>t;class WD{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||$D}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,s=0,i=null;for(;n||r;){const o=!r||n&&n.currentIndex<im(r,s,i)?n:r,a=im(o,s,i),f=o.currentIndex;if(o===r)s--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)s++;else{i||(i=[]);const m=a-s,b=f-s;if(m!=b){for(let R=0;R<m;R++){const B=R<i.length?i[R]:i[R]=0,Q=B+R;b<=Q&&Q<m&&(i[R]=B+1)}i[o.previousIndex]=b-m}}a!==f&&t(o,a,f)}}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=[]),!Ia(t))throw new Error(`Error trying to diff '${N(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,i,o,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],o=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,i,o,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,o,a),r=!0),n=n._next}else s=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Po()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{o=this._trackByFn(s,a),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,a,o,s)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,o,s),r=!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,r,s){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,s)):t=this._addAfter(new zD(n,r),i,s),t}_verifyReinsertion(t,n,r,s){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,i=t._nextRemoved;return null===s?this._removalsHead=i:s._nextRemoved=i,null===i?this._removalsTail=s:i._prevRemoved=s,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){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 sm),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._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 sm),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 zD{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 GD{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 r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class sm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new GD,this.map.set(n,r)),r.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 im(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class om{constructor(){}supports(t){return t instanceof Map||yc(t)}create(){return new KD}}class KD{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||yc(t)))throw new Error(`Error trying to diff '${N(t)}'. Only maps and objects are allowed`)}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,(r,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._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 i=s._prev,o=s._next;return i&&(i._next=o),o&&(o._prev=i),s._next=null,s._prev=null,s}const r=new YD(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_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(r=>n(t[r],r))}}class YD{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 am(){return new Hl([new rm])}let Hl=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||am()),deps:[[e,new Ai,new li]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:am}),e})();function lm(){return new $l([new om])}let $l=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||lm()),deps:[[e,new Ai,new li]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:lm}),e})();function Wl(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(Ue(i)),Bn(i))for(let a=10;a<i.length;a++){const f=i[a],m=f[1].firstChild;null!==m&&Wl(f[1],f,m,r)}const o=n.type;if(8&o)Wl(e,t,n.child,r);else if(32&o){const a=Ou(n,t);let f;for(;f=a();)r.push(f)}else if(16&o){const a=qf(t,n);if(Array.isArray(a))r.push(...a);else{const f=Ea(t[16]);Wl(f[1],f,a,r,!0)}}n=s?n.projectionNext:n.next}return r}class Fa{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Wl(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Bn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Lu(t,r),Wi(n,r))}this._attachedToViewContainer=!1}Uf(this._lView[1],this._lView)}onDestroy(t){bh(this._lView[1],this._lView,null,t)}markForCheck(){sc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){oc(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){ne(!0);try{oc(e,t,n)}finally{ne(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Ca(this._lView[1],t=this._lView,t[O],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class qD extends Fa{constructor(t){super(t),this._view=t}detectChanges(){Rh(this._view)}checkNoChanges(){!function(e){ne(!0);try{Rh(e)}finally{ne(!1)}}(this._view)}get context(){return null}}const JD=function(e){return function(e,t,n){if(An(e)&&!n){const r=Cn(e.index,t);return new Fa(r,r)}return 47&e.type?new Fa(t[16],t):null}(Pn(),Ae(),16==(16&e))};let XD=(()=>{class e{}return e.__NG_ELEMENT_ID__=JD,e})();const n0=[new om],s0=new Hl([new rm]),i0=new $l(n0),a0=function(){return zl(Pn(),Ae())};let ka=(()=>{class e{}return e.__NG_ELEMENT_ID__=a0,e})();const l0=ka,u0=class extends l0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=ba(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(r[19]=i.createEmbeddedView(n)),Da(n,r,t),new Fa(r)}};function zl(e,t){return 4&e.type?new u0(t,e,Wo(e,t)):null}class Zi{}class um{}const f0=function(){return fm(Pn(),Ae())};let Gl=(()=>{class e{}return e.__NG_ELEMENT_ID__=f0,e})();const p0=Gl,cm=class extends p0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Wo(this._hostTNode,this._hostLView)}get injector(){return new Ir(this._hostTNode,this._hostLView)}get parentInjector(){const t=h(this._hostTNode,this._hostLView);if(ol(t)){const n=Si(t,this._hostLView),r=Ti(t);return new Ir(n[1].data[r+8],n)}return new Ir(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=dm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const s=t.createEmbeddedView(n||{});return this.insert(s,r),s}createComponent(t,n,r,s,i){const o=r||this.parentInjector;if(!i&&null==t.ngModule&&o){const f=o.get(Zi,null);f&&(i=f)}const a=t.create(o,s,void 0,i);return this.insert(a.hostView,n),a}insert(t,n){const r=t._lView,s=r[1];if(Bn(r[3])){const b=this.indexOf(t);if(-1!==b)this.detach(b);else{const A=r[3],R=new cm(A,A[6],A[3]);R.detach(R.indexOf(t))}}const i=this._adjustIndex(n),o=this._lContainer;!function(e,t,n,r){const s=10+r,i=n.length;r>0&&(n[s-1][4]=t),r<i-10?(t[4]=n[s],dl(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(s,r,o,i);const a=ju(i,o),f=r[O],m=El(f,o[7]);return null!==m&&function(e,t,n,r,s,i){r[0]=s,r[6]=t,Ca(e,r,n,1,s,i)}(s,o[6],f,r,m,a),t.attachToViewContainerRef(),dl(Jc(o),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=dm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Lu(this._lContainer,n);r&&(Wi(Jc(this._lContainer),n),Uf(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Lu(this._lContainer,n);return r&&null!=Wi(Jc(this._lContainer),n)?new Fa(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function dm(e){return e[8]}function Jc(e){return e[8]||(e[8]=[])}function fm(e,t){let n;const r=t[e.index];if(Bn(r))n=r;else{let s;if(8&e.type)s=Ue(r);else{const i=t[O];s=i.createComment("");const o=lt(e,t);Ki(i,El(i,o),s,function(e,t){return M(e)?e.nextSibling(t):t.nextSibling}(i,o),!1)}t[e.index]=n=Ph(r,t,s,e),Il(t,n)}return new cm(n,e,t)}const Yo={};class Om extends qi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=me(t);return new Nm(n,this.ngModule)}}function xm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const cw=new xn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>xf});class Nm extends Zg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(sE).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return xm(this.componentDef.inputs)}get outputs(){return xm(this.componentDef.outputs)}create(t,n,r,s){const i=(s=s||this.ngModule)?function(e,t){return{get:(n,r,s)=>{const i=e.get(n,Yo,s);return i!==Yo||r===Yo?i:t.get(n,r,s)}}}(t,s.injector):t,o=i.get(Ul,ye),a=i.get(Zc,null),f=o.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",b=r?function(e,t,n){if(M(e))return e.selectRootElement(t,n===Mt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(f,r,this.componentDef.encapsulation):ku(o.createRenderer(null,this.componentDef),m,function(e){const t=e.toLowerCase();return"svg"===t?ni:"math"===t?"http://www.w3.org/1998/MathML/":null}(m)),A=this.componentDef.onPush?576:528,R=function(e,t){return{components:[],scheduler:e||xf,clean:HE,playerHandler:t||null,flags:0}}(),B=Sl(0,null,null,1,0,null,null,null,null,null),Q=ba(null,B,R,A,null,null,o,f,a,i);let de,re;mr(Q);try{const ke=function(e,t,n,r,s,i){const o=n[1];n[20]=e;const f=wo(o,20,2,"#host",null),m=f.mergedAttrs=t.hostAttrs;null!==m&&(Ml(f,m,!0),null!==e&&(us(s,e,m),null!==f.classes&&Hu(s,e,f.classes),null!==f.styles&&Xf(s,e,f.styles)));const b=r.createRenderer(e,t),A=ba(n,vh(t),null,t.onPush?64:16,n[20],f,r,b,i||null,null);return o.firstCreatePass&&(d(Ii(f,n),o,t.type),Ih(o,f),Mh(f,n.length,1)),Il(n,A),n[20]=A}(b,this.componentDef,Q,o,f);if(b)if(r)us(f,b,["ng-version",nm.full]);else{const{attrs:be,classes:Xe}=function(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!ws(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);be&&us(f,b,be),Xe&&Xe.length>0&&Hu(f,b,Xe.join(" "))}if(re=Qt(B,20),void 0!==n){const be=re.projection=[];for(let Xe=0;Xe<this.ngContentSelectors.length;Xe++){const yt=n[Xe];be.push(null!=yt?Array.from(yt):null)}}de=function(e,t,n,r,s){const i=n[1],o=function(e,t,n){const r=Pn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ah(e,r,t,To(e,t,1,null),n));const s=tt(t,e,r.directiveStart,r);yr(s,t);const i=lt(r,t);return i&&yr(i,t),s}(i,n,t);if(r.components.push(o),e[8]=o,s&&s.forEach(f=>f(o,t)),t.contentQueries){const f=Pn();t.contentQueries(1,o,f.directiveStart)}const a=Pn();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Qe(a.index),Th(n[1],a,0,a.directiveStart,a.directiveEnd,t),Sh(t,o)),o}(ke,this.componentDef,Q,R,[pC]),Da(B,Q,null)}finally{kr()}return new hw(this.componentType,de,Wo(re,Q),Q,re)}}class hw extends class{}{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new qD(s),this.componentType=t}get injector(){return new Ir(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Qo=new Map;class mw extends Zi{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Om(this);const r=Wt(t),s=t[Br]||null;s&&$c(s),this._bootstrapComponents=Ws(r.bootstrap),this._r3Injector=Bh(t,n,[{provide:Zi,useValue:this},{provide:qi,useValue:this.componentFactoryResolver}],N(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=on.THROW_IF_NOT_FOUND,r=x.Default){return t===on||t===Zi||t===Io?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class dd extends um{constructor(t){super(),this.moduleType=t,null!==Wt(t)&&function(e){const t=new Set;!function n(r){const s=Wt(r,!0),i=s.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${N(t)} vs ${N(t.name)}`)}(i,Qo.get(i),r),Qo.set(i,r));const o=Ws(s.imports);for(const a of o)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new mw(this.moduleType,t)}}function Lm(e,t,n){const r=ge()+e,s=Ae();return s[r]===bt?Ks(s,r,n?t.call(n):t()):Ma(s,r)}function Vm(e,t,n,r){return $m(Ae(),ge(),e,t,n,r)}function Bm(e,t,n,r,s){return Wm(Ae(),ge(),e,t,n,r,s)}function jm(e,t,n,r,s,i){return function(e,t,n,r,s,i,o,a){const f=t+n;return function(e,t,n,r,s){const i=Yi(e,t,n,r);return _r(e,t+2,s)||i}(e,f,s,i,o)?Ks(e,f+3,a?r.call(a,s,i,o):r(s,i,o)):Wa(e,f+3)}(Ae(),ge(),e,t,n,r,s,i)}function Um(e,t,n,r,s,i,o){return function(e,t,n,r,s,i,o,a,f){const m=t+n;return hs(e,m,s,i,o,a)?Ks(e,m+4,f?r.call(f,s,i,o,a):r(s,i,o,a)):Wa(e,m+4)}(Ae(),ge(),e,t,n,r,s,i,o)}function Hm(e,t,n,r,s,i,o,a){const f=ge()+e,m=Ae(),b=hs(m,f,n,r,s,i);return _r(m,f+4,o)||b?Ks(m,f+5,a?t.call(a,n,r,s,i,o):t(n,r,s,i,o)):Ma(m,f+5)}function Wa(e,t){const n=e[t];return n===bt?void 0:n}function $m(e,t,n,r,s,i){const o=t+n;return _r(e,o,s)?Ks(e,o+1,i?r.call(i,s):r(s)):Wa(e,o+1)}function Wm(e,t,n,r,s,i,o){const a=t+n;return Yi(e,a,s,i)?Ks(e,a+2,o?r.call(o,s,i):r(s,i)):Wa(e,a+2)}function Ym(e,t){const n=It();let r;const s=e+20;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new xe("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=br(r.type)),o=Se(Aa);try{const a=fo(!1),f=i();return fo(a),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ae(),s,f),f}finally{Se(o)}}function Qm(e,t,n){const r=e+20,s=Ae(),i=tn(s,r);return Ga(s,za(s,r)?$m(s,ge(),t,i.transform,n,i):i.transform(n))}function qm(e,t,n,r){const s=e+20,i=Ae(),o=tn(i,s);return Ga(i,za(i,s)?Wm(i,ge(),t,o.transform,n,r,o):o.transform(n,r))}function za(e,t){return e[1].data[t].pure}function Ga(e,t){return Is.isWrapped(t)&&(t=Is.unwrap(t),e[Le()]=bt),t}function fd(e){return t=>{setTimeout(e,void 0,t)}}const Zs=class extends _.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var s,i,o;let a=t,f=n||(()=>null),m=r;if(t&&"object"==typeof t){const A=t;a=null===(s=A.next)||void 0===s?void 0:s.bind(A),f=null===(i=A.error)||void 0===i?void 0:i.bind(A),m=null===(o=A.complete)||void 0===o?void 0:o.bind(A)}this.__isAsync&&(f=fd(f),a&&(a=fd(a)),m&&(m=fd(m)));const b=super.subscribe({next:a,error:f,complete:m});return t instanceof p.w&&t.add(b),b}};function Sw(){return this._results[Po()]()}class Ka{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=Po(),r=Ka.prototype;r[n]||(r[n]=Sw)}get changes(){return this._changes||(this._changes=new Zs)}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 r=this;r.dirty=!1;const s=ds(t);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],i=t[r];if(n&&(s=n(s),i=n(i)),i!==s)return!1}return!0}(r._results,s,n))&&(r._results=s,r.length=s.length,r.last=s[this.length-1],r.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()}}Symbol;class hd{constructor(t){this.queryList=t,this.matches=null}clone(){return new hd(this.queryList)}setDirty(){this.queryList.setDirty()}}class pd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let i=0;i<r;i++){const o=n.getByIndex(i);s.push(this.queries[o.indexInDeclarationView].clone())}return new pd(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!==iy(t,n).matches&&this.queries[n].setDirty()}}class Zm{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class gd{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].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 r=0;r<this.length;r++){const s=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,s);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new gd(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class md{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 md(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let s=0;s<r.length;s++){const i=r[s];this.matchTNodeWithReadOption(t,n,Aw(n,i)),this.matchTNodeWithReadOption(t,n,We(n,t,i,!1,!1))}else r===ka?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,We(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===qs||s===Gl||s===ka&&4&n.type)this.addMatch(n.index,-2);else{const i=We(n,t,s,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function Aw(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Rw(e,t,n,r){return-1===n?function(e,t){return 11&e.type?Wo(e,t):4&e.type?zl(e,t):null}(t,e):-2===n?function(e,t,n){return n===qs?Wo(t,e):n===ka?zl(t,e):n===Gl?fm(t,e):void 0}(e,t,r):tt(e,e[1],n,t)}function Jm(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const i=e.data,o=n.matches,a=[];for(let f=0;f<o.length;f+=2){const m=o[f];a.push(m<0?null:Rw(t,i[m],o[f+1],n.metadata.read))}s.matches=a}return s.matches}function yd(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const o=Jm(e,t,s,n);for(let a=0;a<i.length;a+=2){const f=i[a];if(f>0)r.push(o[a/2]);else{const m=i[a+1],b=t[-f];for(let A=10;A<b.length;A++){const R=b[A];R[17]===R[3]&&yd(R[1],R,m,r)}if(null!==b[9]){const A=b[9];for(let R=0;R<A.length;R++){const B=A[R];yd(B[1],B,m,r)}}}}}return r}function Xm(e){const t=Ae(),n=It(),r=wn();Gr(r+1);const s=iy(n,r);if(e.dirty&&tr(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?yd(n,t,r,[]):Jm(n,t,s,r);e.reset(i,em),e.notifyOnChanges()}return!0}return!1}function ey(e,t,n){const r=It();r.firstCreatePass&&(sy(r,new Zm(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),ry(r,Ae(),t)}function ty(e,t,n,r){const s=It();if(s.firstCreatePass){const i=Pn();sy(s,new Zm(t,n,r),i.index),function(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)}ry(s,Ae(),n)}function ny(){return e=Ae(),t=wn(),e[19].queries[t].queryList;var e,t}function ry(e,t,n){const r=new Ka(4==(4&n));bh(e,t,r,r.destroy),null===t[19]&&(t[19]=new pd),t[19].queries.push(new hd(r))}function sy(e,t,n){null===e.queries&&(e.queries=new gd),e.queries.track(new md(t,n))}function iy(e,t){return e.queries.getByIndex(t)}function oy(e,t){return zl(e,t)}const Dd=new xn("Application Initializer");let Zo=(()=>{class e{constructor(n){this.appInits=n,this.resolve=jl,this.reject=jl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const i=this.appInits[s]();if(Ac(i))n.push(i);else if(Pc(i)){const o=new Promise((a,f)=>{i.subscribe({complete:a,error:f})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(s=>{this.reject(s)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(jn(Dd,8))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();const wy=new xn("AppId"),aT={provide:wy,useFactory:function(){return`${wd()}${wd()}${wd()}`},deps:[]};function wd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ty=new xn("Platform Initializer"),Sy=new xn("Platform ID"),Iy=new xn("appBootstrapListener");let My=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();const Xl=new xn("LocaleId"),Ay=new xn("DefaultCurrencyCode");class uT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}const Td=function(e){return new dd(e)},cT=Td,dT=function(e){return Promise.resolve(Td(e))},Py=function(e){const t=Td(e),r=Ws(Wt(e).declarations).reduce((s,i)=>{const o=me(i);return o&&s.push(new Nm(o)),s},[]);return new uT(t,r)},fT=Py,hT=function(e){return Promise.resolve(Py(e))};let Qa=(()=>{class e{constructor(){this.compileModuleSync=cT,this.compileModuleAsync=dT,this.compileModuleAndAllComponentsSync=fT,this.compileModuleAndAllComponentsAsync=hT}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();const mT=(()=>Promise.resolve(0))();function Sd(e){"undefined"==typeof Zone?mT.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Jr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Zs(!1),this.onMicrotaskEmpty=new Zs(!1),this.onStable=new Zs(!1),this.onError=new Zs(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");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=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function(){let e=rt.requestAnimationFrame,t=rt.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(rt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Md(e),e.isCheckStableRunning=!0,Id(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return Ry(e),n.invokeTask(s,i,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Oy(e)}},onInvoke:(n,r,s,i,o,a,f)=>{try{return Ry(e),n.invoke(s,i,o,a,f)}finally{e.shouldCoalesceRunChangeDetection&&t(),Oy(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Md(e),Id(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,s,i)=>(n.handleError(s,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(s)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Jr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Jr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+s,t,_T,jl,jl);try{return i.runTask(o,n,r)}finally{i.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const _T={};function Id(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 Md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ry(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Oy(e){e._nesting--,Id(e)}class CT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Zs,this.onMicrotaskEmpty=new Zs,this.onStable=new Zs,this.onError=new Zs}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,s){return t.apply(n,r)}}let xy=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{Jr.assertNotInAngularZone(),Sd(()=>{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())Sd(()=>{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(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.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,r,s){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:s})}whenStable(n,r,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,r,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(jn(Jr))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})(),Ny=(()=>{class e{constructor(){this._applications=new Map,Ad.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}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,r=!0){return Ad.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();class bT{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function DT(e){Ad=e}let Ad=new bT,Fy=!0,ky=!1;function Pd(){return ky=!0,Fy}function wT(){if(ky)throw new Error("Cannot enable prod mode after platform setup.");Fy=!1}let Os;const Ly=new xn("AllowMultipleToken");class RT{constructor(t,n){this.name=t,this.token=n}}function Vy(e,t,n=[]){const r=`Platform: ${t}`,s=new xn(r);return(i=[])=>{let o=By();if(!o||o.injector.get(Ly,!1))if(e)e(n.concat(i).concat({provide:s,useValue:!0}));else{const a=n.concat(i).concat({provide:s,useValue:!0},{provide:wa,useValue:"platform"});!function(e){if(Os&&!Os.destroyed&&!Os.injector.get(Ly,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Os=e.get(jy);const t=e.get(Ty,null);t&&t.forEach(n=>n())}(on.create({providers:a,name:r}))}return function(e){const t=By();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function By(){return Os&&!Os.destroyed?Os:null}let jy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function(e,t){let n;return n="noop"===e?new CT:("zone.js"===e?void 0:e)||new Jr({enableLongStackTrace:Pd(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),f=[{provide:Jr,useValue:a}];return a.run(()=>{const m=on.create({providers:f,parent:this.injector,name:n.moduleType.name}),b=n.create(m),A=b.injector.get(Co,null);if(!A)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(()=>{const R=a.onError.subscribe({next:B=>{A.handleError(B)}});b.onDestroy(()=>{Rd(this._modules,b),R.unsubscribe()})}),function(e,t,n){try{const r=n();return Ac(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(A,a,()=>{const R=b.injector.get(Zo);return R.runInitializers(),R.donePromise.then(()=>($c(b.injector.get(Xl,Fl)||Fl),this._moduleDoBootstrap(b),b))})})}bootstrapModule(n,r=[]){const s=Uy({},r);return function(e,t,n){const r=new dd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(n){const r=n.injector.get(qa);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new Error(`The module ${N(n.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(jn(on))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();function Uy(e,t){return Array.isArray(t)?t.reduce(Uy,e):Object.assign(Object.assign({},e),t)}let qa=(()=>{class e{constructor(n,r,s,i,o){this._zone=n,this._injector=r,this._exceptionHandler=s,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new ie.y(m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{m.next(this._stable),m.complete()})}),f=new ie.y(m=>{let b;this._zone.runOutsideAngular(()=>{b=this._zone.onStable.subscribe(()=>{Jr.assertNotInAngularZone(),Sd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))})})});const A=this._zone.onUnstable.subscribe(()=>{Jr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{m.next(!1)}))});return()=>{b.unsubscribe(),A.unsubscribe()}});this.isStable=(0,ce.T)(a,f.pipe(e=>(0,k.x)()((0,Y.O)(Z)(e))))}bootstrap(n,r){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let s;s=n instanceof Zg?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(s.componentType);const i=function(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Zi),a=s.create(on.NULL,[],r||s.selector,i),f=a.location.nativeElement,m=a.injector.get(xy,null),b=m&&a.injector.get(Ny);return m&&b&&b.registerApplication(f,m),a.onDestroy(()=>{this.detachView(a.hostView),Rd(this.components,a),b&&b.unregisterApplication(f)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Rd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Iy,[]).concat(this._bootstrapListeners).forEach(s=>s(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(jn(Jr),jn(on),jn(Co),jn(qi),jn(Zo))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();function Rd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class LT{}class BT{}const jT={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let UT=(()=>{class e{constructor(n,r){this._compiler=n,this._config=r||jT}load(n){return this.loadAndCompile(n)}loadAndCompile(n){let[r,s]=n.split("#");return void 0===s&&(s="default"),I(8255)(r).then(i=>i[s]).then(i=>zy(i,r,s)).then(i=>this._compiler.compileModuleAsync(i))}loadFactory(n){let[r,s]=n.split("#"),i="NgFactory";return void 0===s&&(s="default",i=""),I(8255)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(o=>o[s+i]).then(o=>zy(o,r,s))}}return e.\u0275fac=function(n){return new(n||e)(jn(Qa),jn(BT,8))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})();function zy(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const QT=function(e){return null},ZT=Vy(null,"core",[{provide:Sy,useValue:"unknown"},{provide:jy,deps:[on]},{provide:Ny,deps:[]},{provide:My,deps:[]}]),nS=[{provide:qa,useClass:qa,deps:[Jr,on,Co,qi,Zo]},{provide:cw,deps:[Jr],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:Zo,useClass:Zo,deps:[[new li,Dd]]},{provide:Qa,useClass:Qa,deps:[]},aT,{provide:Hl,useFactory:function(){return s0},deps:[]},{provide:$l,useFactory:function(){return i0},deps:[]},{provide:Xl,useFactory:function(e){return $c(e=e||"undefined"!=typeof $localize&&$localize.locale||Fl),e},deps:[[new yo(Xl),new li,new Ai]]},{provide:Ay,useValue:"USD"}];let sS=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(jn(qa))},e.\u0275mod=$n({type:e}),e.\u0275inj=qt({providers:nS}),e})()},6237:(ze,he,I)=>{"use strict";I.d(he,{Qb:()=>Ui,PW:()=>ao});var _=I(8720),p=I(9075),ie=I(7238);function ce(){return"undefined"!=typeof window&&void 0!==window.document}function Y(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function k(D){switch(D.length){case 0:return new ie.ZN;case 1:return D[0];default:return new ie.ZE(D)}}function Z(D,l,u,g,w={},P={}){const L=[],j=[];let ne=-1,ge=null;if(g.forEach(Le=>{const Ke=Le.offset,ut=Ke==ne,vt=ut&&ge||{};Object.keys(Le).forEach(ot=>{let mt=ot,Ot=Le[ot];if("offset"!==ot)switch(mt=l.normalizePropertyName(mt,L),Ot){case ie.k1:Ot=w[ot];break;case ie.l3:Ot=P[ot];break;default:Ot=l.normalizeStyleValue(ot,mt,Ot,L)}vt[mt]=Ot}),ut||j.push(vt),ge=vt,ne=Ke}),L.length){const Le="\n - ";throw new Error(`Unable to animate due to the following errors:${Le}${L.join(Le)}`)}return j}function te(D,l,u,g){switch(l){case"start":D.onStart(()=>g(u&&H(u,"start",D)));break;case"done":D.onDone(()=>g(u&&H(u,"done",D)));break;case"destroy":D.onDestroy(()=>g(u&&H(u,"destroy",D)))}}function H(D,l,u){const g=u.totalTime,P=W(D.element,D.triggerName,D.fromState,D.toState,l||D.phaseName,null==g?D.totalTime:g,!!u.disabled),L=D._data;return null!=L&&(P._data=L),P}function W(D,l,u,g,w="",P=0,L){return{element:D,triggerName:l,fromState:u,toState:g,phaseName:w,totalTime:P,disabled:!!L}}function N(D,l,u){let g;return D instanceof Map?(g=D.get(l),g||D.set(l,g=u)):(g=D[l],g||(g=D[l]=u)),g}function ue(D){const l=D.indexOf(":");return[D.substring(1,l),D.substr(l+1)]}let ve=(D,l)=>!1,J=(D,l)=>!1,Me=(D,l,u)=>[];const Ve=Y();(Ve||"undefined"!=typeof Element)&&(ve=ce()?(D,l)=>{for(;l&&l!==document.documentElement;){if(l===D)return!0;l=l.parentNode||l.host}return!1}:(D,l)=>D.contains(l),J=(()=>{if(Ve||Element.prototype.matches)return(D,l)=>D.matches(l);{const D=Element.prototype,l=D.matchesSelector||D.mozMatchesSelector||D.msMatchesSelector||D.oMatchesSelector||D.webkitMatchesSelector;return l?(u,g)=>l.apply(u,[g]):J}})(),Me=(D,l,u)=>{let g=[];if(u){const w=D.querySelectorAll(l);for(let P=0;P<w.length;P++)g.push(w[P])}else{const w=D.querySelector(l);w&&g.push(w)}return g});let oe=null,_e=!1;function He(D){oe||(oe=("undefined"!=typeof document?document.body:null)||{},_e=!!oe.style&&"WebkitAppearance"in oe.style);let l=!0;return oe.style&&!function(D){return"ebkit"==D.substring(1,6)}(D)&&(l=D in oe.style,!l&&_e&&(l="Webkit"+D.charAt(0).toUpperCase()+D.substr(1)in oe.style)),l}const at=J,Ut=ve,ft=Me;function Ft(D){const l={};return Object.keys(D).forEach(u=>{const g=u.replace(/([a-z])([A-Z])/g,"$1-$2");l[g]=D[u]}),l}let Tt=(()=>{class D{validateStyleProperty(u){return He(u)}matchesElement(u,g){return at(u,g)}containsElement(u,g){return Ut(u,g)}query(u,g,w){return ft(u,g,w)}computeStyle(u,g,w){return w||""}animate(u,g,w,P,L,j=[],ne){return new ie.ZN(w,P)}}return D.\u0275fac=function(u){return new(u||D)},D.\u0275prov=_.Yz7({token:D,factory:D.\u0275fac}),D})();class nt{}nt.NOOP=new Tt;const ur="ng-enter",Un="ng-leave",yn="ng-trigger",Vt=".ng-trigger",fe="ng-animating",we=".ng-animating";function X(D){if("number"==typeof D)return D;const l=D.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:le(parseFloat(l[1]),l[2])}function le(D,l){switch(l){case"s":return 1e3*D;default:return D}}function Ne(D,l,u){return D.hasOwnProperty("duration")?D:function(D,l,u){let w,P=0,L="";if("string"==typeof D){const j=D.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===j)return l.push(`The provided timing value "${D}" is invalid.`),{duration:0,delay:0,easing:""};w=le(parseFloat(j[1]),j[2]);const ne=j[3];null!=ne&&(P=le(parseFloat(ne),j[4]));const ge=j[5];ge&&(L=ge)}else w=D;if(!u){let j=!1,ne=l.length;w<0&&(l.push("Duration values below 0 are not allowed for this animation step."),j=!0),P<0&&(l.push("Delay values below 0 are not allowed for this animation step."),j=!0),j&&l.splice(ne,0,`The provided timing value "${D}" is invalid.`)}return{duration:w,delay:P,easing:L}}(D,l,u)}function rn(D,l={}){return Object.keys(D).forEach(u=>{l[u]=D[u]}),l}function At(D,l,u={}){if(l)for(let g in D)u[g]=D[g];else rn(D,u);return u}function Hn(D,l,u){return u?l+":"+u+";":""}function _n(D){let l="";for(let u=0;u<D.style.length;u++){const g=D.style.item(u);l+=Hn(0,g,D.style.getPropertyValue(g))}for(const u in D.style)D.style.hasOwnProperty(u)&&!u.startsWith("_")&&(l+=Hn(0,Ze(u),D.style[u]));D.setAttribute("style",l)}function ln(D,l,u){D.style&&(Object.keys(l).forEach(g=>{const w=Se(g);u&&!u.hasOwnProperty(g)&&(u[g]=D.style[w]),D.style[w]=l[g]}),Y()&&_n(D))}function Sn(D,l){D.style&&(Object.keys(l).forEach(u=>{const g=Se(u);D.style[g]=""}),Y()&&_n(D))}function In(D){return Array.isArray(D)?1==D.length?D[0]:(0,ie.vP)(D):D}const Yt=new RegExp("{{\\s*(.+?)\\s*}}","g");function De(D){let l=[];if("string"==typeof D){let u;for(;u=Yt.exec(D);)l.push(u[1]);Yt.lastIndex=0}return l}function x(D,l,u){const g=D.toString(),w=g.replace(Yt,(P,L)=>{let j=l[L];return l.hasOwnProperty(L)||(u.push(`Please provide a value for the animation param ${L}`),j=""),j.toString()});return w==g?D:w}function q(D){const l=[];let u=D.next();for(;!u.done;)l.push(u.value),u=D.next();return l}const Fe=/-+([a-z0-9])/g;function Se(D){return D.replace(Fe,(...l)=>l[1].toUpperCase())}function Ze(D){return D.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function kt(D,l){return 0===D||0===l}function et(D,l,u){const g=Object.keys(u);if(g.length&&l.length){let P=l[0],L=[];if(g.forEach(j=>{P.hasOwnProperty(j)||L.push(j),P[j]=u[j]}),L.length)for(var w=1;w<l.length;w++){let j=l[w];L.forEach(function(ne){j[ne]=Oe(D,ne)})}}return l}function Ce(D,l,u){switch(l.type){case 7:return D.visitTrigger(l,u);case 0:return D.visitState(l,u);case 1:return D.visitTransition(l,u);case 2:return D.visitSequence(l,u);case 3:return D.visitGroup(l,u);case 4:return D.visitAnimate(l,u);case 5:return D.visitKeyframes(l,u);case 6:return D.visitStyle(l,u);case 8:return D.visitReference(l,u);case 9:return D.visitAnimateChild(l,u);case 10:return D.visitAnimateRef(l,u);case 11:return D.visitQuery(l,u);case 12:return D.visitStagger(l,u);default:throw new Error(`Unable to resolve animation metadata node #${l.type}`)}}function Oe(D,l){return window.getComputedStyle(D)[l]}function Mt(D,l){const u=[];return"string"==typeof D?D.split(/\s*,\s*/).forEach(g=>function(D,l,u){if(":"==D[0]){const ne=function(D,l){switch(D){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(u,g)=>parseFloat(g)>parseFloat(u);case":decrement":return(u,g)=>parseFloat(g)<parseFloat(u);default:return l.push(`The transition alias value "${D}" is not supported`),"* => *"}}(D,u);if("function"==typeof ne)return void l.push(ne);D=ne}const g=D.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return u.push(`The provided transition expression "${D}" is not supported`),l;const w=g[1],P=g[2],L=g[3];l.push(rt(w,L));"<"==P[0]&&!("*"==w&&"*"==L)&&l.push(rt(L,w))}(g,u,l)):u.push(D),u}const wt=new Set(["true","1"]),Ln=new Set(["false","0"]);function rt(D,l){const u=wt.has(D)||Ln.has(D),g=wt.has(l)||Ln.has(l);return(w,P)=>{let L="*"==D||D==w,j="*"==l||l==P;return!L&&u&&"boolean"==typeof w&&(L=w?wt.has(D):Ln.has(D)),!j&&g&&"boolean"==typeof P&&(j=P?wt.has(l):Ln.has(l)),L&&j}}const St=new RegExp("s*:selfs*,?","g");function Vn(D,l,u){return new Vr(D).build(l,u)}class Vr{constructor(l){this._driver=l}build(l,u){const g=new fr(u);return this._resetContextStyleTimingState(g),Ce(this,In(l),g)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles={},l.collectedStyles[""]={},l.currentTime=0}visitTrigger(l,u){let g=u.queryCount=0,w=u.depCount=0;const P=[],L=[];return"@"==l.name.charAt(0)&&u.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),l.definitions.forEach(j=>{if(this._resetContextStyleTimingState(u),0==j.type){const ne=j,ge=ne.name;ge.toString().split(/\s*,\s*/).forEach(Le=>{ne.name=Le,P.push(this.visitState(ne,u))}),ne.name=ge}else if(1==j.type){const ne=this.visitTransition(j,u);g+=ne.queryCount,w+=ne.depCount,L.push(ne)}else u.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:l.name,states:P,transitions:L,queryCount:g,depCount:w,options:null}}visitState(l,u){const g=this.visitStyle(l.styles,u),w=l.options&&l.options.params||null;if(g.containsDynamicStyles){const P=new Set,L=w||{};if(g.styles.forEach(j=>{if(gn(j)){const ne=j;Object.keys(ne).forEach(ge=>{De(ne[ge]).forEach(Le=>{L.hasOwnProperty(Le)||P.add(Le)})})}}),P.size){const j=q(P.values());u.errors.push(`state("${l.name}", ...) must define default values for all the following style substitutions: ${j.join(", ")}`)}}return{type:0,name:l.name,style:g,options:w?{params:w}:null}}visitTransition(l,u){u.queryCount=0,u.depCount=0;const g=Ce(this,In(l.animation),u);return{type:1,matchers:Mt(l.expr,u.errors),animation:g,queryCount:u.queryCount,depCount:u.depCount,options:Zn(l.options)}}visitSequence(l,u){return{type:2,steps:l.steps.map(g=>Ce(this,g,u)),options:Zn(l.options)}}visitGroup(l,u){const g=u.currentTime;let w=0;const P=l.steps.map(L=>{u.currentTime=g;const j=Ce(this,L,u);return w=Math.max(w,u.currentTime),j});return u.currentTime=w,{type:3,steps:P,options:Zn(l.options)}}visitAnimate(l,u){const g=function(D,l){let u=null;if(D.hasOwnProperty("duration"))u=D;else if("number"==typeof D)return ir(Ne(D,l).duration,0,"");const g=D;if(g.split(/\s+/).some(P=>"{"==P.charAt(0)&&"{"==P.charAt(1))){const P=ir(0,0,"");return P.dynamic=!0,P.strValue=g,P}return u=u||Ne(g,l),ir(u.duration,u.delay,u.easing)}(l.timings,u.errors);u.currentAnimateTimings=g;let w,P=l.styles?l.styles:(0,ie.oB)({});if(5==P.type)w=this.visitKeyframes(P,u);else{let L=l.styles,j=!1;if(!L){j=!0;const ge={};g.easing&&(ge.easing=g.easing),L=(0,ie.oB)(ge)}u.currentTime+=g.duration+g.delay;const ne=this.visitStyle(L,u);ne.isEmptyStep=j,w=ne}return u.currentAnimateTimings=null,{type:4,timings:g,style:w,options:null}}visitStyle(l,u){const g=this._makeStyleAst(l,u);return this._validateStyleAst(g,u),g}_makeStyleAst(l,u){const g=[];Array.isArray(l.styles)?l.styles.forEach(L=>{"string"==typeof L?L==ie.l3?g.push(L):u.errors.push(`The provided style string value ${L} is not allowed.`):g.push(L)}):g.push(l.styles);let w=!1,P=null;return g.forEach(L=>{if(gn(L)){const j=L,ne=j.easing;if(ne&&(P=ne,delete j.easing),!w)for(let ge in j)if(j[ge].toString().indexOf("{{")>=0){w=!0;break}}}),{type:6,styles:g,easing:P,offset:l.offset,containsDynamicStyles:w,options:null}}_validateStyleAst(l,u){const g=u.currentAnimateTimings;let w=u.currentTime,P=u.currentTime;g&&P>0&&(P-=g.duration+g.delay),l.styles.forEach(L=>{"string"!=typeof L&&Object.keys(L).forEach(j=>{if(!this._driver.validateStyleProperty(j))return void u.errors.push(`The provided animation property "${j}" is not a supported CSS property for animations`);const ne=u.collectedStyles[u.currentQuerySelector],ge=ne[j];let Le=!0;ge&&(P!=w&&P>=ge.startTime&&w<=ge.endTime&&(u.errors.push(`The CSS property "${j}" that exists between the times of "${ge.startTime}ms" and "${ge.endTime}ms" is also being animated in a parallel animation between the times of "${P}ms" and "${w}ms"`),Le=!1),P=ge.startTime),Le&&(ne[j]={startTime:P,endTime:w}),u.options&&function(D,l,u){const g=l.params||{},w=De(D);w.length&&w.forEach(P=>{g.hasOwnProperty(P)||u.push(`Unable to resolve the local animation param ${P} in the given list of values`)})}(L[j],u.options,u.errors)})})}visitKeyframes(l,u){const g={type:5,styles:[],options:null};if(!u.currentAnimateTimings)return u.errors.push("keyframes() must be placed inside of a call to animate()"),g;let P=0;const L=[];let j=!1,ne=!1,ge=0;const Le=l.steps.map(mn=>{const an=this._makeStyleAst(mn,u);let Rn=null!=an.offset?an.offset:function(D){if("string"==typeof D)return null;let l=null;if(Array.isArray(D))D.forEach(u=>{if(gn(u)&&u.hasOwnProperty("offset")){const g=u;l=parseFloat(g.offset),delete g.offset}});else if(gn(D)&&D.hasOwnProperty("offset")){const u=D;l=parseFloat(u.offset),delete u.offset}return l}(an.styles),wn=0;return null!=Rn&&(P++,wn=an.offset=Rn),ne=ne||wn<0||wn>1,j=j||wn<ge,ge=wn,L.push(wn),an});ne&&u.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),j&&u.errors.push("Please ensure that all keyframe offsets are in order");const Ke=l.steps.length;let ut=0;P>0&&P<Ke?u.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==P&&(ut=1/(Ke-1));const vt=Ke-1,ot=u.currentTime,mt=u.currentAnimateTimings,Ot=mt.duration;return Le.forEach((mn,an)=>{const Rn=ut>0?an==vt?1:ut*an:L[an],wn=Rn*Ot;u.currentTime=ot+mt.delay+wn,mt.duration=wn,this._validateStyleAst(mn,u),mn.offset=Rn,g.styles.push(mn)}),g}visitReference(l,u){return{type:8,animation:Ce(this,In(l.animation),u),options:Zn(l.options)}}visitAnimateChild(l,u){return u.depCount++,{type:9,options:Zn(l.options)}}visitAnimateRef(l,u){return{type:10,animation:this.visitReference(l.animation,u),options:Zn(l.options)}}visitQuery(l,u){const g=u.currentQuerySelector,w=l.options||{};u.queryCount++,u.currentQuery=l;const[P,L]=function(D){const l=!!D.split(/\s*,\s*/).find(u=>":self"==u);return l&&(D=D.replace(St,"")),[D=D.replace(/@\*/g,Vt).replace(/@\w+/g,u=>Vt+"-"+u.substr(1)).replace(/:animating/g,we),l]}(l.selector);u.currentQuerySelector=g.length?g+" "+P:P,N(u.collectedStyles,u.currentQuerySelector,{});const j=Ce(this,In(l.animation),u);return u.currentQuery=null,u.currentQuerySelector=g,{type:11,selector:P,limit:w.limit||0,optional:!!w.optional,includeSelf:L,animation:j,originalSelector:l.selector,options:Zn(l.options)}}visitStagger(l,u){u.currentQuery||u.errors.push("stagger() can only be used inside of query()");const g="full"===l.timings?{duration:0,delay:0,easing:"full"}:Ne(l.timings,u.errors,!0);return{type:12,animation:Ce(this,In(l.animation),u),timings:g,options:null}}}class fr{constructor(l){this.errors=l,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function gn(D){return!Array.isArray(D)&&"object"==typeof D}function Zn(D){return D?(D=rn(D)).params&&(D.params=function(D){return D?rn(D):null}(D.params)):D={},D}function ir(D,l,u){return{duration:D,delay:l,easing:u}}function Or(D,l,u,g,w,P,L=null,j=!1){return{type:1,element:D,keyframes:l,preStyleProps:u,postStyleProps:g,duration:w,delay:P,totalTime:w+P,easing:L,subTimeline:j}}class or{constructor(){this._map=new Map}consume(l){let u=this._map.get(l);return u?this._map.delete(l):u=[],u}append(l,u){let g=this._map.get(l);g||this._map.set(l,g=[]),g.push(...u)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const $n=new RegExp(":enter","g"),U=new RegExp(":leave","g");function ae(D,l,u,g,w,P={},L={},j,ne,ge=[]){return(new V).buildKeyframes(D,l,u,g,w,P,L,j,ne,ge)}class V{buildKeyframes(l,u,g,w,P,L,j,ne,ge,Le=[]){ge=ge||new or;const Ke=new st(l,u,ge,w,P,Le,[]);Ke.options=ne,Ke.currentTimeline.setStyles([L],null,Ke.errors,ne),Ce(this,g,Ke);const ut=Ke.timelines.filter(vt=>vt.containsAnimation());if(ut.length&&Object.keys(j).length){const vt=ut[ut.length-1];vt.allowOnlyTimelineStyles()||vt.setStyles([j],null,Ke.errors,ne)}return ut.length?ut.map(vt=>vt.buildKeyframes()):[Or(u,[],[],[],0,0,"",!1)]}visitTrigger(l,u){}visitState(l,u){}visitTransition(l,u){}visitAnimateChild(l,u){const g=u.subInstructions.consume(u.element);if(g){const w=u.createSubContext(l.options),P=u.currentTimeline.currentTime,L=this._visitSubInstructions(g,w,w.options);P!=L&&u.transformIntoNewTimeline(L)}u.previousNode=l}visitAnimateRef(l,u){const g=u.createSubContext(l.options);g.transformIntoNewTimeline(),this.visitReference(l.animation,g),u.transformIntoNewTimeline(g.currentTimeline.currentTime),u.previousNode=l}_visitSubInstructions(l,u,g){let P=u.currentTimeline.currentTime;const L=null!=g.duration?X(g.duration):null,j=null!=g.delay?X(g.delay):null;return 0!==L&&l.forEach(ne=>{const ge=u.appendInstructionToTimeline(ne,L,j);P=Math.max(P,ge.duration+ge.delay)}),P}visitReference(l,u){u.updateOptions(l.options,!0),Ce(this,l.animation,u),u.previousNode=l}visitSequence(l,u){const g=u.subContextCount;let w=u;const P=l.options;if(P&&(P.params||P.delay)&&(w=u.createSubContext(P),w.transformIntoNewTimeline(),null!=P.delay)){6==w.previousNode.type&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=me);const L=X(P.delay);w.delayNextStep(L)}l.steps.length&&(l.steps.forEach(L=>Ce(this,L,w)),w.currentTimeline.applyStylesToKeyframe(),w.subContextCount>g&&w.transformIntoNewTimeline()),u.previousNode=l}visitGroup(l,u){const g=[];let w=u.currentTimeline.currentTime;const P=l.options&&l.options.delay?X(l.options.delay):0;l.steps.forEach(L=>{const j=u.createSubContext(l.options);P&&j.delayNextStep(P),Ce(this,L,j),w=Math.max(w,j.currentTimeline.currentTime),g.push(j.currentTimeline)}),g.forEach(L=>u.currentTimeline.mergeTimelineCollectedStyles(L)),u.transformIntoNewTimeline(w),u.previousNode=l}_visitTiming(l,u){if(l.dynamic){const g=l.strValue;return Ne(u.params?x(g,u.params,u.errors):g,u.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,u){const g=u.currentAnimateTimings=this._visitTiming(l.timings,u),w=u.currentTimeline;g.delay&&(u.incrementTime(g.delay),w.snapshotCurrentStyles());const P=l.style;5==P.type?this.visitKeyframes(P,u):(u.incrementTime(g.duration),this.visitStyle(P,u),w.applyStylesToKeyframe()),u.currentAnimateTimings=null,u.previousNode=l}visitStyle(l,u){const g=u.currentTimeline,w=u.currentAnimateTimings;!w&&g.getCurrentStyleProperties().length&&g.forwardFrame();const P=w&&w.easing||l.easing;l.isEmptyStep?g.applyEmptyStep(P):g.setStyles(l.styles,P,u.errors,u.options),u.previousNode=l}visitKeyframes(l,u){const g=u.currentAnimateTimings,w=u.currentTimeline.duration,P=g.duration,j=u.createSubContext().currentTimeline;j.easing=g.easing,l.styles.forEach(ne=>{j.forwardTime((ne.offset||0)*P),j.setStyles(ne.styles,ne.easing,u.errors,u.options),j.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(j),u.transformIntoNewTimeline(w+P),u.previousNode=l}visitQuery(l,u){const g=u.currentTimeline.currentTime,w=l.options||{},P=w.delay?X(w.delay):0;P&&(6===u.previousNode.type||0==g&&u.currentTimeline.getCurrentStyleProperties().length)&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=me);let L=g;const j=u.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!w.optional,u.errors);u.currentQueryTotal=j.length;let ne=null;j.forEach((ge,Le)=>{u.currentQueryIndex=Le;const Ke=u.createSubContext(l.options,ge);P&&Ke.delayNextStep(P),ge===u.element&&(ne=Ke.currentTimeline),Ce(this,l.animation,Ke),Ke.currentTimeline.applyStylesToKeyframe(),L=Math.max(L,Ke.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(L),ne&&(u.currentTimeline.mergeTimelineCollectedStyles(ne),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=l}visitStagger(l,u){const g=u.parentContext,w=u.currentTimeline,P=l.timings,L=Math.abs(P.duration),j=L*(u.currentQueryTotal-1);let ne=L*u.currentQueryIndex;switch(P.duration<0?"reverse":P.easing){case"reverse":ne=j-ne;break;case"full":ne=g.currentStaggerTime}const Le=u.currentTimeline;ne&&Le.delayNextStep(ne);const Ke=Le.currentTime;Ce(this,l.animation,u),u.previousNode=l,g.currentStaggerTime=w.currentTime-Ke+(w.startTime-g.currentTimeline.startTime)}}const me={};class st{constructor(l,u,g,w,P,L,j,ne){this._driver=l,this.element=u,this.subInstructions=g,this._enterClassName=w,this._leaveClassName=P,this.errors=L,this.timelines=j,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=me,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ne||new xt(this._driver,u,0),j.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,u){if(!l)return;const g=l;let w=this.options;null!=g.duration&&(w.duration=X(g.duration)),null!=g.delay&&(w.delay=X(g.delay));const P=g.params;if(P){let L=w.params;L||(L=this.options.params={}),Object.keys(P).forEach(j=>{(!u||!L.hasOwnProperty(j))&&(L[j]=x(P[j],L,this.errors))})}}_copyOptions(){const l={};if(this.options){const u=this.options.params;if(u){const g=l.params={};Object.keys(u).forEach(w=>{g[w]=u[w]})}}return l}createSubContext(l=null,u,g){const w=u||this.element,P=new st(this._driver,w,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(w,g||0));return P.previousNode=this.previousNode,P.currentAnimateTimings=this.currentAnimateTimings,P.options=this._copyOptions(),P.updateOptions(l),P.currentQueryIndex=this.currentQueryIndex,P.currentQueryTotal=this.currentQueryTotal,P.parentContext=this,this.subContextCount++,P}transformIntoNewTimeline(l){return this.previousNode=me,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,u,g){const w={duration:null!=u?u:l.duration,delay:this.currentTimeline.currentTime+(null!=g?g:0)+l.delay,easing:""},P=new Wt(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,w,l.stretchStartingKeyframe);return this.timelines.push(P),w}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,u,g,w,P,L){let j=[];if(w&&j.push(this.element),l.length>0){l=(l=l.replace($n,"."+this._enterClassName)).replace(U,"."+this._leaveClassName);let ge=this._driver.query(this.element,l,1!=g);0!==g&&(ge=g<0?ge.slice(ge.length+g,ge.length):ge.slice(0,g)),j.push(...ge)}return!P&&0==j.length&&L.push(`\`query("${u}")\` returned zero elements. (Use \`query("${u}", { optional: true })\` if you wish to allow this.)`),j}}class xt{constructor(l,u,g,w){this._driver=l,this.element=u,this.startTime=g,this._elementTimelineStylesLookup=w,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(u),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(u,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(l){const u=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||u?(this.forwardTime(this.currentTime+l),u&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,u){return this.applyStylesToKeyframe(),new xt(this._driver,l,u||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,u){this._localTimelineStyles[l]=u,this._globalTimelineStyles[l]=u,this._styleSummary[l]={time:this.currentTime,value:u}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&(this._previousKeyframe.easing=l),Object.keys(this._globalTimelineStyles).forEach(u=>{this._backFill[u]=this._globalTimelineStyles[u]||ie.l3,this._currentKeyframe[u]=ie.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,u,g,w){u&&(this._previousKeyframe.easing=u);const P=w&&w.params||{},L=function(D,l){const u={};let g;return D.forEach(w=>{"*"===w?(g=g||Object.keys(l),g.forEach(P=>{u[P]=ie.l3})):At(w,!1,u)}),u}(l,this._globalTimelineStyles);Object.keys(L).forEach(j=>{const ne=x(L[j],P,g);this._pendingStyles[j]=ne,this._localTimelineStyles.hasOwnProperty(j)||(this._backFill[j]=this._globalTimelineStyles.hasOwnProperty(j)?this._globalTimelineStyles[j]:ie.l3),this._updateStyle(j,ne)})}applyStylesToKeyframe(){const l=this._pendingStyles,u=Object.keys(l);0!=u.length&&(this._pendingStyles={},u.forEach(g=>{this._currentKeyframe[g]=l[g]}),Object.keys(this._localTimelineStyles).forEach(g=>{this._currentKeyframe.hasOwnProperty(g)||(this._currentKeyframe[g]=this._localTimelineStyles[g])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(l=>{const u=this._localTimelineStyles[l];this._pendingStyles[l]=u,this._updateStyle(l,u)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let u in this._currentKeyframe)l.push(u);return l}mergeTimelineCollectedStyles(l){Object.keys(l._styleSummary).forEach(u=>{const g=this._styleSummary[u],w=l._styleSummary[u];(!g||w.time>g.time)&&this._updateStyle(u,w.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,u=new Set,g=1===this._keyframes.size&&0===this.duration;let w=[];this._keyframes.forEach((j,ne)=>{const ge=At(j,!0);Object.keys(ge).forEach(Le=>{const Ke=ge[Le];Ke==ie.k1?l.add(Le):Ke==ie.l3&&u.add(Le)}),g||(ge.offset=ne/this.duration),w.push(ge)});const P=l.size?q(l.values()):[],L=u.size?q(u.values()):[];if(g){const j=w[0],ne=rn(j);j.offset=0,ne.offset=1,w=[j,ne]}return Or(this.element,w,P,L,this.duration,this.startTime,this.easing,!1)}}class Wt extends xt{constructor(l,u,g,w,P,L,j=!1){super(l,u,L.delay),this.keyframes=g,this.preStyleProps=w,this.postStyleProps=P,this._stretchStartingKeyframe=j,this.timings={duration:L.duration,delay:L.delay,easing:L.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:u,duration:g,easing:w}=this.timings;if(this._stretchStartingKeyframe&&u){const P=[],L=g+u,j=u/L,ne=At(l[0],!1);ne.offset=0,P.push(ne);const ge=At(l[0],!1);ge.offset=ar(j),P.push(ge);const Le=l.length-1;for(let Ke=1;Ke<=Le;Ke++){let ut=At(l[Ke],!1);ut.offset=ar((u+ut.offset*g)/L),P.push(ut)}g=L,u=0,w="",l=P}return Or(this.element,l,this.preStyleProps,this.postStyleProps,g,u,w,!0)}}function ar(D,l=3){const u=Math.pow(10,l-1);return Math.round(D*u)/u}class it{}class vn extends it{normalizePropertyName(l,u){return Se(l)}normalizeStyleValue(l,u,g,w){let P="";const L=g.toString().trim();if(fn[u]&&0!==g&&"0"!==g)if("number"==typeof g)P="px";else{const j=g.match(/^[+-]?[\d\.]+([a-z]*)$/);j&&0==j[1].length&&w.push(`Please provide a CSS unit value for ${l}:${g}`)}return L+P}}const fn=(()=>function(D){const l={};return D.forEach(u=>l[u]=!0),l}("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".split(",")))();function Jt(D,l,u,g,w,P,L,j,ne,ge,Le,Ke,ut){return{type:0,element:D,triggerName:l,isRemovalTransition:w,fromState:u,fromStyles:P,toState:g,toStyles:L,timelines:j,queriedElements:ne,preStyleProps:ge,postStyleProps:Le,totalTime:Ke,errors:ut}}const ee={};class G{constructor(l,u,g){this._triggerName=l,this.ast=u,this._stateStyles=g}match(l,u,g,w){return function(D,l,u,g,w){return D.some(P=>P(l,u,g,w))}(this.ast.matchers,l,u,g,w)}buildStyles(l,u,g){const w=this._stateStyles["*"],P=this._stateStyles[l],L=w?w.buildStyles(u,g):{};return P?P.buildStyles(u,g):L}build(l,u,g,w,P,L,j,ne,ge,Le){const Ke=[],ut=this.ast.options&&this.ast.options.params||ee,ot=this.buildStyles(g,j&&j.params||ee,Ke),mt=ne&&ne.params||ee,Ot=this.buildStyles(w,mt,Ke),mn=new Set,an=new Map,Rn=new Map,wn="void"===w,Gr={params:Object.assign(Object.assign({},ut),mt)},xr=Le?[]:ae(l,u,this.ast.animation,P,L,ot,Ot,Gr,ge,Ke);let Gn=0;if(xr.forEach(Nr=>{Gn=Math.max(Nr.duration+Nr.delay,Gn)}),Ke.length)return Jt(u,this._triggerName,g,w,wn,ot,Ot,[],[],an,Rn,Gn,Ke);xr.forEach(Nr=>{const Fr=Nr.element,oi=N(an,Fr,{});Nr.preStyleProps.forEach(kr=>oi[kr]=!0);const js=N(Rn,Fr,{});Nr.postStyleProps.forEach(kr=>js[kr]=!0),Fr!==u&&mn.add(Fr)});const mr=q(mn.values());return Jt(u,this._triggerName,g,w,wn,ot,Ot,xr,mr,an,Rn,Gn)}}class se{constructor(l,u,g){this.styles=l,this.defaultParams=u,this.normalizer=g}buildStyles(l,u){const g={},w=rn(this.defaultParams);return Object.keys(l).forEach(P=>{const L=l[P];null!=L&&(w[P]=L)}),this.styles.styles.forEach(P=>{if("string"!=typeof P){const L=P;Object.keys(L).forEach(j=>{let ne=L[j];ne.length>1&&(ne=x(ne,w,u));const ge=this.normalizer.normalizePropertyName(j,u);ne=this.normalizer.normalizeStyleValue(j,ge,ne,u),g[ge]=ne})}}),g}}class Je{constructor(l,u,g){this.name=l,this.ast=u,this._normalizer=g,this.transitionFactories=[],this.states={},u.states.forEach(w=>{this.states[w.name]=new se(w.style,w.options&&w.options.params||{},g)}),Pt(this.states,"true","1"),Pt(this.states,"false","0"),u.transitions.forEach(w=>{this.transitionFactories.push(new G(l,w,this.states))}),this.fallbackTransition=function(D,l,u){return new G(D,{type:1,animation:{type:2,steps:[],options:null},matchers:[(L,j)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,u,g,w){return this.transitionFactories.find(L=>L.match(l,u,g,w))||null}matchStyles(l,u,g){return this.fallbackTransition.buildStyles(l,u,g)}}function Pt(D,l,u){D.hasOwnProperty(l)?D.hasOwnProperty(u)||(D[u]=D[l]):D.hasOwnProperty(u)&&(D[l]=D[u])}const hn=new or;class Jn{constructor(l,u,g){this.bodyNode=l,this._driver=u,this._normalizer=g,this._animations={},this._playersById={},this.players=[]}register(l,u){const g=[],w=Vn(this._driver,u,g);if(g.length)throw new Error(`Unable to build the animation due to the following errors: ${g.join("\n")}`);this._animations[l]=w}_buildPlayer(l,u,g){const w=l.element,P=Z(0,this._normalizer,0,l.keyframes,u,g);return this._driver.animate(w,P,l.duration,l.delay,l.easing,[],!0)}create(l,u,g={}){const w=[],P=this._animations[l];let L;const j=new Map;if(P?(L=ae(this._driver,u,P,ur,Un,{},{},g,hn,w),L.forEach(Le=>{const Ke=N(j,Le.element,{});Le.postStyleProps.forEach(ut=>Ke[ut]=null)})):(w.push("The requested animation doesn't exist or has already been destroyed"),L=[]),w.length)throw new Error(`Unable to create the animation due to the following errors: ${w.join("\n")}`);j.forEach((Le,Ke)=>{Object.keys(Le).forEach(ut=>{Le[ut]=this._driver.computeStyle(Ke,ut,ie.l3)})});const ge=k(L.map(Le=>{const Ke=j.get(Le.element);return this._buildPlayer(Le,{},Ke)}));return this._playersById[l]=ge,ge.onDestroy(()=>this.destroy(l)),this.players.push(ge),ge}destroy(l){const u=this._getPlayer(l);u.destroy(),delete this._playersById[l];const g=this.players.indexOf(u);g>=0&&this.players.splice(g,1)}_getPlayer(l){const u=this._playersById[l];if(!u)throw new Error(`Unable to find the timeline player referenced by ${l}`);return u}listen(l,u,g,w){const P=W(u,"","","");return te(this._getPlayer(l),g,P,w),()=>{}}command(l,u,g,w){if("register"==g)return void this.register(l,w[0]);if("create"==g)return void this.create(l,u,w[0]||{});const P=this._getPlayer(l);switch(g){case"play":P.play();break;case"pause":P.pause();break;case"reset":P.reset();break;case"restart":P.restart();break;case"finish":P.finish();break;case"init":P.init();break;case"setPosition":P.setPosition(parseFloat(w[0]));break;case"destroy":this.destroy(l)}}}const Wn="ng-animate-queued",es="ng-animate-disabled",Fs=".ng-animate-disabled",Xn=[],Ur={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ns={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bt="__ng_removed";class ks{constructor(l,u=""){this.namespaceId=u;const g=l&&l.hasOwnProperty("value");if(this.value=null!=(D=g?l.value:l)?D:null,g){const P=rn(l);delete P.value,this.options=P}else this.options={};var D;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(l){const u=l.params;if(u){const g=this.options.params;Object.keys(u).forEach(w=>{null==g[w]&&(g[w]=u[w])})}}}const bn="void",Bn=new ks(bn);class Ls{constructor(l,u,g){this.id=l,this.hostElement=u,this._engine=g,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,er(u,this._hostClassName)}listen(l,u,g,w){if(!this._triggers.hasOwnProperty(u))throw new Error(`Unable to listen on the animation trigger event "${g}" because the animation trigger "${u}" doesn't exist!`);if(null==g||0==g.length)throw new Error(`Unable to listen on the animation trigger "${u}" because the provided event is undefined!`);if("start"!=(D=g)&&"done"!=D)throw new Error(`The provided animation trigger event "${g}" for the animation trigger "${u}" is not supported!`);var D;const P=N(this._elementListeners,l,[]),L={name:u,phase:g,callback:w};P.push(L);const j=N(this._engine.statesByElement,l,{});return j.hasOwnProperty(u)||(er(l,yn),er(l,yn+"-"+u),j[u]=Bn),()=>{this._engine.afterFlush(()=>{const ne=P.indexOf(L);ne>=0&&P.splice(ne,1),this._triggers[u]||delete j[u]})}}register(l,u){return!this._triggers[l]&&(this._triggers[l]=u,!0)}_getTrigger(l){const u=this._triggers[l];if(!u)throw new Error(`The provided animation trigger "${l}" has not been registered!`);return u}trigger(l,u,g,w=!0){const P=this._getTrigger(u),L=new rs(this.id,u,l);let j=this._engine.statesByElement.get(l);j||(er(l,yn),er(l,yn+"-"+u),this._engine.statesByElement.set(l,j={}));let ne=j[u];const ge=new ks(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&ne&&ge.absorbOptions(ne.options),j[u]=ge,ne||(ne=Bn),ge.value!==bn&&ne.value===ge.value){if(!function(D,l){const u=Object.keys(D),g=Object.keys(l);if(u.length!=g.length)return!1;for(let w=0;w<u.length;w++){const P=u[w];if(!l.hasOwnProperty(P)||D[P]!==l[P])return!1}return!0}(ne.params,ge.params)){const mt=[],Ot=P.matchStyles(ne.value,ne.params,mt),mn=P.matchStyles(ge.value,ge.params,mt);mt.length?this._engine.reportError(mt):this._engine.afterFlush(()=>{Sn(l,Ot),ln(l,mn)})}return}const ut=N(this._engine.playersByElement,l,[]);ut.forEach(mt=>{mt.namespaceId==this.id&&mt.triggerName==u&&mt.queued&&mt.destroy()});let vt=P.matchTransition(ne.value,ge.value,l,ge.params),ot=!1;if(!vt){if(!w)return;vt=P.fallbackTransition,ot=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:u,transition:vt,fromState:ne,toState:ge,player:L,isFallbackTransition:ot}),ot||(er(l,Wn),L.onStart(()=>{vs(l,Wn)})),L.onDone(()=>{let mt=this.players.indexOf(L);mt>=0&&this.players.splice(mt,1);const Ot=this._engine.playersByElement.get(l);if(Ot){let mn=Ot.indexOf(L);mn>=0&&Ot.splice(mn,1)}}),this.players.push(L),ut.push(L),L}deregister(l){delete this._triggers[l],this._engine.statesByElement.forEach((u,g)=>{delete u[l]}),this._elementListeners.forEach((u,g)=>{this._elementListeners.set(g,u.filter(w=>w.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const u=this._engine.playersByElement.get(l);u&&(u.forEach(g=>g.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,u){const g=this._engine.driver.query(l,Vt,!0);g.forEach(w=>{if(w[Bt])return;const P=this._engine.fetchNamespacesByElement(w);P.size?P.forEach(L=>L.triggerLeaveAnimation(w,u,!1,!0)):this.clearElementCache(w)}),this._engine.afterFlushAnimationsDone(()=>g.forEach(w=>this.clearElementCache(w)))}triggerLeaveAnimation(l,u,g,w){const P=this._engine.statesByElement.get(l);if(P){const L=[];if(Object.keys(P).forEach(j=>{if(this._triggers[j]){const ne=this.trigger(l,j,bn,w);ne&&L.push(ne)}}),L.length)return this._engine.markElementAsRemoved(this.id,l,!0,u),g&&k(L).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const u=this._elementListeners.get(l),g=this._engine.statesByElement.get(l);if(u&&g){const w=new Set;u.forEach(P=>{const L=P.name;if(w.has(L))return;w.add(L);const ne=this._triggers[L].fallbackTransition,ge=g[L]||Bn,Le=new ks(bn),Ke=new rs(this.id,L,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:L,transition:ne,fromState:ge,toState:Le,player:Ke,isFallbackTransition:!0})})}}removeNode(l,u){const g=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,u),this.triggerLeaveAnimation(l,u,!0))return;let w=!1;if(g.totalAnimations){const P=g.players.length?g.playersByQueriedElement.get(l):[];if(P&&P.length)w=!0;else{let L=l;for(;L=L.parentNode;)if(g.statesByElement.get(L)){w=!0;break}}}if(this.prepareLeaveAnimationListeners(l),w)g.markElementAsRemoved(this.id,l,!1,u);else{const P=l[Bt];(!P||P===Ur)&&(g.afterFlush(()=>this.clearElementCache(l)),g.destroyInnerAnimations(l),g._onRemovalComplete(l,u))}}insertNode(l,u){er(l,this._hostClassName)}drainQueuedTransitions(l){const u=[];return this._queue.forEach(g=>{const w=g.player;if(w.destroyed)return;const P=g.element,L=this._elementListeners.get(P);L&&L.forEach(j=>{if(j.name==g.triggerName){const ne=W(P,g.triggerName,g.fromState.value,g.toState.value);ne._data=l,te(g.player,j.phase,ne,j.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):u.push(g)}),this._queue=[],u.sort((g,w)=>{const P=g.transition.ast.depCount,L=w.transition.ast.depCount;return 0==P||0==L?P-L:this._engine.driver.containsElement(g.element,w.element)?1:-1})}destroy(l){this.players.forEach(u=>u.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let u=!1;return this._elementListeners.has(l)&&(u=!0),u=!!this._queue.find(g=>g.element===l)||u,u}}class An{constructor(l,u,g){this.bodyNode=l,this.driver=u,this._normalizer=g,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=(w,P)=>{}}_onRemovalComplete(l,u){this.onRemovalComplete(l,u)}get queuedPlayers(){const l=[];return this._namespaceList.forEach(u=>{u.players.forEach(g=>{g.queued&&l.push(g)})}),l}createNamespace(l,u){const g=new Ls(l,u,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,u)?this._balanceNamespaceList(g,u):(this.newHostElements.set(u,g),this.collectEnterElement(u)),this._namespaceLookup[l]=g}_balanceNamespaceList(l,u){const g=this._namespaceList.length-1;if(g>=0){let w=!1;for(let P=g;P>=0;P--)if(this.driver.containsElement(this._namespaceList[P].hostElement,u)){this._namespaceList.splice(P+1,0,l),w=!0;break}w||this._namespaceList.splice(0,0,l)}else this._namespaceList.push(l);return this.namespacesByHostElement.set(u,l),l}register(l,u){let g=this._namespaceLookup[l];return g||(g=this.createNamespace(l,u)),g}registerTrigger(l,u,g){let w=this._namespaceLookup[l];w&&w.register(u,g)&&this.totalAnimations++}destroy(l,u){if(!l)return;const g=this._fetchNamespace(l);this.afterFlush(()=>{this.namespacesByHostElement.delete(g.hostElement),delete this._namespaceLookup[l];const w=this._namespaceList.indexOf(g);w>=0&&this._namespaceList.splice(w,1)}),this.afterFlushAnimationsDone(()=>g.destroy(u))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const u=new Set,g=this.statesByElement.get(l);if(g){const w=Object.keys(g);for(let P=0;P<w.length;P++){const L=g[w[P]].namespaceId;if(L){const j=this._fetchNamespace(L);j&&u.add(j)}}}return u}trigger(l,u,g,w){if(Js(u)){const P=this._fetchNamespace(l);if(P)return P.trigger(u,g,w),!0}return!1}insertNode(l,u,g,w){if(!Js(u))return;const P=u[Bt];if(P&&P.setForRemoval){P.setForRemoval=!1,P.setForMove=!0;const L=this.collectedLeaveElements.indexOf(u);L>=0&&this.collectedLeaveElements.splice(L,1)}if(l){const L=this._fetchNamespace(l);L&&L.insertNode(u,g)}w&&this.collectEnterElement(u)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,u){u?this.disabledNodes.has(l)||(this.disabledNodes.add(l),er(l,es)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),vs(l,es))}removeNode(l,u,g,w){if(Js(u)){const P=l?this._fetchNamespace(l):null;if(P?P.removeNode(u,w):this.markElementAsRemoved(l,u,!1,w),g){const L=this.namespacesByHostElement.get(u);L&&L.id!==l&&L.removeNode(u,w)}}else this._onRemovalComplete(u,w)}markElementAsRemoved(l,u,g,w){this.collectedLeaveElements.push(u),u[Bt]={namespaceId:l,setForRemoval:w,hasAnimation:g,removedBeforeQueried:!1}}listen(l,u,g,w,P){return Js(u)?this._fetchNamespace(l).listen(u,g,w,P):()=>{}}_buildInstruction(l,u,g,w,P){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,g,w,l.fromState.options,l.toState.options,u,P)}destroyInnerAnimations(l){let u=this.driver.query(l,Vt,!0);u.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(l,we,!0),u.forEach(g=>this.finishActiveQueriedAnimationOnElement(g)))}destroyActiveAnimationsForElement(l){const u=this.playersByElement.get(l);u&&u.forEach(g=>{g.queued?g.markedForDestroy=!0:g.destroy()})}finishActiveQueriedAnimationOnElement(l){const u=this.playersByQueriedElement.get(l);u&&u.forEach(g=>g.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return k(this.players).onDone(()=>l());l()})}processLeaveNode(l){const u=l[Bt];if(u&&u.setForRemoval){if(l[Bt]=Ur,u.namespaceId){this.destroyInnerAnimations(l);const g=this._fetchNamespace(u.namespaceId);g&&g.clearElementCache(l)}this._onRemovalComplete(l,u.setForRemoval)}this.driver.matchesElement(l,Fs)&&this.markElementAsDisabled(l,!1),this.driver.query(l,Fs,!0).forEach(g=>{this.markElementAsDisabled(g,!1)})}flush(l=-1){let u=[];if(this.newHostElements.size&&(this.newHostElements.forEach((g,w)=>this._balanceNamespaceList(g,w)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;g<this.collectedEnterElements.length;g++)er(this.collectedEnterElements[g],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const g=[];try{u=this._flushAnimations(g,l)}finally{for(let w=0;w<g.length;w++)g[w]()}}else for(let g=0;g<this.collectedLeaveElements.length;g++)this.processLeaveNode(this.collectedLeaveElements[g]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(g=>g()),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],u.length?k(u).onDone(()=>{g.forEach(w=>w())}):g.forEach(w=>w())}}reportError(l){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${l.join("\n")}`)}_flushAnimations(l,u){const g=new or,w=[],P=new Map,L=[],j=new Map,ne=new Map,ge=new Map,Le=new Set;this.disabledNodes.forEach(je=>{Le.add(je);const Qe=this.driver.query(je,".ng-animate-queued",!0);for(let $e=0;$e<Qe.length;$e++)Le.add(Qe[$e])});const Ke=this.bodyNode,ut=Array.from(this.statesByElement.keys()),vt=ys(ut,this.collectedEnterElements),ot=new Map;let mt=0;vt.forEach((je,Qe)=>{const $e=ur+mt++;ot.set(Qe,$e),je.forEach(Lt=>er(Lt,$e))});const Ot=[],mn=new Set,an=new Set;for(let je=0;je<this.collectedLeaveElements.length;je++){const Qe=this.collectedLeaveElements[je],$e=Qe[Bt];$e&&$e.setForRemoval&&(Ot.push(Qe),mn.add(Qe),$e.hasAnimation?this.driver.query(Qe,".ng-star-inserted",!0).forEach(Lt=>mn.add(Lt)):an.add(Qe))}const Rn=new Map,wn=ys(ut,Array.from(mn));wn.forEach((je,Qe)=>{const $e=Un+mt++;Rn.set(Qe,$e),je.forEach(Lt=>er(Lt,$e))}),l.push(()=>{vt.forEach((je,Qe)=>{const $e=ot.get(Qe);je.forEach(Lt=>vs(Lt,$e))}),wn.forEach((je,Qe)=>{const $e=Rn.get(Qe);je.forEach(Lt=>vs(Lt,$e))}),Ot.forEach(je=>{this.processLeaveNode(je)})});const Gr=[],xr=[];for(let je=this._namespaceList.length-1;je>=0;je--)this._namespaceList[je].drainQueuedTransitions(u).forEach($e=>{const Lt=$e.player,On=$e.element;if(Gr.push(Lt),this.collectedEnterElements.length){const Xt=On[Bt];if(Xt&&Xt.setForMove)return void Lt.destroy()}const Tr=!Ke||!this.driver.containsElement(Ke,On),lr=Rn.get(On),Kr=ot.get(On),pn=this._buildInstruction($e,g,Kr,lr,Tr);if(pn.errors&&pn.errors.length)xr.push(pn);else{if(Tr)return Lt.onStart(()=>Sn(On,pn.fromStyles)),Lt.onDestroy(()=>ln(On,pn.toStyles)),void w.push(Lt);if($e.isFallbackTransition)return Lt.onStart(()=>Sn(On,pn.fromStyles)),Lt.onDestroy(()=>ln(On,pn.toStyles)),void w.push(Lt);pn.timelines.forEach(Xt=>Xt.stretchStartingKeyframe=!0),g.append(On,pn.timelines),L.push({instruction:pn,player:Lt,element:On}),pn.queriedElements.forEach(Xt=>N(j,Xt,[]).push(Lt)),pn.preStyleProps.forEach((Xt,as)=>{const Yr=Object.keys(Xt);if(Yr.length){let Sr=ne.get(as);Sr||ne.set(as,Sr=new Set),Yr.forEach(ls=>Sr.add(ls))}}),pn.postStyleProps.forEach((Xt,as)=>{const Yr=Object.keys(Xt);let Sr=ge.get(as);Sr||ge.set(as,Sr=new Set),Yr.forEach(ls=>Sr.add(ls))})}});if(xr.length){const je=[];xr.forEach(Qe=>{je.push(`@${Qe.triggerName} has failed due to:\n`),Qe.errors.forEach($e=>je.push(`- ${$e}\n`))}),Gr.forEach(Qe=>Qe.destroy()),this.reportError(je)}const Gn=new Map,mr=new Map;L.forEach(je=>{const Qe=je.element;g.has(Qe)&&(mr.set(Qe,Qe),this._beforeAnimationBuild(je.player.namespaceId,je.instruction,Gn))}),w.forEach(je=>{const Qe=je.element;this._getPreviousPlayers(Qe,!1,je.namespaceId,je.triggerName,null).forEach(Lt=>{N(Gn,Qe,[]).push(Lt),Lt.destroy()})});const Nr=Ot.filter(je=>Xs(je,ne,ge)),Fr=new Map;Vs(Fr,this.driver,an,ge,ie.l3).forEach(je=>{Xs(je,ne,ge)&&Nr.push(je)});const js=new Map;vt.forEach((je,Qe)=>{Vs(js,this.driver,new Set(je),ne,ie.k1)}),Nr.forEach(je=>{const Qe=Fr.get(je),$e=js.get(je);Fr.set(je,Object.assign(Object.assign({},Qe),$e))});const kr=[],lo=[],bi={};L.forEach(je=>{const{element:Qe,player:$e,instruction:Lt}=je;if(g.has(Qe)){if(Le.has(Qe))return $e.onDestroy(()=>ln(Qe,Lt.toStyles)),$e.disabled=!0,$e.overrideTotalTime(Lt.totalTime),void w.push($e);let On=bi;if(mr.size>1){let lr=Qe;const Kr=[];for(;lr=lr.parentNode;){const pn=mr.get(lr);if(pn){On=pn;break}Kr.push(lr)}Kr.forEach(pn=>mr.set(pn,On))}const Tr=this._buildAnimation($e.namespaceId,Lt,Gn,P,js,Fr);if($e.setRealPlayer(Tr),On===bi)kr.push($e);else{const lr=this.playersByElement.get(On);lr&&lr.length&&($e.parentPlayer=k(lr)),w.push($e)}}else Sn(Qe,Lt.fromStyles),$e.onDestroy(()=>ln(Qe,Lt.toStyles)),lo.push($e),Le.has(Qe)&&w.push($e)}),lo.forEach(je=>{const Qe=P.get(je.element);if(Qe&&Qe.length){const $e=k(Qe);je.setRealPlayer($e)}}),w.forEach(je=>{je.parentPlayer?je.syncPlayerEvents(je.parentPlayer):je.destroy()});for(let je=0;je<Ot.length;je++){const Qe=Ot[je],$e=Qe[Bt];if(vs(Qe,Un),$e&&$e.hasAnimation)continue;let Lt=[];if(j.size){let Tr=j.get(Qe);Tr&&Tr.length&&Lt.push(...Tr);let lr=this.driver.query(Qe,we,!0);for(let Kr=0;Kr<lr.length;Kr++){let pn=j.get(lr[Kr]);pn&&pn.length&&Lt.push(...pn)}}const On=Lt.filter(Tr=>!Tr.destroyed);On.length?_i(this,Qe,On):this.processLeaveNode(Qe)}return Ot.length=0,kr.forEach(je=>{this.players.push(je),je.onDone(()=>{je.destroy();const Qe=this.players.indexOf(je);this.players.splice(Qe,1)}),je.play()}),kr}elementContainsData(l,u){let g=!1;const w=u[Bt];return w&&w.setForRemoval&&(g=!0),this.playersByElement.has(u)&&(g=!0),this.playersByQueriedElement.has(u)&&(g=!0),this.statesByElement.has(u)&&(g=!0),this._fetchNamespace(l).elementContainsData(u)||g}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,u,g,w,P){let L=[];if(u){const j=this.playersByQueriedElement.get(l);j&&(L=j)}else{const j=this.playersByElement.get(l);if(j){const ne=!P||P==bn;j.forEach(ge=>{ge.queued||!ne&&ge.triggerName!=w||L.push(ge)})}}return(g||w)&&(L=L.filter(j=>!(g&&g!=j.namespaceId||w&&w!=j.triggerName))),L}_beforeAnimationBuild(l,u,g){const P=u.element,L=u.isRemovalTransition?void 0:l,j=u.isRemovalTransition?void 0:u.triggerName;for(const ne of u.timelines){const ge=ne.element,Le=ge!==P,Ke=N(g,ge,[]);this._getPreviousPlayers(ge,Le,L,j,u.toState).forEach(vt=>{const ot=vt.getRealPlayer();ot.beforeDestroy&&ot.beforeDestroy(),vt.destroy(),Ke.push(vt)})}Sn(P,u.fromStyles)}_buildAnimation(l,u,g,w,P,L){const j=u.triggerName,ne=u.element,ge=[],Le=new Set,Ke=new Set,ut=u.timelines.map(ot=>{const mt=ot.element;Le.add(mt);const Ot=mt[Bt];if(Ot&&Ot.removedBeforeQueried)return new ie.ZN(ot.duration,ot.delay);const mn=mt!==ne,an=function(D){const l=[];return ki(D,l),l}((g.get(mt)||Xn).map(Gn=>Gn.getRealPlayer())).filter(Gn=>!!Gn.element&&Gn.element===mt),Rn=P.get(mt),wn=L.get(mt),Gr=Z(0,this._normalizer,0,ot.keyframes,Rn,wn),xr=this._buildPlayer(ot,Gr,an);if(ot.subTimeline&&w&&Ke.add(mt),mn){const Gn=new rs(l,j,mt);Gn.setRealPlayer(xr),ge.push(Gn)}return xr});ge.forEach(ot=>{N(this.playersByQueriedElement,ot.element,[]).push(ot),ot.onDone(()=>function(D,l,u){let g;if(D instanceof Map){if(g=D.get(l),g){if(g.length){const w=g.indexOf(u);g.splice(w,1)}0==g.length&&D.delete(l)}}else if(g=D[l],g){if(g.length){const w=g.indexOf(u);g.splice(w,1)}0==g.length&&delete D[l]}return g}(this.playersByQueriedElement,ot.element,ot))}),Le.forEach(ot=>er(ot,fe));const vt=k(ut);return vt.onDestroy(()=>{Le.forEach(ot=>vs(ot,fe)),ln(ne,u.toStyles)}),Ke.forEach(ot=>{N(w,ot,[]).push(vt)}),vt}_buildPlayer(l,u,g){return u.length>0?this.driver.animate(l.element,u,l.duration,l.delay,l.easing,g):new ie.ZN(l.duration,l.delay)}}class rs{constructor(l,u,g){this.namespaceId=l,this.triggerName=u,this.element=g,this._player=new ie.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,Object.keys(this._queuedCallbacks).forEach(u=>{this._queuedCallbacks[u].forEach(g=>te(l,u,void 0,g))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const u=this._player;u.triggerCallback&&l.onStart(()=>u.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,u){N(this._queuedCallbacks,l,[]).push(u)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const u=this._player;u.triggerCallback&&u.triggerCallback(l)}}function Js(D){return D&&1===D.nodeType}function yi(D,l){const u=D.style.display;return D.style.display=null!=l?l:"none",u}function Vs(D,l,u,g,w){const P=[];u.forEach(ne=>P.push(yi(ne)));const L=[];g.forEach((ne,ge)=>{const Le={};ne.forEach(Ke=>{const ut=Le[Ke]=l.computeStyle(ge,Ke,w);(!ut||0==ut.length)&&(ge[Bt]=ns,L.push(ge))}),D.set(ge,Le)});let j=0;return u.forEach(ne=>yi(ne,P[j++])),L}function ys(D,l){const u=new Map;if(D.forEach(j=>u.set(j,[])),0==l.length)return u;const w=new Set(l),P=new Map;function L(j){if(!j)return 1;let ne=P.get(j);if(ne)return ne;const ge=j.parentNode;return ne=u.has(ge)?ge:w.has(ge)?1:L(ge),P.set(j,ne),ne}return l.forEach(j=>{const ne=L(j);1!==ne&&u.get(ne).push(j)}),u}const _s="$$classes";function er(D,l){if(D.classList)D.classList.add(l);else{let u=D[_s];u||(u=D[_s]={}),u[l]=!0}}function vs(D,l){if(D.classList)D.classList.remove(l);else{let u=D[_s];u&&delete u[l]}}function _i(D,l,u){k(u).onDone(()=>D.processLeaveNode(l))}function ki(D,l){for(let u=0;u<D.length;u++){const g=D[u];g instanceof ie.ZE?ki(g.players,l):l.push(g)}}function Xs(D,l,u){const g=u.get(D);if(!g)return!1;let w=l.get(D);return w?g.forEach(P=>w.add(P)):l.set(D,g),u.delete(D),!0}class Hr{constructor(l,u,g){this.bodyNode=l,this._driver=u,this._normalizer=g,this._triggerCache={},this.onRemovalComplete=(w,P)=>{},this._transitionEngine=new An(l,u,g),this._timelineEngine=new Jn(l,u,g),this._transitionEngine.onRemovalComplete=(w,P)=>this.onRemovalComplete(w,P)}registerTrigger(l,u,g,w,P){const L=l+"-"+w;let j=this._triggerCache[L];if(!j){const ne=[],ge=Vn(this._driver,P,ne);if(ne.length)throw new Error(`The animation trigger "${w}" has failed to build due to the following errors:\n - ${ne.join("\n - ")}`);j=function(D,l,u){return new Je(D,l,u)}(w,ge,this._normalizer),this._triggerCache[L]=j}this._transitionEngine.registerTrigger(u,w,j)}register(l,u){this._transitionEngine.register(l,u)}destroy(l,u){this._transitionEngine.destroy(l,u)}onInsert(l,u,g,w){this._transitionEngine.insertNode(l,u,g,w)}onRemove(l,u,g,w){this._transitionEngine.removeNode(l,u,w||!1,g)}disableAnimations(l,u){this._transitionEngine.markElementAsDisabled(l,u)}process(l,u,g,w){if("@"==g.charAt(0)){const[P,L]=ue(g);this._timelineEngine.command(P,u,L,w)}else this._transitionEngine.trigger(l,u,g,w)}listen(l,u,g,w,P){if("@"==g.charAt(0)){const[L,j]=ue(g);return this._timelineEngine.listen(L,u,j,P)}return this._transitionEngine.listen(l,u,g,w,P)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Li(D,l){let u=null,g=null;return Array.isArray(l)&&l.length?(u=ss(l[0]),l.length>1&&(g=ss(l[l.length-1]))):l&&(u=ss(l)),u||g?new $r(D,u,g):null}class $r{constructor(l,u,g){this._element=l,this._startStyles=u,this._endStyles=g,this._state=0;let w=$r.initialStylesByElement.get(l);w||$r.initialStylesByElement.set(l,w={}),this._initialStyles=w}start(){this._state<1&&(this._startStyles&&ln(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ln(this._element,this._initialStyles),this._endStyles&&(ln(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&($r.initialStylesByElement.delete(this._element),this._startStyles&&(Sn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Sn(this._element,this._endStyles),this._endStyles=null),ln(this._element,this._initialStyles),this._state=3)}}function ss(D){let l=null;const u=Object.keys(D);for(let g=0;g<u.length;g++){const w=u[g];is(w)&&(l=l||{},l[w]=D[w])}return l}function is(D){return"display"===D||"position"===D}$r.initialStylesByElement=new WeakMap;const ro="animation",Bi="animationend";class vi{constructor(l,u,g,w,P,L,j){this._element=l,this._name=u,this._duration=g,this._delay=w,this._easing=P,this._fillMode=L,this._onDoneFn=j,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=ne=>this._handleCallback(ne)}apply(){(function(D,l){const u=Es(D,"").trim();let g=0;u.length&&(function(D,l){let u=0;for(let g=0;g<D.length;g++)","===D.charAt(g)&&u++;return u}(u)+1,l=`${u}, ${l}`),ti(D,"",l)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Ei(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){os(this._element,this._name,"paused")}resume(){os(this._element,this._name,"running")}setPosition(l){const u=Wr(this._element,this._name);this._position=l*this._duration,ti(this._element,"Delay",`-${this._position}ms`,u)}getPosition(){return this._position}_handleCallback(l){const u=l._ngTestManualTimestamp||Date.now(),g=1e3*parseFloat(l.elapsedTime.toFixed(3));l.animationName==this._name&&Math.max(u-this._startTime,0)>=this._delay&&g>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Ei(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(D,l){const g=Es(D,"").split(","),w=ei(g,l);w>=0&&(g.splice(w,1),ti(D,"",g.join(",")))}(this._element,this._name))}}function os(D,l,u){ti(D,"PlayState",u,Wr(D,l))}function Wr(D,l){const u=Es(D,"");return u.indexOf(",")>0?ei(u.split(","),l):ei([u],l)}function ei(D,l){for(let u=0;u<D.length;u++)if(D[u].indexOf(l)>=0)return u;return-1}function Ei(D,l,u){u?D.removeEventListener(Bi,l):D.addEventListener(Bi,l)}function ti(D,l,u,g){const w=ro+l;if(null!=g){const P=D.style[w];if(P.length){const L=P.split(",");L[g]=u,u=L.join(",")}}D.style[w]=u}function Es(D,l){return D.style[ro+l]||""}class ri{constructor(l,u,g,w,P,L,j,ne){this.element=l,this.keyframes=u,this.animationName=g,this._duration=w,this._delay=P,this._finalStyles=j,this._specialStyles=ne,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=L||"linear",this.totalTime=w+P,this._buildStyler()}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(l=>l()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(l=>l()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(l){this._styler.setPosition(l)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new vi(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(l){const u="start"==l?this._onStartFns:this._onDoneFns;u.forEach(g=>g()),u.length=0}beforeDestroy(){this.init();const l={};if(this.hasStarted()){const u=this._state>=3;Object.keys(this._finalStyles).forEach(g=>{"offset"!=g&&(l[g]=u?this._finalStyles[g]:Oe(this.element,g))})}this.currentSnapshot=l}}class si extends ie.ZN{constructor(l,u){super(),this.element=l,this._startingStyles={},this.__initialized=!1,this._styles=Ft(u)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(l=>{this._startingStyles[l]=this.element.style[l]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(l=>this.element.style.setProperty(l,this._styles[l])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(l=>{const u=this._startingStyles[l];u?this.element.style.setProperty(l,u):this.element.style.removeProperty(l)}),this._startingStyles=null,super.destroy())}}class v{constructor(){this._count=0}validateStyleProperty(l){return He(l)}matchesElement(l,u){return at(l,u)}containsElement(l,u){return Ut(l,u)}query(l,u,g){return ft(l,u,g)}computeStyle(l,u,g){return window.getComputedStyle(l)[u]}buildKeyframeElement(l,u,g){g=g.map(j=>Ft(j));let w=`@keyframes ${u} {\n`,P="";g.forEach(j=>{P=" ";const ne=parseFloat(j.offset);w+=`${P}${100*ne}% {\n`,P+=" ",Object.keys(j).forEach(ge=>{const Le=j[ge];switch(ge){case"offset":return;case"easing":return void(Le&&(w+=`${P}animation-timing-function: ${Le};\n`));default:return void(w+=`${P}${ge}: ${Le};\n`)}}),w+=`${P}}\n`}),w+="}\n";const L=document.createElement("style");return L.textContent=w,L}animate(l,u,g,w,P,L=[],j){const ne=L.filter(Ot=>Ot instanceof ri),ge={};kt(g,w)&&ne.forEach(Ot=>{let mn=Ot.currentSnapshot;Object.keys(mn).forEach(an=>ge[an]=mn[an])});const Le=function(D){let l={};return D&&(Array.isArray(D)?D:[D]).forEach(g=>{Object.keys(g).forEach(w=>{"offset"==w||"easing"==w||(l[w]=g[w])})}),l}(u=et(l,u,ge));if(0==g)return new si(l,Le);const Ke="gen_css_kf_"+this._count++,ut=this.buildKeyframeElement(l,Ke,u);(function(D){var l;const u=null===(l=D.getRootNode)||void 0===l?void 0:l.call(D);return"undefined"!=typeof ShadowRoot&&u instanceof ShadowRoot?u:document.head})(l).appendChild(ut);const ot=Li(l,u),mt=new ri(l,u,Ke,g,w,P,Le,ot);return mt.onDestroy(()=>{var D;(D=ut).parentNode.removeChild(D)}),mt}}class zt{constructor(l,u,g,w){this.element=l,this.keyframes=u,this.options=g,this._specialStyles=w,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=g.duration,this._delay=g.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(l,u,g){return l.animate(u,g)}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(u=>{"offset"!=u&&(l[u]=this._finished?this._finalKeyframe[u]:Oe(this.element,u))}),this.currentSnapshot=l}triggerCallback(l){const u="start"==l?this._onStartFns:this._onDoneFns;u.forEach(g=>g()),u.length=0}}class sn{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(lt().toString()),this._cssKeyframesDriver=new v}validateStyleProperty(l){return He(l)}matchesElement(l,u){return at(l,u)}containsElement(l,u){return Ut(l,u)}query(l,u,g){return ft(l,u,g)}computeStyle(l,u,g){return window.getComputedStyle(l)[u]}overrideWebAnimationsSupport(l){this._isNativeImpl=l}animate(l,u,g,w,P,L=[],j){if(!j&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(l,u,g,w,P,L);const Le={duration:g,delay:w,fill:0==w?"both":"forwards"};P&&(Le.easing=P);const Ke={},ut=L.filter(ot=>ot instanceof zt);kt(g,w)&&ut.forEach(ot=>{let mt=ot.currentSnapshot;Object.keys(mt).forEach(Ot=>Ke[Ot]=mt[Ot])});const vt=Li(l,u=et(l,u=u.map(ot=>At(ot,!1)),Ke));return new zt(l,u,Le,vt)}}function lt(){return ce()&&Element.prototype.animate||{}}var En=I(8583);let Qt=(()=>{class D extends ie._j{constructor(u,g){super(),this._nextAnimationId=0,this._renderer=u.createRenderer(g.body,{id:"0",encapsulation:_.ifc.None,styles:[],data:{animation:[]}})}build(u){const g=this._nextAnimationId.toString();this._nextAnimationId++;const w=Array.isArray(u)?(0,ie.vP)(u):u;return tr(this._renderer,null,g,"register",[w]),new tn(g,this._renderer)}}return D.\u0275fac=function(u){return new(u||D)(_.LFG(_.FYo),_.LFG(En.K0))},D.\u0275prov=_.Yz7({token:D,factory:D.\u0275fac}),D})();class tn extends ie.LC{constructor(l,u){super(),this._id=l,this._renderer=u}create(l,u){return new Cn(this._id,l,u||{},this._renderer)}}class Cn{constructor(l,u,g,w){this.id=l,this.element=u,this._renderer=w,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",g)}_listen(l,u){return this._renderer.listen(this.element,`@@${this.id}:${l}`,u)}_command(l,...u){return tr(this._renderer,this.element,this.id,l,u)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(l){this._command("setPosition",l)}getPosition(){var l,u;return null!==(u=null===(l=this._renderer.engine.players[+this.id])||void 0===l?void 0:l.getPosition())&&void 0!==u?u:0}}function tr(D,l,u,g,w){return D.setProperty(l,`@@${u}:${g}`,w)}const zr="@.disabled";let wr=(()=>{class D{constructor(u,g,w){this.delegate=u,this.engine=g,this._zone=w,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),g.onRemovalComplete=(P,L)=>{L&&L.parentNode(P)&&L.removeChild(P.parentNode,P)}}createRenderer(u,g){const P=this.delegate.createRenderer(u,g);if(!(u&&g&&g.data&&g.data.animation)){let Le=this._rendererCache.get(P);return Le||(Le=new bs("",P,this.engine),this._rendererCache.set(P,Le)),Le}const L=g.id,j=g.id+"-"+this._currentId;this._currentId++,this.engine.register(j,u);const ne=Le=>{Array.isArray(Le)?Le.forEach(ne):this.engine.registerTrigger(L,j,u,Le.name,Le)};return g.data.animation.forEach(ne),new Bs(this,j,P,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(u,g,w){u>=0&&u<this._microtaskId?this._zone.run(()=>g(w)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(P=>{const[L,j]=P;L(j)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([g,w]))}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 D.\u0275fac=function(u){return new(u||D)(_.LFG(_.FYo),_.LFG(Hr),_.LFG(_.R0b))},D.\u0275prov=_.Yz7({token:D,factory:D.\u0275fac}),D})();class bs{constructor(l,u,g){this.namespaceId=l,this.delegate=u,this.engine=g,this.destroyNode=this.delegate.destroyNode?w=>u.destroyNode(w):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(l,u){return this.delegate.createElement(l,u)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,u){this.delegate.appendChild(l,u),this.engine.onInsert(this.namespaceId,u,l,!1)}insertBefore(l,u,g,w=!0){this.delegate.insertBefore(l,u,g),this.engine.onInsert(this.namespaceId,u,l,w)}removeChild(l,u,g){this.engine.onRemove(this.namespaceId,u,this.delegate,g)}selectRootElement(l,u){return this.delegate.selectRootElement(l,u)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,u,g,w){this.delegate.setAttribute(l,u,g,w)}removeAttribute(l,u,g){this.delegate.removeAttribute(l,u,g)}addClass(l,u){this.delegate.addClass(l,u)}removeClass(l,u){this.delegate.removeClass(l,u)}setStyle(l,u,g,w){this.delegate.setStyle(l,u,g,w)}removeStyle(l,u,g){this.delegate.removeStyle(l,u,g)}setProperty(l,u,g){"@"==u.charAt(0)&&u==zr?this.disableAnimations(l,!!g):this.delegate.setProperty(l,u,g)}setValue(l,u){this.delegate.setValue(l,u)}listen(l,u,g){return this.delegate.listen(l,u,g)}disableAnimations(l,u){this.engine.disableAnimations(l,u)}}class Bs extends bs{constructor(l,u,g,w){super(u,g,w),this.factory=l,this.namespaceId=u}setProperty(l,u,g){"@"==u.charAt(0)?"."==u.charAt(1)&&u==zr?this.disableAnimations(l,g=void 0===g||!!g):this.engine.process(this.namespaceId,l,u.substr(1),g):this.delegate.setProperty(l,u,g)}listen(l,u,g){if("@"==u.charAt(0)){const w=function(D){switch(D){case"body":return document.body;case"document":return document;case"window":return window;default:return D}}(l);let P=u.substr(1),L="";return"@"!=P.charAt(0)&&([P,L]=function(D){const l=D.indexOf(".");return[D.substring(0,l),D.substr(l+1)]}(P)),this.engine.listen(this.namespaceId,w,P,L,j=>{this.factory.scheduleListenerCallback(j._data||-1,g,j)})}return this.delegate.listen(l,u,g)}}let ra=(()=>{class D extends Hr{constructor(u,g,w){super(u.body,g,w)}ngOnDestroy(){this.flush()}}return D.\u0275fac=function(u){return new(u||D)(_.LFG(En.K0),_.LFG(nt),_.LFG(it))},D.\u0275prov=_.Yz7({token:D,factory:D.\u0275fac}),D})();const Ui=new _.OlP("AnimationModuleType"),ii=[{provide:ie._j,useClass:Qt},{provide:it,useFactory:function(){return new vn}},{provide:Hr,useClass:ra},{provide:_.FYo,useFactory:function(D,l,u){return new wr(D,l,u)},deps:[p.se,Hr,_.R0b]}],Ae=[{provide:nt,useFactory:function(){return"function"==typeof lt()?new sn:new v}},{provide:Ui,useValue:"BrowserAnimations"},...ii],It=[{provide:nt,useClass:Tt},{provide:Ui,useValue:"NoopAnimations"},...ii];let ao=(()=>{class D{static withConfig(u){return{ngModule:D,providers:u.disableAnimations?It:Ae}}}return D.\u0275fac=function(u){return new(u||D)},D.\u0275mod=_.oAB({type:D}),D.\u0275inj=_.cJS({providers:Ae,imports:[p.b2]}),D})()},9075:(ze,he,I)=>{"use strict";I.d(he,{b2:()=>or,H7:()=>St,q6:()=>ir,se:()=>rn});var _=I(8583),p=I(8720);class ie extends _.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ce extends ie{static makeCurrent(){(0,_.HT)(new ce)}onAndCancel(G,O,se){return G.addEventListener(O,se,!1),()=>{G.removeEventListener(O,se,!1)}}dispatchEvent(G,O){G.dispatchEvent(O)}remove(G){G.parentNode&&G.parentNode.removeChild(G)}createElement(G,O){return(O=O||this.getDefaultDocument()).createElement(G)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(G){return G.nodeType===Node.ELEMENT_NODE}isShadowRoot(G){return G instanceof DocumentFragment}getGlobalEventTarget(G,O){return"window"===O?window:"document"===O?G:"body"===O?G.body:null}getBaseHref(G){const O=(Y=Y||document.querySelector("base"),Y?Y.getAttribute("href"):null);return null==O?null:function(ee){Z=Z||document.createElement("a"),Z.setAttribute("href",ee);const G=Z.pathname;return"/"===G.charAt(0)?G:`/${G}`}(O)}resetBaseElement(){Y=null}getUserAgent(){return window.navigator.userAgent}getCookie(G){return(0,_.Mx)(document.cookie,G)}}let Z,Y=null;const H=new p.OlP("TRANSITION_ID"),N=[{provide:p.ip1,useFactory:function(ee,G,O){return()=>{O.get(p.CZH).donePromise.then(()=>{const se=(0,_.q)();Array.prototype.slice.apply(G.querySelectorAll("style[ng-transition]")).filter(Je=>Je.getAttribute("ng-transition")===ee).forEach(Je=>se.remove(Je))})}},deps:[H,_.K0,p.zs3],multi:!0}];class ue{static init(){(0,p.VLi)(new ue)}addToWindow(G){p.dqk.getAngularTestability=(se,Te=!0)=>{const Je=G.findTestabilityInTree(se,Te);if(null==Je)throw new Error("Could not find testability for element.");return Je},p.dqk.getAllAngularTestabilities=()=>G.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>G.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push(se=>{const Te=p.dqk.getAllAngularTestabilities();let Je=Te.length,ht=!1;const Pt=function(hn){ht=ht||hn,Je--,0==Je&&se(ht)};Te.forEach(function(hn){hn.whenStable(Pt)})})}findTestabilityInTree(G,O,se){if(null==O)return null;const Te=G.getTestability(O);return null!=Te?Te:se?(0,_.q)().isShadowRoot(O)?this.findTestabilityInTree(G,O.host,!0):this.findTestabilityInTree(G,O.parentElement,!0):null}}let ve=(()=>{class ee{build(){return new XMLHttpRequest}}return ee.\u0275fac=function(O){return new(O||ee)},ee.\u0275prov=p.Yz7({token:ee,factory:ee.\u0275fac}),ee})();const Tt=new p.OlP("EventManagerPlugins");let nt=(()=>{class ee{constructor(O,se){this._zone=se,this._eventNameToPlugin=new Map,O.forEach(Te=>Te.manager=this),this._plugins=O.slice().reverse()}addEventListener(O,se,Te){return this._findPluginFor(se).addEventListener(O,se,Te)}addGlobalEventListener(O,se,Te){return this._findPluginFor(se).addGlobalEventListener(O,se,Te)}getZone(){return this._zone}_findPluginFor(O){const se=this._eventNameToPlugin.get(O);if(se)return se;const Te=this._plugins;for(let Je=0;Je<Te.length;Je++){const ht=Te[Je];if(ht.supports(O))return this._eventNameToPlugin.set(O,ht),ht}throw new Error(`No event manager plugin found for event ${O}`)}}return ee.\u0275fac=function(O){return new(O||ee)(p.LFG(Tt),p.LFG(p.R0b))},ee.\u0275prov=p.Yz7({token:ee,factory:ee.\u0275fac}),ee})();class _t{constructor(G){this._doc=G}addGlobalEventListener(G,O,se){const Te=(0,_.q)().getGlobalEventTarget(this._doc,G);if(!Te)throw new Error(`Unsupported event target ${Te} for event ${O}`);return this.addEventListener(Te,O,se)}}let Ge=(()=>{class ee{constructor(){this._stylesSet=new Set}addStyles(O){const se=new Set;O.forEach(Te=>{this._stylesSet.has(Te)||(this._stylesSet.add(Te),se.add(Te))}),this.onStylesAdded(se)}onStylesAdded(O){}getAllStyles(){return Array.from(this._stylesSet)}}return ee.\u0275fac=function(O){return new(O||ee)},ee.\u0275prov=p.Yz7({token:ee,factory:ee.\u0275fac}),ee})(),sr=(()=>{class ee extends Ge{constructor(O){super(),this._doc=O,this._hostNodes=new Map,this._hostNodes.set(O.head,[])}_addStylesToHost(O,se,Te){O.forEach(Je=>{const ht=this._doc.createElement("style");ht.textContent=Je,Te.push(se.appendChild(ht))})}addHost(O){const se=[];this._addStylesToHost(this._stylesSet,O,se),this._hostNodes.set(O,se)}removeHost(O){const se=this._hostNodes.get(O);se&&se.forEach(ur),this._hostNodes.delete(O)}onStylesAdded(O){this._hostNodes.forEach((se,Te)=>{this._addStylesToHost(O,Te,se)})}ngOnDestroy(){this._hostNodes.forEach(O=>O.forEach(ur))}}return ee.\u0275fac=function(O){return new(O||ee)(p.LFG(_.K0))},ee.\u0275prov=p.Yz7({token:ee,factory:ee.\u0275fac}),ee})();function ur(ee){(0,_.q)().remove(ee)}const Un={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/"},kn=/%COMP%/g;function le(ee,G,O){for(let se=0;se<G.length;se++){let Te=G[se];Array.isArray(Te)?le(ee,Te,O):(Te=Te.replace(kn,ee),O.push(Te))}return O}function Ne(ee){return G=>{if("__ngUnwrap__"===G)return ee;!1===ee(G)&&(G.preventDefault(),G.returnValue=!1)}}let rn=(()=>{class ee{constructor(O,se,Te){this.eventManager=O,this.sharedStylesHost=se,this.appId=Te,this.rendererByCompId=new Map,this.defaultRenderer=new qt(O)}createRenderer(O,se){if(!O||!se)return this.defaultRenderer;switch(se.encapsulation){case p.ifc.Emulated:{let Te=this.rendererByCompId.get(se.id);return Te||(Te=new ln(this.eventManager,this.sharedStylesHost,se,this.appId),this.rendererByCompId.set(se.id,Te)),Te.applyToHost(O),Te}case 1:case p.ifc.ShadowDom:return new Sn(this.eventManager,this.sharedStylesHost,O,se);default:if(!this.rendererByCompId.has(se.id)){const Te=le(se.id,se.styles,[]);this.sharedStylesHost.addStyles(Te),this.rendererByCompId.set(se.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ee.\u0275fac=function(O){return new(O||ee)(p.LFG(nt),p.LFG(sr),p.LFG(p.AFp))},ee.\u0275prov=p.Yz7({token:ee,factory:ee.\u0275fac}),ee})();class qt{constructor(G){this.eventManager=G,this.data=Object.create(null)}destroy(){}createElement(G,O){return O?document.createElementNS(Un[O]||O,G):document.createElement(G)}createComment(G){return document.createComment(G)}createText(G){return document.createTextNode(G)}appendChild(G,O){G.appendChild(O)}insertBefore(G,O,se){G&&G.insertBefore(O,se)}removeChild(G,O){G&&G.removeChild(O)}selectRootElement(G,O){let se="string"==typeof G?document.querySelector(G):G;if(!se)throw new Error(`The selector "${G}" did not match any elements`);return O||(se.textContent=""),se}parentNode(G){return G.parentNode}nextSibling(G){return G.nextSibling}setAttribute(G,O,se,Te){if(Te){O=Te+":"+O;const Je=Un[Te];Je?G.setAttributeNS(Je,O,se):G.setAttribute(O,se)}else G.setAttribute(O,se)}removeAttribute(G,O,se){if(se){const Te=Un[se];Te?G.removeAttributeNS(Te,O):G.removeAttribute(`${se}:${O}`)}else G.removeAttribute(O)}addClass(G,O){G.classList.add(O)}removeClass(G,O){G.classList.remove(O)}setStyle(G,O,se,Te){Te&(p.JOm.DashCase|p.JOm.Important)?G.style.setProperty(O,se,Te&p.JOm.Important?"important":""):G.style[O]=se}removeStyle(G,O,se){se&p.JOm.DashCase?G.style.removeProperty(O):G.style[O]=""}setProperty(G,O,se){G[O]=se}setValue(G,O){G.nodeValue=O}listen(G,O,se){return"string"==typeof G?this.eventManager.addGlobalEventListener(G,O,Ne(se)):this.eventManager.addEventListener(G,O,Ne(se))}}class ln extends qt{constructor(G,O,se,Te){super(G),this.component=se;const Je=le(Te+"-"+se.id,se.styles,[]);O.addStyles(Je),this.contentAttr="_ngcontent-%COMP%".replace(kn,Te+"-"+se.id),this.hostAttr="_nghost-%COMP%".replace(kn,Te+"-"+se.id)}applyToHost(G){super.setAttribute(G,this.hostAttr,"")}createElement(G,O){const se=super.createElement(G,O);return super.setAttribute(se,this.contentAttr,""),se}}class Sn extends qt{constructor(G,O,se,Te){super(G),this.sharedStylesHost=O,this.hostEl=se,this.shadowRoot=se.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Je=le(Te.id,Te.styles,[]);for(let ht=0;ht<Je.length;ht++){const Pt=document.createElement("style");Pt.textContent=Je[ht],this.shadowRoot.appendChild(Pt)}}nodeOrShadowRoot(G){return G===this.hostEl?this.shadowRoot:G}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(G,O){return super.appendChild(this.nodeOrShadowRoot(G),O)}insertBefore(G,O,se){return super.insertBefore(this.nodeOrShadowRoot(G),O,se)}removeChild(G,O){return super.removeChild(this.nodeOrShadowRoot(G),O)}parentNode(G){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(G)))}}let In=(()=>{class ee extends _t{constructor(O){super(O)}supports(O){return!0}addEventListener(O,se,Te){return O.addEventListener(se,Te,!1),()=>this.removeEventListener(O,se,Te)}removeEventListener(O,se,Te){return O.removeEventListener(se,Te)}}return ee.\u0275fac=function(O){return new(O||ee)(p.LFG(_.K0))},ee.\u0275prov=p.Yz7({token:ee,factory:ee.\u0275fac}),ee})();const et=["alt","control","meta","shift"],Oe={"\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"},un={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ln={alt:ee=>ee.altKey,control:ee=>ee.ctrlKey,meta:ee=>ee.metaKey,shift:ee=>ee.shiftKey};let rt=(()=>{class ee extends _t{constructor(O){super(O)}supports(O){return null!=ee.parseEventName(O)}addEventListener(O,se,Te){const Je=ee.parseEventName(se),ht=ee.eventCallback(Je.fullKey,Te,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,_.q)().onAndCancel(O,Je.domEventName,ht))}static parseEventName(O){const se=O.toLowerCase().split("."),Te=se.shift();if(0===se.length||"keydown"!==Te&&"keyup"!==Te)return null;const Je=ee._normalizeKey(se.pop());let ht="";if(et.forEach(hn=>{const Jn=se.indexOf(hn);Jn>-1&&(se.splice(Jn,1),ht+=hn+".")}),ht+=Je,0!=se.length||0===Je.length)return null;const Pt={};return Pt.domEventName=Te,Pt.fullKey=ht,Pt}static getEventFullKey(O){let se="",Te=function(ee){let G=ee.key;if(null==G){if(G=ee.keyIdentifier,null==G)return"Unidentified";G.startsWith("U+")&&(G=String.fromCharCode(parseInt(G.substring(2),16)),3===ee.location&&un.hasOwnProperty(G)&&(G=un[G]))}return Oe[G]||G}(O);return Te=Te.toLowerCase()," "===Te?Te="space":"."===Te&&(Te="dot"),et.forEach(Je=>{Je!=Te&&Ln[Je](O)&&(se+=Je+".")}),se+=Te,se}static eventCallback(O,se,Te){return Je=>{ee.getEventFullKey(Je)===O&&Te.runGuarded(()=>se(Je))}}static _normalizeKey(O){switch(O){case"esc":return"escape";default:return O}}}return ee.\u0275fac=function(O){return new(O||ee)(p.LFG(_.K0))},ee.\u0275prov=p.Yz7({token:ee,factory:ee.\u0275fac}),ee})(),St=(()=>{class ee{}return ee.\u0275fac=function(O){return new(O||ee)},ee.\u0275prov=(0,p.Yz7)({factory:function(){return(0,p.LFG)(gt)},token:ee,providedIn:"root"}),ee})(),gt=(()=>{class ee extends St{constructor(O){super(),this._doc=O}sanitize(O,se){if(null==se)return null;switch(O){case p.q3G.NONE:return se;case p.q3G.HTML:return(0,p.qzn)(se,"HTML")?(0,p.z3N)(se):(0,p.EiD)(this._doc,String(se)).toString();case p.q3G.STYLE:return(0,p.qzn)(se,"Style")?(0,p.z3N)(se):se;case p.q3G.SCRIPT:if((0,p.qzn)(se,"Script"))return(0,p.z3N)(se);throw new Error("unsafe value used in a script context");case p.q3G.URL:return(0,p.yhl)(se),(0,p.qzn)(se,"URL")?(0,p.z3N)(se):(0,p.mCW)(String(se));case p.q3G.RESOURCE_URL:if((0,p.qzn)(se,"ResourceURL"))return(0,p.z3N)(se);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${O} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(O){return(0,p.JVY)(O)}bypassSecurityTrustStyle(O){return(0,p.L6k)(O)}bypassSecurityTrustScript(O){return(0,p.eBb)(O)}bypassSecurityTrustUrl(O){return(0,p.LAX)(O)}bypassSecurityTrustResourceUrl(O){return(0,p.pB0)(O)}}return ee.\u0275fac=function(O){return new(O||ee)(p.LFG(_.K0))},ee.\u0275prov=(0,p.Yz7)({factory:function(){return function(ee){return new gt(ee.get(_.K0))}((0,p.LFG)(p.gxx))},token:ee,providedIn:"root"}),ee})();const ir=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:_.bD},{provide:p.g9A,useValue:function(){ce.makeCurrent(),ue.init()},multi:!0},{provide:_.K0,useFactory:function(){return(0,p.RDi)(document),document},deps:[]}]),Or=[[],{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function(){return new p.qLn},deps:[]},{provide:Tt,useClass:In,multi:!0,deps:[_.K0,p.R0b,p.Lbi]},{provide:Tt,useClass:rt,multi:!0,deps:[_.K0]},[],{provide:rn,useClass:rn,deps:[nt,sr,p.AFp]},{provide:p.FYo,useExisting:rn},{provide:Ge,useExisting:sr},{provide:sr,useClass:sr,deps:[_.K0]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b]},{provide:nt,useClass:nt,deps:[Tt,p.R0b]},{provide:_.JF,useClass:ve,deps:[]},[]];let or=(()=>{class ee{constructor(O){if(O)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(O){return{ngModule:ee,providers:[{provide:p.AFp,useValue:O.appId},{provide:H,useExisting:p.AFp},N]}}}return ee.\u0275fac=function(O){return new(O||ee)(p.LFG(ee,12))},ee.\u0275mod=p.oAB({type:ee}),ee.\u0275inj=p.cJS({providers:Or,imports:[_.ez,p.hGG]}),ee})();"undefined"!=typeof window&&window},9171:(ze,he,I)=>{"use strict";I.d(he,{gz:()=>Xn,F0:()=>Xt,rH:()=>Yr,Od:()=>Ds,yS:()=>Sr,Bz:()=>ol,lC:()=>sa});var _=I(8583),p=I(8720);const ce=(()=>{function h(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return h.prototype=Object.create(Error.prototype),h})();var Y=I(4402),k=I(5917),Z=I(6215),te=I(739),H=I(7574),W=I(8071),N=I(1439),ue=I(9193),ve=I(2441),Ie=I(9765),J=I(7393);function pe(h,d){let c=!1;return arguments.length>=2&&(c=!0),function(C){return C.lift(new Me(h,d,c))}}class Me{constructor(d,c,y=!1){this.accumulator=d,this.seed=c,this.hasSeed=y}call(d,c){return c.subscribe(new xe(d,this.accumulator,this.seed,this.hasSeed))}}class xe extends J.L{constructor(d,c,y,C){super(d),this.accumulator=c,this._seed=y,this.hasSeed=C,this.index=0}get seed(){return this._seed}set seed(d){this.hasSeed=!0,this._seed=d}_next(d){if(this.hasSeed)return this._tryNext(d);this.seed=d,this.destination.next(d)}_tryNext(d){const c=this.index++;let y;try{y=this.accumulator(this.seed,d,c)}catch(C){this.destination.error(C)}this.seed=y,this.destination.next(y)}}var Ve=I(5345);function Pe(h){return function(c){const y=new oe(h),C=c.lift(y);return y.caught=C}}class oe{constructor(d){this.selector=d}call(d,c){return c.subscribe(new _e(d,this.selector,this.caught))}}class _e extends Ve.Ds{constructor(d,c,y){super(d),this.selector=c,this.caught=y}error(d){if(!this.isStopped){let c;try{c=this.selector(d,this.caught)}catch(S){return void super.error(S)}this._unsubscribeAndRecycle();const y=new Ve.IY(this);this.add(y);const C=(0,Ve.ft)(c,y);C!==y&&this.add(C)}}}var He=I(5435),qe=I(7108);function at(h){return function(c){return 0===h?(0,ue.c)():c.lift(new Ut(h))}}class Ut{constructor(d){if(this.total=d,this.total<0)throw new qe.W}call(d,c){return c.subscribe(new ft(d,this.total))}}class ft extends J.L{constructor(d,c){super(d),this.total=c,this.ring=new Array,this.count=0}_next(d){const c=this.ring,y=this.total,C=this.count++;c.length<y?c.push(d):c[C%y]=d}_complete(){const d=this.destination;let c=this.count;if(c>0){const y=this.count>=this.total?this.total:this.count,C=this.ring;for(let S=0;S<y;S++){const F=c++%y;d.next(C[F])}}d.complete()}}function Ft(h=_t){return d=>d.lift(new Tt(h))}class Tt{constructor(d){this.errorFactory=d}call(d,c){return c.subscribe(new nt(d,this.errorFactory))}}class nt extends J.L{constructor(d,c){super(d),this.errorFactory=c,this.hasValue=!1}_next(d){this.hasValue=!0,this.destination.next(d)}_complete(){if(this.hasValue)return this.destination.complete();{let d;try{d=this.errorFactory()}catch(c){d=c}this.destination.error(d)}}}function _t(){return new ce}function Ge(h=null){return d=>d.lift(new sr(h))}class sr{constructor(d){this.defaultValue=d}call(d,c){return c.subscribe(new ur(d,this.defaultValue))}}class ur extends J.L{constructor(d,c){super(d),this.defaultValue=c,this.isEmpty=!0}_next(d){this.isEmpty=!1,this.destination.next(d)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var Un=I(4487),cr=I(5257);function yn(h,d){const c=arguments.length>=2;return y=>y.pipe(h?(0,He.h)((C,S)=>h(C,S,y)):Un.y,(0,cr.q)(1),c?Ge(d):Ft(()=>new ce))}var Vt=I(8002),fe=I(3190),we=I(9761),X=I(4612),le=I(9773),Ne=I(8307),Ye=I(1307),rn=I(8939),qt=I(3282);class At{constructor(d,c){this.id=d,this.url=c}}class Hn extends At{constructor(d,c,y="imperative",C=null){super(d,c),this.navigationTrigger=y,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class _n extends At{constructor(d,c,y){super(d,c),this.urlAfterRedirects=y}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ln extends At{constructor(d,c,y){super(d,c),this.reason=y}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Sn extends At{constructor(d,c,y){super(d,c),this.error=y}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class In extends At{constructor(d,c,y,C){super(d,c),this.urlAfterRedirects=y,this.state=C}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dr extends At{constructor(d,c,y,C){super(d,c),this.urlAfterRedirects=y,this.state=C}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yt extends At{constructor(d,c,y,C,S){super(d,c),this.urlAfterRedirects=y,this.state=C,this.shouldActivate=S}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class De extends At{constructor(d,c,y,C){super(d,c),this.urlAfterRedirects=y,this.state=C}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class x extends At{constructor(d,c,y,C){super(d,c),this.urlAfterRedirects=y,this.state=C}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class q{constructor(d){this.route=d}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Fe{constructor(d){this.route=d}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Se{constructor(d){this.snapshot=d}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ze{constructor(d){this.snapshot=d}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kt{constructor(d){this.snapshot=d}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class et{constructor(d){this.snapshot=d}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ce{constructor(d,c,y){this.routerEvent=d,this.position=c,this.anchor=y}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Oe="primary";class un{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const c=this.params[d];return Array.isArray(c)?c[0]:c}return null}getAll(d){if(this.has(d)){const c=this.params[d];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function Mt(h){return new un(h)}const cn="ngNavigationCancelingError";function ct(h){const d=Error("NavigationCancelingError: "+h);return d[cn]=!0,d}function Ln(h,d,c){const y=c.path.split("/");if(y.length>h.length||"full"===c.pathMatch&&(d.hasChildren()||y.length<h.length))return null;const C={};for(let S=0;S<y.length;S++){const F=y[S],K=h[S];if(F.startsWith(":"))C[F.substring(1)]=K;else if(F!==K.path)return null}return{consumed:h.slice(0,y.length),posParams:C}}function Ht(h,d){const c=h?Object.keys(h):void 0,y=d?Object.keys(d):void 0;if(!c||!y||c.length!=y.length)return!1;let C;for(let S=0;S<c.length;S++)if(C=c[S],!St(h[C],d[C]))return!1;return!0}function St(h,d){if(Array.isArray(h)&&Array.isArray(d)){if(h.length!==d.length)return!1;const c=[...h].sort(),y=[...d].sort();return c.every((C,S)=>y[S]===C)}return h===d}function Vn(h){return Array.prototype.concat.apply([],h)}function gt(h){return h.length>0?h[h.length-1]:null}function $t(h,d){for(const c in h)h.hasOwnProperty(c)&&d(h[c],c)}function Mn(h){return(0,p.CqO)(h)?h:(0,p.QGY)(h)?(0,Y.D)(Promise.resolve(h)):(0,k.of)(h)}const Br={exact:function ir(h,d,c){if(!V(h.segments,d.segments)||!Cr(h.segments,d.segments,c)||h.numberOfChildren!==d.numberOfChildren)return!1;for(const y in d.children)if(!h.children[y]||!ir(h.children[y],d.children[y],c))return!1;return!0},subset:or},gn={exact:function(h,d){return Ht(h,d)},subset:function(h,d){return Object.keys(d).length<=Object.keys(h).length&&Object.keys(d).every(c=>St(h[c],d[c]))},ignored:()=>!0};function Kn(h,d,c){return Br[c.paths](h.root,d.root,c.matrixParams)&&gn[c.queryParams](h.queryParams,d.queryParams)&&!("exact"===c.fragment&&h.fragment!==d.fragment)}function or(h,d,c){return Xr(h,d,d.segments,c)}function Xr(h,d,c,y){if(h.segments.length>c.length){const C=h.segments.slice(0,c.length);return!(!V(C,c)||d.hasChildren()||!Cr(C,c,y))}if(h.segments.length===c.length){if(!V(h.segments,c)||!Cr(h.segments,c,y))return!1;for(const C in d.children)if(!h.children[C]||!or(h.children[C],d.children[C],y))return!1;return!0}{const C=c.slice(0,h.segments.length),S=c.slice(h.segments.length);return!!(V(h.segments,C)&&Cr(h.segments,C,y)&&h.children[Oe])&&Xr(h.children[Oe],d,S,y)}}function Cr(h,d,c){return d.every((y,C)=>gn[c](h[C].parameters,y.parameters))}class $n{constructor(d,c,y){this.root=d,this.queryParams=c,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mt(this.queryParams)),this._queryParamMap}toString(){return Wt.serialize(this)}}class Et{constructor(d,c){this.segments=d,this.children=c,this.parent=null,$t(c,(y,C)=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ar(this)}}class U{constructor(d,c){this.path=d,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=Mt(this.parameters)),this._parameterMap}toString(){return pr(this)}}function V(h,d){return h.length===d.length&&h.every((c,y)=>c.path===d[y].path)}class st{}class xt{parse(d){const c=new Pt(d);return new $n(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(d){var h;return`${`/${en(d.root,!0)}`}${function(h){const d=Object.keys(h).map(c=>{const y=h[c];return Array.isArray(y)?y.map(C=>`${it(c)}=${it(C)}`).join("&"):`${it(c)}=${it(y)}`}).filter(c=>!!c);return d.length?`?${d.join("&")}`:""}(d.queryParams)}${"string"==typeof d.fragment?`#${h=d.fragment,encodeURI(h)}`:""}`}}const Wt=new xt;function ar(h){return h.segments.map(d=>pr(d)).join("/")}function en(h,d){if(!h.hasChildren())return ar(h);if(d){const c=h.children[Oe]?en(h.children[Oe],!1):"",y=[];return $t(h.children,(C,S)=>{S!==Oe&&y.push(`${S}:${en(C,!1)}`)}),y.length>0?`${c}(${y.join("//")})`:c}{const c=function(h,d){let c=[];return $t(h.children,(y,C)=>{C===Oe&&(c=c.concat(d(y,C)))}),$t(h.children,(y,C)=>{C!==Oe&&(c=c.concat(d(y,C)))}),c}(h,(y,C)=>C===Oe?[en(h.children[Oe],!1)]:[`${C}:${en(y,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[Oe]?`${ar(h)}/${c[0]}`:`${ar(h)}/(${c.join("//")})`}}function Be(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function it(h){return Be(h).replace(/%3B/gi,";")}function vn(h){return Be(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hr(h){return decodeURIComponent(h)}function fn(h){return hr(h.replace(/\+/g,"%20"))}function pr(h){return`${vn(h.path)}${function(h){return Object.keys(h).map(d=>`;${vn(d)}=${vn(h[d])}`).join("")}(h.parameters)}`}const G=/^[^\/()?;=#]+/;function O(h){const d=h.match(G);return d?d[0]:""}const se=/^[^=?&#]+/,Je=/^[^?&#]+/;class Pt{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Et([],{}):new Et([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(d.length>0||Object.keys(c).length>0)&&(y[Oe]=new Et(d,c)),y}parseSegment(){const d=O(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(d),new U(hr(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const c=O(this.remaining);if(!c)return;this.capture(c);let y="";if(this.consumeOptional("=")){const C=O(this.remaining);C&&(y=C,this.capture(y))}d[hr(c)]=hr(y)}parseQueryParam(d){const c=function(h){const d=h.match(se);return d?d[0]:""}(this.remaining);if(!c)return;this.capture(c);let y="";if(this.consumeOptional("=")){const F=function(h){const d=h.match(Je);return d?d[0]:""}(this.remaining);F&&(y=F,this.capture(y))}const C=fn(c),S=fn(y);if(d.hasOwnProperty(C)){let F=d[C];Array.isArray(F)||(F=[F],d[C]=F),F.push(S)}else d[C]=S}parseParens(d){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=O(this.remaining),C=this.remaining[y.length];if("/"!==C&&")"!==C&&";"!==C)throw new Error(`Cannot parse url '${this.url}'`);let S;y.indexOf(":")>-1?(S=y.substr(0,y.indexOf(":")),this.capture(S),this.capture(":")):d&&(S=Oe);const F=this.parseChildren();c[S]=1===Object.keys(F).length?F[Oe]:new Et([],F),this.consumeOptional("//")}return c}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new Error(`Expected "${d}".`)}}class hn{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const c=this.pathFromRoot(d);return c.length>1?c[c.length-2]:null}children(d){const c=Jn(d,this._root);return c?c.children.map(y=>y.value):[]}firstChild(d){const c=Jn(d,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(d){const c=Wn(d,this._root);return c.length<2?[]:c[c.length-2].children.map(C=>C.value).filter(C=>C!==d)}pathFromRoot(d){return Wn(d,this._root).map(c=>c.value)}}function Jn(h,d){if(h===d.value)return d;for(const c of d.children){const y=Jn(h,c);if(y)return y}return null}function Wn(h,d){if(h===d.value)return[d];for(const c of d.children){const y=Wn(h,c);if(y.length)return y.unshift(d),y}return[]}class Rt{constructor(d,c){this.value=d,this.children=c}toString(){return`TreeNode(${this.value})`}}function es(h){const d={};return h&&h.children.forEach(c=>d[c.value.outlet]=c),d}class Fs extends hn{constructor(d,c){super(d),this.snapshot=c,bn(this,d)}toString(){return this.snapshot.toString()}}function jr(h,d){const c=function(h,d){const F=new Bt([],{},{},"",{},Oe,d,null,h.root,-1,{});return new ks("",new Rt(F,[]))}(h,d),y=new Z.X([new U("",{})]),C=new Z.X({}),S=new Z.X({}),F=new Z.X({}),K=new Z.X(""),Ee=new Xn(y,C,F,K,S,Oe,d,c.root);return Ee.snapshot=c.root,new Fs(new Rt(Ee,[]),c)}class Xn{constructor(d,c,y,C,S,F,K,Ee){this.url=d,this.params=c,this.queryParams=y,this.fragment=C,this.data=S,this.outlet=F,this.component=K,this._futureSnapshot=Ee}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,Vt.U)(d=>Mt(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Vt.U)(d=>Mt(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ur(h,d="emptyOnly"){const c=h.pathFromRoot;let y=0;if("always"!==d)for(y=c.length-1;y>=1;){const C=c[y],S=c[y-1];if(C.routeConfig&&""===C.routeConfig.path)y--;else{if(S.component)break;y--}}return function(h){return h.reduce((d,c)=>({params:Object.assign(Object.assign({},d.params),c.params),data:Object.assign(Object.assign({},d.data),c.data),resolve:Object.assign(Object.assign({},d.resolve),c._resolvedData)}),{params:{},data:{},resolve:{}})}(c.slice(y))}class Bt{constructor(d,c,y,C,S,F,K,Ee,We,tt,Nt){this.url=d,this.params=c,this.queryParams=y,this.fragment=C,this.data=S,this.outlet=F,this.component=K,this.routeConfig=Ee,this._urlSegment=We,this._lastPathIndex=tt,this._resolve=Nt}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=Mt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ks extends hn{constructor(d,c){super(c),this.url=d,bn(this,c)}toString(){return Bn(this._root)}}function bn(h,d){d.value._routerState=h,d.children.forEach(c=>bn(h,c))}function Bn(h){const d=h.children.length>0?` { ${h.children.map(Bn).join(", ")} } `:"";return`${h.value}${d}`}function Ls(h){if(h.snapshot){const d=h.snapshot,c=h._futureSnapshot;h.snapshot=c,Ht(d.queryParams,c.queryParams)||h.queryParams.next(c.queryParams),d.fragment!==c.fragment&&h.fragment.next(c.fragment),Ht(d.params,c.params)||h.params.next(c.params),function(h,d){if(h.length!==d.length)return!1;for(let c=0;c<h.length;++c)if(!Ht(h[c],d[c]))return!1;return!0}(d.url,c.url)||h.url.next(c.url),Ht(d.data,c.data)||h.data.next(c.data)}else h.snapshot=h._futureSnapshot,h.data.next(h._futureSnapshot.data)}function An(h,d){return Ht(h.params,d.params)&&function(h,d){return V(h,d)&&h.every((c,y)=>Ht(c.parameters,d[y].parameters))}(h.url,d.url)&&!(!h.parent!=!d.parent)&&(!h.parent||An(h.parent,d.parent))}function zn(h,d,c){if(c&&h.shouldReuseRoute(d.value,c.value.snapshot)){const y=c.value;y._futureSnapshot=d.value;const C=function(h,d,c){return d.children.map(y=>{for(const C of c.children)if(h.shouldReuseRoute(y.value,C.value.snapshot))return zn(h,y,C);return zn(h,y)})}(h,d,c);return new Rt(y,C)}{if(h.shouldAttach(d.value)){const S=h.retrieve(d.value);if(null!==S){const F=S.route;return gi(d,F),F}}const y=function(h){return new Xn(new Z.X(h.url),new Z.X(h.params),new Z.X(h.queryParams),new Z.X(h.fragment),new Z.X(h.data),h.outlet,h.component,h)}(d.value),C=d.children.map(S=>zn(h,S));return new Rt(y,C)}}function gi(h,d){if(h.value.routeConfig!==d.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(h.children.length!==d.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");d.value._futureSnapshot=h.value;for(let c=0;c<h.children.length;++c)gi(h.children[c],d.children[c])}function Vs(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function ys(h){return"object"==typeof h&&null!=h&&h.outlets}function _s(h,d,c,y,C){let S={};return y&&$t(y,(F,K)=>{S[K]=Array.isArray(F)?F.map(Ee=>`${Ee}`):`${F}`}),new $n(c.root===h?d:Ni(c.root,h,d),S,C)}function Ni(h,d,c){const y={};return $t(h.children,(C,S)=>{y[S]=C===d?c:Ni(C,d,c)}),new Et(h.segments,y)}class er{constructor(d,c,y){if(this.isAbsolute=d,this.numberOfDoubleDots=c,this.commands=y,d&&y.length>0&&Vs(y[0]))throw new Error("Root segment cannot have matrix parameters");const C=y.find(ys);if(C&&C!==gt(y))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _i{constructor(d,c,y){this.segmentGroup=d,this.processChildren=c,this.index=y}}function Xs(h,d,c){if(h||(h=new Et([],{})),0===h.segments.length&&h.hasChildren())return Hr(h,d,c);const y=function(h,d,c){let y=0,C=d;const S={match:!1,pathIndex:0,commandIndex:0};for(;C<h.segments.length;){if(y>=c.length)return S;const F=h.segments[C],K=c[y];if(ys(K))break;const Ee=`${K}`,We=y<c.length-1?c[y+1]:null;if(C>0&&void 0===Ee)break;if(Ee&&We&&"object"==typeof We&&void 0===We.outlets){if(!Vi(Ee,We,F))return S;y+=2}else{if(!Vi(Ee,{},F))return S;y++}C++}return{match:!0,pathIndex:C,commandIndex:y}}(h,d,c),C=c.slice(y.commandIndex);if(y.match&&y.pathIndex<h.segments.length){const S=new Et(h.segments.slice(0,y.pathIndex),{});return S.children[Oe]=new Et(h.segments.slice(y.pathIndex),h.children),Hr(S,0,C)}return y.match&&0===C.length?new Et(h.segments,{}):y.match&&!h.hasChildren()?$r(h,d,c):y.match?Hr(h,0,C):$r(h,d,c)}function Hr(h,d,c){if(0===c.length)return new Et(h.segments,{});{const y=function(h){return ys(h[0])?h[0].outlets:{[Oe]:h}}(c),C={};return $t(y,(S,F)=>{"string"==typeof S&&(S=[S]),null!==S&&(C[F]=Xs(h.children[F],d,S))}),$t(h.children,(S,F)=>{void 0===y[F]&&(C[F]=S)}),new Et(h.segments,C)}}function $r(h,d,c){const y=h.segments.slice(0,d);let C=0;for(;C<c.length;){const S=c[C];if(ys(S)){const Ee=ss(S.outlets);return new Et(y,Ee)}if(0===C&&Vs(c[0])){y.push(new U(h.segments[d].path,is(c[0]))),C++;continue}const F=ys(S)?S.outlets[Oe]:`${S}`,K=C<c.length-1?c[C+1]:null;F&&K&&Vs(K)?(y.push(new U(F,is(K))),C+=2):(y.push(new U(F,{})),C++)}return new Et(y,{})}function ss(h){const d={};return $t(h,(c,y)=>{"string"==typeof c&&(c=[c]),null!==c&&(d[y]=$r(new Et([],{}),0,c))}),d}function is(h){const d={};return $t(h,(c,y)=>d[y]=`${c}`),d}function Vi(h,d,c){return h==c.path&&Ht(d,c.parameters)}class Bi{constructor(d,c,y,C){this.routeReuseStrategy=d,this.futureState=c,this.currState=y,this.forwardEvent=C}activate(d){const c=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,y,d),Ls(this.futureState.root),this.activateChildRoutes(c,y,d)}deactivateChildRoutes(d,c,y){const C=es(c);d.children.forEach(S=>{const F=S.value.outlet;this.deactivateRoutes(S,C[F],y),delete C[F]}),$t(C,(S,F)=>{this.deactivateRouteAndItsChildren(S,y)})}deactivateRoutes(d,c,y){const C=d.value,S=c?c.value:null;if(C===S)if(C.component){const F=y.getContext(C.outlet);F&&this.deactivateChildRoutes(d,c,F.children)}else this.deactivateChildRoutes(d,c,y);else S&&this.deactivateRouteAndItsChildren(c,y)}deactivateRouteAndItsChildren(d,c){this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,c):this.deactivateRouteAndOutlet(d,c)}detachAndStoreRouteSubtree(d,c){const y=c.getContext(d.value.outlet);if(y&&y.outlet){const C=y.outlet.detach(),S=y.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:C,route:d,contexts:S})}}deactivateRouteAndOutlet(d,c){const y=c.getContext(d.value.outlet),C=y&&d.value.component?y.children:c,S=es(d);for(const F of Object.keys(S))this.deactivateRouteAndItsChildren(S[F],C);y&&y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated(),y.attachRef=null,y.resolver=null,y.route=null)}activateChildRoutes(d,c,y){const C=es(c);d.children.forEach(S=>{this.activateRoutes(S,C[S.value.outlet],y),this.forwardEvent(new et(S.value.snapshot))}),d.children.length&&this.forwardEvent(new Ze(d.value.snapshot))}activateRoutes(d,c,y){const C=d.value,S=c?c.value:null;if(Ls(C),C===S)if(C.component){const F=y.getOrCreateContext(C.outlet);this.activateChildRoutes(d,c,F.children)}else this.activateChildRoutes(d,c,y);else if(C.component){const F=y.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const K=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),F.children.onOutletReAttached(K.contexts),F.attachRef=K.componentRef,F.route=K.route.value,F.outlet&&F.outlet.attach(K.componentRef,K.route.value),br(K.route)}else{const K=function(h){for(let d=h.parent;d;d=d.parent){const c=d.routeConfig;if(c&&c._loadedConfig)return c._loadedConfig;if(c&&c.component)return null}return null}(C.snapshot),Ee=K?K.module.componentFactoryResolver:null;F.attachRef=null,F.route=C,F.resolver=Ee,F.outlet&&F.outlet.activateWith(C,Ee),this.activateChildRoutes(d,null,F.children)}}else this.activateChildRoutes(d,null,y)}}function br(h){Ls(h.value),h.children.forEach(br)}class os{constructor(d,c){this.routes=d,this.module=c}}function Dr(h){return"function"==typeof h}function Wr(h){return h instanceof $n}const Cs=Symbol("INITIAL_VALUE");function Dn(){return(0,fe.w)(h=>(0,te.aj)(h.map(d=>d.pipe((0,cr.q)(1),(0,we.O)(Cs)))).pipe(pe((d,c)=>{let y=!1;return c.reduce((C,S,F)=>C!==Cs?C:(S===Cs&&(y=!0),y||!1!==S&&F!==c.length-1&&!Wr(S)?C:S),d)},Cs),(0,He.h)(d=>d!==Cs),(0,Vt.U)(d=>Wr(d)?d:!0===d),(0,cr.q)(1)))}let ni=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275cmp=p.Xpm({type:h,selectors:[["ng-component"]],decls:1,vars:0,template:function(c,y){1&c&&p._UZ(0,"router-outlet")},directives:function(){return[sa]},encapsulation:2}),h})();function ri(h,d=""){for(let c=0;c<h.length;c++){const y=h[c];si(y,E(d,y))}}function si(h,d){h.children&&ri(h.children,d)}function E(h,d){return d?h||d.path?h&&!d.path?`${h}/`:!h&&d.path?d.path:`${h}/${d.path}`:"":h}function T(h){const d=h.children&&h.children.map(T),c=d?Object.assign(Object.assign({},h),{children:d}):Object.assign({},h);return!c.component&&(d||c.loadChildren)&&c.outlet&&c.outlet!==Oe&&(c.component=ni),c}function v(h){return h.outlet||Oe}function M(h,d){const c=h.filter(y=>v(y)===d);return c.push(...h.filter(y=>v(y)!==d)),c}const z={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ye(h,d,c){var y;if(""===d.path)return"full"===d.pathMatch&&(h.hasChildren()||c.length>0)?Object.assign({},z):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const S=(d.matcher||Ln)(c,h,d);if(!S)return Object.assign({},z);const F={};$t(S.posParams,(Ee,We)=>{F[We]=Ee.path});const K=S.consumed.length>0?Object.assign(Object.assign({},F),S.consumed[S.consumed.length-1].parameters):F;return{matched:!0,consumedSegments:S.consumed,lastChild:S.consumed.length,parameters:K,positionalParamSegments:null!==(y=S.posParams)&&void 0!==y?y:{}}}function Re(h,d,c,y,C="corrected"){if(c.length>0&&function(h,d,c){return c.some(y=>lt(h,d,y)&&v(y)!==Oe)}(h,c,y)){const F=new Et(d,function(h,d,c,y){const C={};C[Oe]=y,y._sourceSegment=h,y._segmentIndexShift=d.length;for(const S of c)if(""===S.path&&v(S)!==Oe){const F=new Et([],{});F._sourceSegment=h,F._segmentIndexShift=d.length,C[v(S)]=F}return C}(h,d,y,new Et(c,h.children)));return F._sourceSegment=h,F._segmentIndexShift=d.length,{segmentGroup:F,slicedSegments:[]}}if(0===c.length&&function(h,d,c){return c.some(y=>lt(h,d,y))}(h,c,y)){const F=new Et(h.segments,function(h,d,c,y,C,S){const F={};for(const K of y)if(lt(h,c,K)&&!C[v(K)]){const Ee=new Et([],{});Ee._sourceSegment=h,Ee._segmentIndexShift="legacy"===S?h.segments.length:d.length,F[v(K)]=Ee}return Object.assign(Object.assign({},C),F)}(h,d,c,y,h.children,C));return F._sourceSegment=h,F._segmentIndexShift=d.length,{segmentGroup:F,slicedSegments:c}}const S=new Et(h.segments,h.children);return S._sourceSegment=h,S._segmentIndexShift=d.length,{segmentGroup:S,slicedSegments:c}}function lt(h,d,c){return(!(h.hasChildren()||d.length>0)||"full"!==c.pathMatch)&&""===c.path}function En(h,d,c,y){return!!(v(h)===y||y!==Oe&<(d,c,h))&&("**"===h.path||ye(d,h,c).matched)}function Qt(h,d,c){return 0===d.length&&!h.children[c]}class tn{constructor(d){this.segmentGroup=d||null}}class Cn{constructor(d){this.urlTree=d}}function tr(h){return new H.y(d=>d.error(new tn(h)))}function gr(h){return new H.y(d=>d.error(new Cn(h)))}function zr(h){return new H.y(d=>d.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${h}'`)))}class Bs{constructor(d,c,y,C,S){this.configLoader=c,this.urlSerializer=y,this.urlTree=C,this.config=S,this.allowRedirects=!0,this.ngModule=d.get(p.h0i)}apply(){const d=Re(this.urlTree.root,[],[],this.config).segmentGroup,c=new Et(d.segments,d.children);return this.expandSegmentGroup(this.ngModule,this.config,c,Oe).pipe((0,Vt.U)(S=>this.createUrlTree(so(S),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Pe(S=>{if(S instanceof Cn)return this.allowRedirects=!1,this.match(S.urlTree);throw S instanceof tn?this.noMatchError(S):S}))}match(d){return this.expandSegmentGroup(this.ngModule,this.config,d.root,Oe).pipe((0,Vt.U)(C=>this.createUrlTree(so(C),d.queryParams,d.fragment))).pipe(Pe(C=>{throw C instanceof tn?this.noMatchError(C):C}))}noMatchError(d){return new Error(`Cannot match any routes. URL Segment: '${d.segmentGroup}'`)}createUrlTree(d,c,y){const C=d.segments.length>0?new Et([],{[Oe]:d}):d;return new $n(C,c,y)}expandSegmentGroup(d,c,y,C){return 0===y.segments.length&&y.hasChildren()?this.expandChildren(d,c,y).pipe((0,Vt.U)(S=>new Et([],S))):this.expandSegment(d,y,c,y.segments,C,!0)}expandChildren(d,c,y){const C=[];for(const S of Object.keys(y.children))"primary"===S?C.unshift(S):C.push(S);return(0,Y.D)(C).pipe((0,X.b)(S=>{const F=y.children[S],K=M(c,S);return this.expandSegmentGroup(d,K,F,S).pipe((0,Vt.U)(Ee=>({segment:Ee,outlet:S})))}),pe((S,F)=>(S[F.outlet]=F.segment,S),{}),function(h,d){const c=arguments.length>=2;return y=>y.pipe(h?(0,He.h)((C,S)=>h(C,S,y)):Un.y,at(1),c?Ge(d):Ft(()=>new ce))}())}expandSegment(d,c,y,C,S,F){return(0,Y.D)(y).pipe((0,X.b)(K=>this.expandSegmentAgainstRoute(d,c,y,K,C,S,F).pipe(Pe(We=>{if(We instanceof tn)return(0,k.of)(null);throw We}))),yn(K=>!!K),Pe((K,Ee)=>{if(K instanceof ce||"EmptyError"===K.name){if(Qt(c,C,S))return(0,k.of)(new Et([],{}));throw new tn(c)}throw K}))}expandSegmentAgainstRoute(d,c,y,C,S,F,K){return En(C,c,S,F)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(d,c,C,S,F):K&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,c,y,C,S,F):tr(c):tr(c)}expandSegmentAgainstRouteUsingRedirect(d,c,y,C,S,F){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,y,C,F):this.expandRegularSegmentAgainstRouteUsingRedirect(d,c,y,C,S,F)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,c,y,C){const S=this.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?gr(S):this.lineralizeSegments(y,S).pipe((0,le.zg)(F=>{const K=new Et(F,{});return this.expandSegment(d,K,c,F,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,c,y,C,S,F){const{matched:K,consumedSegments:Ee,lastChild:We,positionalParamSegments:tt}=ye(c,C,S);if(!K)return tr(c);const Nt=this.applyRedirectCommands(Ee,C.redirectTo,tt);return C.redirectTo.startsWith("/")?gr(Nt):this.lineralizeSegments(C,Nt).pipe((0,le.zg)(dn=>this.expandSegment(d,c,y,dn.concat(S.slice(We)),F,!1)))}matchSegmentAgainstRoute(d,c,y,C,S){if("**"===y.path)return y.loadChildren?(y._loadedConfig?(0,k.of)(y._loadedConfig):this.configLoader.load(d.injector,y)).pipe((0,Vt.U)(dn=>(y._loadedConfig=dn,new Et(C,{})))):(0,k.of)(new Et(C,{}));const{matched:F,consumedSegments:K,lastChild:Ee}=ye(c,y,C);if(!F)return tr(c);const We=C.slice(Ee);return this.getChildConfig(d,y,C).pipe((0,le.zg)(Nt=>{const dn=Nt.module,Gt=Nt.routes,{segmentGroup:Ir,slicedSegments:cs}=Re(c,K,We,Gt),Lr=new Et(Ir.segments,Ir.children);if(0===cs.length&&Lr.hasChildren())return this.expandChildren(dn,Gt,Lr).pipe((0,Vt.U)(Us=>new Et(K,Us)));if(0===Gt.length&&0===cs.length)return(0,k.of)(new Et(K,{}));const ai=v(y)===S;return this.expandSegment(dn,Lr,Gt,cs,ai?Oe:S,!0).pipe((0,Vt.U)(Mr=>new Et(K.concat(Mr.segments),Mr.children)))}))}getChildConfig(d,c,y){return c.children?(0,k.of)(new os(c.children,d)):c.loadChildren?void 0!==c._loadedConfig?(0,k.of)(c._loadedConfig):this.runCanLoadGuards(d.injector,c,y).pipe((0,le.zg)(C=>{return C?this.configLoader.load(d.injector,c).pipe((0,Vt.U)(S=>(c._loadedConfig=S,S))):(h=c,new H.y(d=>d.error(ct(`Cannot load children because the guard of the route "path: '${h.path}'" returned false`))));var h})):(0,k.of)(new os([],d))}runCanLoadGuards(d,c,y){const C=c.canLoad;if(!C||0===C.length)return(0,k.of)(!0);const S=C.map(F=>{const K=d.get(F);let Ee;if((h=K)&&Dr(h.canLoad))Ee=K.canLoad(c,y);else{if(!Dr(K))throw new Error("Invalid CanLoad guard");Ee=K(c,y)}var h;return Mn(Ee)});return(0,k.of)(S).pipe(Dn(),(0,Ne.b)(F=>{if(!Wr(F))return;const K=ct(`Redirecting to "${this.urlSerializer.serialize(F)}"`);throw K.url=F,K}),(0,Vt.U)(F=>!0===F))}lineralizeSegments(d,c){let y=[],C=c.root;for(;;){if(y=y.concat(C.segments),0===C.numberOfChildren)return(0,k.of)(y);if(C.numberOfChildren>1||!C.children[Oe])return zr(d.redirectTo);C=C.children[Oe]}}applyRedirectCommands(d,c,y){return this.applyRedirectCreatreUrlTree(c,this.urlSerializer.parse(c),d,y)}applyRedirectCreatreUrlTree(d,c,y,C){const S=this.createSegmentGroup(d,c.root,y,C);return new $n(S,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(d,c){const y={};return $t(d,(C,S)=>{if("string"==typeof C&&C.startsWith(":")){const K=C.substring(1);y[S]=c[K]}else y[S]=C}),y}createSegmentGroup(d,c,y,C){const S=this.createSegments(d,c.segments,y,C);let F={};return $t(c.children,(K,Ee)=>{F[Ee]=this.createSegmentGroup(d,K,y,C)}),new Et(S,F)}createSegments(d,c,y,C){return c.map(S=>S.path.startsWith(":")?this.findPosParam(d,S,C):this.findOrReturn(S,y))}findPosParam(d,c,y){const C=y[c.path.substring(1)];if(!C)throw new Error(`Cannot redirect to '${d}'. Cannot find '${c.path}'.`);return C}findOrReturn(d,c){let y=0;for(const C of c){if(C.path===d.path)return c.splice(y),C;y++}return d}}function so(h){const d={};for(const y of Object.keys(h.children)){const S=so(h.children[y]);(S.segments.length>0||S.hasChildren())&&(d[y]=S)}return function(h){if(1===h.numberOfChildren&&h.children[Oe]){const d=h.children[Oe];return new Et(h.segments.concat(d.segments),d.children)}return h}(new Et(h.segments,d))}class io{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class Ci{constructor(d,c){this.component=d,this.route=c}}function oo(h,d,c){const y=h._root;return It(y,d?d._root:null,c,[y.value])}function ii(h,d,c){const y=function(h){if(!h)return null;for(let d=h.parent;d;d=d.parent){const c=d.routeConfig;if(c&&c._loadedConfig)return c._loadedConfig}return null}(d);return(y?y.module.injector:c).get(h)}function It(h,d,c,y,C={canDeactivateChecks:[],canActivateChecks:[]}){const S=es(d);return h.children.forEach(F=>{(function(h,d,c,y,C={canDeactivateChecks:[],canActivateChecks:[]}){const S=h.value,F=d?d.value:null,K=c?c.getContext(h.value.outlet):null;if(F&&S.routeConfig===F.routeConfig){const Ee=function(h,d,c){if("function"==typeof c)return c(h,d);switch(c){case"pathParamsChange":return!V(h.url,d.url);case"pathParamsOrQueryParamsChange":return!V(h.url,d.url)||!Ht(h.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!An(h,d)||!Ht(h.queryParams,d.queryParams);case"paramsChange":default:return!An(h,d)}}(F,S,S.routeConfig.runGuardsAndResolvers);Ee?C.canActivateChecks.push(new io(y)):(S.data=F.data,S._resolvedData=F._resolvedData),It(h,d,S.component?K?K.children:null:c,y,C),Ee&&K&&K.outlet&&K.outlet.isActivated&&C.canDeactivateChecks.push(new Ci(K.outlet.component,F))}else F&&D(d,K,C),C.canActivateChecks.push(new io(y)),It(h,null,S.component?K?K.children:null:c,y,C)})(F,S[F.value.outlet],c,y.concat([F.value]),C),delete S[F.value.outlet]}),$t(S,(F,K)=>D(F,c.getContext(K),C)),C}function D(h,d,c){const y=es(h),C=h.value;$t(y,(S,F)=>{D(S,C.component?d?d.children.getContext(F):null:d,c)}),c.canDeactivateChecks.push(new Ci(C.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,C))}class ge{}function Le(h){return new H.y(d=>d.error(h))}class ut{constructor(d,c,y,C,S,F){this.rootComponentType=d,this.config=c,this.urlTree=y,this.url=C,this.paramsInheritanceStrategy=S,this.relativeLinkResolution=F}recognize(){const d=Re(this.urlTree.root,[],[],this.config.filter(F=>void 0===F.redirectTo),this.relativeLinkResolution).segmentGroup,c=this.processSegmentGroup(this.config,d,Oe);if(null===c)return null;const y=new Bt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Oe,this.rootComponentType,null,this.urlTree.root,-1,{}),C=new Rt(y,c),S=new ks(this.url,C);return this.inheritParamsAndData(S._root),S}inheritParamsAndData(d){const c=d.value,y=Ur(c,this.paramsInheritanceStrategy);c.params=Object.freeze(y.params),c.data=Object.freeze(y.data),d.children.forEach(C=>this.inheritParamsAndData(C))}processSegmentGroup(d,c,y){return 0===c.segments.length&&c.hasChildren()?this.processChildren(d,c):this.processSegment(d,c,c.segments,y)}processChildren(d,c){const y=[];for(const S of Object.keys(c.children)){const F=c.children[S],K=M(d,S),Ee=this.processSegmentGroup(K,F,S);if(null===Ee)return null;y.push(...Ee)}const C=Ot(y);return C.sort((d,c)=>d.value.outlet===Oe?-1:c.value.outlet===Oe?1:d.value.outlet.localeCompare(c.value.outlet)),C}processSegment(d,c,y,C){for(const S of d){const F=this.processSegmentAgainstRoute(S,c,y,C);if(null!==F)return F}return Qt(c,y,C)?[]:null}processSegmentAgainstRoute(d,c,y,C){if(d.redirectTo||!En(d,c,y,C))return null;let S,F=[],K=[];if("**"===d.path){const Gt=y.length>0?gt(y).parameters:{};S=new Bt(y,Gt,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,wn(d),v(d),d.component,d,an(c),Rn(c)+y.length,Gr(d))}else{const Gt=ye(c,d,y);if(!Gt.matched)return null;F=Gt.consumedSegments,K=y.slice(Gt.lastChild),S=new Bt(F,Gt.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,wn(d),v(d),d.component,d,an(c),Rn(c)+F.length,Gr(d))}const Ee=(h=d).children?h.children:h.loadChildren?h._loadedConfig.routes:[],{segmentGroup:We,slicedSegments:tt}=Re(c,F,K,Ee.filter(Gt=>void 0===Gt.redirectTo),this.relativeLinkResolution);var h;if(0===tt.length&&We.hasChildren()){const Gt=this.processChildren(Ee,We);return null===Gt?null:[new Rt(S,Gt)]}if(0===Ee.length&&0===tt.length)return[new Rt(S,[])];const Nt=v(d)===C,dn=this.processSegment(Ee,We,tt,Nt?Oe:C);return null===dn?null:[new Rt(S,dn)]}}function mt(h){const d=h.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function Ot(h){const d=[],c=new Set;for(const y of h){if(!mt(y)){d.push(y);continue}const C=d.find(S=>y.value.routeConfig===S.value.routeConfig);void 0!==C?(C.children.push(...y.children),c.add(C)):d.push(y)}for(const y of c){const C=Ot(y.children);d.push(new Rt(y.value,C))}return d.filter(y=>!c.has(y))}function an(h){let d=h;for(;d._sourceSegment;)d=d._sourceSegment;return d}function Rn(h){let d=h,c=d._segmentIndexShift?d._segmentIndexShift:0;for(;d._sourceSegment;)d=d._sourceSegment,c+=d._segmentIndexShift?d._segmentIndexShift:0;return c-1}function wn(h){return h.data||{}}function Gr(h){return h.resolve||{}}function oi(h){return(0,fe.w)(d=>{const c=h(d);return c?(0,Y.D)(c).pipe((0,Vt.U)(()=>d)):(0,k.of)(d)})}class lo extends class{shouldDetach(d){return!1}store(d,c){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,c){return d.routeConfig===c.routeConfig}}{}const bi=new p.OlP("ROUTES");class je{constructor(d,c,y,C){this.loader=d,this.compiler=c,this.onLoadStartListener=y,this.onLoadEndListener=C}load(d,c){if(c._loader$)return c._loader$;this.onLoadStartListener&&this.onLoadStartListener(c);const C=this.loadModuleFactory(c.loadChildren).pipe((0,Vt.U)(S=>{this.onLoadEndListener&&this.onLoadEndListener(c);const F=S.create(d);return new os(Vn(F.injector.get(bi,void 0,p.XFs.Self|p.XFs.Optional)).map(T),F)}),Pe(S=>{throw c._loader$=void 0,S}));return c._loader$=new ve.c(C,()=>new Ie.xQ).pipe((0,Ye.x)()),c._loader$}loadModuleFactory(d){return"string"==typeof d?(0,Y.D)(this.loader.load(d)):Mn(d()).pipe((0,le.zg)(c=>c instanceof p.YKP?(0,k.of)(c):(0,Y.D)(this.compiler.compileModuleAsync(c))))}}class Qe{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new $e,this.attachRef=null}}class $e{constructor(){this.contexts=new Map}onChildOutletCreated(d,c){const y=this.getOrCreateContext(d);y.outlet=c,this.contexts.set(d,y)}onChildOutletDestroyed(d){const c=this.getContext(d);c&&(c.outlet=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let c=this.getContext(d);return c||(c=new Qe,this.contexts.set(d,c)),c}getContext(d){return this.contexts.get(d)||null}}class On{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,c){return d}}function Tr(h){throw h}function lr(h,d,c){return d.parse("/")}function Kr(h,d){return(0,k.of)(null)}const pn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Di={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Xt=(()=>{class h{constructor(c,y,C,S,F,K,Ee,We){this.rootComponentType=c,this.urlSerializer=y,this.rootContexts=C,this.location=S,this.config=We,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ie.xQ,this.errorHandler=Tr,this.malformedUriErrorHandler=lr,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Kr,afterPreactivation:Kr},this.urlHandlingStrategy=new On,this.routeReuseStrategy=new lo,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=F.get(p.h0i),this.console=F.get(p.c2e);const dn=F.get(p.R0b);this.isNgZoneEnabled=dn instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(We),this.currentUrlTree=new $n(new Et([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new je(K,Ee,Gt=>this.triggerEvent(new q(Gt)),Gt=>this.triggerEvent(new Fe(Gt))),this.routerState=jr(this.currentUrlTree,this.rootComponentType),this.transitions=new Z.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var c;return null===(c=this.location.getState())||void 0===c?void 0:c.\u0275routerPageId}setupNavigations(c){const y=this.events;return c.pipe((0,He.h)(C=>0!==C.id),(0,Vt.U)(C=>Object.assign(Object.assign({},C),{extractedUrl:this.urlHandlingStrategy.extract(C.rawUrl)})),(0,fe.w)(C=>{let S=!1,F=!1;return(0,k.of)(C).pipe((0,Ne.b)(K=>{this.currentNavigation={id:K.id,initialUrl:K.currentRawUrl,extractedUrl:K.extractedUrl,trigger:K.source,extras:K.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,fe.w)(K=>{const Ee=!this.navigated||K.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Ee)&&this.urlHandlingStrategy.shouldProcessUrl(K.rawUrl))return(0,k.of)(K).pipe((0,fe.w)(tt=>{const Nt=this.transitions.getValue();return y.next(new Hn(tt.id,this.serializeUrl(tt.extractedUrl),tt.source,tt.restoredState)),Nt!==this.transitions.getValue()?ue.E:Promise.resolve(tt)}),function(h,d,c,y){return(0,fe.w)(C=>function(h,d,c,y,C){return new Bs(h,d,c,y,C).apply()}(h,d,c,C.extractedUrl,y).pipe((0,Vt.U)(S=>Object.assign(Object.assign({},C),{urlAfterRedirects:S}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Ne.b)(tt=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:tt.urlAfterRedirects})}),function(h,d,c,y,C){return(0,le.zg)(S=>function(h,d,c,y,C="emptyOnly",S="legacy"){try{const F=new ut(h,d,c,y,C,S).recognize();return null===F?Le(new ge):(0,k.of)(F)}catch(F){return Le(F)}}(h,d,S.urlAfterRedirects,c(S.urlAfterRedirects),y,C).pipe((0,Vt.U)(F=>Object.assign(Object.assign({},S),{targetSnapshot:F}))))}(this.rootComponentType,this.config,tt=>this.serializeUrl(tt),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Ne.b)(tt=>{"eager"===this.urlUpdateStrategy&&(tt.extras.skipLocationChange||this.setBrowserUrl(tt.urlAfterRedirects,tt),this.browserUrlTree=tt.urlAfterRedirects);const Nt=new In(tt.id,this.serializeUrl(tt.extractedUrl),this.serializeUrl(tt.urlAfterRedirects),tt.targetSnapshot);y.next(Nt)}));if(Ee&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Nt,extractedUrl:dn,source:Gt,restoredState:Ir,extras:cs}=K,Lr=new Hn(Nt,this.serializeUrl(dn),Gt,Ir);y.next(Lr);const ai=jr(dn,this.rootComponentType).snapshot;return(0,k.of)(Object.assign(Object.assign({},K),{targetSnapshot:ai,urlAfterRedirects:dn,extras:Object.assign(Object.assign({},cs),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=K.rawUrl,this.browserUrlTree=K.urlAfterRedirects,K.resolve(null),ue.E}),oi(K=>{const{targetSnapshot:Ee,id:We,extractedUrl:tt,rawUrl:Nt,extras:{skipLocationChange:dn,replaceUrl:Gt}}=K;return this.hooks.beforePreactivation(Ee,{navigationId:We,appliedUrlTree:tt,rawUrlTree:Nt,skipLocationChange:!!dn,replaceUrl:!!Gt})}),(0,Ne.b)(K=>{const Ee=new dr(K.id,this.serializeUrl(K.extractedUrl),this.serializeUrl(K.urlAfterRedirects),K.targetSnapshot);this.triggerEvent(Ee)}),(0,Vt.U)(K=>Object.assign(Object.assign({},K),{guards:oo(K.targetSnapshot,K.currentSnapshot,this.rootContexts)})),function(h,d){return(0,le.zg)(c=>{const{targetSnapshot:y,currentSnapshot:C,guards:{canActivateChecks:S,canDeactivateChecks:F}}=c;return 0===F.length&&0===S.length?(0,k.of)(Object.assign(Object.assign({},c),{guardsResult:!0})):function(h,d,c,y){return(0,Y.D)(h).pipe((0,le.zg)(C=>function(h,d,c,y,C){const S=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!S||0===S.length)return(0,k.of)(!0);const F=S.map(K=>{const Ee=ii(K,d,C);let We;if(function(h){return h&&Dr(h.canDeactivate)}(Ee))We=Mn(Ee.canDeactivate(h,d,c,y));else{if(!Dr(Ee))throw new Error("Invalid CanDeactivate guard");We=Mn(Ee(h,d,c,y))}return We.pipe(yn())});return(0,k.of)(F).pipe(Dn())}(C.component,C.route,c,d,y)),yn(C=>!0!==C,!0))}(F,y,C,h).pipe((0,le.zg)(K=>K&&function(h){return"boolean"==typeof h}(K)?function(h,d,c,y){return(0,Y.D)(d).pipe((0,X.b)(C=>(0,W.z)(function(h,d){return null!==h&&d&&d(new Se(h)),(0,k.of)(!0)}(C.route.parent,y),function(h,d){return null!==h&&d&&d(new kt(h)),(0,k.of)(!0)}(C.route,y),function(h,d,c){const y=d[d.length-1],S=d.slice(0,d.length-1).reverse().map(F=>function(h){const d=h.routeConfig?h.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:h,guards:d}:null}(F)).filter(F=>null!==F).map(F=>(0,N.P)(()=>{const K=F.guards.map(Ee=>{const We=ii(Ee,F.node,c);let tt;if(function(h){return h&&Dr(h.canActivateChild)}(We))tt=Mn(We.canActivateChild(y,h));else{if(!Dr(We))throw new Error("Invalid CanActivateChild guard");tt=Mn(We(y,h))}return tt.pipe(yn())});return(0,k.of)(K).pipe(Dn())}));return(0,k.of)(S).pipe(Dn())}(h,C.path,c),function(h,d,c){const y=d.routeConfig?d.routeConfig.canActivate:null;if(!y||0===y.length)return(0,k.of)(!0);const C=y.map(S=>(0,N.P)(()=>{const F=ii(S,d,c);let K;if(function(h){return h&&Dr(h.canActivate)}(F))K=Mn(F.canActivate(d,h));else{if(!Dr(F))throw new Error("Invalid CanActivate guard");K=Mn(F(d,h))}return K.pipe(yn())}));return(0,k.of)(C).pipe(Dn())}(h,C.route,c))),yn(C=>!0!==C,!0))}(y,S,h,d):(0,k.of)(K)),(0,Vt.U)(K=>Object.assign(Object.assign({},c),{guardsResult:K})))})}(this.ngModule.injector,K=>this.triggerEvent(K)),(0,Ne.b)(K=>{if(Wr(K.guardsResult)){const We=ct(`Redirecting to "${this.serializeUrl(K.guardsResult)}"`);throw We.url=K.guardsResult,We}const Ee=new Yt(K.id,this.serializeUrl(K.extractedUrl),this.serializeUrl(K.urlAfterRedirects),K.targetSnapshot,!!K.guardsResult);this.triggerEvent(Ee)}),(0,He.h)(K=>!!K.guardsResult||(this.restoreHistory(K),this.cancelNavigationTransition(K,""),!1)),oi(K=>{if(K.guards.canActivateChecks.length)return(0,k.of)(K).pipe((0,Ne.b)(Ee=>{const We=new De(Ee.id,this.serializeUrl(Ee.extractedUrl),this.serializeUrl(Ee.urlAfterRedirects),Ee.targetSnapshot);this.triggerEvent(We)}),(0,fe.w)(Ee=>{let We=!1;return(0,k.of)(Ee).pipe(function(h,d){return(0,le.zg)(c=>{const{targetSnapshot:y,guards:{canActivateChecks:C}}=c;if(!C.length)return(0,k.of)(c);let S=0;return(0,Y.D)(C).pipe((0,X.b)(F=>function(h,d,c,y){return function(h,d,c,y){const C=Object.keys(h);if(0===C.length)return(0,k.of)({});const S={};return(0,Y.D)(C).pipe((0,le.zg)(F=>function(h,d,c,y){const C=ii(h,d,y);return Mn(C.resolve?C.resolve(d,c):C(d,c))}(h[F],d,c,y).pipe((0,Ne.b)(K=>{S[F]=K}))),at(1),(0,le.zg)(()=>Object.keys(S).length===C.length?(0,k.of)(S):ue.E))}(h._resolve,h,d,y).pipe((0,Vt.U)(S=>(h._resolvedData=S,h.data=Object.assign(Object.assign({},h.data),Ur(h,c).resolve),null)))}(F.route,y,h,d)),(0,Ne.b)(()=>S++),at(1),(0,le.zg)(F=>S===C.length?(0,k.of)(c):ue.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Ne.b)({next:()=>We=!0,complete:()=>{We||(this.restoreHistory(Ee),this.cancelNavigationTransition(Ee,"At least one route resolver didn't emit any value."))}}))}),(0,Ne.b)(Ee=>{const We=new x(Ee.id,this.serializeUrl(Ee.extractedUrl),this.serializeUrl(Ee.urlAfterRedirects),Ee.targetSnapshot);this.triggerEvent(We)}))}),oi(K=>{const{targetSnapshot:Ee,id:We,extractedUrl:tt,rawUrl:Nt,extras:{skipLocationChange:dn,replaceUrl:Gt}}=K;return this.hooks.afterPreactivation(Ee,{navigationId:We,appliedUrlTree:tt,rawUrlTree:Nt,skipLocationChange:!!dn,replaceUrl:!!Gt})}),(0,Vt.U)(K=>{const Ee=function(h,d,c){const y=zn(h,d._root,c?c._root:void 0);return new Fs(y,d)}(this.routeReuseStrategy,K.targetSnapshot,K.currentRouterState);return Object.assign(Object.assign({},K),{targetRouterState:Ee})}),(0,Ne.b)(K=>{this.currentUrlTree=K.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,K.rawUrl),this.routerState=K.targetRouterState,"deferred"===this.urlUpdateStrategy&&(K.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,K),this.browserUrlTree=K.urlAfterRedirects)}),((h,d,c)=>(0,Vt.U)(y=>(new Bi(d,y.targetRouterState,y.currentRouterState,c).activate(h),y)))(this.rootContexts,this.routeReuseStrategy,K=>this.triggerEvent(K)),(0,Ne.b)({next(){S=!0},complete(){S=!0}}),(0,rn.x)(()=>{if(!S&&!F){const K=`Navigation ID ${C.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(C),this.cancelNavigationTransition(C,K)):this.cancelNavigationTransition(C,K)}this.currentNavigation=null}),Pe(K=>{if(F=!0,function(h){return h&&h[cn]}(K)){const Ee=Wr(K.url);Ee||(this.navigated=!0,this.restoreHistory(C,!0));const We=new ln(C.id,this.serializeUrl(C.extractedUrl),K.message);y.next(We),Ee?setTimeout(()=>{const tt=this.urlHandlingStrategy.merge(K.url,this.rawUrlTree);this.scheduleNavigation(tt,"imperative",null,{skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:C.resolve,reject:C.reject,promise:C.promise})},0):C.resolve(!1)}else{this.restoreHistory(C,!0);const Ee=new Sn(C.id,this.serializeUrl(C.extractedUrl),K);y.next(Ee);try{C.resolve(this.errorHandler(K))}catch(We){C.reject(We)}}return ue.E}))}))}resetRootComponentType(c){this.rootComponentType=c,this.routerState.root.component=this.rootComponentType}getTransition(){const c=this.transitions.value;return c.urlAfterRedirects=this.browserUrlTree,c}setTransition(c){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),c))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const y=this.extractLocationChangeInfoFromEvent(c);this.shouldScheduleNavigation(this.lastLocationChangeInfo,y)&&setTimeout(()=>{const{source:C,state:S,urlTree:F}=y,K={replaceUrl:!0};if(S){const Ee=Object.assign({},S);delete Ee.navigationId,delete Ee.\u0275routerPageId,0!==Object.keys(Ee).length&&(K.state=Ee)}this.scheduleNavigation(F,C,S,K)},0),this.lastLocationChangeInfo=y}))}extractLocationChangeInfoFromEvent(c){var y;return{source:"popstate"===c.type?"popstate":"hashchange",urlTree:this.parseUrl(c.url),state:(null===(y=c.state)||void 0===y?void 0:y.navigationId)?c.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(c,y){if(!c)return!0;const C=y.urlTree.toString()===c.urlTree.toString();return y.transitionId!==c.transitionId||!C||!("hashchange"===y.source&&"popstate"===c.source||"popstate"===y.source&&"hashchange"===c.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(c){this.events.next(c)}resetConfig(c){ri(c),this.config=c.map(T),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(c,y={}){const{relativeTo:C,queryParams:S,fragment:F,queryParamsHandling:K,preserveFragment:Ee}=y,We=C||this.routerState.root,tt=Ee?this.currentUrlTree.fragment:F;let Nt=null;switch(K){case"merge":Nt=Object.assign(Object.assign({},this.currentUrlTree.queryParams),S);break;case"preserve":Nt=this.currentUrlTree.queryParams;break;default:Nt=S||null}return null!==Nt&&(Nt=this.removeEmptyProps(Nt)),function(h,d,c,y,C){if(0===c.length)return _s(d.root,d.root,d,y,C);const S=function(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new er(!0,0,h);let d=0,c=!1;const y=h.reduce((C,S,F)=>{if("object"==typeof S&&null!=S){if(S.outlets){const K={};return $t(S.outlets,(Ee,We)=>{K[We]="string"==typeof Ee?Ee.split("/"):Ee}),[...C,{outlets:K}]}if(S.segmentPath)return[...C,S.segmentPath]}return"string"!=typeof S?[...C,S]:0===F?(S.split("/").forEach((K,Ee)=>{0==Ee&&"."===K||(0==Ee&&""===K?c=!0:".."===K?d++:""!=K&&C.push(K))}),C):[...C,S]},[]);return new er(c,d,y)}(c);if(S.toRoot())return _s(d.root,new Et([],{}),d,y,C);const F=function(h,d,c){if(h.isAbsolute)return new _i(d.root,!0,0);if(-1===c.snapshot._lastPathIndex){const S=c.snapshot._urlSegment;return new _i(S,S===d.root,0)}const y=Vs(h.commands[0])?0:1;return function(h,d,c){let y=h,C=d,S=c;for(;S>C;){if(S-=C,y=y.parent,!y)throw new Error("Invalid number of '../'");C=y.segments.length}return new _i(y,!1,C-S)}(c.snapshot._urlSegment,c.snapshot._lastPathIndex+y,h.numberOfDoubleDots)}(S,d,h),K=F.processChildren?Hr(F.segmentGroup,F.index,S.commands):Xs(F.segmentGroup,F.index,S.commands);return _s(F.segmentGroup,K,d,y,C)}(We,this.currentUrlTree,c,Nt,null!=tt?tt:null)}navigateByUrl(c,y={skipLocationChange:!1}){const C=Wr(c)?c:this.parseUrl(c),S=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(S,"imperative",null,y)}navigate(c,y={skipLocationChange:!1}){return function(h){for(let d=0;d<h.length;d++){const c=h[d];if(null==c)throw new Error(`The requested path contains ${c} segment at index ${d}`)}}(c),this.navigateByUrl(this.createUrlTree(c,y),y)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let y;try{y=this.urlSerializer.parse(c)}catch(C){y=this.malformedUriErrorHandler(C,this.urlSerializer,c)}return y}isActive(c,y){let C;if(C=!0===y?Object.assign({},pn):!1===y?Object.assign({},Di):y,Wr(c))return Kn(this.currentUrlTree,c,C);const S=this.parseUrl(c);return Kn(this.currentUrlTree,S,C)}removeEmptyProps(c){return Object.keys(c).reduce((y,C)=>{const S=c[C];return null!=S&&(y[C]=S),y},{})}processNavigations(){this.navigations.subscribe(c=>{this.navigated=!0,this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId,this.events.next(new _n(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,c.resolve(!0)},c=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(c,y,C,S,F){var K,Ee;if(this.disposed)return Promise.resolve(!1);const We=this.getTransition(),tt="imperative"!==y&&"imperative"===(null==We?void 0:We.source),Gt=(this.lastSuccessfulId===We.id||this.currentNavigation?We.rawUrl:We.urlAfterRedirects).toString()===c.toString();if(tt&&Gt)return Promise.resolve(!0);let Ir,cs,Lr;F?(Ir=F.resolve,cs=F.reject,Lr=F.promise):Lr=new Promise((Mr,Us)=>{Ir=Mr,cs=Us});const ai=++this.navigationId;let Qr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(C=this.location.getState()),Qr=C&&C.\u0275routerPageId?C.\u0275routerPageId:S.replaceUrl||S.skipLocationChange?null!==(K=this.browserPageId)&&void 0!==K?K:0:(null!==(Ee=this.browserPageId)&&void 0!==Ee?Ee:0)+1):Qr=0,this.setTransition({id:ai,targetPageId:Qr,source:y,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:c,extras:S,resolve:Ir,reject:cs,promise:Lr,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Lr.catch(Mr=>Promise.reject(Mr))}setBrowserUrl(c,y){const C=this.urlSerializer.serialize(c),S=Object.assign(Object.assign({},y.extras.state),this.generateNgRouterState(y.id,y.targetPageId));this.location.isCurrentPathEqualTo(C)||y.extras.replaceUrl?this.location.replaceState(C,"",S):this.location.go(C,"",S)}restoreHistory(c,y=!1){var C,S;if("computed"===this.canceledNavigationResolution){const F=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(C=this.currentNavigation)||void 0===C?void 0:C.finalUrl)||0===F?this.currentUrlTree===(null===(S=this.currentNavigation)||void 0===S?void 0:S.finalUrl)&&0===F&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(F)}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(c,y){const C=new ln(c.id,this.serializeUrl(c.extractedUrl),y);this.triggerEvent(C),c.resolve(!1)}generateNgRouterState(c,y){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:y}:{navigationId:c}}}return h.\u0275fac=function(c){return new(c||h)(p.LFG(p.DyG),p.LFG(st),p.LFG($e),p.LFG(_.Ye),p.LFG(p.zs3),p.LFG(p.v3s),p.LFG(p.Sil),p.LFG(void 0))},h.\u0275prov=p.Yz7({token:h,factory:h.\u0275fac}),h})(),Yr=(()=>{class h{constructor(c,y,C,S,F){this.router=c,this.route=y,this.commands=[],this.onChanges=new Ie.xQ,null==C&&S.setAttribute(F.nativeElement,"tabindex","0")}ngOnChanges(c){this.onChanges.next(this)}set routerLink(c){this.commands=null!=c?Array.isArray(c)?c:[c]:[]}onClick(){const c={skipLocationChange:ls(this.skipLocationChange),replaceUrl:ls(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:ls(this.preserveFragment)})}}return h.\u0275fac=function(c){return new(c||h)(p.Y36(Xt),p.Y36(Xn),p.$8M("tabindex"),p.Y36(p.Qsj),p.Y36(p.SBq))},h.\u0275dir=p.lG2({type:h,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(c,y){1&c&&p.NdJ("click",function(){return y.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[p.TTD]}),h})(),Sr=(()=>{class h{constructor(c,y,C){this.router=c,this.route=y,this.locationStrategy=C,this.commands=[],this.onChanges=new Ie.xQ,this.subscription=c.events.subscribe(S=>{S instanceof _n&&this.updateTargetUrlAndHref()})}set routerLink(c){this.commands=null!=c?Array.isArray(c)?c:[c]:[]}ngOnChanges(c){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(c,y,C,S,F){if(0!==c||y||C||S||F||"string"==typeof this.target&&"_self"!=this.target)return!0;const K={skipLocationChange:ls(this.skipLocationChange),replaceUrl:ls(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,K),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:ls(this.preserveFragment)})}}return h.\u0275fac=function(c){return new(c||h)(p.Y36(Xt),p.Y36(Xn),p.Y36(_.S$))},h.\u0275dir=p.lG2({type:h,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(c,y){1&c&&p.NdJ("click",function(S){return y.onClick(S.button,S.ctrlKey,S.shiftKey,S.altKey,S.metaKey)}),2&c&&(p.Ikx("href",y.href,p.LSH),p.uIk("target",y.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[p.TTD]}),h})();function ls(h){return""===h||!!h}let Ds=(()=>{class h{constructor(c,y,C,S,F,K){this.router=c,this.element=y,this.renderer=C,this.cdr=S,this.link=F,this.linkWithHref=K,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=c.events.subscribe(Ee=>{Ee instanceof _n&&this.update()})}ngAfterContentInit(){(0,k.of)(this.links.changes,this.linksWithHrefs.changes,(0,k.of)(null)).pipe((0,qt.J)()).subscribe(c=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var c;null===(c=this.linkInputChangesSubscription)||void 0===c||c.unsubscribe();const y=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(C=>!!C).map(C=>C.onChanges);this.linkInputChangesSubscription=(0,Y.D)(y).pipe((0,qt.J)()).subscribe(C=>{this.isActive!==this.isLinkActive(this.router)(C)&&this.update()})}set routerLinkActive(c){const y=Array.isArray(c)?c:c.split(" ");this.classes=y.filter(C=>!!C)}ngOnChanges(c){this.update()}ngOnDestroy(){var c;this.routerEventsSubscription.unsubscribe(),null===(c=this.linkInputChangesSubscription)||void 0===c||c.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const c=this.hasActiveLinks();this.isActive!==c&&(this.isActive=c,this.cdr.markForCheck(),this.classes.forEach(y=>{c?this.renderer.addClass(this.element.nativeElement,y):this.renderer.removeClass(this.element.nativeElement,y)}))})}isLinkActive(c){const y=function(h){return!!h.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return C=>c.isActive(C.urlTree,y)}hasActiveLinks(){const c=this.isLinkActive(this.router);return this.link&&c(this.link)||this.linkWithHref&&c(this.linkWithHref)||this.links.some(c)||this.linksWithHrefs.some(c)}}return h.\u0275fac=function(c){return new(c||h)(p.Y36(Xt),p.Y36(p.SBq),p.Y36(p.Qsj),p.Y36(p.sBO),p.Y36(Yr,8),p.Y36(Sr,8))},h.\u0275dir=p.lG2({type:h,selectors:[["","routerLinkActive",""]],contentQueries:function(c,y,C){if(1&c&&(p.Suo(C,Yr,5),p.Suo(C,Sr,5)),2&c){let S;p.iGM(S=p.CRH())&&(y.links=S),p.iGM(S=p.CRH())&&(y.linksWithHrefs=S)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[p.TTD]}),h})(),sa=(()=>{class h{constructor(c,y,C,S,F){this.parentContexts=c,this.location=y,this.resolver=C,this.changeDetector=F,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.vpe,this.deactivateEvents=new p.vpe,this.name=S||Oe,c.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const c=this.parentContexts.getContext(this.name);c&&c.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,c}attach(c,y){this.activated=c,this._activatedRoute=y,this.location.insert(c.hostView)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,y){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=c;const F=(y=y||this.resolver).resolveComponentFactory(c._futureSnapshot.routeConfig.component),K=this.parentContexts.getOrCreateContext(this.name).children,Ee=new cu(c,K,this.location.injector);this.activated=this.location.createComponent(F,this.location.length,Ee),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return h.\u0275fac=function(c){return new(c||h)(p.Y36($e),p.Y36(p.s_b),p.Y36(p._Vd),p.$8M("name"),p.Y36(p.sBO))},h.\u0275dir=p.lG2({type:h,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),h})();class cu{constructor(d,c,y){this.route=d,this.childContexts=c,this.parent=y}get(d,c){return d===Xn?this.route:d===$e?this.childContexts:this.parent.get(d,c)}}class wi{}class nl{preload(d,c){return(0,k.of)(null)}}let rl=(()=>{class h{constructor(c,y,C,S,F){this.router=c,this.injector=S,this.preloadingStrategy=F,this.loader=new je(y,C,We=>c.triggerEvent(new q(We)),We=>c.triggerEvent(new Fe(We)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,He.h)(c=>c instanceof _n),(0,X.b)(()=>this.preload())).subscribe(()=>{})}preload(){const c=this.injector.get(p.h0i);return this.processRoutes(c,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,y){const C=[];for(const S of y)if(S.loadChildren&&!S.canLoad&&S._loadedConfig){const F=S._loadedConfig;C.push(this.processRoutes(F.module,F.routes))}else S.loadChildren&&!S.canLoad?C.push(this.preloadConfig(c,S)):S.children&&C.push(this.processRoutes(c,S.children));return(0,Y.D)(C).pipe((0,qt.J)(),(0,Vt.U)(S=>{}))}preloadConfig(c,y){return this.preloadingStrategy.preload(y,()=>(y._loadedConfig?(0,k.of)(y._loadedConfig):this.loader.load(c.injector,y)).pipe((0,le.zg)(S=>(y._loadedConfig=S,this.processRoutes(S.module,S.routes)))))}}return h.\u0275fac=function(c){return new(c||h)(p.LFG(Xt),p.LFG(p.v3s),p.LFG(p.Sil),p.LFG(p.zs3),p.LFG(wi))},h.\u0275prov=p.Yz7({token:h,factory:h.\u0275fac}),h})(),sl=(()=>{class h{constructor(c,y,C={}){this.router=c,this.viewportScroller=y,this.options=C,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},C.scrollPositionRestoration=C.scrollPositionRestoration||"disabled",C.anchorScrolling=C.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(c=>{c instanceof Hn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof _n&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.router.parseUrl(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(c=>{c instanceof Ce&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,y){this.router.triggerEvent(new Ce(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return h.\u0275fac=function(c){return new(c||h)(p.LFG(Xt),p.LFG(_.EM),p.LFG(void 0))},h.\u0275prov=p.Yz7({token:h,factory:h.\u0275fac}),h})();const us=new p.OlP("ROUTER_CONFIGURATION"),oa=new p.OlP("ROUTER_FORROOT_GUARD"),uo=[_.Ye,{provide:st,useClass:xt},{provide:Xt,useFactory:function(h,d,c,y,C,S,F,K={},Ee,We){const tt=new Xt(null,h,d,c,y,C,S,Vn(F));return Ee&&(tt.urlHandlingStrategy=Ee),We&&(tt.routeReuseStrategy=We),function(h,d){h.errorHandler&&(d.errorHandler=h.errorHandler),h.malformedUriErrorHandler&&(d.malformedUriErrorHandler=h.malformedUriErrorHandler),h.onSameUrlNavigation&&(d.onSameUrlNavigation=h.onSameUrlNavigation),h.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=h.paramsInheritanceStrategy),h.relativeLinkResolution&&(d.relativeLinkResolution=h.relativeLinkResolution),h.urlUpdateStrategy&&(d.urlUpdateStrategy=h.urlUpdateStrategy)}(K,tt),K.enableTracing&&tt.events.subscribe(Nt=>{var dn,Gt;null===(dn=console.group)||void 0===dn||dn.call(console,`Router Event: ${Nt.constructor.name}`),console.log(Nt.toString()),console.log(Nt),null===(Gt=console.groupEnd)||void 0===Gt||Gt.call(console)}),tt},deps:[st,$e,_.Ye,p.zs3,p.v3s,p.Sil,bi,us,[class{},new p.FiY],[class{},new p.FiY]]},$e,{provide:Xn,useFactory:function(h){return h.routerState.root},deps:[Xt]},{provide:p.v3s,useClass:p.EAV},rl,nl,class{preload(d,c){return c().pipe(Pe(()=>(0,k.of)(null)))}},{provide:us,useValue:{enableTracing:!1}}];function il(){return new p.PXZ("Router",Xt)}let ol=(()=>{class h{constructor(c,y){}static forRoot(c,y){return{ngModule:h,providers:[uo,co(c),{provide:oa,useFactory:Si,deps:[[Xt,new p.FiY,new p.tp0]]},{provide:us,useValue:y||{}},{provide:_.S$,useFactory:du,deps:[_.lw,[new p.tBr(_.mr),new p.FiY],us]},{provide:sl,useFactory:Ti,deps:[Xt,_.EM,us]},{provide:wi,useExisting:y&&y.preloadingStrategy?y.preloadingStrategy:nl},{provide:p.PXZ,multi:!0,useFactory:il},[ho,{provide:p.ip1,multi:!0,useFactory:fu,deps:[ho]},{provide:Ii,useFactory:hu,deps:[ho]},{provide:p.tb,multi:!0,useExisting:Ii}]]}}static forChild(c){return{ngModule:h,providers:[co(c)]}}}return h.\u0275fac=function(c){return new(c||h)(p.LFG(oa,8),p.LFG(Xt,8))},h.\u0275mod=p.oAB({type:h}),h.\u0275inj=p.cJS({}),h})();function Ti(h,d,c){return c.scrollOffset&&d.setOffset(c.scrollOffset),new sl(h,d,c)}function du(h,d,c={}){return c.useHash?new _.Do(h,d):new _.b0(h,d)}function Si(h){return"guarded"}function co(h){return[{provide:p.deG,multi:!0,useValue:h},{provide:bi,multi:!0,useValue:h}]}let ho=(()=>{class h{constructor(c){this.injector=c,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ie.xQ}appInitializer(){return this.injector.get(_.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let y=null;const C=new Promise(K=>y=K),S=this.injector.get(Xt),F=this.injector.get(us);return"disabled"===F.initialNavigation?(S.setUpLocationChangeListener(),y(!0)):"enabled"===F.initialNavigation||"enabledBlocking"===F.initialNavigation?(S.hooks.afterPreactivation=()=>this.initNavigation?(0,k.of)(null):(this.initNavigation=!0,y(!0),this.resultOfPreactivationDone),S.initialNavigation()):y(!0),C})}bootstrapListener(c){const y=this.injector.get(us),C=this.injector.get(rl),S=this.injector.get(sl),F=this.injector.get(Xt),K=this.injector.get(p.z2F);c===K.components[0]&&(("enabledNonBlocking"===y.initialNavigation||void 0===y.initialNavigation)&&F.initialNavigation(),C.setUpPreloading(),S.init(),F.resetRootComponentType(K.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return h.\u0275fac=function(c){return new(c||h)(p.LFG(p.zs3))},h.\u0275prov=p.Yz7({token:h,factory:h.\u0275fac}),h})();function fu(h){return h.appInitializer.bind(h)}function hu(h){return h.bootstrapListener.bind(h)}const Ii=new p.OlP("Router Initializer")},9344:(ze,he,I)=>{"use strict";I.d(he,{Rh:()=>Un,_W:()=>Ge});var _=I(8720),p=I(7238),ie=I(9765),ce=I(9075),Y=I(8583);const k=["toast-component",""];function Z(fe,we){if(1&fe){const X=_.EpF();_.TgZ(0,"button",5),_.NdJ("click",function(){return _.CHM(X),_.oxw().remove()}),_.TgZ(1,"span",6),_._uU(2,"\xd7"),_.qZA(),_.qZA()}}function te(fe,we){if(1&fe&&(_.ynx(0),_._uU(1),_.BQk()),2&fe){const X=_.oxw(2);_.xp6(1),_.hij("[",X.duplicatesCount+1,"]")}}function H(fe,we){if(1&fe&&(_.TgZ(0,"div"),_._uU(1),_.YNc(2,te,2,1,"ng-container",4),_.qZA()),2&fe){const X=_.oxw();_.Tol(X.options.titleClass),_.uIk("aria-label",X.title),_.xp6(1),_.hij(" ",X.title," "),_.xp6(1),_.Q6J("ngIf",X.duplicatesCount)}}function W(fe,we){if(1&fe&&_._UZ(0,"div",7),2&fe){const X=_.oxw();_.Tol(X.options.messageClass),_.Q6J("innerHTML",X.message,_.oJD)}}function N(fe,we){if(1&fe&&(_.TgZ(0,"div",8),_._uU(1),_.qZA()),2&fe){const X=_.oxw();_.Tol(X.options.messageClass),_.uIk("aria-label",X.message),_.xp6(1),_.hij(" ",X.message," ")}}function ue(fe,we){if(1&fe&&(_.TgZ(0,"div"),_._UZ(1,"div",9),_.qZA()),2&fe){const X=_.oxw();_.xp6(1),_.Udp("width",X.width+"%")}}function ve(fe,we){if(1&fe){const X=_.EpF();_.TgZ(0,"button",5),_.NdJ("click",function(){return _.CHM(X),_.oxw().remove()}),_.TgZ(1,"span",6),_._uU(2,"\xd7"),_.qZA(),_.qZA()}}function Ie(fe,we){if(1&fe&&(_.ynx(0),_._uU(1),_.BQk()),2&fe){const X=_.oxw(2);_.xp6(1),_.hij("[",X.duplicatesCount+1,"]")}}function J(fe,we){if(1&fe&&(_.TgZ(0,"div"),_._uU(1),_.YNc(2,Ie,2,1,"ng-container",4),_.qZA()),2&fe){const X=_.oxw();_.Tol(X.options.titleClass),_.uIk("aria-label",X.title),_.xp6(1),_.hij(" ",X.title," "),_.xp6(1),_.Q6J("ngIf",X.duplicatesCount)}}function pe(fe,we){if(1&fe&&_._UZ(0,"div",7),2&fe){const X=_.oxw();_.Tol(X.options.messageClass),_.Q6J("innerHTML",X.message,_.oJD)}}function Me(fe,we){if(1&fe&&(_.TgZ(0,"div",8),_._uU(1),_.qZA()),2&fe){const X=_.oxw();_.Tol(X.options.messageClass),_.uIk("aria-label",X.message),_.xp6(1),_.hij(" ",X.message," ")}}function xe(fe,we){if(1&fe&&(_.TgZ(0,"div"),_._UZ(1,"div",9),_.qZA()),2&fe){const X=_.oxw();_.xp6(1),_.Udp("width",X.width+"%")}}class oe{constructor(we,X,le,Ne,Ye,rn){this.toastId=we,this.config=X,this.message=le,this.title=Ne,this.toastType=Ye,this.toastRef=rn,this._onTap=new ie.xQ,this._onAction=new ie.xQ,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(we){this._onAction.next(we)}onAction(){return this._onAction.asObservable()}}const _e={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},He=new _.OlP("ToastConfig");class qe{constructor(we,X){this.component=we,this.injector=X}attach(we,X){return this._attachedHost=we,we.attach(this,X)}detach(){const we=this._attachedHost;if(we)return this._attachedHost=void 0,we.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(we){this._attachedHost=we}}class Ut extends class{attach(we,X){return this._attachedPortal=we,this.attachComponentPortal(we,X)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(we){this._disposeFn=we}}{constructor(we,X,le){super(),this._hostDomElement=we,this._componentFactoryResolver=X,this._appRef=le}attachComponentPortal(we,X){const le=this._componentFactoryResolver.resolveComponentFactory(we.component);let Ne;return Ne=le.create(we.injector),this._appRef.attachView(Ne.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Ne.hostView),Ne.destroy()}),X?this._hostDomElement.insertBefore(this._getComponentRootNode(Ne),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Ne)),Ne}_getComponentRootNode(we){return we.hostView.rootNodes[0]}}let ft=(()=>{class fe{constructor(X){this._document=X}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const X=this._document.createElement("div");X.classList.add("overlay-container"),this._document.body.appendChild(X),this._containerElement=X}}return fe.\u0275fac=function(X){return new(X||fe)(_.LFG(Y.K0))},fe.\u0275prov=_.Yz7({factory:function(){return new fe(_.LFG(Y.K0))},token:fe,providedIn:"root"}),fe})();class Ft{constructor(we){this._portalHost=we}attach(we,X=!0){return this._portalHost.attach(we,X)}detach(){return this._portalHost.detach()}}let Tt=(()=>{class fe{constructor(X,le,Ne,Ye){this._overlayContainer=X,this._componentFactoryResolver=le,this._appRef=Ne,this._document=Ye,this._paneElements=new Map}create(X,le){return this._createOverlayRef(this.getPaneElement(X,le))}getPaneElement(X="",le){return this._paneElements.get(le)||this._paneElements.set(le,{}),this._paneElements.get(le)[X]||(this._paneElements.get(le)[X]=this._createPaneElement(X,le)),this._paneElements.get(le)[X]}_createPaneElement(X,le){const Ne=this._document.createElement("div");return Ne.id="toast-container",Ne.classList.add(X),Ne.classList.add("toast-container"),le?le.getContainerElement().appendChild(Ne):this._overlayContainer.getContainerElement().appendChild(Ne),Ne}_createPortalHost(X){return new Ut(X,this._componentFactoryResolver,this._appRef)}_createOverlayRef(X){return new Ft(this._createPortalHost(X))}}return fe.\u0275fac=function(X){return new(X||fe)(_.LFG(ft),_.LFG(_._Vd),_.LFG(_.z2F),_.LFG(Y.K0))},fe.\u0275prov=_.Yz7({factory:function(){return new fe(_.LFG(ft),_.LFG(_._Vd),_.LFG(_.z2F),_.LFG(Y.K0))},token:fe,providedIn:"root"}),fe})();class nt{constructor(we){this._overlayRef=we,this.duplicatesCount=0,this._afterClosed=new ie.xQ,this._activate=new ie.xQ,this._manualClose=new ie.xQ,this._resetTimeout=new ie.xQ,this._countDuplicate=new ie.xQ}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(we,X){we&&this._resetTimeout.next(),X&&this._countDuplicate.next(++this.duplicatesCount)}}class _t{constructor(we,X){this._toastPackage=we,this._parentInjector=X}get(we,X,le){return we===oe?this._toastPackage:this._parentInjector.get(we,X,le)}}let Ge=(()=>{class fe{constructor(X,le,Ne,Ye,rn){this.overlay=le,this._injector=Ne,this.sanitizer=Ye,this.ngZone=rn,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},X.default),X.config),X.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},X.default.iconClasses),X.config.iconClasses))}show(X,le,Ne={},Ye=""){return this._preBuildNotification(Ye,X,le,this.applyConfig(Ne))}success(X,le,Ne={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",X,le,this.applyConfig(Ne))}error(X,le,Ne={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",X,le,this.applyConfig(Ne))}info(X,le,Ne={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",X,le,this.applyConfig(Ne))}warning(X,le,Ne={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",X,le,this.applyConfig(Ne))}clear(X){for(const le of this.toasts)if(void 0!==X){if(le.toastId===X)return void le.toastRef.manualClose()}else le.toastRef.manualClose()}remove(X){const le=this._findToast(X);if(!le||(le.activeToast.toastRef.close(),this.toasts.splice(le.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const Ne=this.toasts[this.currentlyActive].toastRef;Ne.isInactive()||(this.currentlyActive=this.currentlyActive+1,Ne.activate())}return!0}findDuplicate(X="",le="",Ne,Ye){const{includeTitleDuplicates:rn}=this.toastrConfig;for(const qt of this.toasts){const At=rn&&qt.title===X;if((!rn||At)&&qt.message===le)return qt.toastRef.onDuplicate(Ne,Ye),qt}return null}applyConfig(X={}){return Object.assign(Object.assign({},this.toastrConfig),X)}_findToast(X){for(let le=0;le<this.toasts.length;le++)if(this.toasts[le].toastId===X)return{index:le,activeToast:this.toasts[le]};return null}_preBuildNotification(X,le,Ne,Ye){return Ye.onActivateTick?this.ngZone.run(()=>this._buildNotification(X,le,Ne,Ye)):this._buildNotification(X,le,Ne,Ye)}_buildNotification(X,le,Ne,Ye){if(!Ye.toastComponent)throw new Error("toastComponent required");const rn=this.findDuplicate(Ne,le,this.toastrConfig.resetTimeoutOnDuplicate&&Ye.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Ne||le)&&this.toastrConfig.preventDuplicates&&null!==rn)return rn;this.previousToastMessage=le;let qt=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(qt=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const At=this.overlay.create(Ye.positionClass,this.overlayContainer);this.index=this.index+1;let Hn=le;le&&Ye.enableHtml&&(Hn=this.sanitizer.sanitize(_.q3G.HTML,le));const _n=new nt(At),ln=new oe(this.index,Ye,Hn,Ne,X,_n),Sn=new _t(ln,this._injector),In=new qe(Ye.toastComponent,Sn),dr=At.attach(In,this.toastrConfig.newestOnTop);_n.componentInstance=dr.instance;const Yt={toastId:this.index,title:Ne||"",message:le||"",toastRef:_n,onShown:_n.afterActivate(),onHidden:_n.afterClosed(),onTap:ln.onTap(),onAction:ln.onAction(),portal:dr};return qt||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Yt.toastRef.activate()})),this.toasts.push(Yt),Yt}}return fe.\u0275fac=function(X){return new(X||fe)(_.LFG(He),_.LFG(Tt),_.LFG(_.zs3),_.LFG(ce.H7),_.LFG(_.R0b))},fe.\u0275prov=_.Yz7({factory:function(){return new fe(_.LFG(He),_.LFG(Tt),_.LFG(_.gxx),_.LFG(ce.H7),_.LFG(_.R0b))},token:fe,providedIn:"root"}),fe})(),sr=(()=>{class fe{constructor(X,le,Ne){this.toastrService=X,this.toastPackage=le,this.ngZone=Ne,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=le.message,this.title=le.title,this.options=le.config,this.originalTimeout=le.config.timeOut,this.toastClasses=`${le.toastType} ${le.config.toastClass}`,this.sub=le.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=le.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=le.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=le.toastRef.countDuplicate().subscribe(Ye=>{this.duplicatesCount=Ye})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const X=(new Date).getTime();this.width=(this.hideTime-X)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(X,le){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(X),le)):this.timeout=setTimeout(()=>X(),le)}outsideInterval(X,le){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(X),le)):this.intervalId=setInterval(()=>X(),le)}runInsideAngular(X){this.ngZone?this.ngZone.run(()=>X()):X()}}return fe.\u0275fac=function(X){return new(X||fe)(_.Y36(Ge),_.Y36(oe),_.Y36(_.R0b))},fe.\u0275cmp=_.Xpm({type:fe,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(X,le){1&X&&_.NdJ("click",function(){return le.tapToast()})("mouseenter",function(){return le.stickAround()})("mouseleave",function(){return le.delayedHideToast()}),2&X&&(_.d8E("@flyInOut",le.state),_.Tol(le.toastClasses),_.Udp("display",le.displayStyle))},attrs:k,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(X,le){1&X&&(_.YNc(0,Z,3,0,"button",0),_.YNc(1,H,3,5,"div",1),_.YNc(2,W,1,3,"div",2),_.YNc(3,N,2,4,"div",3),_.YNc(4,ue,2,2,"div",4)),2&X&&(_.Q6J("ngIf",le.options.closeButton),_.xp6(1),_.Q6J("ngIf",le.title),_.xp6(1),_.Q6J("ngIf",le.message&&le.options.enableHtml),_.xp6(1),_.Q6J("ngIf",le.message&&!le.options.enableHtml),_.xp6(1),_.Q6J("ngIf",le.options.progressBar))},directives:[Y.O5],encapsulation:2,data:{animation:[(0,p.X$)("flyInOut",[(0,p.SB)("inactive",(0,p.oB)({opacity:0})),(0,p.SB)("active",(0,p.oB)({opacity:1})),(0,p.SB)("removed",(0,p.oB)({opacity:0})),(0,p.eR)("inactive => active",(0,p.jt)("{{ easeTime }}ms {{ easing }}")),(0,p.eR)("active => removed",(0,p.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),fe})();const ur=Object.assign(Object.assign({},_e),{toastComponent:sr});let Un=(()=>{class fe{static forRoot(X={}){return{ngModule:fe,providers:[{provide:He,useValue:{default:ur,config:X}}]}}}return fe.\u0275fac=function(X){return new(X||fe)},fe.\u0275mod=_.oAB({type:fe}),fe.\u0275inj=_.cJS({imports:[[Y.ez]]}),fe})(),cr=(()=>{class fe{constructor(X,le,Ne){this.toastrService=X,this.toastPackage=le,this.appRef=Ne,this.width=-1,this.toastClasses="",this.state="inactive",this.message=le.message,this.title=le.title,this.options=le.config,this.originalTimeout=le.config.timeOut,this.toastClasses=`${le.toastType} ${le.config.toastClass}`,this.sub=le.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=le.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=le.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=le.toastRef.countDuplicate().subscribe(Ye=>{this.duplicatesCount=Ye})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const X=(new Date).getTime();this.width=(this.hideTime-X)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return fe.\u0275fac=function(X){return new(X||fe)(_.Y36(Ge),_.Y36(oe),_.Y36(_.z2F))},fe.\u0275cmp=_.Xpm({type:fe,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(X,le){1&X&&_.NdJ("click",function(){return le.tapToast()})("mouseenter",function(){return le.stickAround()})("mouseleave",function(){return le.delayedHideToast()}),2&X&&(_.Tol(le.toastClasses),_.Udp("display",le.displayStyle))},attrs:k,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(X,le){1&X&&(_.YNc(0,ve,3,0,"button",0),_.YNc(1,J,3,5,"div",1),_.YNc(2,pe,1,3,"div",2),_.YNc(3,Me,2,4,"div",3),_.YNc(4,xe,2,2,"div",4)),2&X&&(_.Q6J("ngIf",le.options.closeButton),_.xp6(1),_.Q6J("ngIf",le.title),_.xp6(1),_.Q6J("ngIf",le.message&&le.options.enableHtml),_.xp6(1),_.Q6J("ngIf",le.message&&!le.options.enableHtml),_.xp6(1),_.Q6J("ngIf",le.options.progressBar))},directives:[Y.O5],encapsulation:2}),fe})();Object.assign(Object.assign({},_e),{toastComponent:cr})},6215:(ze,he,I)=>{"use strict";I.d(he,{X:()=>ie});var _=I(9765),p=I(7971);class ie extends _.xQ{constructor(Y){super(),this._value=Y}get value(){return this.getValue()}_subscribe(Y){const k=super._subscribe(Y);return k&&!k.closed&&Y.next(this._value),k}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new p.N;return this._value}next(Y){super.next(this._value=Y)}}},3098:(ze,he,I)=>{"use strict";I.d(he,{P:()=>Y});var _=I(9193),p=I(5917),ie=I(205);class Y{constructor(Z,te,H){this.kind=Z,this.value=te,this.error=H,this.hasValue="N"===Z}observe(Z){switch(this.kind){case"N":return Z.next&&Z.next(this.value);case"E":return Z.error&&Z.error(this.error);case"C":return Z.complete&&Z.complete()}}do(Z,te,H){switch(this.kind){case"N":return Z&&Z(this.value);case"E":return te&&te(this.error);case"C":return H&&H()}}accept(Z,te,H){return Z&&"function"==typeof Z.next?this.observe(Z):this.do(Z,te,H)}toObservable(){switch(this.kind){case"N":return(0,p.of)(this.value);case"E":return(0,ie._)(this.error);case"C":return(0,_.c)()}throw new Error("unexpected notification kind value")}static createNext(Z){return void 0!==Z?new Y("N",Z):Y.undefinedValueNotification}static createError(Z){return new Y("E",void 0,Z)}static createComplete(){return Y.completeNotification}}Y.completeNotification=new Y("C"),Y.undefinedValueNotification=new Y("N",void 0)},7574:(ze,he,I)=>{"use strict";I.d(he,{y:()=>N});var _=I(7393),ie=I(9181),ce=I(6490),k=I(6554),Z=I(4487);var W=I(2494);let N=(()=>{class ve{constructor(J){this._isScalar=!1,J&&(this._subscribe=J)}lift(J){const pe=new ve;return pe.source=this,pe.operator=J,pe}subscribe(J,pe,Me){const{operator:xe}=this,Ve=function(ve,Ie,J){if(ve){if(ve instanceof _.L)return ve;if(ve[ie.b])return ve[ie.b]()}return ve||Ie||J?new _.L(ve,Ie,J):new _.L(ce.c)}(J,pe,Me);if(Ve.add(xe?xe.call(Ve,this.source):this.source||W.v.useDeprecatedSynchronousErrorHandling&&!Ve.syncErrorThrowable?this._subscribe(Ve):this._trySubscribe(Ve)),W.v.useDeprecatedSynchronousErrorHandling&&Ve.syncErrorThrowable&&(Ve.syncErrorThrowable=!1,Ve.syncErrorThrown))throw Ve.syncErrorValue;return Ve}_trySubscribe(J){try{return this._subscribe(J)}catch(pe){W.v.useDeprecatedSynchronousErrorHandling&&(J.syncErrorThrown=!0,J.syncErrorValue=pe),function(ve){for(;ve;){const{closed:Ie,destination:J,isStopped:pe}=ve;if(Ie||pe)return!1;ve=J&&J instanceof _.L?J:null}return!0}(J)?J.error(pe):console.warn(pe)}}forEach(J,pe){return new(pe=ue(pe))((Me,xe)=>{let Ve;Ve=this.subscribe(Pe=>{try{J(Pe)}catch(oe){xe(oe),Ve&&Ve.unsubscribe()}},xe,Me)})}_subscribe(J){const{source:pe}=this;return pe&&pe.subscribe(J)}[k.L](){return this}pipe(...J){return 0===J.length?this:function(ve){return 0===ve.length?Z.y:1===ve.length?ve[0]:function(J){return ve.reduce((pe,Me)=>Me(pe),J)}}(J)(this)}toPromise(J){return new(J=ue(J))((pe,Me)=>{let xe;this.subscribe(Ve=>xe=Ve,Ve=>Me(Ve),()=>pe(xe))})}}return ve.create=Ie=>new ve(Ie),ve})();function ue(ve){if(ve||(ve=W.v.Promise||Promise),!ve)throw new Error("no Promise impl found");return ve}},6490:(ze,he,I)=>{"use strict";I.d(he,{c:()=>ie});var _=I(2494),p=I(4449);const ie={closed:!0,next(ce){},error(ce){if(_.v.useDeprecatedSynchronousErrorHandling)throw ce;(0,p.z)(ce)},complete(){}}},2298:(ze,he,I)=>{"use strict";I.d(he,{t:()=>Me});var _=I(9765),p=I(6465),ce=I(6102);const Z=new class extends ce.v{}(class extends p.o{constructor(Pe,oe){super(Pe,oe),this.scheduler=Pe,this.work=oe}schedule(Pe,oe=0){return oe>0?super.schedule(Pe,oe):(this.delay=oe,this.state=Pe,this.scheduler.flush(this),this)}execute(Pe,oe){return oe>0||this.closed?super.execute(Pe,oe):this._execute(Pe,oe)}requestAsyncId(Pe,oe,_e=0){return null!==_e&&_e>0||null===_e&&this.delay>0?super.requestAsyncId(Pe,oe,_e):Pe.flush(this)}});var te=I(5319),H=I(7393),W=I(3098);class ve extends H.L{constructor(Pe,oe,_e=0){super(Pe),this.scheduler=oe,this.delay=_e}static dispatch(Pe){const{notification:oe,destination:_e}=Pe;oe.observe(_e),this.unsubscribe()}scheduleMessage(Pe){this.destination.add(this.scheduler.schedule(ve.dispatch,this.delay,new Ie(Pe,this.destination)))}_next(Pe){this.scheduleMessage(W.P.createNext(Pe))}_error(Pe){this.scheduleMessage(W.P.createError(Pe)),this.unsubscribe()}_complete(){this.scheduleMessage(W.P.createComplete()),this.unsubscribe()}}class Ie{constructor(Pe,oe){this.notification=Pe,this.destination=oe}}var J=I(7971),pe=I(8858);class Me extends _.xQ{constructor(Pe=Number.POSITIVE_INFINITY,oe=Number.POSITIVE_INFINITY,_e){super(),this.scheduler=_e,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=Pe<1?1:Pe,this._windowTime=oe<1?1:oe,oe===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(Pe){if(!this.isStopped){const oe=this._events;oe.push(Pe),oe.length>this._bufferSize&&oe.shift()}super.next(Pe)}nextTimeWindow(Pe){this.isStopped||(this._events.push(new xe(this._getNow(),Pe)),this._trimBufferThenGetEvents()),super.next(Pe)}_subscribe(Pe){const oe=this._infiniteTimeWindow,_e=oe?this._events:this._trimBufferThenGetEvents(),He=this.scheduler,qe=_e.length;let at;if(this.closed)throw new J.N;if(this.isStopped||this.hasError?at=te.w.EMPTY:(this.observers.push(Pe),at=new pe.W(this,Pe)),He&&Pe.add(Pe=new ve(Pe,He)),oe)for(let Ut=0;Ut<qe&&!Pe.closed;Ut++)Pe.next(_e[Ut]);else for(let Ut=0;Ut<qe&&!Pe.closed;Ut++)Pe.next(_e[Ut].value);return this.hasError?Pe.error(this.thrownError):this.isStopped&&Pe.complete(),at}_getNow(){return(this.scheduler||Z).now()}_trimBufferThenGetEvents(){const Pe=this._getNow(),oe=this._bufferSize,_e=this._windowTime,He=this._events,qe=He.length;let at=0;for(;at<qe&&!(Pe-He[at].time<_e);)at++;return qe>oe&&(at=Math.max(at,qe-oe)),at>0&&He.splice(0,at),He}}class xe{constructor(Pe,oe){this.time=Pe,this.value=oe}}},9765:(ze,he,I)=>{"use strict";I.d(he,{Yc:()=>Z,xQ:()=>te});var _=I(7574),p=I(7393),ie=I(5319),ce=I(7971),Y=I(8858),k=I(9181);class Z extends p.L{constructor(N){super(N),this.destination=N}}let te=(()=>{class W extends _.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[k.b](){return new Z(this)}lift(ue){const ve=new H(this,this);return ve.operator=ue,ve}next(ue){if(this.closed)throw new ce.N;if(!this.isStopped){const{observers:ve}=this,Ie=ve.length,J=ve.slice();for(let pe=0;pe<Ie;pe++)J[pe].next(ue)}}error(ue){if(this.closed)throw new ce.N;this.hasError=!0,this.thrownError=ue,this.isStopped=!0;const{observers:ve}=this,Ie=ve.length,J=ve.slice();for(let pe=0;pe<Ie;pe++)J[pe].error(ue);this.observers.length=0}complete(){if(this.closed)throw new ce.N;this.isStopped=!0;const{observers:ue}=this,ve=ue.length,Ie=ue.slice();for(let J=0;J<ve;J++)Ie[J].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(ue){if(this.closed)throw new ce.N;return super._trySubscribe(ue)}_subscribe(ue){if(this.closed)throw new ce.N;return this.hasError?(ue.error(this.thrownError),ie.w.EMPTY):this.isStopped?(ue.complete(),ie.w.EMPTY):(this.observers.push(ue),new Y.W(this,ue))}asObservable(){const ue=new _.y;return ue.source=this,ue}}return W.create=(N,ue)=>new H(N,ue),W})();class H extends te{constructor(N,ue){super(),this.destination=N,this.source=ue}next(N){const{destination:ue}=this;ue&&ue.next&&ue.next(N)}error(N){const{destination:ue}=this;ue&&ue.error&&this.destination.error(N)}complete(){const{destination:N}=this;N&&N.complete&&this.destination.complete()}_subscribe(N){const{source:ue}=this;return ue?this.source.subscribe(N):ie.w.EMPTY}}},8858:(ze,he,I)=>{"use strict";I.d(he,{W:()=>p});var _=I(5319);class p extends _.w{constructor(ce,Y){super(),this.subject=ce,this.subscriber=Y,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const ce=this.subject,Y=ce.observers;if(this.subject=null,!Y||0===Y.length||ce.isStopped||ce.closed)return;const k=Y.indexOf(this.subscriber);-1!==k&&Y.splice(k,1)}}},7393:(ze,he,I)=>{"use strict";I.d(he,{L:()=>Z});var _=I(9105),p=I(6490),ie=I(5319),ce=I(9181),Y=I(2494),k=I(4449);class Z extends ie.w{constructor(W,N,ue){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=p.c;break;case 1:if(!W){this.destination=p.c;break}if("object"==typeof W){W instanceof Z?(this.syncErrorThrowable=W.syncErrorThrowable,this.destination=W,W.add(this)):(this.syncErrorThrowable=!0,this.destination=new te(this,W));break}default:this.syncErrorThrowable=!0,this.destination=new te(this,W,N,ue)}}[ce.b](){return this}static create(W,N,ue){const ve=new Z(W,N,ue);return ve.syncErrorThrowable=!1,ve}next(W){this.isStopped||this._next(W)}error(W){this.isStopped||(this.isStopped=!0,this._error(W))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(W){this.destination.next(W)}_error(W){this.destination.error(W),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:W}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=W,this}}class te extends Z{constructor(W,N,ue,ve){super(),this._parentSubscriber=W;let Ie,J=this;(0,_.m)(N)?Ie=N:N&&(Ie=N.next,ue=N.error,ve=N.complete,N!==p.c&&(J=Object.create(N),(0,_.m)(J.unsubscribe)&&this.add(J.unsubscribe.bind(J)),J.unsubscribe=this.unsubscribe.bind(this))),this._context=J,this._next=Ie,this._error=ue,this._complete=ve}next(W){if(!this.isStopped&&this._next){const{_parentSubscriber:N}=this;Y.v.useDeprecatedSynchronousErrorHandling&&N.syncErrorThrowable?this.__tryOrSetError(N,this._next,W)&&this.unsubscribe():this.__tryOrUnsub(this._next,W)}}error(W){if(!this.isStopped){const{_parentSubscriber:N}=this,{useDeprecatedSynchronousErrorHandling:ue}=Y.v;if(this._error)ue&&N.syncErrorThrowable?(this.__tryOrSetError(N,this._error,W),this.unsubscribe()):(this.__tryOrUnsub(this._error,W),this.unsubscribe());else if(N.syncErrorThrowable)ue?(N.syncErrorValue=W,N.syncErrorThrown=!0):(0,k.z)(W),this.unsubscribe();else{if(this.unsubscribe(),ue)throw W;(0,k.z)(W)}}}complete(){if(!this.isStopped){const{_parentSubscriber:W}=this;if(this._complete){const N=()=>this._complete.call(this._context);Y.v.useDeprecatedSynchronousErrorHandling&&W.syncErrorThrowable?(this.__tryOrSetError(W,N),this.unsubscribe()):(this.__tryOrUnsub(N),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(W,N){try{W.call(this._context,N)}catch(ue){if(this.unsubscribe(),Y.v.useDeprecatedSynchronousErrorHandling)throw ue;(0,k.z)(ue)}}__tryOrSetError(W,N,ue){if(!Y.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{N.call(this._context,ue)}catch(ve){return Y.v.useDeprecatedSynchronousErrorHandling?(W.syncErrorValue=ve,W.syncErrorThrown=!0,!0):((0,k.z)(ve),!0)}return!1}_unsubscribe(){const{_parentSubscriber:W}=this;this._context=null,this._parentSubscriber=null,W.unsubscribe()}}},5319:(ze,he,I)=>{"use strict";I.d(he,{w:()=>k});var _=I(9796),p=I(1555),ie=I(9105);const Y=(()=>{function te(H){return Error.call(this),this.message=H?`${H.length} errors occurred during unsubscription:\n${H.map((W,N)=>`${N+1}) ${W.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=H,this}return te.prototype=Object.create(Error.prototype),te})();class k{constructor(H){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,H&&(this._ctorUnsubscribe=!0,this._unsubscribe=H)}unsubscribe(){let H;if(this.closed)return;let{_parentOrParents:W,_ctorUnsubscribe:N,_unsubscribe:ue,_subscriptions:ve}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,W instanceof k)W.remove(this);else if(null!==W)for(let Ie=0;Ie<W.length;++Ie)W[Ie].remove(this);if((0,ie.m)(ue)){N&&(this._unsubscribe=void 0);try{ue.call(this)}catch(Ie){H=Ie instanceof Y?Z(Ie.errors):[Ie]}}if((0,_.k)(ve)){let Ie=-1,J=ve.length;for(;++Ie<J;){const pe=ve[Ie];if((0,p.K)(pe))try{pe.unsubscribe()}catch(Me){H=H||[],Me instanceof Y?H=H.concat(Z(Me.errors)):H.push(Me)}}}if(H)throw new Y(H)}add(H){let W=H;if(!H)return k.EMPTY;switch(typeof H){case"function":W=new k(H);case"object":if(W===this||W.closed||"function"!=typeof W.unsubscribe)return W;if(this.closed)return W.unsubscribe(),W;if(!(W instanceof k)){const ve=W;W=new k,W._subscriptions=[ve]}break;default:throw new Error("unrecognized teardown "+H+" added to Subscription.")}let{_parentOrParents:N}=W;if(null===N)W._parentOrParents=this;else if(N instanceof k){if(N===this)return W;W._parentOrParents=[N,this]}else{if(-1!==N.indexOf(this))return W;N.push(this)}const ue=this._subscriptions;return null===ue?this._subscriptions=[W]:ue.push(W),W}remove(H){const W=this._subscriptions;if(W){const N=W.indexOf(H);-1!==N&&W.splice(N,1)}}}var te;function Z(te){return te.reduce((H,W)=>H.concat(W instanceof Y?W.errors:W),[])}k.EMPTY=((te=new k).closed=!0,te)},2494:(ze,he,I)=>{"use strict";I.d(he,{v:()=>p});let _=!1;const p={Promise:void 0,set useDeprecatedSynchronousErrorHandling(ie){if(ie){const ce=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+ce.stack)}else _&&console.log("RxJS: Back to a better error behavior. Thank you. <3");_=ie},get useDeprecatedSynchronousErrorHandling(){return _}}},5345:(ze,he,I)=>{"use strict";I.d(he,{IY:()=>ce,Ds:()=>k,ft:()=>te});var _=I(7393),p=I(7574),ie=I(7444);class ce extends _.L{constructor(W){super(),this.parent=W}_next(W){this.parent.notifyNext(W)}_error(W){this.parent.notifyError(W),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class k extends _.L{notifyNext(W){this.destination.next(W)}notifyError(W){this.destination.error(W)}notifyComplete(){this.destination.complete()}}function te(H,W){if(W.closed)return;if(H instanceof p.y)return H.subscribe(W);let N;try{N=(0,ie.s)(H)(W)}catch(ue){W.error(ue)}return N}},2441:(ze,he,I)=>{"use strict";I.d(he,{c:()=>Y,N:()=>k});var _=I(9765),p=I(7574),ie=I(5319),ce=I(1307);class Y extends p.y{constructor(N,ue){super(),this.source=N,this.subjectFactory=ue,this._refCount=0,this._isComplete=!1}_subscribe(N){return this.getSubject().subscribe(N)}getSubject(){const N=this._subject;return(!N||N.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let N=this._connection;return N||(this._isComplete=!1,N=this._connection=new ie.w,N.add(this.source.subscribe(new Z(this.getSubject(),this))),N.closed&&(this._connection=null,N=ie.w.EMPTY)),N}refCount(){return(0,ce.x)()(this)}}const k=(()=>{const W=Y.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:W._subscribe},_isComplete:{value:W._isComplete,writable:!0},getSubject:{value:W.getSubject},connect:{value:W.connect},refCount:{value:W.refCount}}})();class Z extends _.Yc{constructor(N,ue){super(N),this.connectable=ue}_error(N){this._unsubscribe(),super._error(N)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const N=this.connectable;if(N){this.connectable=null;const ue=N._connection;N._refCount=0,N._subject=null,N._connection=null,ue&&ue.unsubscribe()}}}},739:(ze,he,I)=>{"use strict";I.d(he,{aj:()=>N});var _=I(4869),p=I(9796),ie=I(7393);class ce extends ie.L{notifyNext(J,pe,Me,xe,Ve){this.destination.next(pe)}notifyError(J,pe){this.destination.error(J)}notifyComplete(J){this.destination.complete()}}class Y extends ie.L{constructor(J,pe,Me){super(),this.parent=J,this.outerValue=pe,this.outerIndex=Me,this.index=0}_next(J){this.parent.notifyNext(this.outerValue,J,this.outerIndex,this.index++,this)}_error(J){this.parent.notifyError(J,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var k=I(7444),Z=I(7574);function te(Ie,J,pe,Me,xe=new Y(Ie,pe,Me)){if(!xe.closed)return J instanceof Z.y?J.subscribe(xe):(0,k.s)(J)(xe)}var H=I(6693);const W={};function N(...Ie){let J,pe;return(0,_.K)(Ie[Ie.length-1])&&(pe=Ie.pop()),"function"==typeof Ie[Ie.length-1]&&(J=Ie.pop()),1===Ie.length&&(0,p.k)(Ie[0])&&(Ie=Ie[0]),(0,H.n)(Ie,pe).lift(new ue(J))}class ue{constructor(J){this.resultSelector=J}call(J,pe){return pe.subscribe(new ve(J,this.resultSelector))}}class ve extends ce{constructor(J,pe){super(J),this.resultSelector=pe,this.active=0,this.values=[],this.observables=[]}_next(J){this.values.push(W),this.observables.push(J)}_complete(){const J=this.observables,pe=J.length;if(0===pe)this.destination.complete();else{this.active=pe,this.toRespond=pe;for(let Me=0;Me<pe;Me++)this.add(te(this,J[Me],void 0,Me))}}notifyComplete(J){0==(this.active-=1)&&this.destination.complete()}notifyNext(J,pe,Me){const xe=this.values,Pe=this.toRespond?xe[Me]===W?--this.toRespond:this.toRespond:0;xe[Me]=pe,0===Pe&&(this.resultSelector?this._tryResultSelector(xe):this.destination.next(xe.slice()))}_tryResultSelector(J){let pe;try{pe=this.resultSelector.apply(this,J)}catch(Me){return void this.destination.error(Me)}this.destination.next(pe)}}},8071:(ze,he,I)=>{"use strict";I.d(he,{z:()=>ce});var _=I(5917),p=I(3282);function ce(...Y){return(0,p.J)(1)((0,_.of)(...Y))}},1439:(ze,he,I)=>{"use strict";I.d(he,{P:()=>ce});var _=I(7574),p=I(4402),ie=I(9193);function ce(Y){return new _.y(k=>{let Z;try{Z=Y()}catch(H){return void k.error(H)}return(Z?(0,p.D)(Z):(0,ie.c)()).subscribe(k)})}},9193:(ze,he,I)=>{"use strict";I.d(he,{E:()=>p,c:()=>ie});var _=I(7574);const p=new _.y(Y=>Y.complete());function ie(Y){return Y?function(Y){return new _.y(k=>Y.schedule(()=>k.complete()))}(Y):p}},4402:(ze,he,I)=>{"use strict";I.d(he,{D:()=>J});var _=I(7574),p=I(7444),ie=I(5319),ce=I(6554),Z=I(4087),te=I(377),N=I(4072),ue=I(9489);function J(pe,Me){return Me?function(pe,Me){if(null!=pe){if(function(pe){return pe&&"function"==typeof pe[ce.L]}(pe))return function(pe,Me){return new _.y(xe=>{const Ve=new ie.w;return Ve.add(Me.schedule(()=>{const Pe=pe[ce.L]();Ve.add(Pe.subscribe({next(oe){Ve.add(Me.schedule(()=>xe.next(oe)))},error(oe){Ve.add(Me.schedule(()=>xe.error(oe)))},complete(){Ve.add(Me.schedule(()=>xe.complete()))}}))})),Ve})}(pe,Me);if((0,N.t)(pe))return function(pe,Me){return new _.y(xe=>{const Ve=new ie.w;return Ve.add(Me.schedule(()=>pe.then(Pe=>{Ve.add(Me.schedule(()=>{xe.next(Pe),Ve.add(Me.schedule(()=>xe.complete()))}))},Pe=>{Ve.add(Me.schedule(()=>xe.error(Pe)))}))),Ve})}(pe,Me);if((0,ue.z)(pe))return(0,Z.r)(pe,Me);if(function(pe){return pe&&"function"==typeof pe[te.hZ]}(pe)||"string"==typeof pe)return function(pe,Me){if(!pe)throw new Error("Iterable cannot be null");return new _.y(xe=>{const Ve=new ie.w;let Pe;return Ve.add(()=>{Pe&&"function"==typeof Pe.return&&Pe.return()}),Ve.add(Me.schedule(()=>{Pe=pe[te.hZ](),Ve.add(Me.schedule(function(){if(xe.closed)return;let oe,_e;try{const He=Pe.next();oe=He.value,_e=He.done}catch(He){return void xe.error(He)}_e?xe.complete():(xe.next(oe),this.schedule())}))})),Ve})}(pe,Me)}throw new TypeError((null!==pe&&typeof pe||pe)+" is not observable")}(pe,Me):pe instanceof _.y?pe:new _.y((0,p.s)(pe))}},6693:(ze,he,I)=>{"use strict";I.d(he,{n:()=>ce});var _=I(7574),p=I(5015),ie=I(4087);function ce(Y,k){return k?(0,ie.r)(Y,k):new _.y((0,p.V)(Y))}},2759:(ze,he,I)=>{"use strict";I.d(he,{R:()=>k});var _=I(7574),p=I(9796),ie=I(9105),ce=I(8002);function k(N,ue,ve,Ie){return(0,ie.m)(ve)&&(Ie=ve,ve=void 0),Ie?k(N,ue,ve).pipe((0,ce.U)(J=>(0,p.k)(J)?Ie(...J):Ie(J))):new _.y(J=>{Z(N,ue,function(Me){J.next(arguments.length>1?Array.prototype.slice.call(arguments):Me)},J,ve)})}function Z(N,ue,ve,Ie,J){let pe;if(function(N){return N&&"function"==typeof N.addEventListener&&"function"==typeof N.removeEventListener}(N)){const Me=N;N.addEventListener(ue,ve,J),pe=()=>Me.removeEventListener(ue,ve,J)}else if(function(N){return N&&"function"==typeof N.on&&"function"==typeof N.off}(N)){const Me=N;N.on(ue,ve),pe=()=>Me.off(ue,ve)}else if(function(N){return N&&"function"==typeof N.addListener&&"function"==typeof N.removeListener}(N)){const Me=N;N.addListener(ue,ve),pe=()=>Me.removeListener(ue,ve)}else{if(!N||!N.length)throw new TypeError("Invalid event target");for(let Me=0,xe=N.length;Me<xe;Me++)Z(N[Me],ue,ve,Ie,J)}Ie.add(pe)}},6682:(ze,he,I)=>{"use strict";I.d(he,{T:()=>Y});var _=I(7574),p=I(4869),ie=I(3282),ce=I(6693);function Y(...k){let Z=Number.POSITIVE_INFINITY,te=null,H=k[k.length-1];return(0,p.K)(H)?(te=k.pop(),k.length>1&&"number"==typeof k[k.length-1]&&(Z=k.pop())):"number"==typeof H&&(Z=k.pop()),null===te&&1===k.length&&k[0]instanceof _.y?k[0]:(0,ie.J)(Z)((0,ce.n)(k,te))}},5917:(ze,he,I)=>{"use strict";I.d(he,{of:()=>ce});var _=I(4869),p=I(6693),ie=I(4087);function ce(...Y){let k=Y[Y.length-1];return(0,_.K)(k)?(Y.pop(),(0,ie.r)(Y,k)):(0,p.n)(Y)}},205:(ze,he,I)=>{"use strict";I.d(he,{_:()=>p});var _=I(7574);function p(ce,Y){return new _.y(Y?k=>Y.schedule(ie,0,{error:ce,subscriber:k}):k=>k.error(ce))}function ie({error:ce,subscriber:Y}){Y.error(ce)}},8634:(ze,he,I)=>{"use strict";I.d(he,{H:()=>k});var _=I(7574),p=I(3637),ie=I(9796);function ce(te){return!(0,ie.k)(te)&&te-parseFloat(te)+1>=0}var Y=I(4869);function k(te=0,H,W){let N=-1;return ce(H)?N=Number(H)<1?1:Number(H):(0,Y.K)(H)&&(W=H),(0,Y.K)(W)||(W=p.P),new _.y(ue=>{const ve=ce(te)?te:+te-W.now();return W.schedule(Z,ve,{index:0,period:N,subscriber:ue})})}function Z(te){const{index:H,period:W,subscriber:N}=te;if(N.next(H),!N.closed){if(-1===W)return N.complete();te.index=H+1,this.schedule(te,W)}}},4612:(ze,he,I)=>{"use strict";I.d(he,{b:()=>p});var _=I(9773);function p(ie,ce){return(0,_.zg)(ie,ce,1)}},7519:(ze,he,I)=>{"use strict";I.d(he,{x:()=>p});var _=I(7393);function p(Y,k){return Z=>Z.lift(new ie(Y,k))}class ie{constructor(k,Z){this.compare=k,this.keySelector=Z}call(k,Z){return Z.subscribe(new ce(k,this.compare,this.keySelector))}}class ce extends _.L{constructor(k,Z,te){super(k),this.keySelector=te,this.hasKey=!1,"function"==typeof Z&&(this.compare=Z)}compare(k,Z){return k===Z}_next(k){let Z;try{const{keySelector:H}=this;Z=H?H(k):k}catch(H){return this.destination.error(H)}let te=!1;if(this.hasKey)try{const{compare:H}=this;te=H(this.key,Z)}catch(H){return this.destination.error(H)}else this.hasKey=!0;te||(this.key=Z,this.destination.next(k))}}},5435:(ze,he,I)=>{"use strict";I.d(he,{h:()=>p});var _=I(7393);function p(Y,k){return function(te){return te.lift(new ie(Y,k))}}class ie{constructor(k,Z){this.predicate=k,this.thisArg=Z}call(k,Z){return Z.subscribe(new ce(k,this.predicate,this.thisArg))}}class ce extends _.L{constructor(k,Z,te){super(k),this.predicate=Z,this.thisArg=te,this.count=0}_next(k){let Z;try{Z=this.predicate.call(this.thisArg,k,this.count++)}catch(te){return void this.destination.error(te)}Z&&this.destination.next(k)}}},8939:(ze,he,I)=>{"use strict";I.d(he,{x:()=>ie});var _=I(7393),p=I(5319);function ie(k){return Z=>Z.lift(new ce(k))}class ce{constructor(Z){this.callback=Z}call(Z,te){return te.subscribe(new Y(Z,this.callback))}}class Y extends _.L{constructor(Z,te){super(Z),this.add(new p.w(te))}}},8002:(ze,he,I)=>{"use strict";I.d(he,{U:()=>p});var _=I(7393);function p(Y,k){return function(te){if("function"!=typeof Y)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return te.lift(new ie(Y,k))}}class ie{constructor(k,Z){this.project=k,this.thisArg=Z}call(k,Z){return Z.subscribe(new ce(k,this.project,this.thisArg))}}class ce extends _.L{constructor(k,Z,te){super(k),this.project=Z,this.count=0,this.thisArg=te||this}_next(k){let Z;try{Z=this.project.call(this.thisArg,k,this.count++)}catch(te){return void this.destination.error(te)}this.destination.next(Z)}}},3282:(ze,he,I)=>{"use strict";I.d(he,{J:()=>ie});var _=I(9773),p=I(4487);function ie(ce=Number.POSITIVE_INFINITY){return(0,_.zg)(p.y,ce)}},9773:(ze,he,I)=>{"use strict";I.d(he,{zg:()=>ce});var _=I(8002),p=I(4402),ie=I(5345);function ce(te,H,W=Number.POSITIVE_INFINITY){return"function"==typeof H?N=>N.pipe(ce((ue,ve)=>(0,p.D)(te(ue,ve)).pipe((0,_.U)((Ie,J)=>H(ue,Ie,ve,J))),W)):("number"==typeof H&&(W=H),N=>N.lift(new Y(te,W)))}class Y{constructor(H,W=Number.POSITIVE_INFINITY){this.project=H,this.concurrent=W}call(H,W){return W.subscribe(new k(H,this.project,this.concurrent))}}class k extends ie.Ds{constructor(H,W,N=Number.POSITIVE_INFINITY){super(H),this.project=W,this.concurrent=N,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(H){this.active<this.concurrent?this._tryNext(H):this.buffer.push(H)}_tryNext(H){let W;const N=this.index++;try{W=this.project(H,N)}catch(ue){return void this.destination.error(ue)}this.active++,this._innerSub(W)}_innerSub(H){const W=new ie.IY(this),N=this.destination;N.add(W);const ue=(0,ie.ft)(H,W);ue!==W&&N.add(ue)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(H){this.destination.next(H)}notifyComplete(){const H=this.buffer;this.active--,H.length>0?this._next(H.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4458:(ze,he,I)=>{"use strict";I.d(he,{O:()=>p});var _=I(2441);function p(ce,Y){return function(Z){let te;if(te="function"==typeof ce?ce:function(){return ce},"function"==typeof Y)return Z.lift(new ie(te,Y));const H=Object.create(Z,_.N);return H.source=Z,H.subjectFactory=te,H}}class ie{constructor(Y,k){this.subjectFactory=Y,this.selector=k}call(Y,k){const{selector:Z}=this,te=this.subjectFactory(),H=Z(te).subscribe(Y);return H.add(k.subscribe(te)),H}}},1307:(ze,he,I)=>{"use strict";I.d(he,{x:()=>p});var _=I(7393);function p(){return function(k){return k.lift(new ie(k))}}class ie{constructor(k){this.connectable=k}call(k,Z){const{connectable:te}=this;te._refCount++;const H=new ce(k,te),W=Z.subscribe(H);return H.closed||(H.connection=te.connect()),W}}class ce extends _.L{constructor(k,Z){super(k),this.connectable=Z}_unsubscribe(){const{connectable:k}=this;if(!k)return void(this.connection=null);this.connectable=null;const Z=k._refCount;if(Z<=0)return void(this.connection=null);if(k._refCount=Z-1,Z>1)return void(this.connection=null);const{connection:te}=this,H=k._connection;this.connection=null,H&&(!te||H===te)&&H.unsubscribe()}}},9761:(ze,he,I)=>{"use strict";I.d(he,{O:()=>ie});var _=I(8071),p=I(4869);function ie(...ce){const Y=ce[ce.length-1];return(0,p.K)(Y)?(ce.pop(),k=>(0,_.z)(ce,k,Y)):k=>(0,_.z)(ce,k)}},3190:(ze,he,I)=>{"use strict";I.d(he,{w:()=>ce});var _=I(8002),p=I(4402),ie=I(5345);function ce(Z,te){return"function"==typeof te?H=>H.pipe(ce((W,N)=>(0,p.D)(Z(W,N)).pipe((0,_.U)((ue,ve)=>te(W,ue,N,ve))))):H=>H.lift(new Y(Z))}class Y{constructor(te){this.project=te}call(te,H){return H.subscribe(new k(te,this.project))}}class k extends ie.Ds{constructor(te,H){super(te),this.project=H,this.index=0}_next(te){let H;const W=this.index++;try{H=this.project(te,W)}catch(N){return void this.destination.error(N)}this._innerSub(H)}_innerSub(te){const H=this.innerSubscription;H&&H.unsubscribe();const W=new ie.IY(this),N=this.destination;N.add(W),this.innerSubscription=(0,ie.ft)(te,W),this.innerSubscription!==W&&N.add(this.innerSubscription)}_complete(){const{innerSubscription:te}=this;(!te||te.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(te){this.destination.next(te)}}},5257:(ze,he,I)=>{"use strict";I.d(he,{q:()=>ce});var _=I(7393),p=I(7108),ie=I(9193);function ce(Z){return te=>0===Z?(0,ie.c)():te.lift(new Y(Z))}class Y{constructor(te){if(this.total=te,this.total<0)throw new p.W}call(te,H){return H.subscribe(new k(te,this.total))}}class k extends _.L{constructor(te,H){super(te),this.total=H,this.count=0}_next(te){const H=this.total,W=++this.count;W<=H&&(this.destination.next(te),W===H&&(this.destination.complete(),this.unsubscribe()))}}},8307:(ze,he,I)=>{"use strict";I.d(he,{b:()=>ce});var _=I(7393),p=I(8640),ie=I(9105);function ce(Z,te,H){return function(N){return N.lift(new Y(Z,te,H))}}class Y{constructor(te,H,W){this.nextOrObserver=te,this.error=H,this.complete=W}call(te,H){return H.subscribe(new k(te,this.nextOrObserver,this.error,this.complete))}}class k extends _.L{constructor(te,H,W,N){super(te),this._tapNext=p.Z,this._tapError=p.Z,this._tapComplete=p.Z,this._tapError=W||p.Z,this._tapComplete=N||p.Z,(0,ie.m)(H)?(this._context=this,this._tapNext=H):H&&(this._context=H,this._tapNext=H.next||p.Z,this._tapError=H.error||p.Z,this._tapComplete=H.complete||p.Z)}_next(te){try{this._tapNext.call(this._context,te)}catch(H){return void this.destination.error(H)}this.destination.next(te)}_error(te){try{this._tapError.call(this._context,te)}catch(H){return void this.destination.error(H)}this.destination.error(te)}_complete(){try{this._tapComplete.call(this._context)}catch(te){return void this.destination.error(te)}return this.destination.complete()}}},4087:(ze,he,I)=>{"use strict";I.d(he,{r:()=>ie});var _=I(7574),p=I(5319);function ie(ce,Y){return new _.y(k=>{const Z=new p.w;let te=0;return Z.add(Y.schedule(function(){te!==ce.length?(k.next(ce[te++]),k.closed||Z.add(this.schedule())):k.complete()})),Z})}},6465:(ze,he,I)=>{"use strict";I.d(he,{o:()=>ie});var _=I(5319);class p extends _.w{constructor(Y,k){super()}schedule(Y,k=0){return this}}class ie extends p{constructor(Y,k){super(Y,k),this.scheduler=Y,this.work=k,this.pending=!1}schedule(Y,k=0){if(this.closed)return this;this.state=Y;const Z=this.id,te=this.scheduler;return null!=Z&&(this.id=this.recycleAsyncId(te,Z,k)),this.pending=!0,this.delay=k,this.id=this.id||this.requestAsyncId(te,this.id,k),this}requestAsyncId(Y,k,Z=0){return setInterval(Y.flush.bind(Y,this),Z)}recycleAsyncId(Y,k,Z=0){if(null!==Z&&this.delay===Z&&!1===this.pending)return k;clearInterval(k)}execute(Y,k){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Z=this._execute(Y,k);if(Z)return Z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Y,k){let te,Z=!1;try{this.work(Y)}catch(H){Z=!0,te=!!H&&H||new Error(H)}if(Z)return this.unsubscribe(),te}_unsubscribe(){const Y=this.id,k=this.scheduler,Z=k.actions,te=Z.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==te&&Z.splice(te,1),null!=Y&&(this.id=this.recycleAsyncId(k,Y,null)),this.delay=null}}},6102:(ze,he,I)=>{"use strict";I.d(he,{v:()=>p});let _=(()=>{class ie{constructor(Y,k=ie.now){this.SchedulerAction=Y,this.now=k}schedule(Y,k=0,Z){return new this.SchedulerAction(this,Y).schedule(Z,k)}}return ie.now=()=>Date.now(),ie})();class p extends _{constructor(ce,Y=_.now){super(ce,()=>p.delegate&&p.delegate!==this?p.delegate.now():Y()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(ce,Y=0,k){return p.delegate&&p.delegate!==this?p.delegate.schedule(ce,Y,k):super.schedule(ce,Y,k)}flush(ce){const{actions:Y}=this;if(this.active)return void Y.push(ce);let k;this.active=!0;do{if(k=ce.execute(ce.state,ce.delay))break}while(ce=Y.shift());if(this.active=!1,k){for(;ce=Y.shift();)ce.unsubscribe();throw k}}}},3637:(ze,he,I)=>{"use strict";I.d(he,{P:()=>ce});var _=I(6465);const ce=new(I(6102).v)(_.o)},377:(ze,he,I)=>{"use strict";I.d(he,{hZ:()=>p});const p="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:(ze,he,I)=>{"use strict";I.d(he,{L:()=>_});const _="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:(ze,he,I)=>{"use strict";I.d(he,{b:()=>_});const _="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:(ze,he,I)=>{"use strict";I.d(he,{W:()=>p});const p=(()=>{function ie(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return ie.prototype=Object.create(Error.prototype),ie})()},7971:(ze,he,I)=>{"use strict";I.d(he,{N:()=>p});const p=(()=>{function ie(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return ie.prototype=Object.create(Error.prototype),ie})()},4449:(ze,he,I)=>{"use strict";function _(p){setTimeout(()=>{throw p},0)}I.d(he,{z:()=>_})},4487:(ze,he,I)=>{"use strict";function _(p){return p}I.d(he,{y:()=>_})},9796:(ze,he,I)=>{"use strict";I.d(he,{k:()=>_});const _=Array.isArray||(p=>p&&"number"==typeof p.length)},9489:(ze,he,I)=>{"use strict";I.d(he,{z:()=>_});const _=p=>p&&"number"==typeof p.length&&"function"!=typeof p},9989:(ze,he,I)=>{"use strict";function _(p){return p instanceof Date&&!isNaN(+p)}I.d(he,{J:()=>_})},9105:(ze,he,I)=>{"use strict";function _(p){return"function"==typeof p}I.d(he,{m:()=>_})},1555:(ze,he,I)=>{"use strict";function _(p){return null!==p&&"object"==typeof p}I.d(he,{K:()=>_})},4072:(ze,he,I)=>{"use strict";function _(p){return!!p&&"function"!=typeof p.subscribe&&"function"==typeof p.then}I.d(he,{t:()=>_})},4869:(ze,he,I)=>{"use strict";function _(p){return p&&"function"==typeof p.schedule}I.d(he,{K:()=>_})},8640:(ze,he,I)=>{"use strict";function _(){}I.d(he,{Z:()=>_})},7444:(ze,he,I)=>{"use strict";I.d(he,{s:()=>N});var _=I(5015),p=I(4449),ce=I(377),k=I(6554),te=I(9489),H=I(4072),W=I(1555);const N=ue=>{if(ue&&"function"==typeof ue[k.L])return(ue=>ve=>{const Ie=ue[k.L]();if("function"!=typeof Ie.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Ie.subscribe(ve)})(ue);if((0,te.z)(ue))return(0,_.V)(ue);if((0,H.t)(ue))return(ue=>ve=>(ue.then(Ie=>{ve.closed||(ve.next(Ie),ve.complete())},Ie=>ve.error(Ie)).then(null,p.z),ve))(ue);if(ue&&"function"==typeof ue[ce.hZ])return(ue=>ve=>{const Ie=ue[ce.hZ]();for(;;){let J;try{J=Ie.next()}catch(pe){return ve.error(pe),ve}if(J.done){ve.complete();break}if(ve.next(J.value),ve.closed)break}return"function"==typeof Ie.return&&ve.add(()=>{Ie.return&&Ie.return()}),ve})(ue);{const Ie=`You provided ${(0,W.K)(ue)?"an invalid object":`'${ue}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Ie)}}},5015:(ze,he,I)=>{"use strict";I.d(he,{V:()=>_});const _=p=>ie=>{for(let ce=0,Y=p.length;ce<Y&&!ie.closed;ce++)ie.next(p[ce]);ie.complete()}},3198:(ze,he,I)=>{"use strict";I.d(he,{O:()=>J});var _=I(1841),p=I(6215),ie=I(7574),ce=I(3637);const k=(()=>{function pe(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return pe.prototype=Object.create(Error.prototype),pe})();var Z=I(9989),te=I(5345);class W{constructor(Me,xe,Ve,Pe){this.waitFor=Me,this.absoluteTimeout=xe,this.withObservable=Ve,this.scheduler=Pe}call(Me,xe){return xe.subscribe(new N(Me,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class N extends te.Ds{constructor(Me,xe,Ve,Pe,oe){super(Me),this.absoluteTimeout=xe,this.waitFor=Ve,this.withObservable=Pe,this.scheduler=oe,this.scheduleTimeout()}static dispatchTimeout(Me){const{withObservable:xe}=Me;Me._unsubscribeAndRecycle(),Me.add((0,te.ft)(xe,new te.IY(Me)))}scheduleTimeout(){const{action:Me}=this;Me?this.action=Me.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(N.dispatchTimeout,this.waitFor,this))}_next(Me){this.absoluteTimeout||this.scheduleTimeout(),super._next(Me)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var ue=I(205);var Ie=I(8720);let J=(()=>{class pe{constructor(xe){this.http=xe,this.headers=new _.WM({"Content-Type":"application/json"}),this.currentRequest=new p.X(0),this.currentRequest.subscribe(Ve=>this.updateSpinner(Ve))}post(xe,Ve,Pe=1e5){return new ie.y(oe=>{var _e=JSON.parse(window.localStorage.getItem("user"));let He=new _.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});null!=_e&&(He=new _.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+_e.access_token}));let qe={headers:He};this.addRequest(),this.http.post(xe,Ve,qe).pipe(function(pe,Me=ce.P){return function(pe,Me,xe=ce.P){return Ve=>{let Pe=(0,Z.J)(pe),oe=Pe?+pe-xe.now():Math.abs(pe);return Ve.lift(new W(oe,Pe,Me,xe))}}(pe,(0,ue._)(new k),Me)}(Pe)).subscribe(at=>{this.removeRequest(),oe.next(at),oe.complete()},at=>{this.removeRequest(),200==at.status&&(oe.next(at.error.text),oe.complete()),401==at.status&&(oe.next(at.error.text),oe.complete()),oe.error(at)})})}postFormData(xe,Ve){this.addRequest();var oe="Bearer "+JSON.parse(window.localStorage.getItem("user")).access_token;return new Promise((He,qe)=>{var at=new XMLHttpRequest;at.onreadystatechange=function(){4==at.readyState&&(200==at.status?He(JSON.parse(at.response)):qe(at.response))},at.open("POST",xe,!0),at.setRequestHeader("Authorization",oe),at.send(Ve)}).then(He=>this.handleSuccess(He)).catch(He=>this.handleError(He))}handleSuccess(xe){return this.removeRequest(),void 0===xe._body?xe:(xe._body=xe._body||{},xe.json())}handleError(xe){if(this.removeRequest(),void 0===xe._body)return Promise.reject(xe.message||xe);{let Ve=xe.json();return Promise.reject(Ve.ExceptionMessage||Ve.Message||Ve)}}updateSpinner(xe){}addRequest(){this.currentRequest.next(this.currentRequest.value+1)}removeRequest(){this.currentRequest.next(this.currentRequest.value-1)}notify(xe,Ve){$.notify({message:xe},{type:Ve,newest_on_top:!0})}}return pe.\u0275fac=function(xe){return new(xe||pe)(Ie.LFG(_.eN))},pe.\u0275prov=Ie.Yz7({token:pe,factory:pe.\u0275fac}),pe})()},5118:(ze,he,I)=>{"use strict";I.d(he,{e:()=>p});var _=I(8720);let p=(()=>{class ie{constructor(){}GetNamePOS(){let Y=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(Y.access_token)}ParseToken(Y){try{const Z=Y.split(".")[0].replace("-","+").replace("_","/"),te=JSON.parse(window.atob(Z)),W=Y.split(".")[1].replace("-","+").replace("_","/"),N=JSON.parse(window.atob(W));return N.header=te,N}catch(k){return!1}}}return ie.\u0275fac=function(Y){return new(Y||ie)},ie.\u0275prov=_.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})()},8578:(ze,he,I)=>{"use strict";var _=I(9075),p=I(8720),ie=I(1841),ce=I(3198),Y=I(9171);const k=[{path:"",loadChildren:()=>Promise.all([I.e(665),I.e(642)]).then(I.bind(I,1642)).then(U=>U.LoginModule)},{path:"pages",loadChildren:()=>Promise.all([I.e(665),I.e(899)]).then(I.bind(I,3899)).then(U=>U.PagesModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let Z=(()=>{class U{}return U.\u0275fac=function(V){return new(V||U)},U.\u0275mod=p.oAB({type:U}),U.\u0275inj=p.cJS({imports:[[Y.Bz.forRoot(k)],Y.Bz]}),U})();var te=I(2298);function H(U,ae){function V(){return!V.pred.apply(V.thisArg,arguments)}return V.pred=U,V.thisArg=ae,V}var W=I(7444),N=I(5435),ue=I(7574),Ie=I(6682),J=I(8634),pe=I(8939),Me=I(3190),xe=I(5345);function Ve(U){return ae=>ae.lift(new Pe(U))}class Pe{constructor(ae){this.durationSelector=ae}call(ae,V){return V.subscribe(new oe(ae,this.durationSelector))}}class oe extends xe.Ds{constructor(ae,V){super(ae),this.durationSelector=V,this.hasValue=!1}_next(ae){try{const V=this.durationSelector.call(this,ae);V&&this._tryNext(ae,V)}catch(V){this.destination.error(V)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(ae,V){let me=this.durationSubscription;this.value=ae,this.hasValue=!0,me&&(me.unsubscribe(),this.remove(me)),me=(0,xe.ft)(V,new xe.IY(this)),me&&!me.closed&&this.add(this.durationSubscription=me)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const ae=this.value,V=this.durationSubscription;V&&(this.durationSubscription=void 0,V.unsubscribe(),this.remove(V)),this.value=void 0,this.hasValue=!1,super._next(ae)}}}var _e=I(7519),He=I(8307),qe=I(8583);function at(U,ae){1&U&&p.GkF(0)}function Ut(U,ae){if(1&U&&p._UZ(0,"sk-cube-grid",4),2&U){const V=p.oxw(2);p.Q6J("backgroundColor",V.backgroundColor)}}function ft(U,ae){if(1&U&&p._UZ(0,"sk-chasing-dots",4),2&U){const V=p.oxw(2);p.Q6J("backgroundColor",V.backgroundColor)}}function Ft(U,ae){if(1&U&&p._UZ(0,"sk-double-bounce",4),2&U){const V=p.oxw(2);p.Q6J("backgroundColor",V.backgroundColor)}}function Tt(U,ae){if(1&U&&p._UZ(0,"sk-rotating-plane",4),2&U){const V=p.oxw(2);p.Q6J("backgroundColor",V.backgroundColor)}}function nt(U,ae){if(1&U&&p._UZ(0,"sk-spinner-pulse",4),2&U){const V=p.oxw(2);p.Q6J("backgroundColor",V.backgroundColor)}}function _t(U,ae){if(1&U&&p._UZ(0,"sk-three-bounce",4),2&U){const V=p.oxw(2);p.Q6J("backgroundColor",V.backgroundColor)}}function Ge(U,ae){if(1&U&&p._UZ(0,"sk-wandering-cubes",4),2&U){const V=p.oxw(2);p.Q6J("backgroundColor",V.backgroundColor)}}function sr(U,ae){if(1&U&&p._UZ(0,"sk-wave",4),2&U){const V=p.oxw(2);p.Q6J("backgroundColor",V.backgroundColor)}}const ur=function(U){return{"background-color":U}};function Un(U,ae){if(1&U&&(p.TgZ(0,"div",1),p.YNc(1,at,1,0,"ng-container",2),p.YNc(2,Ut,1,1,"sk-cube-grid",3),p.YNc(3,ft,1,1,"sk-chasing-dots",3),p.YNc(4,Ft,1,1,"sk-double-bounce",3),p.YNc(5,Tt,1,1,"sk-rotating-plane",3),p.YNc(6,nt,1,1,"sk-spinner-pulse",3),p.YNc(7,_t,1,1,"sk-three-bounce",3),p.YNc(8,Ge,1,1,"sk-wandering-cubes",3),p.YNc(9,sr,1,1,"sk-wave",3),p.qZA()),2&U){const V=p.oxw();p.Udp("opacity",V.opacity),p.ekj("backdrop",V.backdrop),p.Q6J("ngStyle",p.VKq(14,ur,V.backdrop?V.backdropBackgroundColor:"transparent")),p.xp6(1),p.Q6J("ngComponentOutlet",V.entryComponent),p.xp6(1),p.Q6J("ngIf",V.spinner===V.spinkit.skCubeGrid),p.xp6(1),p.Q6J("ngIf",V.spinner===V.spinkit.skChasingDots),p.xp6(1),p.Q6J("ngIf",V.spinner===V.spinkit.skDoubleBounce),p.xp6(1),p.Q6J("ngIf",V.spinner===V.spinkit.skRotatingPlane),p.xp6(1),p.Q6J("ngIf",V.spinner===V.spinkit.skSpinnerPulse),p.xp6(1),p.Q6J("ngIf",V.spinner===V.spinkit.skThreeBounce),p.xp6(1),p.Q6J("ngIf",V.spinner===V.spinkit.skWanderingCubes),p.xp6(1),p.Q6J("ngIf",V.spinner===V.spinkit.skWave)}}let kn=(()=>{class U{}return U.\u0275fac=function(V){return new(V||U)},U.\u0275dir=p.lG2({type:U,inputs:{backgroundColor:"backgroundColor"}}),U})(),cr=(()=>{class U extends kn{}return U.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(U)))(me||U)}}(),U.\u0275cmp=p.Xpm({type:U,selectors:[["sk-chasing-dots"]],features:[p.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(V,me){1&V&&(p.TgZ(0,"div",0),p._UZ(1,"div",1),p._UZ(2,"div",2),p.qZA()),2&V&&(p.ekj("colored",!me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:sk-chasingDotsRotate 2s linear infinite}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:sk-chasingDotsBounce 2s ease-in-out infinite}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(1turn)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),U})(),yn=(()=>{class U extends kn{}return U.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(U)))(me||U)}}(),U.\u0275cmp=p.Xpm({type:U,selectors:[["sk-cube-grid"]],features:[p.qOj],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(V,me){1&V&&(p.TgZ(0,"div",0),p._UZ(1,"div",1),p._UZ(2,"div",2),p._UZ(3,"div",3),p._UZ(4,"div",4),p._UZ(5,"div",5),p._UZ(6,"div",6),p._UZ(7,"div",7),p._UZ(8,"div",8),p._UZ(9,"div",9),p.qZA()),2&V&&(p.ekj("colored",!me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:sk-cubeGridScaleDelay 1.3s ease-in-out infinite}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes sk-cubeGridScaleDelay{0%,70%,to{transform:scaleX(1)}35%{transform:scale3D(0,0,1)}}"]}),U})(),Vt=(()=>{class U extends kn{}return U.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(U)))(me||U)}}(),U.\u0275cmp=p.Xpm({type:U,selectors:[["sk-double-bounce"]],features:[p.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(V,me){1&V&&(p.TgZ(0,"div",0),p._UZ(1,"div",1),p._UZ(2,"div",2),p.qZA()),2&V&&(p.ekj("colored",!me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:sk-doubleBounce 2s ease-in-out infinite}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),U})(),fe=(()=>{class U extends kn{}return U.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(U)))(me||U)}}(),U.\u0275cmp=p.Xpm({type:U,selectors:[["sk-rotating-plane"]],features:[p.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(V,me){1&V&&p._UZ(0,"div",0),2&V&&p.Udp("background-color",me.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s ease-in-out infinite}@keyframes sk-rotatePlane{0%{transform:perspective(120px) rotateX(0deg) rotateY(0deg)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0deg)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),U})(),we=(()=>{class U extends kn{}return U.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(U)))(me||U)}}(),U.\u0275cmp=p.Xpm({type:U,selectors:[["sk-spinner-pulse"]],features:[p.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(V,me){1&V&&p._UZ(0,"div",0),2&V&&p.Udp("background-color",me.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s ease-in-out infinite}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),U})(),X=(()=>{class U extends kn{}return U.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(U)))(me||U)}}(),U.\u0275cmp=p.Xpm({type:U,selectors:[["sk-three-bounce"]],features:[p.qOj],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(V,me){1&V&&(p.TgZ(0,"div",0),p._UZ(1,"div",1),p._UZ(2,"div",2),p._UZ(3,"div",3),p.qZA()),2&V&&(p.ekj("colored",!me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),U})(),le=(()=>{class U extends kn{}return U.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(U)))(me||U)}}(),U.\u0275cmp=p.Xpm({type:U,selectors:[["sk-wandering-cubes"]],features:[p.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(V,me){1&V&&(p.TgZ(0,"div",0),p._UZ(1,"div",1),p._UZ(2,"div",2),p.qZA()),2&V&&(p.ekj("colored",!me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes sk-wanderingCube{0%{transform:rotate(0deg)}25%{transform:translateX(30px) rotate(-90deg) scale(.5)}50%{transform:translateX(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translateX(30px) translateY(30px) rotate(-180deg)}75%{transform:translateX(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-1turn)}}"]}),U})(),Ne=(()=>{class U extends kn{}return U.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(U)))(me||U)}}(),U.\u0275cmp=p.Xpm({type:U,selectors:[["sk-wave"]],features:[p.qOj],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(V,me){1&V&&(p.TgZ(0,"div",0),p._UZ(1,"div",1),p._UZ(2,"div",2),p._UZ(3,"div",3),p._UZ(4,"div",4),p._UZ(5,"div",5),p.qZA()),2&V&&(p.ekj("colored",!me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor),p.xp6(1),p.Udp("background-color",me.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:sk-waveStretchDelay 1.2s ease-in-out infinite}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),U})();const Ye={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};let qt=(()=>{class U{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new te.t(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(V){this._filteredMethods=V}set filteredHeaders(V){this._filteredHeaders=V}set forceByPass(V){this._forceByPass=V}shouldBypassUrl(V){return this._filteredUrlPatterns.some(me=>me.test(V))}shouldBypassMethod(V){return this._filteredMethods.some(me=>me.toUpperCase()===V.method.toUpperCase())}shouldBypassHeader(V){return this._filteredHeaders.some(me=>V.headers.has(me))}shouldBypass(V){return this._forceByPass||this.shouldBypassUrl(V.urlWithParams)||this.shouldBypassMethod(V)||this.shouldBypassHeader(V)}intercept(V,me){const st=this.shouldBypass(V);return st||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),me.handle(V).pipe((0,pe.x)(()=>{st||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return U.\u0275fac=function(V){return new(V||U)},U.\u0275prov=p.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),U})();const At=[{provide:ie.TP,useExisting:qt,multi:!0}];let Hn=(()=>{class U{constructor(V){this.pendingRequestsInterceptor=V,this._visibility$=new te.t(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return U.\u0275fac=function(V){return new(V||U)(p.LFG(qt))},U.\u0275prov=p.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),U})(),_n=(()=>{class U{constructor(V,me){this.pendingRequestsInterceptor=V,this.spinnerVisibility=me,this.spinkit=Ye,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=Ye.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[V,me]=function(U,ae,V){return[(0,N.h)(ae,V)(new ue.y((0,W.s)(U))),(0,N.h)(H(ae,V))(new ue.y((0,W.s)(U)))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,st=>st);this.isVisible$=(0,Ie.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,Me.w)(()=>V.pipe(Ve(()=>(0,J.H)(this.debounceDelay))))),V.pipe((0,Me.w)(()=>me.pipe(Ve(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,_e.x)(),(0,He.b)(st=>this.updateExpirationDelay(st)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(V=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(V)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(V){V&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,J.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return U.\u0275fac=function(V){return new(V||U)(p.Y36(qt),p.Y36(Hn))},U.\u0275cmp=p.Xpm({type:U,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(V,me){1&V&&(p.YNc(0,Un,10,16,"div",0),p.ALo(1,"async")),2&V&&p.Q6J("ngIf",p.lcZ(1,1,me.isVisible$))},directives:[qe.O5,qe.PC,qe.$G,yn,cr,Vt,fe,we,X,le,Ne],pipes:[qe.Ov],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),U})(),ln=(()=>{class U{static forRoot(){return{ngModule:U,providers:[At]}}}return U.\u0275fac=function(V){return new(V||U)},U.\u0275mod=p.oAB({type:U}),U.\u0275inj=p.cJS({imports:[[qe.ez]]}),U})(),Sn=(()=>{class U{constructor(){this.title="zoho"}ngOnInit(){this.overrideDateToJsonFunction()}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return new Date(this.getTime()-60*this.getTimezoneOffset()*1e3).toISOString()}}}return U.\u0275fac=function(V){return new(V||U)},U.\u0275cmp=p.Xpm({type:U,selectors:[["app-root"]],decls:2,vars:0,template:function(V,me){1&V&&(p._UZ(0,"router-outlet"),p._UZ(1,"ng-http-loader"))},directives:[Y.lC,_n],styles:[".main-content[_ngcontent-%COMP%]{margin-left:80px;flex-grow:1;transition:margin-left .25s,margin-right .25s,width .25s,flex .25s}.content-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;min-height:calc(80vh - .5rem)}.chosen[_ngcontent-%COMP%]{background-color:#9fd550;z-index:1}.show[_ngcontent-%COMP%]{z-index:10000}@media (max-width: 767px){.body-content[_ngcontent-%COMP%]{padding-top:50px}}.datepicker[_ngcontent-%COMP%]{width:125px}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar[_ngcontent-%COMP%]{height:auto!important}"]}),U})();var In=I(6237),dr=I(9344);let Yt=(()=>{class U{constructor(V){this._router=V}intercept(V,me){let st=JSON.parse(window.localStorage.getItem("user")),xt=new Date;if(null!=st){let Wt=new Date(st.expiredAt);V=V.clone(xt<Wt?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${st.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else V=V.clone({setHeaders:{"Content-Type":"application/json"}});return me.handle(V)}}return U.\u0275fac=function(V){return new(V||U)(p.LFG(Y.F0))},U.\u0275prov=p.Yz7({token:U,factory:U.\u0275fac}),U})();var De=I(5118),x=I(1439),q=I(205),Fe=I(2759),Se=I(5917),Ze=I(8071),kt=I(9765),et=I(8640);const Ce=new ue.y(et.Z);var un=I(8002),Mt=I(4458),ct=I(5257),wt=I(3637),Ln=I(9989),rt=I(7393),Ht=I(3098);class Vn{constructor(ae,V){this.delay=ae,this.scheduler=V}call(ae,V){return V.subscribe(new gt(ae,this.delay,this.scheduler))}}class gt extends rt.L{constructor(ae,V,me){super(ae),this.delay=V,this.scheduler=me,this.queue=[],this.active=!1,this.errored=!1}static dispatch(ae){const V=ae.source,me=V.queue,st=ae.scheduler,xt=ae.destination;for(;me.length>0&&me[0].time-st.now()<=0;)me.shift().notification.observe(xt);if(me.length>0){const Wt=Math.max(0,me[0].time-st.now());this.schedule(ae,Wt)}else this.unsubscribe(),V.active=!1}_schedule(ae){this.active=!0,this.destination.add(ae.schedule(gt.dispatch,this.delay,{source:this,destination:this.destination,scheduler:ae}))}scheduleNotification(ae){if(!0===this.errored)return;const V=this.scheduler,me=new Vr(V.now()+this.delay,ae);this.queue.push(me),!1===this.active&&this._schedule(V)}_next(ae){this.scheduleNotification(Ht.P.createNext(ae))}_error(ae){this.errored=!0,this.queue=[],this.destination.error(ae),this.unsubscribe()}_complete(){this.scheduleNotification(Ht.P.createComplete()),this.unsubscribe()}}class Vr{constructor(ae,V){this.time=ae,this.notification=V}}const $t="Service workers are disabled or not supported by this browser";class fr{constructor(ae){if(this.serviceWorker=ae,ae){const me=(0,Fe.R)(ae,"controllerchange").pipe((0,un.U)(()=>ae.controller)),st=(0,x.P)(()=>(0,Se.of)(ae.controller)),xt=(0,Ze.z)(st,me);this.worker=xt.pipe((0,N.h)(it=>!!it)),this.registration=this.worker.pipe((0,Me.w)(()=>ae.getRegistration()));const Be=(0,Fe.R)(ae,"message").pipe((0,un.U)(it=>it.data)).pipe((0,N.h)(it=>it&&it.type)).pipe((0,Mt.O)(new kt.xQ));Be.connect(),this.events=Be}else this.worker=this.events=this.registration=($t,(0,x.P)(()=>(0,q._)(new Error("Service workers are disabled or not supported by this browser"))))}postMessage(ae,V){return this.worker.pipe((0,ct.q)(1),(0,He.b)(me=>{me.postMessage(Object.assign({action:ae},V))})).toPromise().then(()=>{})}postMessageWithStatus(ae,V,me){const st=this.waitForStatus(me),xt=this.postMessage(ae,V);return Promise.all([st,xt]).then(()=>{})}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(ae){return this.events.pipe((0,N.h)(me=>me.type===ae))}nextEventOfType(ae){return this.eventsOfType(ae).pipe((0,ct.q)(1))}waitForStatus(ae){return this.eventsOfType("STATUS").pipe((0,N.h)(V=>V.nonce===ae),(0,ct.q)(1),(0,un.U)(V=>{if(!V.status)throw new Error(V.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Br=(()=>{class U{constructor(V){if(this.sw=V,this.subscriptionChanges=new kt.xQ,!V.isEnabled)return this.messages=Ce,this.notificationClicks=Ce,void(this.subscription=Ce);this.messages=this.sw.eventsOfType("PUSH").pipe((0,un.U)(st=>st.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,un.U)(st=>st.data)),this.pushManager=this.sw.registration.pipe((0,un.U)(st=>st.pushManager));const me=this.pushManager.pipe((0,Me.w)(st=>st.getSubscription()));this.subscription=(0,Ie.T)(me,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(V){if(!this.sw.isEnabled)return Promise.reject(new Error($t));const me={userVisibleOnly:!0};let st=this.decodeBase64(V.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),xt=new Uint8Array(new ArrayBuffer(st.length));for(let Wt=0;Wt<st.length;Wt++)xt[Wt]=st.charCodeAt(Wt);return me.applicationServerKey=xt,this.pushManager.pipe((0,Me.w)(Wt=>Wt.subscribe(me)),(0,ct.q)(1)).toPromise().then(Wt=>(this.subscriptionChanges.next(Wt),Wt))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,ct.q)(1),(0,Me.w)(me=>{if(null===me)throw new Error("Not subscribed to push notifications.");return me.unsubscribe().then(st=>{if(!st)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error($t))}decodeBase64(V){return atob(V)}}return U.\u0275fac=function(V){return new(V||U)(p.LFG(fr))},U.\u0275prov=p.Yz7({token:U,factory:U.\u0275fac}),U})(),gn=(()=>{class U{constructor(V){if(this.sw=V,!V.isEnabled)return this.available=Ce,this.activated=Ce,void(this.unrecoverable=Ce);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error($t));const V=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:V},V)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error($t));const V=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:V},V)}}return U.\u0275fac=function(V){return new(V||U)(p.LFG(fr))},U.\u0275prov=p.Yz7({token:U,factory:U.\u0275fac}),U})();class Kn{}const Zn=new p.OlP("NGSW_REGISTER_SCRIPT");function ir(U,ae,V,me){return()=>{if(!(0,qe.NF)(me)||!("serviceWorker"in navigator)||!1===V.enabled)return;let xt;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof V.registrationStrategy)xt=V.registrationStrategy();else{const[ar,...en]=(V.registrationStrategy||"registerWhenStable:30000").split(":");switch(ar){case"registerImmediately":xt=(0,Se.of)(null);break;case"registerWithDelay":xt=Or(+en[0]||0);break;case"registerWhenStable":xt=en[0]?(0,Ie.T)(or(U),Or(+en[0])):or(U);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${V.registrationStrategy}`)}}U.get(p.R0b).runOutsideAngular(()=>xt.pipe((0,ct.q)(1)).subscribe(()=>navigator.serviceWorker.register(ae,{scope:V.scope}).catch(ar=>console.error("Service worker registration failed with:",ar))))}}function Or(U){return(0,Se.of)(null).pipe(function(U,ae=wt.P){const me=(0,Ln.J)(U)?+U-ae.now():Math.abs(U);return st=>st.lift(new Vn(me,ae))}(U))}function or(U){return U.get(p.z2F).isStable.pipe((0,N.h)(V=>V))}function Xr(U,ae){return new fr((0,qe.NF)(ae)&&!1!==U.enabled?navigator.serviceWorker:void 0)}let Cr=(()=>{class U{static register(V,me={}){return{ngModule:U,providers:[{provide:Zn,useValue:V},{provide:Kn,useValue:me},{provide:fr,useFactory:Xr,deps:[Kn,p.Lbi]},{provide:p.ip1,useFactory:ir,deps:[p.zs3,Zn,Kn,p.Lbi],multi:!0}]}}}return U.\u0275fac=function(V){return new(V||U)},U.\u0275mod=p.oAB({type:U}),U.\u0275inj=p.cJS({providers:[Br,gn]}),U})();let Et=(()=>{class U{}return U.\u0275fac=function(V){return new(V||U)},U.\u0275mod=p.oAB({type:U,bootstrap:[Sn]}),U.\u0275inj=p.cJS({providers:[ce.O,De.e,{provide:ie.TP,useClass:Yt,multi:!0}],imports:[[_.b2,Z,In.PW,dr.Rh.forRoot({positionClass:"toast-bottom-right",preventDuplicates:!0}),ie.JF,ln.forRoot(),Cr.register("ngsw-worker.js",{enabled:true})]]}),U})();(0,p.G48)(),_.q6().bootstrapModule(Et).catch(U=>console.error(U))}},ze=>{ze(ze.s=8578)}]);
|