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.
@@ -0,0 +1 @@
1
+ (self.webpackChunkzoho=self.webpackChunkzoho||[]).push([[179],{8255:Ke=>{function pe(I){return Promise.resolve().then(()=>{var _=new Error("Cannot find module '"+I+"'");throw _.code="MODULE_NOT_FOUND",_})}pe.keys=()=>[],pe.resolve=pe,pe.id=8255,Ke.exports=pe},7238:(Ke,pe,I)=>{"use strict";I.d(pe,{l3:()=>ie,_j:()=>_,LC:()=>p,ZN:()=>Ne,jt:()=>K,pV:()=>ve,F4:()=>H,IO:()=>X,vP:()=>Z,SB:()=>U,oB:()=>te,eR:()=>x,X$:()=>ce,ZE:()=>Ve,k1:()=>Re});class _{}class p{}const ie="*";function ce(oe,_e){return{type:7,name:oe,definitions:_e,options:{}}}function K(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 U(oe,_e,ze){return{type:0,name:oe,styles:_e,options:ze}}function H(oe){return{type:5,steps:oe}}function x(oe,_e,ze=null){return{type:1,expr:oe,animation:_e,options:ze}}function ve(oe=null){return{type:9,options:oe}}function X(oe,_e,ze=null){return{type:11,selector:oe,animation:_e,options:ze}}function Te(oe){Promise.resolve(null).then(oe)}class Ne{constructor(_e=0,ze=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+ze}_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(){Te(()=>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 ze="start"==_e?this._onStartFns:this._onDoneFns;ze.forEach(St=>St()),ze.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 ze=0,St=0,tt=0;const at=this.players.length;0==at?Te(()=>this._onFinish()):this.players.forEach(pt=>{pt.onDone(()=>{++ze==at&&this._onFinish()}),pt.onDestroy(()=>{++St==at&&this._onDestroy()}),pt.onStart(()=>{++tt==at&&this._onStart()})}),this.totalTime=this.players.reduce((pt,Ft)=>Math.max(pt,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 ze=_e*this.totalTime;this.players.forEach(St=>{const tt=St.totalTime?Math.min(1,ze/St.totalTime):1;St.setPosition(tt)})}getPosition(){const _e=this.players.reduce((ze,St)=>null===ze||St.totalTime>ze.totalTime?St:ze,null);return null!=_e?_e.getPosition():0}beforeDestroy(){this.players.forEach(_e=>{_e.beforeDestroy&&_e.beforeDestroy()})}triggerCallback(_e){const ze="start"==_e?this._onStartFns:this._onDoneFns;ze.forEach(St=>St()),ze.length=0}}const Re="!"},8583:(Ke,pe,I)=>{"use strict";I.d(pe,{mr:()=>Ve,Ov:()=>mi,ez:()=>Vi,K0:()=>Z,uU:()=>xi,JJ:()=>Hr,Do:()=>oe,Ts:()=>Ni,V_:()=>H,Ye:()=>_e,S$:()=>Te,mk:()=>Xe,$G:()=>gt,sg:()=>gn,O5:()=>Rt,PC:()=>Dn,RF:()=>ns,n9:()=>er,ED:()=>Ur,tP:()=>Bn,b0:()=>Re,lw:()=>te,EM:()=>vs,JF:()=>si,NF:()=>Bi,w_:()=>F,bD:()=>Dr,q:()=>ie,Mx:()=>we,HT:()=>K});var _=I(8720);let p=null;function ie(){return p}function K(E){p||(p=E)}class F{}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:U,token:E,providedIn:"platform"}),E})();function U(){return(0,_.LFG)(x)}const H=new _.OlP("Location Initialized");let x=(()=>{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,W){ue()?this._history.pushState(v,M,W):this.location.hash=W}replaceState(v,M,W){ue()?this._history.replaceState(v,M,W):this.location.hash=W}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 x((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 X(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 fe(E){return E&&"?"!==E[0]?"?"+E:E}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:Ne,token:E,providedIn:"root"}),E})();function Ne(E){const T=(0,_.LFG)(Z).location;return new Re((0,_.LFG)(te),T&&T.origin||"")}const Ve=new _.OlP("appBaseHref");let Re=(()=>{class E extends Te{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+fe(this._platformLocation.search),W=this._platformLocation.hash;return W&&v?`${M}${W}`:M}pushState(v,M,W,ye){const Pe=this.prepareExternalUrl(W+fe(ye));this._platformLocation.pushState(v,M,Pe)}replaceState(v,M,W,ye){const Pe=this.prepareExternalUrl(W+fe(ye));this._platformLocation.replaceState(v,M,Pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(v=0){var M,W;null===(W=(M=this._platformLocation).historyGo)||void 0===W||W.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 Te{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,W,ye){let Pe=this.prepareExternalUrl(W+fe(ye));0==Pe.length&&(Pe=this._platformLocation.pathname),this._platformLocation.pushState(v,M,Pe)}replaceState(v,M,W,ye){let Pe=this.prepareExternalUrl(W+fe(ye));0==Pe.length&&(Pe=this._platformLocation.pathname),this._platformLocation.replaceState(v,M,Pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(v=0){var M,W;null===(W=(M=this._platformLocation).historyGo)||void 0===W||W.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 W=this._platformStrategy.getBaseHref();this._platformLocation=M,this._baseHref=X(tt(W)),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+fe(M))}normalize(v){return E.stripTrailingSlash(function(E,T){return E&&T.startsWith(E)?T.substring(E.length):T}(this._baseHref,tt(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._platformStrategy.prepareExternalUrl(v)}go(v,M="",W=null){this._platformStrategy.pushState(W,"",v,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+fe(M)),W)}replaceState(v,M="",W=null){this._platformStrategy.replaceState(W,"",v,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+fe(M)),W)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(v=0){var M,W;null===(W=(M=this._platformStrategy).historyGo)||void 0===W||W.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(W=>W(v,M))}subscribe(v,M,W){return this._subject.subscribe({next:v,error:M,complete:W})}}return E.\u0275fac=function(v){return new(v||E)(_.LFG(Te),_.LFG(te))},E.normalizeQueryParams=fe,E.joinWithSlash=Ie,E.stripTrailingSlash=X,E.\u0275prov=(0,_.Yz7)({factory:ze,token:E,providedIn:"root"}),E})();function ze(){return new _e((0,_.LFG)(Te),(0,_.LFG)(te))}function tt(E){return E.replace(/\/index.html$/,"")}var pt=(()=>((pt=pt||{})[pt.Decimal=0]="Decimal",pt[pt.Percent=1]="Percent",pt[pt.Currency=2]="Currency",pt[pt.Scientific=3]="Scientific",pt))(),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))(),It=(()=>((It=It||{})[It.Format=0]="Format",It[It.Standalone=1]="Standalone",It))(),nt=(()=>((nt=nt||{})[nt.Narrow=0]="Narrow",nt[nt.Abbreviated=1]="Abbreviated",nt[nt.Wide=2]="Wide",nt[nt.Short=3]="Short",nt))(),yt=(()=>((yt=yt||{})[yt.Short=0]="Short",yt[yt.Medium=1]="Medium",yt[yt.Long=2]="Long",yt[yt.Full=3]="Full",yt))(),Ye=(()=>((Ye=Ye||{})[Ye.Decimal=0]="Decimal",Ye[Ye.Group=1]="Group",Ye[Ye.List=2]="List",Ye[Ye.PercentSign=3]="PercentSign",Ye[Ye.PlusSign=4]="PlusSign",Ye[Ye.MinusSign=5]="MinusSign",Ye[Ye.Exponential=6]="Exponential",Ye[Ye.SuperscriptingExponent=7]="SuperscriptingExponent",Ye[Ye.PerMille=8]="PerMille",Ye[Ye.Infinity=9]="Infinity",Ye[Ye.NaN=10]="NaN",Ye[Ye.TimeSeparator=11]="TimeSeparator",Ye[Ye.CurrencyDecimal=12]="CurrencyDecimal",Ye[Ye.CurrencyGroup=13]="CurrencyGroup",Ye))();function De(E,T){return Kt((0,_.cg1)(E)[_.wAp.DateFormat],T)}function J(E,T){return Kt((0,_.cg1)(E)[_.wAp.TimeFormat],T)}function le(E,T){return Kt((0,_.cg1)(E)[_.wAp.DateTimeFormat],T)}function ke(E,T){const v=(0,_.cg1)(E),M=v[_.wAp.NumberSymbols][T];if(void 0===M){if(T===Ye.CurrencyDecimal)return v[_.wAp.NumberSymbols][Ye.Decimal];if(T===Ye.CurrencyGroup)return v[_.wAp.NumberSymbols][Ye.Group]}return M}const cn=_.kL8;function an(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 Kt(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 dr(E){const[T,v]=E.split(":");return{hours:+T,minutes:+v}}const Y=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,xe={},Oe=/((?:[^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 je=(()=>((je=je||{})[je.Short=0]="Short",je[je.ShortGMT=1]="ShortGMT",je[je.Long=2]="Long",je[je.Extended=3]="Extended",je))(),Se=(()=>((Se=Se||{})[Se.FullYear=0]="FullYear",Se[Se.Month=1]="Month",Se[Se.Date=2]="Date",Se[Se.Hours=3]="Hours",Se[Se.Minutes=4]="Minutes",Se[Se.Seconds=5]="Seconds",Se[Se.FractionalSeconds=6]="FractionalSeconds",Se[Se.Day=7]="Day",Se))(),Ae=(()=>((Ae=Ae||{})[Ae.DayPeriods=0]="DayPeriods",Ae[Ae.Days=1]="Days",Ae[Ae.Months=2]="Months",Ae[Ae.Eras=3]="Eras",Ae))();function ct(E,T,v,M){let W=function(E){if(Hn(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[W,ye=1,Pe=1]=E.split("-").map(He=>+He);return dt(W,ye-1,Pe)}const v=parseFloat(E);if(!isNaN(E-v))return new Date(v);let M;if(M=E.match(Y))return function(E){const T=new Date(0);let v=0,M=0;const W=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])),W.call(T,Number(E[1]),Number(E[2])-1,Number(E[3]));const Pe=Number(E[4]||0)-v,He=Number(E[5]||0)-M,Wt=Number(E[6]||0),sn=Math.floor(1e3*parseFloat("0."+(E[7]||0)));return ye.call(T,Pe,He,Wt,sn),T}(M)}const T=new Date(E);if(!Hn(T))throw new Error(`Unable to convert "${E}" into a date`);return T}(E);T=dn(v,T)||T;let He,Pe=[];for(;T;){if(He=Oe.exec(T),!He){Pe.push(T);break}{Pe=Pe.concat(He.slice(1));const Yt=Pe.pop();if(!Yt)break;T=Yt}}let Wt=W.getTimezoneOffset();M&&(Wt=or(M,Wt),W=function(E,T,v){const W=E.getTimezoneOffset();return function(E,T){return(E=new Date(E.getTime())).setMinutes(E.getMinutes()+T),E}(E,-1*(or(T,W)-W))}(W,M));let sn="";return Pe.forEach(Yt=>{const lt=function(E){if(Kn[E])return Kn[E];let T;switch(E){case"G":case"GG":case"GGG":T=Mt(Ae.Eras,nt.Abbreviated);break;case"GGGG":T=Mt(Ae.Eras,nt.Wide);break;case"GGGGG":T=Mt(Ae.Eras,nt.Narrow);break;case"y":T=Ge(Se.FullYear,1,0,!1,!0);break;case"yy":T=Ge(Se.FullYear,2,0,!0,!0);break;case"yyy":T=Ge(Se.FullYear,3,0,!1,!0);break;case"yyyy":T=Ge(Se.FullYear,4,0,!1,!0);break;case"Y":T=yn(1);break;case"YY":T=yn(2,!0);break;case"YYY":T=yn(3);break;case"YYYY":T=yn(4);break;case"M":case"L":T=Ge(Se.Month,1,1);break;case"MM":case"LL":T=Ge(Se.Month,2,1);break;case"MMM":T=Mt(Ae.Months,nt.Abbreviated);break;case"MMMM":T=Mt(Ae.Months,nt.Wide);break;case"MMMMM":T=Mt(Ae.Months,nt.Narrow);break;case"LLL":T=Mt(Ae.Months,nt.Abbreviated,It.Standalone);break;case"LLLL":T=Mt(Ae.Months,nt.Wide,It.Standalone);break;case"LLLLL":T=Mt(Ae.Months,nt.Narrow,It.Standalone);break;case"w":T=Br(1);break;case"ww":T=Br(2);break;case"W":T=Br(1,!0);break;case"d":T=Ge(Se.Date,1);break;case"dd":T=Ge(Se.Date,2);break;case"c":case"cc":T=Ge(Se.Day,1);break;case"ccc":T=Mt(Ae.Days,nt.Abbreviated,It.Standalone);break;case"cccc":T=Mt(Ae.Days,nt.Wide,It.Standalone);break;case"ccccc":T=Mt(Ae.Days,nt.Narrow,It.Standalone);break;case"cccccc":T=Mt(Ae.Days,nt.Short,It.Standalone);break;case"E":case"EE":case"EEE":T=Mt(Ae.Days,nt.Abbreviated);break;case"EEEE":T=Mt(Ae.Days,nt.Wide);break;case"EEEEE":T=Mt(Ae.Days,nt.Narrow);break;case"EEEEEE":T=Mt(Ae.Days,nt.Short);break;case"a":case"aa":case"aaa":T=Mt(Ae.DayPeriods,nt.Abbreviated);break;case"aaaa":T=Mt(Ae.DayPeriods,nt.Wide);break;case"aaaaa":T=Mt(Ae.DayPeriods,nt.Narrow);break;case"b":case"bb":case"bbb":T=Mt(Ae.DayPeriods,nt.Abbreviated,It.Standalone,!0);break;case"bbbb":T=Mt(Ae.DayPeriods,nt.Wide,It.Standalone,!0);break;case"bbbbb":T=Mt(Ae.DayPeriods,nt.Narrow,It.Standalone,!0);break;case"B":case"BB":case"BBB":T=Mt(Ae.DayPeriods,nt.Abbreviated,It.Format,!0);break;case"BBBB":T=Mt(Ae.DayPeriods,nt.Wide,It.Format,!0);break;case"BBBBB":T=Mt(Ae.DayPeriods,nt.Narrow,It.Format,!0);break;case"h":T=Ge(Se.Hours,1,-12);break;case"hh":T=Ge(Se.Hours,2,-12);break;case"H":T=Ge(Se.Hours,1);break;case"HH":T=Ge(Se.Hours,2);break;case"m":T=Ge(Se.Minutes,1);break;case"mm":T=Ge(Se.Minutes,2);break;case"s":T=Ge(Se.Seconds,1);break;case"ss":T=Ge(Se.Seconds,2);break;case"S":T=Ge(Se.FractionalSeconds,1);break;case"SS":T=Ge(Se.FractionalSeconds,2);break;case"SSS":T=Ge(Se.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":T=ht(je.Short);break;case"ZZZZZ":T=ht(je.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":T=ht(je.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":T=ht(je.Long);break;default:return null}return Kn[E]=T,T}(Yt);sn+=lt?lt(W,v,Wt):"''"===Yt?"'":Yt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),sn}function dt(E,T,v){const M=new Date(0);return M.setFullYear(E,T,v),M.setHours(0,0,0),M}function dn(E,T){const v=function(E){return(0,_.cg1)(E)[_.wAp.LocaleId]}(E);if(xe[v]=xe[v]||{},xe[v][T])return xe[v][T];let M="";switch(T){case"shortDate":M=De(E,yt.Short);break;case"mediumDate":M=De(E,yt.Medium);break;case"longDate":M=De(E,yt.Long);break;case"fullDate":M=De(E,yt.Full);break;case"shortTime":M=J(E,yt.Short);break;case"mediumTime":M=J(E,yt.Medium);break;case"longTime":M=J(E,yt.Long);break;case"fullTime":M=J(E,yt.Full);break;case"short":const W=dn(E,"shortTime"),ye=dn(E,"shortDate");M=hn(le(E,yt.Short),[W,ye]);break;case"medium":const Pe=dn(E,"mediumTime"),He=dn(E,"mediumDate");M=hn(le(E,yt.Medium),[Pe,He]);break;case"long":const Wt=dn(E,"longTime"),sn=dn(E,"longDate");M=hn(le(E,yt.Long),[Wt,sn]);break;case"full":const Yt=dn(E,"fullTime"),lt=dn(E,"fullDate");M=hn(le(E,yt.Full),[Yt,lt])}return M&&(xe[v][T]=M),M}function hn(E,T){return T&&(E=E.replace(/\{([^}]+)}/g,function(v,M){return null!=T&&M in T?T[M]:v})),E}function qt(E,T,v="-",M,W){let ye="";(E<0||W&&E<=0)&&(W?E=1-E:(E=-E,ye=v));let Pe=String(E);for(;Pe.length<T;)Pe="0"+Pe;return M&&(Pe=Pe.substr(Pe.length-T)),ye+Pe}function Ge(E,T,v=0,M=!1,W=!1){return function(ye,Pe){let He=function(E,T){switch(E){case Se.FullYear:return T.getFullYear();case Se.Month:return T.getMonth();case Se.Date:return T.getDate();case Se.Hours:return T.getHours();case Se.Minutes:return T.getMinutes();case Se.Seconds:return T.getSeconds();case Se.FractionalSeconds:return T.getMilliseconds();case Se.Day:return T.getDay();default:throw new Error(`Unknown DateType value "${E}".`)}}(E,ye);if((v>0||He>-v)&&(He+=v),E===Se.Hours)0===He&&-12===v&&(He=12);else if(E===Se.FractionalSeconds)return function(E,T){return qt(E,3).substr(0,T)}(He,T);const Wt=ke(Pe,Ye.MinusSign);return qt(He,T,Wt,M,W)}}function Mt(E,T,v=It.Format,M=!1){return function(W,ye){return function(E,T,v,M,W,ye){switch(v){case Ae.Months:return function(E,T,v){const M=(0,_.cg1)(E),ye=Kt([M[_.wAp.MonthsFormat],M[_.wAp.MonthsStandalone]],T);return Kt(ye,v)}(T,W,M)[E.getMonth()];case Ae.Days:return function(E,T,v){const M=(0,_.cg1)(E),ye=Kt([M[_.wAp.DaysFormat],M[_.wAp.DaysStandalone]],T);return Kt(ye,v)}(T,W,M)[E.getDay()];case Ae.DayPeriods:const Pe=E.getHours(),He=E.getMinutes();if(ye){const sn=function(E){const T=(0,_.cg1)(E);return an(T),(T[_.wAp.ExtraData][2]||[]).map(M=>"string"==typeof M?dr(M):[dr(M[0]),dr(M[1])])}(T),Yt=function(E,T,v){const M=(0,_.cg1)(E);an(M);const ye=Kt([M[_.wAp.ExtraData][0],M[_.wAp.ExtraData][1]],T)||[];return Kt(ye,v)||[]}(T,W,M),lt=sn.findIndex(Cn=>{if(Array.isArray(Cn)){const[Qt,nn]=Cn,bn=Pe>=Qt.hours&&He>=Qt.minutes,nr=Pe<nn.hours||Pe===nn.hours&&He<nn.minutes;if(Qt.hours<nn.hours){if(bn&&nr)return!0}else if(bn||nr)return!0}else if(Cn.hours===Pe&&Cn.minutes===He)return!0;return!1});if(-1!==lt)return Yt[lt]}return function(E,T,v){const M=(0,_.cg1)(E),ye=Kt([M[_.wAp.DayPeriodsFormat],M[_.wAp.DayPeriodsStandalone]],T);return Kt(ye,v)}(T,W,M)[Pe<12?0:1];case Ae.Eras:return function(E,T){return Kt((0,_.cg1)(E)[_.wAp.Eras],T)}(T,M)[E.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${v}`)}}(W,ye,E,T,v,M)}}function ht(E){return function(T,v,M){const W=-1*M,ye=ke(v,Ye.MinusSign),Pe=W>0?Math.floor(W/60):Math.ceil(W/60);switch(E){case je.Short:return(W>=0?"+":"")+qt(Pe,2,ye)+qt(Math.abs(W%60),2,ye);case je.ShortGMT:return"GMT"+(W>=0?"+":"")+qt(Pe,1,ye);case je.Long:return"GMT"+(W>=0?"+":"")+qt(Pe,2,ye)+":"+qt(Math.abs(W%60),2,ye);case je.Extended:return 0===M?"Z":(W>=0?"+":"")+qt(Pe,2,ye)+":"+qt(Math.abs(W%60),2,ye);default:throw new Error(`Unknown zone width "${E}"`)}}}function fr(E){return dt(E.getFullYear(),E.getMonth(),E.getDate()+(4-E.getDay()))}function Br(E,T=!1){return function(v,M){let W;if(T){const ye=new Date(v.getFullYear(),v.getMonth(),1).getDay()-1,Pe=v.getDate();W=1+Math.floor((Pe+ye)/7)}else{const ye=fr(v),Pe=function(E){const T=dt(E,0,1).getDay();return dt(E,0,1+(T<=4?4:11)-T)}(ye.getFullYear()),He=ye.getTime()-Pe.getTime();W=1+Math.round(He/6048e5)}return qt(W,E,ke(M,Ye.MinusSign))}}function yn(E,T=!1){return function(v,M){return qt(fr(v).getFullYear(),E,ke(M,Ye.MinusSign),T)}}const Kn={};function or(E,T){E=E.replace(/:/g,"");const v=Date.parse("Jan 01, 1970 00:00:00 "+E)/6e4;return isNaN(v)?T:v}function Hn(E){return E instanceof Date&&!isNaN(E.valueOf())}const bt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,L="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(cn(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 we(E,T){T=encodeURIComponent(T);for(const v of E.split(";")){const M=v.indexOf("="),[W,ye]=-1==M?[v,""]:[v.slice(0,M),v.slice(M+1)];if(W.trim()===T)return decodeURIComponent(ye)}return null}let Xe=(()=>{class E{constructor(v,M,W,ye){this._iterableDiffers=v,this._keyValueDiffers=M,this._ngEl=W,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(W=>{M?this._renderer.addClass(this._ngEl.nativeElement,W):this._renderer.removeClass(this._ngEl.nativeElement,W)})}}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})(),gt=(()=>{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 Pe=M.get(_.h0i);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Pe.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,W){this.$implicit=T,this.ngForOf=v,this.index=M,this.count=W}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 gn=(()=>{class E{constructor(v,M,W){this._viewContainer=v,this._template=M,this._differs=W,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((W,ye,Pe)=>{if(null==W.previousIndex){const He=this._viewContainer.createEmbeddedView(this._template,new Pt(null,this._ngForOf,-1,-1),null===Pe?void 0:Pe),Wt=new Xn(W,He);M.push(Wt)}else if(null==Pe)this._viewContainer.remove(null===ye?void 0:ye);else if(null!==ye){const He=this._viewContainer.get(ye);this._viewContainer.move(He,Pe);const Wt=new Xn(W,He);M.push(Wt)}});for(let W=0;W<M.length;W++)this._perViewChange(M[W].view,M[W].record);for(let W=0,ye=this._viewContainer.length;W<ye;W++){const Pe=this._viewContainer.get(W);Pe.context.index=W,Pe.context.count=ye,Pe.context.ngForOf=this._ngForOf}v.forEachIdentityChange(W=>{this._viewContainer.get(W.currentIndex).context.$implicit=W.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 Xn{constructor(T,v){this.record=T,this.view=v}}let Rt=(()=>{class E{constructor(v,M){this._viewContainer=v,this._context=new ts,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){Ns("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){Ns("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 ts{constructor(){this.$implicit=null,this.ngIf=null}}function Ns(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 ns=(()=>{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})(),er=(()=>{class E{constructor(v,M,W){this.ngSwitch=W,W._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(ns,9))},E.\u0275dir=_.lG2({type:E,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),E})(),Ur=(()=>{class E{constructor(v,M,W){W._addDefault(new jr(v,M))}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.s_b),_.Y36(_.Rgc),_.Y36(ns,9))},E.\u0275dir=_.lG2({type:E,selectors:[["","ngSwitchDefault",""]]}),E})(),Dn=(()=>{class E{constructor(v,M,W){this._ngEl=v,this._differs=M,this._renderer=W,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[W,ye]=v.split(".");null!=(M=null!=M&&ye?`${M}${ye}`:M)?this._renderer.setStyle(this._ngEl.nativeElement,W,M):this._renderer.removeStyle(this._ngEl.nativeElement,W)}_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 Mn(E,T){return Error(`InvalidPipeArgument: '${T}' for pipe '${(0,_.AaK)(E)}'`)}class ss{createSubscription(T,v){return T.subscribe({next:v,error:M=>{throw M}})}dispose(T){T.unsubscribe()}onDestroy(T){T.unsubscribe()}}class Wn{createSubscription(T,v){return T.then(v,M=>{throw M})}dispose(T){}onDestroy(T){}}const gi=new Wn,Js=new ss;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 Mn(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})(),xi=(()=>{class E{constructor(v){this.locale=v}transform(v,M="mediumDate",W,ye){if(null==v||""===v||v!=v)return null;try{return ct(v,M,ye||this.locale,W)}catch(Pe){throw Mn(E,Pe.message)}}}return E.\u0275fac=function(v){return new(v||E)(_.Y36(_.soG,16))},E.\u0275pipe=_.Yjl({name:"date",type:E,pure:!0}),E})(),Ni=(()=>{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,W){if(!function(E){return!(null==E||""===E||E!=E)}(v))return null;W=W||this._locale;try{return function(E,T,v){return function(E,T,v,M,W,ye,Pe=!1){let He="",Wt=!1;if(isFinite(E)){let sn=function(E){let M,W,ye,Pe,He,T=Math.abs(E)+"",v=0;for((W=T.indexOf("."))>-1&&(T=T.replace(".","")),(ye=T.search(/e/i))>0?(W<0&&(W=ye),W+=+T.slice(ye+1),T=T.substring(0,ye)):W<0&&(W=T.length),ye=0;T.charAt(ye)===L;ye++);if(ye===(He=T.length))M=[0],W=1;else{for(He--;T.charAt(He)===L;)He--;for(W-=ye,M=[],Pe=0;ye<=He;ye++,Pe++)M[Pe]=Number(T.charAt(ye))}return W>22&&(M=M.splice(0,21),v=W-1,W=1),{digits:M,exponent:v,integerLen:W}}(E);Pe&&(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 Yt=T.minInt,lt=T.minFrac,Cn=T.maxFrac;if(ye){const zr=ye.match(bt);if(null===zr)throw new Error(`${ye} is not a valid digit info`);const Tr=zr[1],Cs=zr[3],Vs=zr[5];null!=Tr&&(Yt=Jt(Tr)),null!=Cs&&(lt=Jt(Cs)),null!=Vs?Cn=Jt(Vs):null!=Cs&&lt>Cn&&(Cn=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,W=M.length-E.integerLen;const ye=Math.min(Math.max(T,W),v);let Pe=ye+E.integerLen,He=M[Pe];if(Pe>0){M.splice(Math.max(E.integerLen,Pe));for(let lt=Pe;lt<M.length;lt++)M[lt]=0}else{W=Math.max(0,W),E.integerLen=1,M.length=Math.max(1,Pe=ye+1),M[0]=0;for(let lt=1;lt<Pe;lt++)M[lt]=0}if(He>=5)if(Pe-1<0){for(let lt=0;lt>Pe;lt--)M.unshift(0),E.integerLen++;M.unshift(1),E.integerLen++}else M[Pe-1]++;for(;W<Math.max(0,ye);W++)M.push(0);let Wt=0!==ye;const sn=T+E.integerLen,Yt=M.reduceRight(function(lt,Cn,Qt,nn){return nn[Qt]=(Cn+=lt)<10?Cn:Cn-10,Wt&&(0===nn[Qt]&&Qt>=sn?nn.pop():Wt=!1),Cn>=10?1:0},0);Yt&&(M.unshift(Yt),E.integerLen++)}(sn,lt,Cn);let Qt=sn.digits,nn=sn.integerLen;const bn=sn.exponent;let nr=[];for(Wt=Qt.every(zr=>!zr);nn<Yt;nn++)Qt.unshift(0);for(;nn<0;nn++)Qt.unshift(0);nn>0?nr=Qt.splice(nn,Qt.length):(nr=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("")),He=gr.join(ke(v,M)),nr.length&&(He+=ke(v,W)+nr.join("")),bn&&(He+=ke(v,Ye.Exponential)+"+"+bn)}else He=ke(v,Ye.Infinity);return He=E<0&&!Wt?T.negPre+He+T.negSuf:T.posPre+He+T.posSuf,He}(E,function(E,T="-"){const v={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},M=E.split(";"),W=M[0],ye=M[1],Pe=-1!==W.indexOf(".")?W.split("."):[W.substring(0,W.lastIndexOf(L)+1),W.substring(W.lastIndexOf(L)+1)],He=Pe[0],Wt=Pe[1]||"";v.posPre=He.substr(0,He.indexOf("#"));for(let Yt=0;Yt<Wt.length;Yt++){const lt=Wt.charAt(Yt);lt===L?v.minFrac=v.maxFrac=Yt+1:"#"===lt?v.maxFrac=Yt+1:v.posSuf+=lt}const sn=He.split(",");if(v.gSize=sn[1]?sn[1].length:0,v.lgSize=sn[2]||sn[1]?(sn[2]||sn[1]).length:0,ye){const Yt=W.length-v.posPre.length-v.posSuf.length,lt=ye.indexOf("#");v.negPre=ye.substr(0,lt).replace(/'/g,""),v.negSuf=ye.substr(lt+Yt).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,pt.Decimal),ke(T,Ye.MinusSign)),T,Ye.Group,Ye.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),W,M)}catch(ye){throw Mn(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 Vi=(()=>{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 Dr="browser";function Bi(E){return E===Dr}let vs=(()=>{class E{}return E.\u0275prov=(0,_.Yz7)({token:E,providedIn:"root",factory:()=>new Es((0,_.LFG)(Z),window)}),E})();class Es{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 W=M.currentNode;for(;W;){const ye=W.shadowRoot;if(ye){const Pe=ye.getElementById(T)||ye.querySelector(`[name="${T}"]`);if(Pe)return Pe}W=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,W=v.top+this.window.pageYOffset,ye=this.offset();this.window.scrollTo(M-ye[0],W-ye[1])}attemptFocus(T){return T.focus(),this.document.activeElement===T}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const T=wn(this.window.history)||wn(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 wn(E){return Object.getOwnPropertyDescriptor(E,"scrollRestoration")}class si{}},1841:(Ke,pe,I)=>{"use strict";I.d(pe,{TP:()=>Gn,eN:()=>Ye,JF:()=>Kt,WM:()=>H});var _=I(8583),p=I(8720),ie=I(5917),ce=I(7574),K=I(4612),F=I(5435),Z=I(8002);class te{}class U{}class H{constructor(Q){this.normalizedNames=new Map,this.lazyUpdate=null,Q?this.lazyInit="string"==typeof Q?()=>{this.headers=new Map,Q.split("\n").forEach(Y=>{const xe=Y.indexOf(":");if(xe>0){const Oe=Y.slice(0,xe),je=Oe.toLowerCase(),Se=Y.slice(xe+1).trim();this.maybeSetNormalizedName(Oe,je),this.headers.has(je)?this.headers.get(je).push(Se):this.headers.set(je,[Se])}})}:()=>{this.headers=new Map,Object.keys(Q).forEach(Y=>{let xe=Q[Y];const Oe=Y.toLowerCase();"string"==typeof xe&&(xe=[xe]),xe.length>0&&(this.headers.set(Oe,xe),this.maybeSetNormalizedName(Y,Oe))})}:this.headers=new Map}has(Q){return this.init(),this.headers.has(Q.toLowerCase())}get(Q){this.init();const Y=this.headers.get(Q.toLowerCase());return Y&&Y.length>0?Y[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Q){return this.init(),this.headers.get(Q.toLowerCase())||null}append(Q,Y){return this.clone({name:Q,value:Y,op:"a"})}set(Q,Y){return this.clone({name:Q,value:Y,op:"s"})}delete(Q,Y){return this.clone({name:Q,value:Y,op:"d"})}maybeSetNormalizedName(Q,Y){this.normalizedNames.has(Y)||this.normalizedNames.set(Y,Q)}init(){this.lazyInit&&(this.lazyInit instanceof H?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Q=>this.applyUpdate(Q)),this.lazyUpdate=null))}copyFrom(Q){Q.init(),Array.from(Q.headers.keys()).forEach(Y=>{this.headers.set(Y,Q.headers.get(Y)),this.normalizedNames.set(Y,Q.normalizedNames.get(Y))})}clone(Q){const Y=new H;return Y.lazyInit=this.lazyInit&&this.lazyInit instanceof H?this.lazyInit:this,Y.lazyUpdate=(this.lazyUpdate||[]).concat([Q]),Y}applyUpdate(Q){const Y=Q.name.toLowerCase();switch(Q.op){case"a":case"s":let xe=Q.value;if("string"==typeof xe&&(xe=[xe]),0===xe.length)return;this.maybeSetNormalizedName(Q.name,Y);const Oe=("a"===Q.op?this.headers.get(Y):void 0)||[];Oe.push(...xe),this.headers.set(Y,Oe);break;case"d":const je=Q.value;if(je){let Se=this.headers.get(Y);if(!Se)return;Se=Se.filter(Ae=>-1===je.indexOf(Ae)),0===Se.length?(this.headers.delete(Y),this.normalizedNames.delete(Y)):this.headers.set(Y,Se)}else this.headers.delete(Y),this.normalizedNames.delete(Y)}}forEach(Q){this.init(),Array.from(this.normalizedNames.keys()).forEach(Y=>Q(this.normalizedNames.get(Y),this.headers.get(Y)))}}class x{encodeKey(Q){return X(Q)}encodeValue(Q){return X(Q)}decodeKey(Q){return decodeURIComponent(Q)}decodeValue(Q){return decodeURIComponent(Q)}}const ve=/%(\d[a-f0-9])/gi,Ie={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function X(Ce){return encodeURIComponent(Ce).replace(ve,(Q,Y)=>{var xe;return null!==(xe=Ie[Y])&&void 0!==xe?xe:Q})}function fe(Ce){return`${Ce}`}class Te{constructor(Q={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Q.encoder||new x,Q.fromString){if(Q.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(Ce,Q){const Y=new Map;return Ce.length>0&&Ce.replace(/^\?/,"").split("&").forEach(Oe=>{const je=Oe.indexOf("="),[Se,Ae]=-1==je?[Q.decodeKey(Oe),""]:[Q.decodeKey(Oe.slice(0,je)),Q.decodeValue(Oe.slice(je+1))],ct=Y.get(Se)||[];ct.push(Ae),Y.set(Se,ct)}),Y}(Q.fromString,this.encoder)}else Q.fromObject?(this.map=new Map,Object.keys(Q.fromObject).forEach(Y=>{const xe=Q.fromObject[Y];this.map.set(Y,Array.isArray(xe)?xe:[xe])})):this.map=null}has(Q){return this.init(),this.map.has(Q)}get(Q){this.init();const Y=this.map.get(Q);return Y?Y[0]:null}getAll(Q){return this.init(),this.map.get(Q)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Q,Y){return this.clone({param:Q,value:Y,op:"a"})}appendAll(Q){const Y=[];return Object.keys(Q).forEach(xe=>{const Oe=Q[xe];Array.isArray(Oe)?Oe.forEach(je=>{Y.push({param:xe,value:je,op:"a"})}):Y.push({param:xe,value:Oe,op:"a"})}),this.clone(Y)}set(Q,Y){return this.clone({param:Q,value:Y,op:"s"})}delete(Q,Y){return this.clone({param:Q,value:Y,op:"d"})}toString(){return this.init(),this.keys().map(Q=>{const Y=this.encoder.encodeKey(Q);return this.map.get(Q).map(xe=>Y+"="+this.encoder.encodeValue(xe)).join("&")}).filter(Q=>""!==Q).join("&")}clone(Q){const Y=new Te({encoder:this.encoder});return Y.cloneFrom=this.cloneFrom||this,Y.updates=(this.updates||[]).concat(Q),Y}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Q=>this.map.set(Q,this.cloneFrom.map.get(Q))),this.updates.forEach(Q=>{switch(Q.op){case"a":case"s":const Y=("a"===Q.op?this.map.get(Q.param):void 0)||[];Y.push(fe(Q.value)),this.map.set(Q.param,Y);break;case"d":if(void 0===Q.value){this.map.delete(Q.param);break}{let xe=this.map.get(Q.param)||[];const Oe=xe.indexOf(fe(Q.value));-1!==Oe&&xe.splice(Oe,1),xe.length>0?this.map.set(Q.param,xe):this.map.delete(Q.param)}}}),this.cloneFrom=this.updates=null)}}class Ve{constructor(){this.map=new Map}set(Q,Y){return this.map.set(Q,Y),this}get(Q){return this.map.has(Q)||this.map.set(Q,Q.defaultValue()),this.map.get(Q)}delete(Q){return this.map.delete(Q),this}keys(){return this.map.keys()}}function oe(Ce){return"undefined"!=typeof ArrayBuffer&&Ce instanceof ArrayBuffer}function _e(Ce){return"undefined"!=typeof Blob&&Ce instanceof Blob}function ze(Ce){return"undefined"!=typeof FormData&&Ce instanceof FormData}class tt{constructor(Q,Y,xe,Oe){let je;if(this.url=Y,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Q.toUpperCase(),function(Ce){switch(Ce){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Oe?(this.body=void 0!==xe?xe:null,je=Oe):je=xe,je&&(this.reportProgress=!!je.reportProgress,this.withCredentials=!!je.withCredentials,je.responseType&&(this.responseType=je.responseType),je.headers&&(this.headers=je.headers),je.context&&(this.context=je.context),je.params&&(this.params=je.params)),this.headers||(this.headers=new H),this.context||(this.context=new Ve),this.params){const Se=this.params.toString();if(0===Se.length)this.urlWithParams=Y;else{const Ae=Y.indexOf("?");this.urlWithParams=Y+(-1===Ae?"?":Ae<Y.length-1?"&":"")+Se}}else this.params=new Te,this.urlWithParams=Y}serializeBody(){return null===this.body?null:oe(this.body)||_e(this.body)||ze(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof Te?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||ze(this.body)?null:_e(this.body)?this.body.type||null:oe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Te?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Q={}){var Y;const xe=Q.method||this.method,Oe=Q.url||this.url,je=Q.responseType||this.responseType,Se=void 0!==Q.body?Q.body:this.body,Ae=void 0!==Q.withCredentials?Q.withCredentials:this.withCredentials,ct=void 0!==Q.reportProgress?Q.reportProgress:this.reportProgress;let dt=Q.headers||this.headers,dn=Q.params||this.params;const hn=null!==(Y=Q.context)&&void 0!==Y?Y:this.context;return void 0!==Q.setHeaders&&(dt=Object.keys(Q.setHeaders).reduce((qt,Ct)=>qt.set(Ct,Q.setHeaders[Ct]),dt)),Q.setParams&&(dn=Object.keys(Q.setParams).reduce((qt,Ct)=>qt.set(Ct,Q.setParams[Ct]),dn)),new tt(xe,Oe,Se,{params:dn,headers:dt,context:hn,reportProgress:ct,responseType:je,withCredentials:Ae})}}var at=(()=>((at=at||{})[at.Sent=0]="Sent",at[at.UploadProgress=1]="UploadProgress",at[at.ResponseHeader=2]="ResponseHeader",at[at.DownloadProgress=3]="DownloadProgress",at[at.Response=4]="Response",at[at.User=5]="User",at))();class pt{constructor(Q,Y=200,xe="OK"){this.headers=Q.headers||new H,this.status=void 0!==Q.status?Q.status:Y,this.statusText=Q.statusText||xe,this.url=Q.url||null,this.ok=this.status>=200&&this.status<300}}class Ft extends pt{constructor(Q={}){super(Q),this.type=at.ResponseHeader}clone(Q={}){return new Ft({headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class It extends pt{constructor(Q={}){super(Q),this.type=at.Response,this.body=void 0!==Q.body?Q.body:null}clone(Q={}){return new It({body:void 0!==Q.body?Q.body:this.body,headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class nt extends pt{constructor(Q){super(Q,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Q.url||"(unknown url)"}`:`Http failure response for ${Q.url||"(unknown url)"}: ${Q.status} ${Q.statusText}`,this.error=Q.error||null}}function yt(Ce,Q){return{body:Q,headers:Ce.headers,context:Ce.context,observe:Ce.observe,params:Ce.params,reportProgress:Ce.reportProgress,responseType:Ce.responseType,withCredentials:Ce.withCredentials}}let Ye=(()=>{class Ce{constructor(Y){this.handler=Y}request(Y,xe,Oe={}){let je;if(Y instanceof tt)je=Y;else{let ct,dt;ct=Oe.headers instanceof H?Oe.headers:new H(Oe.headers),Oe.params&&(dt=Oe.params instanceof Te?Oe.params:new Te({fromObject:Oe.params})),je=new tt(Y,xe,void 0!==Oe.body?Oe.body:null,{headers:ct,context:Oe.context,params:dt,reportProgress:Oe.reportProgress,responseType:Oe.responseType||"json",withCredentials:Oe.withCredentials})}const Se=(0,ie.of)(je).pipe((0,K.b)(ct=>this.handler.handle(ct)));if(Y instanceof tt||"events"===Oe.observe)return Se;const Ae=Se.pipe((0,F.h)(ct=>ct instanceof It));switch(Oe.observe||"body"){case"body":switch(je.responseType){case"arraybuffer":return Ae.pipe((0,Z.U)(ct=>{if(null!==ct.body&&!(ct.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ct.body}));case"blob":return Ae.pipe((0,Z.U)(ct=>{if(null!==ct.body&&!(ct.body instanceof Blob))throw new Error("Response is not a Blob.");return ct.body}));case"text":return Ae.pipe((0,Z.U)(ct=>{if(null!==ct.body&&"string"!=typeof ct.body)throw new Error("Response is not a string.");return ct.body}));case"json":default:return Ae.pipe((0,Z.U)(ct=>ct.body))}case"response":return Ae;default:throw new Error(`Unreachable: unhandled observe type ${Oe.observe}}`)}}delete(Y,xe={}){return this.request("DELETE",Y,xe)}get(Y,xe={}){return this.request("GET",Y,xe)}head(Y,xe={}){return this.request("HEAD",Y,xe)}jsonp(Y,xe){return this.request("JSONP",Y,{params:(new Te).append(xe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Y,xe={}){return this.request("OPTIONS",Y,xe)}patch(Y,xe,Oe={}){return this.request("PATCH",Y,yt(Oe,xe))}post(Y,xe,Oe={}){return this.request("POST",Y,yt(Oe,xe))}put(Y,xe,Oe={}){return this.request("PUT",Y,yt(Oe,xe))}}return Ce.\u0275fac=function(Y){return new(Y||Ce)(p.LFG(te))},Ce.\u0275prov=p.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();class Zn{constructor(Q,Y){this.next=Q,this.interceptor=Y}handle(Q){return this.interceptor.intercept(Q,this.next)}}const Gn=new p.OlP("HTTP_INTERCEPTORS");let Fn=(()=>{class Ce{intercept(Y,xe){return xe.handle(Y)}}return Ce.\u0275fac=function(Y){return new(Y||Ce)},Ce.\u0275prov=p.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();const le=/^\)\]\}',?\n/;let Ze=(()=>{class Ce{constructor(Y){this.xhrFactory=Y}handle(Y){if("JSONP"===Y.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ce.y(xe=>{const Oe=this.xhrFactory.build();if(Oe.open(Y.method,Y.urlWithParams),Y.withCredentials&&(Oe.withCredentials=!0),Y.headers.forEach((Ct,Ge)=>Oe.setRequestHeader(Ct,Ge.join(","))),Y.headers.has("Accept")||Oe.setRequestHeader("Accept","application/json, text/plain, */*"),!Y.headers.has("Content-Type")){const Ct=Y.detectContentTypeHeader();null!==Ct&&Oe.setRequestHeader("Content-Type",Ct)}if(Y.responseType){const Ct=Y.responseType.toLowerCase();Oe.responseType="json"!==Ct?Ct:"text"}const je=Y.serializeBody();let Se=null;const Ae=()=>{if(null!==Se)return Se;const Ct=1223===Oe.status?204:Oe.status,Ge=Oe.statusText||"OK",ln=new H(Oe.getAllResponseHeaders()),Mt=function(Ce){return"responseURL"in Ce&&Ce.responseURL?Ce.responseURL:/^X-Request-URL:/m.test(Ce.getAllResponseHeaders())?Ce.getResponseHeader("X-Request-URL"):null}(Oe)||Y.url;return Se=new Ft({headers:ln,status:Ct,statusText:Ge,url:Mt}),Se},ct=()=>{let{headers:Ct,status:Ge,statusText:ln,url:Mt}=Ae(),zt=null;204!==Ge&&(zt=void 0===Oe.response?Oe.responseText:Oe.response),0===Ge&&(Ge=zt?200:0);let ht=Ge>=200&&Ge<300;if("json"===Y.responseType&&"string"==typeof zt){const Cr=zt;zt=zt.replace(le,"");try{zt=""!==zt?JSON.parse(zt):null}catch(Vt){zt=Cr,ht&&(ht=!1,zt={error:Vt,text:zt})}}ht?(xe.next(new It({body:zt,headers:Ct,status:Ge,statusText:ln,url:Mt||void 0})),xe.complete()):xe.error(new nt({error:zt,headers:Ct,status:Ge,statusText:ln,url:Mt||void 0}))},dt=Ct=>{const{url:Ge}=Ae(),ln=new nt({error:Ct,status:Oe.status||0,statusText:Oe.statusText||"Unknown Error",url:Ge||void 0});xe.error(ln)};let dn=!1;const hn=Ct=>{dn||(xe.next(Ae()),dn=!0);let Ge={type:at.DownloadProgress,loaded:Ct.loaded};Ct.lengthComputable&&(Ge.total=Ct.total),"text"===Y.responseType&&!!Oe.responseText&&(Ge.partialText=Oe.responseText),xe.next(Ge)},qt=Ct=>{let Ge={type:at.UploadProgress,loaded:Ct.loaded};Ct.lengthComputable&&(Ge.total=Ct.total),xe.next(Ge)};return Oe.addEventListener("load",ct),Oe.addEventListener("error",dt),Oe.addEventListener("timeout",dt),Oe.addEventListener("abort",dt),Y.reportProgress&&(Oe.addEventListener("progress",hn),null!==je&&Oe.upload&&Oe.upload.addEventListener("progress",qt)),Oe.send(je),xe.next({type:at.Sent}),()=>{Oe.removeEventListener("error",dt),Oe.removeEventListener("abort",dt),Oe.removeEventListener("load",ct),Oe.removeEventListener("timeout",dt),Y.reportProgress&&(Oe.removeEventListener("progress",hn),null!==je&&Oe.upload&&Oe.upload.removeEventListener("progress",qt)),Oe.readyState!==Oe.DONE&&Oe.abort()}})}}return Ce.\u0275fac=function(Y){return new(Y||Ce)(p.LFG(_.JF))},Ce.\u0275prov=p.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();const en=new p.OlP("XSRF_COOKIE_NAME"),Gt=new p.OlP("XSRF_HEADER_NAME");class Ot{}let Un=(()=>{class Ce{constructor(Y,xe,Oe){this.doc=Y,this.platform=xe,this.cookieName=Oe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Y=this.doc.cookie||"";return Y!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,_.Mx)(Y,this.cookieName),this.lastCookieString=Y),this.lastToken}}return Ce.\u0275fac=function(Y){return new(Y||Ce)(p.LFG(_.K0),p.LFG(p.Lbi),p.LFG(en))},Ce.\u0275prov=p.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),cn=(()=>{class Ce{constructor(Y,xe){this.tokenService=Y,this.headerName=xe}intercept(Y,xe){const Oe=Y.url.toLowerCase();if("GET"===Y.method||"HEAD"===Y.method||Oe.startsWith("http://")||Oe.startsWith("https://"))return xe.handle(Y);const je=this.tokenService.getToken();return null!==je&&!Y.headers.has(this.headerName)&&(Y=Y.clone({headers:Y.headers.set(this.headerName,je)})),xe.handle(Y)}}return Ce.\u0275fac=function(Y){return new(Y||Ce)(p.LFG(Ot),p.LFG(Gt))},Ce.\u0275prov=p.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),an=(()=>{class Ce{constructor(Y,xe){this.backend=Y,this.injector=xe,this.chain=null}handle(Y){if(null===this.chain){const xe=this.injector.get(Gn,[]);this.chain=xe.reduceRight((Oe,je)=>new Zn(Oe,je),this.backend)}return this.chain.handle(Y)}}return Ce.\u0275fac=function(Y){return new(Y||Ce)(p.LFG(U),p.LFG(p.zs3))},Ce.\u0275prov=p.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),ir=(()=>{class Ce{static disable(){return{ngModule:Ce,providers:[{provide:cn,useClass:Fn}]}}static withOptions(Y={}){return{ngModule:Ce,providers:[Y.cookieName?{provide:en,useValue:Y.cookieName}:[],Y.headerName?{provide:Gt,useValue:Y.headerName}:[]]}}}return Ce.\u0275fac=function(Y){return new(Y||Ce)},Ce.\u0275mod=p.oAB({type:Ce}),Ce.\u0275inj=p.cJS({providers:[cn,{provide:Gn,useExisting:cn,multi:!0},{provide:Ot,useClass:Un},{provide:en,useValue:"XSRF-TOKEN"},{provide:Gt,useValue:"X-XSRF-TOKEN"}]}),Ce})(),Kt=(()=>{class Ce{}return Ce.\u0275fac=function(Y){return new(Y||Ce)},Ce.\u0275mod=p.oAB({type:Ce}),Ce.\u0275inj=p.cJS({providers:[Ye,{provide:te,useClass:an},Ze,{provide:U,useExisting:Ze}],imports:[[ir.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Ce})()},8720:(Ke,pe,I)=>{"use strict";I.d(pe,{deG:()=>__,tb:()=>My,AFp:()=>Ty,ip1:()=>wd,CZH:()=>Jo,hGG:()=>sS,z2F:()=>Za,sBO:()=>XD,Sil:()=>qa,_Vd:()=>Zi,EJc:()=>Py,SBq:()=>qs,qLn:()=>bo,vpe:()=>Zs,gxx:()=>Mo,tBr:()=>_o,XFs:()=>qe,OlP:()=>On,zs3:()=>on,ZZ4:()=>Hl,aQg:()=>$l,soG:()=>Xl,YKP:()=>cm,v3s:()=>LT,h0i:()=>Ji,PXZ:()=>RT,R0b:()=>Xr,FiY:()=>li,Lbi:()=>Iy,g9A:()=>Sy,n_E:()=>Ya,Qsj:()=>VD,FYo:()=>Ul,JOm:()=>zs,Tiy:()=>Jc,q3G:()=>xn,tp0:()=>Mi,EAV:()=>UT,Rgc:()=>La,dDg:()=>Ny,DyG:()=>ul,GfV:()=>nm,s_b:()=>Gl,ifc:()=>dt,eFA:()=>By,G48:()=>wT,Gpc:()=>Ie,f3M:()=>R_,X6Q:()=>Rd,_c5:()=>ZT,VLi:()=>DT,c2e:()=>Ay,zSh:()=>Ta,wAp:()=>ft,vHH:()=>Ne,EiD:()=>Cf,mCW:()=>ya,qzn:()=>Co,JVY:()=>Y_,pB0:()=>J_,eBb:()=>q_,L6k:()=>Q_,LAX:()=>Z_,cg1:()=>$c,Tjo:()=>QT,kL8:()=>wg,yhl:()=>hf,dqk:()=>Ge,sIi:()=>Ma,CqO:()=>Rc,QGY:()=>Pc,F4k:()=>Op,RDi:()=>E,AaK:()=>x,z3N:()=>ui,qOj:()=>mc,TTD:()=>as,_Bn:()=>Zg,xp6:()=>oh,uIk:()=>vc,Tol:()=>Xp,Gre:()=>pg,ekj:()=>Lc,Suo:()=>ny,Xpm:()=>or,lG2:()=>ae,Yz7:()=>Ze,cJS:()=>Gt,oAB:()=>Hn,Yjl:()=>L,Y36:()=>Pa,_UZ:()=>Ap,GkF:()=>Pp,BQk:()=>Ac,ynx:()=>Mc,qZA:()=>Ic,TgZ:()=>Sc,EpF:()=>Rp,n5z:()=>bs,Ikx:()=>Uc,LFG:()=>jn,$8M:()=>Vr,NdJ:()=>Oc,CRH:()=>ry,kcU:()=>Sr,O4$:()=>Bt,oxw:()=>Fp,ALo:()=>Qm,lcZ:()=>qm,xi3:()=>Zm,Hsn:()=>Lp,F$t:()=>kp,Q6J:()=>wc,s9C:()=>Fc,MGl:()=>Ol,DdM:()=>Vm,VKq:()=>Bm,WLB:()=>jm,kEZ:()=>Um,l5B:()=>Hm,qbA:()=>$m,iGM:()=>ey,MAs:()=>yp,CHM:()=>lo,oJD:()=>bf,LSH:()=>Mu,kYT:()=>bt,Udp:()=>kc,WFA:()=>xc,d8E:()=>Hc,YNc:()=>mp,W1O:()=>ay,_uU:()=>og,Oqu:()=>Bc,hij:()=>Nl,AsE:()=>jc,Gf:()=>ty});var _=I(9765),p=I(5319),ie=I(7574),ce=I(6682),K=I(4458),F=I(1307);function Z(){return new _.xQ}function U(e){for(let t in e)if(e[t]===U)return t;throw Error("Could not find renamed property on target object.")}function H(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function x(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(x).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=U({__forward_ref__:U});function Ie(e){return e.__forward_ref__=Ie,e.toString=function(){return x(this())},e}function X(e){return fe(e)?e():e}function fe(e){return"function"==typeof e&&e.hasOwnProperty(ve)&&e.__forward_ref__===Ie}class Ne 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 at(e,t){const n=t?` in ${t}`:"";throw new Ne("201",`No provider for ${_e(e)} found${n}`)}function he(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 Ze(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Gt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ot(e){return Un(e,Vn)||Un(e,Kt)}function Un(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ln(e){return e&&(e.hasOwnProperty(ir)||e.hasOwnProperty(dr))?e[ir]:null}const Vn=U({\u0275prov:U}),ir=U({\u0275inj:U}),Kt=U({ngInjectableDef:U}),dr=U({ngInjectorDef:U});var qe=(()=>((qe=qe||{})[qe.Default=0]="Default",qe[qe.Host=1]="Host",qe[qe.Self=2]="Self",qe[qe.SkipSelf=4]="SkipSelf",qe[qe.Optional=8]="Optional",qe))();let Ce;function Y(e){const t=Ce;return Ce=e,t}function xe(e,t,n){const r=Ot(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&qe.Optional?null:void 0!==t?t:void at(x(e),"Injector")}function je(e){return{toString:e}.toString()}var Se=(()=>((Se=Se||{})[Se.OnPush=0]="OnPush",Se[Se.Default=1]="Default",Se))(),dt=(()=>((dt=dt||{})[dt.Emulated=0]="Emulated",dt[dt.None=2]="None",dt[dt.ShadowDom=3]="ShadowDom",dt))();const dn="undefined"!=typeof globalThis&&globalThis,hn="undefined"!=typeof window&&window,qt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ct="undefined"!=typeof global&&global,Ge=dn||Ct||hn||qt,zt={},ht=[],Cr=U({\u0275cmp:U}),Vt=U({\u0275dir:U}),In=U({\u0275pipe:U}),fr=U({\u0275mod:U}),Br=U({\u0275loc:U}),yn=U({\u0275fac:U}),Kn=U({__NG_ELEMENT_ID__:U});let Jn=0;function or(e){return je(()=>{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===Se.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ht,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||dt.Emulated,id:"c",styles:e.styles||ht,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,i=e.features,o=e.pipes;return r.id+=Jn++,r.inputs=j(e.inputs,n),r.outputs=j(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(ar):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(es):null,r})}function ar(e){return me(e)||function(e){return e[Vt]||null}(e)}function es(e){return function(e){return e[In]||null}(e)}const br={};function Hn(e){return je(()=>{const t={type:e.type,bootstrap:e.bootstrap||ht,declarations:e.declarations||ht,imports:e.imports||ht,exports:e.exports||ht,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(br[e.id]=e.type),t})}function bt(e,t){return je(()=>{const n=$t(e,!0);n.declarations=t.declarations||ht,n.imports=t.imports||ht,n.exports=t.exports||ht})}function j(e,t){if(null==e)return zt;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=or;function L(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[Cr]||null}function $t(e,t){const n=e[fr]||null;if(!n&&!0===t)throw new Error(`Type ${x(e)} does not have '\u0275mod' property.`);return n}const O=11;function Dn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Bn(e){return Array.isArray(e)&&!0===e[1]}function ks(e){return 0!=(8&e.flags)}function Mn(e){return 2==(2&e.flags)}function ss(e){return 1==(1&e.flags)}function Wn(e){return null!==e.template}function gi(e){return 0!=(512&e[2])}function Dr(e,t){return e.hasOwnProperty(yn)?e[yn]:null}class vi{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function as(){return wr}function wr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Wr),Bi}function Bi(){const e=Ei(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===zt)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:zt,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===zt),e[r]=t}as.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 He(e){for(;Array.isArray(e);)e=e[0];return e}function Yt(e,t){return He(t[e])}function lt(e,t){return He(t[e.index])}function Qt(e,t){return e.data[t]}function nn(e,t){return e[t]}function bn(e,t){const n=t[e];return Dn(n)?n:n[0]}function nr(e){return 4==(4&e[2])}function gr(e){return 128==(128&e[2])}function Tr(e,t){return null==t?null:e[t]}function Cs(e){e[18]=0}function Vs(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 mt={lFrame:kr(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ao(){return mt.bindingsEnabled}function Me(){return mt.lFrame.lView}function At(){return mt.lFrame.tView}function lo(e){return mt.lFrame.contextLView=e,e[8]}function An(){let e=D();for(;null!==e&&64===e.type;)e=e.parent;return e}function D(){return mt.lFrame.currentTNode}function u(e,t){const n=mt.lFrame;n.currentTNode=e,n.isParent=t}function g(){return mt.lFrame.isParent}function w(){mt.lFrame.isParent=!1}function B(){return mt.isInCheckNoChangesMode}function ne(e){mt.isInCheckNoChangesMode=e}function ge(){const e=mt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Le(){return mt.lFrame.bindingIndex}function ut(){return mt.lFrame.bindingIndex++}function Et(e){const t=mt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function xt(e,t){const n=mt.lFrame;n.bindingIndex=n.bindingRootIndex=e,un(t)}function un(e){mt.lFrame.currentDirectiveIndex=e}function Pn(e){const t=mt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Tn(){return mt.lFrame.currentQueryIndex}function Gr(e){mt.lFrame.currentQueryIndex=e}function Nr(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function zn(e,t,n){if(n&qe.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&qe.Host||(s=Nr(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=mt.lFrame=Fr();return r.currentTNode=t,r.lView=e,!0}function mr(e){const t=Fr(),n=e[1];mt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Fr(){const e=mt.lFrame,t=null===e?null:e.child;return null===t?kr(e):t}function kr(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=mt.lFrame;return mt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Bs=oi;function Lr(){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 Ue(){return mt.lFrame.selectedIndex}function Je(e){mt.lFrame.selectedIndex=e}function $e(){const e=mt.lFrame;return Qt(e.tView,e.selectedIndex)}function Bt(){mt.lFrame.currentNamespace=ni}function Sr(){mt.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){Ir(e,t,3,n)}function ls(e,t,n,r){(3&e[2])===n&&Ir(e,t,n,r)}function Yr(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ir(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)&&(js(e,n,t,f),e[18]=(4294901760&e[18])+f+2),f++}function js(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 wi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function oa(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];fo(o)?r&&e.setProperty(t,o,a):r?e.setAttribute(t,o,a):t.setAttribute(o,a),s++}}return s}function Us(e){return 3===e||4===e||6===e}function fo(e){return 64===e.charCodeAt(0)}function ho(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 aa=!0;function Hi(e){const t=aa;return aa=e,t}let la=0;function $i(e,t){const n=ua(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,po(r.data,e),po(t,null),po(r.blueprint,null));const s=ca(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 po(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ua(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ca(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 h(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]=la++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function c(e,t,n){if(n&qe.Optional)return e;at(t,"NodeInjector")}function y(e,t,n,r){if(n&qe.Optional&&void 0===r&&(r=null),0==(n&(qe.Self|qe.Host))){const s=e[9],i=Y(void 0);try{return s?s.get(t,r,n&qe.Optional):xe(t,r,n&qe.Optional)}finally{Y(i)}}return c(r,t,n)}function C(e,t,n,r=qe.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:N:t}(n);if("function"==typeof i){if(!zn(t,e,r))return r&qe.Host?c(s,n,r):y(t,n,r,s);try{const o=i(r);if(null!=o||r&qe.Optional)return o;at(n)}finally{Bs()}}else if("number"==typeof i){let o=null,a=ua(e,t),f=-1,m=r&qe.Host?t[16][6]:null;for((-1===a||r&qe.SkipSelf)&&(f=-1===a?ca(e,t):t[a+8],-1!==f&&fn(r,!1)?(o=t[1],a=Ti(f),t=Si(f,t)):a=-1);-1!==a;){const b=t[1];if(Nt(i,a,b.data)){const A=G(a,t,n,o,r,m);if(A!==S)return A}f=t[a+8],-1!==f&&fn(r,t[1].data[a+8]===m)&&Nt(i,a,t)?(o=b,a=Ti(f),t=Si(f,t)):a=-1}}}return y(t,n,r,s)}const S={};function N(){return new Lt(An(),Me())}function G(e,t,n,r,s,i){const o=t[1],a=o.data[e+8],b=Ee(a,o,n,null==r?Mn(a)&&aa:r!=o&&0!=(3&a.type),s&qe.Host&&i===a);return null!==b?We(t,o,b,a):S}function Ee(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 V=r?a:a+b;V<R;V++){const q=o[V];if(V<f&&n===q||V>=f&&q.type===n)return V}if(s){const V=o[f];if(V&&Wn(V)&&V.type===n)return f}return null}function We(e,t,n,r){let s=e[n];const i=t.data;if(function(e){return e instanceof wi}(s)){const o=s;o.resolving&&function(e,t){throw new Ne("200",`Circular dependency in DI detected for ${e}`)}(_e(i[n]));const a=Hi(o.canSeeViewProviders);o.resolving=!0;const f=o.injectImpl?Y(o.injectImpl):null;zn(e,r,qe.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=wr(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&&Y(f),Hi(a),o.resolving=!1,Bs()}}return s}function Nt(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function fn(e,t){return!(e&qe.Self||e&qe.Host&&t)}class Lt{constructor(t,n){this._tNode=t,this._lView=n}get(t,n){return C(this._tNode,this._lView,t,void 0,n)}}function bs(e){return je(()=>{const t=e.prototype.constructor,n=t[yn]||Qr(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[yn]||Qr(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function Qr(e){return fe(e)?()=>{const t=Qr(X(e));return t&&t()}:Dr(e)}function Vr(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(Us(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}(An(),e)}const qr="__parameters__";function Wi(e,t,n){return je(()=>{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(qr)?f[qr]:Object.defineProperty(f,qr,{value:[]})[qr];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 On{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Ze({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const __=new On("AnalyzeForEntryComponents"),ul=Function;function cs(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)),cs(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 zi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ii(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Zr(e,t,n){let r=go(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 mu(e,t){const n=go(e,t);if(n>=0)return e[1|n]}function go(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 ha={},_u="__NG_DI_FLAG__",mo="ngTempTokenPath",M_=/\n/gm,vu="__source",Eu=U({provide:String,useValue:U});let pa;function yo(e){const t=pa;return pa=e,t}function P_(e,t=qe.Default){if(void 0===pa)throw new Error("inject() must be called from an injection context");return null===pa?xe(e,void 0,t):pa.get(e,t&qe.Optional?null:void 0,t)}function jn(e,t=qe.Default){return(Ce||P_)(X(e),t)}const R_=jn;function Gi(e){const t=[];for(let n=0;n<e.length;n++){const r=X(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let s,i=qe.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 ga(e,t){return e[_u]=t,e.prototype[_u]=t,e}function O_(e){return e[_u]}function sf(e,t,n,r){const s=e[mo];throw t[vu]&&s.unshift(t[vu]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=x(t);if(Array.isArray(t))s=t.map(x).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):x(a)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(M_,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[mo]=null,e}const _o=ga(Wi("Inject",e=>({token:e})),-1),li=ga(Wi("Optional"),8),Mi=ga(Wi("SkipSelf"),4);let gl,ml;function Eo(e){var t;return(null===(t=function(){if(void 0===gl&&(gl=null,Ge.trustedTypes))try{gl=Ge.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 cf(e){var t;return(null===(t=function(){if(void 0===ml&&(ml=null,Ge.trustedTypes))try{ml=Ge.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 Ki{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class $_ extends Ki{getTypeName(){return"HTML"}}class W_ extends Ki{getTypeName(){return"Style"}}class z_ extends Ki{getTypeName(){return"Script"}}class G_ extends Ki{getTypeName(){return"URL"}}class K_ extends Ki{getTypeName(){return"ResourceURL"}}function ui(e){return e instanceof Ki?e.changingThisBreaksApplicationSecurity:e}function Co(e,t){const n=hf(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 hf(e){return e instanceof Ki&&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(Eo(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=Eo(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Eo(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 ya(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 _a(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const mf=$s("area,br,col,hr,img,wbr"),yf=$s("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_f=$s("rp,rt"),wu=_a(mf,_a(yf,$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")),_a(_f,$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")),_a(_f,yf)),Tu=$s("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Su=$s("srcset"),vf=_a(Tu,Su,$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(!wu.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(!vf.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let f=i.value;Tu[a]&&(f=ya(f)),Su[a]&&(e=f,f=(e=String(e)).split(",").map(t=>ya(t.trim())).join(", ")),this.buf.push(" ",o,'="',Ef(f),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();wu.hasOwnProperty(n)&&!mf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ef(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 Ef(e){return e.replace(/&/g,"&amp;").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,"&lt;").replace(/>/g,"&gt;")}let yl;function Cf(e,t){let n=null;try{yl=yl||function(e){const t=new ev(e);return function(){try{return!!(new window.DOMParser).parseFromString(Eo(""),"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 Eo((new iv).sanitizeChildren(Iu(n)||n))}finally{if(n){const r=Iu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Iu(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var xn=(()=>((xn=xn||{})[xn.NONE=0]="NONE",xn[xn.HTML=1]="HTML",xn[xn.STYLE=2]="STYLE",xn[xn.SCRIPT=3]="SCRIPT",xn[xn.URL=4]="URL",xn[xn.RESOURCE_URL=5]="RESOURCE_URL",xn))();function bf(e){const t=va();return t?cf(t.sanitize(xn.HTML,e)||""):Co(e,"HTML")?cf(ui(e)):Cf(T(),oe(e))}function Mu(e){const t=va();return t?t.sanitize(xn.URL,e)||"":Co(e,"URL")?ui(e):ya(oe(e))}function va(){const e=Me();return e&&e[12]}const Tf="__ngContext__";function yr(e,t){e[Tf]=t}function Pu(e){const t=function(e){return e[Tf]||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 bo{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 Nf=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ge))();function Ws(e){return e instanceof Function?e():e}var zs=(()=>((zs=zs||{})[zs.Important=1]="Important",zs[zs.DashCase=2]="DashCase",zs))();function xu(e,t){return undefined(e,t)}function Ca(e){const t=e[3];return Bn(t)?t[3]:t}function Nu(e){return Bf(e[13])}function Fu(e){return Bf(e[4])}function Bf(e){for(;null!==e&&!Bn(e);)e=e[4];return e}function wo(e,t,n,r,s){if(null!=r){let i,o=!1;Bn(r)?i=r:Dn(r)&&(o=!0,r=r[0]);const a=He(r);0===e&&null!==n?null==s?zf(t,n,a):Yi(t,n,a,s||null,!0):1===e&&null!==n?Yi(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!==He(n)&&wo(t,e,r,i,s);for(let a=10;a<n.length;a++){const f=n[a];ba(f[1],f,e,t,r,i)}}(t,e,i,n,s)}}function Lu(e,t,n){return M(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Uf(e,t){const n=e[9],r=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Vs(s,-1)),n.splice(r,1)}function Vu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&Uf(s,r),t>0&&(e[n-1][4]=r[4]);const i=zi(e,10+t);!function(e,t){ba(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 Hf(e,t){if(!(256&t[2])){const n=t[O];M(n)&&n.destroyNode&&ba(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Bu(e[1],e);for(;t;){let n=null;if(Dn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Dn(t)&&Bu(t[1],t),t=t[3];null===t&&(t=e),Dn(t)&&Bu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Bu(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 wi)){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):He(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]&&Uf(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function $f(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===dt.None||s===dt.Emulated)return null}return lt(r,n)}(e,t.parent,n)}function Yi(e,t,n,r,s){M(e)?e.insertBefore(t,n,r,s):t.insertBefore(n,r,s)}function zf(e,t,n){M(e)?e.appendChild(t,n):t.appendChild(n)}function Gf(e,t,n,r,s){null!==r?Yi(e,t,n,r,s):zf(e,t,n)}function El(e,t){return M(e)?e.parentNode(t):t.parentNode}function Kf(e,t,n){return Qf(e,t,n)}let Qf=function(e,t,n){return 40&e.type?lt(e,n):null};function Cl(e,t,n,r){const s=$f(e,r,t),i=t[O],a=Kf(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let f=0;f<n.length;f++)Gf(i,s,n[f],a,!1);else Gf(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 Uu(-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)?Uu(-1,s):He(s)}}if(32&n)return xu(t,e)()||He(e[t.index]);{const r=Zf(e,t);return null!==r?Array.isArray(r)?r[0]:bl(Ca(e[16]),r):bl(e,t.next)}}return null}function Zf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Uu(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 Hu(e,t,n,r,s,i,o){for(;null!=n;){const a=r[n.index],f=n.type;if(o&&0===t&&(a&&yr(He(a),r),n.flags|=4),64!=(64&n.flags))if(8&f)Hu(e,t,n.child,r,s,i,!1),wo(t,e,s,a,i);else if(32&f){const m=xu(n,r);let b;for(;b=m();)wo(t,e,s,b,i);wo(t,e,s,a,i)}else 16&f?Xf(e,t,r,n,s,i):wo(t,e,s,a,i);n=o?n.projectionNext:n.next}}function ba(e,t,n,r,s,i){Hu(n,r,e.firstChild,t,s,i,!1)}function Xf(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++)wo(t,e,s,f[m],i);else Hu(e,t,f,o[3],s,i,!0)}function eh(e,t,n){M(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function $u(e,t,n){M(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function th(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 nh="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!==th(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 rh(e){return 4===e.type&&e.value!==nh}function Zv(e,t,n){return t===(4!==e.type||n?e.value:nh)}function Jv(e,t,n){let r=4;const s=e.attrs||[],i=function(e){for(let t=0;t<e.length;t++)if(Us(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(Ds(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(Ds(r))return!1;o=!0}continue}const A=Xv(8&r?"class":f,s,rh(e),n);if(-1===A){if(Ds(r))return!1;o=!0;continue}if(""!==m){let R;R=A>i?"":s[A+1].toLowerCase();const V=8&r?R:null;if(V&&-1!==th(V,m,0)||2&r&&m!==R){if(Ds(r))return!1;o=!0}}}}else{if(!o&&!Ds(r)&&!Ds(f))return!1;if(o&&Ds(f))continue;o=!1,r=f|1&r}}return Ds(r)||o}function Ds(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 sh(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 ih(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&&!Ds(o)&&(t+=ih(i,s),s=""),r=o,i=i||!Ds(r);n++}return""!==s&&(t+=ih(i,s)),t}const wt={};function oh(e){ah(At(),Me(),Ue()+e,B())}function ah(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&&ls(t,i,0,n)}Je(n)}function Dl(e,t){return e<<17|t<<2}function ws(e){return e>>17&32767}function Wu(e){return 2|e}function ci(e){return(131068&e)>>2}function zu(e,t){return-131069&e|t<<2}function Gu(e){return 1|e}function yh(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 Da(e,t,n,r,s,i,o,a,f,m){const b=t.blueprint.slice();return b[0]=s,b[2]=140|r,Cs(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 To(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),mt.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const o=function(){const e=mt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===o?-1:o.injectorIndex}return u(i,!0),i}function So(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 wa(e,t,n){mr(t);try{const r=e.viewQuery;null!==r&&lc(1,r,n);const s=e.template;null!==s&&_h(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&yh(e,t),e.staticViewQueries&&lc(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,Lr()}}function Io(e,t,n,r){const s=t[2];if(256==(256&s))return;mr(t);const i=B();try{Cs(t),function(e){mt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&_h(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&&ls(t,m,0,null),Yr(t,0)}if(function(e){for(let t=Nu(e);null!==t;t=Fu(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])&&Vs(i,1),s[2]|=1024}}}(t),function(e){for(let t=Nu(e);null!==t;t=Fu(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];gr(r)&&Io(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&yh(e,t),!i)if(o){const m=e.contentCheckHooks;null!==m&&Xt(t,m)}else{const m=e.contentHooks;null!==m&&ls(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)Je(~s);else{const i=s,o=n[++r],a=n[++r];xt(o,i),a(2,t[i])}}}finally{Je(-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&&lc(2,f,r),!i)if(o){const m=e.viewCheckHooks;null!==m&&Xt(t,m)}else{const m=e.viewHooks;null!==m&&ls(t,m,2),Yr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Vs(t[3],-1))}finally{Lr()}}function yE(e,t,n,r){const s=t[10],i=!B(),o=nr(t);try{i&&!o&&s.begin&&s.begin(),o&&wa(e,t,r),Io(e,t,n,r)}finally{i&&!o&&s.end&&s.end()}}function _h(e,t,n,r,s){const i=Ue(),o=2&r;try{Je(-1),o&&t.length>20&&ah(e,t,20,B()),n(r,s)}finally{Je(i)}}function vh(e,t,n){if(ks(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 ec(e,t,n){!ao()||(function(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||$i(n,t),yr(r,t);const o=n.initialInputs;for(let a=s;a<i;a++){const f=e.data[a],m=Wn(f);m&&RE(t,n,f);const b=We(t,e,a,n);yr(b,t),null!==o&&OE(0,a-s,b,f,0,o),m&&(bn(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=mt.lFrame.currentDirectiveIndex;try{Je(o);for(let f=r;f<s;f++){const m=e.data[f],b=t[f];un(f),(null!==m.hostBindings||0!==m.hostVars||null!==m.hostAttrs)&&Ih(m,b)}}finally{Je(-1),un(a)}}(e,t,n))}function tc(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 Eh(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:wt);return n}(b,A),V="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:V,incompleteFirstPass:!1}}function Dh(e,t,n,r){const s=xh(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&Nh(e).push(r,s.length-1))}function wh(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 Jr(e,t,n,r,s,i,o,a){const f=lt(t,n);let b,m=t.inputs;!a&&null!=m&&(b=m[r])?(Lh(e,n,b,r,s),Mn(t)&&function(e,t){const n=bn(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):fo(r)||(f.setProperty?f.setProperty(r,s):f[r]=s))}function nc(e,t,n,r){let s=!1;if(ao()){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];sh(n,o.selectors,!1)&&(s||(s=[]),h($i(n,t),e,o.type),Wn(o)?(Mh(e,n),s.unshift(o)):s.push(o))}return s}(e,t,n),o=null===r?null:{"":-1};if(null!==i){s=!0,Ah(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=So(e,t,i.length,null);for(let b=0;b<i.length;b++){const A=i[b];n.mergedAttrs=ho(n.mergedAttrs,A.hostAttrs),Ph(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||rh(t)?null:xE(A,i);o.push(R),a=wh(A,m,a),f=wh(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 Ne("301",`Export of name '${t[s+1]}' not found!`);r.push(t[s],i)}}}(n,r,o)}return n.mergedAttrs=ho(n.mergedAttrs,n.attrs),s}function Sh(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 Ih(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Mh(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;Wn(t)&&(n[""]=e)}}function Ah(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ph(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=Dr(s.type)),o=new wi(i,Wn(s),null);e.blueprint[r]=o,n[r]=o,Sh(e,t,0,r,So(e,n,s.hostVars,wt),s)}function RE(e,t,n){const r=lt(t,e),s=Eh(n),i=e[10],o=Il(e,Da(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 Rh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function kE(e,t){const n=bn(t,e);if(gr(n)){const r=n[1];80&n[2]?Io(r,n,r.template,n[8]):n[5]>0&&sc(n)}}function sc(e){for(let r=Nu(e);null!==r;r=Fu(r))for(let s=10;s<r.length;s++){const i=r[s];if(1024&i[2]){const o=i[1];Io(o,i,o.template,i[8])}else i[5]>0&&sc(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=bn(n[r],e);gr(s)&&s[5]>0&&sc(s)}}function LE(e,t){const n=bn(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),wa(r,n,n[8])}function Il(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function ic(e){for(;e;){e[2]|=64;const t=Ca(e);if(gi(e)&&!t)return e;e=t}return null}function ac(e,t,n){const r=t[10];r.begin&&r.begin();try{Io(e,t,e.template,n)}catch(s){throw kh(t,s),s}finally{r.end&&r.end()}}function Oh(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Pu(n),s=r[1];yE(s,r,s.template,n)}}(e[8])}function lc(e,t,n){Gr(0),t(e,n)}const HE=(()=>Promise.resolve(null))();function xh(e){return e[7]||(e[7]=[])}function Nh(e){return e.cleanup||(e.cleanup=[])}function Fh(e,t,n){return(null===e||Wn(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 kh(e,t){const n=e[9],r=n?n.get(bo,null):null;r&&r.handleError(t)}function Lh(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=Yt(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 Mo=new On("INJECTOR",-1);class Vh{get(t,n=ha){if(n===ha){const r=new Error(`NullInjectorError: No provider for ${x(t)}!`);throw r.name="NullInjectorError",r}return n}}const Ta=new On("Set Injector scope."),Sa={},zE={};let uc;function Bh(){return void 0===uc&&(uc=new Vh),uc}function jh(e,t=null,n=null,r){return new KE(e,n,t||Bh(),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(Mo,Ao(void 0,this));const o=this.records.get(Ta);this.scope=null!=o?o.value:null,this.source=s||("object"==typeof t?null:x(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=ha,r=qe.Default){this.assertNotDestroyed();const s=yo(this),i=Y(void 0);try{if(!(r&qe.SkipSelf)){let a=this.records.get(t);if(void 0===a){const f=("function"==typeof(e=t)||"object"==typeof e&&e instanceof On)&&Ot(t);a=f&&this.injectableDefInScope(f)?Ao(cc(t),Sa):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&qe.Self?Bh():this.parent).get(t,n=r&qe.Optional&&n===ha?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[mo]=o[mo]||[]).unshift(x(t)),s)throw o;return sf(o,t,"R3InjectorError",this.source)}throw o}finally{Y(i),yo(s)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,s)=>t.push(x(s))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=X(t)))return!1;let s=Ln(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=Ln(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:V}=b[A];Hs(V,q=>this.processProvider(q,R,V||ht))}}this.injectorDefTypes.add(o);const f=Dr(o)||(()=>new o);this.records.set(o,Ao(f,Sa));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=Po(t=X(t))?t:X(t&&t.provide);const i=Hh(e=t)?Ao(void 0,e.useValue):Ao(Uh(e),Sa);var e;if(Po(t)||!0!==t.multi)this.records.get(s);else{let o=this.records.get(s);o||(o=Ao(void 0,Sa,!0),o.factory=()=>Gi(o.multi),this.records.set(s,o)),s=t,o.multi.push(t)}this.records.set(s,i)}hydrate(t,n){return n.value===Sa&&(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=X(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function cc(e){const t=Ot(e),n=null!==t?t.factory:Dr(e);if(null!==n)return n;if(e instanceof On)throw new Error(`Token ${x(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=Ii(t,"?");throw new Error(`Can't resolve all parameters for ${x(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[Vn]||e[Kt]);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 Uh(e,t,n){let r;if(Po(e)){const s=X(e);return Dr(s)||cc(s)}if(Hh(e))r=()=>X(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Gi(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>jn(X(e.useExisting));else{const s=X(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Dr(s)||cc(s);r=()=>new s(...Gi(e.deps))}return r}function Ao(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Hh(e){return null!==e&&"object"==typeof e&&Eu in e}function Po(e){return"function"==typeof e}const $h=function(e,t,n){return function(e,t=null,n=null,r){const s=jh(e,t,n,r);return s._resolveInjectorDefTypes(),s}({name:n},t,e,n)};class on{static create(t,n){return Array.isArray(t)?$h(t,n,""):$h(t.providers,t.parent,t.name||"")}}function pC(e,t){Di(Pu(e)[1],An())}function mc(e){let t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(Wn(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=yc(e.inputs),o.declaredInputs=yc(e.declaredInputs),o.outputs=yc(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),H(e.inputs,s.inputs),H(e.declaredInputs,s.declaredInputs),H(e.outputs,s.outputs),Wn(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===mc&&(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=ho(s.hostAttrs,n=ho(n,s.hostAttrs))}}(r)}function yc(e){return e===zt?{}:e===ht?[]: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=ha,on.NULL=new Vh,on.\u0275prov=Ze({token:on,providedIn:"any",factory:()=>jn(Mo)}),on.__NG_ELEMENT_ID__=-1;let Al=null;function Ro(){if(!Al){const e=Ge.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 Ss{constructor(t){this.wrapped=t}static wrap(t){return new Ss(t)}static unwrap(t){return Ss.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Ss}}function Ma(e){return!!_c(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ro()in e)}function _c(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ks(e,t,n){return e[t]=n}function Aa(e,t){return e[t]}function _r(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Qi(e,t,n,r){const s=_r(e,t,n);return _r(e,t+1,r)||s}function fs(e,t,n,r,s,i){const o=Qi(e,t,n,r);return Qi(e,t+2,s,i)||o}function vc(e,t,n,r){const s=Me();return _r(s,ut(),t)&&(At(),Gs($e(),s,e,t,n,r)),vc}function xo(e,t,n,r){return _r(e,ut(),n)?t+oe(n)+r:wt}function mp(e,t,n,r,s,i,o,a){const f=Me(),m=At(),b=e+20,A=m.firstCreatePass?function(e,t,n,r,s,i,o,a,f){const m=t.consts,b=To(t,e,4,o||null,Tr(m,a));nc(t,n,b,Tr(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]=Rh(R,f,R,A)),ss(A)&&ec(m,f,A),null!=o&&tc(f,A,a)}function yp(e){return nn(mt.lFrame.contextLView,20+e)}function Pa(e,t=qe.Default){const n=Me();return null===n?jn(e,t):C(An(),n,X(e),t)}function wc(e,t,n){const r=Me();return _r(r,ut(),t)&&Jr(At(),$e(),r,e,t,r[O],n,!1),wc}function Tc(e,t,n,r,s){const o=s?"class":"style";Lh(e,n,t.inputs[o],o,r)}function Sc(e,t,n,r){const s=Me(),i=At(),o=20+e,a=s[O],f=s[o]=Lu(a,t,mt.lFrame.currentNamespace),m=i.firstCreatePass?function(e,t,n,r,s,i,o){const a=t.consts,m=To(t,e,2,s,Tr(a,i));return nc(t,n,m,Tr(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&&oa(a,f,b);const A=m.classes;null!==A&&$u(a,f,A);const R=m.styles;null!==R&&eh(a,f,R),64!=(64&m.flags)&&Cl(i,s,f,m),0===mt.lFrame.elementDepthCount&&yr(f,s),mt.lFrame.elementDepthCount++,ss(m)&&(ec(i,s,m),vh(i,m,s)),null!==r&&tc(s,m)}function Ic(){let e=An();g()?w():(e=e.parent,u(e,!1));const t=e;mt.lFrame.elementDepthCount--;const n=At();n.firstCreatePass&&(Di(n,e),ks(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Tc(n,t,Me(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Tc(n,t,Me(),t.stylesWithoutHost,!1)}function Ap(e,t,n,r){Sc(e,t,n,r),Ic()}function Mc(e,t,n){const r=Me(),s=At(),i=e+20,o=s.firstCreatePass?function(e,t,n,r,s){const i=t.consts,o=Tr(i,r),a=To(t,e,8,"ng-container",o);return null!==o&&Ml(a,o,!0),nc(t,n,a,Tr(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),ss(o)&&(ec(s,r,o),vh(s,o,r)),null!=n&&tc(r,o)}function Ac(){let e=An();const t=At();g()?w():(e=e.parent,u(e,!1)),t.firstCreatePass&&(Di(t,e),ks(e)&&t.queries.elementEnd(e))}function Pp(e,t,n){Mc(e,t,n),Ac()}function Rp(){return Me()}function Pc(e){return!!e&&"function"==typeof e.then}function Op(e){return!!e&&"function"==typeof e.subscribe}const Rc=Op;function Oc(e,t,n,r){const s=Me(),i=At(),o=An();return xp(i,s,s[O],o,e,t,!!n,r),Oc}function xc(e,t){const n=An(),r=Me(),s=At();return xp(s,r,Fh(Pn(s.data),n,r),n,e,t,!1),xc}function xp(e,t,n,r,s,i,o,a){const f=ss(r),b=e.firstCreatePass&&Nh(e),A=t[8],R=xh(t);let V=!0;if(3&r.type||a){const re=lt(r,t),Fe=a?a(re):re,be=R.length,et=a?vt=>a(He(vt[r.index])):r.index;if(M(n)){let vt=null;if(!a&&f&&(vt=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!==vt)(vt.__ngLastListenerFn__||vt).__ngNextListenerFn__=i,vt.__ngLastListenerFn__=i,V=!1;else{i=Nc(r,t,A,i,!1);const Ht=n.listen(Fe,s,i);R.push(i,Ht),b&&b.push(s,et,be,be+1)}}else i=Nc(r,t,A,i,!0),Fe.addEventListener(s,i,o),R.push(i),b&&b.push(s,et,be,o)}else i=Nc(r,t,A,i,!1);const q=r.outputs;let de;if(V&&null!==q&&(de=q[s])){const re=de.length;if(re)for(let Fe=0;Fe<re;Fe+=2){const qn=t[de[Fe]][de[Fe+1]].subscribe(i),gs=R.length;R.push(i,qn),b&&b.push(s,r.index,gs,-(gs+1))}}}function Np(e,t,n,r){try{return!1!==n(r)}catch(s){return kh(e,s),!1}}function Nc(e,t,n,r,s){return function i(o){if(o===Function)return r;const a=2&e.flags?bn(e.index,t):t;0==(32&t[2])&&ic(a);let f=Np(t,0,r,o),m=i.__ngNextListenerFn__;for(;m;)f=Np(t,0,m,o)&&f,m=m.__ngNextListenerFn__;return s&&!1===f&&(o.preventDefault(),o.returnValue=!1),f}}function Fp(e=1){return function(e){return(mt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,mt.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?sh(e,i,!0):rE(r,i))return s}else n=s}return n}function kp(e){const t=Me()[16][6];if(!t.projection){const r=t.projection=Ii(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 Lp(e,t=0,n){const r=Me(),s=At(),i=To(s,20+e,16,null,n||null);null===i.projection&&(i.projection=t),w(),64!=(64&i.flags)&&function(e,t,n){Xf(t[O],0,t,n,$f(e,n,t),Kf(n.parent||t[6],n,t))}(s,r,i)}function Fc(e,t,n){return Ol(e,"",t,"",n),Fc}function Ol(e,t,n,r,s){const i=Me(),o=xo(i,t,n,r);return o!==wt&&Jr(At(),$e(),i,e,o,i[O],s,!1),Ol}function Gp(e,t,n,r,s){const i=e[n+1],o=null===t;let a=r?ws(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?Gu(b):Wu(b)),a=r?ws(b):ci(b)}f&&(e[n+1]=r?Wu(i):Gu(i))}function tb(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&go(e,t)>=0}const Qn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Kp(e){return e.substring(Qn.key,Qn.keyEnd)}function Yp(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),Ho(e,t,n))}function Ho(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function kc(e,t,n){return Is(e,t,n,!1),kc}function Lc(e,t){return Is(e,t,null,!0),Lc}function Xp(e){Ms(Zr,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),Yp(e,Ho(e,0,Qn.textEnd))}(t);n>=0;n=Yp(t,n))Zr(e,Kp(t),!0)}function Is(e,t,n,r){const s=Me(),i=At(),o=Et(2);i.firstUpdatePass&&tg(i,e,o,r),t!==wt&&_r(s,o,t)&&rg(i,i.data[Ue()],s,s[O],e,s[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=x(ui(e)))),e}(t,n),r,o)}function Ms(e,t,n,r){const s=At(),i=Et(2);s.firstUpdatePass&&tg(s,null,i,r);const o=Me();if(n!==wt&&_r(o,i,n)){const a=s.data[Ue()];if(ig(a,r)&&!eg(s,i)){let f=r?a.classesWithoutHost:a.stylesWithoutHost;null!==f&&(n=ue(f,n||"")),Tc(s,a,o,n,r)}else!function(e,t,n,r,s,i,o,a){s===wt&&(s=ht);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,V=m<i.length?i[m+1]:void 0;let de,q=null;b===A?(f+=2,m+=2,R!==V&&(q=A,de=V)):null===A||null!==b&&b<A?(f+=2,q=b):(m+=2,q=A,de=V),null!==q&&rg(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 ht;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 eg(e,t){return t>=e.expandoStartIndex}function tg(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[Ue()],o=eg(e,n);ig(i,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){const s=Pn(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=Ra(n=Vc(null,e,t,n,r),t.attrs,r),i=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==s)if(n=Vc(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[ws(r)]}(e,t,r);void 0!==f&&Array.isArray(f)&&(f=Vc(null,e,t,f[1],r),f=Ra(f,t.attrs,r),function(e,t,n,r){e[ws(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=Ra(r,e[i].hostAttrs,n);return Ra(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=ws(o),f=ci(o);e[r]=n;let b,m=!1;if(Array.isArray(n)){const A=n;b=A[1],(null===b||go(A,b)>0)&&(m=!0)}else b=n;if(s)if(0!==f){const R=ws(e[a+1]);e[r+1]=Dl(R,a),0!==R&&(e[R+1]=zu(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]=zu(e[a+1],r)),a=r;else e[r+1]=Dl(f,0),0===a?a=r:e[f+1]=zu(e[f+1],r),f=r;m&&(e[r+1]=Wu(e[r+1])),Gp(e,b,r,!0),Gp(e,b,r,!1),function(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&go(i,t)>=0&&(n[r+1]=Gu(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 Vc(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=Ra(r,i.hostAttrs,s),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Ra(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]),Zr(e,o,!!n||t[++i]))}return void 0===e?null:e}function rg(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)?sg(f,t,n,s,ci(m),o):void 0)||(xl(i)||function(e){return 2==(2&e)}(m)&&(i=sg(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,Yt(Ue(),n),s,i))}function sg(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===wt&&(R=A?ht:void 0);let V=A?mu(R,r):b===r?R:void 0;if(m&&!xl(V)&&(V=mu(f,r)),xl(V)&&(a=V,o))return a;const q=e[s+1];s=o?ws(q):ci(q)}if(null!==t){let f=i?t.residualClasses:t.residualStyles;null!=f&&(a=mu(f,r))}return a}function xl(e){return void 0!==e}function ig(e,t){return 0!=(e.flags&(t?16:32))}function og(e,t=""){const n=Me(),r=At(),s=e+20,i=r.firstCreatePass?To(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 Bc(e){return Nl("",e,""),Bc}function Nl(e,t,n){const r=Me(),s=xo(r,e,t,n);return s!==wt&&fi(r,Ue(),s),Nl}function jc(e,t,n,r,s){const i=Me(),o=function(e,t,n,r,s,i){const a=Qi(e,Le(),n,s);return Et(2),a?t+oe(n)+r+oe(s)+i:wt}(i,e,t,n,r,s);return o!==wt&&fi(i,Ue(),o),jc}function pg(e,t,n){Ms(Zr,Qs,xo(Me(),e,t,n),!0)}function Uc(e,t,n){const r=Me();return _r(r,ut(),t)&&Jr(At(),$e(),r,e,t,r[O],n,!0),Uc}function Hc(e,t,n){const r=Me();if(_r(r,ut(),t)){const i=At(),o=$e();Jr(i,o,r,e,t,Fh(Pn(i.data),o,r),n,!0)}return Hc}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 $o={};function $c(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Tg(t);if(n)return n;const r=t.split("-")[0];if(n=Tg(r),n)return n;if("en"===r)return Nb;throw new Error(`Missing locale data for the locale "${e}".`)}function wg(e){return $c(e)[ft.PluralCase]}function Tg(e){return e in $o||($o[e]=Ge.ng&&Ge.ng.common&&Ge.ng.common.locales&&Ge.ng.common.locales[e]),$o[e]}var ft=(()=>((ft=ft||{})[ft.LocaleId=0]="LocaleId",ft[ft.DayPeriodsFormat=1]="DayPeriodsFormat",ft[ft.DayPeriodsStandalone=2]="DayPeriodsStandalone",ft[ft.DaysFormat=3]="DaysFormat",ft[ft.DaysStandalone=4]="DaysStandalone",ft[ft.MonthsFormat=5]="MonthsFormat",ft[ft.MonthsStandalone=6]="MonthsStandalone",ft[ft.Eras=7]="Eras",ft[ft.FirstDayOfWeek=8]="FirstDayOfWeek",ft[ft.WeekendRange=9]="WeekendRange",ft[ft.DateFormat=10]="DateFormat",ft[ft.TimeFormat=11]="TimeFormat",ft[ft.DateTimeFormat=12]="DateTimeFormat",ft[ft.NumberSymbols=13]="NumberSymbols",ft[ft.NumberFormats=14]="NumberFormats",ft[ft.CurrencyCode=15]="CurrencyCode",ft[ft.CurrencySymbol=16]="CurrencySymbol",ft[ft.CurrencyName=17]="CurrencyName",ft[ft.Currencies=18]="Currencies",ft[ft.Directionality=19]="Directionality",ft[ft.PluralCase=20]="PluralCase",ft[ft.ExtraData=21]="ExtraData",ft))();const Fl="en-US";let Sg=Fl;function Wc(e){he(e,"Expected localeId to be defined"),"string"==typeof e&&(Sg=e.toLowerCase().replace(/_/g,"-"))}function Kc(e,t,n,r,s){if(e=X(e),Array.isArray(e))for(let i=0;i<e.length;i++)Kc(e[i],t,n,r,s);else{const i=At(),o=Me();let a=Po(e)?e:X(e.provide),f=Uh(e);const m=An(),b=1048575&m.providerIndexes,A=m.directiveStart,R=m.providerIndexes>>20;if(Po(e)||!e.multi){const V=new wi(f,s,Pa),q=Qc(a,t,s?b:b+R,A);-1===q?(h($i(m,o),i,a),Yc(i,e,t.length),t.push(a),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),n.push(V),o.push(V)):(n[q]=V,o[q]=V)}else{const V=Qc(a,t,b+R,A),q=Qc(a,t,b,b+R),de=V>=0&&n[V],re=q>=0&&n[q];if(s&&!re||!s&&!de){h($i(m,o),i,a);const Fe=function(e,t,n,r,s){const i=new wi(e,n,Pa);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=Fe),Yc(i,e,t.length,0),t.push(a),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),n.push(Fe),o.push(Fe)}else Yc(i,e,V>-1?V:q,qg(n[s?q:V],f,!s&&r));!s&&r&&re&&n[q].componentProviders++}}}function Yc(e,t,n,r){const s=Po(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 Qc(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=We(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 Zg(e,t=[]){return n=>{n.providersResolver=(r,s)=>function(e,t,n){const r=At();if(r.firstCreatePass){const s=Wn(e);Kc(n,r.data,r.blueprint,s,!0),Kc(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class Jg{}const em="ngComponent";class ND{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${x(e)}. Did you add it to @NgModule.entryComponents?`);return t[em]=e,t}(t)}}class Zi{}function jl(...e){}function zo(e,t){return new qs(lt(e,t))}Zi.NULL=new ND;const LD=function(){return zo(An(),Me())};let qs=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=LD,e})();function tm(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=Me(),n=bn(An().index,e);return function(e){return e[O]}(Dn(n)?n:e)};let Jc=(()=>{class e{}return e.\u0275prov=Ze({token:e,providedIn:"root",factory:()=>null}),e})();class nm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const rm=new nm("12.2.4");class sm{constructor(){}supports(t){return Ma(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<om(r,s,i)?n:r,a=om(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 V=R<i.length?i[R]:i[R]=0,q=V+R;b<=q&&q<m&&(i[R]=V+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=[]),!Ma(t))throw new Error(`Error trying to diff '${x(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[Ro()]();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 im),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 im),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 im{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 om(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 am{constructor(){}supports(t){return t instanceof Map||_c(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||_c(t)))throw new Error(`Error trying to diff '${x(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 lm(){return new Hl([new sm])}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||lm()),deps:[[e,new Mi,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=Ze({token:e,providedIn:"root",factory:lm}),e})();function um(){return new $l([new am])}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||um()),deps:[[e,new Mi,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=Ze({token:e,providedIn:"root",factory:um}),e})();function Wl(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(He(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=xu(n,t);let f;for(;f=a();)r.push(f)}else if(16&o){const a=Zf(t,n);if(Array.isArray(a))r.push(...a);else{const f=Ca(t[16]);Wl(f[1],f,a,r,!0)}}n=s?n.projectionNext:n.next}return r}class ka{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&&(Vu(t,r),zi(n,r))}this._attachedToViewContainer=!1}Hf(this._lView[1],this._lView)}onDestroy(t){Dh(this._lView[1],this._lView,null,t)}markForCheck(){ic(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ac(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){ne(!0);try{ac(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,ba(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 ka{constructor(t){super(t),this._view=t}detectChanges(){Oh(this._view)}checkNoChanges(){!function(e){ne(!0);try{Oh(e)}finally{ne(!1)}}(this._view)}get context(){return null}}const JD=function(e){return function(e,t,n){if(Mn(e)&&!n){const r=bn(e.index,t);return new ka(r,r)}return 47&e.type?new ka(t[16],t):null}(An(),Me(),16==(16&e))};let XD=(()=>{class e{}return e.__NG_ELEMENT_ID__=JD,e})();const n0=[new am],s0=new Hl([new sm]),i0=new $l(n0),a0=function(){return zl(An(),Me())};let La=(()=>{class e{}return e.__NG_ELEMENT_ID__=a0,e})();const l0=La,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=Da(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)),wa(n,r,t),new ka(r)}};function zl(e,t){return 4&e.type?new u0(t,e,zo(e,t)):null}class Ji{}class cm{}const f0=function(){return hm(An(),Me())};let Gl=(()=>{class e{}return e.__NG_ELEMENT_ID__=f0,e})();const p0=Gl,dm=class extends p0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return zo(this._hostTNode,this._hostLView)}get injector(){return new Lt(this._hostTNode,this._hostLView)}get parentInjector(){const t=ca(this._hostTNode,this._hostLView);if(ol(t)){const n=Si(t,this._hostLView),r=Ti(t);return new Lt(n[1].data[r+8],n)}return new Lt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=fm(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(Ji,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 dm(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=Uu(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,ba(e,r,n,1,s,i)}(s,o[6],f,r,m,a),t.attachToViewContainerRef(),dl(Xc(o),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=fm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Vu(this._lContainer,n);r&&(zi(Xc(this._lContainer),n),Hf(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Vu(this._lContainer,n);return r&&null!=zi(Xc(this._lContainer),n)?new ka(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function fm(e){return e[8]}function Xc(e){return e[8]||(e[8]=[])}function hm(e,t){let n;const r=t[e.index];if(Bn(r))n=r;else{let s;if(8&e.type)s=He(r);else{const i=t[O];s=i.createComment("");const o=lt(e,t);Yi(i,El(i,o),s,function(e,t){return M(e)?e.nextSibling(t):t.nextSibling}(i,o),!1)}t[e.index]=n=Rh(r,t,s,e),Il(t,n)}return new dm(n,e,t)}const Qo={};class xm extends Zi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=me(t);return new Fm(n,this.ngModule)}}function Nm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const cw=new On("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Nf});class Fm extends Jg{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 Nm(this.componentDef.inputs)}get outputs(){return Nm(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,Qo,s);return i!==Qo||r===Qo?i:t.get(n,r,s)}}}(t,s.injector):t,o=i.get(Ul,ye),a=i.get(Jc,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===dt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(f,r,this.componentDef.encapsulation):Lu(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||Nf,clean:HE,playerHandler:t||null,flags:0}}(),V=Sl(0,null,null,1,0,null,null,null,null,null),q=Da(null,V,R,A,null,null,o,f,a,i);let de,re;mr(q);try{const Fe=function(e,t,n,r,s,i){const o=n[1];n[20]=e;const f=To(o,20,2,"#host",null),m=f.mergedAttrs=t.hostAttrs;null!==m&&(Ml(f,m,!0),null!==e&&(oa(s,e,m),null!==f.classes&&$u(s,e,f.classes),null!==f.styles&&eh(s,e,f.styles)));const b=r.createRenderer(e,t),A=Da(n,Eh(t),null,t.onPush?64:16,n[20],f,r,b,i||null,null);return o.firstCreatePass&&(h($i(f,n),o,t.type),Mh(o,f),Ah(f,n.length,1)),Il(n,A),n[20]=A}(b,this.componentDef,q,o,f);if(b)if(r)oa(f,b,["ng-version",rm.full]);else{const{attrs:be,classes:et}=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(!Ds(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);be&&oa(f,b,be),et&&et.length>0&&$u(f,b,et.join(" "))}if(re=Qt(V,20),void 0!==n){const be=re.projection=[];for(let et=0;et<this.ngContentSelectors.length;et++){const vt=n[et];be.push(null!=vt?Array.from(vt):null)}}de=function(e,t,n,r,s){const i=n[1],o=function(e,t,n){const r=An();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ph(e,r,t,So(e,t,1,null),n));const s=We(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=An();t.contentQueries(1,o,f.directiveStart)}const a=An();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Je(a.index),Sh(n[1],a,0,a.directiveStart,a.directiveEnd,t),Ih(t,o)),o}(Fe,this.componentDef,q,R,[pC]),wa(V,q,null)}finally{Lr()}return new hw(this.componentType,de,zo(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 Lt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const qo=new Map;class mw extends Ji{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new xm(this);const r=$t(t),s=t[Br]||null;s&&Wc(s),this._bootstrapComponents=Ws(r.bootstrap),this._r3Injector=jh(t,n,[{provide:Ji,useValue:this},{provide:Zi,useValue:this.componentFactoryResolver}],x(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=on.THROW_IF_NOT_FOUND,r=qe.Default){return t===on||t===Ji||t===Mo?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 fd extends cm{constructor(t){super(),this.moduleType=t,null!==$t(t)&&function(e){const t=new Set;!function n(r){const s=$t(r,!0),i=s.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${x(t)} vs ${x(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 Vm(e,t,n){const r=ge()+e,s=Me();return s[r]===wt?Ks(s,r,n?t.call(n):t()):Aa(s,r)}function Bm(e,t,n,r){return Wm(Me(),ge(),e,t,n,r)}function jm(e,t,n,r,s){return zm(Me(),ge(),e,t,n,r,s)}function Um(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=Qi(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)):za(e,f+3)}(Me(),ge(),e,t,n,r,s,i)}function Hm(e,t,n,r,s,i,o){return function(e,t,n,r,s,i,o,a,f){const m=t+n;return fs(e,m,s,i,o,a)?Ks(e,m+4,f?r.call(f,s,i,o,a):r(s,i,o,a)):za(e,m+4)}(Me(),ge(),e,t,n,r,s,i,o)}function $m(e,t,n,r,s,i,o,a){const f=ge()+e,m=Me(),b=fs(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)):Aa(m,f+5)}function za(e,t){const n=e[t];return n===wt?void 0:n}function Wm(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)):za(e,o+1)}function zm(e,t,n,r,s,i,o){const a=t+n;return Qi(e,a,s,i)?Ks(e,a+2,o?r.call(o,s,i):r(s,i)):za(e,a+2)}function Qm(e,t){const n=At();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 Ne("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=Dr(r.type)),o=Y(Pa);try{const a=Hi(!1),f=i();return Hi(a),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Me(),s,f),f}finally{Y(o)}}function qm(e,t,n){const r=e+20,s=Me(),i=nn(s,r);return Ka(s,Ga(s,r)?Wm(s,ge(),t,i.transform,n,i):i.transform(n))}function Zm(e,t,n,r){const s=e+20,i=Me(),o=nn(i,s);return Ka(i,Ga(i,s)?zm(i,ge(),t,o.transform,n,r,o):o.transform(n,r))}function Ga(e,t){return e[1].data[t].pure}function Ka(e,t){return Ss.isWrapped(t)&&(t=Ss.unwrap(t),e[Le()]=wt),t}function hd(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=hd(f),a&&(a=hd(a)),m&&(m=hd(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[Ro()]()}class Ya{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=Ro(),r=Ya.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=cs(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 pd{constructor(t){this.queryList=t,this.matches=null}clone(){return new pd(this.queryList)}setDirty(){this.queryList.setDirty()}}class gd{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 gd(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!==oy(t,n).matches&&this.queries[n].setDirty()}}class Jm{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class md{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 md(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 yd{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 yd(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,Ee(n,t,i,!1,!1))}else r===La?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ee(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===La&&4&n.type)this.addMatch(n.index,-2);else{const i=Ee(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?zo(e,t):4&e.type?zl(e,t):null}(t,e):-2===n?function(e,t,n){return n===qs?zo(t,e):n===La?zl(t,e):n===Gl?hm(t,e):void 0}(e,t,r):We(e,e[1],n,t)}function Xm(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 _d(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const o=Xm(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]&&_d(R[1],R,m,r)}if(null!==b[9]){const A=b[9];for(let R=0;R<A.length;R++){const V=A[R];_d(V[1],V,m,r)}}}}}return r}function ey(e){const t=Me(),n=At(),r=Tn();Gr(r+1);const s=oy(n,r);if(e.dirty&&nr(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?_d(n,t,r,[]):Xm(n,t,s,r);e.reset(i,tm),e.notifyOnChanges()}return!0}return!1}function ty(e,t,n){const r=At();r.firstCreatePass&&(iy(r,new Jm(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),sy(r,Me(),t)}function ny(e,t,n,r){const s=At();if(s.firstCreatePass){const i=An();iy(s,new Jm(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)}sy(s,Me(),n)}function ry(){return e=Me(),t=Tn(),e[19].queries[t].queryList;var e,t}function sy(e,t,n){const r=new Ya(4==(4&n));Dh(e,t,r,r.destroy),null===t[19]&&(t[19]=new gd),t[19].queries.push(new pd(r))}function iy(e,t,n){null===e.queries&&(e.queries=new md),e.queries.track(new yd(t,n))}function oy(e,t){return e.queries.getByIndex(t)}function ay(e,t){return zl(e,t)}const wd=new On("Application Initializer");let Jo=(()=>{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(Pc(i))n.push(i);else if(Rc(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(wd,8))},e.\u0275prov=Ze({token:e,factory:e.\u0275fac}),e})();const Ty=new On("AppId"),aT={provide:Ty,useFactory:function(){return`${Td()}${Td()}${Td()}`},deps:[]};function Td(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Sy=new On("Platform Initializer"),Iy=new On("Platform ID"),My=new On("appBootstrapListener");let Ay=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ze({token:e,factory:e.\u0275fac}),e})();const Xl=new On("LocaleId"),Py=new On("DefaultCurrencyCode");class uT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}const Sd=function(e){return new fd(e)},cT=Sd,dT=function(e){return Promise.resolve(Sd(e))},Ry=function(e){const t=Sd(e),r=Ws($t(e).declarations).reduce((s,i)=>{const o=me(i);return o&&s.push(new Fm(o)),s},[]);return new uT(t,r)},fT=Ry,hT=function(e){return Promise.resolve(Ry(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=Ze({token:e,factory:e.\u0275fac}),e})();const mT=(()=>Promise.resolve(0))();function Id(e){"undefined"==typeof Zone?mT.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Xr{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=Ge.requestAnimationFrame,t=Ge.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(Ge,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ad(e),e.isCheckStableRunning=!0,Md(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ad(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return Oy(e),n.invokeTask(s,i,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),xy(e)}},onInvoke:(n,r,s,i,o,a,f)=>{try{return Oy(e),n.invoke(s,i,o,a,f)}finally{e.shouldCoalesceRunChangeDetection&&t(),xy(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ad(e),Md(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(!Xr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Xr.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 Md(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 Ad(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Oy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xy(e){e._nesting--,Md(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 Ny=(()=>{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:()=>{Xr.assertNotInAngularZone(),Id(()=>{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())Id(()=>{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(Xr))},e.\u0275prov=Ze({token:e,factory:e.\u0275fac}),e})(),Fy=(()=>{class e{constructor(){this._applications=new Map,Pd.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 Pd.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ze({token:e,factory:e.\u0275fac}),e})();class bT{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function DT(e){Pd=e}let Pd=new bT,ky=!0,Ly=!1;function Rd(){return Ly=!0,ky}function wT(){if(Ly)throw new Error("Cannot enable prod mode after platform setup.");ky=!1}let Rs;const Vy=new On("AllowMultipleToken");class RT{constructor(t,n){this.name=t,this.token=n}}function By(e,t,n=[]){const r=`Platform: ${t}`,s=new On(r);return(i=[])=>{let o=jy();if(!o||o.injector.get(Vy,!1))if(e)e(n.concat(i).concat({provide:s,useValue:!0}));else{const a=n.concat(i).concat({provide:s,useValue:!0},{provide:Ta,useValue:"platform"});!function(e){if(Rs&&!Rs.destroyed&&!Rs.injector.get(Vy,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Rs=e.get(Uy);const t=e.get(Sy,null);t&&t.forEach(n=>n())}(on.create({providers:a,name:r}))}return function(e){const t=jy();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 jy(){return Rs&&!Rs.destroyed?Rs:null}let Uy=(()=>{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 Xr({enableLongStackTrace:Rd(),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:Xr,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(bo,null);if(!A)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(()=>{const R=a.onError.subscribe({next:V=>{A.handleError(V)}});b.onDestroy(()=>{Od(this._modules,b),R.unsubscribe()})}),function(e,t,n){try{const r=n();return Pc(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(Jo);return R.runInitializers(),R.donePromise.then(()=>(Wc(b.injector.get(Xl,Fl)||Fl),this._moduleDoBootstrap(b),b))})})}bootstrapModule(n,r=[]){const s=Hy({},r);return function(e,t,n){const r=new fd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(n){const r=n.injector.get(Za);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new Error(`The module ${x(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=Ze({token:e,factory:e.\u0275fac}),e})();function Hy(e,t){return Array.isArray(t)?t.reduce(Hy,e):Object.assign(Object.assign({},e),t)}let Za=(()=>{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(()=>{Xr.assertNotInAngularZone(),Id(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))})})});const A=this._zone.onUnstable.subscribe(()=>{Xr.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,F.x)()((0,K.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 Jg?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(s.componentType);const i=function(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Ji),a=s.create(on.NULL,[],r||s.selector,i),f=a.location.nativeElement,m=a.injector.get(Ny,null),b=m&&a.injector.get(Fy);return m&&b&&b.registerApplication(f,m),a.onDestroy(()=>{this.detachView(a.hostView),Od(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;Od(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(My,[]).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(Xr),jn(on),jn(bo),jn(Zi),jn(Jo))},e.\u0275prov=Ze({token:e,factory:e.\u0275fac}),e})();function Od(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=>Gy(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=>Gy(o,r,s))}}return e.\u0275fac=function(n){return new(n||e)(jn(qa),jn(BT,8))},e.\u0275prov=Ze({token:e,factory:e.\u0275fac}),e})();function Gy(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const QT=function(e){return null},ZT=By(null,"core",[{provide:Iy,useValue:"unknown"},{provide:Uy,deps:[on]},{provide:Fy,deps:[]},{provide:Ay,deps:[]}]),nS=[{provide:Za,useClass:Za,deps:[Xr,on,bo,Zi,Jo]},{provide:cw,deps:[Xr],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:Jo,useClass:Jo,deps:[[new li,wd]]},{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 Wc(e=e||"undefined"!=typeof $localize&&$localize.locale||Fl),e},deps:[[new _o(Xl),new li,new Mi]]},{provide:Py,useValue:"USD"}];let sS=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(jn(Za))},e.\u0275mod=Hn({type:e}),e.\u0275inj=Gt({providers:nS}),e})()},6237:(Ke,pe,I)=>{"use strict";I.d(pe,{Qb:()=>ji,PW:()=>lo});var _=I(8720),p=I(9075),ie=I(7238);function ce(){return"undefined"!=typeof window&&void 0!==window.document}function K(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function F(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 k=[],B=[];let ne=-1,ge=null;if(g.forEach(Le=>{const Qe=Le.offset,ut=Qe==ne,Et=ut&&ge||{};Object.keys(Le).forEach(it=>{let _t=it,xt=Le[it];if("offset"!==it)switch(_t=l.normalizePropertyName(_t,k),xt){case ie.k1:xt=w[it];break;case ie.l3:xt=P[it];break;default:xt=l.normalizeStyleValue(it,_t,xt,k)}Et[_t]=xt}),ut||B.push(Et),ge=Et,ne=Qe}),k.length){const Le="\n - ";throw new Error(`Unable to animate due to the following errors:${Le}${k.join(Le)}`)}return B}function te(D,l,u,g){switch(l){case"start":D.onStart(()=>g(u&&U(u,"start",D)));break;case"done":D.onDone(()=>g(u&&U(u,"done",D)));break;case"destroy":D.onDestroy(()=>g(u&&U(u,"destroy",D)))}}function U(D,l,u){const g=u.totalTime,P=H(D.element,D.triggerName,D.fromState,D.toState,l||D.phaseName,null==g?D.totalTime:g,!!u.disabled),k=D._data;return null!=k&&(P._data=k),P}function H(D,l,u,g,w="",P=0,k){return{element:D,triggerName:l,fromState:u,toState:g,phaseName:w,totalTime:P,disabled:!!k}}function x(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,X=(D,l)=>!1,Te=(D,l,u)=>[];const Ve=K();(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),X=(()=>{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]):X}})(),Te=(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 ze(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 tt=X,at=ve,pt=Te;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 It=(()=>{class D{validateStyleProperty(u){return ze(u)}matchesElement(u,g){return tt(u,g)}containsElement(u,g){return at(u,g)}query(u,g,w){return pt(u,g,w)}computeStyle(u,g,w){return w||""}animate(u,g,w,P,k,B=[],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 It;const Gn="ng-enter",Fn="ng-leave",vn="ng-trigger",jt=".ng-trigger",he="ng-animating",De=".ng-animating";function J(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 ke(D,l,u){return D.hasOwnProperty("duration")?D:function(D,l,u){let w,P=0,k="";if("string"==typeof D){const B=D.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===B)return l.push(`The provided timing value "${D}" is invalid.`),{duration:0,delay:0,easing:""};w=le(parseFloat(B[1]),B[2]);const ne=B[3];null!=ne&&(P=le(parseFloat(ne),B[4]));const ge=B[5];ge&&(k=ge)}else w=D;if(!u){let B=!1,ne=l.length;w<0&&(l.push("Duration values below 0 are not allowed for this animation step."),B=!0),P<0&&(l.push("Delay values below 0 are not allowed for this animation step."),B=!0),B&&l.splice(ne,0,`The provided timing value "${D}" is invalid.`)}return{duration:w,delay:P,easing:k}}(D,l,u)}function en(D,l={}){return Object.keys(D).forEach(u=>{l[u]=D[u]}),l}function Ot(D,l,u={}){if(l)for(let g in D)u[g]=D[g];else en(D,u);return u}function Un(D,l,u){return u?l+":"+u+";":""}function cn(D){let l="";for(let u=0;u<D.style.length;u++){const g=D.style.item(u);l+=Un(0,g,D.style.getPropertyValue(g))}for(const u in D.style)D.style.hasOwnProperty(u)&&!u.startsWith("_")&&(l+=Un(0,xe(u),D.style[u]));D.setAttribute("style",l)}function an(D,l,u){D.style&&(Object.keys(l).forEach(g=>{const w=Y(g);u&&!u.hasOwnProperty(g)&&(u[g]=D.style[w]),D.style[w]=l[g]}),K()&&cn(D))}function Ln(D,l){D.style&&(Object.keys(l).forEach(u=>{const g=Y(u);D.style[g]=""}),K()&&cn(D))}function Vn(D){return Array.isArray(D)?1==D.length?D[0]:(0,ie.vP)(D):D}const Kt=new RegExp("{{\\s*(.+?)\\s*}}","g");function dr(D){let l=[];if("string"==typeof D){let u;for(;u=Kt.exec(D);)l.push(u[1]);Kt.lastIndex=0}return l}function qe(D,l,u){const g=D.toString(),w=g.replace(Kt,(P,k)=>{let B=l[k];return l.hasOwnProperty(k)||(u.push(`Please provide a value for the animation param ${k}`),B=""),B.toString()});return w==g?D:w}function Ce(D){const l=[];let u=D.next();for(;!u.done;)l.push(u.value),u=D.next();return l}const Q=/-+([a-z0-9])/g;function Y(D){return D.replace(Q,(...l)=>l[1].toUpperCase())}function xe(D){return D.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Oe(D,l){return 0===D||0===l}function je(D,l,u){const g=Object.keys(u);if(g.length&&l.length){let P=l[0],k=[];if(g.forEach(B=>{P.hasOwnProperty(B)||k.push(B),P[B]=u[B]}),k.length)for(var w=1;w<l.length;w++){let B=l[w];k.forEach(function(ne){B[ne]=Ae(D,ne)})}}return l}function Se(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 Ae(D,l){return window.getComputedStyle(D)[l]}function dt(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],k=g[3];l.push(Ge(w,k));"<"==P[0]&&!("*"==w&&"*"==k)&&l.push(Ge(k,w))}(g,u,l)):u.push(D),u}const qt=new Set(["true","1"]),Ct=new Set(["false","0"]);function Ge(D,l){const u=qt.has(D)||Ct.has(D),g=qt.has(l)||Ct.has(l);return(w,P)=>{let k="*"==D||D==w,B="*"==l||l==P;return!k&&u&&"boolean"==typeof w&&(k=w?qt.has(D):Ct.has(D)),!B&&g&&"boolean"==typeof P&&(B=P?qt.has(l):Ct.has(l)),k&&B}}const Mt=new RegExp("s*:selfs*,?","g");function zt(D,l,u){return new Cr(D).build(l,u)}class Cr{constructor(l){this._driver=l}build(l,u){const g=new fr(u);return this._resetContextStyleTimingState(g),Se(this,Vn(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=[],k=[];return"@"==l.name.charAt(0)&&u.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),l.definitions.forEach(B=>{if(this._resetContextStyleTimingState(u),0==B.type){const ne=B,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==B.type){const ne=this.visitTransition(B,u);g+=ne.queryCount,w+=ne.depCount,k.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:k,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,k=w||{};if(g.styles.forEach(B=>{if(yn(B)){const ne=B;Object.keys(ne).forEach(ge=>{dr(ne[ge]).forEach(Le=>{k.hasOwnProperty(Le)||P.add(Le)})})}}),P.size){const B=Ce(P.values());u.errors.push(`state("${l.name}", ...) must define default values for all the following style substitutions: ${B.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=Se(this,Vn(l.animation),u);return{type:1,matchers:dt(l.expr,u.errors),animation:g,queryCount:u.queryCount,depCount:u.depCount,options:Jn(l.options)}}visitSequence(l,u){return{type:2,steps:l.steps.map(g=>Se(this,g,u)),options:Jn(l.options)}}visitGroup(l,u){const g=u.currentTime;let w=0;const P=l.steps.map(k=>{u.currentTime=g;const B=Se(this,k,u);return w=Math.max(w,u.currentTime),B});return u.currentTime=w,{type:3,steps:P,options:Jn(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 or(ke(D,l).duration,0,"");const g=D;if(g.split(/\s+/).some(P=>"{"==P.charAt(0)&&"{"==P.charAt(1))){const P=or(0,0,"");return P.dynamic=!0,P.strValue=g,P}return u=u||ke(g,l),or(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 k=l.styles,B=!1;if(!k){B=!0;const ge={};g.easing&&(ge.easing=g.easing),k=(0,ie.oB)(ge)}u.currentTime+=g.duration+g.delay;const ne=this.visitStyle(k,u);ne.isEmptyStep=B,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(k=>{"string"==typeof k?k==ie.l3?g.push(k):u.errors.push(`The provided style string value ${k} is not allowed.`):g.push(k)}):g.push(l.styles);let w=!1,P=null;return g.forEach(k=>{if(yn(k)){const B=k,ne=B.easing;if(ne&&(P=ne,delete B.easing),!w)for(let ge in B)if(B[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(k=>{"string"!=typeof k&&Object.keys(k).forEach(B=>{if(!this._driver.validateStyleProperty(B))return void u.errors.push(`The provided animation property "${B}" is not a supported CSS property for animations`);const ne=u.collectedStyles[u.currentQuerySelector],ge=ne[B];let Le=!0;ge&&(P!=w&&P>=ge.startTime&&w<=ge.endTime&&(u.errors.push(`The CSS property "${B}" 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[B]={startTime:P,endTime:w}),u.options&&function(D,l,u){const g=l.params||{},w=dr(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`)})}(k[B],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 k=[];let B=!1,ne=!1,ge=0;const Le=l.steps.map(_n=>{const un=this._makeStyleAst(_n,u);let Pn=null!=un.offset?un.offset:function(D){if("string"==typeof D)return null;let l=null;if(Array.isArray(D))D.forEach(u=>{if(yn(u)&&u.hasOwnProperty("offset")){const g=u;l=parseFloat(g.offset),delete g.offset}});else if(yn(D)&&D.hasOwnProperty("offset")){const u=D;l=parseFloat(u.offset),delete u.offset}return l}(un.styles),Tn=0;return null!=Pn&&(P++,Tn=un.offset=Pn),ne=ne||Tn<0||Tn>1,B=B||Tn<ge,ge=Tn,k.push(Tn),un});ne&&u.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),B&&u.errors.push("Please ensure that all keyframe offsets are in order");const Qe=l.steps.length;let ut=0;P>0&&P<Qe?u.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==P&&(ut=1/(Qe-1));const Et=Qe-1,it=u.currentTime,_t=u.currentAnimateTimings,xt=_t.duration;return Le.forEach((_n,un)=>{const Pn=ut>0?un==Et?1:ut*un:k[un],Tn=Pn*xt;u.currentTime=it+_t.delay+Tn,_t.duration=Tn,this._validateStyleAst(_n,u),_n.offset=Pn,g.styles.push(_n)}),g}visitReference(l,u){return{type:8,animation:Se(this,Vn(l.animation),u),options:Jn(l.options)}}visitAnimateChild(l,u){return u.depCount++,{type:9,options:Jn(l.options)}}visitAnimateRef(l,u){return{type:10,animation:this.visitReference(l.animation,u),options:Jn(l.options)}}visitQuery(l,u){const g=u.currentQuerySelector,w=l.options||{};u.queryCount++,u.currentQuery=l;const[P,k]=function(D){const l=!!D.split(/\s*,\s*/).find(u=>":self"==u);return l&&(D=D.replace(Mt,"")),[D=D.replace(/@\*/g,jt).replace(/@\w+/g,u=>jt+"-"+u.substr(1)).replace(/:animating/g,De),l]}(l.selector);u.currentQuerySelector=g.length?g+" "+P:P,x(u.collectedStyles,u.currentQuerySelector,{});const B=Se(this,Vn(l.animation),u);return u.currentQuery=null,u.currentQuerySelector=g,{type:11,selector:P,limit:w.limit||0,optional:!!w.optional,includeSelf:k,animation:B,originalSelector:l.selector,options:Jn(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"}:ke(l.timings,u.errors,!0);return{type:12,animation:Se(this,Vn(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 yn(D){return!Array.isArray(D)&&"object"==typeof D}function Jn(D){return D?(D=en(D)).params&&(D.params=function(D){return D?en(D):null}(D.params)):D={},D}function or(D,l,u){return{duration:D,delay:l,easing:u}}function xr(D,l,u,g,w,P,k=null,B=!1){return{type:1,element:D,keyframes:l,preStyleProps:u,postStyleProps:g,duration:w,delay:P,totalTime:w+P,easing:k,subTimeline:B}}class ar{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 Hn=new RegExp(":enter","g"),j=new RegExp(":leave","g");function ae(D,l,u,g,w,P={},k={},B,ne,ge=[]){return(new L).buildKeyframes(D,l,u,g,w,P,k,B,ne,ge)}class L{buildKeyframes(l,u,g,w,P,k,B,ne,ge,Le=[]){ge=ge||new ar;const Qe=new rt(l,u,ge,w,P,Le,[]);Qe.options=ne,Qe.currentTimeline.setStyles([k],null,Qe.errors,ne),Se(this,g,Qe);const ut=Qe.timelines.filter(Et=>Et.containsAnimation());if(ut.length&&Object.keys(B).length){const Et=ut[ut.length-1];Et.allowOnlyTimelineStyles()||Et.setStyles([B],null,Qe.errors,ne)}return ut.length?ut.map(Et=>Et.buildKeyframes()):[xr(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,k=this._visitSubInstructions(g,w,w.options);P!=k&&u.transformIntoNewTimeline(k)}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 k=null!=g.duration?J(g.duration):null,B=null!=g.delay?J(g.delay):null;return 0!==k&&l.forEach(ne=>{const ge=u.appendInstructionToTimeline(ne,k,B);P=Math.max(P,ge.duration+ge.delay)}),P}visitReference(l,u){u.updateOptions(l.options,!0),Se(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 k=J(P.delay);w.delayNextStep(k)}l.steps.length&&(l.steps.forEach(k=>Se(this,k,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?J(l.options.delay):0;l.steps.forEach(k=>{const B=u.createSubContext(l.options);P&&B.delayNextStep(P),Se(this,k,B),w=Math.max(w,B.currentTimeline.currentTime),g.push(B.currentTimeline)}),g.forEach(k=>u.currentTimeline.mergeTimelineCollectedStyles(k)),u.transformIntoNewTimeline(w),u.previousNode=l}_visitTiming(l,u){if(l.dynamic){const g=l.strValue;return ke(u.params?qe(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,B=u.createSubContext().currentTimeline;B.easing=g.easing,l.styles.forEach(ne=>{B.forwardTime((ne.offset||0)*P),B.setStyles(ne.styles,ne.easing,u.errors,u.options),B.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(B),u.transformIntoNewTimeline(w+P),u.previousNode=l}visitQuery(l,u){const g=u.currentTimeline.currentTime,w=l.options||{},P=w.delay?J(w.delay):0;P&&(6===u.previousNode.type||0==g&&u.currentTimeline.getCurrentStyleProperties().length)&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=me);let k=g;const B=u.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!w.optional,u.errors);u.currentQueryTotal=B.length;let ne=null;B.forEach((ge,Le)=>{u.currentQueryIndex=Le;const Qe=u.createSubContext(l.options,ge);P&&Qe.delayNextStep(P),ge===u.element&&(ne=Qe.currentTimeline),Se(this,l.animation,Qe),Qe.currentTimeline.applyStylesToKeyframe(),k=Math.max(k,Qe.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(k),ne&&(u.currentTimeline.mergeTimelineCollectedStyles(ne),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=l}visitStagger(l,u){const g=u.parentContext,w=u.currentTimeline,P=l.timings,k=Math.abs(P.duration),B=k*(u.currentQueryTotal-1);let ne=k*u.currentQueryIndex;switch(P.duration<0?"reverse":P.easing){case"reverse":ne=B-ne;break;case"full":ne=g.currentStaggerTime}const Le=u.currentTimeline;ne&&Le.delayNextStep(ne);const Qe=Le.currentTime;Se(this,l.animation,u),u.previousNode=l,g.currentStaggerTime=w.currentTime-Qe+(w.startTime-g.currentTimeline.startTime)}}const me={};class rt{constructor(l,u,g,w,P,k,B,ne){this._driver=l,this.element=u,this.subInstructions=g,this._enterClassName=w,this._leaveClassName=P,this.errors=k,this.timelines=B,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 kt(this._driver,u,0),B.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=J(g.duration)),null!=g.delay&&(w.delay=J(g.delay));const P=g.params;if(P){let k=w.params;k||(k=this.options.params={}),Object.keys(P).forEach(B=>{(!u||!k.hasOwnProperty(B))&&(k[B]=qe(P[B],k,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 rt(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 $t(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,k){let B=[];if(w&&B.push(this.element),l.length>0){l=(l=l.replace(Hn,"."+this._enterClassName)).replace(j,"."+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)),B.push(...ge)}return!P&&0==B.length&&k.push(`\`query("${u}")\` returned zero elements. (Use \`query("${u}", { optional: true })\` if you wish to allow this.)`),B}}class kt{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 kt(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||{},k=function(D,l){const u={};let g;return D.forEach(w=>{"*"===w?(g=g||Object.keys(l),g.forEach(P=>{u[P]=ie.l3})):Ot(w,!1,u)}),u}(l,this._globalTimelineStyles);Object.keys(k).forEach(B=>{const ne=qe(k[B],P,g);this._pendingStyles[B]=ne,this._localTimelineStyles.hasOwnProperty(B)||(this._backFill[B]=this._globalTimelineStyles.hasOwnProperty(B)?this._globalTimelineStyles[B]:ie.l3),this._updateStyle(B,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((B,ne)=>{const ge=Ot(B,!0);Object.keys(ge).forEach(Le=>{const Qe=ge[Le];Qe==ie.k1?l.add(Le):Qe==ie.l3&&u.add(Le)}),g||(ge.offset=ne/this.duration),w.push(ge)});const P=l.size?Ce(l.values()):[],k=u.size?Ce(u.values()):[];if(g){const B=w[0],ne=en(B);B.offset=0,ne.offset=1,w=[B,ne]}return xr(this.element,w,P,k,this.duration,this.startTime,this.easing,!1)}}class $t extends kt{constructor(l,u,g,w,P,k,B=!1){super(l,u,k.delay),this.keyframes=g,this.preStyleProps=w,this.postStyleProps=P,this._stretchStartingKeyframe=B,this.timings={duration:k.duration,delay:k.delay,easing:k.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=[],k=g+u,B=u/k,ne=Ot(l[0],!1);ne.offset=0,P.push(ne);const ge=Ot(l[0],!1);ge.offset=lr(B),P.push(ge);const Le=l.length-1;for(let Qe=1;Qe<=Le;Qe++){let ut=Ot(l[Qe],!1);ut.offset=lr((u+ut.offset*g)/k),P.push(ut)}g=k,u=0,w="",l=P}return xr(this.element,l,this.preStyleProps,this.postStyleProps,g,u,w,!0)}}function lr(D,l=3){const u=Math.pow(10,l-1);return Math.round(D*u)/u}class st{}class En extends st{normalizePropertyName(l,u){return Y(l)}normalizeStyleValue(l,u,g,w){let P="";const k=g.toString().trim();if(pn[u]&&0!==g&&"0"!==g)if("number"==typeof g)P="px";else{const B=g.match(/^[+-]?[\d\.]+([a-z]*)$/);B&&0==B[1].length&&w.push(`Please provide a CSS unit value for ${l}:${g}`)}return k+P}}const pn=(()=>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,k,B,ne,ge,Le,Qe,ut){return{type:0,element:D,triggerName:l,isRemovalTransition:w,fromState:u,fromStyles:P,toState:g,toStyles:k,timelines:B,queriedElements:ne,preStyleProps:ge,postStyleProps:Le,totalTime:Qe,errors:ut}}const ee={};class z{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],k=w?w.buildStyles(u,g):{};return P?P.buildStyles(u,g):k}build(l,u,g,w,P,k,B,ne,ge,Le){const Qe=[],ut=this.ast.options&&this.ast.options.params||ee,it=this.buildStyles(g,B&&B.params||ee,Qe),_t=ne&&ne.params||ee,xt=this.buildStyles(w,_t,Qe),_n=new Set,un=new Map,Pn=new Map,Tn="void"===w,Gr={params:Object.assign(Object.assign({},ut),_t)},Nr=Le?[]:ae(l,u,this.ast.animation,P,k,it,xt,Gr,ge,Qe);let zn=0;if(Nr.forEach(Fr=>{zn=Math.max(Fr.duration+Fr.delay,zn)}),Qe.length)return Jt(u,this._triggerName,g,w,Tn,it,xt,[],[],un,Pn,zn,Qe);Nr.forEach(Fr=>{const kr=Fr.element,oi=x(un,kr,{});Fr.preStyleProps.forEach(Lr=>oi[Lr]=!0);const Bs=x(Pn,kr,{});Fr.postStyleProps.forEach(Lr=>Bs[Lr]=!0),kr!==u&&_n.add(kr)});const mr=Ce(_n.values());return Jt(u,this._triggerName,g,w,Tn,it,xt,Nr,mr,un,Pn,zn)}}class se{constructor(l,u,g){this.styles=l,this.defaultParams=u,this.normalizer=g}buildStyles(l,u){const g={},w=en(this.defaultParams);return Object.keys(l).forEach(P=>{const k=l[P];null!=k&&(w[P]=k)}),this.styles.styles.forEach(P=>{if("string"!=typeof P){const k=P;Object.keys(k).forEach(B=>{let ne=k[B];ne.length>1&&(ne=qe(ne,w,u));const ge=this.normalizer.normalizePropertyName(B,u);ne=this.normalizer.normalizeStyleValue(B,ge,ne,u),g[ge]=ne})}}),g}}class Xe{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 z(l,w,this.states))}),this.fallbackTransition=function(D,l,u){return new z(D,{type:1,animation:{type:2,steps:[],options:null},matchers:[(k,B)=>!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(k=>k.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 gn=new ar;class Xn{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=zt(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 k;const B=new Map;if(P?(k=ae(this._driver,u,P,Gn,Fn,{},{},g,gn,w),k.forEach(Le=>{const Qe=x(B,Le.element,{});Le.postStyleProps.forEach(ut=>Qe[ut]=null)})):(w.push("The requested animation doesn't exist or has already been destroyed"),k=[]),w.length)throw new Error(`Unable to create the animation due to the following errors: ${w.join("\n")}`);B.forEach((Le,Qe)=>{Object.keys(Le).forEach(ut=>{Le[ut]=this._driver.computeStyle(Qe,ut,ie.l3)})});const ge=F(k.map(Le=>{const Qe=B.get(Le.element);return this._buildPlayer(Le,{},Qe)}));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=H(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 $n="ng-animate-queued",ts="ng-animate-disabled",Ns=".ng-animate-disabled",er=[],Ur={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},rs={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ut="__ng_removed";class Fs{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=en(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 Dn="void",Bn=new Fs(Dn);class ks{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,tr(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=x(this._elementListeners,l,[]),k={name:u,phase:g,callback:w};P.push(k);const B=x(this._engine.statesByElement,l,{});return B.hasOwnProperty(u)||(tr(l,vn),tr(l,vn+"-"+u),B[u]=Bn),()=>{this._engine.afterFlush(()=>{const ne=P.indexOf(k);ne>=0&&P.splice(ne,1),this._triggers[u]||delete B[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),k=new ss(this.id,u,l);let B=this._engine.statesByElement.get(l);B||(tr(l,vn),tr(l,vn+"-"+u),this._engine.statesByElement.set(l,B={}));let ne=B[u];const ge=new Fs(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&ne&&ge.absorbOptions(ne.options),B[u]=ge,ne||(ne=Bn),ge.value!==Dn&&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 _t=[],xt=P.matchStyles(ne.value,ne.params,_t),_n=P.matchStyles(ge.value,ge.params,_t);_t.length?this._engine.reportError(_t):this._engine.afterFlush(()=>{Ln(l,xt),an(l,_n)})}return}const ut=x(this._engine.playersByElement,l,[]);ut.forEach(_t=>{_t.namespaceId==this.id&&_t.triggerName==u&&_t.queued&&_t.destroy()});let Et=P.matchTransition(ne.value,ge.value,l,ge.params),it=!1;if(!Et){if(!w)return;Et=P.fallbackTransition,it=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:u,transition:Et,fromState:ne,toState:ge,player:k,isFallbackTransition:it}),it||(tr(l,$n),k.onStart(()=>{_s(l,$n)})),k.onDone(()=>{let _t=this.players.indexOf(k);_t>=0&&this.players.splice(_t,1);const xt=this._engine.playersByElement.get(l);if(xt){let _n=xt.indexOf(k);_n>=0&&xt.splice(_n,1)}}),this.players.push(k),ut.push(k),k}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,jt,!0);g.forEach(w=>{if(w[Ut])return;const P=this._engine.fetchNamespacesByElement(w);P.size?P.forEach(k=>k.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 k=[];if(Object.keys(P).forEach(B=>{if(this._triggers[B]){const ne=this.trigger(l,B,Dn,w);ne&&k.push(ne)}}),k.length)return this._engine.markElementAsRemoved(this.id,l,!0,u),g&&F(k).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 k=P.name;if(w.has(k))return;w.add(k);const ne=this._triggers[k].fallbackTransition,ge=g[k]||Bn,Le=new Fs(Dn),Qe=new ss(this.id,k,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:k,transition:ne,fromState:ge,toState:Le,player:Qe,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 k=l;for(;k=k.parentNode;)if(g.statesByElement.get(k)){w=!0;break}}}if(this.prepareLeaveAnimationListeners(l),w)g.markElementAsRemoved(this.id,l,!1,u);else{const P=l[Ut];(!P||P===Ur)&&(g.afterFlush(()=>this.clearElementCache(l)),g.destroyInnerAnimations(l),g._onRemovalComplete(l,u))}}insertNode(l,u){tr(l,this._hostClassName)}drainQueuedTransitions(l){const u=[];return this._queue.forEach(g=>{const w=g.player;if(w.destroyed)return;const P=g.element,k=this._elementListeners.get(P);k&&k.forEach(B=>{if(B.name==g.triggerName){const ne=H(P,g.triggerName,g.fromState.value,g.toState.value);ne._data=l,te(g.player,B.phase,ne,B.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):u.push(g)}),this._queue=[],u.sort((g,w)=>{const P=g.transition.ast.depCount,k=w.transition.ast.depCount;return 0==P||0==k?P-k: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 Mn{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 ks(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 k=g[w[P]].namespaceId;if(k){const B=this._fetchNamespace(k);B&&u.add(B)}}}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[Ut];if(P&&P.setForRemoval){P.setForRemoval=!1,P.setForMove=!0;const k=this.collectedLeaveElements.indexOf(u);k>=0&&this.collectedLeaveElements.splice(k,1)}if(l){const k=this._fetchNamespace(l);k&&k.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),tr(l,ts)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),_s(l,ts))}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 k=this.namespacesByHostElement.get(u);k&&k.id!==l&&k.removeNode(u,w)}}else this._onRemovalComplete(u,w)}markElementAsRemoved(l,u,g,w){this.collectedLeaveElements.push(u),u[Ut]={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,jt,!0);u.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(l,De,!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 F(this.players).onDone(()=>l());l()})}processLeaveNode(l){const u=l[Ut];if(u&&u.setForRemoval){if(l[Ut]=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,Ns)&&this.markElementAsDisabled(l,!1),this.driver.query(l,Ns,!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++)tr(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?F(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 ar,w=[],P=new Map,k=[],B=new Map,ne=new Map,ge=new Map,Le=new Set;this.disabledNodes.forEach(Ue=>{Le.add(Ue);const Je=this.driver.query(Ue,".ng-animate-queued",!0);for(let $e=0;$e<Je.length;$e++)Le.add(Je[$e])});const Qe=this.bodyNode,ut=Array.from(this.statesByElement.keys()),Et=ms(ut,this.collectedEnterElements),it=new Map;let _t=0;Et.forEach((Ue,Je)=>{const $e=Gn+_t++;it.set(Je,$e),Ue.forEach(Bt=>tr(Bt,$e))});const xt=[],_n=new Set,un=new Set;for(let Ue=0;Ue<this.collectedLeaveElements.length;Ue++){const Je=this.collectedLeaveElements[Ue],$e=Je[Ut];$e&&$e.setForRemoval&&(xt.push(Je),_n.add(Je),$e.hasAnimation?this.driver.query(Je,".ng-star-inserted",!0).forEach(Bt=>_n.add(Bt)):un.add(Je))}const Pn=new Map,Tn=ms(ut,Array.from(_n));Tn.forEach((Ue,Je)=>{const $e=Fn+_t++;Pn.set(Je,$e),Ue.forEach(Bt=>tr(Bt,$e))}),l.push(()=>{Et.forEach((Ue,Je)=>{const $e=it.get(Je);Ue.forEach(Bt=>_s(Bt,$e))}),Tn.forEach((Ue,Je)=>{const $e=Pn.get(Je);Ue.forEach(Bt=>_s(Bt,$e))}),xt.forEach(Ue=>{this.processLeaveNode(Ue)})});const Gr=[],Nr=[];for(let Ue=this._namespaceList.length-1;Ue>=0;Ue--)this._namespaceList[Ue].drainQueuedTransitions(u).forEach($e=>{const Bt=$e.player,Rn=$e.element;if(Gr.push(Bt),this.collectedEnterElements.length){const Xt=Rn[Ut];if(Xt&&Xt.setForMove)return void Bt.destroy()}const Sr=!Qe||!this.driver.containsElement(Qe,Rn),ur=Pn.get(Rn),Kr=it.get(Rn),mn=this._buildInstruction($e,g,Kr,ur,Sr);if(mn.errors&&mn.errors.length)Nr.push(mn);else{if(Sr)return Bt.onStart(()=>Ln(Rn,mn.fromStyles)),Bt.onDestroy(()=>an(Rn,mn.toStyles)),void w.push(Bt);if($e.isFallbackTransition)return Bt.onStart(()=>Ln(Rn,mn.fromStyles)),Bt.onDestroy(()=>an(Rn,mn.toStyles)),void w.push(Bt);mn.timelines.forEach(Xt=>Xt.stretchStartingKeyframe=!0),g.append(Rn,mn.timelines),k.push({instruction:mn,player:Bt,element:Rn}),mn.queriedElements.forEach(Xt=>x(B,Xt,[]).push(Bt)),mn.preStyleProps.forEach((Xt,ls)=>{const Yr=Object.keys(Xt);if(Yr.length){let Ir=ne.get(ls);Ir||ne.set(ls,Ir=new Set),Yr.forEach(js=>Ir.add(js))}}),mn.postStyleProps.forEach((Xt,ls)=>{const Yr=Object.keys(Xt);let Ir=ge.get(ls);Ir||ge.set(ls,Ir=new Set),Yr.forEach(js=>Ir.add(js))})}});if(Nr.length){const Ue=[];Nr.forEach(Je=>{Ue.push(`@${Je.triggerName} has failed due to:\n`),Je.errors.forEach($e=>Ue.push(`- ${$e}\n`))}),Gr.forEach(Je=>Je.destroy()),this.reportError(Ue)}const zn=new Map,mr=new Map;k.forEach(Ue=>{const Je=Ue.element;g.has(Je)&&(mr.set(Je,Je),this._beforeAnimationBuild(Ue.player.namespaceId,Ue.instruction,zn))}),w.forEach(Ue=>{const Je=Ue.element;this._getPreviousPlayers(Je,!1,Ue.namespaceId,Ue.triggerName,null).forEach(Bt=>{x(zn,Je,[]).push(Bt),Bt.destroy()})});const Fr=xt.filter(Ue=>Xs(Ue,ne,ge)),kr=new Map;Ls(kr,this.driver,un,ge,ie.l3).forEach(Ue=>{Xs(Ue,ne,ge)&&Fr.push(Ue)});const Bs=new Map;Et.forEach((Ue,Je)=>{Ls(Bs,this.driver,new Set(Ue),ne,ie.k1)}),Fr.forEach(Ue=>{const Je=kr.get(Ue),$e=Bs.get(Ue);kr.set(Ue,Object.assign(Object.assign({},Je),$e))});const Lr=[],uo=[],bi={};k.forEach(Ue=>{const{element:Je,player:$e,instruction:Bt}=Ue;if(g.has(Je)){if(Le.has(Je))return $e.onDestroy(()=>an(Je,Bt.toStyles)),$e.disabled=!0,$e.overrideTotalTime(Bt.totalTime),void w.push($e);let Rn=bi;if(mr.size>1){let ur=Je;const Kr=[];for(;ur=ur.parentNode;){const mn=mr.get(ur);if(mn){Rn=mn;break}Kr.push(ur)}Kr.forEach(mn=>mr.set(mn,Rn))}const Sr=this._buildAnimation($e.namespaceId,Bt,zn,P,Bs,kr);if($e.setRealPlayer(Sr),Rn===bi)Lr.push($e);else{const ur=this.playersByElement.get(Rn);ur&&ur.length&&($e.parentPlayer=F(ur)),w.push($e)}}else Ln(Je,Bt.fromStyles),$e.onDestroy(()=>an(Je,Bt.toStyles)),uo.push($e),Le.has(Je)&&w.push($e)}),uo.forEach(Ue=>{const Je=P.get(Ue.element);if(Je&&Je.length){const $e=F(Je);Ue.setRealPlayer($e)}}),w.forEach(Ue=>{Ue.parentPlayer?Ue.syncPlayerEvents(Ue.parentPlayer):Ue.destroy()});for(let Ue=0;Ue<xt.length;Ue++){const Je=xt[Ue],$e=Je[Ut];if(_s(Je,Fn),$e&&$e.hasAnimation)continue;let Bt=[];if(B.size){let Sr=B.get(Je);Sr&&Sr.length&&Bt.push(...Sr);let ur=this.driver.query(Je,De,!0);for(let Kr=0;Kr<ur.length;Kr++){let mn=B.get(ur[Kr]);mn&&mn.length&&Bt.push(...mn)}}const Rn=Bt.filter(Sr=>!Sr.destroyed);Rn.length?_i(this,Je,Rn):this.processLeaveNode(Je)}return xt.length=0,Lr.forEach(Ue=>{this.players.push(Ue),Ue.onDone(()=>{Ue.destroy();const Je=this.players.indexOf(Ue);this.players.splice(Je,1)}),Ue.play()}),Lr}elementContainsData(l,u){let g=!1;const w=u[Ut];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 k=[];if(u){const B=this.playersByQueriedElement.get(l);B&&(k=B)}else{const B=this.playersByElement.get(l);if(B){const ne=!P||P==Dn;B.forEach(ge=>{ge.queued||!ne&&ge.triggerName!=w||k.push(ge)})}}return(g||w)&&(k=k.filter(B=>!(g&&g!=B.namespaceId||w&&w!=B.triggerName))),k}_beforeAnimationBuild(l,u,g){const P=u.element,k=u.isRemovalTransition?void 0:l,B=u.isRemovalTransition?void 0:u.triggerName;for(const ne of u.timelines){const ge=ne.element,Le=ge!==P,Qe=x(g,ge,[]);this._getPreviousPlayers(ge,Le,k,B,u.toState).forEach(Et=>{const it=Et.getRealPlayer();it.beforeDestroy&&it.beforeDestroy(),Et.destroy(),Qe.push(Et)})}Ln(P,u.fromStyles)}_buildAnimation(l,u,g,w,P,k){const B=u.triggerName,ne=u.element,ge=[],Le=new Set,Qe=new Set,ut=u.timelines.map(it=>{const _t=it.element;Le.add(_t);const xt=_t[Ut];if(xt&&xt.removedBeforeQueried)return new ie.ZN(it.duration,it.delay);const _n=_t!==ne,un=function(D){const l=[];return Fi(D,l),l}((g.get(_t)||er).map(zn=>zn.getRealPlayer())).filter(zn=>!!zn.element&&zn.element===_t),Pn=P.get(_t),Tn=k.get(_t),Gr=Z(0,this._normalizer,0,it.keyframes,Pn,Tn),Nr=this._buildPlayer(it,Gr,un);if(it.subTimeline&&w&&Qe.add(_t),_n){const zn=new ss(l,B,_t);zn.setRealPlayer(Nr),ge.push(zn)}return Nr});ge.forEach(it=>{x(this.playersByQueriedElement,it.element,[]).push(it),it.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,it.element,it))}),Le.forEach(it=>tr(it,he));const Et=F(ut);return Et.onDestroy(()=>{Le.forEach(it=>_s(it,he)),an(ne,u.toStyles)}),Qe.forEach(it=>{x(w,it,[]).push(Et)}),Et}_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 ss{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){x(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 Ls(D,l,u,g,w){const P=[];u.forEach(ne=>P.push(yi(ne)));const k=[];g.forEach((ne,ge)=>{const Le={};ne.forEach(Qe=>{const ut=Le[Qe]=l.computeStyle(ge,Qe,w);(!ut||0==ut.length)&&(ge[Ut]=rs,k.push(ge))}),D.set(ge,Le)});let B=0;return u.forEach(ne=>yi(ne,P[B++])),k}function ms(D,l){const u=new Map;if(D.forEach(B=>u.set(B,[])),0==l.length)return u;const w=new Set(l),P=new Map;function k(B){if(!B)return 1;let ne=P.get(B);if(ne)return ne;const ge=B.parentNode;return ne=u.has(ge)?ge:w.has(ge)?1:k(ge),P.set(B,ne),ne}return l.forEach(B=>{const ne=k(B);1!==ne&&u.get(ne).push(B)}),u}const ys="$$classes";function tr(D,l){if(D.classList)D.classList.add(l);else{let u=D[ys];u||(u=D[ys]={}),u[l]=!0}}function _s(D,l){if(D.classList)D.classList.remove(l);else{let u=D[ys];u&&delete u[l]}}function _i(D,l,u){F(u).onDone(()=>D.processLeaveNode(l))}function Fi(D,l){for(let u=0;u<D.length;u++){const g=D[u];g instanceof ie.ZE?Fi(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 Mn(l,u,g),this._timelineEngine=new Xn(l,u,g),this._transitionEngine.onRemovalComplete=(w,P)=>this.onRemovalComplete(w,P)}registerTrigger(l,u,g,w,P){const k=l+"-"+w;let B=this._triggerCache[k];if(!B){const ne=[],ge=zt(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 - ")}`);B=function(D,l,u){return new Xe(D,l,u)}(w,ge,this._normalizer),this._triggerCache[k]=B}this._transitionEngine.registerTrigger(u,w,B)}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,k]=ue(g);this._timelineEngine.command(P,u,k,w)}else this._transitionEngine.trigger(l,u,g,w)}listen(l,u,g,w,P){if("@"==g.charAt(0)){const[k,B]=ue(g);return this._timelineEngine.listen(k,u,B,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 ki(D,l){let u=null,g=null;return Array.isArray(l)&&l.length?(u=is(l[0]),l.length>1&&(g=is(l[l.length-1]))):l&&(u=is(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&&an(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(an(this._element,this._initialStyles),this._endStyles&&(an(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&($r.initialStylesByElement.delete(this._element),this._startStyles&&(Ln(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ln(this._element,this._endStyles),this._endStyles=null),an(this._element,this._initialStyles),this._state=3)}}function is(D){let l=null;const u=Object.keys(D);for(let g=0;g<u.length;g++){const w=u[g];os(w)&&(l=l||{},l[w]=D[w])}return l}function os(D){return"display"===D||"position"===D}$r.initialStylesByElement=new WeakMap;const so="animation",Vi="animationend";class vi{constructor(l,u,g,w,P,k,B){this._element=l,this._name=u,this._duration=g,this._delay=w,this._easing=P,this._fillMode=k,this._onDoneFn=B,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=ne=>this._handleCallback(ne)}apply(){(function(D,l){const u=vs(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(){as(this._element,this._name,"paused")}resume(){as(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=vs(D,"").split(","),w=ei(g,l);w>=0&&(g.splice(w,1),ti(D,"",g.join(",")))}(this._element,this._name))}}function as(D,l,u){ti(D,"PlayState",u,Wr(D,l))}function Wr(D,l){const u=vs(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(Vi,l):D.addEventListener(Vi,l)}function ti(D,l,u,g){const w=so+l;if(null!=g){const P=D.style[w];if(P.length){const k=P.split(",");k[g]=u,u=k.join(",")}}D.style[w]=u}function vs(D,l){return D.style[so+l]||""}class ri{constructor(l,u,g,w,P,k,B,ne){this.element=l,this.keyframes=u,this.animationName=g,this._duration=w,this._delay=P,this._finalStyles=B,this._specialStyles=ne,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=k||"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]:Ae(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 ze(l)}matchesElement(l,u){return tt(l,u)}containsElement(l,u){return at(l,u)}query(l,u,g){return pt(l,u,g)}computeStyle(l,u,g){return window.getComputedStyle(l)[u]}buildKeyframeElement(l,u,g){g=g.map(B=>Ft(B));let w=`@keyframes ${u} {\n`,P="";g.forEach(B=>{P=" ";const ne=parseFloat(B.offset);w+=`${P}${100*ne}% {\n`,P+=" ",Object.keys(B).forEach(ge=>{const Le=B[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 k=document.createElement("style");return k.textContent=w,k}animate(l,u,g,w,P,k=[],B){const ne=k.filter(xt=>xt instanceof ri),ge={};Oe(g,w)&&ne.forEach(xt=>{let _n=xt.currentSnapshot;Object.keys(_n).forEach(un=>ge[un]=_n[un])});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=je(l,u,ge));if(0==g)return new si(l,Le);const Qe="gen_css_kf_"+this._count++,ut=this.buildKeyframeElement(l,Qe,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 it=ki(l,u),_t=new ri(l,u,Qe,g,w,P,Le,it);return _t.onDestroy(()=>{var D;(D=ut).parentNode.removeChild(D)}),_t}}class Wt{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]:Ae(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 ze(l)}matchesElement(l,u){return tt(l,u)}containsElement(l,u){return at(l,u)}query(l,u,g){return pt(l,u,g)}computeStyle(l,u,g){return window.getComputedStyle(l)[u]}overrideWebAnimationsSupport(l){this._isNativeImpl=l}animate(l,u,g,w,P,k=[],B){if(!B&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(l,u,g,w,P,k);const Le={duration:g,delay:w,fill:0==w?"both":"forwards"};P&&(Le.easing=P);const Qe={},ut=k.filter(it=>it instanceof Wt);Oe(g,w)&&ut.forEach(it=>{let _t=it.currentSnapshot;Object.keys(_t).forEach(xt=>Qe[xt]=_t[xt])});const Et=ki(l,u=je(l,u=u.map(it=>Ot(it,!1)),Qe));return new Wt(l,u,Le,Et)}}function lt(){return ce()&&Element.prototype.animate||{}}var Cn=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 nr(this._renderer,null,g,"register",[w]),new nn(g,this._renderer)}}return D.\u0275fac=function(u){return new(u||D)(_.LFG(_.FYo),_.LFG(Cn.K0))},D.\u0275prov=_.Yz7({token:D,factory:D.\u0275fac}),D})();class nn extends ie.LC{constructor(l,u){super(),this._id=l,this._renderer=u}create(l,u){return new bn(this._id,l,u||{},this._renderer)}}class bn{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 nr(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 nr(D,l,u,g,w){return D.setProperty(l,`@@${u}:${g}`,w)}const zr="@.disabled";let Tr=(()=>{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,k)=>{k&&k.parentNode(P)&&k.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 Cs("",P,this.engine),this._rendererCache.set(P,Le)),Le}const k=g.id,B=g.id+"-"+this._currentId;this._currentId++,this.engine.register(B,u);const ne=Le=>{Array.isArray(Le)?Le.forEach(ne):this.engine.registerTrigger(k,B,u,Le.name,Le)};return g.data.animation.forEach(ne),new Vs(this,B,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[k,B]=P;k(B)}),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 Cs{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 Vs extends Cs{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),k="";return"@"!=P.charAt(0)&&([P,k]=function(D){const l=D.indexOf(".");return[D.substring(0,l),D.substr(l+1)]}(P)),this.engine.listen(this.namespaceId,w,P,k,B=>{this.factory.scheduleListenerCallback(B._data||-1,g,B)})}return this.delegate.listen(l,u,g)}}let sa=(()=>{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(Cn.K0),_.LFG(nt),_.LFG(st))},D.\u0275prov=_.Yz7({token:D,factory:D.\u0275fac}),D})();const ji=new _.OlP("AnimationModuleType"),ii=[{provide:ie._j,useClass:Qt},{provide:st,useFactory:function(){return new En}},{provide:Hr,useClass:sa},{provide:_.FYo,useFactory:function(D,l,u){return new Tr(D,l,u)},deps:[p.se,Hr,_.R0b]}],Me=[{provide:nt,useFactory:function(){return"function"==typeof lt()?new sn:new v}},{provide:ji,useValue:"BrowserAnimations"},...ii],At=[{provide:nt,useClass:It},{provide:ji,useValue:"NoopAnimations"},...ii];let lo=(()=>{class D{static withConfig(u){return{ngModule:D,providers:u.disableAnimations?At:Me}}}return D.\u0275fac=function(u){return new(u||D)},D.\u0275mod=_.oAB({type:D}),D.\u0275inj=_.cJS({providers:Me,imports:[p.b2]}),D})()},9075:(Ke,pe,I)=>{"use strict";I.d(pe,{b2:()=>ar,H7:()=>Mt,q6:()=>or,se:()=>en});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(z,O,se){return z.addEventListener(O,se,!1),()=>{z.removeEventListener(O,se,!1)}}dispatchEvent(z,O){z.dispatchEvent(O)}remove(z){z.parentNode&&z.parentNode.removeChild(z)}createElement(z,O){return(O=O||this.getDefaultDocument()).createElement(z)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(z){return z.nodeType===Node.ELEMENT_NODE}isShadowRoot(z){return z instanceof DocumentFragment}getGlobalEventTarget(z,O){return"window"===O?window:"document"===O?z:"body"===O?z.body:null}getBaseHref(z){const O=(K=K||document.querySelector("base"),K?K.getAttribute("href"):null);return null==O?null:function(ee){Z=Z||document.createElement("a"),Z.setAttribute("href",ee);const z=Z.pathname;return"/"===z.charAt(0)?z:`/${z}`}(O)}resetBaseElement(){K=null}getUserAgent(){return window.navigator.userAgent}getCookie(z){return(0,_.Mx)(document.cookie,z)}}let Z,K=null;const U=new p.OlP("TRANSITION_ID"),x=[{provide:p.ip1,useFactory:function(ee,z,O){return()=>{O.get(p.CZH).donePromise.then(()=>{const se=(0,_.q)(),we=z.querySelectorAll(`style[ng-transition="${ee}"]`);for(let Xe=0;Xe<we.length;Xe++)se.remove(we[Xe])})}},deps:[U,_.K0,p.zs3],multi:!0}];class ue{static init(){(0,p.VLi)(new ue)}addToWindow(z){p.dqk.getAngularTestability=(se,we=!0)=>{const Xe=z.findTestabilityInTree(se,we);if(null==Xe)throw new Error("Could not find testability for element.");return Xe},p.dqk.getAllAngularTestabilities=()=>z.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>z.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push(se=>{const we=p.dqk.getAllAngularTestabilities();let Xe=we.length,gt=!1;const Pt=function(gn){gt=gt||gn,Xe--,0==Xe&&se(gt)};we.forEach(function(gn){gn.whenStable(Pt)})})}findTestabilityInTree(z,O,se){if(null==O)return null;const we=z.getTestability(O);return null!=we?we:se?(0,_.q)().isShadowRoot(O)?this.findTestabilityInTree(z,O.host,!0):this.findTestabilityInTree(z,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 It=new p.OlP("EventManagerPlugins");let nt=(()=>{class ee{constructor(O,se){this._zone=se,this._eventNameToPlugin=new Map,O.forEach(we=>we.manager=this),this._plugins=O.slice().reverse()}addEventListener(O,se,we){return this._findPluginFor(se).addEventListener(O,se,we)}addGlobalEventListener(O,se,we){return this._findPluginFor(se).addGlobalEventListener(O,se,we)}getZone(){return this._zone}_findPluginFor(O){const se=this._eventNameToPlugin.get(O);if(se)return se;const we=this._plugins;for(let Xe=0;Xe<we.length;Xe++){const gt=we[Xe];if(gt.supports(O))return this._eventNameToPlugin.set(O,gt),gt}throw new Error(`No event manager plugin found for event ${O}`)}}return ee.\u0275fac=function(O){return new(O||ee)(p.LFG(It),p.LFG(p.R0b))},ee.\u0275prov=p.Yz7({token:ee,factory:ee.\u0275fac}),ee})();class yt{constructor(z){this._doc=z}addGlobalEventListener(z,O,se){const we=(0,_.q)().getGlobalEventTarget(this._doc,z);if(!we)throw new Error(`Unsupported event target ${we} for event ${O}`);return this.addEventListener(we,O,se)}}let Ye=(()=>{class ee{constructor(){this._stylesSet=new Set}addStyles(O){const se=new Set;O.forEach(we=>{this._stylesSet.has(we)||(this._stylesSet.add(we),se.add(we))}),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})(),Zn=(()=>{class ee extends Ye{constructor(O){super(),this._doc=O,this._hostNodes=new Map,this._hostNodes.set(O.head,[])}_addStylesToHost(O,se,we){O.forEach(Xe=>{const gt=this._doc.createElement("style");gt.textContent=Xe,we.push(se.appendChild(gt))})}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(Gn),this._hostNodes.delete(O)}onStylesAdded(O){this._hostNodes.forEach((se,we)=>{this._addStylesToHost(O,we,se)})}ngOnDestroy(){this._hostNodes.forEach(O=>O.forEach(Gn))}}return ee.\u0275fac=function(O){return new(O||ee)(p.LFG(_.K0))},ee.\u0275prov=p.Yz7({token:ee,factory:ee.\u0275fac}),ee})();function Gn(ee){(0,_.q)().remove(ee)}const Fn={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,z,O){for(let se=0;se<z.length;se++){let we=z[se];Array.isArray(we)?le(ee,we,O):(we=we.replace(kn,ee),O.push(we))}return O}function ke(ee){return z=>{if("__ngUnwrap__"===z)return ee;!1===ee(z)&&(z.preventDefault(),z.returnValue=!1)}}let en=(()=>{class ee{constructor(O,se,we){this.eventManager=O,this.sharedStylesHost=se,this.appId=we,this.rendererByCompId=new Map,this.defaultRenderer=new Gt(O)}createRenderer(O,se){if(!O||!se)return this.defaultRenderer;switch(se.encapsulation){case p.ifc.Emulated:{let we=this.rendererByCompId.get(se.id);return we||(we=new an(this.eventManager,this.sharedStylesHost,se,this.appId),this.rendererByCompId.set(se.id,we)),we.applyToHost(O),we}case 1:case p.ifc.ShadowDom:return new Ln(this.eventManager,this.sharedStylesHost,O,se);default:if(!this.rendererByCompId.has(se.id)){const we=le(se.id,se.styles,[]);this.sharedStylesHost.addStyles(we),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(Zn),p.LFG(p.AFp))},ee.\u0275prov=p.Yz7({token:ee,factory:ee.\u0275fac}),ee})();class Gt{constructor(z){this.eventManager=z,this.data=Object.create(null)}destroy(){}createElement(z,O){return O?document.createElementNS(Fn[O]||O,z):document.createElement(z)}createComment(z){return document.createComment(z)}createText(z){return document.createTextNode(z)}appendChild(z,O){z.appendChild(O)}insertBefore(z,O,se){z&&z.insertBefore(O,se)}removeChild(z,O){z&&z.removeChild(O)}selectRootElement(z,O){let se="string"==typeof z?document.querySelector(z):z;if(!se)throw new Error(`The selector "${z}" did not match any elements`);return O||(se.textContent=""),se}parentNode(z){return z.parentNode}nextSibling(z){return z.nextSibling}setAttribute(z,O,se,we){if(we){O=we+":"+O;const Xe=Fn[we];Xe?z.setAttributeNS(Xe,O,se):z.setAttribute(O,se)}else z.setAttribute(O,se)}removeAttribute(z,O,se){if(se){const we=Fn[se];we?z.removeAttributeNS(we,O):z.removeAttribute(`${se}:${O}`)}else z.removeAttribute(O)}addClass(z,O){z.classList.add(O)}removeClass(z,O){z.classList.remove(O)}setStyle(z,O,se,we){we&(p.JOm.DashCase|p.JOm.Important)?z.style.setProperty(O,se,we&p.JOm.Important?"important":""):z.style[O]=se}removeStyle(z,O,se){se&p.JOm.DashCase?z.style.removeProperty(O):z.style[O]=""}setProperty(z,O,se){z[O]=se}setValue(z,O){z.nodeValue=O}listen(z,O,se){return"string"==typeof z?this.eventManager.addGlobalEventListener(z,O,ke(se)):this.eventManager.addEventListener(z,O,ke(se))}}class an extends Gt{constructor(z,O,se,we){super(z),this.component=se;const Xe=le(we+"-"+se.id,se.styles,[]);O.addStyles(Xe),this.contentAttr="_ngcontent-%COMP%".replace(kn,we+"-"+se.id),this.hostAttr="_nghost-%COMP%".replace(kn,we+"-"+se.id)}applyToHost(z){super.setAttribute(z,this.hostAttr,"")}createElement(z,O){const se=super.createElement(z,O);return super.setAttribute(se,this.contentAttr,""),se}}class Ln extends Gt{constructor(z,O,se,we){super(z),this.sharedStylesHost=O,this.hostEl=se,this.shadowRoot=se.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Xe=le(we.id,we.styles,[]);for(let gt=0;gt<Xe.length;gt++){const Pt=document.createElement("style");Pt.textContent=Xe[gt],this.shadowRoot.appendChild(Pt)}}nodeOrShadowRoot(z){return z===this.hostEl?this.shadowRoot:z}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(z,O){return super.appendChild(this.nodeOrShadowRoot(z),O)}insertBefore(z,O,se){return super.insertBefore(this.nodeOrShadowRoot(z),O,se)}removeChild(z,O){return super.removeChild(this.nodeOrShadowRoot(z),O)}parentNode(z){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(z)))}}let Vn=(()=>{class ee extends yt{constructor(O){super(O)}supports(O){return!0}addEventListener(O,se,we){return O.addEventListener(se,we,!1),()=>this.removeEventListener(O,se,we)}removeEventListener(O,se,we){return O.removeEventListener(se,we)}}return ee.\u0275fac=function(O){return new(O||ee)(p.LFG(_.K0))},ee.\u0275prov=p.Yz7({token:ee,factory:ee.\u0275fac}),ee})();const je=["alt","control","meta","shift"],Ae={"\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"},ct={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"},Ct={alt:ee=>ee.altKey,control:ee=>ee.ctrlKey,meta:ee=>ee.metaKey,shift:ee=>ee.shiftKey};let Ge=(()=>{class ee extends yt{constructor(O){super(O)}supports(O){return null!=ee.parseEventName(O)}addEventListener(O,se,we){const Xe=ee.parseEventName(se),gt=ee.eventCallback(Xe.fullKey,we,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,_.q)().onAndCancel(O,Xe.domEventName,gt))}static parseEventName(O){const se=O.toLowerCase().split("."),we=se.shift();if(0===se.length||"keydown"!==we&&"keyup"!==we)return null;const Xe=ee._normalizeKey(se.pop());let gt="";if(je.forEach(gn=>{const Xn=se.indexOf(gn);Xn>-1&&(se.splice(Xn,1),gt+=gn+".")}),gt+=Xe,0!=se.length||0===Xe.length)return null;const Pt={};return Pt.domEventName=we,Pt.fullKey=gt,Pt}static getEventFullKey(O){let se="",we=function(ee){let z=ee.key;if(null==z){if(z=ee.keyIdentifier,null==z)return"Unidentified";z.startsWith("U+")&&(z=String.fromCharCode(parseInt(z.substring(2),16)),3===ee.location&&ct.hasOwnProperty(z)&&(z=ct[z]))}return Ae[z]||z}(O);return we=we.toLowerCase()," "===we?we="space":"."===we&&(we="dot"),je.forEach(Xe=>{Xe!=we&&Ct[Xe](O)&&(se+=Xe+".")}),se+=we,se}static eventCallback(O,se,we){return Xe=>{ee.getEventFullKey(Xe)===O&&we.runGuarded(()=>se(Xe))}}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})(),Mt=(()=>{class ee{}return ee.\u0275fac=function(O){return new(O||ee)},ee.\u0275prov=(0,p.Yz7)({factory:function(){return(0,p.LFG)(ht)},token:ee,providedIn:"root"}),ee})(),ht=(()=>{class ee extends Mt{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 ht(ee.get(_.K0))}((0,p.LFG)(p.gxx))},token:ee,providedIn:"root"}),ee})();const or=(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:[]}]),xr=[[],{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function(){return new p.qLn},deps:[]},{provide:It,useClass:Vn,multi:!0,deps:[_.K0,p.R0b,p.Lbi]},{provide:It,useClass:Ge,multi:!0,deps:[_.K0]},[],{provide:en,useClass:en,deps:[nt,Zn,p.AFp]},{provide:p.FYo,useExisting:en},{provide:Ye,useExisting:Zn},{provide:Zn,useClass:Zn,deps:[_.K0]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b]},{provide:nt,useClass:nt,deps:[It,p.R0b]},{provide:_.JF,useClass:ve,deps:[]},[]];let ar=(()=>{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:U,useExisting:p.AFp},x]}}}return ee.\u0275fac=function(O){return new(O||ee)(p.LFG(ee,12))},ee.\u0275mod=p.oAB({type:ee}),ee.\u0275inj=p.cJS({providers:xr,imports:[_.ez,p.hGG]}),ee})();"undefined"!=typeof window&&window},9171:(Ke,pe,I)=>{"use strict";I.d(pe,{gz:()=>er,F0:()=>Xt,rH:()=>Ir,Od:()=>wi,yS:()=>js,Bz:()=>Ti,lC:()=>ia});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 K=I(4402),F=I(5917),Z=I(6215),te=I(739),U=I(7574),H=I(8071),x=I(1439),ue=I(9193),ve=I(2441),Ie=I(9765),X=I(7393);function fe(h,d){let c=!1;return arguments.length>=2&&(c=!0),function(C){return C.lift(new Te(h,d,c))}}class Te{constructor(d,c,y=!1){this.accumulator=d,this.seed=c,this.hasSeed=y}call(d,c){return c.subscribe(new Ne(d,this.accumulator,this.seed,this.hasSeed))}}class Ne extends X.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 Re(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 ze=I(5435),St=I(7108);function tt(h){return function(c){return 0===h?(0,ue.c)():c.lift(new at(h))}}class at{constructor(d){if(this.total=d,this.total<0)throw new St.W}call(d,c){return c.subscribe(new pt(d,this.total))}}class pt extends X.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 N=c++%y;d.next(C[N])}}d.complete()}}function Ft(h=yt){return d=>d.lift(new It(h))}class It{constructor(d){this.errorFactory=d}call(d,c){return c.subscribe(new nt(d,this.errorFactory))}}class nt extends X.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 yt(){return new ce}function Ye(h=null){return d=>d.lift(new Zn(h))}class Zn{constructor(d){this.defaultValue=d}call(d,c){return c.subscribe(new Gn(d,this.defaultValue))}}class Gn extends X.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 Fn=I(4487),cr=I(5257);function vn(h,d){const c=arguments.length>=2;return y=>y.pipe(h?(0,ze.h)((C,S)=>h(C,S,y)):Fn.y,(0,cr.q)(1),c?Ye(d):Ft(()=>new ce))}var jt=I(8002),he=I(3190),De=I(9761),J=I(4612),le=I(9773),ke=I(8307),Ze=I(1307),en=I(8939),Gt=I(3282);class Ot{constructor(d,c){this.id=d,this.url=c}}class Un extends Ot{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 cn extends Ot{constructor(d,c,y){super(d,c),this.urlAfterRedirects=y}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class an extends Ot{constructor(d,c,y){super(d,c),this.reason=y}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ln extends Ot{constructor(d,c,y){super(d,c),this.error=y}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Vn extends Ot{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 ir extends Ot{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 Kt extends Ot{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 dr extends Ot{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 qe extends Ot{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 Ce{constructor(d){this.route=d}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Q{constructor(d){this.route=d}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Y{constructor(d){this.snapshot=d}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xe{constructor(d){this.snapshot=d}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oe{constructor(d){this.snapshot=d}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class je{constructor(d){this.snapshot=d}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Se{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 Ae="primary";class ct{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 dt(h){return new ct(h)}const dn="ngNavigationCancelingError";function hn(h){const d=Error("NavigationCancelingError: "+h);return d[dn]=!0,d}function Ct(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 N=y[S],G=h[S];if(N.startsWith(":"))C[N.substring(1)]=G;else if(N!==G.path)return null}return{consumed:h.slice(0,y.length),posParams:C}}function ln(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],!Mt(h[C],d[C]))return!1;return!0}function Mt(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 zt(h){return Array.prototype.concat.apply([],h)}function ht(h){return h.length>0?h[h.length-1]:null}function Vt(h,d){for(const c in h)h.hasOwnProperty(c)&&d(h[c],c)}function In(h){return(0,p.CqO)(h)?h:(0,p.QGY)(h)?(0,K.D)(Promise.resolve(h)):(0,F.of)(h)}const Br={exact:function or(h,d,c){if(!L(h.segments,d.segments)||!br(h.segments,d.segments,c)||h.numberOfChildren!==d.numberOfChildren)return!1;for(const y in d.children)if(!h.children[y]||!or(h.children[y],d.children[y],c))return!1;return!0},subset:ar},yn={exact:function(h,d){return ln(h,d)},subset:function(h,d){return Object.keys(d).length<=Object.keys(h).length&&Object.keys(d).every(c=>Mt(h[c],d[c]))},ignored:()=>!0};function Kn(h,d,c){return Br[c.paths](h.root,d.root,c.matrixParams)&&yn[c.queryParams](h.queryParams,d.queryParams)&&!("exact"===c.fragment&&h.fragment!==d.fragment)}function ar(h,d,c){return es(h,d,d.segments,c)}function es(h,d,c,y){if(h.segments.length>c.length){const C=h.segments.slice(0,c.length);return!(!L(C,c)||d.hasChildren()||!br(C,c,y))}if(h.segments.length===c.length){if(!L(h.segments,c)||!br(h.segments,c,y))return!1;for(const C in d.children)if(!h.children[C]||!ar(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!!(L(h.segments,C)&&br(h.segments,C,y)&&h.children[Ae])&&es(h.children[Ae],d,S,y)}}function br(h,d,c){return d.every((y,C)=>yn[c](h[C].parameters,y.parameters))}class Hn{constructor(d,c,y){this.root=d,this.queryParams=c,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=dt(this.queryParams)),this._queryParamMap}toString(){return $t.serialize(this)}}class bt{constructor(d,c){this.segments=d,this.children=c,this.parent=null,Vt(c,(y,C)=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return lr(this)}}class j{constructor(d,c){this.path=d,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=dt(this.parameters)),this._parameterMap}toString(){return pr(this)}}function L(h,d){return h.length===d.length&&h.every((c,y)=>c.path===d[y].path)}class rt{}class kt{parse(d){const c=new Pt(d);return new Hn(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(d){var h;return`${`/${tn(d.root,!0)}`}${function(h){const d=Object.keys(h).map(c=>{const y=h[c];return Array.isArray(y)?y.map(C=>`${st(c)}=${st(C)}`).join("&"):`${st(c)}=${st(y)}`}).filter(c=>!!c);return d.length?`?${d.join("&")}`:""}(d.queryParams)}${"string"==typeof d.fragment?`#${h=d.fragment,encodeURI(h)}`:""}`}}const $t=new kt;function lr(h){return h.segments.map(d=>pr(d)).join("/")}function tn(h,d){if(!h.hasChildren())return lr(h);if(d){const c=h.children[Ae]?tn(h.children[Ae],!1):"",y=[];return Vt(h.children,(C,S)=>{S!==Ae&&y.push(`${S}:${tn(C,!1)}`)}),y.length>0?`${c}(${y.join("//")})`:c}{const c=function(h,d){let c=[];return Vt(h.children,(y,C)=>{C===Ae&&(c=c.concat(d(y,C)))}),Vt(h.children,(y,C)=>{C!==Ae&&(c=c.concat(d(y,C)))}),c}(h,(y,C)=>C===Ae?[tn(h.children[Ae],!1)]:[`${C}:${tn(y,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[Ae]?`${lr(h)}/${c[0]}`:`${lr(h)}/(${c.join("//")})`}}function Be(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function st(h){return Be(h).replace(/%3B/gi,";")}function En(h){return Be(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hr(h){return decodeURIComponent(h)}function pn(h){return hr(h.replace(/\+/g,"%20"))}function pr(h){return`${En(h.path)}${function(h){return Object.keys(h).map(d=>`;${En(d)}=${En(h[d])}`).join("")}(h.parameters)}`}const z=/^[^\/()?;=#]+/;function O(h){const d=h.match(z);return d?d[0]:""}const se=/^[^=?&#]+/,Xe=/^[^?&#]+/;class Pt{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new bt([],{}):new bt([],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[Ae]=new bt(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 j(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 N=function(h){const d=h.match(Xe);return d?d[0]:""}(this.remaining);N&&(y=N,this.capture(y))}const C=pn(c),S=pn(y);if(d.hasOwnProperty(C)){let N=d[C];Array.isArray(N)||(N=[N],d[C]=N),N.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=Ae);const N=this.parseChildren();c[S]=1===Object.keys(N).length?N[Ae]:new bt([],N),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 gn{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=Xn(d,this._root);return c?c.children.map(y=>y.value):[]}firstChild(d){const c=Xn(d,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(d){const c=$n(d,this._root);return c.length<2?[]:c[c.length-2].children.map(C=>C.value).filter(C=>C!==d)}pathFromRoot(d){return $n(d,this._root).map(c=>c.value)}}function Xn(h,d){if(h===d.value)return d;for(const c of d.children){const y=Xn(h,c);if(y)return y}return null}function $n(h,d){if(h===d.value)return[d];for(const c of d.children){const y=$n(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 ts(h){const d={};return h&&h.children.forEach(c=>d[c.value.outlet]=c),d}class Ns extends gn{constructor(d,c){super(d),this.snapshot=c,Dn(this,d)}toString(){return this.snapshot.toString()}}function jr(h,d){const c=function(h,d){const N=new Ut([],{},{},"",{},Ae,d,null,h.root,-1,{});return new Fs("",new Rt(N,[]))}(h,d),y=new Z.X([new j("",{})]),C=new Z.X({}),S=new Z.X({}),N=new Z.X({}),G=new Z.X(""),Ee=new er(y,C,N,G,S,Ae,d,c.root);return Ee.snapshot=c.root,new Ns(new Rt(Ee,[]),c)}class er{constructor(d,c,y,C,S,N,G,Ee){this.url=d,this.params=c,this.queryParams=y,this.fragment=C,this.data=S,this.outlet=N,this.component=G,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,jt.U)(d=>dt(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,jt.U)(d=>dt(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 Ut{constructor(d,c,y,C,S,N,G,Ee,We,ot,Nt){this.url=d,this.params=c,this.queryParams=y,this.fragment=C,this.data=S,this.outlet=N,this.component=G,this.routeConfig=Ee,this._urlSegment=We,this._lastPathIndex=ot,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=dt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=dt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Fs extends gn{constructor(d,c){super(c),this.url=d,Dn(this,c)}toString(){return Bn(this._root)}}function Dn(h,d){d.value._routerState=h,d.children.forEach(c=>Dn(h,c))}function Bn(h){const d=h.children.length>0?` { ${h.children.map(Bn).join(", ")} } `:"";return`${h.value}${d}`}function ks(h){if(h.snapshot){const d=h.snapshot,c=h._futureSnapshot;h.snapshot=c,ln(d.queryParams,c.queryParams)||h.queryParams.next(c.queryParams),d.fragment!==c.fragment&&h.fragment.next(c.fragment),ln(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(!ln(h[c],d[c]))return!1;return!0}(d.url,c.url)||h.url.next(c.url),ln(d.data,c.data)||h.data.next(c.data)}else h.snapshot=h._futureSnapshot,h.data.next(h._futureSnapshot.data)}function Mn(h,d){return ln(h.params,d.params)&&function(h,d){return L(h,d)&&h.every((c,y)=>ln(c.parameters,d[y].parameters))}(h.url,d.url)&&!(!h.parent!=!d.parent)&&(!h.parent||Mn(h.parent,d.parent))}function Wn(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 Wn(h,y,C);return Wn(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 N=S.route;return gi(d,N),N}}const y=function(h){return new er(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=>Wn(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 Ls(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function ms(h){return"object"==typeof h&&null!=h&&h.outlets}function ys(h,d,c,y,C){let S={};return y&&Vt(y,(N,G)=>{S[G]=Array.isArray(N)?N.map(Ee=>`${Ee}`):`${N}`}),new Hn(c.root===h?d:xi(c.root,h,d),S,C)}function xi(h,d,c){const y={};return Vt(h.children,(C,S)=>{y[S]=C===d?c:xi(C,d,c)}),new bt(h.segments,y)}class tr{constructor(d,c,y){if(this.isAbsolute=d,this.numberOfDoubleDots=c,this.commands=y,d&&y.length>0&&Ls(y[0]))throw new Error("Root segment cannot have matrix parameters");const C=y.find(ms);if(C&&C!==ht(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 bt([],{})),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 N=h.segments[C],G=c[y];if(ms(G))break;const Ee=`${G}`,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(!Li(Ee,We,N))return S;y+=2}else{if(!Li(Ee,{},N))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 bt(h.segments.slice(0,y.pathIndex),{});return S.children[Ae]=new bt(h.segments.slice(y.pathIndex),h.children),Hr(S,0,C)}return y.match&&0===C.length?new bt(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 bt(h.segments,{});{const y=function(h){return ms(h[0])?h[0].outlets:{[Ae]:h}}(c),C={};return Vt(y,(S,N)=>{"string"==typeof S&&(S=[S]),null!==S&&(C[N]=Xs(h.children[N],d,S))}),Vt(h.children,(S,N)=>{void 0===y[N]&&(C[N]=S)}),new bt(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(ms(S)){const Ee=is(S.outlets);return new bt(y,Ee)}if(0===C&&Ls(c[0])){y.push(new j(h.segments[d].path,os(c[0]))),C++;continue}const N=ms(S)?S.outlets[Ae]:`${S}`,G=C<c.length-1?c[C+1]:null;N&&G&&Ls(G)?(y.push(new j(N,os(G))),C+=2):(y.push(new j(N,{})),C++)}return new bt(y,{})}function is(h){const d={};return Vt(h,(c,y)=>{"string"==typeof c&&(c=[c]),null!==c&&(d[y]=$r(new bt([],{}),0,c))}),d}function os(h){const d={};return Vt(h,(c,y)=>d[y]=`${c}`),d}function Li(h,d,c){return h==c.path&&ln(d,c.parameters)}class Vi{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),ks(this.futureState.root),this.activateChildRoutes(c,y,d)}deactivateChildRoutes(d,c,y){const C=ts(c);d.children.forEach(S=>{const N=S.value.outlet;this.deactivateRoutes(S,C[N],y),delete C[N]}),Vt(C,(S,N)=>{this.deactivateRouteAndItsChildren(S,y)})}deactivateRoutes(d,c,y){const C=d.value,S=c?c.value:null;if(C===S)if(C.component){const N=y.getContext(C.outlet);N&&this.deactivateChildRoutes(d,c,N.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=ts(d);for(const N of Object.keys(S))this.deactivateRouteAndItsChildren(S[N],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=ts(c);d.children.forEach(S=>{this.activateRoutes(S,C[S.value.outlet],y),this.forwardEvent(new je(S.value.snapshot))}),d.children.length&&this.forwardEvent(new xe(d.value.snapshot))}activateRoutes(d,c,y){const C=d.value,S=c?c.value:null;if(ks(C),C===S)if(C.component){const N=y.getOrCreateContext(C.outlet);this.activateChildRoutes(d,c,N.children)}else this.activateChildRoutes(d,c,y);else if(C.component){const N=y.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const G=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),N.children.onOutletReAttached(G.contexts),N.attachRef=G.componentRef,N.route=G.route.value,N.outlet&&N.outlet.attach(G.componentRef,G.route.value),Dr(G.route)}else{const G=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=G?G.module.componentFactoryResolver:null;N.attachRef=null,N.route=C,N.resolver=Ee,N.outlet&&N.outlet.activateWith(C,Ee),this.activateChildRoutes(d,null,N.children)}}else this.activateChildRoutes(d,null,y)}}function Dr(h){ks(h.value),h.children.forEach(Dr)}class as{constructor(d,c){this.routes=d,this.module=c}}function wr(h){return"function"==typeof h}function Wr(h){return h instanceof Hn}const Es=Symbol("INITIAL_VALUE");function wn(){return(0,he.w)(h=>(0,te.aj)(h.map(d=>d.pipe((0,cr.q)(1),(0,De.O)(Es)))).pipe(fe((d,c)=>{let y=!1;return c.reduce((C,S,N)=>C!==Es?C:(S===Es&&(y=!0),y||!1!==S&&N!==c.length-1&&!Wr(S)?C:S),d)},Es),(0,ze.h)(d=>d!==Es),(0,jt.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[ia]},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!==Ae&&(c.component=ni),c}function v(h){return h.outlet||Ae}function M(h,d){const c=h.filter(y=>v(y)===d);return c.push(...h.filter(y=>v(y)!==d)),c}const W={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({},W):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const S=(d.matcher||Ct)(c,h,d);if(!S)return Object.assign({},W);const N={};Vt(S.posParams,(Ee,We)=>{N[We]=Ee.path});const G=S.consumed.length>0?Object.assign(Object.assign({},N),S.consumed[S.consumed.length-1].parameters):N;return{matched:!0,consumedSegments:S.consumed,lastChild:S.consumed.length,parameters:G,positionalParamSegments:null!==(y=S.posParams)&&void 0!==y?y:{}}}function Pe(h,d,c,y,C="corrected"){if(c.length>0&&function(h,d,c){return c.some(y=>lt(h,d,y)&&v(y)!==Ae)}(h,c,y)){const N=new bt(d,function(h,d,c,y){const C={};C[Ae]=y,y._sourceSegment=h,y._segmentIndexShift=d.length;for(const S of c)if(""===S.path&&v(S)!==Ae){const N=new bt([],{});N._sourceSegment=h,N._segmentIndexShift=d.length,C[v(S)]=N}return C}(h,d,y,new bt(c,h.children)));return N._sourceSegment=h,N._segmentIndexShift=d.length,{segmentGroup:N,slicedSegments:[]}}if(0===c.length&&function(h,d,c){return c.some(y=>lt(h,d,y))}(h,c,y)){const N=new bt(h.segments,function(h,d,c,y,C,S){const N={};for(const G of y)if(lt(h,c,G)&&!C[v(G)]){const Ee=new bt([],{});Ee._sourceSegment=h,Ee._segmentIndexShift="legacy"===S?h.segments.length:d.length,N[v(G)]=Ee}return Object.assign(Object.assign({},C),N)}(h,d,c,y,h.children,C));return N._sourceSegment=h,N._segmentIndexShift=d.length,{segmentGroup:N,slicedSegments:c}}const S=new bt(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 Cn(h,d,c,y){return!!(v(h)===y||y!==Ae&&lt(d,c,h))&&("**"===h.path||ye(d,h,c).matched)}function Qt(h,d,c){return 0===d.length&&!h.children[c]}class nn{constructor(d){this.segmentGroup=d||null}}class bn{constructor(d){this.urlTree=d}}function nr(h){return new U.y(d=>d.error(new nn(h)))}function gr(h){return new U.y(d=>d.error(new bn(h)))}function zr(h){return new U.y(d=>d.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${h}'`)))}class Vs{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=Pe(this.urlTree.root,[],[],this.config).segmentGroup,c=new bt(d.segments,d.children);return this.expandSegmentGroup(this.ngModule,this.config,c,Ae).pipe((0,jt.U)(S=>this.createUrlTree(io(S),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Re(S=>{if(S instanceof bn)return this.allowRedirects=!1,this.match(S.urlTree);throw S instanceof nn?this.noMatchError(S):S}))}match(d){return this.expandSegmentGroup(this.ngModule,this.config,d.root,Ae).pipe((0,jt.U)(C=>this.createUrlTree(io(C),d.queryParams,d.fragment))).pipe(Re(C=>{throw C instanceof nn?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 bt([],{[Ae]:d}):d;return new Hn(C,c,y)}expandSegmentGroup(d,c,y,C){return 0===y.segments.length&&y.hasChildren()?this.expandChildren(d,c,y).pipe((0,jt.U)(S=>new bt([],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,K.D)(C).pipe((0,J.b)(S=>{const N=y.children[S],G=M(c,S);return this.expandSegmentGroup(d,G,N,S).pipe((0,jt.U)(Ee=>({segment:Ee,outlet:S})))}),fe((S,N)=>(S[N.outlet]=N.segment,S),{}),function(h,d){const c=arguments.length>=2;return y=>y.pipe(h?(0,ze.h)((C,S)=>h(C,S,y)):Fn.y,tt(1),c?Ye(d):Ft(()=>new ce))}())}expandSegment(d,c,y,C,S,N){return(0,K.D)(y).pipe((0,J.b)(G=>this.expandSegmentAgainstRoute(d,c,y,G,C,S,N).pipe(Re(We=>{if(We instanceof nn)return(0,F.of)(null);throw We}))),vn(G=>!!G),Re((G,Ee)=>{if(G instanceof ce||"EmptyError"===G.name){if(Qt(c,C,S))return(0,F.of)(new bt([],{}));throw new nn(c)}throw G}))}expandSegmentAgainstRoute(d,c,y,C,S,N,G){return Cn(C,c,S,N)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(d,c,C,S,N):G&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,c,y,C,S,N):nr(c):nr(c)}expandSegmentAgainstRouteUsingRedirect(d,c,y,C,S,N){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,y,C,N):this.expandRegularSegmentAgainstRouteUsingRedirect(d,c,y,C,S,N)}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)(N=>{const G=new bt(N,{});return this.expandSegment(d,G,c,N,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,c,y,C,S,N){const{matched:G,consumedSegments:Ee,lastChild:We,positionalParamSegments:ot}=ye(c,C,S);if(!G)return nr(c);const Nt=this.applyRedirectCommands(Ee,C.redirectTo,ot);return C.redirectTo.startsWith("/")?gr(Nt):this.lineralizeSegments(C,Nt).pipe((0,le.zg)(fn=>this.expandSegment(d,c,y,fn.concat(S.slice(We)),N,!1)))}matchSegmentAgainstRoute(d,c,y,C,S){if("**"===y.path)return y.loadChildren?(y._loadedConfig?(0,F.of)(y._loadedConfig):this.configLoader.load(d.injector,y)).pipe((0,jt.U)(fn=>(y._loadedConfig=fn,new bt(C,{})))):(0,F.of)(new bt(C,{}));const{matched:N,consumedSegments:G,lastChild:Ee}=ye(c,y,C);if(!N)return nr(c);const We=C.slice(Ee);return this.getChildConfig(d,y,C).pipe((0,le.zg)(Nt=>{const fn=Nt.module,Lt=Nt.routes,{segmentGroup:bs,slicedSegments:Qr}=Pe(c,G,We,Lt),Vr=new bt(bs.segments,bs.children);if(0===Qr.length&&Vr.hasChildren())return this.expandChildren(fn,Lt,Vr).pipe((0,jt.U)(ai=>new bt(G,ai)));if(0===Lt.length&&0===Qr.length)return(0,F.of)(new bt(G,{}));const us=v(y)===S;return this.expandSegment(fn,Vr,Lt,Qr,us?Ae:S,!0).pipe((0,jt.U)(Ar=>new bt(G.concat(Ar.segments),Ar.children)))}))}getChildConfig(d,c,y){return c.children?(0,F.of)(new as(c.children,d)):c.loadChildren?void 0!==c._loadedConfig?(0,F.of)(c._loadedConfig):this.runCanLoadGuards(d.injector,c,y).pipe((0,le.zg)(C=>{return C?this.configLoader.load(d.injector,c).pipe((0,jt.U)(S=>(c._loadedConfig=S,S))):(h=c,new U.y(d=>d.error(hn(`Cannot load children because the guard of the route "path: '${h.path}'" returned false`))));var h})):(0,F.of)(new as([],d))}runCanLoadGuards(d,c,y){const C=c.canLoad;if(!C||0===C.length)return(0,F.of)(!0);const S=C.map(N=>{const G=d.get(N);let Ee;if((h=G)&&wr(h.canLoad))Ee=G.canLoad(c,y);else{if(!wr(G))throw new Error("Invalid CanLoad guard");Ee=G(c,y)}var h;return In(Ee)});return(0,F.of)(S).pipe(wn(),(0,ke.b)(N=>{if(!Wr(N))return;const G=hn(`Redirecting to "${this.urlSerializer.serialize(N)}"`);throw G.url=N,G}),(0,jt.U)(N=>!0===N))}lineralizeSegments(d,c){let y=[],C=c.root;for(;;){if(y=y.concat(C.segments),0===C.numberOfChildren)return(0,F.of)(y);if(C.numberOfChildren>1||!C.children[Ae])return zr(d.redirectTo);C=C.children[Ae]}}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 Hn(S,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(d,c){const y={};return Vt(d,(C,S)=>{if("string"==typeof C&&C.startsWith(":")){const G=C.substring(1);y[S]=c[G]}else y[S]=C}),y}createSegmentGroup(d,c,y,C){const S=this.createSegments(d,c.segments,y,C);let N={};return Vt(c.children,(G,Ee)=>{N[Ee]=this.createSegmentGroup(d,G,y,C)}),new bt(S,N)}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 io(h){const d={};for(const y of Object.keys(h.children)){const S=io(h.children[y]);(S.segments.length>0||S.hasChildren())&&(d[y]=S)}return function(h){if(1===h.numberOfChildren&&h.children[Ae]){const d=h.children[Ae];return new bt(h.segments.concat(d.segments),d.children)}return h}(new bt(h.segments,d))}class oo{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 ao(h,d,c){const y=h._root;return At(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 At(h,d,c,y,C={canDeactivateChecks:[],canActivateChecks:[]}){const S=ts(d);return h.children.forEach(N=>{(function(h,d,c,y,C={canDeactivateChecks:[],canActivateChecks:[]}){const S=h.value,N=d?d.value:null,G=c?c.getContext(h.value.outlet):null;if(N&&S.routeConfig===N.routeConfig){const Ee=function(h,d,c){if("function"==typeof c)return c(h,d);switch(c){case"pathParamsChange":return!L(h.url,d.url);case"pathParamsOrQueryParamsChange":return!L(h.url,d.url)||!ln(h.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Mn(h,d)||!ln(h.queryParams,d.queryParams);case"paramsChange":default:return!Mn(h,d)}}(N,S,S.routeConfig.runGuardsAndResolvers);Ee?C.canActivateChecks.push(new oo(y)):(S.data=N.data,S._resolvedData=N._resolvedData),At(h,d,S.component?G?G.children:null:c,y,C),Ee&&G&&G.outlet&&G.outlet.isActivated&&C.canDeactivateChecks.push(new Ci(G.outlet.component,N))}else N&&D(d,G,C),C.canActivateChecks.push(new oo(y)),At(h,null,S.component?G?G.children:null:c,y,C)})(N,S[N.value.outlet],c,y.concat([N.value]),C),delete S[N.value.outlet]}),Vt(S,(N,G)=>D(N,c.getContext(G),C)),C}function D(h,d,c){const y=ts(h),C=h.value;Vt(y,(S,N)=>{D(S,C.component?d?d.children.getContext(N):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 U.y(d=>d.error(h))}class ut{constructor(d,c,y,C,S,N){this.rootComponentType=d,this.config=c,this.urlTree=y,this.url=C,this.paramsInheritanceStrategy=S,this.relativeLinkResolution=N}recognize(){const d=Pe(this.urlTree.root,[],[],this.config.filter(N=>void 0===N.redirectTo),this.relativeLinkResolution).segmentGroup,c=this.processSegmentGroup(this.config,d,Ae);if(null===c)return null;const y=new Ut([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Ae,this.rootComponentType,null,this.urlTree.root,-1,{}),C=new Rt(y,c),S=new Fs(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 N=c.children[S],G=M(d,S),Ee=this.processSegmentGroup(G,N,S);if(null===Ee)return null;y.push(...Ee)}const C=xt(y);return C.sort((d,c)=>d.value.outlet===Ae?-1:c.value.outlet===Ae?1:d.value.outlet.localeCompare(c.value.outlet)),C}processSegment(d,c,y,C){for(const S of d){const N=this.processSegmentAgainstRoute(S,c,y,C);if(null!==N)return N}return Qt(c,y,C)?[]:null}processSegmentAgainstRoute(d,c,y,C){if(d.redirectTo||!Cn(d,c,y,C))return null;let S,N=[],G=[];if("**"===d.path){const Lt=y.length>0?ht(y).parameters:{};S=new Ut(y,Lt,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Tn(d),v(d),d.component,d,un(c),Pn(c)+y.length,Gr(d))}else{const Lt=ye(c,d,y);if(!Lt.matched)return null;N=Lt.consumedSegments,G=y.slice(Lt.lastChild),S=new Ut(N,Lt.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Tn(d),v(d),d.component,d,un(c),Pn(c)+N.length,Gr(d))}const Ee=(h=d).children?h.children:h.loadChildren?h._loadedConfig.routes:[],{segmentGroup:We,slicedSegments:ot}=Pe(c,N,G,Ee.filter(Lt=>void 0===Lt.redirectTo),this.relativeLinkResolution);var h;if(0===ot.length&&We.hasChildren()){const Lt=this.processChildren(Ee,We);return null===Lt?null:[new Rt(S,Lt)]}if(0===Ee.length&&0===ot.length)return[new Rt(S,[])];const Nt=v(d)===C,fn=this.processSegment(Ee,We,ot,Nt?Ae:C);return null===fn?null:[new Rt(S,fn)]}}function _t(h){const d=h.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function xt(h){const d=[],c=new Set;for(const y of h){if(!_t(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=xt(y.children);d.push(new Rt(y.value,C))}return d.filter(y=>!c.has(y))}function un(h){let d=h;for(;d._sourceSegment;)d=d._sourceSegment;return d}function Pn(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 Tn(h){return h.data||{}}function Gr(h){return h.resolve||{}}function oi(h){return(0,he.w)(d=>{const c=h(d);return c?(0,K.D)(c).pipe((0,jt.U)(()=>d)):(0,F.of)(d)})}class uo 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 Ue{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,jt.U)(S=>{this.onLoadEndListener&&this.onLoadEndListener(c);const N=S.create(d);return new as(zt(N.injector.get(bi,void 0,p.XFs.Self|p.XFs.Optional)).map(T),N)}),Re(S=>{throw c._loader$=void 0,S}));return c._loader$=new ve.c(C,()=>new Ie.xQ).pipe((0,Ze.x)()),c._loader$}loadModuleFactory(d){return"string"==typeof d?(0,K.D)(this.loader.load(d)):In(d()).pipe((0,le.zg)(c=>c instanceof p.YKP?(0,F.of)(c):(0,K.D)(this.compiler.compileModuleAsync(c))))}}class Je{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 Je,this.contexts.set(d,c)),c}getContext(d){return this.contexts.get(d)||null}}class Rn{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,c){return d}}function Sr(h){throw h}function ur(h,d,c){return d.parse("/")}function Kr(h,d){return(0,F.of)(null)}const mn={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,N,G,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=Sr,this.malformedUriErrorHandler=ur,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Kr,afterPreactivation:Kr},this.urlHandlingStrategy=new Rn,this.routeReuseStrategy=new uo,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=N.get(p.h0i),this.console=N.get(p.c2e);const fn=N.get(p.R0b);this.isNgZoneEnabled=fn instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(We),this.currentUrlTree=new Hn(new bt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ue(G,Ee,Lt=>this.triggerEvent(new Ce(Lt)),Lt=>this.triggerEvent(new Q(Lt))),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,ze.h)(C=>0!==C.id),(0,jt.U)(C=>Object.assign(Object.assign({},C),{extractedUrl:this.urlHandlingStrategy.extract(C.rawUrl)})),(0,he.w)(C=>{let S=!1,N=!1;return(0,F.of)(C).pipe((0,ke.b)(G=>{this.currentNavigation={id:G.id,initialUrl:G.currentRawUrl,extractedUrl:G.extractedUrl,trigger:G.source,extras:G.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,he.w)(G=>{const Ee=!this.navigated||G.extractedUrl.toString()!==this.browserUrlTree.toString(),We=("reload"===this.onSameUrlNavigation||Ee)&&this.urlHandlingStrategy.shouldProcessUrl(G.rawUrl);if(Yr(G.source)&&(this.browserUrlTree=G.rawUrl),We)return(0,F.of)(G).pipe((0,he.w)(ot=>{const Nt=this.transitions.getValue();return y.next(new Un(ot.id,this.serializeUrl(ot.extractedUrl),ot.source,ot.restoredState)),Nt!==this.transitions.getValue()?ue.E:Promise.resolve(ot)}),function(h,d,c,y){return(0,he.w)(C=>function(h,d,c,y,C){return new Vs(h,d,c,y,C).apply()}(h,d,c,C.extractedUrl,y).pipe((0,jt.U)(S=>Object.assign(Object.assign({},C),{urlAfterRedirects:S}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ke.b)(ot=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:ot.urlAfterRedirects})}),function(h,d,c,y,C){return(0,le.zg)(S=>function(h,d,c,y,C="emptyOnly",S="legacy"){try{const N=new ut(h,d,c,y,C,S).recognize();return null===N?Le(new ge):(0,F.of)(N)}catch(N){return Le(N)}}(h,d,S.urlAfterRedirects,c(S.urlAfterRedirects),y,C).pipe((0,jt.U)(N=>Object.assign(Object.assign({},S),{targetSnapshot:N}))))}(this.rootComponentType,this.config,ot=>this.serializeUrl(ot),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ke.b)(ot=>{"eager"===this.urlUpdateStrategy&&(ot.extras.skipLocationChange||this.setBrowserUrl(ot.urlAfterRedirects,ot),this.browserUrlTree=ot.urlAfterRedirects);const Nt=new Vn(ot.id,this.serializeUrl(ot.extractedUrl),this.serializeUrl(ot.urlAfterRedirects),ot.targetSnapshot);y.next(Nt)}));if(Ee&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Nt,extractedUrl:fn,source:Lt,restoredState:bs,extras:Qr}=G,Vr=new Un(Nt,this.serializeUrl(fn),Lt,bs);y.next(Vr);const us=jr(fn,this.rootComponentType).snapshot;return(0,F.of)(Object.assign(Object.assign({},G),{targetSnapshot:us,urlAfterRedirects:fn,extras:Object.assign(Object.assign({},Qr),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=G.rawUrl,this.browserUrlTree=G.urlAfterRedirects,G.resolve(null),ue.E}),oi(G=>{const{targetSnapshot:Ee,id:We,extractedUrl:ot,rawUrl:Nt,extras:{skipLocationChange:fn,replaceUrl:Lt}}=G;return this.hooks.beforePreactivation(Ee,{navigationId:We,appliedUrlTree:ot,rawUrlTree:Nt,skipLocationChange:!!fn,replaceUrl:!!Lt})}),(0,ke.b)(G=>{const Ee=new ir(G.id,this.serializeUrl(G.extractedUrl),this.serializeUrl(G.urlAfterRedirects),G.targetSnapshot);this.triggerEvent(Ee)}),(0,jt.U)(G=>Object.assign(Object.assign({},G),{guards:ao(G.targetSnapshot,G.currentSnapshot,this.rootContexts)})),function(h,d){return(0,le.zg)(c=>{const{targetSnapshot:y,currentSnapshot:C,guards:{canActivateChecks:S,canDeactivateChecks:N}}=c;return 0===N.length&&0===S.length?(0,F.of)(Object.assign(Object.assign({},c),{guardsResult:!0})):function(h,d,c,y){return(0,K.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,F.of)(!0);const N=S.map(G=>{const Ee=ii(G,d,C);let We;if(function(h){return h&&wr(h.canDeactivate)}(Ee))We=In(Ee.canDeactivate(h,d,c,y));else{if(!wr(Ee))throw new Error("Invalid CanDeactivate guard");We=In(Ee(h,d,c,y))}return We.pipe(vn())});return(0,F.of)(N).pipe(wn())}(C.component,C.route,c,d,y)),vn(C=>!0!==C,!0))}(N,y,C,h).pipe((0,le.zg)(G=>G&&function(h){return"boolean"==typeof h}(G)?function(h,d,c,y){return(0,K.D)(d).pipe((0,J.b)(C=>(0,H.z)(function(h,d){return null!==h&&d&&d(new Y(h)),(0,F.of)(!0)}(C.route.parent,y),function(h,d){return null!==h&&d&&d(new Oe(h)),(0,F.of)(!0)}(C.route,y),function(h,d,c){const y=d[d.length-1],S=d.slice(0,d.length-1).reverse().map(N=>function(h){const d=h.routeConfig?h.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:h,guards:d}:null}(N)).filter(N=>null!==N).map(N=>(0,x.P)(()=>{const G=N.guards.map(Ee=>{const We=ii(Ee,N.node,c);let ot;if(function(h){return h&&wr(h.canActivateChild)}(We))ot=In(We.canActivateChild(y,h));else{if(!wr(We))throw new Error("Invalid CanActivateChild guard");ot=In(We(y,h))}return ot.pipe(vn())});return(0,F.of)(G).pipe(wn())}));return(0,F.of)(S).pipe(wn())}(h,C.path,c),function(h,d,c){const y=d.routeConfig?d.routeConfig.canActivate:null;if(!y||0===y.length)return(0,F.of)(!0);const C=y.map(S=>(0,x.P)(()=>{const N=ii(S,d,c);let G;if(function(h){return h&&wr(h.canActivate)}(N))G=In(N.canActivate(d,h));else{if(!wr(N))throw new Error("Invalid CanActivate guard");G=In(N(d,h))}return G.pipe(vn())}));return(0,F.of)(C).pipe(wn())}(h,C.route,c))),vn(C=>!0!==C,!0))}(y,S,h,d):(0,F.of)(G)),(0,jt.U)(G=>Object.assign(Object.assign({},c),{guardsResult:G})))})}(this.ngModule.injector,G=>this.triggerEvent(G)),(0,ke.b)(G=>{if(Wr(G.guardsResult)){const We=hn(`Redirecting to "${this.serializeUrl(G.guardsResult)}"`);throw We.url=G.guardsResult,We}const Ee=new Kt(G.id,this.serializeUrl(G.extractedUrl),this.serializeUrl(G.urlAfterRedirects),G.targetSnapshot,!!G.guardsResult);this.triggerEvent(Ee)}),(0,ze.h)(G=>!!G.guardsResult||(this.restoreHistory(G),this.cancelNavigationTransition(G,""),!1)),oi(G=>{if(G.guards.canActivateChecks.length)return(0,F.of)(G).pipe((0,ke.b)(Ee=>{const We=new dr(Ee.id,this.serializeUrl(Ee.extractedUrl),this.serializeUrl(Ee.urlAfterRedirects),Ee.targetSnapshot);this.triggerEvent(We)}),(0,he.w)(Ee=>{let We=!1;return(0,F.of)(Ee).pipe(function(h,d){return(0,le.zg)(c=>{const{targetSnapshot:y,guards:{canActivateChecks:C}}=c;if(!C.length)return(0,F.of)(c);let S=0;return(0,K.D)(C).pipe((0,J.b)(N=>function(h,d,c,y){return function(h,d,c,y){const C=Object.keys(h);if(0===C.length)return(0,F.of)({});const S={};return(0,K.D)(C).pipe((0,le.zg)(N=>function(h,d,c,y){const C=ii(h,d,y);return In(C.resolve?C.resolve(d,c):C(d,c))}(h[N],d,c,y).pipe((0,ke.b)(G=>{S[N]=G}))),tt(1),(0,le.zg)(()=>Object.keys(S).length===C.length?(0,F.of)(S):ue.E))}(h._resolve,h,d,y).pipe((0,jt.U)(S=>(h._resolvedData=S,h.data=Object.assign(Object.assign({},h.data),Ur(h,c).resolve),null)))}(N.route,y,h,d)),(0,ke.b)(()=>S++),tt(1),(0,le.zg)(N=>S===C.length?(0,F.of)(c):ue.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ke.b)({next:()=>We=!0,complete:()=>{We||(this.restoreHistory(Ee),this.cancelNavigationTransition(Ee,"At least one route resolver didn't emit any value."))}}))}),(0,ke.b)(Ee=>{const We=new qe(Ee.id,this.serializeUrl(Ee.extractedUrl),this.serializeUrl(Ee.urlAfterRedirects),Ee.targetSnapshot);this.triggerEvent(We)}))}),oi(G=>{const{targetSnapshot:Ee,id:We,extractedUrl:ot,rawUrl:Nt,extras:{skipLocationChange:fn,replaceUrl:Lt}}=G;return this.hooks.afterPreactivation(Ee,{navigationId:We,appliedUrlTree:ot,rawUrlTree:Nt,skipLocationChange:!!fn,replaceUrl:!!Lt})}),(0,jt.U)(G=>{const Ee=function(h,d,c){const y=Wn(h,d._root,c?c._root:void 0);return new Ns(y,d)}(this.routeReuseStrategy,G.targetSnapshot,G.currentRouterState);return Object.assign(Object.assign({},G),{targetRouterState:Ee})}),(0,ke.b)(G=>{this.currentUrlTree=G.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,G.rawUrl),this.routerState=G.targetRouterState,"deferred"===this.urlUpdateStrategy&&(G.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,G),this.browserUrlTree=G.urlAfterRedirects)}),((h,d,c)=>(0,jt.U)(y=>(new Vi(d,y.targetRouterState,y.currentRouterState,c).activate(h),y)))(this.rootContexts,this.routeReuseStrategy,G=>this.triggerEvent(G)),(0,ke.b)({next(){S=!0},complete(){S=!0}}),(0,en.x)(()=>{if(!S&&!N){const G=`Navigation ID ${C.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(C),this.cancelNavigationTransition(C,G)):this.cancelNavigationTransition(C,G)}this.currentNavigation=null}),Re(G=>{if(N=!0,function(h){return h&&h[dn]}(G)){const Ee=Wr(G.url);Ee||(this.navigated=!0,this.restoreHistory(C,!0));const We=new an(C.id,this.serializeUrl(C.extractedUrl),G.message);y.next(We),Ee?setTimeout(()=>{const ot=this.urlHandlingStrategy.merge(G.url,this.rawUrlTree),Nt={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Yr(C.source)};this.scheduleNavigation(ot,"imperative",null,Nt,{resolve:C.resolve,reject:C.reject,promise:C.promise})},0):C.resolve(!1)}else{this.restoreHistory(C,!0);const Ee=new Ln(C.id,this.serializeUrl(C.extractedUrl),G);y.next(Ee);try{C.resolve(this.errorHandler(G))}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:N}=y,G={replaceUrl:!0};if(S){const Ee=Object.assign({},S);delete Ee.navigationId,delete Ee.\u0275routerPageId,0!==Object.keys(Ee).length&&(G.state=Ee)}this.scheduleNavigation(N,C,S,G)},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:N,queryParamsHandling:G,preserveFragment:Ee}=y,We=C||this.routerState.root,ot=Ee?this.currentUrlTree.fragment:N;let Nt=null;switch(G){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 ys(d.root,d.root,d,y,C);const S=function(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new tr(!0,0,h);let d=0,c=!1;const y=h.reduce((C,S,N)=>{if("object"==typeof S&&null!=S){if(S.outlets){const G={};return Vt(S.outlets,(Ee,We)=>{G[We]="string"==typeof Ee?Ee.split("/"):Ee}),[...C,{outlets:G}]}if(S.segmentPath)return[...C,S.segmentPath]}return"string"!=typeof S?[...C,S]:0===N?(S.split("/").forEach((G,Ee)=>{0==Ee&&"."===G||(0==Ee&&""===G?c=!0:".."===G?d++:""!=G&&C.push(G))}),C):[...C,S]},[]);return new tr(c,d,y)}(c);if(S.toRoot())return ys(d.root,new bt([],{}),d,y,C);const N=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=Ls(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),G=N.processChildren?Hr(N.segmentGroup,N.index,S.commands):Xs(N.segmentGroup,N.index,S.commands);return ys(N.segmentGroup,G,d,y,C)}(We,this.currentUrlTree,c,Nt,null!=ot?ot: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({},mn):!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 cn(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,N){var G,Ee;if(this.disposed)return Promise.resolve(!1);const We=this.getTransition(),ot=Yr(y)&&We&&!Yr(We.source),Lt=(this.lastSuccessfulId===We.id||this.currentNavigation?We.rawUrl:We.urlAfterRedirects).toString()===c.toString();if(ot&&Lt)return Promise.resolve(!0);let bs,Qr,Vr;N?(bs=N.resolve,Qr=N.reject,Vr=N.promise):Vr=new Promise((Ar,ai)=>{bs=Ar,Qr=ai});const us=++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!==(G=this.browserPageId)&&void 0!==G?G:0:(null!==(Ee=this.browserPageId)&&void 0!==Ee?Ee:0)+1):qr=0,this.setTransition({id:us,targetPageId:qr,source:y,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:c,extras:S,resolve:bs,reject:Qr,promise:Vr,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Vr.catch(Ar=>Promise.reject(Ar))}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 N=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(C=this.currentNavigation)||void 0===C?void 0:C.finalUrl)||0===N?this.currentUrlTree===(null===(S=this.currentNavigation)||void 0===S?void 0:S.finalUrl)&&0===N&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(N)}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 an(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(rt),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})();function Yr(h){return"imperative"!==h}let Ir=(()=>{class h{constructor(c,y,C,S,N){this.router=c,this.route=y,this.commands=[],this.onChanges=new Ie.xQ,null==C&&S.setAttribute(N.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:Mr(this.skipLocationChange),replaceUrl:Mr(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:Mr(this.preserveFragment)})}}return h.\u0275fac=function(c){return new(c||h)(p.Y36(Xt),p.Y36(er),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})(),js=(()=>{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 cn&&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,N){if(0!==c||y||C||S||N||"string"==typeof this.target&&"_self"!=this.target)return!0;const G={skipLocationChange:Mr(this.skipLocationChange),replaceUrl:Mr(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,G),!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:Mr(this.preserveFragment)})}}return h.\u0275fac=function(c){return new(c||h)(p.Y36(Xt),p.Y36(er),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 Mr(h){return""===h||!!h}let wi=(()=>{class h{constructor(c,y,C,S,N,G){this.router=c,this.element=y,this.renderer=C,this.cdr=S,this.link=N,this.linkWithHref=G,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=c.events.subscribe(Ee=>{Ee instanceof cn&&this.update()})}ngAfterContentInit(){(0,F.of)(this.links.changes,this.linksWithHrefs.changes,(0,F.of)(null)).pipe((0,Gt.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,K.D)(y).pipe((0,Gt.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(Ir,8),p.Y36(js,8))},h.\u0275dir=p.lG2({type:h,selectors:[["","routerLinkActive",""]],contentQueries:function(c,y,C){if(1&c&&(p.Suo(C,Ir,5),p.Suo(C,js,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})(),ia=(()=>{class h{constructor(c,y,C,S,N){this.parentContexts=c,this.location=y,this.resolver=C,this.changeDetector=N,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.vpe,this.deactivateEvents=new p.vpe,this.name=S||Ae,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 N=(y=y||this.resolver).resolveComponentFactory(c._futureSnapshot.routeConfig.component),G=this.parentContexts.getOrCreateContext(this.name).children,Ee=new Ui(c,G,this.location.injector);this.activated=this.location.createComponent(N,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 Ui{constructor(d,c,y){this.route=d,this.childContexts=c,this.parent=y}get(d,c){return d===er?this.route:d===$e?this.childContexts:this.parent.get(d,c)}}class co{}class rl{preload(d,c){return(0,F.of)(null)}}let fu=(()=>{class h{constructor(c,y,C,S,N){this.router=c,this.injector=S,this.preloadingStrategy=N,this.loader=new Ue(y,C,We=>c.triggerEvent(new Ce(We)),We=>c.triggerEvent(new Q(We)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,ze.h)(c=>c instanceof cn),(0,J.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 N=S._loadedConfig;C.push(this.processRoutes(N.module,N.routes))}else S.loadChildren&&!S.canLoad?C.push(this.preloadConfig(c,S)):S.children&&C.push(this.processRoutes(c,S.children));return(0,K.D)(C).pipe((0,Gt.J)(),(0,jt.U)(S=>{}))}preloadConfig(c,y){return this.preloadingStrategy.preload(y,()=>(y._loadedConfig?(0,F.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(co))},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 Un?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof cn&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.router.parseUrl(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(c=>{c instanceof Se&&(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 Se(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"),fo=new p.OlP("ROUTER_FORROOT_GUARD"),il=[_.Ye,{provide:rt,useClass:kt},{provide:Xt,useFactory:function(h,d,c,y,C,S,N,G={},Ee,We){const ot=new Xt(null,h,d,c,y,C,S,zt(N));return Ee&&(ot.urlHandlingStrategy=Ee),We&&(ot.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)}(G,ot),G.enableTracing&&ot.events.subscribe(Nt=>{var fn,Lt;null===(fn=console.group)||void 0===fn||fn.call(console,`Router Event: ${Nt.constructor.name}`),console.log(Nt.toString()),console.log(Nt),null===(Lt=console.groupEnd)||void 0===Lt||Lt.call(console)}),ot},deps:[rt,$e,_.Ye,p.zs3,p.v3s,p.Sil,bi,Us,[class{},new p.FiY],[class{},new p.FiY]]},$e,{provide:er,useFactory:function(h){return h.routerState.root},deps:[Xt]},{provide:p.v3s,useClass:p.EAV},fu,rl,class{preload(d,c){return c().pipe(Re(()=>(0,F.of)(null)))}},{provide:Us,useValue:{enableTracing:!1}}];function ol(){return new p.PXZ("Router",Xt)}let Ti=(()=>{class h{constructor(c,y){}static forRoot(c,y){return{ngModule:h,providers:[il,Hi(c),{provide:fo,useFactory:aa,deps:[[Xt,new p.FiY,new p.tp0]]},{provide:Us,useValue:y||{}},{provide:_.S$,useFactory:Si,deps:[_.lw,[new p.tBr(_.mr),new p.FiY],Us]},{provide:sl,useFactory:hu,deps:[Xt,_.EM,Us]},{provide:co,useExisting:y&&y.preloadingStrategy?y.preloadingStrategy:rl},{provide:p.PXZ,multi:!0,useFactory:ol},[la,{provide:p.ip1,multi:!0,useFactory:pu,deps:[la]},{provide:po,useFactory:$i,deps:[la]},{provide:p.tb,multi:!0,useExisting:po}]]}}static forChild(c){return{ngModule:h,providers:[Hi(c)]}}}return h.\u0275fac=function(c){return new(c||h)(p.LFG(fo,8),p.LFG(Xt,8))},h.\u0275mod=p.oAB({type:h}),h.\u0275inj=p.cJS({}),h})();function hu(h,d,c){return c.scrollOffset&&d.setOffset(c.scrollOffset),new sl(h,d,c)}function Si(h,d,c={}){return c.useHash?new _.Do(h,d):new _.b0(h,d)}function aa(h){return"guarded"}function Hi(h){return[{provide:p.deG,multi:!0,useValue:h},{provide:bi,multi:!0,useValue:h}]}let la=(()=>{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(G=>y=G),S=this.injector.get(Xt),N=this.injector.get(Us);return"disabled"===N.initialNavigation?(S.setUpLocationChangeListener(),y(!0)):"enabled"===N.initialNavigation||"enabledBlocking"===N.initialNavigation?(S.hooks.afterPreactivation=()=>this.initNavigation?(0,F.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(fu),S=this.injector.get(sl),N=this.injector.get(Xt),G=this.injector.get(p.z2F);c===G.components[0]&&(("enabledNonBlocking"===y.initialNavigation||void 0===y.initialNavigation)&&N.initialNavigation(),C.setUpPreloading(),S.init(),N.resetRootComponentType(G.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 pu(h){return h.appInitializer.bind(h)}function $i(h){return h.bootstrapListener.bind(h)}const po=new p.OlP("Router Initializer")},9344:(Ke,pe,I)=>{"use strict";I.d(pe,{Rh:()=>Fn,_W:()=>Ye});var _=I(8720),p=I(7238),ie=I(9765),ce=I(9075),K=I(8583);const F=["toast-component",""];function Z(he,De){if(1&he){const J=_.EpF();_.TgZ(0,"button",5),_.NdJ("click",function(){return _.CHM(J),_.oxw().remove()}),_.TgZ(1,"span",6),_._uU(2,"\xd7"),_.qZA(),_.qZA()}}function te(he,De){if(1&he&&(_.ynx(0),_._uU(1),_.BQk()),2&he){const J=_.oxw(2);_.xp6(1),_.hij("[",J.duplicatesCount+1,"]")}}function U(he,De){if(1&he&&(_.TgZ(0,"div"),_._uU(1),_.YNc(2,te,2,1,"ng-container",4),_.qZA()),2&he){const J=_.oxw();_.Tol(J.options.titleClass),_.uIk("aria-label",J.title),_.xp6(1),_.hij(" ",J.title," "),_.xp6(1),_.Q6J("ngIf",J.duplicatesCount)}}function H(he,De){if(1&he&&_._UZ(0,"div",7),2&he){const J=_.oxw();_.Tol(J.options.messageClass),_.Q6J("innerHTML",J.message,_.oJD)}}function x(he,De){if(1&he&&(_.TgZ(0,"div",8),_._uU(1),_.qZA()),2&he){const J=_.oxw();_.Tol(J.options.messageClass),_.uIk("aria-label",J.message),_.xp6(1),_.hij(" ",J.message," ")}}function ue(he,De){if(1&he&&(_.TgZ(0,"div"),_._UZ(1,"div",9),_.qZA()),2&he){const J=_.oxw();_.xp6(1),_.Udp("width",J.width+"%")}}function ve(he,De){if(1&he){const J=_.EpF();_.TgZ(0,"button",5),_.NdJ("click",function(){return _.CHM(J),_.oxw().remove()}),_.TgZ(1,"span",6),_._uU(2,"\xd7"),_.qZA(),_.qZA()}}function Ie(he,De){if(1&he&&(_.ynx(0),_._uU(1),_.BQk()),2&he){const J=_.oxw(2);_.xp6(1),_.hij("[",J.duplicatesCount+1,"]")}}function X(he,De){if(1&he&&(_.TgZ(0,"div"),_._uU(1),_.YNc(2,Ie,2,1,"ng-container",4),_.qZA()),2&he){const J=_.oxw();_.Tol(J.options.titleClass),_.uIk("aria-label",J.title),_.xp6(1),_.hij(" ",J.title," "),_.xp6(1),_.Q6J("ngIf",J.duplicatesCount)}}function fe(he,De){if(1&he&&_._UZ(0,"div",7),2&he){const J=_.oxw();_.Tol(J.options.messageClass),_.Q6J("innerHTML",J.message,_.oJD)}}function Te(he,De){if(1&he&&(_.TgZ(0,"div",8),_._uU(1),_.qZA()),2&he){const J=_.oxw();_.Tol(J.options.messageClass),_.uIk("aria-label",J.message),_.xp6(1),_.hij(" ",J.message," ")}}function Ne(he,De){if(1&he&&(_.TgZ(0,"div"),_._UZ(1,"div",9),_.qZA()),2&he){const J=_.oxw();_.xp6(1),_.Udp("width",J.width+"%")}}class oe{constructor(De,J,le,ke,Ze,en){this.toastId=De,this.config=J,this.message=le,this.title=ke,this.toastType=Ze,this.toastRef=en,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(De){this._onAction.next(De)}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"},ze=new _.OlP("ToastConfig");class St{constructor(De,J){this.component=De,this.injector=J}attach(De,J){return this._attachedHost=De,De.attach(this,J)}detach(){const De=this._attachedHost;if(De)return this._attachedHost=void 0,De.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(De){this._attachedHost=De}}class at extends class{attach(De,J){return this._attachedPortal=De,this.attachComponentPortal(De,J)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(De){this._disposeFn=De}}{constructor(De,J,le){super(),this._hostDomElement=De,this._componentFactoryResolver=J,this._appRef=le}attachComponentPortal(De,J){const le=this._componentFactoryResolver.resolveComponentFactory(De.component);let ke;return ke=le.create(De.injector),this._appRef.attachView(ke.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ke.hostView),ke.destroy()}),J?this._hostDomElement.insertBefore(this._getComponentRootNode(ke),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(ke)),ke}_getComponentRootNode(De){return De.hostView.rootNodes[0]}}let pt=(()=>{class he{constructor(J){this._document=J}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const J=this._document.createElement("div");J.classList.add("overlay-container"),this._document.body.appendChild(J),this._containerElement=J}}return he.\u0275fac=function(J){return new(J||he)(_.LFG(K.K0))},he.\u0275prov=_.Yz7({factory:function(){return new he(_.LFG(K.K0))},token:he,providedIn:"root"}),he})();class Ft{constructor(De){this._portalHost=De}attach(De,J=!0){return this._portalHost.attach(De,J)}detach(){return this._portalHost.detach()}}let It=(()=>{class he{constructor(J,le,ke,Ze){this._overlayContainer=J,this._componentFactoryResolver=le,this._appRef=ke,this._document=Ze,this._paneElements=new Map}create(J,le){return this._createOverlayRef(this.getPaneElement(J,le))}getPaneElement(J="",le){return this._paneElements.get(le)||this._paneElements.set(le,{}),this._paneElements.get(le)[J]||(this._paneElements.get(le)[J]=this._createPaneElement(J,le)),this._paneElements.get(le)[J]}_createPaneElement(J,le){const ke=this._document.createElement("div");return ke.id="toast-container",ke.classList.add(J),ke.classList.add("toast-container"),le?le.getContainerElement().appendChild(ke):this._overlayContainer.getContainerElement().appendChild(ke),ke}_createPortalHost(J){return new at(J,this._componentFactoryResolver,this._appRef)}_createOverlayRef(J){return new Ft(this._createPortalHost(J))}}return he.\u0275fac=function(J){return new(J||he)(_.LFG(pt),_.LFG(_._Vd),_.LFG(_.z2F),_.LFG(K.K0))},he.\u0275prov=_.Yz7({factory:function(){return new he(_.LFG(pt),_.LFG(_._Vd),_.LFG(_.z2F),_.LFG(K.K0))},token:he,providedIn:"root"}),he})();class nt{constructor(De){this._overlayRef=De,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(De,J){De&&this._resetTimeout.next(),J&&this._countDuplicate.next(++this.duplicatesCount)}}class yt{constructor(De,J){this._toastPackage=De,this._parentInjector=J}get(De,J,le){return De===oe?this._toastPackage:this._parentInjector.get(De,J,le)}}let Ye=(()=>{class he{constructor(J,le,ke,Ze,en){this.overlay=le,this._injector=ke,this.sanitizer=Ze,this.ngZone=en,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},J.default),J.config),J.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},J.default.iconClasses),J.config.iconClasses))}show(J,le,ke={},Ze=""){return this._preBuildNotification(Ze,J,le,this.applyConfig(ke))}success(J,le,ke={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",J,le,this.applyConfig(ke))}error(J,le,ke={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",J,le,this.applyConfig(ke))}info(J,le,ke={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",J,le,this.applyConfig(ke))}warning(J,le,ke={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",J,le,this.applyConfig(ke))}clear(J){for(const le of this.toasts)if(void 0!==J){if(le.toastId===J)return void le.toastRef.manualClose()}else le.toastRef.manualClose()}remove(J){const le=this._findToast(J);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 ke=this.toasts[this.currentlyActive].toastRef;ke.isInactive()||(this.currentlyActive=this.currentlyActive+1,ke.activate())}return!0}findDuplicate(J="",le="",ke,Ze){const{includeTitleDuplicates:en}=this.toastrConfig;for(const Gt of this.toasts){const Ot=en&&Gt.title===J;if((!en||Ot)&&Gt.message===le)return Gt.toastRef.onDuplicate(ke,Ze),Gt}return null}applyConfig(J={}){return Object.assign(Object.assign({},this.toastrConfig),J)}_findToast(J){for(let le=0;le<this.toasts.length;le++)if(this.toasts[le].toastId===J)return{index:le,activeToast:this.toasts[le]};return null}_preBuildNotification(J,le,ke,Ze){return Ze.onActivateTick?this.ngZone.run(()=>this._buildNotification(J,le,ke,Ze)):this._buildNotification(J,le,ke,Ze)}_buildNotification(J,le,ke,Ze){if(!Ze.toastComponent)throw new Error("toastComponent required");const en=this.findDuplicate(ke,le,this.toastrConfig.resetTimeoutOnDuplicate&&Ze.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&ke||le)&&this.toastrConfig.preventDuplicates&&null!==en)return en;this.previousToastMessage=le;let Gt=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Gt=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Ot=this.overlay.create(Ze.positionClass,this.overlayContainer);this.index=this.index+1;let Un=le;le&&Ze.enableHtml&&(Un=this.sanitizer.sanitize(_.q3G.HTML,le));const cn=new nt(Ot),an=new oe(this.index,Ze,Un,ke,J,cn),Ln=new yt(an,this._injector),Vn=new St(Ze.toastComponent,Ln),ir=Ot.attach(Vn,this.toastrConfig.newestOnTop);cn.componentInstance=ir.instance;const Kt={toastId:this.index,title:ke||"",message:le||"",toastRef:cn,onShown:cn.afterActivate(),onHidden:cn.afterClosed(),onTap:an.onTap(),onAction:an.onAction(),portal:ir};return Gt||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Kt.toastRef.activate()})),this.toasts.push(Kt),Kt}}return he.\u0275fac=function(J){return new(J||he)(_.LFG(ze),_.LFG(It),_.LFG(_.zs3),_.LFG(ce.H7),_.LFG(_.R0b))},he.\u0275prov=_.Yz7({factory:function(){return new he(_.LFG(ze),_.LFG(It),_.LFG(_.gxx),_.LFG(ce.H7),_.LFG(_.R0b))},token:he,providedIn:"root"}),he})(),Zn=(()=>{class he{constructor(J,le,ke){this.toastrService=J,this.toastPackage=le,this.ngZone=ke,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(Ze=>{this.duplicatesCount=Ze})}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 J=(new Date).getTime();this.width=(this.hideTime-J)/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(J,le){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(J),le)):this.timeout=setTimeout(()=>J(),le)}outsideInterval(J,le){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(J),le)):this.intervalId=setInterval(()=>J(),le)}runInsideAngular(J){this.ngZone?this.ngZone.run(()=>J()):J()}}return he.\u0275fac=function(J){return new(J||he)(_.Y36(Ye),_.Y36(oe),_.Y36(_.R0b))},he.\u0275cmp=_.Xpm({type:he,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(J,le){1&J&&_.NdJ("click",function(){return le.tapToast()})("mouseenter",function(){return le.stickAround()})("mouseleave",function(){return le.delayedHideToast()}),2&J&&(_.d8E("@flyInOut",le.state),_.Tol(le.toastClasses),_.Udp("display",le.displayStyle))},attrs:F,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(J,le){1&J&&(_.YNc(0,Z,3,0,"button",0),_.YNc(1,U,3,5,"div",1),_.YNc(2,H,1,3,"div",2),_.YNc(3,x,2,4,"div",3),_.YNc(4,ue,2,2,"div",4)),2&J&&(_.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:[K.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 }}"))])]}}),he})();const Gn=Object.assign(Object.assign({},_e),{toastComponent:Zn});let Fn=(()=>{class he{static forRoot(J={}){return{ngModule:he,providers:[{provide:ze,useValue:{default:Gn,config:J}}]}}}return he.\u0275fac=function(J){return new(J||he)},he.\u0275mod=_.oAB({type:he}),he.\u0275inj=_.cJS({imports:[[K.ez]]}),he})(),cr=(()=>{class he{constructor(J,le,ke){this.toastrService=J,this.toastPackage=le,this.appRef=ke,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(Ze=>{this.duplicatesCount=Ze})}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 J=(new Date).getTime();this.width=(this.hideTime-J)/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 he.\u0275fac=function(J){return new(J||he)(_.Y36(Ye),_.Y36(oe),_.Y36(_.z2F))},he.\u0275cmp=_.Xpm({type:he,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(J,le){1&J&&_.NdJ("click",function(){return le.tapToast()})("mouseenter",function(){return le.stickAround()})("mouseleave",function(){return le.delayedHideToast()}),2&J&&(_.Tol(le.toastClasses),_.Udp("display",le.displayStyle))},attrs:F,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(J,le){1&J&&(_.YNc(0,ve,3,0,"button",0),_.YNc(1,X,3,5,"div",1),_.YNc(2,fe,1,3,"div",2),_.YNc(3,Te,2,4,"div",3),_.YNc(4,Ne,2,2,"div",4)),2&J&&(_.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:[K.O5],encapsulation:2}),he})();Object.assign(Object.assign({},_e),{toastComponent:cr})},6215:(Ke,pe,I)=>{"use strict";I.d(pe,{X:()=>ie});var _=I(9765),p=I(7971);class ie extends _.xQ{constructor(K){super(),this._value=K}get value(){return this.getValue()}_subscribe(K){const F=super._subscribe(K);return F&&!F.closed&&K.next(this._value),F}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new p.N;return this._value}next(K){super.next(this._value=K)}}},3098:(Ke,pe,I)=>{"use strict";I.d(pe,{P:()=>K});var _=I(9193),p=I(5917),ie=I(205);class K{constructor(Z,te,U){this.kind=Z,this.value=te,this.error=U,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,U){switch(this.kind){case"N":return Z&&Z(this.value);case"E":return te&&te(this.error);case"C":return U&&U()}}accept(Z,te,U){return Z&&"function"==typeof Z.next?this.observe(Z):this.do(Z,te,U)}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 K("N",Z):K.undefinedValueNotification}static createError(Z){return new K("E",void 0,Z)}static createComplete(){return K.completeNotification}}K.completeNotification=new K("C"),K.undefinedValueNotification=new K("N",void 0)},7574:(Ke,pe,I)=>{"use strict";I.d(pe,{y:()=>x});var _=I(7393),ie=I(9181),ce=I(6490),F=I(6554),Z=I(4487);var H=I(2494);let x=(()=>{class ve{constructor(X){this._isScalar=!1,X&&(this._subscribe=X)}lift(X){const fe=new ve;return fe.source=this,fe.operator=X,fe}subscribe(X,fe,Te){const{operator:Ne}=this,Ve=function(ve,Ie,X){if(ve){if(ve instanceof _.L)return ve;if(ve[ie.b])return ve[ie.b]()}return ve||Ie||X?new _.L(ve,Ie,X):new _.L(ce.c)}(X,fe,Te);if(Ve.add(Ne?Ne.call(Ve,this.source):this.source||H.v.useDeprecatedSynchronousErrorHandling&&!Ve.syncErrorThrowable?this._subscribe(Ve):this._trySubscribe(Ve)),H.v.useDeprecatedSynchronousErrorHandling&&Ve.syncErrorThrowable&&(Ve.syncErrorThrowable=!1,Ve.syncErrorThrown))throw Ve.syncErrorValue;return Ve}_trySubscribe(X){try{return this._subscribe(X)}catch(fe){H.v.useDeprecatedSynchronousErrorHandling&&(X.syncErrorThrown=!0,X.syncErrorValue=fe),function(ve){for(;ve;){const{closed:Ie,destination:X,isStopped:fe}=ve;if(Ie||fe)return!1;ve=X&&X instanceof _.L?X:null}return!0}(X)?X.error(fe):console.warn(fe)}}forEach(X,fe){return new(fe=ue(fe))((Te,Ne)=>{let Ve;Ve=this.subscribe(Re=>{try{X(Re)}catch(oe){Ne(oe),Ve&&Ve.unsubscribe()}},Ne,Te)})}_subscribe(X){const{source:fe}=this;return fe&&fe.subscribe(X)}[F.L](){return this}pipe(...X){return 0===X.length?this:function(ve){return 0===ve.length?Z.y:1===ve.length?ve[0]:function(X){return ve.reduce((fe,Te)=>Te(fe),X)}}(X)(this)}toPromise(X){return new(X=ue(X))((fe,Te)=>{let Ne;this.subscribe(Ve=>Ne=Ve,Ve=>Te(Ve),()=>fe(Ne))})}}return ve.create=Ie=>new ve(Ie),ve})();function ue(ve){if(ve||(ve=H.v.Promise||Promise),!ve)throw new Error("no Promise impl found");return ve}},6490:(Ke,pe,I)=>{"use strict";I.d(pe,{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:(Ke,pe,I)=>{"use strict";I.d(pe,{t:()=>Te});var _=I(9765),p=I(6465),ce=I(6102);const Z=new class extends ce.v{}(class extends p.o{constructor(Re,oe){super(Re,oe),this.scheduler=Re,this.work=oe}schedule(Re,oe=0){return oe>0?super.schedule(Re,oe):(this.delay=oe,this.state=Re,this.scheduler.flush(this),this)}execute(Re,oe){return oe>0||this.closed?super.execute(Re,oe):this._execute(Re,oe)}requestAsyncId(Re,oe,_e=0){return null!==_e&&_e>0||null===_e&&this.delay>0?super.requestAsyncId(Re,oe,_e):Re.flush(this)}});var te=I(5319),U=I(7393),H=I(3098);class ve extends U.L{constructor(Re,oe,_e=0){super(Re),this.scheduler=oe,this.delay=_e}static dispatch(Re){const{notification:oe,destination:_e}=Re;oe.observe(_e),this.unsubscribe()}scheduleMessage(Re){this.destination.add(this.scheduler.schedule(ve.dispatch,this.delay,new Ie(Re,this.destination)))}_next(Re){this.scheduleMessage(H.P.createNext(Re))}_error(Re){this.scheduleMessage(H.P.createError(Re)),this.unsubscribe()}_complete(){this.scheduleMessage(H.P.createComplete()),this.unsubscribe()}}class Ie{constructor(Re,oe){this.notification=Re,this.destination=oe}}var X=I(7971),fe=I(8858);class Te extends _.xQ{constructor(Re=Number.POSITIVE_INFINITY,oe=Number.POSITIVE_INFINITY,_e){super(),this.scheduler=_e,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=Re<1?1:Re,this._windowTime=oe<1?1:oe,oe===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(Re){if(!this.isStopped){const oe=this._events;oe.push(Re),oe.length>this._bufferSize&&oe.shift()}super.next(Re)}nextTimeWindow(Re){this.isStopped||(this._events.push(new Ne(this._getNow(),Re)),this._trimBufferThenGetEvents()),super.next(Re)}_subscribe(Re){const oe=this._infiniteTimeWindow,_e=oe?this._events:this._trimBufferThenGetEvents(),ze=this.scheduler,St=_e.length;let tt;if(this.closed)throw new X.N;if(this.isStopped||this.hasError?tt=te.w.EMPTY:(this.observers.push(Re),tt=new fe.W(this,Re)),ze&&Re.add(Re=new ve(Re,ze)),oe)for(let at=0;at<St&&!Re.closed;at++)Re.next(_e[at]);else for(let at=0;at<St&&!Re.closed;at++)Re.next(_e[at].value);return this.hasError?Re.error(this.thrownError):this.isStopped&&Re.complete(),tt}_getNow(){return(this.scheduler||Z).now()}_trimBufferThenGetEvents(){const Re=this._getNow(),oe=this._bufferSize,_e=this._windowTime,ze=this._events,St=ze.length;let tt=0;for(;tt<St&&!(Re-ze[tt].time<_e);)tt++;return St>oe&&(tt=Math.max(tt,St-oe)),tt>0&&ze.splice(0,tt),ze}}class Ne{constructor(Re,oe){this.time=Re,this.value=oe}}},9765:(Ke,pe,I)=>{"use strict";I.d(pe,{Yc:()=>Z,xQ:()=>te});var _=I(7574),p=I(7393),ie=I(5319),ce=I(7971),K=I(8858),F=I(9181);class Z extends p.L{constructor(x){super(x),this.destination=x}}let te=(()=>{class H extends _.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[F.b](){return new Z(this)}lift(ue){const ve=new U(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,X=ve.slice();for(let fe=0;fe<Ie;fe++)X[fe].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,X=ve.slice();for(let fe=0;fe<Ie;fe++)X[fe].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 X=0;X<ve;X++)Ie[X].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 K.W(this,ue))}asObservable(){const ue=new _.y;return ue.source=this,ue}}return H.create=(x,ue)=>new U(x,ue),H})();class U extends te{constructor(x,ue){super(),this.destination=x,this.source=ue}next(x){const{destination:ue}=this;ue&&ue.next&&ue.next(x)}error(x){const{destination:ue}=this;ue&&ue.error&&this.destination.error(x)}complete(){const{destination:x}=this;x&&x.complete&&this.destination.complete()}_subscribe(x){const{source:ue}=this;return ue?this.source.subscribe(x):ie.w.EMPTY}}},8858:(Ke,pe,I)=>{"use strict";I.d(pe,{W:()=>p});var _=I(5319);class p extends _.w{constructor(ce,K){super(),this.subject=ce,this.subscriber=K,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const ce=this.subject,K=ce.observers;if(this.subject=null,!K||0===K.length||ce.isStopped||ce.closed)return;const F=K.indexOf(this.subscriber);-1!==F&&K.splice(F,1)}}},7393:(Ke,pe,I)=>{"use strict";I.d(pe,{L:()=>Z});var _=I(9105),p=I(6490),ie=I(5319),ce=I(9181),K=I(2494),F=I(4449);class Z extends ie.w{constructor(H,x,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(!H){this.destination=p.c;break}if("object"==typeof H){H instanceof Z?(this.syncErrorThrowable=H.syncErrorThrowable,this.destination=H,H.add(this)):(this.syncErrorThrowable=!0,this.destination=new te(this,H));break}default:this.syncErrorThrowable=!0,this.destination=new te(this,H,x,ue)}}[ce.b](){return this}static create(H,x,ue){const ve=new Z(H,x,ue);return ve.syncErrorThrowable=!1,ve}next(H){this.isStopped||this._next(H)}error(H){this.isStopped||(this.isStopped=!0,this._error(H))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(H){this.destination.next(H)}_error(H){this.destination.error(H),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:H}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=H,this}}class te extends Z{constructor(H,x,ue,ve){super(),this._parentSubscriber=H;let Ie,X=this;(0,_.m)(x)?Ie=x:x&&(Ie=x.next,ue=x.error,ve=x.complete,x!==p.c&&(X=Object.create(x),(0,_.m)(X.unsubscribe)&&this.add(X.unsubscribe.bind(X)),X.unsubscribe=this.unsubscribe.bind(this))),this._context=X,this._next=Ie,this._error=ue,this._complete=ve}next(H){if(!this.isStopped&&this._next){const{_parentSubscriber:x}=this;K.v.useDeprecatedSynchronousErrorHandling&&x.syncErrorThrowable?this.__tryOrSetError(x,this._next,H)&&this.unsubscribe():this.__tryOrUnsub(this._next,H)}}error(H){if(!this.isStopped){const{_parentSubscriber:x}=this,{useDeprecatedSynchronousErrorHandling:ue}=K.v;if(this._error)ue&&x.syncErrorThrowable?(this.__tryOrSetError(x,this._error,H),this.unsubscribe()):(this.__tryOrUnsub(this._error,H),this.unsubscribe());else if(x.syncErrorThrowable)ue?(x.syncErrorValue=H,x.syncErrorThrown=!0):(0,F.z)(H),this.unsubscribe();else{if(this.unsubscribe(),ue)throw H;(0,F.z)(H)}}}complete(){if(!this.isStopped){const{_parentSubscriber:H}=this;if(this._complete){const x=()=>this._complete.call(this._context);K.v.useDeprecatedSynchronousErrorHandling&&H.syncErrorThrowable?(this.__tryOrSetError(H,x),this.unsubscribe()):(this.__tryOrUnsub(x),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(H,x){try{H.call(this._context,x)}catch(ue){if(this.unsubscribe(),K.v.useDeprecatedSynchronousErrorHandling)throw ue;(0,F.z)(ue)}}__tryOrSetError(H,x,ue){if(!K.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{x.call(this._context,ue)}catch(ve){return K.v.useDeprecatedSynchronousErrorHandling?(H.syncErrorValue=ve,H.syncErrorThrown=!0,!0):((0,F.z)(ve),!0)}return!1}_unsubscribe(){const{_parentSubscriber:H}=this;this._context=null,this._parentSubscriber=null,H.unsubscribe()}}},5319:(Ke,pe,I)=>{"use strict";I.d(pe,{w:()=>F});var _=I(9796),p=I(1555),ie=I(9105);const K=(()=>{function te(U){return Error.call(this),this.message=U?`${U.length} errors occurred during unsubscription:\n${U.map((H,x)=>`${x+1}) ${H.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=U,this}return te.prototype=Object.create(Error.prototype),te})();class F{constructor(U){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,U&&(this._ctorUnsubscribe=!0,this._unsubscribe=U)}unsubscribe(){let U;if(this.closed)return;let{_parentOrParents:H,_ctorUnsubscribe:x,_unsubscribe:ue,_subscriptions:ve}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,H instanceof F)H.remove(this);else if(null!==H)for(let Ie=0;Ie<H.length;++Ie)H[Ie].remove(this);if((0,ie.m)(ue)){x&&(this._unsubscribe=void 0);try{ue.call(this)}catch(Ie){U=Ie instanceof K?Z(Ie.errors):[Ie]}}if((0,_.k)(ve)){let Ie=-1,X=ve.length;for(;++Ie<X;){const fe=ve[Ie];if((0,p.K)(fe))try{fe.unsubscribe()}catch(Te){U=U||[],Te instanceof K?U=U.concat(Z(Te.errors)):U.push(Te)}}}if(U)throw new K(U)}add(U){let H=U;if(!U)return F.EMPTY;switch(typeof U){case"function":H=new F(U);case"object":if(H===this||H.closed||"function"!=typeof H.unsubscribe)return H;if(this.closed)return H.unsubscribe(),H;if(!(H instanceof F)){const ve=H;H=new F,H._subscriptions=[ve]}break;default:throw new Error("unrecognized teardown "+U+" added to Subscription.")}let{_parentOrParents:x}=H;if(null===x)H._parentOrParents=this;else if(x instanceof F){if(x===this)return H;H._parentOrParents=[x,this]}else{if(-1!==x.indexOf(this))return H;x.push(this)}const ue=this._subscriptions;return null===ue?this._subscriptions=[H]:ue.push(H),H}remove(U){const H=this._subscriptions;if(H){const x=H.indexOf(U);-1!==x&&H.splice(x,1)}}}var te;function Z(te){return te.reduce((U,H)=>U.concat(H instanceof K?H.errors:H),[])}F.EMPTY=((te=new F).closed=!0,te)},2494:(Ke,pe,I)=>{"use strict";I.d(pe,{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:(Ke,pe,I)=>{"use strict";I.d(pe,{IY:()=>ce,Ds:()=>F,ft:()=>te});var _=I(7393),p=I(7574),ie=I(7444);class ce extends _.L{constructor(H){super(),this.parent=H}_next(H){this.parent.notifyNext(H)}_error(H){this.parent.notifyError(H),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class F extends _.L{notifyNext(H){this.destination.next(H)}notifyError(H){this.destination.error(H)}notifyComplete(){this.destination.complete()}}function te(U,H){if(H.closed)return;if(U instanceof p.y)return U.subscribe(H);let x;try{x=(0,ie.s)(U)(H)}catch(ue){H.error(ue)}return x}},2441:(Ke,pe,I)=>{"use strict";I.d(pe,{c:()=>K,N:()=>F});var _=I(9765),p=I(7574),ie=I(5319),ce=I(1307);class K extends p.y{constructor(x,ue){super(),this.source=x,this.subjectFactory=ue,this._refCount=0,this._isComplete=!1}_subscribe(x){return this.getSubject().subscribe(x)}getSubject(){const x=this._subject;return(!x||x.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let x=this._connection;return x||(this._isComplete=!1,x=this._connection=new ie.w,x.add(this.source.subscribe(new Z(this.getSubject(),this))),x.closed&&(this._connection=null,x=ie.w.EMPTY)),x}refCount(){return(0,ce.x)()(this)}}const F=(()=>{const H=K.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:H._subscribe},_isComplete:{value:H._isComplete,writable:!0},getSubject:{value:H.getSubject},connect:{value:H.connect},refCount:{value:H.refCount}}})();class Z extends _.Yc{constructor(x,ue){super(x),this.connectable=ue}_error(x){this._unsubscribe(),super._error(x)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const x=this.connectable;if(x){this.connectable=null;const ue=x._connection;x._refCount=0,x._subject=null,x._connection=null,ue&&ue.unsubscribe()}}}},739:(Ke,pe,I)=>{"use strict";I.d(pe,{aj:()=>x});var _=I(4869),p=I(9796),ie=I(7393);class ce extends ie.L{notifyNext(X,fe,Te,Ne,Ve){this.destination.next(fe)}notifyError(X,fe){this.destination.error(X)}notifyComplete(X){this.destination.complete()}}class K extends ie.L{constructor(X,fe,Te){super(),this.parent=X,this.outerValue=fe,this.outerIndex=Te,this.index=0}_next(X){this.parent.notifyNext(this.outerValue,X,this.outerIndex,this.index++,this)}_error(X){this.parent.notifyError(X,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var F=I(7444),Z=I(7574);function te(Ie,X,fe,Te,Ne=new K(Ie,fe,Te)){if(!Ne.closed)return X instanceof Z.y?X.subscribe(Ne):(0,F.s)(X)(Ne)}var U=I(6693);const H={};function x(...Ie){let X,fe;return(0,_.K)(Ie[Ie.length-1])&&(fe=Ie.pop()),"function"==typeof Ie[Ie.length-1]&&(X=Ie.pop()),1===Ie.length&&(0,p.k)(Ie[0])&&(Ie=Ie[0]),(0,U.n)(Ie,fe).lift(new ue(X))}class ue{constructor(X){this.resultSelector=X}call(X,fe){return fe.subscribe(new ve(X,this.resultSelector))}}class ve extends ce{constructor(X,fe){super(X),this.resultSelector=fe,this.active=0,this.values=[],this.observables=[]}_next(X){this.values.push(H),this.observables.push(X)}_complete(){const X=this.observables,fe=X.length;if(0===fe)this.destination.complete();else{this.active=fe,this.toRespond=fe;for(let Te=0;Te<fe;Te++)this.add(te(this,X[Te],void 0,Te))}}notifyComplete(X){0==(this.active-=1)&&this.destination.complete()}notifyNext(X,fe,Te){const Ne=this.values,Re=this.toRespond?Ne[Te]===H?--this.toRespond:this.toRespond:0;Ne[Te]=fe,0===Re&&(this.resultSelector?this._tryResultSelector(Ne):this.destination.next(Ne.slice()))}_tryResultSelector(X){let fe;try{fe=this.resultSelector.apply(this,X)}catch(Te){return void this.destination.error(Te)}this.destination.next(fe)}}},8071:(Ke,pe,I)=>{"use strict";I.d(pe,{z:()=>ce});var _=I(5917),p=I(3282);function ce(...K){return(0,p.J)(1)((0,_.of)(...K))}},1439:(Ke,pe,I)=>{"use strict";I.d(pe,{P:()=>ce});var _=I(7574),p=I(4402),ie=I(9193);function ce(K){return new _.y(F=>{let Z;try{Z=K()}catch(U){return void F.error(U)}return(Z?(0,p.D)(Z):(0,ie.c)()).subscribe(F)})}},9193:(Ke,pe,I)=>{"use strict";I.d(pe,{E:()=>p,c:()=>ie});var _=I(7574);const p=new _.y(K=>K.complete());function ie(K){return K?function(K){return new _.y(F=>K.schedule(()=>F.complete()))}(K):p}},4402:(Ke,pe,I)=>{"use strict";I.d(pe,{D:()=>X});var _=I(7574),p=I(7444),ie=I(5319),ce=I(6554),Z=I(4087),te=I(377),x=I(4072),ue=I(9489);function X(fe,Te){return Te?function(fe,Te){if(null!=fe){if(function(fe){return fe&&"function"==typeof fe[ce.L]}(fe))return function(fe,Te){return new _.y(Ne=>{const Ve=new ie.w;return Ve.add(Te.schedule(()=>{const Re=fe[ce.L]();Ve.add(Re.subscribe({next(oe){Ve.add(Te.schedule(()=>Ne.next(oe)))},error(oe){Ve.add(Te.schedule(()=>Ne.error(oe)))},complete(){Ve.add(Te.schedule(()=>Ne.complete()))}}))})),Ve})}(fe,Te);if((0,x.t)(fe))return function(fe,Te){return new _.y(Ne=>{const Ve=new ie.w;return Ve.add(Te.schedule(()=>fe.then(Re=>{Ve.add(Te.schedule(()=>{Ne.next(Re),Ve.add(Te.schedule(()=>Ne.complete()))}))},Re=>{Ve.add(Te.schedule(()=>Ne.error(Re)))}))),Ve})}(fe,Te);if((0,ue.z)(fe))return(0,Z.r)(fe,Te);if(function(fe){return fe&&"function"==typeof fe[te.hZ]}(fe)||"string"==typeof fe)return function(fe,Te){if(!fe)throw new Error("Iterable cannot be null");return new _.y(Ne=>{const Ve=new ie.w;let Re;return Ve.add(()=>{Re&&"function"==typeof Re.return&&Re.return()}),Ve.add(Te.schedule(()=>{Re=fe[te.hZ](),Ve.add(Te.schedule(function(){if(Ne.closed)return;let oe,_e;try{const ze=Re.next();oe=ze.value,_e=ze.done}catch(ze){return void Ne.error(ze)}_e?Ne.complete():(Ne.next(oe),this.schedule())}))})),Ve})}(fe,Te)}throw new TypeError((null!==fe&&typeof fe||fe)+" is not observable")}(fe,Te):fe instanceof _.y?fe:new _.y((0,p.s)(fe))}},6693:(Ke,pe,I)=>{"use strict";I.d(pe,{n:()=>ce});var _=I(7574),p=I(5015),ie=I(4087);function ce(K,F){return F?(0,ie.r)(K,F):new _.y((0,p.V)(K))}},2759:(Ke,pe,I)=>{"use strict";I.d(pe,{R:()=>F});var _=I(7574),p=I(9796),ie=I(9105),ce=I(8002);function F(x,ue,ve,Ie){return(0,ie.m)(ve)&&(Ie=ve,ve=void 0),Ie?F(x,ue,ve).pipe((0,ce.U)(X=>(0,p.k)(X)?Ie(...X):Ie(X))):new _.y(X=>{Z(x,ue,function(Te){X.next(arguments.length>1?Array.prototype.slice.call(arguments):Te)},X,ve)})}function Z(x,ue,ve,Ie,X){let fe;if(function(x){return x&&"function"==typeof x.addEventListener&&"function"==typeof x.removeEventListener}(x)){const Te=x;x.addEventListener(ue,ve,X),fe=()=>Te.removeEventListener(ue,ve,X)}else if(function(x){return x&&"function"==typeof x.on&&"function"==typeof x.off}(x)){const Te=x;x.on(ue,ve),fe=()=>Te.off(ue,ve)}else if(function(x){return x&&"function"==typeof x.addListener&&"function"==typeof x.removeListener}(x)){const Te=x;x.addListener(ue,ve),fe=()=>Te.removeListener(ue,ve)}else{if(!x||!x.length)throw new TypeError("Invalid event target");for(let Te=0,Ne=x.length;Te<Ne;Te++)Z(x[Te],ue,ve,Ie,X)}Ie.add(fe)}},6682:(Ke,pe,I)=>{"use strict";I.d(pe,{T:()=>K});var _=I(7574),p=I(4869),ie=I(3282),ce=I(6693);function K(...F){let Z=Number.POSITIVE_INFINITY,te=null,U=F[F.length-1];return(0,p.K)(U)?(te=F.pop(),F.length>1&&"number"==typeof F[F.length-1]&&(Z=F.pop())):"number"==typeof U&&(Z=F.pop()),null===te&&1===F.length&&F[0]instanceof _.y?F[0]:(0,ie.J)(Z)((0,ce.n)(F,te))}},5917:(Ke,pe,I)=>{"use strict";I.d(pe,{of:()=>ce});var _=I(4869),p=I(6693),ie=I(4087);function ce(...K){let F=K[K.length-1];return(0,_.K)(F)?(K.pop(),(0,ie.r)(K,F)):(0,p.n)(K)}},205:(Ke,pe,I)=>{"use strict";I.d(pe,{_:()=>p});var _=I(7574);function p(ce,K){return new _.y(K?F=>K.schedule(ie,0,{error:ce,subscriber:F}):F=>F.error(ce))}function ie({error:ce,subscriber:K}){K.error(ce)}},8634:(Ke,pe,I)=>{"use strict";I.d(pe,{H:()=>F});var _=I(7574),p=I(3637),ie=I(9796);function ce(te){return!(0,ie.k)(te)&&te-parseFloat(te)+1>=0}var K=I(4869);function F(te=0,U,H){let x=-1;return ce(U)?x=Number(U)<1?1:Number(U):(0,K.K)(U)&&(H=U),(0,K.K)(H)||(H=p.P),new _.y(ue=>{const ve=ce(te)?te:+te-H.now();return H.schedule(Z,ve,{index:0,period:x,subscriber:ue})})}function Z(te){const{index:U,period:H,subscriber:x}=te;if(x.next(U),!x.closed){if(-1===H)return x.complete();te.index=U+1,this.schedule(te,H)}}},4612:(Ke,pe,I)=>{"use strict";I.d(pe,{b:()=>p});var _=I(9773);function p(ie,ce){return(0,_.zg)(ie,ce,1)}},7519:(Ke,pe,I)=>{"use strict";I.d(pe,{x:()=>p});var _=I(7393);function p(K,F){return Z=>Z.lift(new ie(K,F))}class ie{constructor(F,Z){this.compare=F,this.keySelector=Z}call(F,Z){return Z.subscribe(new ce(F,this.compare,this.keySelector))}}class ce extends _.L{constructor(F,Z,te){super(F),this.keySelector=te,this.hasKey=!1,"function"==typeof Z&&(this.compare=Z)}compare(F,Z){return F===Z}_next(F){let Z;try{const{keySelector:U}=this;Z=U?U(F):F}catch(U){return this.destination.error(U)}let te=!1;if(this.hasKey)try{const{compare:U}=this;te=U(this.key,Z)}catch(U){return this.destination.error(U)}else this.hasKey=!0;te||(this.key=Z,this.destination.next(F))}}},5435:(Ke,pe,I)=>{"use strict";I.d(pe,{h:()=>p});var _=I(7393);function p(K,F){return function(te){return te.lift(new ie(K,F))}}class ie{constructor(F,Z){this.predicate=F,this.thisArg=Z}call(F,Z){return Z.subscribe(new ce(F,this.predicate,this.thisArg))}}class ce extends _.L{constructor(F,Z,te){super(F),this.predicate=Z,this.thisArg=te,this.count=0}_next(F){let Z;try{Z=this.predicate.call(this.thisArg,F,this.count++)}catch(te){return void this.destination.error(te)}Z&&this.destination.next(F)}}},8939:(Ke,pe,I)=>{"use strict";I.d(pe,{x:()=>ie});var _=I(7393),p=I(5319);function ie(F){return Z=>Z.lift(new ce(F))}class ce{constructor(Z){this.callback=Z}call(Z,te){return te.subscribe(new K(Z,this.callback))}}class K extends _.L{constructor(Z,te){super(Z),this.add(new p.w(te))}}},8002:(Ke,pe,I)=>{"use strict";I.d(pe,{U:()=>p});var _=I(7393);function p(K,F){return function(te){if("function"!=typeof K)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return te.lift(new ie(K,F))}}class ie{constructor(F,Z){this.project=F,this.thisArg=Z}call(F,Z){return Z.subscribe(new ce(F,this.project,this.thisArg))}}class ce extends _.L{constructor(F,Z,te){super(F),this.project=Z,this.count=0,this.thisArg=te||this}_next(F){let Z;try{Z=this.project.call(this.thisArg,F,this.count++)}catch(te){return void this.destination.error(te)}this.destination.next(Z)}}},3282:(Ke,pe,I)=>{"use strict";I.d(pe,{J:()=>ie});var _=I(9773),p=I(4487);function ie(ce=Number.POSITIVE_INFINITY){return(0,_.zg)(p.y,ce)}},9773:(Ke,pe,I)=>{"use strict";I.d(pe,{zg:()=>ce});var _=I(8002),p=I(4402),ie=I(5345);function ce(te,U,H=Number.POSITIVE_INFINITY){return"function"==typeof U?x=>x.pipe(ce((ue,ve)=>(0,p.D)(te(ue,ve)).pipe((0,_.U)((Ie,X)=>U(ue,Ie,ve,X))),H)):("number"==typeof U&&(H=U),x=>x.lift(new K(te,H)))}class K{constructor(U,H=Number.POSITIVE_INFINITY){this.project=U,this.concurrent=H}call(U,H){return H.subscribe(new F(U,this.project,this.concurrent))}}class F extends ie.Ds{constructor(U,H,x=Number.POSITIVE_INFINITY){super(U),this.project=H,this.concurrent=x,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(U){this.active<this.concurrent?this._tryNext(U):this.buffer.push(U)}_tryNext(U){let H;const x=this.index++;try{H=this.project(U,x)}catch(ue){return void this.destination.error(ue)}this.active++,this._innerSub(H)}_innerSub(U){const H=new ie.IY(this),x=this.destination;x.add(H);const ue=(0,ie.ft)(U,H);ue!==H&&x.add(ue)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(U){this.destination.next(U)}notifyComplete(){const U=this.buffer;this.active--,U.length>0?this._next(U.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4458:(Ke,pe,I)=>{"use strict";I.d(pe,{O:()=>p});var _=I(2441);function p(ce,K){return function(Z){let te;if(te="function"==typeof ce?ce:function(){return ce},"function"==typeof K)return Z.lift(new ie(te,K));const U=Object.create(Z,_.N);return U.source=Z,U.subjectFactory=te,U}}class ie{constructor(K,F){this.subjectFactory=K,this.selector=F}call(K,F){const{selector:Z}=this,te=this.subjectFactory(),U=Z(te).subscribe(K);return U.add(F.subscribe(te)),U}}},1307:(Ke,pe,I)=>{"use strict";I.d(pe,{x:()=>p});var _=I(7393);function p(){return function(F){return F.lift(new ie(F))}}class ie{constructor(F){this.connectable=F}call(F,Z){const{connectable:te}=this;te._refCount++;const U=new ce(F,te),H=Z.subscribe(U);return U.closed||(U.connection=te.connect()),H}}class ce extends _.L{constructor(F,Z){super(F),this.connectable=Z}_unsubscribe(){const{connectable:F}=this;if(!F)return void(this.connection=null);this.connectable=null;const Z=F._refCount;if(Z<=0)return void(this.connection=null);if(F._refCount=Z-1,Z>1)return void(this.connection=null);const{connection:te}=this,U=F._connection;this.connection=null,U&&(!te||U===te)&&U.unsubscribe()}}},9761:(Ke,pe,I)=>{"use strict";I.d(pe,{O:()=>ie});var _=I(8071),p=I(4869);function ie(...ce){const K=ce[ce.length-1];return(0,p.K)(K)?(ce.pop(),F=>(0,_.z)(ce,F,K)):F=>(0,_.z)(ce,F)}},3190:(Ke,pe,I)=>{"use strict";I.d(pe,{w:()=>ce});var _=I(8002),p=I(4402),ie=I(5345);function ce(Z,te){return"function"==typeof te?U=>U.pipe(ce((H,x)=>(0,p.D)(Z(H,x)).pipe((0,_.U)((ue,ve)=>te(H,ue,x,ve))))):U=>U.lift(new K(Z))}class K{constructor(te){this.project=te}call(te,U){return U.subscribe(new F(te,this.project))}}class F extends ie.Ds{constructor(te,U){super(te),this.project=U,this.index=0}_next(te){let U;const H=this.index++;try{U=this.project(te,H)}catch(x){return void this.destination.error(x)}this._innerSub(U)}_innerSub(te){const U=this.innerSubscription;U&&U.unsubscribe();const H=new ie.IY(this),x=this.destination;x.add(H),this.innerSubscription=(0,ie.ft)(te,H),this.innerSubscription!==H&&x.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:(Ke,pe,I)=>{"use strict";I.d(pe,{q:()=>ce});var _=I(7393),p=I(7108),ie=I(9193);function ce(Z){return te=>0===Z?(0,ie.c)():te.lift(new K(Z))}class K{constructor(te){if(this.total=te,this.total<0)throw new p.W}call(te,U){return U.subscribe(new F(te,this.total))}}class F extends _.L{constructor(te,U){super(te),this.total=U,this.count=0}_next(te){const U=this.total,H=++this.count;H<=U&&(this.destination.next(te),H===U&&(this.destination.complete(),this.unsubscribe()))}}},8307:(Ke,pe,I)=>{"use strict";I.d(pe,{b:()=>ce});var _=I(7393),p=I(8640),ie=I(9105);function ce(Z,te,U){return function(x){return x.lift(new K(Z,te,U))}}class K{constructor(te,U,H){this.nextOrObserver=te,this.error=U,this.complete=H}call(te,U){return U.subscribe(new F(te,this.nextOrObserver,this.error,this.complete))}}class F extends _.L{constructor(te,U,H,x){super(te),this._tapNext=p.Z,this._tapError=p.Z,this._tapComplete=p.Z,this._tapError=H||p.Z,this._tapComplete=x||p.Z,(0,ie.m)(U)?(this._context=this,this._tapNext=U):U&&(this._context=U,this._tapNext=U.next||p.Z,this._tapError=U.error||p.Z,this._tapComplete=U.complete||p.Z)}_next(te){try{this._tapNext.call(this._context,te)}catch(U){return void this.destination.error(U)}this.destination.next(te)}_error(te){try{this._tapError.call(this._context,te)}catch(U){return void this.destination.error(U)}this.destination.error(te)}_complete(){try{this._tapComplete.call(this._context)}catch(te){return void this.destination.error(te)}return this.destination.complete()}}},4087:(Ke,pe,I)=>{"use strict";I.d(pe,{r:()=>ie});var _=I(7574),p=I(5319);function ie(ce,K){return new _.y(F=>{const Z=new p.w;let te=0;return Z.add(K.schedule(function(){te!==ce.length?(F.next(ce[te++]),F.closed||Z.add(this.schedule())):F.complete()})),Z})}},6465:(Ke,pe,I)=>{"use strict";I.d(pe,{o:()=>ie});var _=I(5319);class p extends _.w{constructor(K,F){super()}schedule(K,F=0){return this}}class ie extends p{constructor(K,F){super(K,F),this.scheduler=K,this.work=F,this.pending=!1}schedule(K,F=0){if(this.closed)return this;this.state=K;const Z=this.id,te=this.scheduler;return null!=Z&&(this.id=this.recycleAsyncId(te,Z,F)),this.pending=!0,this.delay=F,this.id=this.id||this.requestAsyncId(te,this.id,F),this}requestAsyncId(K,F,Z=0){return setInterval(K.flush.bind(K,this),Z)}recycleAsyncId(K,F,Z=0){if(null!==Z&&this.delay===Z&&!1===this.pending)return F;clearInterval(F)}execute(K,F){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Z=this._execute(K,F);if(Z)return Z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(K,F){let te,Z=!1;try{this.work(K)}catch(U){Z=!0,te=!!U&&U||new Error(U)}if(Z)return this.unsubscribe(),te}_unsubscribe(){const K=this.id,F=this.scheduler,Z=F.actions,te=Z.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==te&&Z.splice(te,1),null!=K&&(this.id=this.recycleAsyncId(F,K,null)),this.delay=null}}},6102:(Ke,pe,I)=>{"use strict";I.d(pe,{v:()=>p});let _=(()=>{class ie{constructor(K,F=ie.now){this.SchedulerAction=K,this.now=F}schedule(K,F=0,Z){return new this.SchedulerAction(this,K).schedule(Z,F)}}return ie.now=()=>Date.now(),ie})();class p extends _{constructor(ce,K=_.now){super(ce,()=>p.delegate&&p.delegate!==this?p.delegate.now():K()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(ce,K=0,F){return p.delegate&&p.delegate!==this?p.delegate.schedule(ce,K,F):super.schedule(ce,K,F)}flush(ce){const{actions:K}=this;if(this.active)return void K.push(ce);let F;this.active=!0;do{if(F=ce.execute(ce.state,ce.delay))break}while(ce=K.shift());if(this.active=!1,F){for(;ce=K.shift();)ce.unsubscribe();throw F}}}},3637:(Ke,pe,I)=>{"use strict";I.d(pe,{P:()=>ce});var _=I(6465);const ce=new(I(6102).v)(_.o)},377:(Ke,pe,I)=>{"use strict";I.d(pe,{hZ:()=>p});const p="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:(Ke,pe,I)=>{"use strict";I.d(pe,{L:()=>_});const _="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:(Ke,pe,I)=>{"use strict";I.d(pe,{b:()=>_});const _="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:(Ke,pe,I)=>{"use strict";I.d(pe,{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:(Ke,pe,I)=>{"use strict";I.d(pe,{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:(Ke,pe,I)=>{"use strict";function _(p){setTimeout(()=>{throw p},0)}I.d(pe,{z:()=>_})},4487:(Ke,pe,I)=>{"use strict";function _(p){return p}I.d(pe,{y:()=>_})},9796:(Ke,pe,I)=>{"use strict";I.d(pe,{k:()=>_});const _=Array.isArray||(p=>p&&"number"==typeof p.length)},9489:(Ke,pe,I)=>{"use strict";I.d(pe,{z:()=>_});const _=p=>p&&"number"==typeof p.length&&"function"!=typeof p},9989:(Ke,pe,I)=>{"use strict";function _(p){return p instanceof Date&&!isNaN(+p)}I.d(pe,{J:()=>_})},9105:(Ke,pe,I)=>{"use strict";function _(p){return"function"==typeof p}I.d(pe,{m:()=>_})},1555:(Ke,pe,I)=>{"use strict";function _(p){return null!==p&&"object"==typeof p}I.d(pe,{K:()=>_})},4072:(Ke,pe,I)=>{"use strict";function _(p){return!!p&&"function"!=typeof p.subscribe&&"function"==typeof p.then}I.d(pe,{t:()=>_})},4869:(Ke,pe,I)=>{"use strict";function _(p){return p&&"function"==typeof p.schedule}I.d(pe,{K:()=>_})},8640:(Ke,pe,I)=>{"use strict";function _(){}I.d(pe,{Z:()=>_})},7444:(Ke,pe,I)=>{"use strict";I.d(pe,{s:()=>x});var _=I(5015),p=I(4449),ce=I(377),F=I(6554),te=I(9489),U=I(4072),H=I(1555);const x=ue=>{if(ue&&"function"==typeof ue[F.L])return(ue=>ve=>{const Ie=ue[F.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,U.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 X;try{X=Ie.next()}catch(fe){return ve.error(fe),ve}if(X.done){ve.complete();break}if(ve.next(X.value),ve.closed)break}return"function"==typeof Ie.return&&ve.add(()=>{Ie.return&&Ie.return()}),ve})(ue);{const Ie=`You provided ${(0,H.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:(Ke,pe,I)=>{"use strict";I.d(pe,{V:()=>_});const _=p=>ie=>{for(let ce=0,K=p.length;ce<K&&!ie.closed;ce++)ie.next(p[ce]);ie.complete()}},3198:(Ke,pe,I)=>{"use strict";I.d(pe,{O:()=>X});var _=I(1841),p=I(6215),ie=I(7574),ce=I(3637);const F=(()=>{function fe(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return fe.prototype=Object.create(Error.prototype),fe})();var Z=I(9989),te=I(5345);class H{constructor(Te,Ne,Ve,Re){this.waitFor=Te,this.absoluteTimeout=Ne,this.withObservable=Ve,this.scheduler=Re}call(Te,Ne){return Ne.subscribe(new x(Te,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class x extends te.Ds{constructor(Te,Ne,Ve,Re,oe){super(Te),this.absoluteTimeout=Ne,this.waitFor=Ve,this.withObservable=Re,this.scheduler=oe,this.scheduleTimeout()}static dispatchTimeout(Te){const{withObservable:Ne}=Te;Te._unsubscribeAndRecycle(),Te.add((0,te.ft)(Ne,new te.IY(Te)))}scheduleTimeout(){const{action:Te}=this;Te?this.action=Te.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(x.dispatchTimeout,this.waitFor,this))}_next(Te){this.absoluteTimeout||this.scheduleTimeout(),super._next(Te)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var ue=I(205);var Ie=I(8720);let X=(()=>{class fe{constructor(Ne){this.http=Ne,this.headers=new _.WM({"Content-Type":"application/json"}),this.currentRequest=new p.X(0),this.currentRequest.subscribe(Ve=>this.updateSpinner(Ve))}post(Ne,Ve,Re=1e5){return new ie.y(oe=>{var _e=JSON.parse(window.localStorage.getItem("user"));let ze=new _.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});null!=_e&&(ze=new _.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+_e.access_token}));let St={headers:ze};this.addRequest(),this.http.post(Ne,Ve,St).pipe(function(fe,Te=ce.P){return function(fe,Te,Ne=ce.P){return Ve=>{let Re=(0,Z.J)(fe),oe=Re?+fe-Ne.now():Math.abs(fe);return Ve.lift(new H(oe,Re,Te,Ne))}}(fe,(0,ue._)(new F),Te)}(Re)).subscribe(tt=>{this.removeRequest(),oe.next(tt),oe.complete()},tt=>{this.removeRequest(),200==tt.status&&(oe.next(tt.error.text),oe.complete()),401==tt.status&&(oe.next(tt.error.text),oe.complete()),oe.error(tt)})})}postFormData(Ne,Ve){this.addRequest();var oe="Bearer "+JSON.parse(window.localStorage.getItem("user")).access_token;return new Promise((ze,St)=>{var tt=new XMLHttpRequest;tt.onreadystatechange=function(){4==tt.readyState&&(200==tt.status?ze(JSON.parse(tt.response)):St(tt.response))},tt.open("POST",Ne,!0),tt.setRequestHeader("Authorization",oe),tt.send(Ve)}).then(ze=>this.handleSuccess(ze)).catch(ze=>this.handleError(ze))}handleSuccess(Ne){return this.removeRequest(),void 0===Ne._body?Ne:(Ne._body=Ne._body||{},Ne.json())}handleError(Ne){if(this.removeRequest(),void 0===Ne._body)return Promise.reject(Ne.message||Ne);{let Ve=Ne.json();return Promise.reject(Ve.ExceptionMessage||Ve.Message||Ve)}}updateSpinner(Ne){}addRequest(){this.currentRequest.next(this.currentRequest.value+1)}removeRequest(){this.currentRequest.next(this.currentRequest.value-1)}notify(Ne,Ve){$.notify({message:Ne},{type:Ve,newest_on_top:!0})}}return fe.\u0275fac=function(Ne){return new(Ne||fe)(Ie.LFG(_.eN))},fe.\u0275prov=Ie.Yz7({token:fe,factory:fe.\u0275fac}),fe})()},5118:(Ke,pe,I)=>{"use strict";I.d(pe,{e:()=>p});var _=I(8720);let p=(()=>{class ie{constructor(){}GetNamePOS(){let K=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(K.access_token)}ParseToken(K){try{const Z=K.split(".")[0].replace("-","+").replace("_","/"),te=JSON.parse(window.atob(Z)),H=K.split(".")[1].replace("-","+").replace("_","/"),x=JSON.parse(window.atob(H));return x.header=te,x}catch(F){return!1}}}return ie.\u0275fac=function(K){return new(K||ie)},ie.\u0275prov=_.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})()},8578:(Ke,pe,I)=>{"use strict";var _=I(9075),p=I(8720),ie=I(1841),ce=I(3198),K=I(9171);const F=[{path:"",loadChildren:()=>Promise.all([I.e(665),I.e(642)]).then(I.bind(I,1642)).then(j=>j.LoginModule)},{path:"pages",loadChildren:()=>Promise.all([I.e(665),I.e(899)]).then(I.bind(I,3899)).then(j=>j.PagesModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let Z=(()=>{class j{}return j.\u0275fac=function(L){return new(L||j)},j.\u0275mod=p.oAB({type:j}),j.\u0275inj=p.cJS({imports:[[K.Bz.forRoot(F)],K.Bz]}),j})();var te=I(2298);function U(j,ae){function L(){return!L.pred.apply(L.thisArg,arguments)}return L.pred=j,L.thisArg=ae,L}var H=I(7444),x=I(5435),ue=I(7574),Ie=I(6682),X=I(8634),fe=I(8939),Te=I(3190),Ne=I(5345);function Ve(j){return ae=>ae.lift(new Re(j))}class Re{constructor(ae){this.durationSelector=ae}call(ae,L){return L.subscribe(new oe(ae,this.durationSelector))}}class oe extends Ne.Ds{constructor(ae,L){super(ae),this.durationSelector=L,this.hasValue=!1}_next(ae){try{const L=this.durationSelector.call(this,ae);L&&this._tryNext(ae,L)}catch(L){this.destination.error(L)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(ae,L){let me=this.durationSubscription;this.value=ae,this.hasValue=!0,me&&(me.unsubscribe(),this.remove(me)),me=(0,Ne.ft)(L,new Ne.IY(this)),me&&!me.closed&&this.add(this.durationSubscription=me)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const ae=this.value,L=this.durationSubscription;L&&(this.durationSubscription=void 0,L.unsubscribe(),this.remove(L)),this.value=void 0,this.hasValue=!1,super._next(ae)}}}var _e=I(7519),ze=I(8307),St=I(8583);function tt(j,ae){1&j&&p.GkF(0)}function at(j,ae){if(1&j&&p._UZ(0,"sk-cube-grid",4),2&j){const L=p.oxw(2);p.Q6J("backgroundColor",L.backgroundColor)}}function pt(j,ae){if(1&j&&p._UZ(0,"sk-chasing-dots",4),2&j){const L=p.oxw(2);p.Q6J("backgroundColor",L.backgroundColor)}}function Ft(j,ae){if(1&j&&p._UZ(0,"sk-double-bounce",4),2&j){const L=p.oxw(2);p.Q6J("backgroundColor",L.backgroundColor)}}function It(j,ae){if(1&j&&p._UZ(0,"sk-rotating-plane",4),2&j){const L=p.oxw(2);p.Q6J("backgroundColor",L.backgroundColor)}}function nt(j,ae){if(1&j&&p._UZ(0,"sk-spinner-pulse",4),2&j){const L=p.oxw(2);p.Q6J("backgroundColor",L.backgroundColor)}}function yt(j,ae){if(1&j&&p._UZ(0,"sk-three-bounce",4),2&j){const L=p.oxw(2);p.Q6J("backgroundColor",L.backgroundColor)}}function Ye(j,ae){if(1&j&&p._UZ(0,"sk-wandering-cubes",4),2&j){const L=p.oxw(2);p.Q6J("backgroundColor",L.backgroundColor)}}function Zn(j,ae){if(1&j&&p._UZ(0,"sk-wave",4),2&j){const L=p.oxw(2);p.Q6J("backgroundColor",L.backgroundColor)}}const Gn=function(j){return{"background-color":j}};function Fn(j,ae){if(1&j&&(p.TgZ(0,"div",1),p.YNc(1,tt,1,0,"ng-container",2),p.YNc(2,at,1,1,"sk-cube-grid",3),p.YNc(3,pt,1,1,"sk-chasing-dots",3),p.YNc(4,Ft,1,1,"sk-double-bounce",3),p.YNc(5,It,1,1,"sk-rotating-plane",3),p.YNc(6,nt,1,1,"sk-spinner-pulse",3),p.YNc(7,yt,1,1,"sk-three-bounce",3),p.YNc(8,Ye,1,1,"sk-wandering-cubes",3),p.YNc(9,Zn,1,1,"sk-wave",3),p.qZA()),2&j){const L=p.oxw();p.Udp("opacity",L.opacity),p.ekj("backdrop",L.backdrop),p.Q6J("ngStyle",p.VKq(14,Gn,L.backdrop?L.backdropBackgroundColor:"transparent")),p.xp6(1),p.Q6J("ngComponentOutlet",L.entryComponent),p.xp6(1),p.Q6J("ngIf",L.spinner===L.spinkit.skCubeGrid),p.xp6(1),p.Q6J("ngIf",L.spinner===L.spinkit.skChasingDots),p.xp6(1),p.Q6J("ngIf",L.spinner===L.spinkit.skDoubleBounce),p.xp6(1),p.Q6J("ngIf",L.spinner===L.spinkit.skRotatingPlane),p.xp6(1),p.Q6J("ngIf",L.spinner===L.spinkit.skSpinnerPulse),p.xp6(1),p.Q6J("ngIf",L.spinner===L.spinkit.skThreeBounce),p.xp6(1),p.Q6J("ngIf",L.spinner===L.spinkit.skWanderingCubes),p.xp6(1),p.Q6J("ngIf",L.spinner===L.spinkit.skWave)}}let kn=(()=>{class j{}return j.\u0275fac=function(L){return new(L||j)},j.\u0275dir=p.lG2({type:j,inputs:{backgroundColor:"backgroundColor"}}),j})(),cr=(()=>{class j extends kn{}return j.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(j)))(me||j)}}(),j.\u0275cmp=p.Xpm({type:j,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(L,me){1&L&&(p.TgZ(0,"div",0),p._UZ(1,"div",1),p._UZ(2,"div",2),p.qZA()),2&L&&(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)}}"]}),j})(),vn=(()=>{class j extends kn{}return j.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(j)))(me||j)}}(),j.\u0275cmp=p.Xpm({type:j,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(L,me){1&L&&(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&L&&(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)}}"]}),j})(),jt=(()=>{class j extends kn{}return j.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(j)))(me||j)}}(),j.\u0275cmp=p.Xpm({type:j,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(L,me){1&L&&(p.TgZ(0,"div",0),p._UZ(1,"div",1),p._UZ(2,"div",2),p.qZA()),2&L&&(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)}}"]}),j})(),he=(()=>{class j extends kn{}return j.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(j)))(me||j)}}(),j.\u0275cmp=p.Xpm({type:j,selectors:[["sk-rotating-plane"]],features:[p.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(L,me){1&L&&p._UZ(0,"div",0),2&L&&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)}}"]}),j})(),De=(()=>{class j extends kn{}return j.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(j)))(me||j)}}(),j.\u0275cmp=p.Xpm({type:j,selectors:[["sk-spinner-pulse"]],features:[p.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(L,me){1&L&&p._UZ(0,"div",0),2&L&&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}}"]}),j})(),J=(()=>{class j extends kn{}return j.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(j)))(me||j)}}(),j.\u0275cmp=p.Xpm({type:j,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(L,me){1&L&&(p.TgZ(0,"div",0),p._UZ(1,"div",1),p._UZ(2,"div",2),p._UZ(3,"div",3),p.qZA()),2&L&&(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)}}"]}),j})(),le=(()=>{class j extends kn{}return j.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(j)))(me||j)}}(),j.\u0275cmp=p.Xpm({type:j,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(L,me){1&L&&(p.TgZ(0,"div",0),p._UZ(1,"div",1),p._UZ(2,"div",2),p.qZA()),2&L&&(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)}}"]}),j})(),ke=(()=>{class j extends kn{}return j.\u0275fac=function(){let ae;return function(me){return(ae||(ae=p.n5z(j)))(me||j)}}(),j.\u0275cmp=p.Xpm({type:j,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(L,me){1&L&&(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&L&&(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)}}"]}),j})();const Ze={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};let Gt=(()=>{class j{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(L){this._filteredMethods=L}set filteredHeaders(L){this._filteredHeaders=L}set forceByPass(L){this._forceByPass=L}shouldBypassUrl(L){return this._filteredUrlPatterns.some(me=>me.test(L))}shouldBypassMethod(L){return this._filteredMethods.some(me=>me.toUpperCase()===L.method.toUpperCase())}shouldBypassHeader(L){return this._filteredHeaders.some(me=>L.headers.has(me))}shouldBypass(L){return this._forceByPass||this.shouldBypassUrl(L.urlWithParams)||this.shouldBypassMethod(L)||this.shouldBypassHeader(L)}intercept(L,me){const rt=this.shouldBypass(L);return rt||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),me.handle(L).pipe((0,fe.x)(()=>{rt||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return j.\u0275fac=function(L){return new(L||j)},j.\u0275prov=p.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})();const Ot=[{provide:ie.TP,useExisting:Gt,multi:!0}];let Un=(()=>{class j{constructor(L){this.pendingRequestsInterceptor=L,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 j.\u0275fac=function(L){return new(L||j)(p.LFG(Gt))},j.\u0275prov=p.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),cn=(()=>{class j{constructor(L,me){this.pendingRequestsInterceptor=L,this.spinnerVisibility=me,this.spinkit=Ze,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=Ze.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[L,me]=function(j,ae,L){return[(0,x.h)(ae,L)(new ue.y((0,H.s)(j))),(0,x.h)(U(ae,L))(new ue.y((0,H.s)(j)))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,rt=>rt);this.isVisible$=(0,Ie.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,Te.w)(()=>L.pipe(Ve(()=>(0,X.H)(this.debounceDelay))))),L.pipe((0,Te.w)(()=>me.pipe(Ve(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,_e.x)(),(0,ze.b)(rt=>this.updateExpirationDelay(rt)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(L=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(L)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(L){L&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,X.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return j.\u0275fac=function(L){return new(L||j)(p.Y36(Gt),p.Y36(Un))},j.\u0275cmp=p.Xpm({type:j,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(L,me){1&L&&(p.YNc(0,Fn,10,16,"div",0),p.ALo(1,"async")),2&L&&p.Q6J("ngIf",p.lcZ(1,1,me.isVisible$))},directives:[St.O5,St.PC,St.$G,vn,cr,jt,he,De,J,le,ke],pipes:[St.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}"]}),j})(),an=(()=>{class j{static forRoot(){return{ngModule:j,providers:[Ot]}}}return j.\u0275fac=function(L){return new(L||j)},j.\u0275mod=p.oAB({type:j}),j.\u0275inj=p.cJS({imports:[[St.ez]]}),j})(),Ln=(()=>{class j{constructor(){this.title="zoho"}ngOnInit(){this.overrideDateToJsonFunction()}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return new Date(this.getTime()-60*this.getTimezoneOffset()*1e3).toISOString()}}}return j.\u0275fac=function(L){return new(L||j)},j.\u0275cmp=p.Xpm({type:j,selectors:[["app-root"]],decls:2,vars:0,template:function(L,me){1&L&&(p._UZ(0,"router-outlet"),p._UZ(1,"ng-http-loader"))},directives:[K.lC,cn],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}"]}),j})();var Vn=I(6237),ir=I(9344);let Kt=(()=>{class j{constructor(L){this._router=L}intercept(L,me){let rt=JSON.parse(window.localStorage.getItem("user")),kt=new Date;if(null!=rt){let $t=new Date(rt.expiredAt);L=L.clone(kt<$t?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${rt.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else L=L.clone({setHeaders:{"Content-Type":"application/json"}});return me.handle(L)}}return j.\u0275fac=function(L){return new(L||j)(p.LFG(K.F0))},j.\u0275prov=p.Yz7({token:j,factory:j.\u0275fac}),j})();var dr=I(5118),qe=I(1439),Ce=I(205),Q=I(2759),Y=I(5917),xe=I(8071),Oe=I(9765),je=I(8640);const Se=new ue.y(je.Z);var ct=I(8002),dt=I(4458),hn=I(5257),qt=I(3637),Ct=I(9989),Ge=I(7393),ln=I(3098);class zt{constructor(ae,L){this.delay=ae,this.scheduler=L}call(ae,L){return L.subscribe(new ht(ae,this.delay,this.scheduler))}}class ht extends Ge.L{constructor(ae,L,me){super(ae),this.delay=L,this.scheduler=me,this.queue=[],this.active=!1,this.errored=!1}static dispatch(ae){const L=ae.source,me=L.queue,rt=ae.scheduler,kt=ae.destination;for(;me.length>0&&me[0].time-rt.now()<=0;)me.shift().notification.observe(kt);if(me.length>0){const $t=Math.max(0,me[0].time-rt.now());this.schedule(ae,$t)}else this.unsubscribe(),L.active=!1}_schedule(ae){this.active=!0,this.destination.add(ae.schedule(ht.dispatch,this.delay,{source:this,destination:this.destination,scheduler:ae}))}scheduleNotification(ae){if(!0===this.errored)return;const L=this.scheduler,me=new Cr(L.now()+this.delay,ae);this.queue.push(me),!1===this.active&&this._schedule(L)}_next(ae){this.scheduleNotification(ln.P.createNext(ae))}_error(ae){this.errored=!0,this.queue=[],this.destination.error(ae),this.unsubscribe()}_complete(){this.scheduleNotification(ln.P.createComplete()),this.unsubscribe()}}class Cr{constructor(ae,L){this.time=ae,this.notification=L}}const Vt="Service workers are disabled or not supported by this browser";class fr{constructor(ae){if(this.serviceWorker=ae,ae){const me=(0,Q.R)(ae,"controllerchange").pipe((0,ct.U)(()=>ae.controller)),rt=(0,qe.P)(()=>(0,Y.of)(ae.controller)),kt=(0,xe.z)(rt,me);this.worker=kt.pipe((0,x.h)(st=>!!st)),this.registration=this.worker.pipe((0,Te.w)(()=>ae.getRegistration()));const Be=(0,Q.R)(ae,"message").pipe((0,ct.U)(st=>st.data)).pipe((0,x.h)(st=>st&&st.type)).pipe((0,dt.O)(new Oe.xQ));Be.connect(),this.events=Be}else this.worker=this.events=this.registration=(Vt,(0,qe.P)(()=>(0,Ce._)(new Error("Service workers are disabled or not supported by this browser"))))}postMessage(ae,L){return this.worker.pipe((0,hn.q)(1),(0,ze.b)(me=>{me.postMessage(Object.assign({action:ae},L))})).toPromise().then(()=>{})}postMessageWithStatus(ae,L,me){const rt=this.waitForStatus(me),kt=this.postMessage(ae,L);return Promise.all([rt,kt]).then(()=>{})}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(ae){return this.events.pipe((0,x.h)(me=>me.type===ae))}nextEventOfType(ae){return this.eventsOfType(ae).pipe((0,hn.q)(1))}waitForStatus(ae){return this.eventsOfType("STATUS").pipe((0,x.h)(L=>L.nonce===ae),(0,hn.q)(1),(0,ct.U)(L=>{if(!L.status)throw new Error(L.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Br=(()=>{class j{constructor(L){if(this.sw=L,this.subscriptionChanges=new Oe.xQ,!L.isEnabled)return this.messages=Se,this.notificationClicks=Se,void(this.subscription=Se);this.messages=this.sw.eventsOfType("PUSH").pipe((0,ct.U)(rt=>rt.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,ct.U)(rt=>rt.data)),this.pushManager=this.sw.registration.pipe((0,ct.U)(rt=>rt.pushManager));const me=this.pushManager.pipe((0,Te.w)(rt=>rt.getSubscription()));this.subscription=(0,Ie.T)(me,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(L){if(!this.sw.isEnabled)return Promise.reject(new Error(Vt));const me={userVisibleOnly:!0};let rt=this.decodeBase64(L.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),kt=new Uint8Array(new ArrayBuffer(rt.length));for(let $t=0;$t<rt.length;$t++)kt[$t]=rt.charCodeAt($t);return me.applicationServerKey=kt,this.pushManager.pipe((0,Te.w)($t=>$t.subscribe(me)),(0,hn.q)(1)).toPromise().then($t=>(this.subscriptionChanges.next($t),$t))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,hn.q)(1),(0,Te.w)(me=>{if(null===me)throw new Error("Not subscribed to push notifications.");return me.unsubscribe().then(rt=>{if(!rt)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Vt))}decodeBase64(L){return atob(L)}}return j.\u0275fac=function(L){return new(L||j)(p.LFG(fr))},j.\u0275prov=p.Yz7({token:j,factory:j.\u0275fac}),j})(),yn=(()=>{class j{constructor(L){if(this.sw=L,!L.isEnabled)return this.available=Se,this.activated=Se,void(this.unrecoverable=Se);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(Vt));const L=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:L},L)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Vt));const L=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:L},L)}}return j.\u0275fac=function(L){return new(L||j)(p.LFG(fr))},j.\u0275prov=p.Yz7({token:j,factory:j.\u0275fac}),j})();class Kn{}const Jn=new p.OlP("NGSW_REGISTER_SCRIPT");function or(j,ae,L,me){return()=>{if(!(0,St.NF)(me)||!("serviceWorker"in navigator)||!1===L.enabled)return;let kt;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof L.registrationStrategy)kt=L.registrationStrategy();else{const[lr,...tn]=(L.registrationStrategy||"registerWhenStable:30000").split(":");switch(lr){case"registerImmediately":kt=(0,Y.of)(null);break;case"registerWithDelay":kt=xr(+tn[0]||0);break;case"registerWhenStable":kt=tn[0]?(0,Ie.T)(ar(j),xr(+tn[0])):ar(j);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${L.registrationStrategy}`)}}j.get(p.R0b).runOutsideAngular(()=>kt.pipe((0,hn.q)(1)).subscribe(()=>navigator.serviceWorker.register(ae,{scope:L.scope}).catch(lr=>console.error("Service worker registration failed with:",lr))))}}function xr(j){return(0,Y.of)(null).pipe(function(j,ae=qt.P){const me=(0,Ct.J)(j)?+j-ae.now():Math.abs(j);return rt=>rt.lift(new zt(me,ae))}(j))}function ar(j){return j.get(p.z2F).isStable.pipe((0,x.h)(L=>L))}function es(j,ae){return new fr((0,St.NF)(ae)&&!1!==j.enabled?navigator.serviceWorker:void 0)}let br=(()=>{class j{static register(L,me={}){return{ngModule:j,providers:[{provide:Jn,useValue:L},{provide:Kn,useValue:me},{provide:fr,useFactory:es,deps:[Kn,p.Lbi]},{provide:p.ip1,useFactory:or,deps:[p.zs3,Jn,Kn,p.Lbi],multi:!0}]}}}return j.\u0275fac=function(L){return new(L||j)},j.\u0275mod=p.oAB({type:j}),j.\u0275inj=p.cJS({providers:[Br,yn]}),j})();let bt=(()=>{class j{}return j.\u0275fac=function(L){return new(L||j)},j.\u0275mod=p.oAB({type:j,bootstrap:[Ln]}),j.\u0275inj=p.cJS({providers:[ce.O,dr.e,{provide:ie.TP,useClass:Kt,multi:!0}],imports:[[_.b2,Z,Vn.PW,ir.Rh.forRoot({positionClass:"toast-bottom-right",preventDuplicates:!0}),ie.JF,an.forRoot(),br.register("ngsw-worker.js",{enabled:true})]]}),j})();(0,p.G48)(),_.q6().bootstrapModule(bt).catch(j=>console.error(j))}},Ke=>{Ke(Ke.s=8578)}]);