@ngageoint/mage.web-app 6.4.0-beta.2 → 6.5.0-beta.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.
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{82524:(et,_e,_)=>{_.d(_e,{s:()=>x});var f=_(80529),v=_(96213),A=_(94650);let x=(()=>{class k{constructor(ie){this.httpClient=ie}getApi(){return this.httpClient.get("/api",{context:(new f.qT).set(v.h,!0)})}}return k.\u0275fac=function(ie){return new(ie||k)(A.LFG(f.eN))},k.\u0275prov=A.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})()},38159:(et,_e,_)=>{_.d(_e,{n:()=>v});var f=_(94650);let v=(()=>{class A{constructor(){this.tokenKey="token",this.pollingIntervalKey="pollingInterval",this.timeIntervalKey="timeInterval",this.teamsKey="teams",this.usersKey="users",this.formsKey="forms",this.mapPositionKey="mapPosition",this.coordinateSystemViewKey="coordinateSystemView",this.coordinateSystemEditKey="coordinateSystemEdit",this.timeZoneViewKey="timeZoneView",this.timeZoneEditKey="timeZoneEdit",this.timeFormatKey="timeFormat"}getToken(){return this.getLocalItem(this.tokenKey)}setToken(k){return this.setLocalItem(this.tokenKey,k)}removeToken(){return this.removeLocalItem(this.tokenKey)}setPollingInterval(k){return this.setLocalItem(this.pollingIntervalKey,k)}getPollingInterval(){return this.getLocalItem(this.pollingIntervalKey)}setTimeInterval(k){return this.setLocalItem(this.timeIntervalKey,JSON.stringify(k))}getTimeInterval(){const k=this.getLocalItem(this.timeIntervalKey);if(k){const U=JSON.parse(k);return U&&U.options&&(U.options.startDate&&(U.options.startDate=new Date(U.options.startDate)),U.options.endDate&&(U.options.endDate=new Date(U.options.endDate))),U}}getTeams(){const k=this.getLocalItem(this.teamsKey);if(k)return JSON.parse(k)}setTeams(k){return this.setLocalItem(this.teamsKey,JSON.stringify(k))}getUsers(){const k=this.getLocalItem(this.usersKey);if(k)return JSON.parse(k)}setUsers(k){return this.setLocalItem(this.usersKey,JSON.stringify(k))}getForms(){const k=this.getLocalItem(this.formsKey);if(k)return JSON.parse(k)}setForms(k){return this.setLocalItem(this.formsKey,JSON.stringify(k))}removeTeams(){return this.removeLocalItem(this.teamsKey)}setMapPosition(k){return this.setLocalItem(this.mapPositionKey,JSON.stringify(k))}getMapPosition(){const k=this.getLocalItem(this.mapPositionKey);if(k)return JSON.parse(k)}getCoordinateSystemView(){return this.getLocalItem(this.coordinateSystemViewKey)||"wgs84"}setCoordinateSystemView(k){return this.setLocalItem(this.coordinateSystemViewKey,k)}getCoordinateSystemEdit(){return this.getLocalItem(this.coordinateSystemEditKey)||this.getCoordinateSystemView()}setCoordinateSystemEdit(k){return this.setLocalItem(this.coordinateSystemEditKey,k)}getTimeZoneView(){return this.getLocalItem(this.timeZoneViewKey)||"local"}setTimeZoneView(k){return this.setLocalItem(this.timeZoneViewKey,k)}getTimeZoneEdit(){return this.getLocalItem(this.timeZoneEditKey)||this.getTimeZoneView()}setTimeZoneEdit(k){return this.setLocalItem(this.timeZoneEditKey,k)}getTimeFormat(){return this.getLocalItem(this.timeFormatKey)||"absolute"}setTimeFormat(k){return this.setLocalItem(this.timeFormatKey,k)}getLocalItem(k){try{if("localStorage"in window&&null!==window.localStorage)return localStorage.getItem(k)}catch{return}}setLocalItem(k,U){try{if("localStorage"in window&&null!==window.localStorage)return localStorage.setItem(k,U)}catch{return}}removeLocalItem(k){try{if("localStorage"in window&&null!==window.localStorage)return localStorage.removeItem(k)}catch{return!1}}}return A.\u0275fac=function(k){return new(k||A)},A.\u0275prov=f.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})()},96213:(et,_e,_)=>{_.d(_e,{N:()=>j,h:()=>z});var f=_(80529),v=_(77579),A=_(70262),x=_(63900),k=_(62843),U=_(28383),ie=_(94650),X=_(65938),Q=_(1584),$=_(38159);const z=new f.Xk(()=>!1);let j=(()=>{class Me{constructor(de,ge,se){this.dialog=de,this.userService=ge,this.localStorageService=se,this.isRefreshingToken=!1,this.tokenSubject=new v.x}intercept(de,ge){return!0===de.context.get(z)?ge.handle(de):de.url.startsWith("/api/")?ge.handle(this.tokenRequest(de)).pipe((0,A.K)(Pe=>Pe instanceof f.UA&&401===Pe.status?(this.userService.setUser(null),this.isRefreshingToken||(this.isRefreshingToken=!0,this.dialog.open(U.h,{width:"600px",disableClose:!0,autoFocus:!1}).afterClosed().subscribe(()=>{this.isRefreshingToken=!1,this.tokenSubject.next()})),this.tokenSubject.pipe((0,x.w)(()=>ge.handle(this.tokenRequest(de))))):(0,k._)(()=>Pe))):ge.handle(de)}tokenRequest(de){const ge=this.localStorageService.getToken();return de.clone({headers:de.headers.set("Authorization",`Bearer ${ge}`)})}}return Me.\u0275fac=function(de){return new(de||Me)(ie.LFG(X.uw),ie.LFG(Q.K),ie.LFG($.n))},Me.\u0275prov=ie.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})()},28383:(et,_e,_)=>{_.d(_e,{h:()=>x});var f=_(94650),v=_(82524),A=_(65938);let x=(()=>{class k{constructor(ie,X){this.apiService=ie,this.dialogRef=X}ngOnInit(){this.apiService.getApi().subscribe(ie=>{this.api=ie})}onIngress(){this.dialogRef.close()}}return k.\u0275fac=function(ie){return new(ie||k)(f.Y36(v.s),f.Y36(A.so))},k.\u0275cmp=f.Xpm({type:k,selectors:[["authentication-dialog"]],decls:6,vars:2,consts:[[1,"mat-dialog-title"],["mat-dialog-content",""],[1,"ingress"],[3,"landing","api","complete"]],template:function(ie,X){1&ie&&(f.TgZ(0,"div")(1,"h3",0),f._uU(2,"Please signin to continue to Mage"),f.qZA(),f.TgZ(3,"div",1)(4,"div",2)(5,"ingress",3),f.NdJ("complete",function(){return X.onIngress()}),f.qZA()()()()),2&ie&&(f.xp6(5),f.Q6J("landing",!1)("api",X.api))},styles:[".ingress[_ngcontent-%COMP%]{width:100%;height:100%}"]}),k})()},1584:(et,_e,_)=>{_.d(_e,{K:()=>X});var f=_(80529),v=_(61135),A=_(77579),x=_(18505),k=_(96213),U=_(94650),ie=_(38159);let X=(()=>{class Q{constructor(z,j){this.httpClient=z,this.localStorageService=j,this._myself=new v.X(null),this.myself$=this._myself.asObservable()}signup(z){return this.httpClient.post("/api/users/signups",{username:z},{context:(new f.qT).set(k.h,!0)})}signupVerify(z,j){return this.httpClient.post("/api/users/signups/verifications",z,{headers:{Authorization:`Bearer ${j}`},context:(new f.qT).set(k.h,!0)})}signin(z,j){return this.httpClient.post("/auth/local/signin",{username:z,password:j,appVersion:"Web Client"})}idpSignin(z){let j=new A.x;const Oe=window.open("/auth/"+z+"/signin","_blank");return window.addEventListener("message",function de(ge){window.removeEventListener("message",de,!1),ge.origin===window.location.origin&&(j.next(ge.data),Oe.close())},!1),j.asObservable()}ldapSignin(z,j){return this.httpClient.post("/auth/ldap/signin",{username:z,password:j,appVersion:"Web Client"},{context:(new f.qT).set(k.h,!0)})}authorize(z,j){return this.httpClient.post("/auth/token?createDevice=false",{uid:j,appVersion:"Web Client"},{headers:{Authorization:`Bearer ${z}`}}).pipe((0,x.b)(Me=>{this.setUser(Me.user)}))}getMyself(){return this.httpClient.get("/api/users/myself").pipe((0,x.b)(z=>{this.setUser(z)}))}setUser(z){this._myself.next(z),this.myself=z,this.amAdmin=this.myself&&this.myself.role&&("ADMIN_ROLE"===this.myself.role.name||"EVENT_MANAGER_ROLE"===this.myself.role.name)}getUser(z,j){const Me={};return(j=j||{}).populate&&(Me.populate=j.populate),this.httpClient.post(`/api/users/${z}`,{params:Me})}hasPermission(z){return this.myself.role.permissions.includes(z)}addRecentEvent(z){return this.httpClient.post(`/api/users/${this.myself.id}/events/${z.id}/recent`,{})}getRecentEventId(){var z=this.myself.recentEventIds;return z.length>0?z[0]:null}logout(){return this.httpClient.post("/api/logout",null,{responseType:"text"}).pipe((0,x.b)(()=>{this.clearUser()}))}saveProfile(z){const j=new FormData;for(var Me in z)null!=z[Me]&&j.append(Me,z[Me]);return this.httpClient.put("/api/users/myself",j,{reportProgress:!0,observe:"events"})}updatePassword(z,j){return this.httpClient.put("/api/users/myself/password",{username:this.myself.username,password:z,newPassword:j,newPasswordConfirm:j},{context:(new f.qT).set(k.h,!0),responseType:"text"})}clearUser(){this.myself=null,this.amAdmin=null,this.localStorageService.removeToken()}}return Q.\u0275fac=function(z){return new(z||Q)(U.LFG(f.eN),U.LFG(ie.n))},Q.\u0275prov=U.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})()},53255:(et,_e,_)=>{var f=_(11481),v=_(94650),A=_(37340);function k(M){return new v.vHH(3e3,!1)}function me(){return typeof window<"u"&&typeof window.document<"u"}function Ee(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ye(M){switch(M.length){case 0:return new A.ZN;case 1:return M[0];default:return new A.ZE(M)}}function Et(M,a,c,D,T=new Map,N=new Map){const ae=[],le=[];let Fe=-1,ze=null;if(D.forEach(ut=>{const ft=ut.get("offset"),Qt=ft==Fe,Kt=Qt&&ze||new Map;ut.forEach((Ct,Pt)=>{let cn=Pt,hn=Ct;if("offset"!==Pt)switch(cn=a.normalizePropertyName(cn,ae),hn){case A.k1:hn=T.get(Pt);break;case A.l3:hn=N.get(Pt);break;default:hn=a.normalizeStyleValue(Pt,cn,hn,ae)}Kt.set(cn,hn)}),Qt||le.push(Kt),ze=Kt,Fe=ft}),ae.length)throw function De(M){return new v.vHH(3502,!1)}();return le}function At(M,a,c,D){switch(a){case"start":M.onStart(()=>D(c&&at(c,"start",M)));break;case"done":M.onDone(()=>D(c&&at(c,"done",M)));break;case"destroy":M.onDestroy(()=>D(c&&at(c,"destroy",M)))}}function at(M,a,c){const N=wt(M.element,M.triggerName,M.fromState,M.toState,a||M.phaseName,c.totalTime??M.totalTime,!!c.disabled),ae=M._data;return null!=ae&&(N._data=ae),N}function wt(M,a,c,D,T="",N=0,ae){return{element:M,triggerName:a,fromState:c,toState:D,phaseName:T,totalTime:N,disabled:!!ae}}function vt(M,a,c){let D=M.get(a);return D||M.set(a,D=c),D}function tn(M){const a=M.indexOf(":");return[M.substring(1,a),M.slice(a+1)]}let Bt=(M,a)=>!1,Rt=(M,a,c)=>[],Jt=null;function Te(M){const a=M.parentNode||M.host;return a===Jt?null:a}(Ee()||typeof Element<"u")&&(me()?(Jt=(()=>document.documentElement)(),Bt=(M,a)=>{for(;a;){if(a===M)return!0;a=Te(a)}return!1}):Bt=(M,a)=>M.contains(a),Rt=(M,a,c)=>{if(c)return Array.from(M.querySelectorAll(a));const D=M.querySelector(a);return D?[D]:[]});let C=null,R=!1;const L=Bt,F=Rt;let Re=(()=>{class M{validateStyleProperty(c){return function K(M){C||(C=function Z(){return typeof document<"u"?document.body:null}()||{},R=!!C.style&&"WebkitAppearance"in C.style);let a=!0;return C.style&&!function S(M){return"ebkit"==M.substring(1,6)}(M)&&(a=M in C.style,!a&&R&&(a="Webkit"+M.charAt(0).toUpperCase()+M.slice(1)in C.style)),a}(c)}matchesElement(c,D){return!1}containsElement(c,D){return L(c,D)}getParentElement(c){return Te(c)}query(c,D,T){return F(c,D,T)}computeStyle(c,D,T){return T||""}animate(c,D,T,N,ae,le=[],Fe){return new A.ZN(T,N)}}return M.\u0275fac=function(c){return new(c||M)},M.\u0275prov=v.Yz7({token:M,factory:M.\u0275fac}),M})(),Ve=(()=>{class M{}return M.NOOP=new Re,M})();const Nt="ng-enter",St="ng-leave",dn="ng-trigger",It=".ng-trigger",we="ng-animating",oe=".ng-animating";function ce(M){if("number"==typeof M)return M;const a=M.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:W(parseFloat(a[1]),a[2])}function W(M,a){return"s"===a?1e3*M:M}function q(M,a,c){return M.hasOwnProperty("duration")?M:function B(M,a,c){let T,N=0,ae="";if("string"==typeof M){const le=M.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===le)return a.push(k()),{duration:0,delay:0,easing:""};T=W(parseFloat(le[1]),le[2]);const Fe=le[3];null!=Fe&&(N=W(parseFloat(Fe),le[4]));const ze=le[5];ze&&(ae=ze)}else T=M;if(!c){let le=!1,Fe=a.length;T<0&&(a.push(function U(){return new v.vHH(3100,!1)}()),le=!0),N<0&&(a.push(function ie(){return new v.vHH(3101,!1)}()),le=!0),le&&a.splice(Fe,0,k())}return{duration:T,delay:N,easing:ae}}(M,a,c)}function fe(M,a={}){return Object.keys(M).forEach(c=>{a[c]=M[c]}),a}function Ne(M){const a=new Map;return Object.keys(M).forEach(c=>{a.set(c,M[c])}),a}function Vt(M,a=new Map,c){if(c)for(let[D,T]of c)a.set(D,T);for(let[D,T]of M)a.set(D,T);return a}function Xn(M,a,c){return c?a+":"+c+";":""}function jt(M){let a="";for(let c=0;c<M.style.length;c++){const D=M.style.item(c);a+=Xn(0,D,M.style.getPropertyValue(D))}for(const c in M.style)M.style.hasOwnProperty(c)&&!c.startsWith("_")&&(a+=Xn(0,gt(c),M.style[c]));M.setAttribute("style",a)}function on(M,a,c){M.style&&(a.forEach((D,T)=>{const N=We(T);c&&!c.has(T)&&c.set(T,M.style[N]),M.style[N]=D}),Ee()&&jt(M))}function an(M,a){M.style&&(a.forEach((c,D)=>{const T=We(D);M.style[T]=""}),Ee()&&jt(M))}function En(M){return Array.isArray(M)?1==M.length?M[0]:(0,A.vP)(M):M}const Mn=new RegExp("{{\\s*(.+?)\\s*}}","g");function te(M){let a=[];if("string"==typeof M){let c;for(;c=Mn.exec(M);)a.push(c[1]);Mn.lastIndex=0}return a}function ne(M,a,c){const D=M.toString(),T=D.replace(Mn,(N,ae)=>{let le=a[ae];return null==le&&(c.push(function Q(M){return new v.vHH(3003,!1)}()),le=""),le.toString()});return T==D?M:T}function H(M){const a=[];let c=M.next();for(;!c.done;)a.push(c.value),c=M.next();return a}const Ce=/-+([a-z0-9])/g;function We(M){return M.replace(Ce,(...a)=>a[1].toUpperCase())}function gt(M){return M.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function nn(M,a,c){switch(a.type){case 7:return M.visitTrigger(a,c);case 0:return M.visitState(a,c);case 1:return M.visitTransition(a,c);case 2:return M.visitSequence(a,c);case 3:return M.visitGroup(a,c);case 4:return M.visitAnimate(a,c);case 5:return M.visitKeyframes(a,c);case 6:return M.visitStyle(a,c);case 8:return M.visitReference(a,c);case 9:return M.visitAnimateChild(a,c);case 10:return M.visitAnimateRef(a,c);case 11:return M.visitQuery(a,c);case 12:return M.visitStagger(a,c);default:throw function $(M){return new v.vHH(3004,!1)}()}}function Vn(M,a){return window.getComputedStyle(M)[a]}function Kn(M,a){const c=[];return"string"==typeof M?M.split(/\s*,\s*/).forEach(D=>function kr(M,a,c){if(":"==M[0]){const Fe=function Jr(M,a){switch(M){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,D)=>parseFloat(D)>parseFloat(c);case":decrement":return(c,D)=>parseFloat(D)<parseFloat(c);default:return a.push(function Se(M){return new v.vHH(3016,!1)}()),"* => *"}}(M,c);if("function"==typeof Fe)return void a.push(Fe);M=Fe}const D=M.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==D||D.length<4)return c.push(function ue(M){return new v.vHH(3015,!1)}()),a;const T=D[1],N=D[2],ae=D[3];a.push(Br(T,ae));"<"==N[0]&&!("*"==T&&"*"==ae)&&a.push(Br(ae,T))}(D,c,a)):c.push(M),c}const qt=new Set(["true","1"]),qr=new Set(["false","0"]);function Br(M,a){const c=qt.has(M)||qr.has(M),D=qt.has(a)||qr.has(a);return(T,N)=>{let ae="*"==M||M==T,le="*"==a||a==N;return!ae&&c&&"boolean"==typeof T&&(ae=T?qt.has(M):qr.has(M)),!le&&D&&"boolean"==typeof N&&(le=N?qt.has(a):qr.has(a)),ae&&le}}const ei=new RegExp("s*:selfs*,?","g");function rr(M,a,c,D){return new tr(M).build(a,c,D)}class tr{constructor(a){this._driver=a}build(a,c,D){const T=new An(c);return this._resetContextStyleTimingState(T),nn(this,En(a),T)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,c){let D=c.queryCount=0,T=c.depCount=0;const N=[],ae=[];return"@"==a.name.charAt(0)&&c.errors.push(function j(){return new v.vHH(3006,!1)}()),a.definitions.forEach(le=>{if(this._resetContextStyleTimingState(c),0==le.type){const Fe=le,ze=Fe.name;ze.toString().split(/\s*,\s*/).forEach(ut=>{Fe.name=ut,N.push(this.visitState(Fe,c))}),Fe.name=ze}else if(1==le.type){const Fe=this.visitTransition(le,c);D+=Fe.queryCount,T+=Fe.depCount,ae.push(Fe)}else c.errors.push(function Me(){return new v.vHH(3007,!1)}())}),{type:7,name:a.name,states:N,transitions:ae,queryCount:D,depCount:T,options:null}}visitState(a,c){const D=this.visitStyle(a.styles,c),T=a.options&&a.options.params||null;if(D.containsDynamicStyles){const N=new Set,ae=T||{};D.styles.forEach(le=>{le instanceof Map&&le.forEach(Fe=>{te(Fe).forEach(ze=>{ae.hasOwnProperty(ze)||N.add(ze)})})}),N.size&&(H(N.values()),c.errors.push(function Oe(M,a){return new v.vHH(3008,!1)}()))}return{type:0,name:a.name,style:D,options:T?{params:T}:null}}visitTransition(a,c){c.queryCount=0,c.depCount=0;const D=nn(this,En(a.animation),c);return{type:1,matchers:Kn(a.expr,c.errors),animation:D,queryCount:c.queryCount,depCount:c.depCount,options:nr(a.options)}}visitSequence(a,c){return{type:2,steps:a.steps.map(D=>nn(this,D,c)),options:nr(a.options)}}visitGroup(a,c){const D=c.currentTime;let T=0;const N=a.steps.map(ae=>{c.currentTime=D;const le=nn(this,ae,c);return T=Math.max(T,c.currentTime),le});return c.currentTime=T,{type:3,steps:N,options:nr(a.options)}}visitAnimate(a,c){const D=function Ur(M,a){if(M.hasOwnProperty("duration"))return M;if("number"==typeof M)return Ir(q(M,a).duration,0,"");const c=M;if(c.split(/\s+/).some(N=>"{"==N.charAt(0)&&"{"==N.charAt(1))){const N=Ir(0,0,"");return N.dynamic=!0,N.strValue=c,N}const T=q(c,a);return Ir(T.duration,T.delay,T.easing)}(a.timings,c.errors);c.currentAnimateTimings=D;let T,N=a.styles?a.styles:(0,A.oB)({});if(5==N.type)T=this.visitKeyframes(N,c);else{let ae=a.styles,le=!1;if(!ae){le=!0;const ze={};D.easing&&(ze.easing=D.easing),ae=(0,A.oB)(ze)}c.currentTime+=D.duration+D.delay;const Fe=this.visitStyle(ae,c);Fe.isEmptyStep=le,T=Fe}return c.currentAnimateTimings=null,{type:4,timings:D,style:T,options:null}}visitStyle(a,c){const D=this._makeStyleAst(a,c);return this._validateStyleAst(D,c),D}_makeStyleAst(a,c){const D=[],T=Array.isArray(a.styles)?a.styles:[a.styles];for(let le of T)"string"==typeof le?le===A.l3?D.push(le):c.errors.push(new v.vHH(3002,!1)):D.push(Ne(le));let N=!1,ae=null;return D.forEach(le=>{if(le instanceof Map&&(le.has("easing")&&(ae=le.get("easing"),le.delete("easing")),!N))for(let Fe of le.values())if(Fe.toString().indexOf("{{")>=0){N=!0;break}}),{type:6,styles:D,easing:ae,offset:a.offset,containsDynamicStyles:N,options:null}}_validateStyleAst(a,c){const D=c.currentAnimateTimings;let T=c.currentTime,N=c.currentTime;D&&N>0&&(N-=D.duration+D.delay),a.styles.forEach(ae=>{"string"!=typeof ae&&ae.forEach((le,Fe)=>{const ze=c.collectedStyles.get(c.currentQuerySelector),ut=ze.get(Fe);let ft=!0;ut&&(N!=T&&N>=ut.startTime&&T<=ut.endTime&&(c.errors.push(function se(M,a,c,D,T){return new v.vHH(3010,!1)}()),ft=!1),N=ut.startTime),ft&&ze.set(Fe,{startTime:N,endTime:T}),c.options&&function wn(M,a,c){const D=a.params||{},T=te(M);T.length&&T.forEach(N=>{D.hasOwnProperty(N)||c.push(function X(M){return new v.vHH(3001,!1)}())})}(le,c.options,c.errors)})})}visitKeyframes(a,c){const D={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function Pe(){return new v.vHH(3011,!1)}()),D;let N=0;const ae=[];let le=!1,Fe=!1,ze=0;const ut=a.steps.map(hn=>{const Cn=this._makeStyleAst(hn,c);let Pn=null!=Cn.offset?Cn.offset:function Gn(M){if("string"==typeof M)return null;let a=null;if(Array.isArray(M))M.forEach(c=>{if(c instanceof Map&&c.has("offset")){const D=c;a=parseFloat(D.get("offset")),D.delete("offset")}});else if(M instanceof Map&&M.has("offset")){const c=M;a=parseFloat(c.get("offset")),c.delete("offset")}return a}(Cn.styles),Rn=0;return null!=Pn&&(N++,Rn=Cn.offset=Pn),Fe=Fe||Rn<0||Rn>1,le=le||Rn<ze,ze=Rn,ae.push(Rn),Cn});Fe&&c.errors.push(function tt(){return new v.vHH(3012,!1)}()),le&&c.errors.push(function nt(){return new v.vHH(3200,!1)}());const ft=a.steps.length;let Qt=0;N>0&&N<ft?c.errors.push(function Ae(){return new v.vHH(3202,!1)}()):0==N&&(Qt=1/(ft-1));const Kt=ft-1,Ct=c.currentTime,Pt=c.currentAnimateTimings,cn=Pt.duration;return ut.forEach((hn,Cn)=>{const Pn=Qt>0?Cn==Kt?1:Qt*Cn:ae[Cn],Rn=Pn*cn;c.currentTime=Ct+Pt.delay+Rn,Pt.duration=Rn,this._validateStyleAst(hn,c),hn.offset=Pn,D.styles.push(hn)}),D}visitReference(a,c){return{type:8,animation:nn(this,En(a.animation),c),options:nr(a.options)}}visitAnimateChild(a,c){return c.depCount++,{type:9,options:nr(a.options)}}visitAnimateRef(a,c){return{type:10,animation:this.visitReference(a.animation,c),options:nr(a.options)}}visitQuery(a,c){const D=c.currentQuerySelector,T=a.options||{};c.queryCount++,c.currentQuery=a;const[N,ae]=function ln(M){const a=!!M.split(/\s*,\s*/).find(c=>":self"==c);return a&&(M=M.replace(ei,"")),M=M.replace(/@\*/g,It).replace(/@\w+/g,c=>It+"-"+c.slice(1)).replace(/:animating/g,oe),[M,a]}(a.selector);c.currentQuerySelector=D.length?D+" "+N:N,vt(c.collectedStyles,c.currentQuerySelector,new Map);const le=nn(this,En(a.animation),c);return c.currentQuery=null,c.currentQuerySelector=D,{type:11,selector:N,limit:T.limit||0,optional:!!T.optional,includeSelf:ae,animation:le,originalSelector:a.selector,options:nr(a.options)}}visitStagger(a,c){c.currentQuery||c.errors.push(function Y(){return new v.vHH(3013,!1)}());const D="full"===a.timings?{duration:0,delay:0,easing:"full"}:q(a.timings,c.errors,!0);return{type:12,animation:nn(this,En(a.animation),c),timings:D,options:null}}}class An{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function nr(M){return M?(M=fe(M)).params&&(M.params=function Ar(M){return M?fe(M):null}(M.params)):M={},M}function Ir(M,a,c){return{duration:M,delay:a,easing:c}}function qn(M,a,c,D,T,N,ae=null,le=!1){return{type:1,element:M,keyframes:a,preStyleProps:c,postStyleProps:D,duration:T,delay:N,totalTime:T+N,easing:ae,subTimeline:le}}class ti{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,c){let D=this._map.get(a);D||this._map.set(a,D=[]),D.push(...c)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const as=new RegExp(":enter","g"),ir=new RegExp(":leave","g");function Li(M,a,c,D,T,N=new Map,ae=new Map,le,Fe,ze=[]){return(new Gs).buildKeyframes(M,a,c,D,T,N,ae,le,Fe,ze)}class Gs{buildKeyframes(a,c,D,T,N,ae,le,Fe,ze,ut=[]){ze=ze||new ti;const ft=new yi(a,c,ze,T,N,ut,[]);ft.options=Fe;const Qt=Fe.delay?ce(Fe.delay):0;ft.currentTimeline.delayNextStep(Qt),ft.currentTimeline.setStyles([ae],null,ft.errors,Fe),nn(this,D,ft);const Kt=ft.timelines.filter(Ct=>Ct.containsAnimation());if(Kt.length&&le.size){let Ct;for(let Pt=Kt.length-1;Pt>=0;Pt--){const cn=Kt[Pt];if(cn.element===c){Ct=cn;break}}Ct&&!Ct.allowOnlyTimelineStyles()&&Ct.setStyles([le],null,ft.errors,Fe)}return Kt.length?Kt.map(Ct=>Ct.buildKeyframes()):[qn(c,[],[],[],0,Qt,"",!1)]}visitTrigger(a,c){}visitState(a,c){}visitTransition(a,c){}visitAnimateChild(a,c){const D=c.subInstructions.get(c.element);if(D){const T=c.createSubContext(a.options),N=c.currentTimeline.currentTime,ae=this._visitSubInstructions(D,T,T.options);N!=ae&&c.transformIntoNewTimeline(ae)}c.previousNode=a}visitAnimateRef(a,c){const D=c.createSubContext(a.options);D.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],c,D),this.visitReference(a.animation,D),c.transformIntoNewTimeline(D.currentTimeline.currentTime),c.previousNode=a}_applyAnimationRefDelays(a,c,D){for(const T of a){const N=T?.delay;if(N){const ae="number"==typeof N?N:ce(ne(N,T?.params??{},c.errors));D.delayNextStep(ae)}}}_visitSubInstructions(a,c,D){let N=c.currentTimeline.currentTime;const ae=null!=D.duration?ce(D.duration):null,le=null!=D.delay?ce(D.delay):null;return 0!==ae&&a.forEach(Fe=>{const ze=c.appendInstructionToTimeline(Fe,ae,le);N=Math.max(N,ze.duration+ze.delay)}),N}visitReference(a,c){c.updateOptions(a.options,!0),nn(this,a.animation,c),c.previousNode=a}visitSequence(a,c){const D=c.subContextCount;let T=c;const N=a.options;if(N&&(N.params||N.delay)&&(T=c.createSubContext(N),T.transformIntoNewTimeline(),null!=N.delay)){6==T.previousNode.type&&(T.currentTimeline.snapshotCurrentStyles(),T.previousNode=_i);const ae=ce(N.delay);T.delayNextStep(ae)}a.steps.length&&(a.steps.forEach(ae=>nn(this,ae,T)),T.currentTimeline.applyStylesToKeyframe(),T.subContextCount>D&&T.transformIntoNewTimeline()),c.previousNode=a}visitGroup(a,c){const D=[];let T=c.currentTimeline.currentTime;const N=a.options&&a.options.delay?ce(a.options.delay):0;a.steps.forEach(ae=>{const le=c.createSubContext(a.options);N&&le.delayNextStep(N),nn(this,ae,le),T=Math.max(T,le.currentTimeline.currentTime),D.push(le.currentTimeline)}),D.forEach(ae=>c.currentTimeline.mergeTimelineCollectedStyles(ae)),c.transformIntoNewTimeline(T),c.previousNode=a}_visitTiming(a,c){if(a.dynamic){const D=a.strValue;return q(c.params?ne(D,c.params,c.errors):D,c.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,c){const D=c.currentAnimateTimings=this._visitTiming(a.timings,c),T=c.currentTimeline;D.delay&&(c.incrementTime(D.delay),T.snapshotCurrentStyles());const N=a.style;5==N.type?this.visitKeyframes(N,c):(c.incrementTime(D.duration),this.visitStyle(N,c),T.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=a}visitStyle(a,c){const D=c.currentTimeline,T=c.currentAnimateTimings;!T&&D.hasCurrentStyleProperties()&&D.forwardFrame();const N=T&&T.easing||a.easing;a.isEmptyStep?D.applyEmptyStep(N):D.setStyles(a.styles,N,c.errors,c.options),c.previousNode=a}visitKeyframes(a,c){const D=c.currentAnimateTimings,T=c.currentTimeline.duration,N=D.duration,le=c.createSubContext().currentTimeline;le.easing=D.easing,a.styles.forEach(Fe=>{le.forwardTime((Fe.offset||0)*N),le.setStyles(Fe.styles,Fe.easing,c.errors,c.options),le.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(le),c.transformIntoNewTimeline(T+N),c.previousNode=a}visitQuery(a,c){const D=c.currentTimeline.currentTime,T=a.options||{},N=T.delay?ce(T.delay):0;N&&(6===c.previousNode.type||0==D&&c.currentTimeline.hasCurrentStyleProperties())&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=_i);let ae=D;const le=c.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!T.optional,c.errors);c.currentQueryTotal=le.length;let Fe=null;le.forEach((ze,ut)=>{c.currentQueryIndex=ut;const ft=c.createSubContext(a.options,ze);N&&ft.delayNextStep(N),ze===c.element&&(Fe=ft.currentTimeline),nn(this,a.animation,ft),ft.currentTimeline.applyStylesToKeyframe(),ae=Math.max(ae,ft.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(ae),Fe&&(c.currentTimeline.mergeTimelineCollectedStyles(Fe),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=a}visitStagger(a,c){const D=c.parentContext,T=c.currentTimeline,N=a.timings,ae=Math.abs(N.duration),le=ae*(c.currentQueryTotal-1);let Fe=ae*c.currentQueryIndex;switch(N.duration<0?"reverse":N.easing){case"reverse":Fe=le-Fe;break;case"full":Fe=D.currentStaggerTime}const ut=c.currentTimeline;Fe&&ut.delayNextStep(Fe);const ft=ut.currentTime;nn(this,a.animation,c),c.previousNode=a,D.currentStaggerTime=T.currentTime-ft+(T.startTime-D.currentTimeline.startTime)}}const _i={};class yi{constructor(a,c,D,T,N,ae,le,Fe){this._driver=a,this.element=c,this.subInstructions=D,this._enterClassName=T,this._leaveClassName=N,this.errors=ae,this.timelines=le,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_i,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Fe||new Vr(this._driver,c,0),le.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,c){if(!a)return;const D=a;let T=this.options;null!=D.duration&&(T.duration=ce(D.duration)),null!=D.delay&&(T.delay=ce(D.delay));const N=D.params;if(N){let ae=T.params;ae||(ae=this.options.params={}),Object.keys(N).forEach(le=>{(!c||!ae.hasOwnProperty(le))&&(ae[le]=ne(N[le],ae,this.errors))})}}_copyOptions(){const a={};if(this.options){const c=this.options.params;if(c){const D=a.params={};Object.keys(c).forEach(T=>{D[T]=c[T]})}}return a}createSubContext(a=null,c,D){const T=c||this.element,N=new yi(this._driver,T,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(T,D||0));return N.previousNode=this.previousNode,N.currentAnimateTimings=this.currentAnimateTimings,N.options=this._copyOptions(),N.updateOptions(a),N.currentQueryIndex=this.currentQueryIndex,N.currentQueryTotal=this.currentQueryTotal,N.parentContext=this,this.subContextCount++,N}transformIntoNewTimeline(a){return this.previousNode=_i,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,c,D){const T={duration:c??a.duration,delay:this.currentTimeline.currentTime+(D??0)+a.delay,easing:""},N=new vr(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,T,a.stretchStartingKeyframe);return this.timelines.push(N),T}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,c,D,T,N,ae){let le=[];if(T&&le.push(this.element),a.length>0){a=(a=a.replace(as,"."+this._enterClassName)).replace(ir,"."+this._leaveClassName);let ze=this._driver.query(this.element,a,1!=D);0!==D&&(ze=D<0?ze.slice(ze.length+D,ze.length):ze.slice(0,D)),le.push(...ze)}return!N&&0==le.length&&ae.push(function ye(M){return new v.vHH(3014,!1)}()),le}}class Vr{constructor(a,c,D,T){this._driver=a,this.element=c,this.startTime=D,this._elementTimelineStylesLookup=T,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const c=1===this._keyframes.size&&this._pendingStyles.size;this.duration||c?(this.forwardTime(this.currentTime+a),c&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,c){return this.applyStylesToKeyframe(),new Vr(this._driver,a,c||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,c){this._localTimelineStyles.set(a,c),this._globalTimelineStyles.set(a,c),this._styleSummary.set(a,{time:this.currentTime,value:c})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[c,D]of this._globalTimelineStyles)this._backFill.set(c,D||A.l3),this._currentKeyframe.set(c,A.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,c,D,T){c&&this._previousKeyframe.set("easing",c);const N=T&&T.params||{},ae=function Ss(M,a){const c=new Map;let D;return M.forEach(T=>{if("*"===T){D=D||a.keys();for(let N of D)c.set(N,A.l3)}else Vt(T,c)}),c}(a,this._globalTimelineStyles);for(let[le,Fe]of ae){const ze=ne(Fe,N,D);this._pendingStyles.set(le,ze),this._localTimelineStyles.has(le)||this._backFill.set(le,this._globalTimelineStyles.get(le)??A.l3),this._updateStyle(le,ze)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,c)=>{this._currentKeyframe.set(c,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,c)=>{this._currentKeyframe.has(c)||this._currentKeyframe.set(c,a)}))}snapshotCurrentStyles(){for(let[a,c]of this._localTimelineStyles)this._pendingStyles.set(a,c),this._updateStyle(a,c)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let c in this._currentKeyframe)a.push(c);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((c,D)=>{const T=this._styleSummary.get(D);(!T||c.time>T.time)&&this._updateStyle(D,c.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,c=new Set,D=1===this._keyframes.size&&0===this.duration;let T=[];this._keyframes.forEach((le,Fe)=>{const ze=Vt(le,new Map,this._backFill);ze.forEach((ut,ft)=>{ut===A.k1?a.add(ft):ut===A.l3&&c.add(ft)}),D||ze.set("offset",Fe/this.duration),T.push(ze)});const N=a.size?H(a.values()):[],ae=c.size?H(c.values()):[];if(D){const le=T[0],Fe=new Map(le);le.set("offset",0),Fe.set("offset",1),T=[le,Fe]}return qn(this.element,T,N,ae,this.duration,this.startTime,this.easing,!1)}}class vr extends Vr{constructor(a,c,D,T,N,ae,le=!1){super(a,c,ae.delay),this.keyframes=D,this.preStyleProps=T,this.postStyleProps=N,this._stretchStartingKeyframe=le,this.timings={duration:ae.duration,delay:ae.delay,easing:ae.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:c,duration:D,easing:T}=this.timings;if(this._stretchStartingKeyframe&&c){const N=[],ae=D+c,le=c/ae,Fe=Vt(a[0]);Fe.set("offset",0),N.push(Fe);const ze=Vt(a[0]);ze.set("offset",jr(le)),N.push(ze);const ut=a.length-1;for(let ft=1;ft<=ut;ft++){let Qt=Vt(a[ft]);const Kt=Qt.get("offset");Qt.set("offset",jr((c+Kt*D)/ae)),N.push(Qt)}D=ae,c=0,T="",a=N}return qn(this.element,a,this.preStyleProps,this.postStyleProps,D,c,T,!0)}}function jr(M,a=3){const c=Math.pow(10,a-1);return Math.round(M*c)/c}class ls{}const Ts=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class cs extends ls{normalizePropertyName(a,c){return We(a)}normalizeStyleValue(a,c,D,T){let N="";const ae=D.toString().trim();if(Ts.has(c)&&0!==D&&"0"!==D)if("number"==typeof D)N="px";else{const le=D.match(/^[+-]?[\d\.]+([a-z]*)$/);le&&0==le[1].length&&T.push(function z(M,a){return new v.vHH(3005,!1)}())}return ae+N}}function Or(M,a,c,D,T,N,ae,le,Fe,ze,ut,ft,Qt){return{type:0,element:M,triggerName:a,isRemovalTransition:T,fromState:c,fromStyles:N,toState:D,toStyles:ae,timelines:le,queriedElements:Fe,preStyleProps:ze,postStyleProps:ut,totalTime:ft,errors:Qt}}const Fi={};class Ni{constructor(a,c,D){this._triggerName=a,this.ast=c,this._stateStyles=D}match(a,c,D,T){return function sr(M,a,c,D,T){return M.some(N=>N(a,c,D,T))}(this.ast.matchers,a,c,D,T)}buildStyles(a,c,D){let T=this._stateStyles.get("*");return void 0!==a&&(T=this._stateStyles.get(a?.toString())||T),T?T.buildStyles(c,D):new Map}build(a,c,D,T,N,ae,le,Fe,ze,ut){const ft=[],Qt=this.ast.options&&this.ast.options.params||Fi,Ct=this.buildStyles(D,le&&le.params||Fi,ft),Pt=Fe&&Fe.params||Fi,cn=this.buildStyles(T,Pt,ft),hn=new Set,Cn=new Map,Pn=new Map,Rn="void"===T,p={params:vi(Pt,Qt),delay:this.ast.options?.delay},w=ut?[]:Li(a,c,this.ast.animation,N,ae,Ct,cn,p,ze,ft);let m=0;if(w.forEach(re=>{m=Math.max(re.duration+re.delay,m)}),ft.length)return Or(c,this._triggerName,D,T,Rn,Ct,cn,[],[],Cn,Pn,m,ft);w.forEach(re=>{const Be=re.element,Ke=vt(Cn,Be,new Set);re.preStyleProps.forEach(Gt=>Ke.add(Gt));const pt=vt(Pn,Be,new Set);re.postStyleProps.forEach(Gt=>pt.add(Gt)),Be!==c&&hn.add(Be)});const I=H(hn.values());return Or(c,this._triggerName,D,T,Rn,Ct,cn,w,I,Cn,Pn,m)}}function vi(M,a){const c=fe(a);for(const D in M)M.hasOwnProperty(D)&&null!=M[D]&&(c[D]=M[D]);return c}class ki{constructor(a,c,D){this.styles=a,this.defaultParams=c,this.normalizer=D}buildStyles(a,c){const D=new Map,T=fe(this.defaultParams);return Object.keys(a).forEach(N=>{const ae=a[N];null!==ae&&(T[N]=ae)}),this.styles.styles.forEach(N=>{"string"!=typeof N&&N.forEach((ae,le)=>{ae&&(ae=ne(ae,T,c));const Fe=this.normalizer.normalizePropertyName(le,c);ae=this.normalizer.normalizeStyleValue(le,Fe,ae,c),D.set(Fe,ae)})}),D}}class Bi{constructor(a,c,D){this.name=a,this.ast=c,this._normalizer=D,this.transitionFactories=[],this.states=new Map,c.states.forEach(T=>{this.states.set(T.name,new ki(T.style,T.options&&T.options.params||{},D))}),ni(this.states,"true","1"),ni(this.states,"false","0"),c.transitions.forEach(T=>{this.transitionFactories.push(new Ni(a,T,this.states))}),this.fallbackTransition=function Ui(M,a,c){return new Ni(M,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ae,le)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,c,D,T){return this.transitionFactories.find(ae=>ae.match(a,c,D,T))||null}matchStyles(a,c,D){return this.fallbackTransition.buildStyles(a,c,D)}}function ni(M,a,c){M.has(a)?M.has(c)||M.set(c,M.get(a)):M.has(c)&&M.set(a,M.get(c))}const us=new ti;class ds{constructor(a,c,D){this.bodyNode=a,this._driver=c,this._normalizer=D,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,c){const D=[],N=rr(this._driver,c,D,[]);if(D.length)throw function Ue(M){return new v.vHH(3503,!1)}();this._animations.set(a,N)}_buildPlayer(a,c,D){const T=a.element,N=Et(0,this._normalizer,0,a.keyframes,c,D);return this._driver.animate(T,N,a.duration,a.delay,a.easing,[],!0)}create(a,c,D={}){const T=[],N=this._animations.get(a);let ae;const le=new Map;if(N?(ae=Li(this._driver,c,N,Nt,St,new Map,new Map,D,us,T),ae.forEach(ut=>{const ft=vt(le,ut.element,new Map);ut.postStyleProps.forEach(Qt=>ft.set(Qt,null))})):(T.push(function He(){return new v.vHH(3300,!1)}()),ae=[]),T.length)throw function _t(M){return new v.vHH(3504,!1)}();le.forEach((ut,ft)=>{ut.forEach((Qt,Kt)=>{ut.set(Kt,this._driver.computeStyle(ft,Kt,A.l3))})});const ze=Ye(ae.map(ut=>{const ft=le.get(ut.element);return this._buildPlayer(ut,new Map,ft)}));return this._playersById.set(a,ze),ze.onDestroy(()=>this.destroy(a)),this.players.push(ze),ze}destroy(a){const c=this._getPlayer(a);c.destroy(),this._playersById.delete(a);const D=this.players.indexOf(c);D>=0&&this.players.splice(D,1)}_getPlayer(a){const c=this._playersById.get(a);if(!c)throw function $t(M){return new v.vHH(3301,!1)}();return c}listen(a,c,D,T){const N=wt(c,"","","");return At(this._getPlayer(a),D,N,T),()=>{}}command(a,c,D,T){if("register"==D)return void this.register(a,T[0]);if("create"==D)return void this.create(a,c,T[0]||{});const N=this._getPlayer(a);switch(D){case"play":N.play();break;case"pause":N.pause();break;case"reset":N.reset();break;case"restart":N.restart();break;case"finish":N.finish();break;case"init":N.init();break;case"setPosition":N.setPosition(parseFloat(T[0]));break;case"destroy":this.destroy(a)}}}const zr="ng-animate-queued",jn="ng-animate-disabled",Qs=[],Xs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},bn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Yn="__ng_removed";class As{constructor(a,c=""){this.namespaceId=c;const D=a&&a.hasOwnProperty("value");if(this.value=function Js(M){return M??null}(D?a.value:a),D){const N=fe(a);delete N.value,this.options=N}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const c=a.params;if(c){const D=this.options.params;Object.keys(c).forEach(T=>{null==D[T]&&(D[T]=c[T])})}}}const Dr="void",Hn=new As(Dr);class xo{constructor(a,c,D){this.id=a,this.hostElement=c,this._engine=D,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,yt(c,this._hostClassName)}listen(a,c,D,T){if(!this._triggers.has(c))throw function bt(M,a){return new v.vHH(3302,!1)}();if(null==D||0==D.length)throw function sn(M){return new v.vHH(3303,!1)}();if(!function er(M){return"start"==M||"done"==M}(D))throw function en(M,a){return new v.vHH(3400,!1)}();const N=vt(this._elementListeners,a,[]),ae={name:c,phase:D,callback:T};N.push(ae);const le=vt(this._engine.statesByElement,a,new Map);return le.has(c)||(yt(a,dn),yt(a,dn+"-"+c),le.set(c,Hn)),()=>{this._engine.afterFlush(()=>{const Fe=N.indexOf(ae);Fe>=0&&N.splice(Fe,1),this._triggers.has(c)||le.delete(c)})}}register(a,c){return!this._triggers.has(a)&&(this._triggers.set(a,c),!0)}_getTrigger(a){const c=this._triggers.get(a);if(!c)throw function Tt(M){return new v.vHH(3401,!1)}();return c}trigger(a,c,D,T=!0){const N=this._getTrigger(c),ae=new Rr(this.id,c,a);let le=this._engine.statesByElement.get(a);le||(yt(a,dn),yt(a,dn+"-"+c),this._engine.statesByElement.set(a,le=new Map));let Fe=le.get(c);const ze=new As(D,this.id);if(!(D&&D.hasOwnProperty("value"))&&Fe&&ze.absorbOptions(Fe.options),le.set(c,ze),Fe||(Fe=Hn),ze.value!==Dr&&Fe.value===ze.value){if(!function Wr(M,a){const c=Object.keys(M),D=Object.keys(a);if(c.length!=D.length)return!1;for(let T=0;T<c.length;T++){const N=c[T];if(!a.hasOwnProperty(N)||M[N]!==a[N])return!1}return!0}(Fe.params,ze.params)){const Pt=[],cn=N.matchStyles(Fe.value,Fe.params,Pt),hn=N.matchStyles(ze.value,ze.params,Pt);Pt.length?this._engine.reportError(Pt):this._engine.afterFlush(()=>{an(a,cn),on(a,hn)})}return}const Qt=vt(this._engine.playersByElement,a,[]);Qt.forEach(Pt=>{Pt.namespaceId==this.id&&Pt.triggerName==c&&Pt.queued&&Pt.destroy()});let Kt=N.matchTransition(Fe.value,ze.value,a,ze.params),Ct=!1;if(!Kt){if(!T)return;Kt=N.fallbackTransition,Ct=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:c,transition:Kt,fromState:Fe,toState:ze,player:ae,isFallbackTransition:Ct}),Ct||(yt(a,zr),ae.onStart(()=>{Er(a,zr)})),ae.onDone(()=>{let Pt=this.players.indexOf(ae);Pt>=0&&this.players.splice(Pt,1);const cn=this._engine.playersByElement.get(a);if(cn){let hn=cn.indexOf(ae);hn>=0&&cn.splice(hn,1)}}),this.players.push(ae),Qt.push(ae),ae}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(c=>c.delete(a)),this._elementListeners.forEach((c,D)=>{this._elementListeners.set(D,c.filter(T=>T.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const c=this._engine.playersByElement.get(a);c&&(c.forEach(D=>D.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,c){const D=this._engine.driver.query(a,It,!0);D.forEach(T=>{if(T[Yn])return;const N=this._engine.fetchNamespacesByElement(T);N.size?N.forEach(ae=>ae.triggerLeaveAnimation(T,c,!1,!0)):this.clearElementCache(T)}),this._engine.afterFlushAnimationsDone(()=>D.forEach(T=>this.clearElementCache(T)))}triggerLeaveAnimation(a,c,D,T){const N=this._engine.statesByElement.get(a),ae=new Map;if(N){const le=[];if(N.forEach((Fe,ze)=>{if(ae.set(ze,Fe.value),this._triggers.has(ze)){const ut=this.trigger(a,ze,Dr,T);ut&&le.push(ut)}}),le.length)return this._engine.markElementAsRemoved(this.id,a,!0,c,ae),D&&Ye(le).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const c=this._elementListeners.get(a),D=this._engine.statesByElement.get(a);if(c&&D){const T=new Set;c.forEach(N=>{const ae=N.name;if(T.has(ae))return;T.add(ae);const Fe=this._triggers.get(ae).fallbackTransition,ze=D.get(ae)||Hn,ut=new As(Dr),ft=new Rr(this.id,ae,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:ae,transition:Fe,fromState:ze,toState:ut,player:ft,isFallbackTransition:!0})})}}removeNode(a,c){const D=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,c),this.triggerLeaveAnimation(a,c,!0))return;let T=!1;if(D.totalAnimations){const N=D.players.length?D.playersByQueriedElement.get(a):[];if(N&&N.length)T=!0;else{let ae=a;for(;ae=ae.parentNode;)if(D.statesByElement.get(ae)){T=!0;break}}}if(this.prepareLeaveAnimationListeners(a),T)D.markElementAsRemoved(this.id,a,!1,c);else{const N=a[Yn];(!N||N===Xs)&&(D.afterFlush(()=>this.clearElementCache(a)),D.destroyInnerAnimations(a),D._onRemovalComplete(a,c))}}insertNode(a,c){yt(a,this._hostClassName)}drainQueuedTransitions(a){const c=[];return this._queue.forEach(D=>{const T=D.player;if(T.destroyed)return;const N=D.element,ae=this._elementListeners.get(N);ae&&ae.forEach(le=>{if(le.name==D.triggerName){const Fe=wt(N,D.triggerName,D.fromState.value,D.toState.value);Fe._data=a,At(D.player,le.phase,Fe,le.callback)}}),T.markedForDestroy?this._engine.afterFlush(()=>{T.destroy()}):c.push(D)}),this._queue=[],c.sort((D,T)=>{const N=D.transition.ast.depCount,ae=T.transition.ast.depCount;return 0==N||0==ae?N-ae:this._engine.driver.containsElement(D.element,T.element)?1:-1})}destroy(a){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let c=!1;return this._elementListeners.has(a)&&(c=!0),c=!!this._queue.find(D=>D.element===a)||c,c}}class ii{constructor(a,c,D){this.bodyNode=a,this.driver=c,this._normalizer=D,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=(T,N)=>{}}_onRemovalComplete(a,c){this.onRemovalComplete(a,c)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(c=>{c.players.forEach(D=>{D.queued&&a.push(D)})}),a}createNamespace(a,c){const D=new xo(a,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(D,c):(this.newHostElements.set(c,D),this.collectEnterElement(c)),this._namespaceLookup[a]=D}_balanceNamespaceList(a,c){const D=this._namespaceList,T=this.namespacesByHostElement;if(D.length-1>=0){let ae=!1,le=this.driver.getParentElement(c);for(;le;){const Fe=T.get(le);if(Fe){const ze=D.indexOf(Fe);D.splice(ze+1,0,a),ae=!0;break}le=this.driver.getParentElement(le)}ae||D.unshift(a)}else D.push(a);return T.set(c,a),a}register(a,c){let D=this._namespaceLookup[a];return D||(D=this.createNamespace(a,c)),D}registerTrigger(a,c,D){let T=this._namespaceLookup[a];T&&T.register(c,D)&&this.totalAnimations++}destroy(a,c){if(!a)return;const D=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(D.hostElement),delete this._namespaceLookup[a];const T=this._namespaceList.indexOf(D);T>=0&&this._namespaceList.splice(T,1)}),this.afterFlushAnimationsDone(()=>D.destroy(c))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const c=new Set,D=this.statesByElement.get(a);if(D)for(let T of D.values())if(T.namespaceId){const N=this._fetchNamespace(T.namespaceId);N&&c.add(N)}return c}trigger(a,c,D,T){if(fr(c)){const N=this._fetchNamespace(a);if(N)return N.trigger(c,D,T),!0}return!1}insertNode(a,c,D,T){if(!fr(c))return;const N=c[Yn];if(N&&N.setForRemoval){N.setForRemoval=!1,N.setForMove=!0;const ae=this.collectedLeaveElements.indexOf(c);ae>=0&&this.collectedLeaveElements.splice(ae,1)}if(a){const ae=this._fetchNamespace(a);ae&&ae.insertNode(c,D)}T&&this.collectEnterElement(c)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,c){c?this.disabledNodes.has(a)||(this.disabledNodes.add(a),yt(a,jn)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Er(a,jn))}removeNode(a,c,D,T){if(fr(c)){const N=a?this._fetchNamespace(a):null;if(N?N.removeNode(c,T):this.markElementAsRemoved(a,c,!1,T),D){const ae=this.namespacesByHostElement.get(c);ae&&ae.id!==a&&ae.removeNode(c,T)}}else this._onRemovalComplete(c,T)}markElementAsRemoved(a,c,D,T,N){this.collectedLeaveElements.push(c),c[Yn]={namespaceId:a,setForRemoval:T,hasAnimation:D,removedBeforeQueried:!1,previousTriggersValues:N}}listen(a,c,D,T,N){return fr(c)?this._fetchNamespace(a).listen(c,D,T,N):()=>{}}_buildInstruction(a,c,D,T,N){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,D,T,a.fromState.options,a.toState.options,c,N)}destroyInnerAnimations(a){let c=this.driver.query(a,It,!0);c.forEach(D=>this.destroyActiveAnimationsForElement(D)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(a,oe,!0),c.forEach(D=>this.finishActiveQueriedAnimationOnElement(D)))}destroyActiveAnimationsForElement(a){const c=this.playersByElement.get(a);c&&c.forEach(D=>{D.queued?D.markedForDestroy=!0:D.destroy()})}finishActiveQueriedAnimationOnElement(a){const c=this.playersByQueriedElement.get(a);c&&c.forEach(D=>D.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Ye(this.players).onDone(()=>a());a()})}processLeaveNode(a){const c=a[Yn];if(c&&c.setForRemoval){if(a[Yn]=Xs,c.namespaceId){this.destroyInnerAnimations(a);const D=this._fetchNamespace(c.namespaceId);D&&D.clearElementCache(a)}this._onRemovalComplete(a,c.setForRemoval)}a.classList?.contains(jn)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(D=>{this.markElementAsDisabled(D,!1)})}flush(a=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((D,T)=>this._balanceNamespaceList(D,T)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let D=0;D<this.collectedEnterElements.length;D++)yt(this.collectedEnterElements[D],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const D=[];try{c=this._flushAnimations(D,a)}finally{for(let T=0;T<D.length;T++)D[T]()}}else for(let D=0;D<this.collectedLeaveElements.length;D++)this.processLeaveNode(this.collectedLeaveElements[D]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(D=>D()),this._flushFns=[],this._whenQuietFns.length){const D=this._whenQuietFns;this._whenQuietFns=[],c.length?Ye(c).onDone(()=>{D.forEach(T=>T())}):D.forEach(T=>T())}}reportError(a){throw function Ie(M){return new v.vHH(3402,!1)}()}_flushAnimations(a,c){const D=new ti,T=[],N=new Map,ae=[],le=new Map,Fe=new Map,ze=new Map,ut=new Set;this.disabledNodes.forEach(qe=>{ut.add(qe);const ht=this.driver.query(qe,".ng-animate-queued",!0);for(let ct=0;ct<ht.length;ct++)ut.add(ht[ct])});const ft=this.bodyNode,Qt=Array.from(this.statesByElement.keys()),Kt=Ei(Qt,this.collectedEnterElements),Ct=new Map;let Pt=0;Kt.forEach((qe,ht)=>{const ct=Nt+Pt++;Ct.set(ht,ct),qe.forEach(Lt=>yt(Lt,ct))});const cn=[],hn=new Set,Cn=new Set;for(let qe=0;qe<this.collectedLeaveElements.length;qe++){const ht=this.collectedLeaveElements[qe],ct=ht[Yn];ct&&ct.setForRemoval&&(cn.push(ht),hn.add(ht),ct.hasAnimation?this.driver.query(ht,".ng-star-inserted",!0).forEach(Lt=>hn.add(Lt)):Cn.add(ht))}const Pn=new Map,Rn=Ei(Qt,Array.from(hn));Rn.forEach((qe,ht)=>{const ct=St+Pt++;Pn.set(ht,ct),qe.forEach(Lt=>yt(Lt,ct))}),a.push(()=>{Kt.forEach((qe,ht)=>{const ct=Ct.get(ht);qe.forEach(Lt=>Er(Lt,ct))}),Rn.forEach((qe,ht)=>{const ct=Pn.get(ht);qe.forEach(Lt=>Er(Lt,ct))}),cn.forEach(qe=>{this.processLeaveNode(qe)})});const p=[],w=[];for(let qe=this._namespaceList.length-1;qe>=0;qe--)this._namespaceList[qe].drainQueuedTransitions(c).forEach(ct=>{const Lt=ct.player,gn=ct.element;if(p.push(Lt),this.collectedEnterElements.length){const Tn=gn[Yn];if(Tn&&Tn.setForMove){if(Tn.previousTriggersValues&&Tn.previousTriggersValues.has(ct.triggerName)){const Mr=Tn.previousTriggersValues.get(ct.triggerName),Zn=this.statesByElement.get(ct.element);if(Zn&&Zn.has(ct.triggerName)){const vs=Zn.get(ct.triggerName);vs.value=Mr,Zn.set(ct.triggerName,vs)}}return void Lt.destroy()}}const vn=!ft||!this.driver.containsElement(ft,gn),Sn=Pn.get(gn),fn=Ct.get(gn),un=this._buildInstruction(ct,D,fn,Sn,vn);if(un.errors&&un.errors.length)return void w.push(un);if(vn)return Lt.onStart(()=>an(gn,un.fromStyles)),Lt.onDestroy(()=>on(gn,un.toStyles)),void T.push(Lt);if(ct.isFallbackTransition)return Lt.onStart(()=>an(gn,un.fromStyles)),Lt.onDestroy(()=>on(gn,un.toStyles)),void T.push(Lt);const wr=[];un.timelines.forEach(Tn=>{Tn.stretchStartingKeyframe=!0,this.disabledNodes.has(Tn.element)||wr.push(Tn)}),un.timelines=wr,D.append(gn,un.timelines),ae.push({instruction:un,player:Lt,element:gn}),un.queriedElements.forEach(Tn=>vt(le,Tn,[]).push(Lt)),un.preStyleProps.forEach((Tn,Mr)=>{if(Tn.size){let Zn=Fe.get(Mr);Zn||Fe.set(Mr,Zn=new Set),Tn.forEach((vs,Ds)=>Zn.add(Ds))}}),un.postStyleProps.forEach((Tn,Mr)=>{let Zn=ze.get(Mr);Zn||ze.set(Mr,Zn=new Set),Tn.forEach((vs,Ds)=>Zn.add(Ds))})});if(w.length){const qe=[];w.forEach(ht=>{qe.push(function he(M,a){return new v.vHH(3505,!1)}())}),p.forEach(ht=>ht.destroy()),this.reportError(qe)}const m=new Map,I=new Map;ae.forEach(qe=>{const ht=qe.element;D.has(ht)&&(I.set(ht,ht),this._beforeAnimationBuild(qe.player.namespaceId,qe.instruction,m))}),T.forEach(qe=>{const ht=qe.element;this._getPreviousPlayers(ht,!1,qe.namespaceId,qe.triggerName,null).forEach(Lt=>{vt(m,ht,[]).push(Lt),Lt.destroy()})});const re=cn.filter(qe=>xr(qe,Fe,ze)),Be=new Map;ar(Be,this.driver,Cn,ze,A.l3).forEach(qe=>{xr(qe,Fe,ze)&&re.push(qe)});const pt=new Map;Kt.forEach((qe,ht)=>{ar(pt,this.driver,new Set(qe),Fe,A.k1)}),re.forEach(qe=>{const ht=Be.get(qe),ct=pt.get(qe);Be.set(qe,new Map([...Array.from(ht?.entries()??[]),...Array.from(ct?.entries()??[])]))});const Gt=[],Xt=[],rn={};ae.forEach(qe=>{const{element:ht,player:ct,instruction:Lt}=qe;if(D.has(ht)){if(ut.has(ht))return ct.onDestroy(()=>on(ht,Lt.toStyles)),ct.disabled=!0,ct.overrideTotalTime(Lt.totalTime),void T.push(ct);let gn=rn;if(I.size>1){let Sn=ht;const fn=[];for(;Sn=Sn.parentNode;){const un=I.get(Sn);if(un){gn=un;break}fn.push(Sn)}fn.forEach(un=>I.set(un,gn))}const vn=this._buildAnimation(ct.namespaceId,Lt,m,N,pt,Be);if(ct.setRealPlayer(vn),gn===rn)Gt.push(ct);else{const Sn=this.playersByElement.get(gn);Sn&&Sn.length&&(ct.parentPlayer=Ye(Sn)),T.push(ct)}}else an(ht,Lt.fromStyles),ct.onDestroy(()=>on(ht,Lt.toStyles)),Xt.push(ct),ut.has(ht)&&T.push(ct)}),Xt.forEach(qe=>{const ht=N.get(qe.element);if(ht&&ht.length){const ct=Ye(ht);qe.setRealPlayer(ct)}}),T.forEach(qe=>{qe.parentPlayer?qe.syncPlayerEvents(qe.parentPlayer):qe.destroy()});for(let qe=0;qe<cn.length;qe++){const ht=cn[qe],ct=ht[Yn];if(Er(ht,St),ct&&ct.hasAnimation)continue;let Lt=[];if(le.size){let vn=le.get(ht);vn&&vn.length&&Lt.push(...vn);let Sn=this.driver.query(ht,oe,!0);for(let fn=0;fn<Sn.length;fn++){let un=le.get(Sn[fn]);un&&un.length&&Lt.push(...un)}}const gn=Lt.filter(vn=>!vn.destroyed);gn.length?Vi(this,ht,gn):this.processLeaveNode(ht)}return cn.length=0,Gt.forEach(qe=>{this.players.push(qe),qe.onDone(()=>{qe.destroy();const ht=this.players.indexOf(qe);this.players.splice(ht,1)}),qe.play()}),Gt}elementContainsData(a,c){let D=!1;const T=c[Yn];return T&&T.setForRemoval&&(D=!0),this.playersByElement.has(c)&&(D=!0),this.playersByQueriedElement.has(c)&&(D=!0),this.statesByElement.has(c)&&(D=!0),this._fetchNamespace(a).elementContainsData(c)||D}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,c,D,T,N){let ae=[];if(c){const le=this.playersByQueriedElement.get(a);le&&(ae=le)}else{const le=this.playersByElement.get(a);if(le){const Fe=!N||N==Dr;le.forEach(ze=>{ze.queued||!Fe&&ze.triggerName!=T||ae.push(ze)})}}return(D||T)&&(ae=ae.filter(le=>!(D&&D!=le.namespaceId||T&&T!=le.triggerName))),ae}_beforeAnimationBuild(a,c,D){const N=c.element,ae=c.isRemovalTransition?void 0:a,le=c.isRemovalTransition?void 0:c.triggerName;for(const Fe of c.timelines){const ze=Fe.element,ut=ze!==N,ft=vt(D,ze,[]);this._getPreviousPlayers(ze,ut,ae,le,c.toState).forEach(Kt=>{const Ct=Kt.getRealPlayer();Ct.beforeDestroy&&Ct.beforeDestroy(),Kt.destroy(),ft.push(Kt)})}an(N,c.fromStyles)}_buildAnimation(a,c,D,T,N,ae){const le=c.triggerName,Fe=c.element,ze=[],ut=new Set,ft=new Set,Qt=c.timelines.map(Ct=>{const Pt=Ct.element;ut.add(Pt);const cn=Pt[Yn];if(cn&&cn.removedBeforeQueried)return new A.ZN(Ct.duration,Ct.delay);const hn=Pt!==Fe,Cn=function qs(M){const a=[];return fs(M,a),a}((D.get(Pt)||Qs).map(m=>m.getRealPlayer())).filter(m=>!!m.element&&m.element===Pt),Pn=N.get(Pt),Rn=ae.get(Pt),p=Et(0,this._normalizer,0,Ct.keyframes,Pn,Rn),w=this._buildPlayer(Ct,p,Cn);if(Ct.subTimeline&&T&&ft.add(Pt),hn){const m=new Rr(a,le,Pt);m.setRealPlayer(w),ze.push(m)}return w});ze.forEach(Ct=>{vt(this.playersByQueriedElement,Ct.element,[]).push(Ct),Ct.onDone(()=>function Nn(M,a,c){let D=M.get(a);if(D){if(D.length){const T=D.indexOf(c);D.splice(T,1)}0==D.length&&M.delete(a)}return D}(this.playersByQueriedElement,Ct.element,Ct))}),ut.forEach(Ct=>yt(Ct,we));const Kt=Ye(Qt);return Kt.onDestroy(()=>{ut.forEach(Ct=>Er(Ct,we)),on(Fe,c.toStyles)}),ft.forEach(Ct=>{vt(T,Ct,[]).push(Kt)}),Kt}_buildPlayer(a,c,D){return c.length>0?this.driver.animate(a.element,c,a.duration,a.delay,a.easing,D):new A.ZN(a.duration,a.delay)}}class Rr{constructor(a,c,D){this.namespaceId=a,this.triggerName=c,this.element=D,this._player=new A.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((c,D)=>{c.forEach(T=>At(a,D,void 0,T))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const c=this._player;c.triggerCallback&&a.onStart(()=>c.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,c){vt(this._queuedCallbacks,a,[]).push(c)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const c=this._player;c.triggerCallback&&c.triggerCallback(a)}}function fr(M){return M&&1===M.nodeType}function or(M,a){const c=M.style.display;return M.style.display=a??"none",c}function ar(M,a,c,D,T){const N=[];c.forEach(Fe=>N.push(or(Fe)));const ae=[];D.forEach((Fe,ze)=>{const ut=new Map;Fe.forEach(ft=>{const Qt=a.computeStyle(ze,ft,T);ut.set(ft,Qt),(!Qt||0==Qt.length)&&(ze[Yn]=bn,ae.push(ze))}),M.set(ze,ut)});let le=0;return c.forEach(Fe=>or(Fe,N[le++])),ae}function Ei(M,a){const c=new Map;if(M.forEach(le=>c.set(le,[])),0==a.length)return c;const T=new Set(a),N=new Map;function ae(le){if(!le)return 1;let Fe=N.get(le);if(Fe)return Fe;const ze=le.parentNode;return Fe=c.has(ze)?ze:T.has(ze)?1:ae(ze),N.set(le,Fe),Fe}return a.forEach(le=>{const Fe=ae(le);1!==Fe&&c.get(Fe).push(le)}),c}function yt(M,a){M.classList?.add(a)}function Er(M,a){M.classList?.remove(a)}function Vi(M,a,c){Ye(c).onDone(()=>M.processLeaveNode(a))}function fs(M,a){for(let c=0;c<M.length;c++){const D=M[c];D instanceof A.ZE?fs(D.players,a):a.push(D)}}function xr(M,a,c){const D=c.get(M);if(!D)return!1;let T=a.get(M);return T?D.forEach(N=>T.add(N)):a.set(M,D),c.delete(M),!0}class Ci{constructor(a,c,D){this.bodyNode=a,this._driver=c,this._normalizer=D,this._triggerCache={},this.onRemovalComplete=(T,N)=>{},this._transitionEngine=new ii(a,c,D),this._timelineEngine=new ds(a,c,D),this._transitionEngine.onRemovalComplete=(T,N)=>this.onRemovalComplete(T,N)}registerTrigger(a,c,D,T,N){const ae=a+"-"+T;let le=this._triggerCache[ae];if(!le){const Fe=[],ut=rr(this._driver,N,Fe,[]);if(Fe.length)throw function Je(M,a){return new v.vHH(3404,!1)}();le=function $r(M,a,c){return new Bi(M,a,c)}(T,ut,this._normalizer),this._triggerCache[ae]=le}this._transitionEngine.registerTrigger(c,T,le)}register(a,c){this._transitionEngine.register(a,c)}destroy(a,c){this._transitionEngine.destroy(a,c)}onInsert(a,c,D,T){this._transitionEngine.insertNode(a,c,D,T)}onRemove(a,c,D,T){this._transitionEngine.removeNode(a,c,T||!1,D)}disableAnimations(a,c){this._transitionEngine.markElementAsDisabled(a,c)}process(a,c,D,T){if("@"==D.charAt(0)){const[N,ae]=tn(D);this._timelineEngine.command(N,c,ae,T)}else this._transitionEngine.trigger(a,c,D,T)}listen(a,c,D,T,N){if("@"==D.charAt(0)){const[ae,le]=tn(D);return this._timelineEngine.listen(ae,c,le,N)}return this._transitionEngine.listen(a,c,D,T,N)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ze=(()=>{class M{constructor(c,D,T){this._element=c,this._startStyles=D,this._endStyles=T,this._state=0;let N=M.initialStylesByElement.get(c);N||M.initialStylesByElement.set(c,N=new Map),this._initialStyles=N}start(){this._state<1&&(this._startStyles&&on(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(on(this._element,this._initialStyles),this._endStyles&&(on(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(M.initialStylesByElement.delete(this._element),this._startStyles&&(an(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(an(this._element,this._endStyles),this._endStyles=null),on(this._element,this._initialStyles),this._state=3)}}return M.initialStylesByElement=new WeakMap,M})();function Wt(M){let a=null;return M.forEach((c,D)=>{(function ps(M){return"display"===M||"position"===M})(D)&&(a=a||new Map,a.set(D,c))}),a}class ji{constructor(a,c,D,T){this.element=a,this.keyframes=c,this.options=D,this._specialStyles=T,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=D.duration,this._delay=D.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const c=[];return a.forEach(D=>{c.push(Object.fromEntries(D))}),c}_triggerWebAnimation(a,c,D){return a.animate(this._convertKeyframesToObject(c),D)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((D,T)=>{"offset"!==T&&a.set(T,this._finished?D:Vn(this.element,T))}),this.currentSnapshot=a}triggerCallback(a){const c="start"===a?this._onStartFns:this._onDoneFns;c.forEach(D=>D()),c.length=0}}class In{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,c){return!1}containsElement(a,c){return L(a,c)}getParentElement(a){return Te(a)}query(a,c,D){return F(a,c,D)}computeStyle(a,c,D){return window.getComputedStyle(a)[c]}animate(a,c,D,T,N,ae=[]){const Fe={duration:D,delay:T,fill:0==T?"both":"forwards"};N&&(Fe.easing=N);const ze=new Map,ut=ae.filter(Kt=>Kt instanceof ji);(function Ht(M,a){return 0===M||0===a})(D,T)&&ut.forEach(Kt=>{Kt.currentSnapshot.forEach((Ct,Pt)=>ze.set(Pt,Ct))});let ft=function it(M){return M.length?M[0]instanceof Map?M:M.map(a=>Ne(a)):[]}(c).map(Kt=>Vt(Kt));ft=function zt(M,a,c){if(c.size&&a.length){let D=a[0],T=[];if(c.forEach((N,ae)=>{D.has(ae)||T.push(ae),D.set(ae,N)}),T.length)for(let N=1;N<a.length;N++){let ae=a[N];T.forEach(le=>ae.set(le,Vn(M,le)))}}return a}(a,ft,ze);const Qt=function eo(M,a){let c=null,D=null;return Array.isArray(a)&&a.length?(c=Wt(a[0]),a.length>1&&(D=Wt(a[a.length-1]))):a instanceof Map&&(c=Wt(a)),c||D?new Ze(M,c,D):null}(a,ft);return new ji(a,ft,Fe,Qt)}}var Kr=_(36895);let si=(()=>{class M extends A._j{constructor(c,D){super(),this._nextAnimationId=0,this._renderer=c.createRenderer(D.body,{id:"0",encapsulation:v.ifc.None,styles:[],data:{animation:[]}})}build(c){const D=this._nextAnimationId.toString();this._nextAnimationId++;const T=Array.isArray(c)?(0,A.vP)(c):c;return Hi(this._renderer,null,D,"register",[T]),new lr(D,this._renderer)}}return M.\u0275fac=function(c){return new(c||M)(v.LFG(v.FYo),v.LFG(Kr.K0))},M.\u0275prov=v.Yz7({token:M,factory:M.\u0275fac}),M})();class lr extends A.LC{constructor(a,c){super(),this._id=a,this._renderer=c}create(a,c){return new gs(this._id,a,c||{},this._renderer)}}class gs{constructor(a,c,D,T){this.id=a,this.element=c,this._renderer=T,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",D)}_listen(a,c){return this._renderer.listen(this.element,`@@${this.id}:${a}`,c)}_command(a,...c){return Hi(this._renderer,this.element,this.id,a,c)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}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(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Hi(M,a,c,D,T){return M.setProperty(a,`@@${c}:${D}`,T)}const pn="@.disabled";let bi=(()=>{class M{constructor(c,D,T){this.delegate=c,this.engine=D,this._zone=T,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),D.onRemovalComplete=(N,ae)=>{const le=ae?.parentNode(N);le&&ae.removeChild(le,N)}}createRenderer(c,D){const N=this.delegate.createRenderer(c,D);if(!(c&&D&&D.data&&D.data.animation)){let ut=this._rendererCache.get(N);return ut||(ut=new ms("",N,this.engine,()=>this._rendererCache.delete(N)),this._rendererCache.set(N,ut)),ut}const ae=D.id,le=D.id+"-"+this._currentId;this._currentId++,this.engine.register(le,c);const Fe=ut=>{Array.isArray(ut)?ut.forEach(Fe):this.engine.registerTrigger(ae,le,c,ut.name,ut)};return D.data.animation.forEach(Fe),new $n(this,le,N,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(c,D,T){c>=0&&c<this._microtaskId?this._zone.run(()=>D(T)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(N=>{const[ae,le]=N;ae(le)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([D,T]))}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 M.\u0275fac=function(c){return new(c||M)(v.LFG(v.FYo),v.LFG(Ci),v.LFG(v.R0b))},M.\u0275prov=v.Yz7({token:M,factory:M.\u0275fac}),M})();class ms{constructor(a,c,D,T){this.namespaceId=a,this.delegate=c,this.engine=D,this._onDestroy=T,this.destroyNode=this.delegate.destroyNode?N=>c.destroyNode(N):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(a,c){return this.delegate.createElement(a,c)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,c){this.delegate.appendChild(a,c),this.engine.onInsert(this.namespaceId,c,a,!1)}insertBefore(a,c,D,T=!0){this.delegate.insertBefore(a,c,D),this.engine.onInsert(this.namespaceId,c,a,T)}removeChild(a,c,D){this.engine.onRemove(this.namespaceId,c,this.delegate,D)}selectRootElement(a,c){return this.delegate.selectRootElement(a,c)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,c,D,T){this.delegate.setAttribute(a,c,D,T)}removeAttribute(a,c,D){this.delegate.removeAttribute(a,c,D)}addClass(a,c){this.delegate.addClass(a,c)}removeClass(a,c){this.delegate.removeClass(a,c)}setStyle(a,c,D,T){this.delegate.setStyle(a,c,D,T)}removeStyle(a,c,D){this.delegate.removeStyle(a,c,D)}setProperty(a,c,D){"@"==c.charAt(0)&&c==pn?this.disableAnimations(a,!!D):this.delegate.setProperty(a,c,D)}setValue(a,c){this.delegate.setValue(a,c)}listen(a,c,D){return this.delegate.listen(a,c,D)}disableAnimations(a,c){this.engine.disableAnimations(a,c)}}class $n extends ms{constructor(a,c,D,T,N){super(c,D,T,N),this.factory=a,this.namespaceId=c}setProperty(a,c,D){"@"==c.charAt(0)?"."==c.charAt(1)&&c==pn?this.disableAnimations(a,D=void 0===D||!!D):this.engine.process(this.namespaceId,a,c.slice(1),D):this.delegate.setProperty(a,c,D)}listen(a,c,D){if("@"==c.charAt(0)){const T=function Cr(M){switch(M){case"body":return document.body;case"document":return document;case"window":return window;default:return M}}(a);let N=c.slice(1),ae="";return"@"!=N.charAt(0)&&([N,ae]=function Is(M){const a=M.indexOf(".");return[M.substring(0,a),M.slice(a+1)]}(N)),this.engine.listen(this.namespaceId,T,N,ae,le=>{this.factory.scheduleListenerCallback(le._data||-1,D,le)})}return this.delegate.listen(a,c,D)}}const _s=[{provide:A._j,useClass:si},{provide:ls,useFactory:function pr(){return new cs}},{provide:Ci,useClass:(()=>{class M extends Ci{constructor(c,D,T,N){super(c.body,D,T)}ngOnDestroy(){this.flush()}}return M.\u0275fac=function(c){return new(c||M)(v.LFG(Kr.K0),v.LFG(Ve),v.LFG(ls),v.LFG(v.z2F))},M.\u0275prov=v.Yz7({token:M,factory:M.\u0275fac}),M})()},{provide:v.FYo,useFactory:function to(M,a,c){return new bi(M,a,c)},deps:[f.se,Ci,v.R0b]}],ys=[{provide:Ve,useFactory:()=>new In},{provide:v.QbO,useValue:"BrowserAnimations"},..._s],wi=[{provide:Ve,useClass:Re},{provide:v.QbO,useValue:"NoopAnimations"},..._s];let $i=(()=>{class M{static withConfig(c){return{ngModule:M,providers:c.disableAnimations?wi:ys}}}return M.\u0275fac=function(c){return new(c||M)},M.\u0275mod=v.oAB({type:M}),M.\u0275inj=v.cJS({providers:ys,imports:[f.b2]}),M})();var li=_(19132);let Os=(()=>{class M{}return M.\u0275fac=function(c){return new(c||M)},M.\u0275cmp=v.Xpm({type:M,selectors:[["app"]],decls:2,vars:0,consts:[[1,"application"]],template:function(c,D){1&c&&(v.TgZ(0,"div",0),v._UZ(1,"router-outlet"),v.qZA())},dependencies:[li.lC],styles:[".application[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}"]}),M})();var ci=_(80529),zi=_(65938);const Ps=[{path:"landing",loadChildren:()=>Promise.all([_.e(142),_.e(278),_.e(24),_.e(614)]).then(_.bind(_,9614)).then(M=>M.LandingModule)},{path:"home",loadChildren:()=>Promise.all([_.e(142),_.e(278),_.e(24),_.e(195),_.e(455)]).then(_.bind(_,81455)).then(M=>M.HomeModule)},{path:"about",loadChildren:()=>Promise.all([_.e(142),_.e(556)]).then(_.bind(_,31556)).then(M=>M.AboutModule)},{path:"profile",loadChildren:()=>Promise.all([_.e(142),_.e(278),_.e(195),_.e(943)]).then(_.bind(_,10943)).then(M=>M.ProfileModule)},{path:"swagger",loadChildren:()=>Promise.all([_.e(142),_.e(530)]).then(_.bind(_,52530)).then(M=>M.SwaggerModule)},{path:"",redirectTo:"landing",pathMatch:"full"},{path:"**",redirectTo:"landing"}];let Ti=(()=>{class M{}return M.\u0275fac=function(c){return new(c||M)},M.\u0275mod=v.oAB({type:M}),M.\u0275inj=v.cJS({imports:[li.Bz.forRoot(Ps),li.Bz]}),M})();var Wi=_(38159),Gr=_(96213),Ki=_(15497);let Gi=(()=>{class M{ngDoBootstrap(c){}}return M.\u0275fac=function(c){return new(c||M)},M.\u0275mod=v.oAB({type:M,bootstrap:[Os]}),M.\u0275inj=v.cJS({providers:[Wi.n,Gr.N,{provide:Kr.S$,useClass:Kr.Do},{provide:ci.TP,useClass:Gr.N,multi:!0}],imports:[Ti,Kr.ez,f.b2,$i,ci.JF,zi.Is,Ki.vs]}),M})();(0,v.G48)(),f.q6().bootstrapModule(Gi).catch(M=>console.error(M))},61135:(et,_e,_)=>{_.d(_e,{X:()=>v});var f=_(77579);class v extends f.x{constructor(x){super(),this._value=x}get value(){return this.getValue()}_subscribe(x){const k=super._subscribe(x);return!k.closed&&x.next(this._value),k}getValue(){const{hasError:x,thrownError:k,_value:U}=this;if(x)throw k;return this._throwIfClosed(),U}next(x){super.next(this._value=x)}}},69751:(et,_e,_)=>{_.d(_e,{y:()=>X});var f=_(70930),v=_(50727),A=_(48822),x=_(89635),k=_(42416),U=_(30576),ie=_(72806);let X=(()=>{class j{constructor(Oe){Oe&&(this._subscribe=Oe)}lift(Oe){const de=new j;return de.source=this,de.operator=Oe,de}subscribe(Oe,de,ge){const se=function z(j){return j&&j instanceof f.Lv||function $(j){return j&&(0,U.m)(j.next)&&(0,U.m)(j.error)&&(0,U.m)(j.complete)}(j)&&(0,v.Nn)(j)}(Oe)?Oe:new f.Hp(Oe,de,ge);return(0,ie.x)(()=>{const{operator:Pe,source:tt}=this;se.add(Pe?Pe.call(se,tt):tt?this._subscribe(se):this._trySubscribe(se))}),se}_trySubscribe(Oe){try{return this._subscribe(Oe)}catch(de){Oe.error(de)}}forEach(Oe,de){return new(de=Q(de))((ge,se)=>{const Pe=new f.Hp({next:tt=>{try{Oe(tt)}catch(nt){se(nt),Pe.unsubscribe()}},error:se,complete:ge});this.subscribe(Pe)})}_subscribe(Oe){var de;return null===(de=this.source)||void 0===de?void 0:de.subscribe(Oe)}[A.L](){return this}pipe(...Oe){return(0,x.U)(Oe)(this)}toPromise(Oe){return new(Oe=Q(Oe))((de,ge)=>{let se;this.subscribe(Pe=>se=Pe,Pe=>ge(Pe),()=>de(se))})}}return j.create=Me=>new j(Me),j})();function Q(j){var Me;return null!==(Me=j??k.v.Promise)&&void 0!==Me?Me:Promise}},77579:(et,_e,_)=>{_.d(_e,{x:()=>ie});var f=_(69751),v=_(50727);const x=(0,_(83888).d)(Q=>function(){Q(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var k=_(38737),U=_(72806);let ie=(()=>{class Q extends f.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const j=new X(this,this);return j.operator=z,j}_throwIfClosed(){if(this.closed)throw new x}next(z){(0,U.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const j of this.currentObservers)j.next(z)}})}error(z){(0,U.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:j}=this;for(;j.length;)j.shift().error(z)}})}complete(){(0,U.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:j,isStopped:Me,observers:Oe}=this;return j||Me?v.Lc:(this.currentObservers=null,Oe.push(z),new v.w0(()=>{this.currentObservers=null,(0,k.P)(Oe,z)}))}_checkFinalizedStatuses(z){const{hasError:j,thrownError:Me,isStopped:Oe}=this;j?z.error(Me):Oe&&z.complete()}asObservable(){const z=new f.y;return z.source=this,z}}return Q.create=($,z)=>new X($,z),Q})();class X extends ie{constructor($,z){super(),this.destination=$,this.source=z}next($){var z,j;null===(j=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===j||j.call(z,$)}error($){var z,j;null===(j=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===j||j.call(z,$)}complete(){var $,z;null===(z=null===($=this.destination)||void 0===$?void 0:$.complete)||void 0===z||z.call($)}_subscribe($){var z,j;return null!==(j=null===(z=this.source)||void 0===z?void 0:z.subscribe($))&&void 0!==j?j:v.Lc}}},70930:(et,_e,_)=>{_.d(_e,{Hp:()=>ge,Lv:()=>j});var f=_(30576),v=_(50727),A=_(42416),x=_(87849),k=_(25032);const U=Q("C",void 0,void 0);function Q(Ae,Y,ye){return{kind:Ae,value:Y,error:ye}}var $=_(43410),z=_(72806);class j extends v.w0{constructor(Y){super(),this.isStopped=!1,Y?(this.destination=Y,(0,v.Nn)(Y)&&Y.add(this)):this.destination=nt}static create(Y,ye,ue){return new ge(Y,ye,ue)}next(Y){this.isStopped?tt(function X(Ae){return Q("N",Ae,void 0)}(Y),this):this._next(Y)}error(Y){this.isStopped?tt(function ie(Ae){return Q("E",void 0,Ae)}(Y),this):(this.isStopped=!0,this._error(Y))}complete(){this.isStopped?tt(U,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Y){this.destination.next(Y)}_error(Y){try{this.destination.error(Y)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Me=Function.prototype.bind;function Oe(Ae,Y){return Me.call(Ae,Y)}class de{constructor(Y){this.partialObserver=Y}next(Y){const{partialObserver:ye}=this;if(ye.next)try{ye.next(Y)}catch(ue){se(ue)}}error(Y){const{partialObserver:ye}=this;if(ye.error)try{ye.error(Y)}catch(ue){se(ue)}else se(Y)}complete(){const{partialObserver:Y}=this;if(Y.complete)try{Y.complete()}catch(ye){se(ye)}}}class ge extends j{constructor(Y,ye,ue){let Se;if(super(),(0,f.m)(Y)||!Y)Se={next:Y??void 0,error:ye??void 0,complete:ue??void 0};else{let $e;this&&A.v.useDeprecatedNextContext?($e=Object.create(Y),$e.unsubscribe=()=>this.unsubscribe(),Se={next:Y.next&&Oe(Y.next,$e),error:Y.error&&Oe(Y.error,$e),complete:Y.complete&&Oe(Y.complete,$e)}):Se=Y}this.destination=new de(Se)}}function se(Ae){A.v.useDeprecatedSynchronousErrorHandling?(0,z.O)(Ae):(0,x.h)(Ae)}function tt(Ae,Y){const{onStoppedNotification:ye}=A.v;ye&&$.z.setTimeout(()=>ye(Ae,Y))}const nt={closed:!0,next:k.Z,error:function Pe(Ae){throw Ae},complete:k.Z}},50727:(et,_e,_)=>{_.d(_e,{Lc:()=>U,w0:()=>k,Nn:()=>ie});var f=_(30576);const A=(0,_(83888).d)(Q=>function(z){Q(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((j,Me)=>`${Me+1}) ${j.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z});var x=_(38737);class k{constructor($){this.initialTeardown=$,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let $;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const Oe of z)Oe.remove(this);else z.remove(this);const{initialTeardown:j}=this;if((0,f.m)(j))try{j()}catch(Oe){$=Oe instanceof A?Oe.errors:[Oe]}const{_finalizers:Me}=this;if(Me){this._finalizers=null;for(const Oe of Me)try{X(Oe)}catch(de){$=$??[],de instanceof A?$=[...$,...de.errors]:$.push(de)}}if($)throw new A($)}}add($){var z;if($&&$!==this)if(this.closed)X($);else{if($ instanceof k){if($.closed||$._hasParent(this))return;$._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push($)}}_hasParent($){const{_parentage:z}=this;return z===$||Array.isArray(z)&&z.includes($)}_addParent($){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push($),z):z?[z,$]:$}_removeParent($){const{_parentage:z}=this;z===$?this._parentage=null:Array.isArray(z)&&(0,x.P)(z,$)}remove($){const{_finalizers:z}=this;z&&(0,x.P)(z,$),$ instanceof k&&$._removeParent(this)}}k.EMPTY=(()=>{const Q=new k;return Q.closed=!0,Q})();const U=k.EMPTY;function ie(Q){return Q instanceof k||Q&&"closed"in Q&&(0,f.m)(Q.remove)&&(0,f.m)(Q.add)&&(0,f.m)(Q.unsubscribe)}function X(Q){(0,f.m)(Q)?Q():Q.unsubscribe()}},42416:(et,_e,_)=>{_.d(_e,{v:()=>f});const f={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},94033:(et,_e,_)=>{_.d(_e,{c:()=>U});var f=_(69751),v=_(50727),A=_(38343),x=_(25403),k=_(54482);class U extends f.y{constructor(X,Q){super(),this.source=X,this.subjectFactory=Q,this._subject=null,this._refCount=0,this._connection=null,(0,k.A)(X)&&(this.lift=X.lift)}_subscribe(X){return this.getSubject().subscribe(X)}getSubject(){const X=this._subject;return(!X||X.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:X}=this;this._subject=this._connection=null,X?.unsubscribe()}connect(){let X=this._connection;if(!X){X=this._connection=new v.w0;const Q=this.getSubject();X.add(this.source.subscribe((0,x.x)(Q,void 0,()=>{this._teardown(),Q.complete()},$=>{this._teardown(),Q.error($)},()=>this._teardown()))),X.closed&&(this._connection=null,X=v.w0.EMPTY)}return X}refCount(){return(0,A.x)()(this)}}},39841:(et,_e,_)=>{_.d(_e,{a:()=>$});var f=_(69751),v=_(54742),A=_(80188),x=_(44671),k=_(83268),U=_(63269),ie=_(31810),X=_(25403),Q=_(39672);function $(...Me){const Oe=(0,U.yG)(Me),de=(0,U.jO)(Me),{args:ge,keys:se}=(0,v.D)(Me);if(0===ge.length)return(0,A.D)([],Oe);const Pe=new f.y(function z(Me,Oe,de=x.y){return ge=>{j(Oe,()=>{const{length:se}=Me,Pe=new Array(se);let tt=se,nt=se;for(let Ae=0;Ae<se;Ae++)j(Oe,()=>{const Y=(0,A.D)(Me[Ae],Oe);let ye=!1;Y.subscribe((0,X.x)(ge,ue=>{Pe[Ae]=ue,ye||(ye=!0,nt--),nt||ge.next(de(Pe.slice()))},()=>{--tt||ge.complete()}))},ge)},ge)}}(ge,Oe,se?tt=>(0,ie.n)(se,tt):x.y));return de?Pe.pipe((0,k.Z)(de)):Pe}function j(Me,Oe,de){Me?(0,Q.f)(de,Me,Oe):Oe()}},97272:(et,_e,_)=>{_.d(_e,{z:()=>k});var f=_(8189),A=_(63269),x=_(80188);function k(...U){return function v(){return(0,f.J)(1)}()((0,x.D)(U,(0,A.yG)(U)))}},49770:(et,_e,_)=>{_.d(_e,{P:()=>A});var f=_(69751),v=_(38421);function A(x){return new f.y(k=>{(0,v.Xf)(x()).subscribe(k)})}},60515:(et,_e,_)=>{_.d(_e,{E:()=>v});const v=new(_(69751).y)(k=>k.complete())},80188:(et,_e,_)=>{_.d(_e,{D:()=>A});var f=_(19975),v=_(38421);function A(x,k){return k?(0,f.x)(x,k):(0,v.Xf)(x)}},54968:(et,_e,_)=>{_.d(_e,{R:()=>$});var f=_(38421),v=_(69751),A=_(95577),x=_(81144),k=_(30576),U=_(83268);const ie=["addListener","removeListener"],X=["addEventListener","removeEventListener"],Q=["on","off"];function $(de,ge,se,Pe){if((0,k.m)(se)&&(Pe=se,se=void 0),Pe)return $(de,ge,se).pipe((0,U.Z)(Pe));const[tt,nt]=function Oe(de){return(0,k.m)(de.addEventListener)&&(0,k.m)(de.removeEventListener)}(de)?X.map(Ae=>Y=>de[Ae](ge,Y,se)):function j(de){return(0,k.m)(de.addListener)&&(0,k.m)(de.removeListener)}(de)?ie.map(z(de,ge)):function Me(de){return(0,k.m)(de.on)&&(0,k.m)(de.off)}(de)?Q.map(z(de,ge)):[];if(!tt&&(0,x.z)(de))return(0,A.z)(Ae=>$(Ae,ge,se))((0,f.Xf)(de));if(!tt)throw new TypeError("Invalid event target");return new v.y(Ae=>{const Y=(...ye)=>Ae.next(1<ye.length?ye:ye[0]);return tt(Y),()=>nt(Y)})}function z(de,ge){return se=>Pe=>de[se](ge,Pe)}},38421:(et,_e,_)=>{_.d(_e,{Xf:()=>Me});var f=_(97582),v=_(81144),A=_(28239),x=_(69751),k=_(93670),U=_(12206),ie=_(44532),X=_(26495),Q=_(53260),$=_(30576),z=_(87849),j=_(48822);function Me(Ae){if(Ae instanceof x.y)return Ae;if(null!=Ae){if((0,k.c)(Ae))return function Oe(Ae){return new x.y(Y=>{const ye=Ae[j.L]();if((0,$.m)(ye.subscribe))return ye.subscribe(Y);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ae);if((0,v.z)(Ae))return function de(Ae){return new x.y(Y=>{for(let ye=0;ye<Ae.length&&!Y.closed;ye++)Y.next(Ae[ye]);Y.complete()})}(Ae);if((0,A.t)(Ae))return function ge(Ae){return new x.y(Y=>{Ae.then(ye=>{Y.closed||(Y.next(ye),Y.complete())},ye=>Y.error(ye)).then(null,z.h)})}(Ae);if((0,U.D)(Ae))return Pe(Ae);if((0,X.T)(Ae))return function se(Ae){return new x.y(Y=>{for(const ye of Ae)if(Y.next(ye),Y.closed)return;Y.complete()})}(Ae);if((0,Q.L)(Ae))return function tt(Ae){return Pe((0,Q.Q)(Ae))}(Ae)}throw(0,ie.z)(Ae)}function Pe(Ae){return new x.y(Y=>{(function nt(Ae,Y){var ye,ue,Se,$e;return(0,f.mG)(this,void 0,void 0,function*(){try{for(ye=(0,f.KL)(Ae);!(ue=yield ye.next()).done;)if(Y.next(ue.value),Y.closed)return}catch(Le){Se={error:Le}}finally{try{ue&&!ue.done&&($e=ye.return)&&(yield $e.call(ye))}finally{if(Se)throw Se.error}}Y.complete()})})(Ae,Y).catch(ye=>Y.error(ye))})}},56451:(et,_e,_)=>{_.d(_e,{T:()=>U});var f=_(8189),v=_(38421),A=_(60515),x=_(63269),k=_(80188);function U(...ie){const X=(0,x.yG)(ie),Q=(0,x._6)(ie,1/0),$=ie;return $.length?1===$.length?(0,v.Xf)($[0]):(0,f.J)(Q)((0,k.D)($,X)):A.E}},39646:(et,_e,_)=>{_.d(_e,{of:()=>A});var f=_(63269),v=_(80188);function A(...x){const k=(0,f.yG)(x);return(0,v.D)(x,k)}},62843:(et,_e,_)=>{_.d(_e,{_:()=>A});var f=_(69751),v=_(30576);function A(x,k){const U=(0,v.m)(x)?x:()=>x,ie=X=>X.error(U());return new f.y(k?X=>k.schedule(ie,0,X):ie)}},5963:(et,_e,_)=>{_.d(_e,{H:()=>k});var f=_(69751),v=_(34986),A=_(93532);function k(U=0,ie,X=v.P){let Q=-1;return null!=ie&&((0,A.K)(ie)?X=ie:Q=ie),new f.y($=>{let z=function x(U){return U instanceof Date&&!isNaN(U)}(U)?+U-X.now():U;z<0&&(z=0);let j=0;return X.schedule(function(){$.closed||($.next(j++),0<=Q?this.schedule(void 0,Q):$.complete())},z)})}},25403:(et,_e,_)=>{_.d(_e,{x:()=>v});var f=_(70930);function v(x,k,U,ie,X){return new A(x,k,U,ie,X)}class A extends f.Lv{constructor(k,U,ie,X,Q,$){super(k),this.onFinalize=Q,this.shouldUnsubscribe=$,this._next=U?function(z){try{U(z)}catch(j){k.error(j)}}:super._next,this._error=X?function(z){try{X(z)}catch(j){k.error(j)}finally{this.unsubscribe()}}:super._error,this._complete=ie?function(){try{ie()}catch(z){k.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:U}=this;super.unsubscribe(),!U&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}},70262:(et,_e,_)=>{_.d(_e,{K:()=>x});var f=_(38421),v=_(25403),A=_(54482);function x(k){return(0,A.e)((U,ie)=>{let $,X=null,Q=!1;X=U.subscribe((0,v.x)(ie,void 0,void 0,z=>{$=(0,f.Xf)(k(z,x(k)(U))),X?(X.unsubscribe(),X=null,$.subscribe(ie)):Q=!0})),Q&&(X.unsubscribe(),X=null,$.subscribe(ie))})}},24351:(et,_e,_)=>{_.d(_e,{b:()=>A});var f=_(95577),v=_(30576);function A(x,k){return(0,v.m)(k)?(0,f.z)(x,k,1):(0,f.z)(x,1)}},78372:(et,_e,_)=>{_.d(_e,{b:()=>x});var f=_(34986),v=_(54482),A=_(25403);function x(k,U=f.z){return(0,v.e)((ie,X)=>{let Q=null,$=null,z=null;const j=()=>{if(Q){Q.unsubscribe(),Q=null;const Oe=$;$=null,X.next(Oe)}};function Me(){const Oe=z+k,de=U.now();if(de<Oe)return Q=this.schedule(void 0,Oe-de),void X.add(Q);j()}ie.subscribe((0,A.x)(X,Oe=>{$=Oe,z=U.now(),Q||(Q=U.schedule(Me,k),X.add(Q))},()=>{j(),X.complete()},void 0,()=>{$=Q=null}))})}},46590:(et,_e,_)=>{_.d(_e,{d:()=>A});var f=_(54482),v=_(25403);function A(x){return(0,f.e)((k,U)=>{let ie=!1;k.subscribe((0,v.x)(U,X=>{ie=!0,U.next(X)},()=>{ie||U.next(x),U.complete()}))})}},71884:(et,_e,_)=>{_.d(_e,{x:()=>x});var f=_(44671),v=_(54482),A=_(25403);function x(U,ie=f.y){return U=U??k,(0,v.e)((X,Q)=>{let $,z=!0;X.subscribe((0,A.x)(Q,j=>{const Me=ie(j);(z||!U($,Me))&&(z=!1,$=Me,Q.next(j))}))})}function k(U,ie){return U===ie}},39300:(et,_e,_)=>{_.d(_e,{h:()=>A});var f=_(54482),v=_(25403);function A(x,k){return(0,f.e)((U,ie)=>{let X=0;U.subscribe((0,v.x)(ie,Q=>x.call(k,Q,X++)&&ie.next(Q)))})}},28746:(et,_e,_)=>{_.d(_e,{x:()=>v});var f=_(54482);function v(A){return(0,f.e)((x,k)=>{try{x.subscribe(k)}finally{k.add(A)}})}},50590:(et,_e,_)=>{_.d(_e,{P:()=>ie});var f=_(86805),v=_(39300),A=_(95698),x=_(46590),k=_(18068),U=_(44671);function ie(X,Q){const $=arguments.length>=2;return z=>z.pipe(X?(0,v.h)((j,Me)=>X(j,Me,z)):U.y,(0,A.q)(1),$?(0,x.d)(Q):(0,k.T)(()=>new f.K))}},54004:(et,_e,_)=>{_.d(_e,{U:()=>A});var f=_(54482),v=_(25403);function A(x,k){return(0,f.e)((U,ie)=>{let X=0;U.subscribe((0,v.x)(ie,Q=>{ie.next(x.call(k,Q,X++))}))})}},69718:(et,_e,_)=>{_.d(_e,{h:()=>v});var f=_(54004);function v(A){return(0,f.U)(()=>A)}},8189:(et,_e,_)=>{_.d(_e,{J:()=>A});var f=_(95577),v=_(44671);function A(x=1/0){return(0,f.z)(v.y,x)}},95577:(et,_e,_)=>{_.d(_e,{z:()=>X});var f=_(54004),v=_(38421),A=_(54482),x=_(39672),k=_(25403),ie=_(30576);function X(Q,$,z=1/0){return(0,ie.m)($)?X((j,Me)=>(0,f.U)((Oe,de)=>$(j,Oe,Me,de))((0,v.Xf)(Q(j,Me))),z):("number"==typeof $&&(z=$),(0,A.e)((j,Me)=>function U(Q,$,z,j,Me,Oe,de,ge){const se=[];let Pe=0,tt=0,nt=!1;const Ae=()=>{nt&&!se.length&&!Pe&&$.complete()},Y=ue=>Pe<j?ye(ue):se.push(ue),ye=ue=>{Oe&&$.next(ue),Pe++;let Se=!1;(0,v.Xf)(z(ue,tt++)).subscribe((0,k.x)($,$e=>{Me?.($e),Oe?Y($e):$.next($e)},()=>{Se=!0},void 0,()=>{if(Se)try{for(Pe--;se.length&&Pe<j;){const $e=se.shift();de?(0,x.f)($,de,()=>ye($e)):ye($e)}Ae()}catch($e){$.error($e)}}))};return Q.subscribe((0,k.x)($,Y,()=>{nt=!0,Ae()})),()=>{ge?.()}}(j,Me,Q,z)))}},38343:(et,_e,_)=>{_.d(_e,{x:()=>A});var f=_(54482),v=_(25403);function A(){return(0,f.e)((x,k)=>{let U=null;x._refCount++;const ie=(0,v.x)(k,void 0,void 0,void 0,()=>{if(!x||x._refCount<=0||0<--x._refCount)return void(U=null);const X=x._connection,Q=U;U=null,X&&(!Q||X===Q)&&X.unsubscribe(),k.unsubscribe()});x.subscribe(ie),ie.closed||(U=x.connect())})}},13099:(et,_e,_)=>{_.d(_e,{B:()=>k});var f=_(38421),v=_(77579),A=_(70930),x=_(54482);function k(ie={}){const{connector:X=(()=>new v.x),resetOnError:Q=!0,resetOnComplete:$=!0,resetOnRefCountZero:z=!0}=ie;return j=>{let Me,Oe,de,ge=0,se=!1,Pe=!1;const tt=()=>{Oe?.unsubscribe(),Oe=void 0},nt=()=>{tt(),Me=de=void 0,se=Pe=!1},Ae=()=>{const Y=Me;nt(),Y?.unsubscribe()};return(0,x.e)((Y,ye)=>{ge++,!Pe&&!se&&tt();const ue=de=de??X();ye.add(()=>{ge--,0===ge&&!Pe&&!se&&(Oe=U(Ae,z))}),ue.subscribe(ye),!Me&&ge>0&&(Me=new A.Hp({next:Se=>ue.next(Se),error:Se=>{Pe=!0,tt(),Oe=U(nt,Q,Se),ue.error(Se)},complete:()=>{se=!0,tt(),Oe=U(nt,$),ue.complete()}}),(0,f.Xf)(Y).subscribe(Me))})(j)}}function U(ie,X,...Q){if(!0===X)return void ie();if(!1===X)return;const $=new A.Hp({next:()=>{$.unsubscribe(),ie()}});return(0,f.Xf)(X(...Q)).subscribe($)}},35684:(et,_e,_)=>{_.d(_e,{T:()=>v});var f=_(39300);function v(A){return(0,f.h)((x,k)=>A<=k)}},68675:(et,_e,_)=>{_.d(_e,{O:()=>x});var f=_(97272),v=_(63269),A=_(54482);function x(...k){const U=(0,v.yG)(k);return(0,A.e)((ie,X)=>{(U?(0,f.z)(k,ie,U):(0,f.z)(k,ie)).subscribe(X)})}},63900:(et,_e,_)=>{_.d(_e,{w:()=>x});var f=_(38421),v=_(54482),A=_(25403);function x(k,U){return(0,v.e)((ie,X)=>{let Q=null,$=0,z=!1;const j=()=>z&&!Q&&X.complete();ie.subscribe((0,A.x)(X,Me=>{Q?.unsubscribe();let Oe=0;const de=$++;(0,f.Xf)(k(Me,de)).subscribe(Q=(0,A.x)(X,ge=>X.next(U?U(Me,ge,de,Oe++):ge),()=>{Q=null,j()}))},()=>{z=!0,j()}))})}},95698:(et,_e,_)=>{_.d(_e,{q:()=>x});var f=_(60515),v=_(54482),A=_(25403);function x(k){return k<=0?()=>f.E:(0,v.e)((U,ie)=>{let X=0;U.subscribe((0,A.x)(ie,Q=>{++X<=k&&(ie.next(Q),k<=X&&ie.complete())}))})}},82722:(et,_e,_)=>{_.d(_e,{R:()=>k});var f=_(54482),v=_(25403),A=_(38421),x=_(25032);function k(U){return(0,f.e)((ie,X)=>{(0,A.Xf)(U).subscribe((0,v.x)(X,()=>X.complete(),x.Z)),!X.closed&&ie.subscribe(X)})}},22529:(et,_e,_)=>{_.d(_e,{o:()=>A});var f=_(54482),v=_(25403);function A(x,k=!1){return(0,f.e)((U,ie)=>{let X=0;U.subscribe((0,v.x)(ie,Q=>{const $=x(Q,X++);($||k)&&ie.next(Q),!$&&ie.complete()}))})}},18505:(et,_e,_)=>{_.d(_e,{b:()=>k});var f=_(30576),v=_(54482),A=_(25403),x=_(44671);function k(U,ie,X){const Q=(0,f.m)(U)||ie||X?{next:U,error:ie,complete:X}:U;return Q?(0,v.e)(($,z)=>{var j;null===(j=Q.subscribe)||void 0===j||j.call(Q);let Me=!0;$.subscribe((0,A.x)(z,Oe=>{var de;null===(de=Q.next)||void 0===de||de.call(Q,Oe),z.next(Oe)},()=>{var Oe;Me=!1,null===(Oe=Q.complete)||void 0===Oe||Oe.call(Q),z.complete()},Oe=>{var de;Me=!1,null===(de=Q.error)||void 0===de||de.call(Q,Oe),z.error(Oe)},()=>{var Oe,de;Me&&(null===(Oe=Q.unsubscribe)||void 0===Oe||Oe.call(Q)),null===(de=Q.finalize)||void 0===de||de.call(Q)}))}):x.y}},18068:(et,_e,_)=>{_.d(_e,{T:()=>x});var f=_(86805),v=_(54482),A=_(25403);function x(U=k){return(0,v.e)((ie,X)=>{let Q=!1;ie.subscribe((0,A.x)(X,$=>{Q=!0,X.next($)},()=>Q?X.complete():X.error(U())))})}function k(){return new f.K}},19975:(et,_e,_)=>{_.d(_e,{x:()=>ye});var f=_(38421),v=_(39672),A=_(54482),x=_(25403);function k(ue,Se=0){return(0,A.e)(($e,Le)=>{$e.subscribe((0,x.x)(Le,Je=>(0,v.f)(Le,ue,()=>Le.next(Je),Se),()=>(0,v.f)(Le,ue,()=>Le.complete(),Se),Je=>(0,v.f)(Le,ue,()=>Le.error(Je),Se)))})}function U(ue,Se=0){return(0,A.e)(($e,Le)=>{Le.add(ue.schedule(()=>$e.subscribe(Le),Se))})}var Q=_(69751),z=_(2202),j=_(30576);function Oe(ue,Se){if(!ue)throw new Error("Iterable cannot be null");return new Q.y($e=>{(0,v.f)($e,Se,()=>{const Le=ue[Symbol.asyncIterator]();(0,v.f)($e,Se,()=>{Le.next().then(Je=>{Je.done?$e.complete():$e.next(Je.value)})},0,!0)})})}var de=_(93670),ge=_(28239),se=_(81144),Pe=_(26495),tt=_(12206),nt=_(44532),Ae=_(53260);function ye(ue,Se){if(null!=ue){if((0,de.c)(ue))return function ie(ue,Se){return(0,f.Xf)(ue).pipe(U(Se),k(Se))}(ue,Se);if((0,se.z)(ue))return function $(ue,Se){return new Q.y($e=>{let Le=0;return Se.schedule(function(){Le===ue.length?$e.complete():($e.next(ue[Le++]),$e.closed||this.schedule())})})}(ue,Se);if((0,ge.t)(ue))return function X(ue,Se){return(0,f.Xf)(ue).pipe(U(Se),k(Se))}(ue,Se);if((0,tt.D)(ue))return Oe(ue,Se);if((0,Pe.T)(ue))return function Me(ue,Se){return new Q.y($e=>{let Le;return(0,v.f)($e,Se,()=>{Le=ue[z.h](),(0,v.f)($e,Se,()=>{let Je,De;try{({value:Je,done:De}=Le.next())}catch(Ue){return void $e.error(Ue)}De?$e.complete():$e.next(Je)},0,!0)}),()=>(0,j.m)(Le?.return)&&Le.return()})}(ue,Se);if((0,Ae.L)(ue))return function Y(ue,Se){return Oe((0,Ae.Q)(ue),Se)}(ue,Se)}throw(0,nt.z)(ue)}},84408:(et,_e,_)=>{_.d(_e,{o:()=>k});var f=_(50727);class v extends f.w0{constructor(ie,X){super()}schedule(ie,X=0){return this}}const A={setInterval(U,ie,...X){const{delegate:Q}=A;return Q?.setInterval?Q.setInterval(U,ie,...X):setInterval(U,ie,...X)},clearInterval(U){const{delegate:ie}=A;return(ie?.clearInterval||clearInterval)(U)},delegate:void 0};var x=_(38737);class k extends v{constructor(ie,X){super(ie,X),this.scheduler=ie,this.work=X,this.pending=!1}schedule(ie,X=0){var Q;if(this.closed)return this;this.state=ie;const $=this.id,z=this.scheduler;return null!=$&&(this.id=this.recycleAsyncId(z,$,X)),this.pending=!0,this.delay=X,this.id=null!==(Q=this.id)&&void 0!==Q?Q:this.requestAsyncId(z,this.id,X),this}requestAsyncId(ie,X,Q=0){return A.setInterval(ie.flush.bind(ie,this),Q)}recycleAsyncId(ie,X,Q=0){if(null!=Q&&this.delay===Q&&!1===this.pending)return X;null!=X&&A.clearInterval(X)}execute(ie,X){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Q=this._execute(ie,X);if(Q)return Q;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ie,X){let $,Q=!1;try{this.work(ie)}catch(z){Q=!0,$=z||new Error("Scheduled action threw falsy error")}if(Q)return this.unsubscribe(),$}unsubscribe(){if(!this.closed){const{id:ie,scheduler:X}=this,{actions:Q}=X;this.work=this.state=this.scheduler=null,this.pending=!1,(0,x.P)(Q,this),null!=ie&&(this.id=this.recycleAsyncId(X,ie,null)),this.delay=null,super.unsubscribe()}}}},97565:(et,_e,_)=>{_.d(_e,{v:()=>A});var f=_(26063);class v{constructor(k,U=v.now){this.schedulerActionCtor=k,this.now=U}schedule(k,U=0,ie){return new this.schedulerActionCtor(this,k).schedule(ie,U)}}v.now=f.l.now;class A extends v{constructor(k,U=v.now){super(k,U),this.actions=[],this._active=!1}flush(k){const{actions:U}=this;if(this._active)return void U.push(k);let ie;this._active=!0;do{if(ie=k.execute(k.state,k.delay))break}while(k=U.shift());if(this._active=!1,ie){for(;k=U.shift();)k.unsubscribe();throw ie}}}},66406:(et,_e,_)=>{_.d(_e,{Z:()=>ie});var f=_(84408),v=_(50727);const A={schedule(Q){let $=requestAnimationFrame,z=cancelAnimationFrame;const{delegate:j}=A;j&&($=j.requestAnimationFrame,z=j.cancelAnimationFrame);const Me=$(Oe=>{z=void 0,Q(Oe)});return new v.w0(()=>z?.(Me))},requestAnimationFrame(...Q){const{delegate:$}=A;return($?.requestAnimationFrame||requestAnimationFrame)(...Q)},cancelAnimationFrame(...Q){const{delegate:$}=A;return($?.cancelAnimationFrame||cancelAnimationFrame)(...Q)},delegate:void 0};var k=_(97565);const ie=new class U extends k.v{flush($){let z;this._active=!0,$?z=$.id:(z=this._scheduled,this._scheduled=void 0);const{actions:j}=this;let Me;$=$||j.shift();do{if(Me=$.execute($.state,$.delay))break}while(($=j[0])&&$.id===z&&j.shift());if(this._active=!1,Me){for(;($=j[0])&&$.id===z&&j.shift();)$.unsubscribe();throw Me}}}(class x extends f.o{constructor($,z){super($,z),this.scheduler=$,this.work=z}requestAsyncId($,z,j=0){return null!==j&&j>0?super.requestAsyncId($,z,j):($.actions.push(this),$._scheduled||($._scheduled=A.requestAnimationFrame(()=>$.flush(void 0))))}recycleAsyncId($,z,j=0){var Me;if(null!=j?j>0:this.delay>0)return super.recycleAsyncId($,z,j);const{actions:Oe}=$;null!=z&&z===$._scheduled&&(null===(Me=Oe[Oe.length-1])||void 0===Me?void 0:Me.id)!==z&&(A.cancelAnimationFrame(z),$._scheduled=void 0)}})},53101:(et,_e,_)=>{_.d(_e,{E:()=>Oe});var f=_(84408);let A,v=1;const x={};function k(ge){return ge in x&&(delete x[ge],!0)}const U={setImmediate(ge){const se=v++;return x[se]=!0,A||(A=Promise.resolve()),A.then(()=>k(se)&&ge()),se},clearImmediate(ge){k(ge)}},{setImmediate:X,clearImmediate:Q}=U,$={setImmediate(...ge){const{delegate:se}=$;return(se?.setImmediate||X)(...ge)},clearImmediate(ge){const{delegate:se}=$;return(se?.clearImmediate||Q)(ge)},delegate:void 0};var j=_(97565);const Oe=new class Me extends j.v{flush(se){this._active=!0;const Pe=this._scheduled;this._scheduled=void 0;const{actions:tt}=this;let nt;se=se||tt.shift();do{if(nt=se.execute(se.state,se.delay))break}while((se=tt[0])&&se.id===Pe&&tt.shift());if(this._active=!1,nt){for(;(se=tt[0])&&se.id===Pe&&tt.shift();)se.unsubscribe();throw nt}}}(class z extends f.o{constructor(se,Pe){super(se,Pe),this.scheduler=se,this.work=Pe}requestAsyncId(se,Pe,tt=0){return null!==tt&&tt>0?super.requestAsyncId(se,Pe,tt):(se.actions.push(this),se._scheduled||(se._scheduled=$.setImmediate(se.flush.bind(se,void 0))))}recycleAsyncId(se,Pe,tt=0){var nt;if(null!=tt?tt>0:this.delay>0)return super.recycleAsyncId(se,Pe,tt);const{actions:Ae}=se;null!=Pe&&(null===(nt=Ae[Ae.length-1])||void 0===nt?void 0:nt.id)!==Pe&&($.clearImmediate(Pe),se._scheduled===Pe&&(se._scheduled=void 0))}})},34986:(et,_e,_)=>{_.d(_e,{P:()=>x,z:()=>A});var f=_(84408);const A=new(_(97565).v)(f.o),x=A},26063:(et,_e,_)=>{_.d(_e,{l:()=>f});const f={now:()=>(f.delegate||Date).now(),delegate:void 0}},43410:(et,_e,_)=>{_.d(_e,{z:()=>f});const f={setTimeout(v,A,...x){const{delegate:k}=f;return k?.setTimeout?k.setTimeout(v,A,...x):setTimeout(v,A,...x)},clearTimeout(v){const{delegate:A}=f;return(A?.clearTimeout||clearTimeout)(v)},delegate:void 0}},2202:(et,_e,_)=>{_.d(_e,{h:()=>v});const v=function f(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},48822:(et,_e,_)=>{_.d(_e,{L:()=>f});const f="function"==typeof Symbol&&Symbol.observable||"@@observable"},86805:(et,_e,_)=>{_.d(_e,{K:()=>v});const v=(0,_(83888).d)(A=>function(){A(this),this.name="EmptyError",this.message="no elements in sequence"})},63269:(et,_e,_)=>{_.d(_e,{_6:()=>U,jO:()=>x,yG:()=>k});var f=_(30576),v=_(93532);function A(ie){return ie[ie.length-1]}function x(ie){return(0,f.m)(A(ie))?ie.pop():void 0}function k(ie){return(0,v.K)(A(ie))?ie.pop():void 0}function U(ie,X){return"number"==typeof A(ie)?ie.pop():X}},54742:(et,_e,_)=>{_.d(_e,{D:()=>k});const{isArray:f}=Array,{getPrototypeOf:v,prototype:A,keys:x}=Object;function k(ie){if(1===ie.length){const X=ie[0];if(f(X))return{args:X,keys:null};if(function U(ie){return ie&&"object"==typeof ie&&v(ie)===A}(X)){const Q=x(X);return{args:Q.map($=>X[$]),keys:Q}}}return{args:ie,keys:null}}},38737:(et,_e,_)=>{function f(v,A){if(v){const x=v.indexOf(A);0<=x&&v.splice(x,1)}}_.d(_e,{P:()=>f})},83888:(et,_e,_)=>{function f(v){const x=v(k=>{Error.call(k),k.stack=(new Error).stack});return x.prototype=Object.create(Error.prototype),x.prototype.constructor=x,x}_.d(_e,{d:()=>f})},31810:(et,_e,_)=>{function f(v,A){return v.reduce((x,k,U)=>(x[k]=A[U],x),{})}_.d(_e,{n:()=>f})},72806:(et,_e,_)=>{_.d(_e,{O:()=>x,x:()=>A});var f=_(42416);let v=null;function A(k){if(f.v.useDeprecatedSynchronousErrorHandling){const U=!v;if(U&&(v={errorThrown:!1,error:null}),k(),U){const{errorThrown:ie,error:X}=v;if(v=null,ie)throw X}}else k()}function x(k){f.v.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=k)}},39672:(et,_e,_)=>{function f(v,A,x,k=0,U=!1){const ie=A.schedule(function(){x(),U?v.add(this.schedule(null,k)):this.unsubscribe()},k);if(v.add(ie),!U)return ie}_.d(_e,{f:()=>f})},44671:(et,_e,_)=>{function f(v){return v}_.d(_e,{y:()=>f})},81144:(et,_e,_)=>{_.d(_e,{z:()=>f});const f=v=>v&&"number"==typeof v.length&&"function"!=typeof v},12206:(et,_e,_)=>{_.d(_e,{D:()=>v});var f=_(30576);function v(A){return Symbol.asyncIterator&&(0,f.m)(A?.[Symbol.asyncIterator])}},30576:(et,_e,_)=>{function f(v){return"function"==typeof v}_.d(_e,{m:()=>f})},93670:(et,_e,_)=>{_.d(_e,{c:()=>A});var f=_(48822),v=_(30576);function A(x){return(0,v.m)(x[f.L])}},26495:(et,_e,_)=>{_.d(_e,{T:()=>A});var f=_(2202),v=_(30576);function A(x){return(0,v.m)(x?.[f.h])}},45191:(et,_e,_)=>{_.d(_e,{b:()=>A});var f=_(69751),v=_(30576);function A(x){return!!x&&(x instanceof f.y||(0,v.m)(x.lift)&&(0,v.m)(x.subscribe))}},28239:(et,_e,_)=>{_.d(_e,{t:()=>v});var f=_(30576);function v(A){return(0,f.m)(A?.then)}},53260:(et,_e,_)=>{_.d(_e,{L:()=>x,Q:()=>A});var f=_(97582),v=_(30576);function A(k){return(0,f.FC)(this,arguments,function*(){const ie=k.getReader();try{for(;;){const{value:X,done:Q}=yield(0,f.qq)(ie.read());if(Q)return yield(0,f.qq)(void 0);yield yield(0,f.qq)(X)}}finally{ie.releaseLock()}})}function x(k){return(0,v.m)(k?.getReader)}},93532:(et,_e,_)=>{_.d(_e,{K:()=>v});var f=_(30576);function v(A){return A&&(0,f.m)(A.schedule)}},54482:(et,_e,_)=>{_.d(_e,{A:()=>v,e:()=>A});var f=_(30576);function v(x){return(0,f.m)(x?.lift)}function A(x){return k=>{if(v(k))return k.lift(function(U){try{return x(U,this)}catch(ie){this.error(ie)}});throw new TypeError("Unable to lift unknown Observable type")}}},83268:(et,_e,_)=>{_.d(_e,{Z:()=>x});var f=_(54004);const{isArray:v}=Array;function x(k){return(0,f.U)(U=>function A(k,U){return v(U)?k(...U):k(U)}(k,U))}},25032:(et,_e,_)=>{function f(){}_.d(_e,{Z:()=>f})},89635:(et,_e,_)=>{_.d(_e,{U:()=>A,z:()=>v});var f=_(44671);function v(...x){return A(x)}function A(x){return 0===x.length?f.y:1===x.length?x[0]:function(U){return x.reduce((ie,X)=>X(ie),U)}}},87849:(et,_e,_)=>{_.d(_e,{h:()=>A});var f=_(42416),v=_(43410);function A(x){v.z.setTimeout(()=>{const{onUnhandledError:k}=f.v;if(!k)throw x;k(x)})}},44532:(et,_e,_)=>{function f(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}_.d(_e,{z:()=>f})},15497:(et,_e,_)=>{_.d(_e,{Cv:()=>ie,vs:()=>X});var f=_(94650),v=_(80529),A=_(11481),x=_(36895);const U=new f.OlP("mage-xhr-img.objectUrlService");let ie=(()=>{class Q{constructor(z,j,Me){this.objectUrlService=z,this.webClient=j,this.sanitizer=Me,this.sourceUrl=null,this.safeBlobUrl=null}ngOnChanges(z){!z.sourceUrl||z.sourceUrl.isFirstChange()&&!this.sourceUrl||(this.disposeCurrent(),this.sourceUrl&&(this.subscription=this.webClient.get(this.sourceUrl,{responseType:"blob"}).subscribe(j=>{this.objectUrlService.revokeObjectURL(this.blobUrl),this.blobUrl=this.objectUrlService.createObjectURL(j),this.safeBlobUrl=this.sanitizer.bypassSecurityTrustUrl(this.blobUrl)})))}ngOnDestroy(){this.disposeCurrent()}onImgLoad(){this.disposeCurrent()}disposeCurrent(){this.blobUrl&&this.objectUrlService.revokeObjectURL(this.blobUrl),this.subscription&&this.subscription.unsubscribe(),this.blobUrl=null}}return Q.\u0275fac=function(z){return new(z||Q)(f.Y36(U),f.Y36(v.eN),f.Y36(A.H7))},Q.\u0275cmp=f.Xpm({type:Q,selectors:[["mage-xhr-img"]],inputs:{sourceUrl:["src","sourceUrl"]},features:[f._Bn([{provide:U,useValue:URL}]),f.TTD],decls:1,vars:1,consts:[[3,"load"]],template:function(z,j){1&z&&(f.TgZ(0,"img",0),f.NdJ("load",function(){return j.onImgLoad()}),f.qZA()),2&z&&f.uIk("src",j.safeBlobUrl,f.LSH)},styles:["img[_ngcontent-%COMP%]{height:100%;width:100%}"]}),Q})(),X=(()=>{class Q{}return Q.\u0275fac=function(z){return new(z||Q)},Q.\u0275mod=f.oAB({type:Q}),Q.\u0275inj=f.cJS({imports:[x.ez]}),Q})()},37340:(et,_e,_)=>{_.d(_e,{F4:()=>$,IO:()=>de,LC:()=>v,SB:()=>Q,X$:()=>x,ZE:()=>tt,ZN:()=>Pe,_j:()=>f,eR:()=>z,jt:()=>k,k1:()=>nt,l3:()=>A,oB:()=>X,pV:()=>Me,ru:()=>U,vP:()=>ie});class f{}class v{}const A="*";function x(Ae,Y){return{type:7,name:Ae,definitions:Y,options:{}}}function k(Ae,Y=null){return{type:4,styles:Y,timings:Ae}}function U(Ae,Y=null){return{type:3,steps:Ae,options:Y}}function ie(Ae,Y=null){return{type:2,steps:Ae,options:Y}}function X(Ae){return{type:6,styles:Ae,offset:null}}function Q(Ae,Y,ye){return{type:0,name:Ae,styles:Y,options:ye}}function $(Ae){return{type:5,steps:Ae}}function z(Ae,Y,ye=null){return{type:1,expr:Ae,animation:Y,options:ye}}function Me(Ae=null){return{type:9,options:Ae}}function de(Ae,Y,ye=null){return{type:11,selector:Ae,animation:Y,options:ye}}function se(Ae){Promise.resolve().then(Ae)}class Pe{constructor(Y=0,ye=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Y+ye}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}onStart(Y){this._originalOnStartFns.push(Y),this._onStartFns.push(Y)}onDone(Y){this._originalOnDoneFns.push(Y),this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){se(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Y=>Y()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Y){this._position=this.totalTime?Y*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Y){const ye="start"==Y?this._onStartFns:this._onDoneFns;ye.forEach(ue=>ue()),ye.length=0}}class tt{constructor(Y){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Y;let ye=0,ue=0,Se=0;const $e=this.players.length;0==$e?se(()=>this._onFinish()):this.players.forEach(Le=>{Le.onDone(()=>{++ye==$e&&this._onFinish()}),Le.onDestroy(()=>{++ue==$e&&this._onDestroy()}),Le.onStart(()=>{++Se==$e&&this._onStart()})}),this.totalTime=this.players.reduce((Le,Je)=>Math.max(Le,Je.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}init(){this.players.forEach(Y=>Y.init())}onStart(Y){this._onStartFns.push(Y)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Y=>Y()),this._onStartFns=[])}onDone(Y){this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Y=>Y.play())}pause(){this.players.forEach(Y=>Y.pause())}restart(){this.players.forEach(Y=>Y.restart())}finish(){this._onFinish(),this.players.forEach(Y=>Y.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Y=>Y.destroy()),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this.players.forEach(Y=>Y.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Y){const ye=Y*this.totalTime;this.players.forEach(ue=>{const Se=ue.totalTime?Math.min(1,ye/ue.totalTime):1;ue.setPosition(Se)})}getPosition(){const Y=this.players.reduce((ye,ue)=>null===ye||ue.totalTime>ye.totalTime?ue:ye,null);return null!=Y?Y.getPosition():0}beforeDestroy(){this.players.forEach(Y=>{Y.beforeDestroy&&Y.beforeDestroy()})}triggerCallback(Y){const ye="start"==Y?this._onStartFns:this._onDoneFns;ye.forEach(ue=>ue()),ye.length=0}}const nt="!"},12687:(et,_e,_)=>{_.d(_e,{$s:()=>Je,Em:()=>$t,Kd:()=>Ve,X6:()=>S,ic:()=>sn,kH:()=>St,mK:()=>tn,qV:()=>vt,qm:()=>oe,rt:()=>ce,s1:()=>_t,tE:()=>Nt,yG:()=>C});var f=_(36895),v=_(94650),A=_(83353),x=_(77579),k=_(50727),U=_(61135),ie=_(39646),X=_(29521),Q=_(18505),$=_(78372),z=_(39300),j=_(54004),Me=_(95698),Oe=_(35684),de=_(71884),ge=_(82722),se=_(21281),Pe=_(49643),tt=_(62289);function ye(W,q){return(W.getAttribute(q)||"").match(/\S+/g)||[]}const Se="cdk-describedby-message",$e="cdk-describedby-host";let Le=0,Je=(()=>{class W{constructor(B,fe){this._platform=fe,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Le++,this._document=B,this._id=(0,v.f3M)(v.AFp)+"-"+Le++}describe(B,fe,Ne){if(!this._canBeDescribed(B,fe))return;const it=De(fe,Ne);"string"!=typeof fe?(Ue(fe,this._id),this._messageRegistry.set(it,{messageElement:fe,referenceCount:0})):this._messageRegistry.has(it)||this._createMessageElement(fe,Ne),this._isElementDescribedByMessage(B,it)||this._addMessageReference(B,it)}removeDescription(B,fe,Ne){if(!fe||!this._isElementNode(B))return;const it=De(fe,Ne);if(this._isElementDescribedByMessage(B,it)&&this._removeMessageReference(B,it),"string"==typeof fe){const Ot=this._messageRegistry.get(it);Ot&&0===Ot.referenceCount&&this._deleteMessageElement(it)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const B=this._document.querySelectorAll(`[${$e}="${this._id}"]`);for(let fe=0;fe<B.length;fe++)this._removeCdkDescribedByReferenceIds(B[fe]),B[fe].removeAttribute($e);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(B,fe){const Ne=this._document.createElement("div");Ue(Ne,this._id),Ne.textContent=B,fe&&Ne.setAttribute("role",fe),this._createMessagesContainer(),this._messagesContainer.appendChild(Ne),this._messageRegistry.set(De(B,fe),{messageElement:Ne,referenceCount:0})}_deleteMessageElement(B){this._messageRegistry.get(B)?.messageElement?.remove(),this._messageRegistry.delete(B)}_createMessagesContainer(){if(this._messagesContainer)return;const B="cdk-describedby-message-container",fe=this._document.querySelectorAll(`.${B}[platform="server"]`);for(let it=0;it<fe.length;it++)fe[it].remove();const Ne=this._document.createElement("div");Ne.style.visibility="hidden",Ne.classList.add(B),Ne.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Ne.setAttribute("platform","server"),this._document.body.appendChild(Ne),this._messagesContainer=Ne}_removeCdkDescribedByReferenceIds(B){const fe=ye(B,"aria-describedby").filter(Ne=>0!=Ne.indexOf(Se));B.setAttribute("aria-describedby",fe.join(" "))}_addMessageReference(B,fe){const Ne=this._messageRegistry.get(fe);(function Ae(W,q,B){const fe=ye(W,q);fe.some(Ne=>Ne.trim()==B.trim())||(fe.push(B.trim()),W.setAttribute(q,fe.join(" ")))})(B,"aria-describedby",Ne.messageElement.id),B.setAttribute($e,this._id),Ne.referenceCount++}_removeMessageReference(B,fe){const Ne=this._messageRegistry.get(fe);Ne.referenceCount--,function Y(W,q,B){const Ne=ye(W,q).filter(it=>it!=B.trim());Ne.length?W.setAttribute(q,Ne.join(" ")):W.removeAttribute(q)}(B,"aria-describedby",Ne.messageElement.id),B.removeAttribute($e)}_isElementDescribedByMessage(B,fe){const Ne=ye(B,"aria-describedby"),it=this._messageRegistry.get(fe),Ot=it&&it.messageElement.id;return!!Ot&&-1!=Ne.indexOf(Ot)}_canBeDescribed(B,fe){if(!this._isElementNode(B))return!1;if(fe&&"object"==typeof fe)return!0;const Ne=null==fe?"":`${fe}`.trim(),it=B.getAttribute("aria-label");return!(!Ne||it&&it.trim()===Ne)}_isElementNode(B){return B.nodeType===this._document.ELEMENT_NODE}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(f.K0),v.LFG(A.t4))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();function De(W,q){return"string"==typeof W?`${q||""}/${W}`:W}function Ue(W,q){W.id||(W.id=`${Se}-${q}-${Le++}`)}class He{constructor(q){this._items=q,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new x.x,this._typeaheadSubscription=k.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=B=>B.disabled,this._pressedLetters=[],this.tabOut=new x.x,this.change=new x.x,q instanceof v.n_E&&q.changes.subscribe(B=>{if(this._activeItem){const Ne=B.toArray().indexOf(this._activeItem);Ne>-1&&Ne!==this._activeItemIndex&&(this._activeItemIndex=Ne)}})}skipPredicate(q){return this._skipPredicateFn=q,this}withWrap(q=!0){return this._wrap=q,this}withVerticalOrientation(q=!0){return this._vertical=q,this}withHorizontalOrientation(q){return this._horizontal=q,this}withAllowedModifierKeys(q){return this._allowedModifierKeys=q,this}withTypeAhead(q=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Q.b)(B=>this._pressedLetters.push(B)),(0,$.b)(q),(0,z.h)(()=>this._pressedLetters.length>0),(0,j.U)(()=>this._pressedLetters.join(""))).subscribe(B=>{const fe=this._getItemsArray();for(let Ne=1;Ne<fe.length+1;Ne++){const it=(this._activeItemIndex+Ne)%fe.length,Ot=fe[it];if(!this._skipPredicateFn(Ot)&&0===Ot.getLabel().toUpperCase().trim().indexOf(B)){this.setActiveItem(it);break}}this._pressedLetters=[]}),this}withHomeAndEnd(q=!0){return this._homeAndEnd=q,this}setActiveItem(q){const B=this._activeItem;this.updateActiveItem(q),this._activeItem!==B&&this.change.next(this._activeItemIndex)}onKeydown(q){const B=q.keyCode,Ne=["altKey","ctrlKey","metaKey","shiftKey"].every(it=>!q[it]||this._allowedModifierKeys.indexOf(it)>-1);switch(B){case X.Mf:return void this.tabOut.next();case X.JH:if(this._vertical&&Ne){this.setNextItemActive();break}return;case X.LH:if(this._vertical&&Ne){this.setPreviousItemActive();break}return;case X.SV:if(this._horizontal&&Ne){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case X.oh:if(this._horizontal&&Ne){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case X.Sd:if(this._homeAndEnd&&Ne){this.setFirstItemActive();break}return;case X.uR:if(this._homeAndEnd&&Ne){this.setLastItemActive();break}return;default:return void((Ne||(0,X.Vb)(q,"shiftKey"))&&(q.key&&1===q.key.length?this._letterKeyStream.next(q.key.toLocaleUpperCase()):(B>=X.A&&B<=X.Z||B>=X.xE&&B<=X.aO)&&this._letterKeyStream.next(String.fromCharCode(B))))}this._pressedLetters=[],q.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(q){const B=this._getItemsArray(),fe="number"==typeof q?q:B.indexOf(q);this._activeItem=B[fe]??null,this._activeItemIndex=fe}_setActiveItemByDelta(q){this._wrap?this._setActiveInWrapMode(q):this._setActiveInDefaultMode(q)}_setActiveInWrapMode(q){const B=this._getItemsArray();for(let fe=1;fe<=B.length;fe++){const Ne=(this._activeItemIndex+q*fe+B.length)%B.length;if(!this._skipPredicateFn(B[Ne]))return void this.setActiveItem(Ne)}}_setActiveInDefaultMode(q){this._setActiveItemByIndex(this._activeItemIndex+q,q)}_setActiveItemByIndex(q,B){const fe=this._getItemsArray();if(fe[q]){for(;this._skipPredicateFn(fe[q]);)if(!fe[q+=B])return;this.setActiveItem(q)}}_getItemsArray(){return this._items instanceof v.n_E?this._items.toArray():this._items}}class _t extends He{setActiveItem(q){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(q),this.activeItem&&this.activeItem.setActiveStyles()}}class $t extends He{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(q){return this._origin=q,this}setActiveItem(q){super.setActiveItem(q),this.activeItem&&this.activeItem.focus(this._origin)}}let sn=(()=>{class W{constructor(B){this._platform=B}isDisabled(B){return B.hasAttribute("disabled")}isVisible(B){return function Tt(W){return!!(W.offsetWidth||W.offsetHeight||"function"==typeof W.getClientRects&&W.getClientRects().length)}(B)&&"visible"===getComputedStyle(B).visibility}isTabbable(B){if(!this._platform.isBrowser)return!1;const fe=function en(W){try{return W.frameElement}catch{return null}}(function at(W){return W.ownerDocument&&W.ownerDocument.defaultView||window}(B));if(fe&&(-1===Ye(fe)||!this.isVisible(fe)))return!1;let Ne=B.nodeName.toLowerCase(),it=Ye(B);return B.hasAttribute("contenteditable")?-1!==it:!("iframe"===Ne||"object"===Ne||this._platform.WEBKIT&&this._platform.IOS&&!function Et(W){let q=W.nodeName.toLowerCase(),B="input"===q&&W.type;return"text"===B||"password"===B||"select"===q||"textarea"===q}(B))&&("audio"===Ne?!!B.hasAttribute("controls")&&-1!==it:"video"===Ne?-1!==it&&(null!==it||this._platform.FIREFOX||B.hasAttribute("controls")):B.tabIndex>=0)}isFocusable(B,fe){return function At(W){return!function ke(W){return function ee(W){return"input"==W.nodeName.toLowerCase()}(W)&&"hidden"==W.type}(W)&&(function Ie(W){let q=W.nodeName.toLowerCase();return"input"===q||"select"===q||"button"===q||"textarea"===q}(W)||function he(W){return function me(W){return"a"==W.nodeName.toLowerCase()}(W)&&W.hasAttribute("href")}(W)||W.hasAttribute("contenteditable")||Ee(W))}(B)&&!this.isDisabled(B)&&(fe?.ignoreVisibility||this.isVisible(B))}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(A.t4))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();function Ee(W){if(!W.hasAttribute("tabindex")||void 0===W.tabIndex)return!1;let q=W.getAttribute("tabindex");return!(!q||isNaN(parseInt(q,10)))}function Ye(W){if(!Ee(W))return null;const q=parseInt(W.getAttribute("tabindex")||"",10);return isNaN(q)?-1:q}class wt{constructor(q,B,fe,Ne,it=!1){this._element=q,this._checker=B,this._ngZone=fe,this._document=Ne,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,it||this.attachAnchors()}get enabled(){return this._enabled}set enabled(q){this._enabled=q,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(q,this._startAnchor),this._toggleAnchorTabIndex(q,this._endAnchor))}destroy(){const q=this._startAnchor,B=this._endAnchor;q&&(q.removeEventListener("focus",this.startAnchorListener),q.remove()),B&&(B.removeEventListener("focus",this.endAnchorListener),B.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(q){return new Promise(B=>{this._executeOnStable(()=>B(this.focusInitialElement(q)))})}focusFirstTabbableElementWhenReady(q){return new Promise(B=>{this._executeOnStable(()=>B(this.focusFirstTabbableElement(q)))})}focusLastTabbableElementWhenReady(q){return new Promise(B=>{this._executeOnStable(()=>B(this.focusLastTabbableElement(q)))})}_getRegionBoundary(q){const B=this._element.querySelectorAll(`[cdk-focus-region-${q}], [cdkFocusRegion${q}], [cdk-focus-${q}]`);return"start"==q?B.length?B[0]:this._getFirstTabbableElement(this._element):B.length?B[B.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(q){const B=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(B){if(!this._checker.isFocusable(B)){const fe=this._getFirstTabbableElement(B);return fe?.focus(q),!!fe}return B.focus(q),!0}return this.focusFirstTabbableElement(q)}focusFirstTabbableElement(q){const B=this._getRegionBoundary("start");return B&&B.focus(q),!!B}focusLastTabbableElement(q){const B=this._getRegionBoundary("end");return B&&B.focus(q),!!B}hasAttached(){return this._hasAttached}_getFirstTabbableElement(q){if(this._checker.isFocusable(q)&&this._checker.isTabbable(q))return q;const B=q.children;for(let fe=0;fe<B.length;fe++){const Ne=B[fe].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(B[fe]):null;if(Ne)return Ne}return null}_getLastTabbableElement(q){if(this._checker.isFocusable(q)&&this._checker.isTabbable(q))return q;const B=q.children;for(let fe=B.length-1;fe>=0;fe--){const Ne=B[fe].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(B[fe]):null;if(Ne)return Ne}return null}_createAnchor(){const q=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,q),q.classList.add("cdk-visually-hidden"),q.classList.add("cdk-focus-trap-anchor"),q.setAttribute("aria-hidden","true"),q}_toggleAnchorTabIndex(q,B){q?B.setAttribute("tabindex","0"):B.removeAttribute("tabindex")}toggleAnchors(q){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(q,this._startAnchor),this._toggleAnchorTabIndex(q,this._endAnchor))}_executeOnStable(q){this._ngZone.isStable?q():this._ngZone.onStable.pipe((0,Me.q)(1)).subscribe(q)}}let vt=(()=>{class W{constructor(B,fe,Ne){this._checker=B,this._ngZone=fe,this._document=Ne}create(B,fe=!1){return new wt(B,this._checker,this._ngZone,this._document,fe)}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(sn),v.LFG(v.R0b),v.LFG(f.K0))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),tn=(()=>{class W{constructor(B,fe,Ne){this._elementRef=B,this._focusTrapFactory=fe,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(B){this.focusTrap.enabled=(0,se.Ig)(B)}get autoCapture(){return this._autoCapture}set autoCapture(B){this._autoCapture=(0,se.Ig)(B)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(B){const fe=B.autoCapture;fe&&!fe.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,A.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return W.\u0275fac=function(B){return new(B||W)(v.Y36(v.SBq),v.Y36(vt),v.Y36(f.K0))},W.\u0275dir=v.lG2({type:W,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[v.TTD]}),W})();function S(W){return 0===W.buttons||0===W.offsetX&&0===W.offsetY}function C(W){const q=W.touches&&W.touches[0]||W.changedTouches&&W.changedTouches[0];return!(!q||-1!==q.identifier||null!=q.radiusX&&1!==q.radiusX||null!=q.radiusY&&1!==q.radiusY)}const R=new v.OlP("cdk-input-modality-detector-options"),K={ignoreKeys:[X.zL,X.jx,X.b2,X.MW,X.JU]},Z=(0,A.i$)({passive:!0,capture:!0});let L=(()=>{class W{constructor(B,fe,Ne,it){this._platform=B,this._mostRecentTarget=null,this._modality=new U.X(null),this._lastTouchMs=0,this._onKeydown=Ot=>{this._options?.ignoreKeys?.some(Vt=>Vt===Ot.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,A.sA)(Ot))},this._onMousedown=Ot=>{Date.now()-this._lastTouchMs<650||(this._modality.next(S(Ot)?"keyboard":"mouse"),this._mostRecentTarget=(0,A.sA)(Ot))},this._onTouchstart=Ot=>{C(Ot)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,A.sA)(Ot))},this._options={...K,...it},this.modalityDetected=this._modality.pipe((0,Oe.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,de.x)()),B.isBrowser&&fe.runOutsideAngular(()=>{Ne.addEventListener("keydown",this._onKeydown,Z),Ne.addEventListener("mousedown",this._onMousedown,Z),Ne.addEventListener("touchstart",this._onTouchstart,Z)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Z),document.removeEventListener("mousedown",this._onMousedown,Z),document.removeEventListener("touchstart",this._onTouchstart,Z))}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(A.t4),v.LFG(v.R0b),v.LFG(f.K0),v.LFG(R,8))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();const F=new v.OlP("liveAnnouncerElement",{providedIn:"root",factory:function be(){return null}}),Re=new v.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Ve=(()=>{class W{constructor(B,fe,Ne,it){this._ngZone=fe,this._defaultOptions=it,this._document=Ne,this._liveElement=B||this._createLiveElement()}announce(B,...fe){const Ne=this._defaultOptions;let it,Ot;return 1===fe.length&&"number"==typeof fe[0]?Ot=fe[0]:[it,Ot]=fe,this.clear(),clearTimeout(this._previousTimeout),it||(it=Ne&&Ne.politeness?Ne.politeness:"polite"),null==Ot&&Ne&&(Ot=Ne.duration),this._liveElement.setAttribute("aria-live",it),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Vt=>this._currentResolve=Vt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=B,"number"==typeof Ot&&(this._previousTimeout=setTimeout(()=>this.clear(),Ot)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const B="cdk-live-announcer-element",fe=this._document.getElementsByClassName(B),Ne=this._document.createElement("div");for(let it=0;it<fe.length;it++)fe[it].remove();return Ne.classList.add(B),Ne.classList.add("cdk-visually-hidden"),Ne.setAttribute("aria-atomic","true"),Ne.setAttribute("aria-live","polite"),this._document.body.appendChild(Ne),Ne}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(F,8),v.LFG(v.R0b),v.LFG(f.K0),v.LFG(Re,8))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();const xt=new v.OlP("cdk-focus-monitor-default-options"),Qe=(0,A.i$)({passive:!0,capture:!0});let Nt=(()=>{class W{constructor(B,fe,Ne,it,Ot){this._ngZone=B,this._platform=fe,this._inputModalityDetector=Ne,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new x.x,this._rootNodeFocusAndBlurListener=Vt=>{for(let jt=(0,A.sA)(Vt);jt;jt=jt.parentElement)"focus"===Vt.type?this._onFocus(Vt,jt):this._onBlur(Vt,jt)},this._document=it,this._detectionMode=Ot?.detectionMode||0}monitor(B,fe=!1){const Ne=(0,se.fI)(B);if(!this._platform.isBrowser||1!==Ne.nodeType)return(0,ie.of)(null);const it=(0,A.kV)(Ne)||this._getDocument(),Ot=this._elementInfo.get(Ne);if(Ot)return fe&&(Ot.checkChildren=!0),Ot.subject;const Vt={checkChildren:fe,subject:new x.x,rootNode:it};return this._elementInfo.set(Ne,Vt),this._registerGlobalListeners(Vt),Vt.subject}stopMonitoring(B){const fe=(0,se.fI)(B),Ne=this._elementInfo.get(fe);Ne&&(Ne.subject.complete(),this._setClasses(fe),this._elementInfo.delete(fe),this._removeGlobalListeners(Ne))}focusVia(B,fe,Ne){const it=(0,se.fI)(B);it===this._getDocument().activeElement?this._getClosestElementsInfo(it).forEach(([Vt,Xn])=>this._originChanged(Vt,fe,Xn)):(this._setOrigin(fe),"function"==typeof it.focus&&it.focus(Ne))}ngOnDestroy(){this._elementInfo.forEach((B,fe)=>this.stopMonitoring(fe))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(B){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(B)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:B&&this._isLastInteractionFromInputLabel(B)?"mouse":"program"}_shouldBeAttributedToTouch(B){return 1===this._detectionMode||!!B?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(B,fe){B.classList.toggle("cdk-focused",!!fe),B.classList.toggle("cdk-touch-focused","touch"===fe),B.classList.toggle("cdk-keyboard-focused","keyboard"===fe),B.classList.toggle("cdk-mouse-focused","mouse"===fe),B.classList.toggle("cdk-program-focused","program"===fe)}_setOrigin(B,fe=!1){this._ngZone.runOutsideAngular(()=>{this._origin=B,this._originFromTouchInteraction="touch"===B&&fe,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(B,fe){const Ne=this._elementInfo.get(fe),it=(0,A.sA)(B);!Ne||!Ne.checkChildren&&fe!==it||this._originChanged(fe,this._getFocusOrigin(it),Ne)}_onBlur(B,fe){const Ne=this._elementInfo.get(fe);!Ne||Ne.checkChildren&&B.relatedTarget instanceof Node&&fe.contains(B.relatedTarget)||(this._setClasses(fe),this._emitOrigin(Ne,null))}_emitOrigin(B,fe){B.subject.observers.length&&this._ngZone.run(()=>B.subject.next(fe))}_registerGlobalListeners(B){if(!this._platform.isBrowser)return;const fe=B.rootNode,Ne=this._rootNodeFocusListenerCount.get(fe)||0;Ne||this._ngZone.runOutsideAngular(()=>{fe.addEventListener("focus",this._rootNodeFocusAndBlurListener,Qe),fe.addEventListener("blur",this._rootNodeFocusAndBlurListener,Qe)}),this._rootNodeFocusListenerCount.set(fe,Ne+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,ge.R)(this._stopInputModalityDetector)).subscribe(it=>{this._setOrigin(it,!0)}))}_removeGlobalListeners(B){const fe=B.rootNode;if(this._rootNodeFocusListenerCount.has(fe)){const Ne=this._rootNodeFocusListenerCount.get(fe);Ne>1?this._rootNodeFocusListenerCount.set(fe,Ne-1):(fe.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Qe),fe.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Qe),this._rootNodeFocusListenerCount.delete(fe))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(B,fe,Ne){this._setClasses(B,fe),this._emitOrigin(Ne,fe),this._lastFocusOrigin=fe}_getClosestElementsInfo(B){const fe=[];return this._elementInfo.forEach((Ne,it)=>{(it===B||Ne.checkChildren&&it.contains(B))&&fe.push([it,Ne])}),fe}_isLastInteractionFromInputLabel(B){const{_mostRecentTarget:fe,mostRecentModality:Ne}=this._inputModalityDetector;if("mouse"!==Ne||!fe||fe===B||"INPUT"!==B.nodeName&&"TEXTAREA"!==B.nodeName||B.disabled)return!1;const it=B.labels;if(it)for(let Ot=0;Ot<it.length;Ot++)if(it[Ot].contains(fe))return!0;return!1}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(v.R0b),v.LFG(A.t4),v.LFG(L),v.LFG(f.K0,8),v.LFG(xt,8))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),St=(()=>{class W{constructor(B,fe){this._elementRef=B,this._focusMonitor=fe,this._focusOrigin=null,this.cdkFocusChange=new v.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const B=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(B,1===B.nodeType&&B.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(fe=>{this._focusOrigin=fe,this.cdkFocusChange.emit(fe)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return W.\u0275fac=function(B){return new(B||W)(v.Y36(v.SBq),v.Y36(Nt))},W.\u0275dir=v.lG2({type:W,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),W})();const dn="cdk-high-contrast-black-on-white",It="cdk-high-contrast-white-on-black",we="cdk-high-contrast-active";let oe=(()=>{class W{constructor(B,fe){this._platform=B,this._document=fe,this._breakpointSubscription=(0,v.f3M)(tt.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const B=this._document.createElement("div");B.style.backgroundColor="rgb(1,2,3)",B.style.position="absolute",this._document.body.appendChild(B);const fe=this._document.defaultView||window,Ne=fe&&fe.getComputedStyle?fe.getComputedStyle(B):null,it=(Ne&&Ne.backgroundColor||"").replace(/ /g,"");switch(B.remove(),it){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const B=this._document.body.classList;B.remove(we,dn,It),this._hasCheckedHighContrastMode=!0;const fe=this.getHighContrastMode();1===fe?B.add(we,dn):2===fe&&B.add(we,It)}}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(A.t4),v.LFG(f.K0))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),ce=(()=>{class W{constructor(B){B._applyBodyHighContrastModeCssClasses()}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(oe))},W.\u0275mod=v.oAB({type:W}),W.\u0275inj=v.cJS({imports:[Pe.Q8]}),W})()},40445:(et,_e,_)=>{_.d(_e,{Is:()=>ie,vT:()=>Q});var f=_(94650),v=_(36895);const A=new f.OlP("cdk-dir-doc",{providedIn:"root",factory:function x(){return(0,f.f3M)(v.K0)}}),k=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ie=(()=>{class ${constructor(j){if(this.value="ltr",this.change=new f.vpe,j){const Oe=j.documentElement?j.documentElement.dir:null;this.value=function U($){const z=$?.toLowerCase()||"";return"auto"===z&&typeof navigator<"u"&&navigator?.language?k.test(navigator.language)?"rtl":"ltr":"rtl"===z?"rtl":"ltr"}((j.body?j.body.dir:null)||Oe||"ltr")}}ngOnDestroy(){this.change.complete()}}return $.\u0275fac=function(j){return new(j||$)(f.LFG(A,8))},$.\u0275prov=f.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})(),Q=(()=>{class ${}return $.\u0275fac=function(j){return new(j||$)},$.\u0275mod=f.oAB({type:$}),$.\u0275inj=f.cJS({}),$})()},21281:(et,_e,_)=>{_.d(_e,{Eq:()=>k,HM:()=>U,Ig:()=>v,du:()=>X,fI:()=>ie,su:()=>A,t6:()=>x});var f=_(94650);function v(Q){return null!=Q&&"false"!=`${Q}`}function A(Q,$=0){return x(Q)?Number(Q):$}function x(Q){return!isNaN(parseFloat(Q))&&!isNaN(Number(Q))}function k(Q){return Array.isArray(Q)?Q:[Q]}function U(Q){return null==Q?"":"string"==typeof Q?Q:`${Q}px`}function ie(Q){return Q instanceof f.SBq?Q.nativeElement:Q}function X(Q,$=/\s+/){const z=[];if(null!=Q){const j=Array.isArray(Q)?Q:`${Q}`.split($);for(const Me of j){const Oe=`${Me}`.trim();Oe&&z.push(Oe)}}return z}},95017:(et,_e,_)=>{_.d(_e,{A8:()=>Me,Ov:()=>z,P3:()=>X,Z9:()=>ie,eX:()=>$,k:()=>Oe,o2:()=>U,yy:()=>Q});var f=_(94033),v=_(45191),A=_(39646),x=_(77579),k=_(94650);class U{}function ie(de){return de&&"function"==typeof de.connect&&!(de instanceof f.c)}class X extends U{constructor(ge){super(),this._data=ge}connect(){return(0,v.b)(this._data)?this._data:(0,A.of)(this._data)}disconnect(){}}class Q{applyChanges(ge,se,Pe,tt,nt){ge.forEachOperation((Ae,Y,ye)=>{let ue,Se;if(null==Ae.previousIndex){const $e=Pe(Ae,Y,ye);ue=se.createEmbeddedView($e.templateRef,$e.context,$e.index),Se=1}else null==ye?(se.remove(Y),Se=3):(ue=se.get(Y),se.move(ue,ye),Se=2);nt&&nt({context:ue?.context,operation:Se,record:Ae})})}detach(){}}class ${constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(ge,se,Pe,tt,nt){ge.forEachOperation((Ae,Y,ye)=>{let ue,Se;null==Ae.previousIndex?(ue=this._insertView(()=>Pe(Ae,Y,ye),ye,se,tt(Ae)),Se=ue?1:0):null==ye?(this._detachAndCacheView(Y,se),Se=3):(ue=this._moveView(Y,ye,se,tt(Ae)),Se=2),nt&&nt({context:ue?.context,operation:Se,record:Ae})})}detach(){for(const ge of this._viewCache)ge.destroy();this._viewCache=[]}_insertView(ge,se,Pe,tt){const nt=this._insertViewFromCache(se,Pe);if(nt)return void(nt.context.$implicit=tt);const Ae=ge();return Pe.createEmbeddedView(Ae.templateRef,Ae.context,Ae.index)}_detachAndCacheView(ge,se){const Pe=se.detach(ge);this._maybeCacheView(Pe,se)}_moveView(ge,se,Pe,tt){const nt=Pe.get(ge);return Pe.move(nt,se),nt.context.$implicit=tt,nt}_maybeCacheView(ge,se){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(ge);else{const Pe=se.indexOf(ge);-1===Pe?ge.destroy():se.remove(Pe)}}_insertViewFromCache(ge,se){const Pe=this._viewCache.pop();return Pe&&se.insert(Pe,ge),Pe||null}}class z{constructor(ge=!1,se,Pe=!0,tt){this._multiple=ge,this._emitChanges=Pe,this.compareWith=tt,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new x.x,se&&se.length&&(ge?se.forEach(nt=>this._markSelected(nt)):this._markSelected(se[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...ge){this._verifyValueAssignment(ge),ge.forEach(Pe=>this._markSelected(Pe));const se=this._hasQueuedChanges();return this._emitChangeEvent(),se}deselect(...ge){this._verifyValueAssignment(ge),ge.forEach(Pe=>this._unmarkSelected(Pe));const se=this._hasQueuedChanges();return this._emitChangeEvent(),se}setSelection(...ge){this._verifyValueAssignment(ge);const se=this.selected,Pe=new Set(ge);ge.forEach(nt=>this._markSelected(nt)),se.filter(nt=>!Pe.has(nt)).forEach(nt=>this._unmarkSelected(nt));const tt=this._hasQueuedChanges();return this._emitChangeEvent(),tt}toggle(ge){return this.isSelected(ge)?this.deselect(ge):this.select(ge)}clear(ge=!0){this._unmarkAll();const se=this._hasQueuedChanges();return ge&&this._emitChangeEvent(),se}isSelected(ge){if(this.compareWith){for(const se of this._selection)if(this.compareWith(se,ge))return!0;return!1}return this._selection.has(ge)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(ge){this._multiple&&this.selected&&this._selected.sort(ge)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(ge){this.isSelected(ge)||(this._multiple||this._unmarkAll(),this.isSelected(ge)||this._selection.add(ge),this._emitChanges&&this._selectedToEmit.push(ge))}_unmarkSelected(ge){this.isSelected(ge)&&(this._selection.delete(ge),this._emitChanges&&this._deselectedToEmit.push(ge))}_unmarkAll(){this.isEmpty()||this._selection.forEach(ge=>this._unmarkSelected(ge))}_verifyValueAssignment(ge){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let Me=(()=>{class de{constructor(){this._listeners=[]}notify(se,Pe){for(let tt of this._listeners)tt(se,Pe)}listen(se){return this._listeners.push(se),()=>{this._listeners=this._listeners.filter(Pe=>se!==Pe)}}ngOnDestroy(){this._listeners=[]}}return de.\u0275fac=function(se){return new(se||de)},de.\u0275prov=k.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})();const Oe=new k.OlP("_ViewRepeater")},97855:(et,_e,_)=>{_.d(_e,{LL:()=>ge,Su:()=>$e,Vq:()=>ue,ib:()=>Oe});var f=_(12687),v=_(98184),A=_(83353),x=_(84080),k=_(36895),U=_(94650),ie=_(29521),X=_(77579),Q=_(49770),$=_(39646),z=_(40445),j=_(68675);function Me(Le,Je){}class Oe{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let ge=(()=>{class Le extends x.en{constructor(De,Ue,He,_t,$t,bt,sn,en){super(),this._elementRef=De,this._focusTrapFactory=Ue,this._config=_t,this._interactivityChecker=$t,this._ngZone=bt,this._overlayRef=sn,this._focusMonitor=en,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Tt=>{this._portalOutlet.hasAttached();const Ie=this._portalOutlet.attachDomPortal(Tt);return this._contentAttached(),Ie},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=He}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(De){this._portalOutlet.hasAttached();const Ue=this._portalOutlet.attachComponentPortal(De);return this._contentAttached(),Ue}attachTemplatePortal(De){this._portalOutlet.hasAttached();const Ue=this._portalOutlet.attachTemplatePortal(De);return this._contentAttached(),Ue}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(De,Ue){this._interactivityChecker.isFocusable(De)||(De.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const He=()=>{De.removeEventListener("blur",He),De.removeEventListener("mousedown",He),De.removeAttribute("tabindex")};De.addEventListener("blur",He),De.addEventListener("mousedown",He)})),De.focus(Ue)}_focusByCssSelector(De,Ue){let He=this._elementRef.nativeElement.querySelector(De);He&&this._forceFocus(He,Ue)}_trapFocus(){const De=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||De.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Ue=>{Ue||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const De=this._config.restoreFocus;let Ue=null;if("string"==typeof De?Ue=this._document.querySelector(De):"boolean"==typeof De?Ue=De?this._elementFocusedBeforeDialogWasOpened:null:De&&(Ue=De),this._config.restoreFocus&&Ue&&"function"==typeof Ue.focus){const He=(0,A.ht)(),_t=this._elementRef.nativeElement;(!He||He===this._document.body||He===_t||_t.contains(He))&&(this._focusMonitor?(this._focusMonitor.focusVia(Ue,this._closeInteractionType),this._closeInteractionType=null):Ue.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const De=this._elementRef.nativeElement,Ue=(0,A.ht)();return De===Ue||De.contains(Ue)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,A.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return Le.\u0275fac=function(De){return new(De||Le)(U.Y36(U.SBq),U.Y36(f.qV),U.Y36(k.K0,8),U.Y36(Oe),U.Y36(f.ic),U.Y36(U.R0b),U.Y36(v.Iu),U.Y36(f.tE))},Le.\u0275cmp=U.Xpm({type:Le,selectors:[["cdk-dialog-container"]],viewQuery:function(De,Ue){if(1&De&&U.Gf(x.Pl,7),2&De){let He;U.iGM(He=U.CRH())&&(Ue._portalOutlet=He.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(De,Ue){2&De&&U.uIk("id",Ue._config.id||null)("role",Ue._config.role)("aria-modal",Ue._config.ariaModal)("aria-labelledby",Ue._config.ariaLabel?null:Ue._ariaLabelledBy)("aria-label",Ue._config.ariaLabel)("aria-describedby",Ue._config.ariaDescribedBy||null)},features:[U.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(De,Ue){1&De&&U.YNc(0,Me,0,0,"ng-template",0)},dependencies:[x.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),Le})();class se{constructor(Je,De){this.overlayRef=Je,this.config=De,this.closed=new X.x,this.disableClose=De.disableClose,this.backdropClick=Je.backdropClick(),this.keydownEvents=Je.keydownEvents(),this.outsidePointerEvents=Je.outsidePointerEvents(),this.id=De.id,this.keydownEvents.subscribe(Ue=>{Ue.keyCode===ie.hY&&!this.disableClose&&!(0,ie.Vb)(Ue)&&(Ue.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(Je,De){if(this.containerInstance){const Ue=this.closed;this.containerInstance._closeInteractionType=De?.focusOrigin||"program",this.overlayRef.dispose(),Ue.next(Je),Ue.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Je="",De=""){return this.overlayRef.updateSize({width:Je,height:De}),this}addPanelClass(Je){return this.overlayRef.addPanelClass(Je),this}removePanelClass(Je){return this.overlayRef.removePanelClass(Je),this}}const Pe=new U.OlP("DialogScrollStrategy"),tt=new U.OlP("DialogData"),nt=new U.OlP("DefaultDialogConfig"),Y={provide:Pe,deps:[v.aV],useFactory:function Ae(Le){return()=>Le.scrollStrategies.block()}};let ye=0,ue=(()=>{class Le{constructor(De,Ue,He,_t,$t,bt){this._overlay=De,this._injector=Ue,this._defaultOptions=He,this._parentDialog=_t,this._overlayContainer=$t,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new X.x,this._afterOpenedAtThisLevel=new X.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,Q.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,j.O)(void 0))),this._scrollStrategy=bt}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(De,Ue){(Ue={...this._defaultOptions||new Oe,...Ue}).id=Ue.id||"cdk-dialog-"+ye++,Ue.id&&this.getDialogById(Ue.id);const _t=this._getOverlayConfig(Ue),$t=this._overlay.create(_t),bt=new se($t,Ue),sn=this._attachContainer($t,bt,Ue);return bt.containerInstance=sn,this._attachDialogContent(De,bt,sn,Ue),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(bt),bt.closed.subscribe(()=>this._removeOpenDialog(bt,!0)),this.afterOpened.next(bt),bt}closeAll(){Se(this.openDialogs,De=>De.close())}getDialogById(De){return this.openDialogs.find(Ue=>Ue.id===De)}ngOnDestroy(){Se(this._openDialogsAtThisLevel,De=>{!1===De.config.closeOnDestroy&&this._removeOpenDialog(De,!1)}),Se(this._openDialogsAtThisLevel,De=>De.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(De){const Ue=new v.X_({positionStrategy:De.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:De.scrollStrategy||this._scrollStrategy(),panelClass:De.panelClass,hasBackdrop:De.hasBackdrop,direction:De.direction,minWidth:De.minWidth,minHeight:De.minHeight,maxWidth:De.maxWidth,maxHeight:De.maxHeight,width:De.width,height:De.height,disposeOnNavigation:De.closeOnNavigation});return De.backdropClass&&(Ue.backdropClass=De.backdropClass),Ue}_attachContainer(De,Ue,He){const _t=He.injector||He.viewContainerRef?.injector,$t=[{provide:Oe,useValue:He},{provide:se,useValue:Ue},{provide:v.Iu,useValue:De}];let bt;He.container?"function"==typeof He.container?bt=He.container:(bt=He.container.type,$t.push(...He.container.providers(He))):bt=ge;const sn=new x.C5(bt,He.viewContainerRef,U.zs3.create({parent:_t||this._injector,providers:$t}),He.componentFactoryResolver);return De.attach(sn).instance}_attachDialogContent(De,Ue,He,_t){if(De instanceof U.Rgc){const $t=this._createInjector(_t,Ue,He,void 0);let bt={$implicit:_t.data,dialogRef:Ue};_t.templateContext&&(bt={...bt,..."function"==typeof _t.templateContext?_t.templateContext():_t.templateContext}),He.attachTemplatePortal(new x.UE(De,null,bt,$t))}else{const $t=this._createInjector(_t,Ue,He,this._injector),bt=He.attachComponentPortal(new x.C5(De,_t.viewContainerRef,$t,_t.componentFactoryResolver));Ue.componentInstance=bt.instance}}_createInjector(De,Ue,He,_t){const $t=De.injector||De.viewContainerRef?.injector,bt=[{provide:tt,useValue:De.data},{provide:se,useValue:Ue}];return De.providers&&("function"==typeof De.providers?bt.push(...De.providers(Ue,De,He)):bt.push(...De.providers)),De.direction&&(!$t||!$t.get(z.Is,null,U.XFs.Optional))&&bt.push({provide:z.Is,useValue:{value:De.direction,change:(0,$.of)()}}),U.zs3.create({parent:$t||_t,providers:bt})}_removeOpenDialog(De,Ue){const He=this.openDialogs.indexOf(De);He>-1&&(this.openDialogs.splice(He,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((_t,$t)=>{_t?$t.setAttribute("aria-hidden",_t):$t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Ue&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const De=this._overlayContainer.getContainerElement();if(De.parentElement){const Ue=De.parentElement.children;for(let He=Ue.length-1;He>-1;He--){const _t=Ue[He];_t!==De&&"SCRIPT"!==_t.nodeName&&"STYLE"!==_t.nodeName&&!_t.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(_t,_t.getAttribute("aria-hidden")),_t.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const De=this._parentDialog;return De?De._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return Le.\u0275fac=function(De){return new(De||Le)(U.LFG(v.aV),U.LFG(U.zs3),U.LFG(nt,8),U.LFG(Le,12),U.LFG(v.Xj),U.LFG(Pe))},Le.\u0275prov=U.Yz7({token:Le,factory:Le.\u0275fac}),Le})();function Se(Le,Je){let De=Le.length;for(;De--;)Je(Le[De])}let $e=(()=>{class Le{}return Le.\u0275fac=function(De){return new(De||Le)},Le.\u0275mod=U.oAB({type:Le}),Le.\u0275inj=U.cJS({providers:[ue,Y],imports:[v.U8,x.eL,f.rt,x.eL]}),Le})()},29521:(et,_e,_)=>{_.d(_e,{A:()=>ke,JH:()=>nt,JU:()=>U,K5:()=>k,Ku:()=>Me,LH:()=>Pe,L_:()=>j,MW:()=>Re,Mf:()=>A,OC:()=>Jn,SV:()=>tt,Sd:()=>ge,VM:()=>Oe,Vb:()=>tr,Z:()=>be,ZH:()=>v,aO:()=>bt,b2:()=>xn,hY:()=>z,jx:()=>ie,oh:()=>se,uR:()=>de,xE:()=>Se,yY:()=>ue,zL:()=>X});const v=8,A=9,k=13,U=16,ie=17,X=18,z=27,j=32,Me=33,Oe=34,de=35,ge=36,se=37,Pe=38,tt=39,nt=40,ue=46,Se=48,bt=57,ke=65,be=90,Re=91,Jn=188,xn=224;function tr(ln,...Ar){return Ar.length?Ar.some(An=>ln[An]):ln.altKey||ln.shiftKey||ln.ctrlKey||ln.metaKey}},62289:(et,_e,_)=>{_.d(_e,{Yg:()=>nt,u3:()=>Y});var f=_(94650),v=_(21281),A=_(77579),x=_(39841),k=_(97272),U=_(69751),ie=_(95698),X=_(35684),Q=_(78372),$=_(54004),z=_(68675),j=_(82722),Me=_(83353);const de=new Set;let ge,se=(()=>{class ye{constructor(Se){this._platform=Se,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):tt}matchMedia(Se){return(this._platform.WEBKIT||this._platform.BLINK)&&function Pe(ye){if(!de.has(ye))try{ge||(ge=document.createElement("style"),ge.setAttribute("type","text/css"),document.head.appendChild(ge)),ge.sheet&&(ge.sheet.insertRule(`@media ${ye} {body{ }}`,0),de.add(ye))}catch(ue){console.error(ue)}}(Se),this._matchMedia(Se)}}return ye.\u0275fac=function(Se){return new(Se||ye)(f.LFG(Me.t4))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function tt(ye){return{matches:"all"===ye||""===ye,media:ye,addListener:()=>{},removeListener:()=>{}}}let nt=(()=>{class ye{constructor(Se,$e){this._mediaMatcher=Se,this._zone=$e,this._queries=new Map,this._destroySubject=new A.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Se){return Ae((0,v.Eq)(Se)).some(Le=>this._registerQuery(Le).mql.matches)}observe(Se){const Le=Ae((0,v.Eq)(Se)).map(De=>this._registerQuery(De).observable);let Je=(0,x.a)(Le);return Je=(0,k.z)(Je.pipe((0,ie.q)(1)),Je.pipe((0,X.T)(1),(0,Q.b)(0))),Je.pipe((0,$.U)(De=>{const Ue={matches:!1,breakpoints:{}};return De.forEach(({matches:He,query:_t})=>{Ue.matches=Ue.matches||He,Ue.breakpoints[_t]=He}),Ue}))}_registerQuery(Se){if(this._queries.has(Se))return this._queries.get(Se);const $e=this._mediaMatcher.matchMedia(Se),Je={observable:new U.y(De=>{const Ue=He=>this._zone.run(()=>De.next(He));return $e.addListener(Ue),()=>{$e.removeListener(Ue)}}).pipe((0,z.O)($e),(0,$.U)(({matches:De})=>({query:Se,matches:De})),(0,j.R)(this._destroySubject)),mql:$e};return this._queries.set(Se,Je),Je}}return ye.\u0275fac=function(Se){return new(Se||ye)(f.LFG(se),f.LFG(f.R0b))},ye.\u0275prov=f.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function Ae(ye){return ye.map(ue=>ue.split(",")).reduce((ue,Se)=>ue.concat(Se)).map(ue=>ue.trim())}const Y={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},49643:(et,_e,_)=>{_.d(_e,{Q8:()=>Q,wD:()=>X});var f=_(21281),v=_(94650),A=_(69751),x=_(77579),k=_(78372);let U=(()=>{class ${create(j){return typeof MutationObserver>"u"?null:new MutationObserver(j)}}return $.\u0275fac=function(j){return new(j||$)},$.\u0275prov=v.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})(),ie=(()=>{class ${constructor(j){this._mutationObserverFactory=j,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((j,Me)=>this._cleanupObserver(Me))}observe(j){const Me=(0,f.fI)(j);return new A.y(Oe=>{const ge=this._observeElement(Me).subscribe(Oe);return()=>{ge.unsubscribe(),this._unobserveElement(Me)}})}_observeElement(j){if(this._observedElements.has(j))this._observedElements.get(j).count++;else{const Me=new x.x,Oe=this._mutationObserverFactory.create(de=>Me.next(de));Oe&&Oe.observe(j,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(j,{observer:Oe,stream:Me,count:1})}return this._observedElements.get(j).stream}_unobserveElement(j){this._observedElements.has(j)&&(this._observedElements.get(j).count--,this._observedElements.get(j).count||this._cleanupObserver(j))}_cleanupObserver(j){if(this._observedElements.has(j)){const{observer:Me,stream:Oe}=this._observedElements.get(j);Me&&Me.disconnect(),Oe.complete(),this._observedElements.delete(j)}}}return $.\u0275fac=function(j){return new(j||$)(v.LFG(U))},$.\u0275prov=v.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})(),X=(()=>{class ${constructor(j,Me,Oe){this._contentObserver=j,this._elementRef=Me,this._ngZone=Oe,this.event=new v.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(j){this._disabled=(0,f.Ig)(j),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(j){this._debounce=(0,f.su)(j),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const j=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?j.pipe((0,k.b)(this.debounce)):j).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return $.\u0275fac=function(j){return new(j||$)(v.Y36(ie),v.Y36(v.SBq),v.Y36(v.R0b))},$.\u0275dir=v.lG2({type:$,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),$})(),Q=(()=>{class ${}return $.\u0275fac=function(j){return new(j||$)},$.\u0275mod=v.oAB({type:$}),$.\u0275inj=v.cJS({providers:[U]}),$})()},98184:(et,_e,_)=>{_.d(_e,{Iu:()=>bt,U8:()=>Te,X_:()=>ue,Xj:()=>$t,_G:()=>Tt,aV:()=>at,pI:()=>Bt,xu:()=>tn});var f=_(79034),v=_(36895),A=_(94650),x=_(21281),k=_(83353),U=_(40445),ie=_(84080),X=_(77579),Q=_(50727),$=_(56451),z=_(95698),j=_(82722),Me=_(22529),Oe=_(29521);const de=(0,k.Mq)();class ge{constructor(C,R){this._viewportRuler=C,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=R}attach(){}enable(){if(this._canBeEnabled()){const C=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=C.style.left||"",this._previousHTMLStyles.top=C.style.top||"",C.style.left=(0,x.HM)(-this._previousScrollPosition.left),C.style.top=(0,x.HM)(-this._previousScrollPosition.top),C.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const C=this._document.documentElement,K=C.style,ve=this._document.body.style,Z=K.scrollBehavior||"",L=ve.scrollBehavior||"";this._isEnabled=!1,K.left=this._previousHTMLStyles.left,K.top=this._previousHTMLStyles.top,C.classList.remove("cdk-global-scrollblock"),de&&(K.scrollBehavior=ve.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),de&&(K.scrollBehavior=Z,ve.scrollBehavior=L)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const R=this._document.body,K=this._viewportRuler.getViewportSize();return R.scrollHeight>K.height||R.scrollWidth>K.width}}class Pe{constructor(C,R,K,ve){this._scrollDispatcher=C,this._ngZone=R,this._viewportRuler=K,this._config=ve,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(C){this._overlayRef=C}enable(){if(this._scrollSubscription)return;const C=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=C.subscribe(()=>{const R=this._viewportRuler.getViewportScrollPosition().top;Math.abs(R-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=C.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class tt{enable(){}disable(){}attach(){}}function nt(S,C){return C.some(R=>S.bottom<R.top||S.top>R.bottom||S.right<R.left||S.left>R.right)}function Ae(S,C){return C.some(R=>S.top<R.top||S.bottom>R.bottom||S.left<R.left||S.right>R.right)}class Y{constructor(C,R,K,ve){this._scrollDispatcher=C,this._viewportRuler=R,this._ngZone=K,this._config=ve,this._scrollSubscription=null}attach(C){this._overlayRef=C}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const R=this._overlayRef.overlayElement.getBoundingClientRect(),{width:K,height:ve}=this._viewportRuler.getViewportSize();nt(R,[{width:K,height:ve,bottom:ve,right:K,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let ye=(()=>{class S{constructor(R,K,ve,Z){this._scrollDispatcher=R,this._viewportRuler=K,this._ngZone=ve,this.noop=()=>new tt,this.close=L=>new Pe(this._scrollDispatcher,this._ngZone,this._viewportRuler,L),this.block=()=>new ge(this._viewportRuler,this._document),this.reposition=L=>new Y(this._scrollDispatcher,this._viewportRuler,this._ngZone,L),this._document=Z}}return S.\u0275fac=function(R){return new(R||S)(A.LFG(f.mF),A.LFG(f.rL),A.LFG(A.R0b),A.LFG(v.K0))},S.\u0275prov=A.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();class ue{constructor(C){if(this.scrollStrategy=new tt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,C){const R=Object.keys(C);for(const K of R)void 0!==C[K]&&(this[K]=C[K])}}}class Le{constructor(C,R){this.connectionPair=C,this.scrollableViewProperties=R}}let Ue=(()=>{class S{constructor(R){this._attachedOverlays=[],this._document=R}ngOnDestroy(){this.detach()}add(R){this.remove(R),this._attachedOverlays.push(R)}remove(R){const K=this._attachedOverlays.indexOf(R);K>-1&&this._attachedOverlays.splice(K,1),0===this._attachedOverlays.length&&this.detach()}}return S.\u0275fac=function(R){return new(R||S)(A.LFG(v.K0))},S.\u0275prov=A.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),He=(()=>{class S extends Ue{constructor(R,K){super(R),this._ngZone=K,this._keydownListener=ve=>{const Z=this._attachedOverlays;for(let L=Z.length-1;L>-1;L--)if(Z[L]._keydownEvents.observers.length>0){const F=Z[L]._keydownEvents;this._ngZone?this._ngZone.run(()=>F.next(ve)):F.next(ve);break}}}add(R){super.add(R),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return S.\u0275fac=function(R){return new(R||S)(A.LFG(v.K0),A.LFG(A.R0b,8))},S.\u0275prov=A.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),_t=(()=>{class S extends Ue{constructor(R,K,ve){super(R),this._platform=K,this._ngZone=ve,this._cursorStyleIsSet=!1,this._pointerDownListener=Z=>{this._pointerDownEventTarget=(0,k.sA)(Z)},this._clickListener=Z=>{const L=(0,k.sA)(Z),F="click"===Z.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:L;this._pointerDownEventTarget=null;const be=this._attachedOverlays.slice();for(let Re=be.length-1;Re>-1;Re--){const Ve=be[Re];if(Ve._outsidePointerEvents.observers.length<1||!Ve.hasAttached())continue;if(Ve.overlayElement.contains(L)||Ve.overlayElement.contains(F))break;const lt=Ve._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>lt.next(Z)):lt.next(Z)}}}add(R){if(super.add(R),!this._isAttached){const K=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(K)):this._addEventListeners(K),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=K.style.cursor,K.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const R=this._document.body;R.removeEventListener("pointerdown",this._pointerDownListener,!0),R.removeEventListener("click",this._clickListener,!0),R.removeEventListener("auxclick",this._clickListener,!0),R.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(R.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(R){R.addEventListener("pointerdown",this._pointerDownListener,!0),R.addEventListener("click",this._clickListener,!0),R.addEventListener("auxclick",this._clickListener,!0),R.addEventListener("contextmenu",this._clickListener,!0)}}return S.\u0275fac=function(R){return new(R||S)(A.LFG(v.K0),A.LFG(k.t4),A.LFG(A.R0b,8))},S.\u0275prov=A.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),$t=(()=>{class S{constructor(R,K){this._platform=K,this._document=R}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const R="cdk-overlay-container";if(this._platform.isBrowser||(0,k.Oy)()){const ve=this._document.querySelectorAll(`.${R}[platform="server"], .${R}[platform="test"]`);for(let Z=0;Z<ve.length;Z++)ve[Z].remove()}const K=this._document.createElement("div");K.classList.add(R),(0,k.Oy)()?K.setAttribute("platform","test"):this._platform.isBrowser||K.setAttribute("platform","server"),this._document.body.appendChild(K),this._containerElement=K}}return S.\u0275fac=function(R){return new(R||S)(A.LFG(v.K0),A.LFG(k.t4))},S.\u0275prov=A.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();class bt{constructor(C,R,K,ve,Z,L,F,be,Re,Ve=!1){this._portalOutlet=C,this._host=R,this._pane=K,this._config=ve,this._ngZone=Z,this._keyboardDispatcher=L,this._document=F,this._location=be,this._outsideClickDispatcher=Re,this._animationsDisabled=Ve,this._backdropElement=null,this._backdropClick=new X.x,this._attachments=new X.x,this._detachments=new X.x,this._locationChanges=Q.w0.EMPTY,this._backdropClickHandler=lt=>this._backdropClick.next(lt),this._backdropTransitionendHandler=lt=>{this._disposeBackdrop(lt.target)},this._keydownEvents=new X.x,this._outsidePointerEvents=new X.x,ve.scrollStrategy&&(this._scrollStrategy=ve.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ve.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(C){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const R=this._portalOutlet.attach(C);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,z.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof R?.onDestroy&&R.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),R}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const C=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),C}dispose(){const C=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,C&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(C){C!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=C,this.hasAttached()&&(C.attach(this),this.updatePosition()))}updateSize(C){this._config={...this._config,...C},this._updateElementSize()}setDirection(C){this._config={...this._config,direction:C},this._updateElementDirection()}addPanelClass(C){this._pane&&this._toggleClasses(this._pane,C,!0)}removePanelClass(C){this._pane&&this._toggleClasses(this._pane,C,!1)}getDirection(){const C=this._config.direction;return C?"string"==typeof C?C:C.value:"ltr"}updateScrollStrategy(C){C!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=C,this.hasAttached()&&(C.attach(this),C.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const C=this._pane.style;C.width=(0,x.HM)(this._config.width),C.height=(0,x.HM)(this._config.height),C.minWidth=(0,x.HM)(this._config.minWidth),C.minHeight=(0,x.HM)(this._config.minHeight),C.maxWidth=(0,x.HM)(this._config.maxWidth),C.maxHeight=(0,x.HM)(this._config.maxHeight)}_togglePointerEvents(C){this._pane.style.pointerEvents=C?"":"none"}_attachBackdrop(){const C="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(C)})}):this._backdropElement.classList.add(C)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const C=this._backdropElement;if(C){if(this._animationsDisabled)return void this._disposeBackdrop(C);C.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{C.addEventListener("transitionend",this._backdropTransitionendHandler)}),C.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(C)},500))}}_toggleClasses(C,R,K){const ve=(0,x.Eq)(R||[]).filter(Z=>!!Z);ve.length&&(K?C.classList.add(...ve):C.classList.remove(...ve))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const C=this._ngZone.onStable.pipe((0,j.R)((0,$.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),C.unsubscribe())})})}_disposeScrollStrategy(){const C=this._scrollStrategy;C&&(C.disable(),C.detach&&C.detach())}_disposeBackdrop(C){C&&(C.removeEventListener("click",this._backdropClickHandler),C.removeEventListener("transitionend",this._backdropTransitionendHandler),C.remove(),this._backdropElement===C&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const sn="cdk-overlay-connected-position-bounding-box",en=/([A-Za-z%]+)$/;class Tt{constructor(C,R,K,ve,Z){this._viewportRuler=R,this._document=K,this._platform=ve,this._overlayContainer=Z,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new X.x,this._resizeSubscription=Q.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(C)}get positions(){return this._preferredPositions}attach(C){this._validatePositions(),C.hostElement.classList.add(sn),this._overlayRef=C,this._boundingBox=C.hostElement,this._pane=C.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const C=this._originRect,R=this._overlayRect,K=this._viewportRect,ve=this._containerRect,Z=[];let L;for(let F of this._preferredPositions){let be=this._getOriginPoint(C,ve,F),Re=this._getOverlayPoint(be,R,F),Ve=this._getOverlayFit(Re,R,K,F);if(Ve.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(F,be);this._canFitWithFlexibleDimensions(Ve,Re,K)?Z.push({position:F,origin:be,overlayRect:R,boundingBoxRect:this._calculateBoundingBoxRect(be,F)}):(!L||L.overlayFit.visibleArea<Ve.visibleArea)&&(L={overlayFit:Ve,overlayPoint:Re,originPoint:be,position:F,overlayRect:R})}if(Z.length){let F=null,be=-1;for(const Re of Z){const Ve=Re.boundingBoxRect.width*Re.boundingBoxRect.height*(Re.position.weight||1);Ve>be&&(be=Ve,F=Re)}return this._isPushed=!1,void this._applyPosition(F.position,F.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(L.position,L.originPoint);this._applyPosition(L.position,L.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ie(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(sn),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const C=this._lastPosition;if(C){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const R=this._getOriginPoint(this._originRect,this._containerRect,C);this._applyPosition(C,R)}else this.apply()}withScrollableContainers(C){return this._scrollables=C,this}withPositions(C){return this._preferredPositions=C,-1===C.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(C){return this._viewportMargin=C,this}withFlexibleDimensions(C=!0){return this._hasFlexibleDimensions=C,this}withGrowAfterOpen(C=!0){return this._growAfterOpen=C,this}withPush(C=!0){return this._canPush=C,this}withLockedPosition(C=!0){return this._positionLocked=C,this}setOrigin(C){return this._origin=C,this}withDefaultOffsetX(C){return this._offsetX=C,this}withDefaultOffsetY(C){return this._offsetY=C,this}withTransformOriginOn(C){return this._transformOriginSelector=C,this}_getOriginPoint(C,R,K){let ve,Z;if("center"==K.originX)ve=C.left+C.width/2;else{const L=this._isRtl()?C.right:C.left,F=this._isRtl()?C.left:C.right;ve="start"==K.originX?L:F}return R.left<0&&(ve-=R.left),Z="center"==K.originY?C.top+C.height/2:"top"==K.originY?C.top:C.bottom,R.top<0&&(Z-=R.top),{x:ve,y:Z}}_getOverlayPoint(C,R,K){let ve,Z;return ve="center"==K.overlayX?-R.width/2:"start"===K.overlayX?this._isRtl()?-R.width:0:this._isRtl()?0:-R.width,Z="center"==K.overlayY?-R.height/2:"top"==K.overlayY?0:-R.height,{x:C.x+ve,y:C.y+Z}}_getOverlayFit(C,R,K,ve){const Z=he(R);let{x:L,y:F}=C,be=this._getOffset(ve,"x"),Re=this._getOffset(ve,"y");be&&(L+=be),Re&&(F+=Re);let xt=0-F,Qe=F+Z.height-K.height,Nt=this._subtractOverflows(Z.width,0-L,L+Z.width-K.width),St=this._subtractOverflows(Z.height,xt,Qe),dn=Nt*St;return{visibleArea:dn,isCompletelyWithinViewport:Z.width*Z.height===dn,fitsInViewportVertically:St===Z.height,fitsInViewportHorizontally:Nt==Z.width}}_canFitWithFlexibleDimensions(C,R,K){if(this._hasFlexibleDimensions){const ve=K.bottom-R.y,Z=K.right-R.x,L=ke(this._overlayRef.getConfig().minHeight),F=ke(this._overlayRef.getConfig().minWidth),Re=C.fitsInViewportHorizontally||null!=F&&F<=Z;return(C.fitsInViewportVertically||null!=L&&L<=ve)&&Re}return!1}_pushOverlayOnScreen(C,R,K){if(this._previousPushAmount&&this._positionLocked)return{x:C.x+this._previousPushAmount.x,y:C.y+this._previousPushAmount.y};const ve=he(R),Z=this._viewportRect,L=Math.max(C.x+ve.width-Z.width,0),F=Math.max(C.y+ve.height-Z.height,0),be=Math.max(Z.top-K.top-C.y,0),Re=Math.max(Z.left-K.left-C.x,0);let Ve=0,lt=0;return Ve=ve.width<=Z.width?Re||-L:C.x<this._viewportMargin?Z.left-K.left-C.x:0,lt=ve.height<=Z.height?be||-F:C.y<this._viewportMargin?Z.top-K.top-C.y:0,this._previousPushAmount={x:Ve,y:lt},{x:C.x+Ve,y:C.y+lt}}_applyPosition(C,R){if(this._setTransformOrigin(C),this._setOverlayElementStyles(R,C),this._setBoundingBoxStyles(R,C),C.panelClass&&this._addPanelClasses(C.panelClass),this._lastPosition=C,this._positionChanges.observers.length){const K=this._getScrollVisibility(),ve=new Le(C,K);this._positionChanges.next(ve)}this._isInitialRender=!1}_setTransformOrigin(C){if(!this._transformOriginSelector)return;const R=this._boundingBox.querySelectorAll(this._transformOriginSelector);let K,ve=C.overlayY;K="center"===C.overlayX?"center":this._isRtl()?"start"===C.overlayX?"right":"left":"start"===C.overlayX?"left":"right";for(let Z=0;Z<R.length;Z++)R[Z].style.transformOrigin=`${K} ${ve}`}_calculateBoundingBoxRect(C,R){const K=this._viewportRect,ve=this._isRtl();let Z,L,F,Ve,lt,xt;if("top"===R.overlayY)L=C.y,Z=K.height-L+this._viewportMargin;else if("bottom"===R.overlayY)F=K.height-C.y+2*this._viewportMargin,Z=K.height-F+this._viewportMargin;else{const Qe=Math.min(K.bottom-C.y+K.top,C.y),Nt=this._lastBoundingBoxSize.height;Z=2*Qe,L=C.y-Qe,Z>Nt&&!this._isInitialRender&&!this._growAfterOpen&&(L=C.y-Nt/2)}if("end"===R.overlayX&&!ve||"start"===R.overlayX&&ve)xt=K.width-C.x+this._viewportMargin,Ve=C.x-this._viewportMargin;else if("start"===R.overlayX&&!ve||"end"===R.overlayX&&ve)lt=C.x,Ve=K.right-C.x;else{const Qe=Math.min(K.right-C.x+K.left,C.x),Nt=this._lastBoundingBoxSize.width;Ve=2*Qe,lt=C.x-Qe,Ve>Nt&&!this._isInitialRender&&!this._growAfterOpen&&(lt=C.x-Nt/2)}return{top:L,left:lt,bottom:F,right:xt,width:Ve,height:Z}}_setBoundingBoxStyles(C,R){const K=this._calculateBoundingBoxRect(C,R);!this._isInitialRender&&!this._growAfterOpen&&(K.height=Math.min(K.height,this._lastBoundingBoxSize.height),K.width=Math.min(K.width,this._lastBoundingBoxSize.width));const ve={};if(this._hasExactPosition())ve.top=ve.left="0",ve.bottom=ve.right=ve.maxHeight=ve.maxWidth="",ve.width=ve.height="100%";else{const Z=this._overlayRef.getConfig().maxHeight,L=this._overlayRef.getConfig().maxWidth;ve.height=(0,x.HM)(K.height),ve.top=(0,x.HM)(K.top),ve.bottom=(0,x.HM)(K.bottom),ve.width=(0,x.HM)(K.width),ve.left=(0,x.HM)(K.left),ve.right=(0,x.HM)(K.right),ve.alignItems="center"===R.overlayX?"center":"end"===R.overlayX?"flex-end":"flex-start",ve.justifyContent="center"===R.overlayY?"center":"bottom"===R.overlayY?"flex-end":"flex-start",Z&&(ve.maxHeight=(0,x.HM)(Z)),L&&(ve.maxWidth=(0,x.HM)(L))}this._lastBoundingBoxSize=K,Ie(this._boundingBox.style,ve)}_resetBoundingBoxStyles(){Ie(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ie(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(C,R){const K={},ve=this._hasExactPosition(),Z=this._hasFlexibleDimensions,L=this._overlayRef.getConfig();if(ve){const Ve=this._viewportRuler.getViewportScrollPosition();Ie(K,this._getExactOverlayY(R,C,Ve)),Ie(K,this._getExactOverlayX(R,C,Ve))}else K.position="static";let F="",be=this._getOffset(R,"x"),Re=this._getOffset(R,"y");be&&(F+=`translateX(${be}px) `),Re&&(F+=`translateY(${Re}px)`),K.transform=F.trim(),L.maxHeight&&(ve?K.maxHeight=(0,x.HM)(L.maxHeight):Z&&(K.maxHeight="")),L.maxWidth&&(ve?K.maxWidth=(0,x.HM)(L.maxWidth):Z&&(K.maxWidth="")),Ie(this._pane.style,K)}_getExactOverlayY(C,R,K){let ve={top:"",bottom:""},Z=this._getOverlayPoint(R,this._overlayRect,C);return this._isPushed&&(Z=this._pushOverlayOnScreen(Z,this._overlayRect,K)),"bottom"===C.overlayY?ve.bottom=this._document.documentElement.clientHeight-(Z.y+this._overlayRect.height)+"px":ve.top=(0,x.HM)(Z.y),ve}_getExactOverlayX(C,R,K){let L,ve={left:"",right:""},Z=this._getOverlayPoint(R,this._overlayRect,C);return this._isPushed&&(Z=this._pushOverlayOnScreen(Z,this._overlayRect,K)),L=this._isRtl()?"end"===C.overlayX?"left":"right":"end"===C.overlayX?"right":"left","right"===L?ve.right=this._document.documentElement.clientWidth-(Z.x+this._overlayRect.width)+"px":ve.left=(0,x.HM)(Z.x),ve}_getScrollVisibility(){const C=this._getOriginRect(),R=this._pane.getBoundingClientRect(),K=this._scrollables.map(ve=>ve.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ae(C,K),isOriginOutsideView:nt(C,K),isOverlayClipped:Ae(R,K),isOverlayOutsideView:nt(R,K)}}_subtractOverflows(C,...R){return R.reduce((K,ve)=>K-Math.max(ve,0),C)}_getNarrowedViewportRect(){const C=this._document.documentElement.clientWidth,R=this._document.documentElement.clientHeight,K=this._viewportRuler.getViewportScrollPosition();return{top:K.top+this._viewportMargin,left:K.left+this._viewportMargin,right:K.left+C-this._viewportMargin,bottom:K.top+R-this._viewportMargin,width:C-2*this._viewportMargin,height:R-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(C,R){return"x"===R?C.offsetX??this._offsetX:C.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(C){this._pane&&(0,x.Eq)(C).forEach(R=>{""!==R&&-1===this._appliedPanelClasses.indexOf(R)&&(this._appliedPanelClasses.push(R),this._pane.classList.add(R))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(C=>{this._pane.classList.remove(C)}),this._appliedPanelClasses=[])}_getOriginRect(){const C=this._origin;if(C instanceof A.SBq)return C.nativeElement.getBoundingClientRect();if(C instanceof Element)return C.getBoundingClientRect();const R=C.width||0,K=C.height||0;return{top:C.y,bottom:C.y+K,left:C.x,right:C.x+R,height:K,width:R}}}function Ie(S,C){for(let R in C)C.hasOwnProperty(R)&&(S[R]=C[R]);return S}function ke(S){if("number"!=typeof S&&null!=S){const[C,R]=S.split(en);return R&&"px"!==R?null:parseFloat(C)}return S||null}function he(S){return{top:Math.floor(S.top),right:Math.floor(S.right),bottom:Math.floor(S.bottom),left:Math.floor(S.left),width:Math.floor(S.width),height:Math.floor(S.height)}}const Ee="cdk-global-overlay-wrapper";class Ye{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(C){const R=C.getConfig();this._overlayRef=C,this._width&&!R.width&&C.updateSize({width:this._width}),this._height&&!R.height&&C.updateSize({height:this._height}),C.hostElement.classList.add(Ee),this._isDisposed=!1}top(C=""){return this._bottomOffset="",this._topOffset=C,this._alignItems="flex-start",this}left(C=""){return this._xOffset=C,this._xPosition="left",this}bottom(C=""){return this._topOffset="",this._bottomOffset=C,this._alignItems="flex-end",this}right(C=""){return this._xOffset=C,this._xPosition="right",this}start(C=""){return this._xOffset=C,this._xPosition="start",this}end(C=""){return this._xOffset=C,this._xPosition="end",this}width(C=""){return this._overlayRef?this._overlayRef.updateSize({width:C}):this._width=C,this}height(C=""){return this._overlayRef?this._overlayRef.updateSize({height:C}):this._height=C,this}centerHorizontally(C=""){return this.left(C),this._xPosition="center",this}centerVertically(C=""){return this.top(C),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const C=this._overlayRef.overlayElement.style,R=this._overlayRef.hostElement.style,K=this._overlayRef.getConfig(),{width:ve,height:Z,maxWidth:L,maxHeight:F}=K,be=!("100%"!==ve&&"100vw"!==ve||L&&"100%"!==L&&"100vw"!==L),Re=!("100%"!==Z&&"100vh"!==Z||F&&"100%"!==F&&"100vh"!==F),Ve=this._xPosition,lt=this._xOffset,xt="rtl"===this._overlayRef.getConfig().direction;let Qe="",Nt="",St="";be?St="flex-start":"center"===Ve?(St="center",xt?Nt=lt:Qe=lt):xt?"left"===Ve||"end"===Ve?(St="flex-end",Qe=lt):("right"===Ve||"start"===Ve)&&(St="flex-start",Nt=lt):"left"===Ve||"start"===Ve?(St="flex-start",Qe=lt):("right"===Ve||"end"===Ve)&&(St="flex-end",Nt=lt),C.position=this._cssPosition,C.marginLeft=be?"0":Qe,C.marginTop=Re?"0":this._topOffset,C.marginBottom=this._bottomOffset,C.marginRight=be?"0":Nt,R.justifyContent=St,R.alignItems=Re?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const C=this._overlayRef.overlayElement.style,R=this._overlayRef.hostElement,K=R.style;R.classList.remove(Ee),K.justifyContent=K.alignItems=C.marginTop=C.marginBottom=C.marginLeft=C.marginRight=C.position="",this._overlayRef=null,this._isDisposed=!0}}let Et=(()=>{class S{constructor(R,K,ve,Z){this._viewportRuler=R,this._document=K,this._platform=ve,this._overlayContainer=Z}global(){return new Ye}flexibleConnectedTo(R){return new Tt(R,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return S.\u0275fac=function(R){return new(R||S)(A.LFG(f.rL),A.LFG(v.K0),A.LFG(k.t4),A.LFG($t))},S.\u0275prov=A.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),At=0,at=(()=>{class S{constructor(R,K,ve,Z,L,F,be,Re,Ve,lt,xt,Qe){this.scrollStrategies=R,this._overlayContainer=K,this._componentFactoryResolver=ve,this._positionBuilder=Z,this._keyboardDispatcher=L,this._injector=F,this._ngZone=be,this._document=Re,this._directionality=Ve,this._location=lt,this._outsideClickDispatcher=xt,this._animationsModuleType=Qe}create(R){const K=this._createHostElement(),ve=this._createPaneElement(K),Z=this._createPortalOutlet(ve),L=new ue(R);return L.direction=L.direction||this._directionality.value,new bt(Z,K,ve,L,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(R){const K=this._document.createElement("div");return K.id="cdk-overlay-"+At++,K.classList.add("cdk-overlay-pane"),R.appendChild(K),K}_createHostElement(){const R=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(R),R}_createPortalOutlet(R){return this._appRef||(this._appRef=this._injector.get(A.z2F)),new ie.u0(R,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return S.\u0275fac=function(R){return new(R||S)(A.LFG(ye),A.LFG($t),A.LFG(A._Vd),A.LFG(Et),A.LFG(He),A.LFG(A.zs3),A.LFG(A.R0b),A.LFG(v.K0),A.LFG(U.Is),A.LFG(v.Ye),A.LFG(_t),A.LFG(A.QbO,8))},S.\u0275prov=A.Yz7({token:S,factory:S.\u0275fac}),S})();const wt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],vt=new A.OlP("cdk-connected-overlay-scroll-strategy");let tn=(()=>{class S{constructor(R){this.elementRef=R}}return S.\u0275fac=function(R){return new(R||S)(A.Y36(A.SBq))},S.\u0275dir=A.lG2({type:S,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),S})(),Bt=(()=>{class S{constructor(R,K,ve,Z,L){this._overlay=R,this._dir=L,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Q.w0.EMPTY,this._attachSubscription=Q.w0.EMPTY,this._detachSubscription=Q.w0.EMPTY,this._positionSubscription=Q.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new A.vpe,this.positionChange=new A.vpe,this.attach=new A.vpe,this.detach=new A.vpe,this.overlayKeydown=new A.vpe,this.overlayOutsideClick=new A.vpe,this._templatePortal=new ie.UE(K,ve),this._scrollStrategyFactory=Z,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(R){this._offsetX=R,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(R){this._offsetY=R,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(R){this._hasBackdrop=(0,x.Ig)(R)}get lockPosition(){return this._lockPosition}set lockPosition(R){this._lockPosition=(0,x.Ig)(R)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(R){this._flexibleDimensions=(0,x.Ig)(R)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(R){this._growAfterOpen=(0,x.Ig)(R)}get push(){return this._push}set push(R){this._push=(0,x.Ig)(R)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(R){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),R.origin&&this.open&&this._position.apply()),R.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=wt);const R=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=R.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=R.detachments().subscribe(()=>this.detach.emit()),R.keydownEvents().subscribe(K=>{this.overlayKeydown.next(K),K.keyCode===Oe.hY&&!this.disableClose&&!(0,Oe.Vb)(K)&&(K.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(K=>{this.overlayOutsideClick.next(K)})}_buildConfig(){const R=this._position=this.positionStrategy||this._createPositionStrategy(),K=new ue({direction:this._dir,positionStrategy:R,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(K.width=this.width),(this.height||0===this.height)&&(K.height=this.height),(this.minWidth||0===this.minWidth)&&(K.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(K.minHeight=this.minHeight),this.backdropClass&&(K.backdropClass=this.backdropClass),this.panelClass&&(K.panelClass=this.panelClass),K}_updatePositionStrategy(R){const K=this.positions.map(ve=>({originX:ve.originX,originY:ve.originY,overlayX:ve.overlayX,overlayY:ve.overlayY,offsetX:ve.offsetX||this.offsetX,offsetY:ve.offsetY||this.offsetY,panelClass:ve.panelClass||void 0}));return R.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(K).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const R=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(R),R}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof tn?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(R=>{this.backdropClick.emit(R)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,Me.o)(()=>this.positionChange.observers.length>0)).subscribe(R=>{this.positionChange.emit(R),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return S.\u0275fac=function(R){return new(R||S)(A.Y36(at),A.Y36(A.Rgc),A.Y36(A.s_b),A.Y36(vt),A.Y36(U.Is,8))},S.\u0275dir=A.lG2({type:S,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[A.TTD]}),S})();const Jt={provide:vt,deps:[at],useFactory:function Rt(S){return()=>S.scrollStrategies.reposition()}};let Te=(()=>{class S{}return S.\u0275fac=function(R){return new(R||S)},S.\u0275mod=A.oAB({type:S}),S.\u0275inj=A.cJS({providers:[at,Jt],imports:[U.vT,ie.eL,f.Cl,f.Cl]}),S})()},83353:(et,_e,_)=>{_.d(_e,{Mq:()=>Oe,Oy:()=>Ae,_i:()=>de,ht:()=>tt,i$:()=>z,kV:()=>Pe,qK:()=>X,sA:()=>nt,t4:()=>x});var f=_(94650),v=_(36895);let A;try{A=typeof Intl<"u"&&Intl.v8BreakIterator}catch{A=!1}let U,x=(()=>{class Y{constructor(ue){this._platformId=ue,this.isBrowser=this._platformId?(0,v.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!A)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return Y.\u0275fac=function(ue){return new(ue||Y)(f.LFG(f.Lbi))},Y.\u0275prov=f.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();const ie=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function X(){if(U)return U;if("object"!=typeof document||!document)return U=new Set(ie),U;let Y=document.createElement("input");return U=new Set(ie.filter(ye=>(Y.setAttribute("type",ye),Y.type===ye))),U}let Q,j,Me,ge;function z(Y){return function $(){if(null==Q&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Q=!0}))}finally{Q=Q||!1}return Q}()?Y:!!Y.capture}function Oe(){if(null==Me){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Me=!1,Me;if("scrollBehavior"in document.documentElement.style)Me=!0;else{const Y=Element.prototype.scrollTo;Me=!!Y&&!/\{\s*\[native code\]\s*\}/.test(Y.toString())}}return Me}function de(){if("object"!=typeof document||!document)return 0;if(null==j){const Y=document.createElement("div"),ye=Y.style;Y.dir="rtl",ye.width="1px",ye.overflow="auto",ye.visibility="hidden",ye.pointerEvents="none",ye.position="absolute";const ue=document.createElement("div"),Se=ue.style;Se.width="2px",Se.height="1px",Y.appendChild(ue),document.body.appendChild(Y),j=0,0===Y.scrollLeft&&(Y.scrollLeft=1,j=0===Y.scrollLeft?1:2),Y.remove()}return j}function Pe(Y){if(function se(){if(null==ge){const Y=typeof document<"u"?document.head:null;ge=!(!Y||!Y.createShadowRoot&&!Y.attachShadow)}return ge}()){const ye=Y.getRootNode?Y.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ye instanceof ShadowRoot)return ye}return null}function tt(){let Y=typeof document<"u"&&document?document.activeElement:null;for(;Y&&Y.shadowRoot;){const ye=Y.shadowRoot.activeElement;if(ye===Y)break;Y=ye}return Y}function nt(Y){return Y.composedPath?Y.composedPath()[0]:Y.target}function Ae(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},84080:(et,_e,_)=>{_.d(_e,{C5:()=>$,Pl:()=>tt,UE:()=>z,eL:()=>Ae,en:()=>Me,u0:()=>de});var f=_(94650),v=_(36895);class Q{attach(ue){return this._attachedHost=ue,ue.attach(this)}detach(){let ue=this._attachedHost;null!=ue&&(this._attachedHost=null,ue.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ue){this._attachedHost=ue}}class $ extends Q{constructor(ue,Se,$e,Le){super(),this.component=ue,this.viewContainerRef=Se,this.injector=$e,this.componentFactoryResolver=Le}}class z extends Q{constructor(ue,Se,$e,Le){super(),this.templateRef=ue,this.viewContainerRef=Se,this.context=$e,this.injector=Le}get origin(){return this.templateRef.elementRef}attach(ue,Se=this.context){return this.context=Se,super.attach(ue)}detach(){return this.context=void 0,super.detach()}}class j extends Q{constructor(ue){super(),this.element=ue instanceof f.SBq?ue.nativeElement:ue}}class Me{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ue){return ue instanceof $?(this._attachedPortal=ue,this.attachComponentPortal(ue)):ue instanceof z?(this._attachedPortal=ue,this.attachTemplatePortal(ue)):this.attachDomPortal&&ue instanceof j?(this._attachedPortal=ue,this.attachDomPortal(ue)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(ue){this._disposeFn=ue}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class de extends Me{constructor(ue,Se,$e,Le,Je){super(),this.outletElement=ue,this._componentFactoryResolver=Se,this._appRef=$e,this._defaultInjector=Le,this.attachDomPortal=De=>{const Ue=De.element,He=this._document.createComment("dom-portal");Ue.parentNode.insertBefore(He,Ue),this.outletElement.appendChild(Ue),this._attachedPortal=De,super.setDisposeFn(()=>{He.parentNode&&He.parentNode.replaceChild(Ue,He)})},this._document=Je}attachComponentPortal(ue){const $e=(ue.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ue.component);let Le;return ue.viewContainerRef?(Le=ue.viewContainerRef.createComponent($e,ue.viewContainerRef.length,ue.injector||ue.viewContainerRef.injector),this.setDisposeFn(()=>Le.destroy())):(Le=$e.create(ue.injector||this._defaultInjector||f.zs3.NULL),this._appRef.attachView(Le.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Le.hostView),Le.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Le)),this._attachedPortal=ue,Le}attachTemplatePortal(ue){let Se=ue.viewContainerRef,$e=Se.createEmbeddedView(ue.templateRef,ue.context,{injector:ue.injector});return $e.rootNodes.forEach(Le=>this.outletElement.appendChild(Le)),$e.detectChanges(),this.setDisposeFn(()=>{let Le=Se.indexOf($e);-1!==Le&&Se.remove(Le)}),this._attachedPortal=ue,$e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ue){return ue.hostView.rootNodes[0]}}let tt=(()=>{class ye extends Me{constructor(Se,$e,Le){super(),this._componentFactoryResolver=Se,this._viewContainerRef=$e,this._isInitialized=!1,this.attached=new f.vpe,this.attachDomPortal=Je=>{const De=Je.element,Ue=this._document.createComment("dom-portal");Je.setAttachedHost(this),De.parentNode.insertBefore(Ue,De),this._getRootNode().appendChild(De),this._attachedPortal=Je,super.setDisposeFn(()=>{Ue.parentNode&&Ue.parentNode.replaceChild(De,Ue)})},this._document=Le}get portal(){return this._attachedPortal}set portal(Se){this.hasAttached()&&!Se&&!this._isInitialized||(this.hasAttached()&&super.detach(),Se&&super.attach(Se),this._attachedPortal=Se||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(Se){Se.setAttachedHost(this);const $e=null!=Se.viewContainerRef?Se.viewContainerRef:this._viewContainerRef,Je=(Se.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Se.component),De=$e.createComponent(Je,$e.length,Se.injector||$e.injector);return $e!==this._viewContainerRef&&this._getRootNode().appendChild(De.hostView.rootNodes[0]),super.setDisposeFn(()=>De.destroy()),this._attachedPortal=Se,this._attachedRef=De,this.attached.emit(De),De}attachTemplatePortal(Se){Se.setAttachedHost(this);const $e=this._viewContainerRef.createEmbeddedView(Se.templateRef,Se.context,{injector:Se.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Se,this._attachedRef=$e,this.attached.emit($e),$e}_getRootNode(){const Se=this._viewContainerRef.element.nativeElement;return Se.nodeType===Se.ELEMENT_NODE?Se:Se.parentNode}}return ye.\u0275fac=function(Se){return new(Se||ye)(f.Y36(f._Vd),f.Y36(f.s_b),f.Y36(v.K0))},ye.\u0275dir=f.lG2({type:ye,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[f.qOj]}),ye})(),Ae=(()=>{class ye{}return ye.\u0275fac=function(Se){return new(Se||ye)},ye.\u0275mod=f.oAB({type:ye}),ye.\u0275inj=f.cJS({}),ye})()},79034:(et,_e,_)=>{_.d(_e,{xd:()=>Tt,PQ:()=>he,ZD:()=>Rt,x0:()=>vt,N7:()=>at,mF:()=>ke,Cl:()=>Jt,rL:()=>me});var f=_(21281),v=_(94650),A=_(77579),x=_(39646),k=_(69751),U=_(54968),ie=_(66406),X=_(53101),Q=_(50727),$=_(45191),z=_(71884),j=_(34986),Me=_(54482),Oe=_(38421),de=_(25403),se=_(5963);function Pe(Te,rt=j.z){return function ge(Te){return(0,Me.e)((rt,S)=>{let C=!1,R=null,K=null,ve=!1;const Z=()=>{if(K?.unsubscribe(),K=null,C){C=!1;const F=R;R=null,S.next(F)}ve&&S.complete()},L=()=>{K=null,ve&&S.complete()};rt.subscribe((0,de.x)(S,F=>{C=!0,R=F,K||(0,Oe.Xf)(Te(F)).subscribe(K=(0,de.x)(S,Z,L))},()=>{ve=!0,(!C||!K||K.closed)&&S.complete()}))})}(()=>(0,se.H)(Te,rt))}var tt=_(39300),nt=_(82722),Ae=_(68675),ye=_(63900),ue=_(26063);class Se extends A.x{constructor(rt=1/0,S=1/0,C=ue.l){super(),this._bufferSize=rt,this._windowTime=S,this._timestampProvider=C,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=S===1/0,this._bufferSize=Math.max(1,rt),this._windowTime=Math.max(1,S)}next(rt){const{isStopped:S,_buffer:C,_infiniteTimeWindow:R,_timestampProvider:K,_windowTime:ve}=this;S||(C.push(rt),!R&&C.push(K.now()+ve)),this._trimBuffer(),super.next(rt)}_subscribe(rt){this._throwIfClosed(),this._trimBuffer();const S=this._innerSubscribe(rt),{_infiniteTimeWindow:C,_buffer:R}=this,K=R.slice();for(let ve=0;ve<K.length&&!rt.closed;ve+=C?1:2)rt.next(K[ve]);return this._checkFinalizedStatuses(rt),S}_trimBuffer(){const{_bufferSize:rt,_timestampProvider:S,_buffer:C,_infiniteTimeWindow:R}=this,K=(R?1:2)*rt;if(rt<1/0&&K<C.length&&C.splice(0,C.length-K),!R){const ve=S.now();let Z=0;for(let L=1;L<C.length&&C[L]<=ve;L+=2)Z=L;Z&&C.splice(0,Z+1)}}}var $e=_(13099),Je=_(83353),De=_(36895),Ue=_(40445),He=_(95017);const _t=["contentWrapper"],$t=["*"],bt=new v.OlP("VIRTUAL_SCROLL_STRATEGY");class sn{constructor(rt,S,C){this._scrolledIndexChange=new A.x,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,z.x)()),this._viewport=null,this._itemSize=rt,this._minBufferPx=S,this._maxBufferPx=C}attach(rt){this._viewport=rt,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(rt,S,C){this._itemSize=rt,this._minBufferPx=S,this._maxBufferPx=C,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(rt,S){this._viewport&&this._viewport.scrollToOffset(rt*this._itemSize,S)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const rt=this._viewport.getRenderedRange(),S={start:rt.start,end:rt.end},C=this._viewport.getViewportSize(),R=this._viewport.getDataLength();let K=this._viewport.measureScrollOffset(),ve=this._itemSize>0?K/this._itemSize:0;if(S.end>R){const L=Math.ceil(C/this._itemSize),F=Math.max(0,Math.min(ve,R-L));ve!=F&&(ve=F,K=F*this._itemSize,S.start=Math.floor(ve)),S.end=Math.max(0,Math.min(R,S.start+L))}const Z=K-S.start*this._itemSize;if(Z<this._minBufferPx&&0!=S.start){const L=Math.ceil((this._maxBufferPx-Z)/this._itemSize);S.start=Math.max(0,S.start-L),S.end=Math.min(R,Math.ceil(ve+(C+this._minBufferPx)/this._itemSize))}else{const L=S.end*this._itemSize-(K+C);if(L<this._minBufferPx&&S.end!=R){const F=Math.ceil((this._maxBufferPx-L)/this._itemSize);F>0&&(S.end=Math.min(R,S.end+F),S.start=Math.max(0,Math.floor(ve-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(S),this._viewport.setRenderedContentOffset(this._itemSize*S.start),this._scrolledIndexChange.next(Math.floor(ve))}}function en(Te){return Te._scrollStrategy}let Tt=(()=>{class Te{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new sn(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(S){this._itemSize=(0,f.su)(S)}get minBufferPx(){return this._minBufferPx}set minBufferPx(S){this._minBufferPx=(0,f.su)(S)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(S){this._maxBufferPx=(0,f.su)(S)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return Te.\u0275fac=function(S){return new(S||Te)},Te.\u0275dir=v.lG2({type:Te,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[v._Bn([{provide:bt,useFactory:en,deps:[(0,v.Gpc)(()=>Te)]}]),v.TTD]}),Te})(),ke=(()=>{class Te{constructor(S,C,R){this._ngZone=S,this._platform=C,this._scrolled=new A.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=R}register(S){this.scrollContainers.has(S)||this.scrollContainers.set(S,S.elementScrolled().subscribe(()=>this._scrolled.next(S)))}deregister(S){const C=this.scrollContainers.get(S);C&&(C.unsubscribe(),this.scrollContainers.delete(S))}scrolled(S=20){return this._platform.isBrowser?new k.y(C=>{this._globalSubscription||this._addGlobalListener();const R=S>0?this._scrolled.pipe(Pe(S)).subscribe(C):this._scrolled.subscribe(C);return this._scrolledCount++,()=>{R.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,x.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((S,C)=>this.deregister(C)),this._scrolled.complete()}ancestorScrolled(S,C){const R=this.getAncestorScrollContainers(S);return this.scrolled(C).pipe((0,tt.h)(K=>!K||R.indexOf(K)>-1))}getAncestorScrollContainers(S){const C=[];return this.scrollContainers.forEach((R,K)=>{this._scrollableContainsElement(K,S)&&C.push(K)}),C}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(S,C){let R=(0,f.fI)(C),K=S.getElementRef().nativeElement;do{if(R==K)return!0}while(R=R.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const S=this._getWindow();return(0,U.R)(S.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Te.\u0275fac=function(S){return new(S||Te)(v.LFG(v.R0b),v.LFG(Je.t4),v.LFG(De.K0,8))},Te.\u0275prov=v.Yz7({token:Te,factory:Te.\u0275fac,providedIn:"root"}),Te})(),he=(()=>{class Te{constructor(S,C,R,K){this.elementRef=S,this.scrollDispatcher=C,this.ngZone=R,this.dir=K,this._destroyed=new A.x,this._elementScrolled=new k.y(ve=>this.ngZone.runOutsideAngular(()=>(0,U.R)(this.elementRef.nativeElement,"scroll").pipe((0,nt.R)(this._destroyed)).subscribe(ve)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(S){const C=this.elementRef.nativeElement,R=this.dir&&"rtl"==this.dir.value;null==S.left&&(S.left=R?S.end:S.start),null==S.right&&(S.right=R?S.start:S.end),null!=S.bottom&&(S.top=C.scrollHeight-C.clientHeight-S.bottom),R&&0!=(0,Je._i)()?(null!=S.left&&(S.right=C.scrollWidth-C.clientWidth-S.left),2==(0,Je._i)()?S.left=S.right:1==(0,Je._i)()&&(S.left=S.right?-S.right:S.right)):null!=S.right&&(S.left=C.scrollWidth-C.clientWidth-S.right),this._applyScrollToOptions(S)}_applyScrollToOptions(S){const C=this.elementRef.nativeElement;(0,Je.Mq)()?C.scrollTo(S):(null!=S.top&&(C.scrollTop=S.top),null!=S.left&&(C.scrollLeft=S.left))}measureScrollOffset(S){const C="left",R="right",K=this.elementRef.nativeElement;if("top"==S)return K.scrollTop;if("bottom"==S)return K.scrollHeight-K.clientHeight-K.scrollTop;const ve=this.dir&&"rtl"==this.dir.value;return"start"==S?S=ve?R:C:"end"==S&&(S=ve?C:R),ve&&2==(0,Je._i)()?S==C?K.scrollWidth-K.clientWidth-K.scrollLeft:K.scrollLeft:ve&&1==(0,Je._i)()?S==C?K.scrollLeft+K.scrollWidth-K.clientWidth:-K.scrollLeft:S==C?K.scrollLeft:K.scrollWidth-K.clientWidth-K.scrollLeft}}return Te.\u0275fac=function(S){return new(S||Te)(v.Y36(v.SBq),v.Y36(ke),v.Y36(v.R0b),v.Y36(Ue.Is,8))},Te.\u0275dir=v.lG2({type:Te,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Te})(),me=(()=>{class Te{constructor(S,C,R){this._platform=S,this._change=new A.x,this._changeListener=K=>{this._change.next(K)},this._document=R,C.runOutsideAngular(()=>{if(S.isBrowser){const K=this._getWindow();K.addEventListener("resize",this._changeListener),K.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const S=this._getWindow();S.removeEventListener("resize",this._changeListener),S.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const S={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),S}getViewportRect(){const S=this.getViewportScrollPosition(),{width:C,height:R}=this.getViewportSize();return{top:S.top,left:S.left,bottom:S.top+R,right:S.left+C,height:R,width:C}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const S=this._document,C=this._getWindow(),R=S.documentElement,K=R.getBoundingClientRect();return{top:-K.top||S.body.scrollTop||C.scrollY||R.scrollTop||0,left:-K.left||S.body.scrollLeft||C.scrollX||R.scrollLeft||0}}change(S=20){return S>0?this._change.pipe(Pe(S)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const S=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:S.innerWidth,height:S.innerHeight}:{width:0,height:0}}}return Te.\u0275fac=function(S){return new(S||Te)(v.LFG(Je.t4),v.LFG(v.R0b),v.LFG(De.K0,8))},Te.\u0275prov=v.Yz7({token:Te,factory:Te.\u0275fac,providedIn:"root"}),Te})();const Ee=new v.OlP("VIRTUAL_SCROLLABLE");let Ye=(()=>{class Te extends he{constructor(S,C,R,K){super(S,C,R,K)}measureViewportSize(S){const C=this.elementRef.nativeElement;return"horizontal"===S?C.clientWidth:C.clientHeight}}return Te.\u0275fac=function(S){return new(S||Te)(v.Y36(v.SBq),v.Y36(ke),v.Y36(v.R0b),v.Y36(Ue.Is,8))},Te.\u0275dir=v.lG2({type:Te,features:[v.qOj]}),Te})();const At=typeof requestAnimationFrame<"u"?ie.Z:X.E;let at=(()=>{class Te extends Ye{constructor(S,C,R,K,ve,Z,L,F){super(S,Z,R,ve),this.elementRef=S,this._changeDetectorRef=C,this._scrollStrategy=K,this.scrollable=F,this._platform=(0,v.f3M)(Je.t4),this._detachedSubject=new A.x,this._renderedRangeSubject=new A.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new k.y(be=>this._scrollStrategy.scrolledIndexChange.subscribe(Re=>Promise.resolve().then(()=>this.ngZone.run(()=>be.next(Re))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Q.w0.EMPTY,this._viewportChanges=L.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(S){this._orientation!==S&&(this._orientation=S,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(S){this._appendOnly=(0,f.Ig)(S)}ngOnInit(){!this._platform.isBrowser||(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,Ae.O)(null),Pe(0,At)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(S){this.ngZone.runOutsideAngular(()=>{this._forOf=S,this._forOf.dataStream.pipe((0,nt.R)(this._detachedSubject)).subscribe(C=>{const R=C.length;R!==this._dataLength&&(this._dataLength=R,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(S){return this.getElementRef().nativeElement.getBoundingClientRect()[S]}setTotalContentSize(S){this._totalContentSize!==S&&(this._totalContentSize=S,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(S){(function Et(Te,rt){return Te.start==rt.start&&Te.end==rt.end})(this._renderedRange,S)||(this.appendOnly&&(S={start:0,end:Math.max(this._renderedRange.end,S.end)}),this._renderedRangeSubject.next(this._renderedRange=S),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(S,C="to-start"){S=this.appendOnly&&"to-start"===C?0:S;const K="horizontal"==this.orientation,ve=K?"X":"Y";let L=`translate${ve}(${Number((K&&this.dir&&"rtl"==this.dir.value?-1:1)*S)}px)`;this._renderedContentOffset=S,"to-end"===C&&(L+=` translate${ve}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=L&&(this._renderedContentTransform=L,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(S,C="auto"){const R={behavior:C};"horizontal"===this.orientation?R.start=S:R.top=S,this.scrollable.scrollTo(R)}scrollToIndex(S,C="auto"){this._scrollStrategy.scrollToIndex(S,C)}measureScrollOffset(S){let C;return C=this.scrollable==this?R=>super.measureScrollOffset(R):R=>this.scrollable.measureScrollOffset(R),Math.max(0,C(S??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(S){let C;const R="left",K="right",ve="rtl"==this.dir?.value;C="start"==S?ve?K:R:"end"==S?ve?R:K:S||("horizontal"===this.orientation?"left":"top");const Z=this.scrollable.measureBoundingClientRectWithScrollOffset(C);return this.elementRef.nativeElement.getBoundingClientRect()[C]-Z}measureRenderedContentSize(){const S=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?S.offsetWidth:S.offsetHeight}measureRangeSize(S){return this._forOf?this._forOf.measureRangeSize(S,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(S){S&&this._runAfterChangeDetection.push(S),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const S=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const C of S)C()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return Te.\u0275fac=function(S){return new(S||Te)(v.Y36(v.SBq),v.Y36(v.sBO),v.Y36(v.R0b),v.Y36(bt,8),v.Y36(Ue.Is,8),v.Y36(ke),v.Y36(me),v.Y36(Ee,8))},Te.\u0275cmp=v.Xpm({type:Te,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(S,C){if(1&S&&v.Gf(_t,7),2&S){let R;v.iGM(R=v.CRH())&&(C._contentWrapper=R.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(S,C){2&S&&v.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===C.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==C.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[v._Bn([{provide:he,useFactory:(rt,S)=>rt||S,deps:[[new v.FiY,new v.tBr(Ee)],Te]}]),v.qOj],ngContentSelectors:$t,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(S,C){1&S&&(v.F$t(),v.TgZ(0,"div",0,1),v.Hsn(2),v.qZA(),v._UZ(3,"div",2)),2&S&&(v.xp6(3),v.Udp("width",C._totalContentWidth)("height",C._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),Te})();function wt(Te,rt,S){if(!S.getBoundingClientRect)return 0;const R=S.getBoundingClientRect();return"horizontal"===Te?"start"===rt?R.left:R.right:"start"===rt?R.top:R.bottom}let vt=(()=>{class Te{constructor(S,C,R,K,ve,Z){this._viewContainerRef=S,this._template=C,this._differs=R,this._viewRepeater=K,this._viewport=ve,this.viewChange=new A.x,this._dataSourceChanges=new A.x,this.dataStream=this._dataSourceChanges.pipe((0,Ae.O)(null),function Y(){return(0,Me.e)((Te,rt)=>{let S,C=!1;Te.subscribe((0,de.x)(rt,R=>{const K=S;S=R,C&&rt.next([K,R]),C=!0}))})}(),(0,ye.w)(([L,F])=>this._changeDataSource(L,F)),function Le(Te,rt,S){let C,R=!1;return Te&&"object"==typeof Te?({bufferSize:C=1/0,windowTime:rt=1/0,refCount:R=!1,scheduler:S}=Te):C=Te??1/0,(0,$e.B)({connector:()=>new Se(C,rt,S),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:R})}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new A.x,this.dataStream.subscribe(L=>{this._data=L,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,nt.R)(this._destroyed)).subscribe(L=>{this._renderedRange=L,this.viewChange.observers.length&&Z.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(S){this._cdkVirtualForOf=S,(0,He.Z9)(S)?this._dataSourceChanges.next(S):this._dataSourceChanges.next(new He.P3((0,$.b)(S)?S:Array.from(S||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(S){this._needsUpdate=!0,this._cdkVirtualForTrackBy=S?(C,R)=>S(C+(this._renderedRange?this._renderedRange.start:0),R):void 0}set cdkVirtualForTemplate(S){S&&(this._needsUpdate=!0,this._template=S)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(S){this._viewRepeater.viewCacheSize=(0,f.su)(S)}measureRangeSize(S,C){if(S.start>=S.end)return 0;const R=S.start-this._renderedRange.start,K=S.end-S.start;let ve,Z;for(let L=0;L<K;L++){const F=this._viewContainerRef.get(L+R);if(F&&F.rootNodes.length){ve=Z=F.rootNodes[0];break}}for(let L=K-1;L>-1;L--){const F=this._viewContainerRef.get(L+R);if(F&&F.rootNodes.length){Z=F.rootNodes[F.rootNodes.length-1];break}}return ve&&Z?wt(C,"end",Z)-wt(C,"start",ve):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const S=this._differ.diff(this._renderedItems);S?this._applyChanges(S):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((S,C)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(S,C):C)),this._needsUpdate=!0)}_changeDataSource(S,C){return S&&S.disconnect(this),this._needsUpdate=!0,C?C.connect(this):(0,x.of)()}_updateContext(){const S=this._data.length;let C=this._viewContainerRef.length;for(;C--;){const R=this._viewContainerRef.get(C);R.context.index=this._renderedRange.start+C,R.context.count=S,this._updateComputedContextProperties(R.context),R.detectChanges()}}_applyChanges(S){this._viewRepeater.applyChanges(S,this._viewContainerRef,(K,ve,Z)=>this._getEmbeddedViewArgs(K,Z),K=>K.item),S.forEachIdentityChange(K=>{this._viewContainerRef.get(K.currentIndex).context.$implicit=K.item});const C=this._data.length;let R=this._viewContainerRef.length;for(;R--;){const K=this._viewContainerRef.get(R);K.context.index=this._renderedRange.start+R,K.context.count=C,this._updateComputedContextProperties(K.context)}}_updateComputedContextProperties(S){S.first=0===S.index,S.last=S.index===S.count-1,S.even=S.index%2==0,S.odd=!S.even}_getEmbeddedViewArgs(S,C){return{templateRef:this._template,context:{$implicit:S.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:C}}}return Te.\u0275fac=function(S){return new(S||Te)(v.Y36(v.s_b),v.Y36(v.Rgc),v.Y36(v.ZZ4),v.Y36(He.k),v.Y36(at,4),v.Y36(v.R0b))},Te.\u0275dir=v.lG2({type:Te,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[v._Bn([{provide:He.k,useClass:He.eX}])]}),Te})(),Rt=(()=>{class Te{}return Te.\u0275fac=function(S){return new(S||Te)},Te.\u0275mod=v.oAB({type:Te}),Te.\u0275inj=v.cJS({}),Te})(),Jt=(()=>{class Te{}return Te.\u0275fac=function(S){return new(S||Te)},Te.\u0275mod=v.oAB({type:Te}),Te.\u0275inj=v.cJS({imports:[Ue.vT,Rt,Ue.vT,Rt]}),Te})()},36895:(et,_e,_)=>{_.d(_e,{Do:()=>nt,ED:()=>Ir,EM:()=>Yn,HT:()=>k,JF:()=>ii,JJ:()=>vi,K0:()=>ie,Mx:()=>Jr,NF:()=>Di,O5:()=>ln,Ov:()=>Vr,PC:()=>os,PM:()=>ri,RF:()=>Ur,S$:()=>se,V_:()=>$,Ye:()=>Ae,b0:()=>tt,bD:()=>zr,ez:()=>ds,mk:()=>qt,n9:()=>nr,q:()=>A,sg:()=>rr,tP:()=>as,w_:()=>U});var f=_(94650);let v=null;function A(){return v}function k(p){v||(v=p)}class U{}const ie=new f.OlP("DocumentToken");let X=(()=>{class p{historyGo(m){throw new Error("Not implemented")}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275prov=f.Yz7({token:p,factory:function(){return function Q(){return(0,f.LFG)(z)}()},providedIn:"platform"}),p})();const $=new f.OlP("Location Initialized");let z=(()=>{class p extends X{constructor(m){super(),this._doc=m,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return A().getBaseHref(this._doc)}onPopState(m){const I=A().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",m,!1),()=>I.removeEventListener("popstate",m)}onHashChange(m){const I=A().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",m,!1),()=>I.removeEventListener("hashchange",m)}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(m){this.location.pathname=m}pushState(m,I,re){j()?this._history.pushState(m,I,re):this.location.hash=re}replaceState(m,I,re){j()?this._history.replaceState(m,I,re):this.location.hash=re}forward(){this._history.forward()}back(){this._history.back()}historyGo(m=0){this._history.go(m)}getState(){return this._history.state}}return p.\u0275fac=function(m){return new(m||p)(f.LFG(ie))},p.\u0275prov=f.Yz7({token:p,factory:function(){return function Me(){return new z((0,f.LFG)(ie))}()},providedIn:"platform"}),p})();function j(){return!!window.history.pushState}function Oe(p,w){if(0==p.length)return w;if(0==w.length)return p;let m=0;return p.endsWith("/")&&m++,w.startsWith("/")&&m++,2==m?p+w.substring(1):1==m?p+w:p+"/"+w}function de(p){const w=p.match(/#|\?|$/),m=w&&w.index||p.length;return p.slice(0,m-("/"===p[m-1]?1:0))+p.slice(m)}function ge(p){return p&&"?"!==p[0]?"?"+p:p}let se=(()=>{class p{historyGo(m){throw new Error("Not implemented")}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275prov=f.Yz7({token:p,factory:function(){return(0,f.f3M)(tt)},providedIn:"root"}),p})();const Pe=new f.OlP("appBaseHref");let tt=(()=>{class p extends se{constructor(m,I){super(),this._platformLocation=m,this._removeListenerFns=[],this._baseHref=I??this._platformLocation.getBaseHrefFromDOM()??(0,f.f3M)(ie).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}prepareExternalUrl(m){return Oe(this._baseHref,m)}path(m=!1){const I=this._platformLocation.pathname+ge(this._platformLocation.search),re=this._platformLocation.hash;return re&&m?`${I}${re}`:I}pushState(m,I,re,Be){const Ke=this.prepareExternalUrl(re+ge(Be));this._platformLocation.pushState(m,I,Ke)}replaceState(m,I,re,Be){const Ke=this.prepareExternalUrl(re+ge(Be));this._platformLocation.replaceState(m,I,Ke)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}}return p.\u0275fac=function(m){return new(m||p)(f.LFG(X),f.LFG(Pe,8))},p.\u0275prov=f.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),nt=(()=>{class p extends se{constructor(m,I){super(),this._platformLocation=m,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}path(m=!1){let I=this._platformLocation.hash;return null==I&&(I="#"),I.length>0?I.substring(1):I}prepareExternalUrl(m){const I=Oe(this._baseHref,m);return I.length>0?"#"+I:I}pushState(m,I,re,Be){let Ke=this.prepareExternalUrl(re+ge(Be));0==Ke.length&&(Ke=this._platformLocation.pathname),this._platformLocation.pushState(m,I,Ke)}replaceState(m,I,re,Be){let Ke=this.prepareExternalUrl(re+ge(Be));0==Ke.length&&(Ke=this._platformLocation.pathname),this._platformLocation.replaceState(m,I,Ke)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}}return p.\u0275fac=function(m){return new(m||p)(f.LFG(X),f.LFG(Pe,8))},p.\u0275prov=f.Yz7({token:p,factory:p.\u0275fac}),p})(),Ae=(()=>{class p{constructor(m){this._subject=new f.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=m;const I=this._locationStrategy.getBaseHref();this._baseHref=de(ue(I)),this._locationStrategy.onPopState(re=>{this._subject.emit({url:this.path(!0),pop:!0,state:re.state,type:re.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(m=!1){return this.normalize(this._locationStrategy.path(m))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(m,I=""){return this.path()==this.normalize(m+ge(I))}normalize(m){return p.stripTrailingSlash(function ye(p,w){return p&&w.startsWith(p)?w.substring(p.length):w}(this._baseHref,ue(m)))}prepareExternalUrl(m){return m&&"/"!==m[0]&&(m="/"+m),this._locationStrategy.prepareExternalUrl(m)}go(m,I="",re=null){this._locationStrategy.pushState(re,"",m,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+ge(I)),re)}replaceState(m,I="",re=null){this._locationStrategy.replaceState(re,"",m,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+ge(I)),re)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(m=0){this._locationStrategy.historyGo?.(m)}onUrlChange(m){return this._urlChangeListeners.push(m),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)})),()=>{const I=this._urlChangeListeners.indexOf(m);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(m="",I){this._urlChangeListeners.forEach(re=>re(m,I))}subscribe(m,I,re){return this._subject.subscribe({next:m,error:I,complete:re})}}return p.normalizeQueryParams=ge,p.joinWithSlash=Oe,p.stripTrailingSlash=de,p.\u0275fac=function(m){return new(m||p)(f.LFG(se))},p.\u0275prov=f.Yz7({token:p,factory:function(){return function Y(){return new Ae((0,f.LFG)(se))}()},providedIn:"root"}),p})();function ue(p){return p.replace(/\/index.html$/,"")}var $e=(()=>(($e=$e||{})[$e.Decimal=0]="Decimal",$e[$e.Percent=1]="Percent",$e[$e.Currency=2]="Currency",$e[$e.Scientific=3]="Scientific",$e))(),He=(()=>((He=He||{})[He.Decimal=0]="Decimal",He[He.Group=1]="Group",He[He.List=2]="List",He[He.PercentSign=3]="PercentSign",He[He.PlusSign=4]="PlusSign",He[He.MinusSign=5]="MinusSign",He[He.Exponential=6]="Exponential",He[He.SuperscriptingExponent=7]="SuperscriptingExponent",He[He.PerMille=8]="PerMille",He[He.Infinity=9]="Infinity",He[He.NaN=10]="NaN",He[He.TimeSeparator=11]="TimeSeparator",He[He.CurrencyDecimal=12]="CurrencyDecimal",He[He.CurrencyGroup=13]="CurrencyGroup",He))();function Ee(p,w){const m=(0,f.cg1)(p),I=m[f.wAp.NumberSymbols][w];if(typeof I>"u"){if(w===He.CurrencyDecimal)return m[f.wAp.NumberSymbols][He.Decimal];if(w===He.CurrencyGroup)return m[f.wAp.NumberSymbols][He.Group]}return I}const wn=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function yn(p){const w=parseInt(p);if(isNaN(w))throw new Error("Invalid integer literal when parsing "+p);return w}function Jr(p,w){w=encodeURIComponent(w);for(const m of p.split(";")){const I=m.indexOf("="),[re,Be]=-1==I?[m,""]:[m.slice(0,I),m.slice(I+1)];if(re.trim()===w)return decodeURIComponent(Be)}return null}let qt=(()=>{class p{constructor(m,I,re,Be){this._iterableDiffers=m,this._keyValueDiffers=I,this._ngEl=re,this._renderer=Be,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(m){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof m?m.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(m){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof m?m.split(/\s+/):m,this._rawClass&&((0,f.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const m=this._iterableDiffer.diff(this._rawClass);m&&this._applyIterableChanges(m)}else if(this._keyValueDiffer){const m=this._keyValueDiffer.diff(this._rawClass);m&&this._applyKeyValueChanges(m)}}_applyKeyValueChanges(m){m.forEachAddedItem(I=>this._toggleClass(I.key,I.currentValue)),m.forEachChangedItem(I=>this._toggleClass(I.key,I.currentValue)),m.forEachRemovedItem(I=>{I.previousValue&&this._toggleClass(I.key,!1)})}_applyIterableChanges(m){m.forEachAddedItem(I=>{if("string"!=typeof I.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,f.AaK)(I.item)}`);this._toggleClass(I.item,!0)}),m.forEachRemovedItem(I=>this._toggleClass(I.item,!1))}_applyClasses(m){m&&(Array.isArray(m)||m instanceof Set?m.forEach(I=>this._toggleClass(I,!0)):Object.keys(m).forEach(I=>this._toggleClass(I,!!m[I])))}_removeClasses(m){m&&(Array.isArray(m)||m instanceof Set?m.forEach(I=>this._toggleClass(I,!1)):Object.keys(m).forEach(I=>this._toggleClass(I,!1)))}_toggleClass(m,I){(m=m.trim())&&m.split(/\s+/g).forEach(re=>{I?this._renderer.addClass(this._ngEl.nativeElement,re):this._renderer.removeClass(this._ngEl.nativeElement,re)})}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.ZZ4),f.Y36(f.aQg),f.Y36(f.SBq),f.Y36(f.Qsj))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),p})();class ei{constructor(w,m,I,re){this.$implicit=w,this.ngForOf=m,this.index=I,this.count=re}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 rr=(()=>{class p{constructor(m,I,re){this._viewContainer=m,this._template=I,this._differs=re,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(m){this._ngForOf=m,this._ngForOfDirty=!0}set ngForTrackBy(m){this._trackByFn=m}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(m){m&&(this._template=m)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const m=this._ngForOf;!this._differ&&m&&(this._differ=this._differs.find(m).create(this.ngForTrackBy))}if(this._differ){const m=this._differ.diff(this._ngForOf);m&&this._applyChanges(m)}}_applyChanges(m){const I=this._viewContainer;m.forEachOperation((re,Be,Ke)=>{if(null==re.previousIndex)I.createEmbeddedView(this._template,new ei(re.item,this._ngForOf,-1,-1),null===Ke?void 0:Ke);else if(null==Ke)I.remove(null===Be?void 0:Be);else if(null!==Be){const pt=I.get(Be);I.move(pt,Ke),xn(pt,re)}});for(let re=0,Be=I.length;re<Be;re++){const pt=I.get(re).context;pt.index=re,pt.count=Be,pt.ngForOf=this._ngForOf}m.forEachIdentityChange(re=>{xn(I.get(re.currentIndex),re)})}static ngTemplateContextGuard(m,I){return!0}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(f.ZZ4))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),p})();function xn(p,w){p.context.$implicit=w.item}let ln=(()=>{class p{constructor(m,I){this._viewContainer=m,this._context=new Ar,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(m){this._context.$implicit=this._context.ngIf=m,this._updateView()}set ngIfThen(m){An("ngIfThen",m),this._thenTemplateRef=m,this._thenViewRef=null,this._updateView()}set ngIfElse(m){An("ngIfElse",m),this._elseTemplateRef=m,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(m,I){return!0}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.s_b),f.Y36(f.Rgc))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),p})();class Ar{constructor(){this.$implicit=null,this.ngIf=null}}function An(p,w){if(w&&!w.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,f.AaK)(w)}'.`)}class Gn{constructor(w,m){this._viewContainerRef=w,this._templateRef=m,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(w){w&&!this._created?this.create():!w&&this._created&&this.destroy()}}let Ur=(()=>{class p{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(m){this._ngSwitch=m,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(m){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(m)}_matchCase(m){const I=m==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(m){if(this._defaultViews&&m!==this._defaultUsed){this._defaultUsed=m;for(let I=0;I<this._defaultViews.length;I++)this._defaultViews[I].enforceState(m)}}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275dir=f.lG2({type:p,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),p})(),nr=(()=>{class p{constructor(m,I,re){this.ngSwitch=re,re._addCase(),this._view=new Gn(m,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(Ur,9))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),p})(),Ir=(()=>{class p{constructor(m,I,re){re._addDefault(new Gn(m,I))}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(Ur,9))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngSwitchDefault",""]],standalone:!0}),p})(),os=(()=>{class p{constructor(m,I,re){this._ngEl=m,this._differs=I,this._renderer=re,this._ngStyle=null,this._differ=null}set ngStyle(m){this._ngStyle=m,!this._differ&&m&&(this._differ=this._differs.find(m).create())}ngDoCheck(){if(this._differ){const m=this._differ.diff(this._ngStyle);m&&this._applyChanges(m)}}_setStyle(m,I){const[re,Be]=m.split("."),Ke=-1===re.indexOf("-")?void 0:f.JOm.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,re,Be?`${I}${Be}`:I,Ke):this._renderer.removeStyle(this._ngEl.nativeElement,re,Ke)}_applyChanges(m){m.forEachRemovedItem(I=>this._setStyle(I.key,null)),m.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),m.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.SBq),f.Y36(f.aQg),f.Y36(f.Qsj))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),p})(),as=(()=>{class p{constructor(m){this._viewContainerRef=m,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(m){if(m.ngTemplateOutlet||m.ngTemplateOutletInjector){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:re,ngTemplateOutletContext:Be,ngTemplateOutletInjector:Ke}=this;this._viewRef=I.createEmbeddedView(re,Be,Ke?{injector:Ke}:void 0)}else this._viewRef=null}else this._viewRef&&m.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.s_b))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[f.TTD]}),p})();function ir(p,w){return new f.vHH(2100,!1)}class Li{createSubscription(w,m){return w.subscribe({next:m,error:I=>{throw I}})}dispose(w){w.unsubscribe()}}class Gs{createSubscription(w,m){return w.then(m,I=>{throw I})}dispose(w){}}const _i=new Gs,yi=new Li;let Vr=(()=>{class p{constructor(m){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=m}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(m){return this._obj?m!==this._obj?(this._dispose(),this.transform(m)):this._latestValue:(m&&this._subscribe(m),this._latestValue)}_subscribe(m){this._obj=m,this._strategy=this._selectStrategy(m),this._subscription=this._strategy.createSubscription(m,I=>this._updateLatestValue(m,I))}_selectStrategy(m){if((0,f.QGY)(m))return _i;if((0,f.F4k)(m))return yi;throw ir()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(m,I){m===this._obj&&(this._latestValue=I,this._ref.markForCheck())}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.sBO,16))},p.\u0275pipe=f.Yjl({name:"async",type:p,pure:!1,standalone:!0}),p})(),vi=(()=>{class p{constructor(m){this._locale=m}transform(m,I,re){if(!function Bi(p){return!(null==p||""===p||p!=p)}(m))return null;re=re||this._locale;try{return function Mt(p,w,m){return function zt(p,w,m,I,re,Be,Ke=!1){let pt="",Gt=!1;if(isFinite(p)){let Xt=function Xr(p){let I,re,Be,Ke,pt,w=Math.abs(p)+"",m=0;for((re=w.indexOf("."))>-1&&(w=w.replace(".","")),(Be=w.search(/e/i))>0?(re<0&&(re=Be),re+=+w.slice(Be+1),w=w.substring(0,Be)):re<0&&(re=w.length),Be=0;"0"===w.charAt(Be);Be++);if(Be===(pt=w.length))I=[0],re=1;else{for(pt--;"0"===w.charAt(pt);)pt--;for(re-=Be,I=[],Ke=0;Be<=pt;Be++,Ke++)I[Ke]=Number(w.charAt(Be))}return re>22&&(I=I.splice(0,21),m=re-1,re=1),{digits:I,exponent:m,integerLen:re}}(p);Ke&&(Xt=function yr(p){if(0===p.digits[0])return p;const w=p.digits.length-p.integerLen;return p.exponent?p.exponent+=2:(0===w?p.digits.push(0,0):1===w&&p.digits.push(0),p.integerLen+=2),p}(Xt));let rn=w.minInt,qe=w.minFrac,ht=w.maxFrac;if(Be){const fn=Be.match(wn);if(null===fn)throw new Error(`${Be} is not a valid digit info`);const un=fn[1],wr=fn[3],Ai=fn[5];null!=un&&(rn=yn(un)),null!=wr&&(qe=yn(wr)),null!=Ai?ht=yn(Ai):null!=wr&&qe>ht&&(ht=qe)}!function hr(p,w,m){if(w>m)throw new Error(`The minimum number of digits after fraction (${w}) is higher than the maximum (${m}).`);let I=p.digits,re=I.length-p.integerLen;const Be=Math.min(Math.max(w,re),m);let Ke=Be+p.integerLen,pt=I[Ke];if(Ke>0){I.splice(Math.max(p.integerLen,Ke));for(let qe=Ke;qe<I.length;qe++)I[qe]=0}else{re=Math.max(0,re),p.integerLen=1,I.length=Math.max(1,Ke=Be+1),I[0]=0;for(let qe=1;qe<Ke;qe++)I[qe]=0}if(pt>=5)if(Ke-1<0){for(let qe=0;qe>Ke;qe--)I.unshift(0),p.integerLen++;I.unshift(1),p.integerLen++}else I[Ke-1]++;for(;re<Math.max(0,Be);re++)I.push(0);let Gt=0!==Be;const Xt=w+p.integerLen,rn=I.reduceRight(function(qe,ht,ct,Lt){return Lt[ct]=(ht+=qe)<10?ht:ht-10,Gt&&(0===Lt[ct]&&ct>=Xt?Lt.pop():Gt=!1),ht>=10?1:0},0);rn&&(I.unshift(rn),p.integerLen++)}(Xt,qe,ht);let ct=Xt.digits,Lt=Xt.integerLen;const gn=Xt.exponent;let vn=[];for(Gt=ct.every(fn=>!fn);Lt<rn;Lt++)ct.unshift(0);for(;Lt<0;Lt++)ct.unshift(0);Lt>0?vn=ct.splice(Lt,ct.length):(vn=ct,ct=[0]);const Sn=[];for(ct.length>=w.lgSize&&Sn.unshift(ct.splice(-w.lgSize,ct.length).join(""));ct.length>w.gSize;)Sn.unshift(ct.splice(-w.gSize,ct.length).join(""));ct.length&&Sn.unshift(ct.join("")),pt=Sn.join(Ee(m,I)),vn.length&&(pt+=Ee(m,re)+vn.join("")),gn&&(pt+=Ee(m,He.Exponential)+"+"+gn)}else pt=Ee(m,He.Infinity);return pt=p<0&&!Gt?w.negPre+pt+w.negSuf:w.posPre+pt+w.posSuf,pt}(p,function Fn(p,w="-"){const m={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=p.split(";"),re=I[0],Be=I[1],Ke=-1!==re.indexOf(".")?re.split("."):[re.substring(0,re.lastIndexOf("0")+1),re.substring(re.lastIndexOf("0")+1)],pt=Ke[0],Gt=Ke[1]||"";m.posPre=pt.substring(0,pt.indexOf("#"));for(let rn=0;rn<Gt.length;rn++){const qe=Gt.charAt(rn);"0"===qe?m.minFrac=m.maxFrac=rn+1:"#"===qe?m.maxFrac=rn+1:m.posSuf+=qe}const Xt=pt.split(",");if(m.gSize=Xt[1]?Xt[1].length:0,m.lgSize=Xt[2]||Xt[1]?(Xt[2]||Xt[1]).length:0,Be){const rn=re.length-m.posPre.length-m.posSuf.length,qe=Be.indexOf("#");m.negPre=Be.substring(0,qe).replace(/'/g,""),m.negSuf=Be.slice(qe+rn).replace(/'/g,"")}else m.negPre=w+m.posPre,m.negSuf=m.posSuf;return m}(function Ye(p,w){return(0,f.cg1)(p)[f.wAp.NumberFormats][w]}(w,$e.Decimal),Ee(w,He.MinusSign)),w,He.Group,He.Decimal,m)}(function Ui(p){if("string"==typeof p&&!isNaN(Number(p)-parseFloat(p)))return Number(p);if("number"!=typeof p)throw new Error(`${p} is not a number`);return p}(m),re,I)}catch(Be){throw ir()}}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.soG,16))},p.\u0275pipe=f.Yjl({name:"number",type:p,pure:!0,standalone:!0}),p})();let ds=(()=>{class p{}return p.\u0275fac=function(m){return new(m||p)},p.\u0275mod=f.oAB({type:p}),p.\u0275inj=f.cJS({}),p})();const zr="browser";function Di(p){return p===zr}function ri(p){return"server"===p}let Yn=(()=>{class p{}return p.\u0275prov=(0,f.Yz7)({token:p,providedIn:"root",factory:()=>new As((0,f.LFG)(ie),window)}),p})();class As{constructor(w,m){this.document=w,this.window=m,this.offset=()=>[0,0]}setOffset(w){this.offset=Array.isArray(w)?()=>w:w}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(w){this.supportsScrolling()&&this.window.scrollTo(w[0],w[1])}scrollToAnchor(w){if(!this.supportsScrolling())return;const m=function Hn(p,w){const m=p.getElementById(w)||p.getElementsByName(w)[0];if(m)return m;if("function"==typeof p.createTreeWalker&&p.body&&(p.body.createShadowRoot||p.body.attachShadow)){const I=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let re=I.currentNode;for(;re;){const Be=re.shadowRoot;if(Be){const Ke=Be.getElementById(w)||Be.querySelector(`[name="${w}"]`);if(Ke)return Ke}re=I.nextNode()}}return null}(this.document,w);m&&(this.scrollToElement(m),m.focus())}setHistoryScrollRestoration(w){if(this.supportScrollRestoration()){const m=this.window.history;m&&m.scrollRestoration&&(m.scrollRestoration=w)}}scrollToElement(w){const m=w.getBoundingClientRect(),I=m.left+this.window.pageXOffset,re=m.top+this.window.pageYOffset,Be=this.offset();this.window.scrollTo(I-Be[0],re-Be[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const w=Dr(this.window.history)||Dr(Object.getPrototypeOf(this.window.history));return!(!w||!w.writable&&!w.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Dr(p){return Object.getOwnPropertyDescriptor(p,"scrollRestoration")}class ii{}},80529:(et,_e,_)=>{_.d(_e,{JF:()=>R,LE:()=>Pe,TP:()=>sn,UA:()=>He,Xk:()=>tt,dt:()=>Le,eN:()=>$t,qT:()=>nt});var f=_(36895),v=_(94650),A=_(39646),x=_(69751),k=_(24351),U=_(39300),ie=_(54004);class X{}class Q{}class ${constructor(L){this.normalizedNames=new Map,this.lazyUpdate=null,L?this.lazyInit="string"==typeof L?()=>{this.headers=new Map,L.split("\n").forEach(F=>{const be=F.indexOf(":");if(be>0){const Re=F.slice(0,be),Ve=Re.toLowerCase(),lt=F.slice(be+1).trim();this.maybeSetNormalizedName(Re,Ve),this.headers.has(Ve)?this.headers.get(Ve).push(lt):this.headers.set(Ve,[lt])}})}:()=>{this.headers=new Map,Object.keys(L).forEach(F=>{let be=L[F];const Re=F.toLowerCase();"string"==typeof be&&(be=[be]),be.length>0&&(this.headers.set(Re,be),this.maybeSetNormalizedName(F,Re))})}:this.headers=new Map}has(L){return this.init(),this.headers.has(L.toLowerCase())}get(L){this.init();const F=this.headers.get(L.toLowerCase());return F&&F.length>0?F[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(L){return this.init(),this.headers.get(L.toLowerCase())||null}append(L,F){return this.clone({name:L,value:F,op:"a"})}set(L,F){return this.clone({name:L,value:F,op:"s"})}delete(L,F){return this.clone({name:L,value:F,op:"d"})}maybeSetNormalizedName(L,F){this.normalizedNames.has(F)||this.normalizedNames.set(F,L)}init(){this.lazyInit&&(this.lazyInit instanceof $?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(L=>this.applyUpdate(L)),this.lazyUpdate=null))}copyFrom(L){L.init(),Array.from(L.headers.keys()).forEach(F=>{this.headers.set(F,L.headers.get(F)),this.normalizedNames.set(F,L.normalizedNames.get(F))})}clone(L){const F=new $;return F.lazyInit=this.lazyInit&&this.lazyInit instanceof $?this.lazyInit:this,F.lazyUpdate=(this.lazyUpdate||[]).concat([L]),F}applyUpdate(L){const F=L.name.toLowerCase();switch(L.op){case"a":case"s":let be=L.value;if("string"==typeof be&&(be=[be]),0===be.length)return;this.maybeSetNormalizedName(L.name,F);const Re=("a"===L.op?this.headers.get(F):void 0)||[];Re.push(...be),this.headers.set(F,Re);break;case"d":const Ve=L.value;if(Ve){let lt=this.headers.get(F);if(!lt)return;lt=lt.filter(xt=>-1===Ve.indexOf(xt)),0===lt.length?(this.headers.delete(F),this.normalizedNames.delete(F)):this.headers.set(F,lt)}else this.headers.delete(F),this.normalizedNames.delete(F)}}forEach(L){this.init(),Array.from(this.normalizedNames.keys()).forEach(F=>L(this.normalizedNames.get(F),this.headers.get(F)))}}class j{encodeKey(L){return ge(L)}encodeValue(L){return ge(L)}decodeKey(L){return decodeURIComponent(L)}decodeValue(L){return decodeURIComponent(L)}}const Oe=/%(\d[a-f0-9])/gi,de={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ge(Z){return encodeURIComponent(Z).replace(Oe,(L,F)=>de[F]??L)}function se(Z){return`${Z}`}class Pe{constructor(L={}){if(this.updates=null,this.cloneFrom=null,this.encoder=L.encoder||new j,L.fromString){if(L.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Me(Z,L){const F=new Map;return Z.length>0&&Z.replace(/^\?/,"").split("&").forEach(Re=>{const Ve=Re.indexOf("="),[lt,xt]=-1==Ve?[L.decodeKey(Re),""]:[L.decodeKey(Re.slice(0,Ve)),L.decodeValue(Re.slice(Ve+1))],Qe=F.get(lt)||[];Qe.push(xt),F.set(lt,Qe)}),F}(L.fromString,this.encoder)}else L.fromObject?(this.map=new Map,Object.keys(L.fromObject).forEach(F=>{const be=L.fromObject[F],Re=Array.isArray(be)?be.map(se):[se(be)];this.map.set(F,Re)})):this.map=null}has(L){return this.init(),this.map.has(L)}get(L){this.init();const F=this.map.get(L);return F?F[0]:null}getAll(L){return this.init(),this.map.get(L)||null}keys(){return this.init(),Array.from(this.map.keys())}append(L,F){return this.clone({param:L,value:F,op:"a"})}appendAll(L){const F=[];return Object.keys(L).forEach(be=>{const Re=L[be];Array.isArray(Re)?Re.forEach(Ve=>{F.push({param:be,value:Ve,op:"a"})}):F.push({param:be,value:Re,op:"a"})}),this.clone(F)}set(L,F){return this.clone({param:L,value:F,op:"s"})}delete(L,F){return this.clone({param:L,value:F,op:"d"})}toString(){return this.init(),this.keys().map(L=>{const F=this.encoder.encodeKey(L);return this.map.get(L).map(be=>F+"="+this.encoder.encodeValue(be)).join("&")}).filter(L=>""!==L).join("&")}clone(L){const F=new Pe({encoder:this.encoder});return F.cloneFrom=this.cloneFrom||this,F.updates=(this.updates||[]).concat(L),F}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(L=>this.map.set(L,this.cloneFrom.map.get(L))),this.updates.forEach(L=>{switch(L.op){case"a":case"s":const F=("a"===L.op?this.map.get(L.param):void 0)||[];F.push(se(L.value)),this.map.set(L.param,F);break;case"d":if(void 0===L.value){this.map.delete(L.param);break}{let be=this.map.get(L.param)||[];const Re=be.indexOf(se(L.value));-1!==Re&&be.splice(Re,1),be.length>0?this.map.set(L.param,be):this.map.delete(L.param)}}}),this.cloneFrom=this.updates=null)}}class tt{constructor(L){this.defaultValue=L}}class nt{constructor(){this.map=new Map}set(L,F){return this.map.set(L,F),this}get(L){return this.map.has(L)||this.map.set(L,L.defaultValue()),this.map.get(L)}delete(L){return this.map.delete(L),this}has(L){return this.map.has(L)}keys(){return this.map.keys()}}function Y(Z){return typeof ArrayBuffer<"u"&&Z instanceof ArrayBuffer}function ye(Z){return typeof Blob<"u"&&Z instanceof Blob}function ue(Z){return typeof FormData<"u"&&Z instanceof FormData}class $e{constructor(L,F,be,Re){let Ve;if(this.url=F,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=L.toUpperCase(),function Ae(Z){switch(Z){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Re?(this.body=void 0!==be?be:null,Ve=Re):Ve=be,Ve&&(this.reportProgress=!!Ve.reportProgress,this.withCredentials=!!Ve.withCredentials,Ve.responseType&&(this.responseType=Ve.responseType),Ve.headers&&(this.headers=Ve.headers),Ve.context&&(this.context=Ve.context),Ve.params&&(this.params=Ve.params)),this.headers||(this.headers=new $),this.context||(this.context=new nt),this.params){const lt=this.params.toString();if(0===lt.length)this.urlWithParams=F;else{const xt=F.indexOf("?");this.urlWithParams=F+(-1===xt?"?":xt<F.length-1?"&":"")+lt}}else this.params=new Pe,this.urlWithParams=F}serializeBody(){return null===this.body?null:Y(this.body)||ye(this.body)||ue(this.body)||function Se(Z){return typeof URLSearchParams<"u"&&Z instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Pe?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||ue(this.body)?null:ye(this.body)?this.body.type||null:Y(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Pe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(L={}){const F=L.method||this.method,be=L.url||this.url,Re=L.responseType||this.responseType,Ve=void 0!==L.body?L.body:this.body,lt=void 0!==L.withCredentials?L.withCredentials:this.withCredentials,xt=void 0!==L.reportProgress?L.reportProgress:this.reportProgress;let Qe=L.headers||this.headers,Nt=L.params||this.params;const St=L.context??this.context;return void 0!==L.setHeaders&&(Qe=Object.keys(L.setHeaders).reduce((dn,It)=>dn.set(It,L.setHeaders[It]),Qe)),L.setParams&&(Nt=Object.keys(L.setParams).reduce((dn,It)=>dn.set(It,L.setParams[It]),Nt)),new $e(F,be,Ve,{params:Nt,headers:Qe,context:St,reportProgress:xt,responseType:Re,withCredentials:lt})}}var Le=(()=>((Le=Le||{})[Le.Sent=0]="Sent",Le[Le.UploadProgress=1]="UploadProgress",Le[Le.ResponseHeader=2]="ResponseHeader",Le[Le.DownloadProgress=3]="DownloadProgress",Le[Le.Response=4]="Response",Le[Le.User=5]="User",Le))();class Je{constructor(L,F=200,be="OK"){this.headers=L.headers||new $,this.status=void 0!==L.status?L.status:F,this.statusText=L.statusText||be,this.url=L.url||null,this.ok=this.status>=200&&this.status<300}}class De extends Je{constructor(L={}){super(L),this.type=Le.ResponseHeader}clone(L={}){return new De({headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class Ue extends Je{constructor(L={}){super(L),this.type=Le.Response,this.body=void 0!==L.body?L.body:null}clone(L={}){return new Ue({body:void 0!==L.body?L.body:this.body,headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class He extends Je{constructor(L){super(L,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${L.url||"(unknown url)"}`:`Http failure response for ${L.url||"(unknown url)"}: ${L.status} ${L.statusText}`,this.error=L.error||null}}function _t(Z,L){return{body:L,headers:Z.headers,context:Z.context,observe:Z.observe,params:Z.params,reportProgress:Z.reportProgress,responseType:Z.responseType,withCredentials:Z.withCredentials}}let $t=(()=>{class Z{constructor(F){this.handler=F}request(F,be,Re={}){let Ve;if(F instanceof $e)Ve=F;else{let Qe,Nt;Qe=Re.headers instanceof $?Re.headers:new $(Re.headers),Re.params&&(Nt=Re.params instanceof Pe?Re.params:new Pe({fromObject:Re.params})),Ve=new $e(F,be,void 0!==Re.body?Re.body:null,{headers:Qe,context:Re.context,params:Nt,reportProgress:Re.reportProgress,responseType:Re.responseType||"json",withCredentials:Re.withCredentials})}const lt=(0,A.of)(Ve).pipe((0,k.b)(Qe=>this.handler.handle(Qe)));if(F instanceof $e||"events"===Re.observe)return lt;const xt=lt.pipe((0,U.h)(Qe=>Qe instanceof Ue));switch(Re.observe||"body"){case"body":switch(Ve.responseType){case"arraybuffer":return xt.pipe((0,ie.U)(Qe=>{if(null!==Qe.body&&!(Qe.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Qe.body}));case"blob":return xt.pipe((0,ie.U)(Qe=>{if(null!==Qe.body&&!(Qe.body instanceof Blob))throw new Error("Response is not a Blob.");return Qe.body}));case"text":return xt.pipe((0,ie.U)(Qe=>{if(null!==Qe.body&&"string"!=typeof Qe.body)throw new Error("Response is not a string.");return Qe.body}));default:return xt.pipe((0,ie.U)(Qe=>Qe.body))}case"response":return xt;default:throw new Error(`Unreachable: unhandled observe type ${Re.observe}}`)}}delete(F,be={}){return this.request("DELETE",F,be)}get(F,be={}){return this.request("GET",F,be)}head(F,be={}){return this.request("HEAD",F,be)}jsonp(F,be){return this.request("JSONP",F,{params:(new Pe).append(be,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(F,be={}){return this.request("OPTIONS",F,be)}patch(F,be,Re={}){return this.request("PATCH",F,_t(Re,be))}post(F,be,Re={}){return this.request("POST",F,_t(Re,be))}put(F,be,Re={}){return this.request("PUT",F,_t(Re,be))}}return Z.\u0275fac=function(F){return new(F||Z)(v.LFG(X))},Z.\u0275prov=v.Yz7({token:Z,factory:Z.\u0275fac}),Z})();class bt{constructor(L,F){this.next=L,this.interceptor=F}handle(L){return this.interceptor.intercept(L,this.next)}}const sn=new v.OlP("HTTP_INTERCEPTORS");let en=(()=>{class Z{intercept(F,be){return be.handle(F)}}return Z.\u0275fac=function(F){return new(F||Z)},Z.\u0275prov=v.Yz7({token:Z,factory:Z.\u0275fac}),Z})();const At=/^\)\]\}',?\n/;let wt=(()=>{class Z{constructor(F){this.xhrFactory=F}handle(F){if("JSONP"===F.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new x.y(be=>{const Re=this.xhrFactory.build();if(Re.open(F.method,F.urlWithParams),F.withCredentials&&(Re.withCredentials=!0),F.headers.forEach((we,oe)=>Re.setRequestHeader(we,oe.join(","))),F.headers.has("Accept")||Re.setRequestHeader("Accept","application/json, text/plain, */*"),!F.headers.has("Content-Type")){const we=F.detectContentTypeHeader();null!==we&&Re.setRequestHeader("Content-Type",we)}if(F.responseType){const we=F.responseType.toLowerCase();Re.responseType="json"!==we?we:"text"}const Ve=F.serializeBody();let lt=null;const xt=()=>{if(null!==lt)return lt;const we=Re.statusText||"OK",oe=new $(Re.getAllResponseHeaders()),ce=function at(Z){return"responseURL"in Z&&Z.responseURL?Z.responseURL:/^X-Request-URL:/m.test(Z.getAllResponseHeaders())?Z.getResponseHeader("X-Request-URL"):null}(Re)||F.url;return lt=new De({headers:oe,status:Re.status,statusText:we,url:ce}),lt},Qe=()=>{let{headers:we,status:oe,statusText:ce,url:W}=xt(),q=null;204!==oe&&(q=typeof Re.response>"u"?Re.responseText:Re.response),0===oe&&(oe=q?200:0);let B=oe>=200&&oe<300;if("json"===F.responseType&&"string"==typeof q){const fe=q;q=q.replace(At,"");try{q=""!==q?JSON.parse(q):null}catch(Ne){q=fe,B&&(B=!1,q={error:Ne,text:q})}}B?(be.next(new Ue({body:q,headers:we,status:oe,statusText:ce,url:W||void 0})),be.complete()):be.error(new He({error:q,headers:we,status:oe,statusText:ce,url:W||void 0}))},Nt=we=>{const{url:oe}=xt(),ce=new He({error:we,status:Re.status||0,statusText:Re.statusText||"Unknown Error",url:oe||void 0});be.error(ce)};let St=!1;const dn=we=>{St||(be.next(xt()),St=!0);let oe={type:Le.DownloadProgress,loaded:we.loaded};we.lengthComputable&&(oe.total=we.total),"text"===F.responseType&&!!Re.responseText&&(oe.partialText=Re.responseText),be.next(oe)},It=we=>{let oe={type:Le.UploadProgress,loaded:we.loaded};we.lengthComputable&&(oe.total=we.total),be.next(oe)};return Re.addEventListener("load",Qe),Re.addEventListener("error",Nt),Re.addEventListener("timeout",Nt),Re.addEventListener("abort",Nt),F.reportProgress&&(Re.addEventListener("progress",dn),null!==Ve&&Re.upload&&Re.upload.addEventListener("progress",It)),Re.send(Ve),be.next({type:Le.Sent}),()=>{Re.removeEventListener("error",Nt),Re.removeEventListener("abort",Nt),Re.removeEventListener("load",Qe),Re.removeEventListener("timeout",Nt),F.reportProgress&&(Re.removeEventListener("progress",dn),null!==Ve&&Re.upload&&Re.upload.removeEventListener("progress",It)),Re.readyState!==Re.DONE&&Re.abort()}})}}return Z.\u0275fac=function(F){return new(F||Z)(v.LFG(f.JF))},Z.\u0275prov=v.Yz7({token:Z,factory:Z.\u0275fac}),Z})();const vt=new v.OlP("XSRF_COOKIE_NAME"),tn=new v.OlP("XSRF_HEADER_NAME");class Bt{}let Rt=(()=>{class Z{constructor(F,be,Re){this.doc=F,this.platform=be,this.cookieName=Re,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const F=this.doc.cookie||"";return F!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,f.Mx)(F,this.cookieName),this.lastCookieString=F),this.lastToken}}return Z.\u0275fac=function(F){return new(F||Z)(v.LFG(f.K0),v.LFG(v.Lbi),v.LFG(vt))},Z.\u0275prov=v.Yz7({token:Z,factory:Z.\u0275fac}),Z})(),Jt=(()=>{class Z{constructor(F,be){this.tokenService=F,this.headerName=be}intercept(F,be){const Re=F.url.toLowerCase();if("GET"===F.method||"HEAD"===F.method||Re.startsWith("http://")||Re.startsWith("https://"))return be.handle(F);const Ve=this.tokenService.getToken();return null!==Ve&&!F.headers.has(this.headerName)&&(F=F.clone({headers:F.headers.set(this.headerName,Ve)})),be.handle(F)}}return Z.\u0275fac=function(F){return new(F||Z)(v.LFG(Bt),v.LFG(tn))},Z.\u0275prov=v.Yz7({token:Z,factory:Z.\u0275fac}),Z})(),Te=(()=>{class Z{constructor(F,be){this.backend=F,this.injector=be,this.chain=null}handle(F){if(null===this.chain){const be=this.injector.get(sn,[]);this.chain=be.reduceRight((Re,Ve)=>new bt(Re,Ve),this.backend)}return this.chain.handle(F)}}return Z.\u0275fac=function(F){return new(F||Z)(v.LFG(Q),v.LFG(v.zs3))},Z.\u0275prov=v.Yz7({token:Z,factory:Z.\u0275fac}),Z})(),C=(()=>{class Z{static disable(){return{ngModule:Z,providers:[{provide:Jt,useClass:en}]}}static withOptions(F={}){return{ngModule:Z,providers:[F.cookieName?{provide:vt,useValue:F.cookieName}:[],F.headerName?{provide:tn,useValue:F.headerName}:[]]}}}return Z.\u0275fac=function(F){return new(F||Z)},Z.\u0275mod=v.oAB({type:Z}),Z.\u0275inj=v.cJS({providers:[Jt,{provide:sn,useExisting:Jt,multi:!0},{provide:Bt,useClass:Rt},{provide:vt,useValue:"XSRF-TOKEN"},{provide:tn,useValue:"X-XSRF-TOKEN"}]}),Z})(),R=(()=>{class Z{}return Z.\u0275fac=function(F){return new(F||Z)},Z.\u0275mod=v.oAB({type:Z}),Z.\u0275inj=v.cJS({providers:[$t,{provide:X,useClass:Te},wt,{provide:Q,useExisting:wt}],imports:[C.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),Z})()},94650:(et,_e,_)=>{_.d(_e,{$8M:()=>Es,$Z:()=>Mh,AFp:()=>Rg,ALo:()=>Xp,AaK:()=>X,Akn:()=>fi,AsE:()=>Qc,B6R:()=>q,BQk:()=>Xa,CHM:()=>ps,CRH:()=>lg,CZH:()=>ul,CqO:()=>_f,D6c:()=>v0,DdM:()=>$p,EJc:()=>xC,EiD:()=>$d,EpF:()=>gf,F$t:()=>Cf,F4k:()=>mf,FAE:()=>Wc,FYo:()=>rh,FiY:()=>Wo,G48:()=>e0,Gf:()=>og,GfV:()=>ih,GkF:()=>Bc,Gpc:()=>z,Gre:()=>Zf,Hsn:()=>bf,Ikx:()=>Jc,JOm:()=>Ii,JVY:()=>v_,Jf7:()=>sh,KtG:()=>ji,L6k:()=>D_,LAX:()=>C_,LFG:()=>Wn,LSH:()=>Yl,Lbi:()=>IC,Lck:()=>TE,MAs:()=>pf,MGl:()=>Ja,MMx:()=>lu,NdJ:()=>Vc,O4$:()=>c,OlP:()=>Dn,Oqu:()=>Zc,PXZ:()=>YC,Q6J:()=>Fc,QGY:()=>Uc,QP$:()=>En,QbO:()=>OC,Qsj:()=>ey,R0b:()=>Qr,RDi:()=>h_,Rgc:()=>ga,SBq:()=>ta,Sil:()=>FC,Suo:()=>ag,TTD:()=>ki,TgZ:()=>Ya,Udp:()=>Kc,VKq:()=>zp,W1O:()=>hg,WFA:()=>jc,WLB:()=>Wp,X6Q:()=>qC,XFs:()=>Te,Xpm:()=>W,Xts:()=>Zl,Y36:()=>po,YKP:()=>Lp,YNc:()=>ff,Yjl:()=>Xn,Yz7:()=>ee,Z0I:()=>Et,ZZ4:()=>Ru,_Bn:()=>xp,_UZ:()=>kc,_Vd:()=>ea,_c5:()=>_0,_uU:()=>Hf,aQg:()=>xu,c2e:()=>PC,cJS:()=>Ee,cQ8:()=>zc,cg1:()=>eu,d8E:()=>qc,dDg:()=>zC,dqk:()=>Re,eBb:()=>E_,eFA:()=>Wg,ekj:()=>Gc,eoX:()=>Hg,f3M:()=>Ju,g9A:()=>Lg,h0i:()=>Io,hGG:()=>y0,hYB:()=>$c,hij:()=>el,iGM:()=>sg,ifc:()=>be,ip1:()=>Pg,jDz:()=>Np,kL8:()=>sp,kYT:()=>it,kcU:()=>T,lG2:()=>Vt,lcZ:()=>Jp,lnq:()=>Xc,lqb:()=>Us,lri:()=>Vg,mCW:()=>Ra,n5z:()=>_l,n_E:()=>sl,oAB:()=>Ne,oJD:()=>zd,oxw:()=>Ef,pB0:()=>b_,q3G:()=>Un,qLn:()=>na,qOj:()=>Pc,qZA:()=>Za,qzn:()=>lo,rWj:()=>jg,s9C:()=>Hc,sBO:()=>t0,sIi:()=>sa,s_b:()=>al,soG:()=>dl,tBr:()=>wa,tb:()=>Fg,tp0:()=>Ko,uIk:()=>Lc,vHH:()=>de,vpe:()=>xi,wAp:()=>kt,xi3:()=>qp,xp6:()=>hh,ynx:()=>Qa,z2F:()=>hl,z3N:()=>es,zSh:()=>Jl,zs3:()=>Vs});var f=_(77579),v=_(50727),A=_(69751),x=_(56451),k=_(13099);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 ie(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 Q(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const $=U({__forward_ref__:U});function z(e){return e.__forward_ref__=z,e.toString=function(){return X(this())},e}function j(e){return Me(e)?e():e}function Me(e){return"function"==typeof e&&e.hasOwnProperty($)&&e.__forward_ref__===z}class de extends Error{constructor(t,n){super(function ge(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function se(e){return"string"==typeof e?e:null==e?"":String(e)}function Y(e,t){throw new de(-201,!1)}function en(e,t){null==e&&function Tt(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function ee(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ee(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ye(e){return At(e,tn)||At(e,Rt)}function Et(e){return null!==Ye(e)}function At(e,t){return e.hasOwnProperty(t)?e[t]:null}function vt(e){return e&&(e.hasOwnProperty(Bt)||e.hasOwnProperty(Jt))?e[Bt]:null}const tn=U({\u0275prov:U}),Bt=U({\u0275inj:U}),Rt=U({ngInjectableDef:U}),Jt=U({ngInjectorDef:U});var Te=(()=>((Te=Te||{})[Te.Default=0]="Default",Te[Te.Host=1]="Host",Te[Te.Self=2]="Self",Te[Te.SkipSelf=4]="SkipSelf",Te[Te.Optional=8]="Optional",Te))();let rt;function C(e){const t=rt;return rt=e,t}function R(e,t,n){const r=Ye(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Te.Optional?null:void 0!==t?t:void Y(X(e))}function ve(e){return{toString:e}.toString()}var Z=(()=>((Z=Z||{})[Z.OnPush=0]="OnPush",Z[Z.Default=1]="Default",Z))(),be=(()=>{return(e=be||(be={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",be;var e})();const Re=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),xt={},Qe=[],Nt=U({\u0275cmp:U}),St=U({\u0275dir:U}),dn=U({\u0275pipe:U}),It=U({\u0275mod:U}),we=U({\u0275fac:U}),oe=U({__NG_ELEMENT_ID__:U});let ce=0;function W(e){return ve(()=>{const n=!0===e.standalone,r={},i={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:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Z.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Qe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||be.Emulated,id:"c"+ce++,styles:e.styles||Qe,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.dependencies,o=e.features;return i.inputs=Ot(e.inputs,r),i.outputs=Ot(e.outputs),o&&o.forEach(h=>h(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(B).filter(fe):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map(an).filter(fe):null,i})}function q(e,t,n){const r=e.\u0275cmp;r.directiveDefs=()=>("function"==typeof t?t():t).map(B),r.pipeDefs=()=>("function"==typeof n?n():n).map(an)}function B(e){return jt(e)||on(e)}function fe(e){return null!==e}function Ne(e){return ve(()=>({type:e.type,bootstrap:e.bootstrap||Qe,declarations:e.declarations||Qe,imports:e.imports||Qe,exports:e.exports||Qe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function it(e,t){return ve(()=>{const n=wn(e,!0);n.declarations=t.declarations||Qe,n.imports=t.imports||Qe,n.exports=t.exports||Qe})}function Ot(e,t){if(null==e)return xt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const Vt=W;function Xn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function jt(e){return e[Nt]||null}function on(e){return e[St]||null}function an(e){return e[dn]||null}function En(e){const t=jt(e)||on(e)||an(e);return null!==t&&t.standalone}function wn(e,t){const n=e[It]||null;if(!n&&!0===t)throw new Error(`Type ${X(e)} does not have '\u0275mod' property.`);return n}function An(e){return Array.isArray(e)&&"object"==typeof e[1]}function Gn(e){return Array.isArray(e)&&!0===e[1]}function Ur(e){return 0!=(8&e.flags)}function nr(e){return 2==(2&e.flags)}function Ir(e){return 1==(1&e.flags)}function qn(e){return null!==e.template}function ti(e){return 0!=(256&e[2])}function sr(e,t){return e.hasOwnProperty(we)?e[we]:null}class vi{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ki(){return $r}function $r(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ui),Bi}function Bi(){const e=us(this),t=e?.current;if(t){const n=e.previous;if(n===xt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ui(e,t,n,r){const i=us(e)||function ds(e,t){return e[ni]=t}(e,{previous:xt,current:null}),s=i.current||(i.current={}),o=i.previous,h=this.declaredInputs[n],g=o[h];s[h]=new vi(g&&g.currentValue,t,o===xt),e[r]=t}ki.ngInherit=!0;const ni="__ngSimpleChanges__";function us(e){return e[ni]||null}function bn(e){for(;Array.isArray(e);)e=e[0];return e}function Dr(e,t){return bn(t[e])}function Hn(e,t){return bn(t[e.index])}function ii(e,t){return e.data[t]}function Rr(e,t){return e[t]}function Nn(e,t){const n=t[e];return An(n)?n:n[0]}function fr(e){return 64==(64&e[2])}function or(e,t){return null==t?null:e[t]}function ar(e){e[18]=0}function Ei(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 yt={lFrame:Ps(null),bindingsEnabled:!0};function xr(){return yt.bindingsEnabled}function Ze(){return yt.lFrame.lView}function Wt(){return yt.lFrame.tView}function ps(e){return yt.lFrame.contextLView=e,e[8]}function ji(e){return yt.lFrame.contextLView=null,e}function In(){let e=Kr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Kr(){return yt.lFrame.currentTNode}function lr(e,t){const n=yt.lFrame;n.currentTNode=e,n.isParent=t}function gs(){return yt.lFrame.isParent}function Hi(){yt.lFrame.isParent=!1}function $n(){const e=yt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Cr(){return yt.lFrame.bindingIndex}function ai(){return yt.lFrame.bindingIndex++}function pr(e){const t=yt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ys(e,t){const n=yt.lFrame;n.bindingIndex=n.bindingRootIndex=e,$i(t)}function $i(e){yt.lFrame.currentDirectiveIndex=e}function Mi(e){const t=yt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Si(){return yt.lFrame.currentQueryIndex}function br(e){yt.lFrame.currentQueryIndex=e}function li(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Os(e,t,n){if(n&Te.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&Te.Host||(i=li(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=yt.lFrame=zi();return r.currentTNode=t,r.lView=e,!0}function ci(e){const t=zi(),n=e[1];yt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zi(){const e=yt.lFrame,t=null===e?null:e.child;return null===t?Ps(e):t}function Ps(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 Ti(){const e=yt.lFrame;return yt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Wi=Ti;function Gr(){const e=Ti();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 zn(){return yt.lFrame.selectedIndex}function M(e){yt.lFrame.selectedIndex=e}function a(){const e=yt.lFrame;return ii(e.tView,e.selectedIndex)}function c(){yt.lFrame.currentNamespace="svg"}function T(){!function N(){yt.lFrame.currentNamespace=null}()}function Fe(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:b,ngOnDestroy:O}=s;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),h&&((e.contentHooks||(e.contentHooks=[])).push(n,h),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,h)),g&&(e.viewHooks||(e.viewHooks=[])).push(-n,g),b&&((e.viewHooks||(e.viewHooks=[])).push(n,b),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,b)),null!=O&&(e.destroyHooks||(e.destroyHooks=[])).push(n,O)}}function ze(e,t,n){Qt(e,t,3,n)}function ut(e,t,n,r){(3&e[2])===n&&Qt(e,t,n,r)}function ft(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Qt(e,t,n,r){const s=r??-1,o=t.length-1;let h=0;for(let g=void 0!==r?65535&e[18]:0;g<o;g++)if("number"==typeof t[g+1]){if(h=t[g],null!=r&&h>=r)break}else t[g]<0&&(e[18]+=65536),(h<s||-1==s)&&(Kt(e,n,t,g),e[18]=(4294901760&e[18])+g+2),g++}function Kt(e,t,n,r){const i=n[r]<0,s=n[r+1],h=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(h)}finally{}}}else try{s.call(h)}finally{}}class Pt{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function I(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const s=n[r++],o=n[r++],h=n[r++];e.setAttribute(t,o,h,s)}else{const s=i,o=n[++r];Be(s)?e.setProperty(t,s,o):e.setAttribute(t,s,o),r++}}return r}function re(e){return 3===e||4===e||6===e}function Be(e){return 64===e.charCodeAt(0)}function Ke(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 i=t[r];"number"==typeof i?n=i:0===n||pt(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function pt(e,t,n,r,i){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const h=e[s++];if("number"==typeof h){if(h===t){o=-1;break}if(h>t){o=s-1;break}}}for(;s<e.length;){const h=e[s];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function Gt(e){return-1!==e}function Xt(e){return 32767&e}function qe(e,t){let n=function rn(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ht=!0;function ct(e){const t=ht;return ht=e,t}let Sn=0;const fn={};function wr(e,t){const n=Tn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ai(r.data,e),Ai(t,null),Ai(r.blueprint,null));const i=Mr(e,t),s=e.injectorIndex;if(Gt(i)){const o=Xt(i),h=qe(i,t),g=h[1].data;for(let b=0;b<8;b++)t[s+b]=h[o+b]|g[o+b]}return t[s+8]=i,s}function Ai(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Tn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Mr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=ko(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Zn(e,t,n){!function un(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(oe)&&(r=n[oe]),null==r&&(r=n[oe]=Sn++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Ds(e,t,n){if(n&Te.Optional||void 0!==e)return e;Y()}function _a(e,t,n,r){if(n&Te.Optional&&void 0===r&&(r=null),0==(n&(Te.Self|Te.Host))){const i=e[9],s=C(void 0);try{return i?i.get(t,r,n&Te.Optional):R(t,r,n&Te.Optional)}finally{C(s)}}return Ds(r,0,n)}function Lo(e,t,n,r=Te.Default,i){if(null!==e){if(1024&t[2]){const o=function No(e,t,n,r,i){let s=e,o=t;for(;null!==s&&null!==o&&1024&o[2]&&!(256&o[2]);){const h=kn(s,o,n,r|Te.Self,fn);if(h!==fn)return h;let g=s.parent;if(!g){const b=o[21];if(b){const O=b.get(n,fn,r);if(O!==fn)return O}g=ko(o),o=o[15]}s=g}return i}(e,t,n,r,fn);if(o!==fn)return o}const s=kn(e,t,n,r,fn);if(s!==fn)return s}return _a(t,n,r,i)}function kn(e,t,n,r,i){const s=function no(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(oe)?e[oe]:void 0;return"number"==typeof t?t>=0?255&t:$u:t}(n);if("function"==typeof s){if(!Os(t,e,r))return r&Te.Host?Ds(i,0,r):_a(t,n,r,i);try{const o=s(r);if(null!=o||r&Te.Optional)return o;Y()}finally{Wi()}}else if("number"==typeof s){let o=null,h=Tn(e,t),g=-1,b=r&Te.Host?t[16][6]:null;for((-1===h||r&Te.SkipSelf)&&(g=-1===h?Mr(e,t):t[h+8],-1!==g&&va(r,!1)?(o=t[1],h=Xt(g),t=qe(g,t)):h=-1);-1!==h;){const O=t[1];if(ya(s,h,O.data)){const V=ml(h,t,n,o,r,b);if(V!==fn)return V}g=t[h+8],-1!==g&&va(r,t[1].data[h+8]===b)&&ya(s,h,t)?(o=O,h=Xt(g),t=qe(g,t)):h=-1}}return i}function ml(e,t,n,r,i,s){const o=t[1],h=o.data[e+8],O=Rs(h,o,n,null==r?nr(h)&&ht:r!=o&&0!=(3&h.type),i&Te.Host&&s===h);return null!==O?Yi(t,o,O,h):fn}function Rs(e,t,n,r,i){const s=e.providerIndexes,o=t.data,h=1048575&s,g=e.directiveStart,O=s>>20,pe=i?h+O:e.directiveEnd;for(let xe=r?h:h+O;xe<pe;xe++){const Ge=o[xe];if(xe<g&&n===Ge||xe>=g&&Ge.type===n)return xe}if(i){const xe=o[g];if(xe&&qn(xe)&&xe.type===n)return g}return null}function Yi(e,t,n,r){let i=e[n];const s=t.data;if(function cn(e){return e instanceof Pt}(i)){const o=i;o.resolving&&function tt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new de(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Pe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():se(e)}(s[n]));const h=ct(o.canSeeViewProviders);o.resolving=!0;const g=o.injectImpl?C(o.injectImpl):null;Os(e,r,Te.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function le(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=$r(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==g&&C(g),ct(h),o.resolving=!1,Wi()}}return i}function ya(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function va(e,t){return!(e&Te.Self||e&Te.Host&&t)}class Zi{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Lo(this._tNode,this._lView,t,r,n)}}function $u(){return new Zi(In(),Ze())}function _l(e){return ve(()=>{const t=e.prototype.constructor,n=t[we]||Fo(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[we]||Fo(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Fo(e){return Me(e)?()=>{const t=Fo(j(e));return t&&t()}:sr(e)}function ko(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Es(e){return function vs(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 i=0;for(;i<r;){const s=n[i];if(re(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(In(),e)}const Qi="__parameters__";function Xi(e,t,n){return ve(()=>{const r=function Da(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return h.annotation=o,h;function h(g,b,O){const V=g.hasOwnProperty(Qi)?g[Qi]:Object.defineProperty(g,Qi,{value:[]})[Qi];for(;V.length<=O;)V.push(null);return(V[O]=V[O]||[]).push(o),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class Dn{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=ee({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function gr(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)),gr(r,t)):t!==e&&t.push(r)}return t}function Yr(e,t){e.forEach(n=>Array.isArray(n)?Yr(n,t):t(n))}function Ea(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function u(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function J(e,t,n){let r=ot(e,t);return r>=0?e[1|r]=n:(r=~r,function y(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function je(e,t){const n=ot(e,t);if(n>=0)return e[1|n]}function ot(e,t){return function mt(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<<n];if(t===o)return s<<n;o>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const Ho={},El="__NG_DI_FLAG__",ba="ngTempTokenPath",fm=/\n/gm,Qu="__source";let $o;function so(e){const t=$o;return $o=e,t}function gm(e,t=Te.Default){if(void 0===$o)throw new de(-203,!1);return null===$o?R(e,void 0,t):$o.get(e,t&Te.Optional?null:void 0,t)}function Wn(e,t=Te.Default){return(function S(){return rt}()||gm)(j(e),t)}function Ju(e,t=Te.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),Wn(e,t)}function Cl(e){const t=[];for(let n=0;n<e.length;n++){const r=j(e[n]);if(Array.isArray(r)){if(0===r.length)throw new de(900,!1);let i,s=Te.Default;for(let o=0;o<r.length;o++){const h=r[o],g=mm(h);"number"==typeof g?-1===g?i=h.token:s|=g:i=h}t.push(Wn(i,s))}else t.push(Wn(r))}return t}function zo(e,t){return e[El]=t,e.prototype[El]=t,e}function mm(e){return e[El]}const wa=zo(Xi("Inject",e=>({token:e})),-1),Wo=zo(Xi("Optional"),8),Ko=zo(Xi("SkipSelf"),4);var Ii=(()=>((Ii=Ii||{})[Ii.Important=1]="Important",Ii[Ii.DashCase=2]="DashCase",Ii))();const Sl=new Map;let Lm=0;const Al="__ngContext__";function ur(e,t){An(t)?(e[Al]=t[20],function Nm(e){Sl.set(e[20],e)}(t)):e[Al]=t}function Ol(e,t){return undefined(e,t)}function Qo(e){const t=e[3];return Gn(t)?t[3]:t}function Pl(e){return yd(e[13])}function Rl(e){return yd(e[4])}function yd(e){for(;null!==e&&!Gn(e);)e=e[4];return e}function ao(e,t,n,r,i){if(null!=r){let s,o=!1;Gn(r)?s=r:An(r)&&(o=!0,r=r[0]);const h=bn(r);0===e&&null!==n?null==i?wd(t,n,h):Fs(t,n,h,i||null,!0):1===e&&null!==n?Fs(t,n,h,i||null,!0):2===e?function Ul(e,t,n){const r=Ta(e,t);r&&function i_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,h,o):3===e&&t.destroyNode(h),null!=s&&function a_(e,t,n,r,i){const s=n[7];s!==bn(n)&&ao(t,e,r,s,i);for(let h=10;h<n.length;h++){const g=n[h];Xo(g[1],g,e,t,r,s)}}(t,e,s,n,i)}}function Ll(e,t,n){return e.createElement(t,n)}function Dd(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,Ei(i,-1)),n.splice(r,1)}function Fl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Dd(i,r),t>0&&(e[n-1][4]=r[4]);const s=jo(e,10+t);!function Qm(e,t){Xo(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Ed(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Xo(e,t,n,3,null,null),function qm(e){let t=e[13];if(!t)return Nl(e[1],e);for(;t;){let n=null;if(An(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)An(t)&&Nl(t[1],t),t=t[3];null===t&&(t=e),An(t)&&Nl(t[1],t),n=t&&t[4]}t=n}}(t)}}function Nl(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function r_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Pt)){const s=n[r+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const h=i[s[o]],g=s[o+1];try{g.call(h)}finally{}}else try{s.call(i)}finally{}}}}(e,t),function n_(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const o=n[s+1],h="function"==typeof o?o(t):bn(t[o]),g=r[i=n[s+2]],b=n[s+3];"boolean"==typeof b?h.removeEventListener(n[s],g,b):b>=0?r[i=b]():r[i=-b].unsubscribe(),s+=2}else{const o=r[i=n[s+1]];n[s].call(o)}if(null!==r){for(let s=i+1;s<r.length;s++)(0,r[s])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Gn(t[3])){n!==t[3]&&Dd(n,t);const r=t[19];null!==r&&r.detachView(e)}!function km(e){Sl.delete(e[20])}(t)}}function Cd(e,t,n){return function bd(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 i=e.data[r.directiveStart].encapsulation;if(i===be.None||i===be.Emulated)return null}return Hn(r,n)}(e,t.parent,n)}function Fs(e,t,n,r,i){e.insertBefore(t,n,r,i)}function wd(e,t,n){e.appendChild(t,n)}function Md(e,t,n,r,i){null!==r?Fs(e,t,n,r,i):wd(e,t,n)}function Ta(e,t){return e.parentNode(t)}function Sd(e,t,n){return Ad(e,t,n)}let Oa,$l,Pa,Ad=function Td(e,t,n){return 40&e.type?Hn(e,n):null};function Aa(e,t,n,r){const i=Cd(e,r,t),s=t[11],h=Sd(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)Md(s,i,n[g],h,!1);else Md(s,i,n,h,!1)}function Ia(e,t){if(null!==t){const n=t.type;if(3&n)return Hn(t,e);if(4&n)return Bl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ia(e,r);{const i=e[t.index];return Gn(i)?Bl(-1,i):bn(i)}}if(32&n)return Ol(t,e)()||bn(e[t.index]);{const r=Od(e,t);return null!==r?Array.isArray(r)?r[0]:Ia(Qo(e[16]),r):Ia(e,t.next)}}return null}function Od(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Bl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return Ia(r,i)}return t[7]}function Vl(e,t,n,r,i,s,o){for(;null!=n;){const h=r[n.index],g=n.type;if(o&&0===t&&(h&&ur(bn(h),r),n.flags|=4),64!=(64&n.flags))if(8&g)Vl(e,t,n.child,r,i,s,!1),ao(t,e,i,h,s);else if(32&g){const b=Ol(n,r);let O;for(;O=b();)ao(t,e,i,O,s);ao(t,e,i,h,s)}else 16&g?Pd(e,t,r,n,i,s):ao(t,e,i,h,s);n=o?n.projectionNext:n.next}}function Xo(e,t,n,r,i,s){Vl(n,r,e.firstChild,t,i,s,!1)}function Pd(e,t,n,r,i,s){const o=n[16],g=o[6].projection[r.projection];if(Array.isArray(g))for(let b=0;b<g.length;b++)ao(t,e,i,g[b],s);else Vl(e,t,g,o[3],i,s,!0)}function Rd(e,t,n){e.setAttribute(t,"style",n)}function jl(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ns(e){return function Hl(){if(void 0===Oa&&(Oa=null,Re.trustedTypes))try{Oa=Re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Oa}()?.createHTML(e)||e}function h_(e){$l=e}function Ld(e){return function zl(){if(void 0===Pa&&(Pa=null,Re.trustedTypes))try{Pa=Re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pa}()?.createHTML(e)||e}class ks{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class f_ extends ks{getTypeName(){return"HTML"}}class p_ extends ks{getTypeName(){return"Style"}}class g_ extends ks{getTypeName(){return"Script"}}class m_ extends ks{getTypeName(){return"URL"}}class __ extends ks{getTypeName(){return"ResourceURL"}}function es(e){return e instanceof ks?e.changingThisBreaksApplicationSecurity:e}function lo(e,t){const n=function y_(e){return e instanceof ks&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function v_(e){return new f_(e)}function D_(e){return new p_(e)}function E_(e){return new g_(e)}function C_(e){return new m_(e)}function b_(e){return new __(e)}class w_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ns(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class M_{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=Ns(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ns(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const o=n.item(i).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 T_=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Ra(e){return(e=String(e)).match(T_)?e:"unsafe:"+e}function ts(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Jo(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Bd=ts("area,br,col,hr,img,wbr"),Ud=ts("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Vd=ts("rp,rt"),Wl=Jo(Bd,Jo(Ud,ts("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")),Jo(Vd,ts("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")),Jo(Vd,Ud)),Kl=ts("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jd=Jo(Kl,ts("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ts("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")),A_=ts("script,style,template");class I_{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 i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Wl.hasOwnProperty(n))return this.sanitizedSomething=!0,!A_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),o=s.name,h=o.toLowerCase();if(!jd.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let g=s.value;Kl[h]&&(g=Ra(g)),this.buf.push(" ",o,'="',Hd(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Wl.hasOwnProperty(n)&&!Bd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Hd(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const O_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,P_=/([^\#-~ |!])/g;function Hd(e){return e.replace(/&/g,"&amp;").replace(O_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(P_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let xa;function $d(e,t){let n=null;try{xa=xa||function kd(e){const t=new M_(e);return function S_(){try{return!!(new window.DOMParser).parseFromString(Ns(""),"text/html")}catch{return!1}}()?new w_(t):t}(e);let r=t?String(t):"";n=xa.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=xa.getInertBodyElement(r)}while(r!==s);return Ns((new I_).sanitizeChildren(Gl(n)||n))}finally{if(n){const r=Gl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Gl(e){return"content"in e&&function R_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Un=(()=>((Un=Un||{})[Un.NONE=0]="NONE",Un[Un.HTML=1]="HTML",Un[Un.STYLE=2]="STYLE",Un[Un.SCRIPT=3]="SCRIPT",Un[Un.URL=4]="URL",Un[Un.RESOURCE_URL=5]="RESOURCE_URL",Un))();function zd(e){const t=qo();return t?Ld(t.sanitize(Un.HTML,e)||""):lo(e,"HTML")?Ld(es(e)):$d(function xd(){return void 0!==$l?$l:typeof document<"u"?document:void 0}(),se(e))}function Yl(e){const t=qo();return t?t.sanitize(Un.URL,e)||"":lo(e,"URL")?es(e):Ra(se(e))}function qo(){const e=Ze();return e&&e[12]}const Zl=new Dn("ENVIRONMENT_INITIALIZER"),Kd=new Dn("INJECTOR",-1),Gd=new Dn("INJECTOR_DEF_TYPES");class Yd{get(t,n=Ho){if(n===Ho){const r=new Error(`NullInjectorError: No provider for ${X(t)}!`);throw r.name="NullInjectorError",r}return n}}function U_(...e){return{\u0275providers:Zd(0,e)}}function Zd(e,...t){const n=[],r=new Set;let i;return Yr(t,s=>{const o=s;Ql(o,n,[],r)&&(i||(i=[]),i.push(o))}),void 0!==i&&Qd(i,n),n}function Qd(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];Yr(i,s=>{t.push(s)})}}function Ql(e,t,n,r){if(!(e=j(e)))return!1;let i=null,s=vt(e);const o=!s&&jt(e);if(s||o){if(o&&!o.standalone)return!1;i=e}else{const g=e.ngModule;if(s=vt(g),!s)return!1;i=g}const h=r.has(i);if(o){if(h)return!1;if(r.add(i),o.dependencies){const g="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const b of g)Ql(b,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!h){let b;r.add(i);try{Yr(s.imports,O=>{Ql(O,t,n,r)&&(b||(b=[]),b.push(O))})}finally{}void 0!==b&&Qd(b,t)}if(!h){const b=sr(i)||(()=>new i);t.push({provide:i,useFactory:b,deps:Qe},{provide:Gd,useValue:i,multi:!0},{provide:Zl,useValue:()=>Wn(i),multi:!0})}const g=s.providers;null==g||h||Yr(g,O=>{t.push(O)})}}return i!==e&&void 0!==e.providers}const V_=U({provide:String,useValue:U});function Xl(e){return null!==e&&"object"==typeof e&&V_ in e}function Bs(e){return"function"==typeof e}const Jl=new Dn("Set Injector scope."),La={},H_={};let ql;function Fa(){return void 0===ql&&(ql=new Yd),ql}class Us{}class qd extends Us{constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,tc(t,o=>this.processProvider(o)),this.records.set(Kd,co(void 0,this)),i.has("environment")&&this.records.set(Us,co(void 0,this));const s=this.records.get(Jl);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Gd.multi,Qe,Te.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=so(this),r=C(void 0);try{return t()}finally{so(n),C(r)}}get(t,n=Ho,r=Te.Default){this.assertNotDestroyed();const i=so(this),s=C(void 0);try{if(!(r&Te.SkipSelf)){let h=this.records.get(t);if(void 0===h){const g=function G_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Dn}(t)&&Ye(t);h=g&&this.injectableDefInScope(g)?co(ec(t),La):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&Te.Self?Fa():this.parent).get(t,n=r&Te.Optional&&n===Ho?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[ba]=o[ba]||[]).unshift(X(t)),i)throw o;return function _m(e,t,n,r){const i=e[ba];throw t[Qu]&&i.unshift(t[Qu]),e.message=function ym(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=X(t);if(Array.isArray(t))i=t.map(X).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let h=t[o];s.push(o+":"+("string"==typeof h?JSON.stringify(h):X(h)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(fm,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[ba]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{C(s),so(i)}}resolveInjectorInitializers(){const t=so(this),n=C(void 0);try{const r=this.get(Zl.multi,Qe,Te.Self);for(const i of r)i()}finally{so(t),C(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(X(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new de(205,!1)}processProvider(t){let n=Bs(t=j(t))?t:j(t&&t.provide);const r=function z_(e){return Xl(e)?co(void 0,e.useValue):co(eh(e),La)}(t);if(Bs(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=co(void 0,La,!0),i.factory=()=>Cl(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===La&&(n.value=H_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function K_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=j(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function ec(e){const t=Ye(e),n=null!==t?t.factory:sr(e);if(null!==n)return n;if(e instanceof Dn)throw new de(204,!1);if(e instanceof Function)return function $_(e){const t=e.length;if(t>0)throw u(t,"?"),new de(204,!1);const n=function at(e){const t=e&&(e[tn]||e[Rt]);if(t){const n=function wt(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 de(204,!1)}function eh(e,t,n){let r;if(Bs(e)){const i=j(e);return sr(i)||ec(i)}if(Xl(e))r=()=>j(e.useValue);else if(function Jd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Cl(e.deps||[]));else if(function Xd(e){return!(!e||!e.useExisting)}(e))r=()=>Wn(j(e.useExisting));else{const i=j(e&&(e.useClass||e.provide));if(!function W_(e){return!!e.deps}(e))return sr(i)||ec(i);r=()=>new i(...Cl(e.deps))}return r}function co(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Y_(e){return!!e.\u0275providers}function tc(e,t){for(const n of e)Array.isArray(n)?tc(n,t):Y_(n)?tc(n.\u0275providers,t):t(n)}class th{}class X_{resolveComponentFactory(t){throw function Q_(e){const t=Error(`No component factory found for ${X(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ea=(()=>{class e{}return e.NULL=new X_,e})();function J_(){return uo(In(),Ze())}function uo(e,t){return new ta(Hn(e,t))}let ta=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=J_,e})();function q_(e){return e instanceof ta?e.nativeElement:e}class rh{}let ey=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function ty(){const e=Ze(),n=Nn(In().index,e);return(An(n)?n:e)[11]}(),e})(),ny=(()=>{class e{}return e.\u0275prov=ee({token:e,providedIn:"root",factory:()=>null}),e})();class ih{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ry=new ih("14.3.0"),nc={};function ic(e){return e.ngOriginalError}class na{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ic(t);for(;n&&ic(n);)n=ic(n);return n||null}}function sh(e){return e.ownerDocument.defaultView}function ns(e){return e instanceof Function?e():e}function ah(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const lh="ng-template";function fy(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==ah(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function ch(e){return 4===e.type&&e.value!==lh}function py(e,t,n){return t===(4!==e.type||n?e.value:lh)}function gy(e,t,n){let r=4;const i=e.attrs||[],s=function yy(e){for(let t=0;t<e.length;t++)if(re(e[t]))return t;return e.length}(i);let o=!1;for(let h=0;h<t.length;h++){const g=t[h];if("number"!=typeof g){if(!o)if(4&r){if(r=2|1&r,""!==g&&!py(e,g,n)||""===g&&1===t.length){if(di(r))return!1;o=!0}}else{const b=8&r?g:t[++h];if(8&r&&null!==e.attrs){if(!fy(e.attrs,b,n)){if(di(r))return!1;o=!0}continue}const V=my(8&r?"class":g,i,ch(e),n);if(-1===V){if(di(r))return!1;o=!0;continue}if(""!==b){let pe;pe=V>s?"":i[V+1].toLowerCase();const xe=8&r?pe:null;if(xe&&-1!==ah(xe,b,0)||2&r&&b!==pe){if(di(r))return!1;o=!0}}}}else{if(!o&&!di(r)&&!di(g))return!1;if(o&&di(g))continue;o=!1,r=g|1&r}}return di(r)||o}function di(e){return 0==(1&e)}function my(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const o=t[i];if(o===e)return i;if(3===o||6===o)s=!0;else{if(1===o||2===o){let h=t[++i];for(;"string"==typeof h;)h=t[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=s?1:2}return-1}return function vy(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 uh(e,t,n=!1){for(let r=0;r<t.length;r++)if(gy(e,t[r],n))return!0;return!1}function Dy(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function dh(e,t){return e?":not("+t.trim()+")":t}function Ey(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const h=e[++n];i+="["+o+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!di(o)&&(t+=dh(s,i),i=""),r=o,s=s||!di(r);n++}return""!==i&&(t+=dh(s,i)),t}const Zt={};function hh(e){fh(Wt(),Ze(),zn()+e,!1)}function fh(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&ze(t,s,n)}else{const s=e.preOrderHooks;null!==s&&ut(t,s,0,n)}M(n)}function _h(e,t=null,n=null,r){const i=yh(e,t,n,r);return i.resolveInjectorInitializers(),i}function yh(e,t=null,n=null,r,i=new Set){const s=[n||Qe,U_(e)];return r=r||("object"==typeof e?void 0:X(e)),new qd(s,t||Fa(),r||null,i)}let Vs=(()=>{class e{static create(n,r){if(Array.isArray(n))return _h({name:""},r,n,"");{const i=n.name??"";return _h({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Ho,e.NULL=new Yd,e.\u0275prov=ee({token:e,providedIn:"any",factory:()=>Wn(Kd)}),e.__NG_ELEMENT_ID__=-1,e})();function po(e,t=Te.Default){const n=Ze();return null===n?Wn(e,t):Lo(In(),n,j(e),t)}function Mh(){throw new Error("invalid")}function ka(e,t){return e<<17|t<<2}function hi(e){return e>>17&32767}function cc(e){return 2|e}function rs(e){return(131068&e)>>2}function uc(e,t){return-131069&e|t<<2}function dc(e){return 1|e}function Nh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const o=e.data[s];br(i),o.contentQueries(2,t[s],s)}}}function Va(e,t,n,r,i,s,o,h,g,b,O){const V=t.blueprint.slice();return V[0]=i,V[2]=76|r,(null!==O||e&&1024&e[2])&&(V[2]|=1024),ar(V),V[3]=V[15]=e,V[8]=n,V[10]=o||e&&e[10],V[11]=h||e&&e[11],V[12]=g||e&&e[12]||null,V[9]=b||e&&e[9]||null,V[6]=s,V[20]=function Fm(){return Lm++}(),V[21]=O,V[16]=2==t.type?e[16]:V,V}function go(e,t,n,r,i){let s=e.data[t];if(null===s)s=function vc(e,t,n,r,i){const s=Kr(),o=gs(),g=e.data[t]=function rv(e,t,n,r,i,s){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:i,attrs:s,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?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==s&&(o?null==s.child&&null!==g.parent&&(s.child=g):null===s.next&&(s.next=g)),g}(e,t,n,r,i),function to(){return yt.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const o=function si(){const e=yt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return lr(s,!0),s}function mo(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Dc(e,t,n){ci(t);try{const r=e.viewQuery;null!==r&&Ac(1,r,n);const i=e.template;null!==i&&kh(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Nh(e,t),e.staticViewQueries&&Ac(2,e.viewQuery,n);const s=e.components;null!==s&&function ev(e,t){for(let n=0;n<t.length;n++)vv(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Gr()}}function ja(e,t,n,r){const i=t[2];if(128!=(128&i)){ci(t);try{ar(t),function Is(e){return yt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&kh(e,t,n,2,r);const o=3==(3&i);if(o){const b=e.preOrderCheckHooks;null!==b&&ze(t,b,null)}else{const b=e.preOrderHooks;null!==b&&ut(t,b,0,null),ft(t,0)}if(function _v(e){for(let t=Pl(e);null!==t;t=Rl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(512&i[2])&&Ei(s,1),i[2]|=512}}}(t),function mv(e){for(let t=Pl(e);null!==t;t=Rl(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];fr(r)&&ja(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Nh(e,t),o){const b=e.contentCheckHooks;null!==b&&ze(t,b)}else{const b=e.contentHooks;null!==b&&ut(t,b,1),ft(t,1)}!function Jy(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)M(~i);else{const s=i,o=n[++r],h=n[++r];ys(o,s),h(2,t[s])}}}finally{M(-1)}}(e,t);const h=e.components;null!==h&&function qy(e,t){for(let n=0;n<t.length;n++)yv(e,t[n])}(t,h);const g=e.viewQuery;if(null!==g&&Ac(2,g,r),o){const b=e.viewCheckHooks;null!==b&&ze(t,b)}else{const b=e.viewHooks;null!==b&&ut(t,b,2),ft(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Ei(t[3],-1))}finally{Gr()}}}function kh(e,t,n,r,i){const s=zn(),o=2&r;try{M(-1),o&&t.length>22&&fh(e,t,22,!1),n(r,i)}finally{M(s)}}function Bh(e,t,n){if(Ur(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const o=e.data[s];o.contentQueries&&o.contentQueries(1,n[s],s)}}}function Ec(e,t,n){!xr()||(function lv(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||wr(n,t),ur(r,t);const o=n.initialInputs;for(let h=i;h<s;h++){const g=e.data[h],b=qn(g);b&&fv(t,n,g);const O=Yi(t,e,h,n);ur(O,t),null!==o&&pv(0,h-i,O,g,0,o),b&&(Nn(n.index,t)[8]=O)}}(e,t,n,Hn(n,t)),128==(128&n.flags)&&function cv(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,o=function wi(){return yt.lFrame.currentDirectiveIndex}();try{M(s);for(let h=r;h<i;h++){const g=e.data[h],b=t[h];$i(h),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&Wh(g,b)}}finally{M(-1),$i(o)}}(e,t,n))}function Cc(e,t,n=Hn){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],h=-1===o?n(t,e):e[o];e[i++]=h}}}function Uh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=bc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function bc(e,t,n,r,i,s,o,h,g,b){const O=22+r,V=O+i,pe=function tv(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Zt);return n}(O,V),xe="function"==typeof b?b():b;return pe[1]={type:e,blueprint:pe,template:n,queries:null,viewQuery:h,declTNode:t,data:pe.slice().fill(null,O),bindingStartIndex:O,expandoStartIndex:V,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 s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:g,consts:xe,incompleteFirstPass:!1}}function Vh(e,t,n,r){const i=Qh(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Xh(e).push(r,i.length-1))}function jh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Hh(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,o=[];let h=null,g=null;for(let b=t.directiveStart;b<r;b++){const O=i[b],V=O.inputs,pe=null===s||ch(t)?null:gv(V,s);o.push(pe),h=jh(V,b,h),g=jh(O.outputs,b,g)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=16),h.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=h,t.outputs=g}function Nr(e,t,n,r,i,s,o,h){const g=Hn(t,n);let O,b=t.inputs;!h&&null!=b&&(O=b[r])?(Ic(e,n,O,r,i),nr(t)&&$h(n,t.index)):3&t.type&&(r=function iv(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=o?o(i,t.value||"",r):i,s.setProperty(g,r,i))}function $h(e,t){const n=Nn(t,e);16&n[2]||(n[2]|=32)}function wc(e,t,n,r){let i=!1;if(xr()){const s=function uv(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];uh(n,o.selectors,!1)&&(i||(i=[]),Zn(wr(n,t),e,o.type),qn(o)?(Kh(e,n),i.unshift(o)):i.push(o))}return i}(e,t,n),o=null===r?null:{"":-1};if(null!==s){i=!0,Gh(n,e.data.length,s.length);for(let O=0;O<s.length;O++){const V=s[O];V.providersResolver&&V.providersResolver(V)}let h=!1,g=!1,b=mo(e,t,s.length,null);for(let O=0;O<s.length;O++){const V=s[O];n.mergedAttrs=Ke(n.mergedAttrs,V.hostAttrs),Yh(e,n,t,b,V),hv(b,V,o),null!==V.contentQueries&&(n.flags|=8),(null!==V.hostBindings||null!==V.hostAttrs||0!==V.hostVars)&&(n.flags|=128);const pe=V.type.prototype;!h&&(pe.ngOnChanges||pe.ngOnInit||pe.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),h=!0),!g&&(pe.ngOnChanges||pe.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),g=!0),b++}Hh(e,n)}o&&function dv(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new de(-301,!1);r.push(t[i],s)}}}(n,r,o)}return n.mergedAttrs=Ke(n.mergedAttrs,n.attrs),i}function zh(e,t,n,r,i,s){const o=s.hostBindings;if(o){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const g=~t.index;(function av(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=g&&h.push(g),h.push(r,i,o)}}function Wh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Kh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function hv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;qn(t)&&(n[""]=e)}}function Gh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Yh(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=sr(i.type)),o=new Pt(s,qn(i),po);e.blueprint[r]=o,n[r]=o,zh(e,t,0,r,mo(e,n,i.hostVars,Zt),i)}function fv(e,t,n){const r=Hn(t,e),i=Uh(n),s=e[10],o=Ha(e,Va(e,i,null,n.onPush?32:16,r,t,s,s.createRenderer(r,n),null,null,null));e[t.index]=o}function Oi(e,t,n,r,i,s){const o=Hn(e,t);!function Mc(e,t,n,r,i,s,o){if(null==s)e.removeAttribute(t,i,n);else{const h=null==o?se(s):o(s,r||"",i);e.setAttribute(t,i,h,n)}}(t[11],o,s,e.value,n,r,i)}function pv(e,t,n,r,i,s){const o=s[t];if(null!==o){const h=r.setInput;for(let g=0;g<o.length;){const b=o[g++],O=o[g++],V=o[g++];null!==h?r.setInput(n,V,b,O):n[O]=V}}}function gv(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Zh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function yv(e,t){const n=Nn(t,e);if(fr(n)){const r=n[1];48&n[2]?ja(r,n,r.template,n[8]):n[5]>0&&Sc(n)}}function Sc(e){for(let r=Pl(e);null!==r;r=Rl(r))for(let i=10;i<r.length;i++){const s=r[i];if(fr(s))if(512&s[2]){const o=s[1];ja(o,s,o.template,s[8])}else s[5]>0&&Sc(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Nn(n[r],e);fr(i)&&i[5]>0&&Sc(i)}}function vv(e,t){const n=Nn(t,e),r=n[1];(function Dv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Dc(r,n,n[8])}function Ha(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Tc(e){for(;e;){e[2]|=32;const t=Qo(e);if(ti(e)&&!t)return e;e=t}return null}function $a(e,t,n,r=!0){const i=t[10];i.begin&&i.begin();try{ja(e,t,e.template,n)}catch(o){throw r&&qh(t,o),o}finally{i.end&&i.end()}}function Ac(e,t,n){br(0),t(e,n)}function Qh(e){return e[7]||(e[7]=[])}function Xh(e){return e.cleanup||(e.cleanup=[])}function Jh(e,t,n){return(null===e||qn(e))&&(n=function Yn(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function qh(e,t){const n=e[9],r=n?n.get(na,null):null;r&&r.handleError(t)}function Ic(e,t,n,r,i){for(let s=0;s<n.length;){const o=n[s++],h=n[s++],g=t[o],b=e.data[o];null!==b.setInput?b.setInput(g,i,r,h):g[h]=i}}function is(e,t,n){const r=Dr(t,e);!function vd(e,t,n){e.setValue(t,n)}(e[11],r,n)}function za(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){const h=t[o];"number"==typeof h?s=h:1==s?i=Q(i,h):2==s&&(r=Q(r,h+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Wa(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(bn(s)),Gn(s))for(let h=10;h<s.length;h++){const g=s[h],b=g[1].firstChild;null!==b&&Wa(g[1],g,b,r)}const o=n.type;if(8&o)Wa(e,t,n.child,r);else if(32&o){const h=Ol(n,t);let g;for(;g=h();)r.push(g)}else if(16&o){const h=Od(t,n);if(Array.isArray(h))r.push(...h);else{const g=Qo(t[16]);Wa(g[1],g,h,r,!0)}}n=i?n.projectionNext:n.next}return r}class ra{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 Wa(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Gn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Fl(t,r),jo(n,r))}this._attachedToViewContainer=!1}Ed(this._lView[1],this._lView)}onDestroy(t){Vh(this._lView[1],this._lView,null,t)}markForCheck(){Tc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){$a(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new de(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Jm(e,t){Xo(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new de(902,!1);this._appRef=t}}class Ev extends ra{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;$a(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Oc extends ea{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=jt(t);return new ia(n,this.ngModule)}}function ef(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class bv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,nc,r);return i!==nc||n===nc?i:this.parentInjector.get(t,n,r)}}class ia extends th{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Cy(e){return e.map(Ey).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return ef(this.componentDef.inputs)}get outputs(){return ef(this.componentDef.outputs)}create(t,n,r,i){let s=(i=i||this.ngModule)instanceof Us?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const o=s?new bv(t,s):t,h=o.get(rh,null);if(null===h)throw new de(407,!1);const g=o.get(ny,null),b=h.createRenderer(null,this.componentDef),O=this.componentDef.selectors[0][0]||"div",V=r?function nv(e,t,n){return e.selectRootElement(t,n===be.ShadowDom)}(b,r,this.componentDef.encapsulation):Ll(b,O,function Cv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(O)),pe=this.componentDef.onPush?288:272,xe=bc(0,null,null,1,0,null,null,null,null,null),Ge=Va(null,xe,null,pe,null,null,h,b,g,o,null);let st,dt;ci(Ge);try{const Dt=function Sv(e,t,n,r,i,s){const o=n[1];n[22]=e;const g=go(o,22,2,"#host",null),b=g.mergedAttrs=t.hostAttrs;null!==b&&(za(g,b,!0),null!==e&&(I(i,e,b),null!==g.classes&&jl(i,e,g.classes),null!==g.styles&&Rd(i,e,g.styles)));const O=r.createRenderer(e,t),V=Va(n,Uh(t),null,t.onPush?32:16,n[22],g,r,O,s||null,null,null);return o.firstCreatePass&&(Zn(wr(g,n),o,t.type),Kh(o,g),Gh(g,n.length,1)),Ha(n,V),n[22]=V}(V,this.componentDef,Ge,h,b);if(V)if(r)I(b,V,["ng-version",ry.full]);else{const{attrs:Ft,classes:Xe}=function by(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!di(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Ft&&I(b,V,Ft),Xe&&Xe.length>0&&jl(b,V,Xe.join(" "))}if(dt=ii(xe,22),void 0!==n){const Ft=dt.projection=[];for(let Xe=0;Xe<this.ngContentSelectors.length;Xe++){const Ut=n[Xe];Ft.push(null!=Ut?Array.from(Ut):null)}}st=function Tv(e,t,n,r){const i=n[1],s=function ov(e,t,n){const r=In();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Yh(e,r,t,mo(e,t,1,null),n),Hh(e,r));const i=Yi(t,e,r.directiveStart,r);ur(i,t);const s=Hn(r,t);return s&&ur(s,t),i}(i,n,t);if(e[8]=n[8]=s,null!==r)for(const h of r)h(s,t);if(t.contentQueries){const h=In();t.contentQueries(1,s,h.directiveStart)}const o=In();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(M(o.index),zh(n[1],o,0,o.directiveStart,o.directiveEnd,t),Wh(t,s)),s}(Dt,this.componentDef,Ge,[Av]),Dc(xe,Ge,null)}finally{Gr()}return new Mv(this.componentType,st,uo(dt,Ge),Ge,dt)}}class Mv extends class Z_{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new Ev(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const s=this._rootLView;Ic(s[1],s,i,t,n),$h(s,this._tNode.index)}}get injector(){return new Zi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Av(){const e=In();Fe(Ze()[1],e)}function Pc(e){let t=function tf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(qn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new de(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const o=e;o.inputs=Rc(e.inputs),o.declaredInputs=Rc(e.declaredInputs),o.outputs=Rc(e.outputs);const h=i.hostBindings;h&&Rv(e,h);const g=i.viewQuery,b=i.contentQueries;if(g&&Ov(e,g),b&&Pv(e,b),ie(e.inputs,i.inputs),ie(e.declaredInputs,i.declaredInputs),ie(e.outputs,i.outputs),qn(i)&&i.data.animation){const O=e.data;O.animation=(O.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o<s.length;o++){const h=s[o];h&&h.ngInherit&&h(e),h===Pc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Iv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Ke(i.hostAttrs,n=Ke(n,i.hostAttrs))}}(r)}function Rc(e){return e===xt?{}:e===Qe?[]:e}function Ov(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Pv(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function Rv(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let Ka=null;function js(){if(!Ka){const e=Re.Symbol;if(e&&e.iterator)Ka=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&&(Ka=r)}}}return Ka}function sa(e){return!!xc(e)&&(Array.isArray(e)||!(e instanceof Map)&&js()in e)}function xc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Pi(e,t,n){return e[t]=n}function dr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Hs(e,t,n,r){const i=dr(e,t,n);return dr(e,t+1,r)||i}function Lc(e,t,n,r){const i=Ze();return dr(i,ai(),t)&&(Wt(),Oi(a(),i,e,t,n,r)),Lc}function yo(e,t,n,r){return dr(e,ai(),n)?t+se(n)+r:Zt}function vo(e,t,n,r,i,s){const h=Hs(e,Cr(),n,i);return pr(2),h?t+se(n)+r+se(i)+s:Zt}function Do(e,t,n,r,i,s,o,h){const b=function Ga(e,t,n,r,i){const s=Hs(e,t,n,r);return dr(e,t+2,i)||s}(e,Cr(),n,i,o);return pr(3),b?t+se(n)+r+se(i)+s+se(o)+h:Zt}function Eo(e,t,n,r,i,s,o,h,g,b){const V=function Zr(e,t,n,r,i,s){const o=Hs(e,t,n,r);return Hs(e,t+2,i,s)||o}(e,Cr(),n,i,o,g);return pr(4),V?t+se(n)+r+se(i)+s+se(o)+h+se(g)+b:Zt}function ff(e,t,n,r,i,s,o,h){const g=Ze(),b=Wt(),O=e+22,V=b.firstCreatePass?function Vv(e,t,n,r,i,s,o,h,g){const b=t.consts,O=go(t,e,4,o||null,or(b,h));wc(t,n,O,or(b,g)),Fe(t,O);const V=O.tViews=bc(2,O,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,b);return null!==t.queries&&(t.queries.template(t,O),V.queries=t.queries.embeddedTView(O)),O}(O,b,g,t,n,r,i,s,o):b.data[O];lr(V,!1);const pe=g[11].createComment("");Aa(b,g,pe,V),ur(pe,g),Ha(g,g[O]=Zh(pe,g,pe,V)),Ir(V)&&Ec(b,g,V),null!=o&&Cc(g,V,h)}function pf(e){return Rr(function pn(){return yt.lFrame.contextLView}(),22+e)}function Fc(e,t,n){const r=Ze();return dr(r,ai(),t)&&Nr(Wt(),a(),r,e,t,r[11],n,!1),Fc}function Nc(e,t,n,r,i){const o=i?"class":"style";Ic(e,n,t.inputs[o],o,r)}function Ya(e,t,n,r){const i=Ze(),s=Wt(),o=22+e,h=i[11],g=i[o]=Ll(h,t,function ae(){return yt.lFrame.currentNamespace}()),b=s.firstCreatePass?function Hv(e,t,n,r,i,s,o){const h=t.consts,b=go(t,e,2,i,or(h,s));return wc(t,n,b,or(h,o)),null!==b.attrs&&za(b,b.attrs,!1),null!==b.mergedAttrs&&za(b,b.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,b),b}(o,s,i,0,t,n,r):s.data[o];lr(b,!0);const O=b.mergedAttrs;null!==O&&I(h,g,O);const V=b.classes;null!==V&&jl(h,g,V);const pe=b.styles;return null!==pe&&Rd(h,g,pe),64!=(64&b.flags)&&Aa(s,i,g,b),0===function qs(){return yt.lFrame.elementDepthCount}()&&ur(g,i),function fs(){yt.lFrame.elementDepthCount++}(),Ir(b)&&(Ec(s,i,b),Bh(s,b,i)),null!==r&&Cc(i,b),Ya}function Za(){let e=In();gs()?Hi():(e=e.parent,lr(e,!1));const t=e;!function Wr(){yt.lFrame.elementDepthCount--}();const n=Wt();return n.firstCreatePass&&(Fe(n,e),Ur(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Rn(e){return 0!=(16&e.flags)}(t)&&Nc(n,t,Ze(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function p(e){return 0!=(32&e.flags)}(t)&&Nc(n,t,Ze(),t.stylesWithoutHost,!1),Za}function kc(e,t,n,r){return Ya(e,t,n,r),Za(),kc}function Qa(e,t,n){const r=Ze(),i=Wt(),s=e+22,o=i.firstCreatePass?function $v(e,t,n,r,i){const s=t.consts,o=or(s,r),h=go(t,e,8,"ng-container",o);return null!==o&&za(h,o,!0),wc(t,n,h,or(s,i)),null!==t.queries&&t.queries.elementStart(t,h),h}(s,i,r,t,n):i.data[s];lr(o,!0);const h=r[s]=r[11].createComment("");return Aa(i,r,h,o),ur(h,r),Ir(o)&&(Ec(i,r,o),Bh(i,o,r)),null!=n&&Cc(r,o),Qa}function Xa(){let e=In();const t=Wt();return gs()?Hi():(e=e.parent,lr(e,!1)),t.firstCreatePass&&(Fe(t,e),Ur(e)&&t.queries.elementEnd(e)),Xa}function Bc(e,t,n){return Qa(e,t,n),Xa(),Bc}function gf(){return Ze()}function Uc(e){return!!e&&"function"==typeof e.then}function mf(e){return!!e&&"function"==typeof e.subscribe}const _f=mf;function Vc(e,t,n,r){const i=Ze(),s=Wt(),o=In();return yf(s,i,i[11],o,e,t,0,r),Vc}function jc(e,t){const n=In(),r=Ze(),i=Wt();return yf(i,r,Jh(Mi(i.data),n,r),n,e,t),jc}function yf(e,t,n,r,i,s,o,h){const g=Ir(r),O=e.firstCreatePass&&Xh(e),V=t[8],pe=Qh(t);let xe=!0;if(3&r.type||h){const dt=Hn(r,t),Dt=h?h(dt):dt,Ft=pe.length,Xe=h?_n=>h(bn(_n[r.index])):r.index;let Ut=null;if(!h&&g&&(Ut=function zv(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const o=i[s];if(o===n&&i[s+1]===r){const h=t[7],g=i[s+2];return h.length>g?h[g]:null}"string"==typeof o&&(s+=2)}return null}(e,t,i,r.index)),null!==Ut)(Ut.__ngLastListenerFn__||Ut).__ngNextListenerFn__=s,Ut.__ngLastListenerFn__=s,xe=!1;else{s=Df(r,t,V,s,!1);const _n=n.listen(Dt,i,s);pe.push(s,_n),O&&O.push(i,Xe,Ft,Ft+1)}}else s=Df(r,t,V,s,!1);const Ge=r.outputs;let st;if(xe&&null!==Ge&&(st=Ge[i])){const dt=st.length;if(dt)for(let Dt=0;Dt<dt;Dt+=2){const On=t[st[Dt]][st[Dt+1]].subscribe(s),Ws=pe.length;pe.push(s,On),O&&O.push(i,r.index,Ws,-(Ws+1))}}}function vf(e,t,n,r){try{return!1!==n(r)}catch(i){return qh(e,i),!1}}function Df(e,t,n,r,i){return function s(o){if(o===Function)return r;Tc(2&e.flags?Nn(e.index,t):t);let g=vf(t,0,r,o),b=s.__ngNextListenerFn__;for(;b;)g=vf(t,0,b,o)&&g,b=b.__ngNextListenerFn__;return i&&!1===g&&(o.preventDefault(),o.returnValue=!1),g}}function Ef(e=1){return function Ki(e){return(yt.lFrame.contextLView=function Gi(e,t){for(;e>0;)t=t[15],e--;return t}(e,yt.lFrame.contextLView))[8]}(e)}function Wv(e,t){let n=null;const r=function _y(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 i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?uh(e,s,!0):Dy(r,s))return i}else n=i}return n}function Cf(e){const t=Ze()[16][6];if(!t.projection){const r=t.projection=u(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const o=e?Wv(s,e):0;null!==o&&(i[o]?i[o].projectionNext=s:r[o]=s,i[o]=s),s=s.next}}}function bf(e,t=0,n){const r=Ze(),i=Wt(),s=go(i,22+e,16,null,n||null);null===s.projection&&(s.projection=t),Hi(),64!=(64&s.flags)&&function o_(e,t,n){Pd(t[11],0,t,n,Cd(e,n,t),Sd(n.parent||t[6],n,t))}(i,r,s)}function Hc(e,t,n){return Ja(e,"",t,"",n),Hc}function Ja(e,t,n,r,i){const s=Ze(),o=yo(s,t,n,r);return o!==Zt&&Nr(Wt(),a(),s,e,o,s[11],i,!1),Ja}function $c(e,t,n,r,i,s,o){const h=Ze(),g=vo(h,t,n,r,i,s);return g!==Zt&&Nr(Wt(),a(),h,e,g,h[11],o,!1),$c}function zc(e,t,n,r,i,s,o,h,g){const b=Ze(),O=Do(b,t,n,r,i,s,o,h);return O!==Zt&&Nr(Wt(),a(),b,e,O,b[11],g,!1),zc}function Wc(e,t,n,r,i,s,o,h,g,b,O){const V=Ze(),pe=Eo(V,t,n,r,i,s,o,h,g,b);return pe!==Zt&&Nr(Wt(),a(),V,e,pe,V[11],O,!1),Wc}function If(e,t,n,r,i){const s=e[n+1],o=null===t;let h=r?hi(s):rs(s),g=!1;for(;0!==h&&(!1===g||o);){const O=e[h+1];Yv(e[h],t)&&(g=!0,e[h+1]=r?dc(O):cc(O)),h=r?hi(O):rs(O)}g&&(e[n+1]=r?cc(s):dc(s))}function Yv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ot(e,t)>=0}const Qn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Of(e){return e.substring(Qn.key,Qn.keyEnd)}function Zv(e){return e.substring(Qn.value,Qn.valueEnd)}function Pf(e,t){const n=Qn.textEnd;return n===t?-1:(t=Qn.keyEnd=function Jv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Qn.key=t,n),So(e,t,n))}function Rf(e,t){const n=Qn.textEnd;let r=Qn.key=So(e,t,n);return n===r?-1:(r=Qn.keyEnd=function qv(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Lf(e,r,n),r=Qn.value=So(e,r,n),r=Qn.valueEnd=function eD(e,t,n){let r=-1,i=-1,s=-1,o=t,h=o;for(;o<n;){const g=e.charCodeAt(o++);if(59===g)return h;34===g||39===g?h=o=Ff(e,g,o,n):t===o-4&&85===s&&82===i&&76===r&&40===g?h=o=Ff(e,41,o,n):g>32&&(h=o),s=i,i=r,r=-33&g}return h}(e,r,n),Lf(e,r,n))}function xf(e){Qn.key=0,Qn.keyEnd=0,Qn.value=0,Qn.valueEnd=0,Qn.textEnd=e.length}function So(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Lf(e,t,n,r){return(t=So(e,t,n))<n&&t++,t}function Ff(e,t,n,r){let i=-1,s=n;for(;s<r;){const o=e.charCodeAt(s++);if(o==t&&92!==i)return s;i=92==o&&92===i?0:o}throw new Error}function Kc(e,t,n){return pi(e,t,n,!1),Kc}function Gc(e,t){return pi(e,t,null,!0),Gc}function fi(e){gi(Bf,tD,e,!1)}function tD(e,t){for(let n=function Xv(e){return xf(e),Rf(e,So(e,0,Qn.textEnd))}(t);n>=0;n=Rf(t,n))Bf(e,Of(t),Zv(t))}function Ri(e,t){for(let n=function Qv(e){return xf(e),Pf(e,So(e,0,Qn.textEnd))}(t);n>=0;n=Pf(t,n))J(e,Of(t),!0)}function pi(e,t,n,r){const i=Ze(),s=Wt(),o=pr(2);s.firstUpdatePass&&kf(s,e,o,r),t!==Zt&&dr(i,o,t)&&Uf(s,s.data[zn()],i,i[11],e,i[o+1]=function cD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=X(es(e)))),e}(t,n),r,o)}function gi(e,t,n,r){const i=Wt(),s=pr(2);i.firstUpdatePass&&kf(i,null,s,r);const o=Ze();if(n!==Zt&&dr(o,s,n)){const h=i.data[zn()];if(jf(h,r)&&!Nf(i,s)){let g=r?h.classesWithoutHost:h.stylesWithoutHost;null!==g&&(n=Q(g,n||"")),Nc(i,h,o,n,r)}else!function lD(e,t,n,r,i,s,o,h){i===Zt&&(i=Qe);let g=0,b=0,O=0<i.length?i[0]:null,V=0<s.length?s[0]:null;for(;null!==O||null!==V;){const pe=g<i.length?i[g+1]:void 0,xe=b<s.length?s[b+1]:void 0;let st,Ge=null;O===V?(g+=2,b+=2,pe!==xe&&(Ge=V,st=xe)):null===V||null!==O&&O<V?(g+=2,Ge=O):(b+=2,Ge=V,st=xe),null!==Ge&&Uf(e,t,n,r,Ge,st,o,h),O=g<i.length?i[g]:null,V=b<s.length?s[b]:null}}(i,h,o,o[11],o[s+1],o[s+1]=function aD(e,t,n){if(null==n||""===n)return Qe;const r=[],i=es(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function Nf(e,t){return t>=e.expandoStartIndex}function kf(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[zn()],o=Nf(e,n);jf(s,r)&&null===t&&!o&&(t=!1),t=function rD(e,t,n,r){const i=Mi(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=aa(n=Yc(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=Yc(i,e,t,n,r),null===s){let g=function iD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==rs(r))return e[hi(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Yc(null,e,t,g[1],r),g=aa(g,t.attrs,r),function sD(e,t,n,r){e[hi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else s=function oD(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=aa(r,e[s].hostAttrs,n);return aa(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function Kv(e,t,n,r,i,s){let o=s?t.classBindings:t.styleBindings,h=hi(o),g=rs(o);e[r]=n;let O,b=!1;if(Array.isArray(n)){const V=n;O=V[1],(null===O||ot(V,O)>0)&&(b=!0)}else O=n;if(i)if(0!==g){const pe=hi(e[h+1]);e[r+1]=ka(pe,h),0!==pe&&(e[pe+1]=uc(e[pe+1],r)),e[h+1]=function Hy(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=ka(h,0),0!==h&&(e[h+1]=uc(e[h+1],r)),h=r;else e[r+1]=ka(g,0),0===h?h=r:e[g+1]=uc(e[g+1],r),g=r;b&&(e[r+1]=cc(e[r+1])),If(e,O,r,!0),If(e,O,r,!1),function Gv(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&ot(s,t)>=0&&(n[r+1]=dc(n[r+1]))}(t,O,e,r,s),o=ka(h,g),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}function Yc(e,t,n,r,i){let s=null;const o=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<o&&(s=t[h],r=aa(r,s.hostAttrs,i),s!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function aa(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?i=o:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),J(e,o,!!n||t[++s]))}return void 0===e?null:e}function Bf(e,t,n){J(e,t,es(n))}function Uf(e,t,n,r,i,s,o,h){if(!(3&t.type))return;const g=e.data,b=g[h+1];qa(function Ah(e){return 1==(1&e)}(b)?Vf(g,t,n,i,rs(b),o):void 0)||(qa(s)||function Th(e){return 2==(2&e)}(b)&&(s=Vf(g,null,n,i,h,o)),function l_(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:Ii.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=Ii.Important),e.setStyle(n,r,i,s))}}(r,o,Dr(zn(),n),i,s))}function Vf(e,t,n,r,i,s){const o=null===t;let h;for(;i>0;){const g=e[i],b=Array.isArray(g),O=b?g[1]:g,V=null===O;let pe=n[i+1];pe===Zt&&(pe=V?Qe:void 0);let xe=V?je(pe,r):O===r?pe:void 0;if(b&&!qa(xe)&&(xe=je(g,r)),qa(xe)&&(h=xe,o))return h;const Ge=e[i+1];i=o?hi(Ge):rs(Ge)}if(null!==t){let g=s?t.residualClasses:t.residualStyles;null!=g&&(h=je(g,r))}return h}function qa(e){return void 0!==e}function jf(e,t){return 0!=(e.flags&(t?16:32))}function Hf(e,t=""){const n=Ze(),r=Wt(),i=e+22,s=r.firstCreatePass?go(r,i,1,t,null):r.data[i],o=n[i]=function xl(e,t){return e.createText(t)}(n[11],t);Aa(r,n,o,s),lr(s,!1)}function Zc(e){return el("",e,""),Zc}function el(e,t,n){const r=Ze(),i=yo(r,e,t,n);return i!==Zt&&is(r,zn(),i),el}function Qc(e,t,n,r,i){const s=Ze(),o=vo(s,e,t,n,r,i);return o!==Zt&&is(s,zn(),o),Qc}function Xc(e,t,n,r,i,s,o){const h=Ze(),g=Do(h,e,t,n,r,i,s,o);return g!==Zt&&is(h,zn(),g),Xc}function Zf(e,t,n){gi(J,Ri,yo(Ze(),e,t,n),!0)}function Jc(e,t,n){const r=Ze();return dr(r,ai(),t)&&Nr(Wt(),a(),r,e,t,r[11],n,!0),Jc}function qc(e,t,n){const r=Ze();if(dr(r,ai(),t)){const s=Wt(),o=a();Nr(s,o,r,e,t,Jh(Mi(s.data),o,r),n,!0)}return qc}const $s=void 0;var AD=["en",[["a","p"],["AM","PM"],$s],[["AM","PM"],$s,$s],[["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"]],$s,[["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"]],$s,[["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}",$s,"{1} 'at' {0}",$s],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function TD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let To={};function eu(e){const t=function ID(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=op(t);if(n)return n;const r=t.split("-")[0];if(n=op(r),n)return n;if("en"===r)return AD;throw new de(701,!1)}function sp(e){return eu(e)[kt.PluralCase]}function op(e){return e in To||(To[e]=Re.ng&&Re.ng.common&&Re.ng.common.locales&&Re.ng.common.locales[e]),To[e]}var kt=(()=>((kt=kt||{})[kt.LocaleId=0]="LocaleId",kt[kt.DayPeriodsFormat=1]="DayPeriodsFormat",kt[kt.DayPeriodsStandalone=2]="DayPeriodsStandalone",kt[kt.DaysFormat=3]="DaysFormat",kt[kt.DaysStandalone=4]="DaysStandalone",kt[kt.MonthsFormat=5]="MonthsFormat",kt[kt.MonthsStandalone=6]="MonthsStandalone",kt[kt.Eras=7]="Eras",kt[kt.FirstDayOfWeek=8]="FirstDayOfWeek",kt[kt.WeekendRange=9]="WeekendRange",kt[kt.DateFormat=10]="DateFormat",kt[kt.TimeFormat=11]="TimeFormat",kt[kt.DateTimeFormat=12]="DateTimeFormat",kt[kt.NumberSymbols=13]="NumberSymbols",kt[kt.NumberFormats=14]="NumberFormats",kt[kt.CurrencyCode=15]="CurrencyCode",kt[kt.CurrencySymbol=16]="CurrencySymbol",kt[kt.CurrencyName=17]="CurrencyName",kt[kt.Currencies=18]="Currencies",kt[kt.Directionality=19]="Directionality",kt[kt.PluralCase=20]="PluralCase",kt[kt.ExtraData=21]="ExtraData",kt))();const Ao="en-US";let ap=Ao;function ru(e,t,n,r,i){if(e=j(e),Array.isArray(e))for(let s=0;s<e.length;s++)ru(e[s],t,n,r,i);else{const s=Wt(),o=Ze();let h=Bs(e)?e:j(e.provide),g=eh(e);const b=In(),O=1048575&b.providerIndexes,V=b.directiveStart,pe=b.providerIndexes>>20;if(Bs(e)||!e.multi){const xe=new Pt(g,i,po),Ge=su(h,t,i?O:O+pe,V);-1===Ge?(Zn(wr(b,o),s,h),iu(s,e,t.length),t.push(h),b.directiveStart++,b.directiveEnd++,i&&(b.providerIndexes+=1048576),n.push(xe),o.push(xe)):(n[Ge]=xe,o[Ge]=xe)}else{const xe=su(h,t,O+pe,V),Ge=su(h,t,O,O+pe),st=xe>=0&&n[xe],dt=Ge>=0&&n[Ge];if(i&&!dt||!i&&!st){Zn(wr(b,o),s,h);const Dt=function SE(e,t,n,r,i){const s=new Pt(e,n,po);return s.multi=[],s.index=t,s.componentProviders=0,Rp(s,i,r&&!n),s}(i?ME:wE,n.length,i,r,g);!i&&dt&&(n[Ge].providerFactory=Dt),iu(s,e,t.length,0),t.push(h),b.directiveStart++,b.directiveEnd++,i&&(b.providerIndexes+=1048576),n.push(Dt),o.push(Dt)}else iu(s,e,xe>-1?xe:Ge,Rp(n[i?Ge:xe],g,!i&&r));!i&&r&&dt&&n[Ge].componentProviders++}}}function iu(e,t,n,r){const i=Bs(t),s=function j_(e){return!!e.useClass}(t);if(i||s){const g=(s?j(t.useClass):t).prototype.ngOnDestroy;if(g){const b=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const O=b.indexOf(n);-1===O?b.push(n,[r,g]):b[O+1].push(r,g)}else b.push(n,g)}}}function Rp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function su(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function wE(e,t,n,r){return ou(this.multi,[])}function ME(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const o=this.providerFactory.componentProviders,h=Yi(n,n[1],this.providerFactory.index,r);s=h.slice(0,o),ou(i,s);for(let g=o;g<h.length;g++)s.push(h[g])}else s=[],ou(i,s);return s}function ou(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function xp(e,t=[]){return n=>{n.providersResolver=(r,i)=>function bE(e,t,n){const r=Wt();if(r.firstCreatePass){const i=qn(e);ru(n,r.data,r.blueprint,i,!0),ru(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Io{}class Lp{}function TE(e,t){return new Fp(e,t??null)}class Fp extends Io{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Oc(this);const r=wn(t);this._bootstrapComponents=ns(r.bootstrap),this._r3Injector=yh(t,n,[{provide:Io,useValue:this},{provide:ea,useValue:this.componentFactoryResolver}],X(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class au extends Lp{constructor(t){super(),this.moduleType=t}create(t){return new Fp(this.moduleType,t)}}class AE extends Io{constructor(t,n,r){super(),this.componentFactoryResolver=new Oc(this),this.instance=null;const i=new qd([...t,{provide:Io,useValue:this},{provide:ea,useValue:this.componentFactoryResolver}],n||Fa(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function lu(e,t,n=null){return new AE(e,t,n).injector}let IE=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Zd(0,n.type),i=r.length>0?lu([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,i)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=ee({token:e,providedIn:"environment",factory:()=>new e(Wn(Us))}),e})();function Np(e){e.getStandaloneInjector=t=>t.get(IE).getOrCreateStandaloneInjector(e)}function $p(e,t,n){const r=$n()+e,i=Ze();return i[r]===Zt?Pi(i,r,n?t.call(n):t()):function oa(e,t){return e[t]}(i,r)}function zp(e,t,n,r){return Kp(Ze(),$n(),e,t,n,r)}function Wp(e,t,n,r,i){return Gp(Ze(),$n(),e,t,n,r,i)}function fa(e,t){const n=e[t];return n===Zt?void 0:n}function Kp(e,t,n,r,i,s){const o=t+n;return dr(e,o,i)?Pi(e,o+1,s?r.call(s,i):r(i)):fa(e,o+1)}function Gp(e,t,n,r,i,s,o){const h=t+n;return Hs(e,h,i,s)?Pi(e,h+2,o?r.call(o,i,s):r(i,s)):fa(e,h+2)}function Xp(e,t){const n=Wt();let r;const i=e+22;n.firstCreatePass?(r=function WE(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=sr(r.type)),o=C(po);try{const h=ct(!1),g=s();return ct(h),function jv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ze(),i,g),g}finally{C(o)}}function Jp(e,t,n){const r=e+22,i=Ze(),s=Rr(i,r);return pa(i,r)?Kp(i,$n(),t,s.transform,n,s):s.transform(n)}function qp(e,t,n,r){const i=e+22,s=Ze(),o=Rr(s,i);return pa(s,i)?Gp(s,$n(),t,o.transform,n,r,o):o.transform(n,r)}function pa(e,t){return e[1].data[t].pure}function uu(e){return t=>{setTimeout(e,void 0,t)}}const xi=class ZE extends f.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),o=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),s=g.error?.bind(g),o=g.complete?.bind(g)}this.__isAsync&&(s=uu(s),i&&(i=uu(i)),o&&(o=uu(o)));const h=super.subscribe({next:i,error:s,complete:o});return t instanceof v.w0&&t.add(h),h}};function QE(){return this._results[js()]()}class sl{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=js(),r=sl.prototype;r[n]||(r[n]=QE)}get changes(){return this._changes||(this._changes=new xi)}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 i=gr(t);(this._changesDetected=!function Dl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let ga=(()=>{class e{}return e.__NG_ELEMENT_ID__=qE,e})();const XE=ga,JE=class extends XE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=Va(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(i[19]=o.createEmbeddedView(r)),Dc(r,i,t),new ra(i)}};function qE(){return ol(In(),Ze())}function ol(e,t){return 4&e.type?new JE(t,e,uo(e,t)):null}let al=(()=>{class e{}return e.__NG_ELEMENT_ID__=eC,e})();function eC(){return ng(In(),Ze())}const tC=al,eg=class extends tC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return uo(this._hostTNode,this._hostLView)}get injector(){return new Zi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Mr(this._hostTNode,this._hostLView);if(Gt(t)){const n=qe(t,this._hostLView),r=Xt(t);return new Zi(n[1].data[r+8],n)}return new Zi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=tg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const o=t.createEmbeddedView(n||{},s);return this.insert(o,i),o}createComponent(t,n,r,i,s){const o=t&&!function Ls(e){return"function"==typeof e}(t);let h;if(o)h=n;else{const V=n||{};h=V.index,r=V.injector,i=V.projectableNodes,s=V.environmentInjector||V.ngModuleRef}const g=o?t:new ia(jt(t)),b=r||this.parentInjector;if(!s&&null==g.ngModule){const pe=(o?b:this.parentInjector).get(Us,null);pe&&(s=pe)}const O=g.create(b,i,void 0,s);return this.insert(O.hostView,h),O}insert(t,n){const r=t._lView,i=r[1];if(function er(e){return Gn(e[3])}(r)){const O=this.indexOf(t);if(-1!==O)this.detach(O);else{const V=r[3],pe=new eg(V,V[6],V[3]);pe.detach(pe.indexOf(t))}}const s=this._adjustIndex(n),o=this._lContainer;!function e_(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],Ea(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function t_(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 h=t[19];null!==h&&h.insertView(e),t[2]|=64}(i,r,o,s);const h=Bl(s,o),g=r[11],b=Ta(g,o[7]);return null!==b&&function Xm(e,t,n,r,i,s){r[0]=i,r[6]=t,Xo(e,r,n,1,i,s)}(i,o[6],g,r,b,h),t.attachToViewContainerRef(),Ea(du(o),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=tg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Fl(this._lContainer,n);r&&(jo(du(this._lContainer),n),Ed(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Fl(this._lContainer,n);return r&&null!=jo(du(this._lContainer),n)?new ra(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function tg(e){return e[8]}function du(e){return e[8]||(e[8]=[])}function ng(e,t){let n;const r=t[e.index];if(Gn(r))n=r;else{let i;if(8&e.type)i=bn(r);else{const s=t[11];i=s.createComment("");const o=Hn(e,t);Fs(s,Ta(s,o),i,function s_(e,t){return e.nextSibling(t)}(s,o),!1)}t[e.index]=n=Zh(r,t,i,e),Ha(t,n)}return new eg(n,e,t)}class hu{constructor(t){this.queryList=t,this.matches=null}clone(){return new hu(this.queryList)}setDirty(){this.queryList.setDirty()}}class fu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const o=n.getByIndex(s);i.push(this.queries[o.indexInDeclarationView].clone())}return new fu(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==dg(t,n).matches&&this.queries[n].setDirty()}}class rg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class pu{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 i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new pu(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 gu{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 gu(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 i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,iC(n,s)),this.matchTNodeWithReadOption(t,n,Rs(n,t,s,!1,!1))}else r===ga?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Rs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===ta||i===al||i===ga&&4&n.type)this.addMatch(n.index,-2);else{const s=Rs(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function iC(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 oC(e,t,n,r){return-1===n?function sC(e,t){return 11&e.type?uo(e,t):4&e.type?ol(e,t):null}(t,e):-2===n?function aC(e,t,n){return n===ta?uo(t,e):n===ga?ol(t,e):n===al?ng(t,e):void 0}(e,t,r):Yi(e,e[1],n,t)}function ig(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const s=e.data,o=n.matches,h=[];for(let g=0;g<o.length;g+=2){const b=o[g];h.push(b<0?null:oC(t,s[b],o[g+1],n.metadata.read))}i.matches=h}return i.matches}function mu(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const o=ig(e,t,i,n);for(let h=0;h<s.length;h+=2){const g=s[h];if(g>0)r.push(o[h/2]);else{const b=s[h+1],O=t[-g];for(let V=10;V<O.length;V++){const pe=O[V];pe[17]===pe[3]&&mu(pe[1],pe,b,r)}if(null!==O[9]){const V=O[9];for(let pe=0;pe<V.length;pe++){const xe=V[pe];mu(xe[1],xe,b,r)}}}}}return r}function sg(e){const t=Ze(),n=Wt(),r=Si();br(r+1);const i=dg(n,r);if(e.dirty&&function Js(e){return 4==(4&e[2])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?mu(n,t,r,[]):ig(n,t,i,r);e.reset(s,q_),e.notifyOnChanges()}return!0}return!1}function og(e,t,n){const r=Wt();r.firstCreatePass&&(ug(r,new rg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),cg(r,Ze(),t)}function ag(e,t,n,r){const i=Wt();if(i.firstCreatePass){const s=In();ug(i,new rg(t,n,r),s.index),function cC(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}cg(i,Ze(),n)}function lg(){return function lC(e,t){return e[19].queries[t].queryList}(Ze(),Si())}function cg(e,t,n){const r=new sl(4==(4&n));Vh(e,t,r,r.destroy),null===t[19]&&(t[19]=new fu),t[19].queries.push(new hu(r))}function ug(e,t,n){null===e.queries&&(e.queries=new pu),e.queries.track(new gu(t,n))}function dg(e,t){return e.queries.getByIndex(t)}function hg(e,t){return ol(e,t)}function cl(...e){}const Pg=new Dn("Application Initializer");let ul=(()=>{class e{constructor(n){this.appInits=n,this.resolve=cl,this.reject=cl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(Uc(s))n.push(s);else if(_f(s)){const o=new Promise((h,g)=>{s.subscribe({complete:h,error:g})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Wn(Pg,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Rg=new Dn("AppId",{providedIn:"root",factory:function xg(){return`${Eu()}${Eu()}${Eu()}`}});function Eu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Lg=new Dn("Platform Initializer"),IC=new Dn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Fg=new Dn("appBootstrapListener"),OC=new Dn("AnimationModuleType");let PC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const dl=new Dn("LocaleId",{providedIn:"root",factory:()=>Ju(dl,Te.Optional|Te.SkipSelf)||function RC(){return typeof $localize<"u"&&$localize.locale||Ao}()}),xC=new Dn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class LC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let FC=(()=>{class e{compileModuleSync(n){return new au(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=ns(wn(n).declarations).reduce((o,h)=>{const g=jt(h);return g&&o.push(new ia(g)),o},[]);return new LC(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const BC=(()=>Promise.resolve(0))();function Cu(e){typeof Zone>"u"?BC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Qr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new xi(!1),this.onMicrotaskEmpty=new xi(!1),this.onStable=new xi(!1),this.onError=new xi(!1),typeof Zone>"u")throw new de(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const s=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new s("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function UC(){let e=Re.requestAnimationFrame,t=Re.cancelAnimationFrame;if(typeof Zone<"u"&&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 HC(e){const t=()=>{!function jC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,wu(e),e.isCheckStableRunning=!0,bu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),wu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,h)=>{try{return Bg(e),n.invokeTask(i,s,o,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Ug(e)}},onInvoke:(n,r,i,s,o,h,g)=>{try{return Bg(e),n.invoke(i,s,o,h,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ug(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,wu(e),bu(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Qr.isInAngularZone())throw new de(909,!1)}static assertNotInAngularZone(){if(Qr.isInAngularZone())throw new de(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,VC,cl,cl);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const VC={};function bu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function wu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Bg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ug(e){e._nesting--,bu(e)}class $C{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new xi,this.onMicrotaskEmpty=new xi,this.onStable=new xi,this.onError=new xi}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,i){return t.apply(n,r)}}const Vg=new Dn(""),jg=new Dn("");let Mu,zC=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Mu||(function WC(e){Mu=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Qr.assertNotInAngularZone(),Cu(()=>{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())Cu(()=>{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,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!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,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(Wn(Qr),Wn(Hg),Wn(jg))},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})(),Hg=(()=>{class e{constructor(){this._applications=new Map}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 Mu?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Ms=null;const $g=new Dn("AllowMultipleToken"),Su=new Dn("PlatformDestroyListeners");class YC{constructor(t,n){this.name=t,this.token=n}}function Wg(e,t,n=[]){const r=`Platform: ${t}`,i=new Dn(r);return(s=[])=>{let o=Tu();if(!o||o.injector.get($g,!1)){const h=[...n,...s,{provide:i,useValue:!0}];e?e(h):function ZC(e){if(Ms&&!Ms.get($g,!1))throw new de(400,!1);Ms=e;const t=e.get(Gg);(function zg(e){const t=e.get(Lg,null);t&&t.forEach(n=>n())})(e)}(function Kg(e=[],t){return Vs.create({name:t,providers:[{provide:Jl,useValue:"platform"},{provide:Su,useValue:new Set([()=>Ms=null])},...e]})}(h,r))}return function XC(e){const t=Tu();if(!t)throw new de(401,!1);return t}()}}function Tu(){return Ms?.get(Gg)??null}let Gg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function Zg(e,t){let n;return n="noop"===e?new $C:("zone.js"===e?void 0:e)||new Qr(t),n}(r?.ngZone,function Yg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),s=[{provide:Qr,useValue:i}];return i.run(()=>{const o=Vs.create({providers:s,parent:this.injector,name:n.moduleType.name}),h=n.create(o),g=h.injector.get(na,null);if(!g)throw new de(402,!1);return i.runOutsideAngular(()=>{const b=i.onError.subscribe({next:O=>{g.handleError(O)}});h.onDestroy(()=>{fl(this._modules,h),b.unsubscribe()})}),function Qg(e,t,n){try{const r=n();return Uc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(g,i,()=>{const b=h.injector.get(ul);return b.runInitializers(),b.donePromise.then(()=>(function lp(e){en(e,"Expected localeId to be defined"),"string"==typeof e&&(ap=e.toLowerCase().replace(/_/g,"-"))}(h.injector.get(dl,Ao)||Ao),this._moduleDoBootstrap(h),h))})})}bootstrapModule(n,r=[]){const i=Xg({},r);return function KC(e,t,n){const r=new au(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(hl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new de(403,!1);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 de(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Su,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Wn(Vs))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Xg(e,t){return Array.isArray(t)?t.reduce(Xg,e):{...e,...t}}let hl=(()=>{class e{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new A.y(h=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{h.next(this._stable),h.complete()})}),o=new A.y(h=>{let g;this._zone.runOutsideAngular(()=>{g=this._zone.onStable.subscribe(()=>{Qr.assertNotInAngularZone(),Cu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,h.next(!0))})})});const b=this._zone.onUnstable.subscribe(()=>{Qr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{h.next(!1)}))});return()=>{g.unsubscribe(),b.unsubscribe()}});this.isStable=(0,x.T)(s,o.pipe((0,k.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof th;if(!this._injector.get(ul).done)throw!i&&En(n),new de(405,false);let o;o=i?n:this._injector.get(ea).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const h=function GC(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Io),b=o.create(Vs.NULL,[],r||o.selector,h),O=b.location.nativeElement,V=b.injector.get(Vg,null);return V?.registerApplication(O),b.onDestroy(()=>{this.detachView(b.hostView),fl(this.components,b),V?.unregisterApplication(O)}),this._loadComponent(b),b}tick(){if(this._runningTick)throw new de(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;fl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Fg,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>fl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new de(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(Wn(Qr),Wn(Us),Wn(na))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function fl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let qg=!0,em=!1;function qC(){return em=!0,qg}function e0(){if(em)throw new Error("Cannot enable prod mode after platform setup.");qg=!1}let t0=(()=>{class e{}return e.__NG_ELEMENT_ID__=n0,e})();function n0(e){return function r0(e,t,n){if(nr(e)&&!n){const r=Nn(e.index,t);return new ra(r,r)}return 47&e.type?new ra(t[16],t):null}(In(),Ze(),16==(16&e))}class im{constructor(){}supports(t){return sa(t)}create(t){return new u0(t)}}const c0=(e,t)=>t;class u0{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||c0}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const o=!r||n&&n.currentIndex<om(r,i,s)?n:r,h=om(o,i,s),g=o.currentIndex;if(o===r)i--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)i++;else{s||(s=[]);const b=h-i,O=g-i;if(b!=O){for(let pe=0;pe<b;pe++){const xe=pe<s.length?s[pe]:s[pe]=0,Ge=xe+pe;O<=Ge&&Ge<b&&(s[pe]=xe+1)}s[o.previousIndex]=O-b}}h!==g&&t(o,h,g)}}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=[]),!sa(t))throw new de(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,o,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)s=t[h],o=this._trackByFn(h,s),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,s,o,h)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,o,h),r=!0),n=n._next}else i=0,function kv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[js()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{o=this._trackByFn(i,h),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,h,o,i)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,o,i),r=!0),n=n._next,i++}),this.length=i;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,i){let s;return null===t?s=this._itTail:(s=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,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new d0(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,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 i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new sm),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new sm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class d0{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 h0{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class sm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new h0,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class am{constructor(){}supports(t){return t instanceof Map||xc(t)}create(){return new f0}}class f0{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||xc(t)))throw new de(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),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 i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,o=i._next;return s&&(s._next=o),o&&(o._prev=s),i._next=null,i._prev=null,i}const r=new p0(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 p0{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 Ru([new im])}let Ru=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||lm()),deps:[[e,new Ko,new Wo]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new de(901,!1)}}return e.\u0275prov=ee({token:e,providedIn:"root",factory:lm}),e})();function cm(){return new xu([new am])}let xu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||cm()),deps:[[e,new Ko,new Wo]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new de(901,!1)}}return e.\u0275prov=ee({token:e,providedIn:"root",factory:cm}),e})();const _0=Wg(null,"core",[]);let y0=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Wn(hl))},e.\u0275mod=Ne({type:e}),e.\u0275inj=Ee({}),e})();function v0(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},3238:(et,_e,_)=>{_.d(_e,{yN:()=>Pe,mZ:()=>tt,_A:()=>bt,rD:()=>Ee,sG:()=>sn,Ad:()=>_t,K7:()=>Re,HF:()=>Z,Y2:()=>S,BQ:()=>Y,X2:()=>Ye,uc:()=>at,ey:()=>Nt,Ng:()=>It,rN:()=>xt,nP:()=>K,us:()=>ve,wG:()=>C,si:()=>R,IR:()=>Te,CB:()=>St,jH:()=>dn,pj:()=>Le,Kr:()=>Je,Id:()=>$e,FD:()=>Ue,dB:()=>He,sb:()=>De,E0:()=>Et});var f=_(94650),v=_(12687),A=_(40445),k=_(36895),U=_(83353),ie=_(21281),X=_(69751),Q=_(77579),$=_(68675),z=_(29521);function Oe(we,oe){if(1&we&&f._UZ(0,"mat-pseudo-checkbox",4),2&we){const ce=f.oxw();f.Q6J("state",ce.selected?"checked":"unchecked")("disabled",ce.disabled)}}function de(we,oe){if(1&we&&(f.TgZ(0,"span",5),f._uU(1),f.qZA()),2&we){const ce=f.oxw();f.xp6(1),f.hij("(",ce.group.label,")")}}const ge=["*"];let Pe=(()=>{class we{}return we.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",we.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",we.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",we.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",we})(),tt=(()=>{class we{}return we.COMPLEX="375ms",we.ENTERING="225ms",we.EXITING="195ms",we})();const Ae=new f.OlP("mat-sanity-checks",{providedIn:"root",factory:function nt(){return!0}});let Y=(()=>{class we{constructor(ce,W,q){this._sanityChecks=W,this._document=q,this._hasDoneGlobalChecks=!1,ce._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ce){return!(0,U.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ce])}}return we.\u0275fac=function(ce){return new(ce||we)(f.LFG(v.qm),f.LFG(Ae,8),f.LFG(k.K0))},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({imports:[A.vT,A.vT]}),we})();function $e(we){return class extends we{constructor(...oe){super(...oe),this._disabled=!1}get disabled(){return this._disabled}set disabled(oe){this._disabled=(0,ie.Ig)(oe)}}}function Le(we,oe){return class extends we{constructor(...ce){super(...ce),this.defaultColor=oe,this.color=oe}get color(){return this._color}set color(ce){const W=ce||this.defaultColor;W!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),W&&this._elementRef.nativeElement.classList.add(`mat-${W}`),this._color=W)}}}function Je(we){return class extends we{constructor(...oe){super(...oe),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(oe){this._disableRipple=(0,ie.Ig)(oe)}}}function De(we,oe=0){return class extends we{constructor(...ce){super(...ce),this._tabIndex=oe,this.defaultTabIndex=oe}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ce){this._tabIndex=null!=ce?(0,ie.su)(ce):this.defaultTabIndex}}}function Ue(we){return class extends we{constructor(...oe){super(...oe),this.errorState=!1}updateErrorState(){const oe=this.errorState,B=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);B!==oe&&(this.errorState=B,this.stateChanges.next())}}}function He(we){return class extends we{constructor(...oe){super(...oe),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new X.y(ce=>{this._isInitialized?this._notifySubscriber(ce):this._pendingSubscribers.push(ce)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(oe){oe.next(),oe.complete()}}}const _t=new f.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function $t(){return(0,f.f3M)(f.soG)}});class bt{constructor(){this._localeChanges=new Q.x,this.localeChanges=this._localeChanges}getValidDateOrNull(oe){return this.isDateInstance(oe)&&this.isValid(oe)?oe:null}deserialize(oe){return null==oe||this.isDateInstance(oe)&&this.isValid(oe)?oe:this.invalid()}setLocale(oe){this.locale=oe,this._localeChanges.next()}compareDate(oe,ce){return this.getYear(oe)-this.getYear(ce)||this.getMonth(oe)-this.getMonth(ce)||this.getDate(oe)-this.getDate(ce)}sameDate(oe,ce){if(oe&&ce){let W=this.isValid(oe),q=this.isValid(ce);return W&&q?!this.compareDate(oe,ce):W==q}return oe==ce}clampDate(oe,ce,W){return ce&&this.compareDate(oe,ce)<0?ce:W&&this.compareDate(oe,W)>0?W:oe}}const sn=new f.OlP("mat-date-formats");let Ee=(()=>{class we{isErrorState(ce,W){return!!(ce&&ce.invalid&&(ce.touched||W&&W.submitted))}}return we.\u0275fac=function(ce){return new(ce||we)},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})(),Ye=(()=>{class we{}return we.\u0275fac=function(ce){return new(ce||we)},we.\u0275dir=f.lG2({type:we,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),we})();function Et(we,oe,ce="mat"){we.changes.pipe((0,$.O)(we)).subscribe(({length:W})=>{At(oe,`${ce}-2-line`,!1),At(oe,`${ce}-3-line`,!1),At(oe,`${ce}-multi-line`,!1),2===W||3===W?At(oe,`${ce}-${W}-line`,!0):W>3&&At(oe,`${ce}-multi-line`,!0)})}function At(we,oe,ce){we.nativeElement.classList.toggle(oe,ce)}let at=(()=>{class we{}return we.\u0275fac=function(ce){return new(ce||we)},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({imports:[Y,Y]}),we})();class wt{constructor(oe,ce,W,q=!1){this._renderer=oe,this.element=ce,this.config=W,this._animationForciblyDisabledThroughCss=q,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const vt={enterDuration:225,exitDuration:150},Bt=(0,U.i$)({passive:!0}),Rt=["mousedown","touchstart"],Jt=["mouseup","mouseleave","touchend","touchcancel"];class Te{constructor(oe,ce,W,q){this._target=oe,this._ngZone=ce,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,q.isBrowser&&(this._containerElement=(0,ie.fI)(W))}fadeInRipple(oe,ce,W={}){const q=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),B={...vt,...W.animation};W.centered&&(oe=q.left+q.width/2,ce=q.top+q.height/2);const fe=W.radius||function rt(we,oe,ce){const W=Math.max(Math.abs(we-ce.left),Math.abs(we-ce.right)),q=Math.max(Math.abs(oe-ce.top),Math.abs(oe-ce.bottom));return Math.sqrt(W*W+q*q)}(oe,ce,q),Ne=oe-q.left,it=ce-q.top,Ot=B.enterDuration,Vt=document.createElement("div");Vt.classList.add("mat-ripple-element"),Vt.style.left=Ne-fe+"px",Vt.style.top=it-fe+"px",Vt.style.height=2*fe+"px",Vt.style.width=2*fe+"px",null!=W.color&&(Vt.style.backgroundColor=W.color),Vt.style.transitionDuration=`${Ot}ms`,this._containerElement.appendChild(Vt);const Xn=window.getComputedStyle(Vt),on=Xn.transitionDuration,an="none"===Xn.transitionProperty||"0s"===on||"0s, 0s"===on,En=new wt(this,Vt,W,an);Vt.style.transform="scale3d(1, 1, 1)",En.state=0,W.persistent||(this._mostRecentTransientRipple=En);let wn=null;return!an&&(Ot||B.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Mn=()=>this._finishRippleTransition(En),te=()=>this._destroyRipple(En);Vt.addEventListener("transitionend",Mn),Vt.addEventListener("transitioncancel",te),wn={onTransitionEnd:Mn,onTransitionCancel:te}}),this._activeRipples.set(En,wn),(an||!Ot)&&this._finishRippleTransition(En),En}fadeOutRipple(oe){if(2===oe.state||3===oe.state)return;const ce=oe.element,W={...vt,...oe.config.animation};ce.style.transitionDuration=`${W.exitDuration}ms`,ce.style.opacity="0",oe.state=2,(oe._animationForciblyDisabledThroughCss||!W.exitDuration)&&this._finishRippleTransition(oe)}fadeOutAll(){this._getActiveRipples().forEach(oe=>oe.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(oe=>{oe.config.persistent||oe.fadeOut()})}setupTriggerEvents(oe){const ce=(0,ie.fI)(oe);!ce||ce===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ce,this._registerEvents(Rt))}handleEvent(oe){"mousedown"===oe.type?this._onMousedown(oe):"touchstart"===oe.type?this._onTouchStart(oe):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Jt),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(oe){0===oe.state?this._startFadeOutTransition(oe):2===oe.state&&this._destroyRipple(oe)}_startFadeOutTransition(oe){const ce=oe===this._mostRecentTransientRipple,{persistent:W}=oe.config;oe.state=1,!W&&(!ce||!this._isPointerDown)&&oe.fadeOut()}_destroyRipple(oe){const ce=this._activeRipples.get(oe)??null;this._activeRipples.delete(oe),this._activeRipples.size||(this._containerRect=null),oe===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),oe.state=3,null!==ce&&(oe.element.removeEventListener("transitionend",ce.onTransitionEnd),oe.element.removeEventListener("transitioncancel",ce.onTransitionCancel)),oe.element.remove()}_onMousedown(oe){const ce=(0,v.X6)(oe),W=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!ce&&!W&&(this._isPointerDown=!0,this.fadeInRipple(oe.clientX,oe.clientY,this._target.rippleConfig))}_onTouchStart(oe){if(!this._target.rippleDisabled&&!(0,v.yG)(oe)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const ce=oe.changedTouches;for(let W=0;W<ce.length;W++)this.fadeInRipple(ce[W].clientX,ce[W].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(oe=>{!oe.config.persistent&&(1===oe.state||oe.config.terminateOnPointerUp&&0===oe.state)&&oe.fadeOut()}))}_registerEvents(oe){this._ngZone.runOutsideAngular(()=>{oe.forEach(ce=>{this._triggerElement.addEventListener(ce,this,Bt)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(Rt.forEach(oe=>{this._triggerElement.removeEventListener(oe,this,Bt)}),this._pointerUpEventsRegistered&&Jt.forEach(oe=>{this._triggerElement.removeEventListener(oe,this,Bt)}))}}const S=new f.OlP("mat-ripple-global-options");let C=(()=>{class we{constructor(ce,W,q,B,fe){this._elementRef=ce,this._animationMode=fe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=B||{},this._rippleRenderer=new Te(this,W,ce,q)}get disabled(){return this._disabled}set disabled(ce){ce&&this.fadeOutAllNonPersistent(),this._disabled=ce,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ce){this._trigger=ce,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(ce,W=0,q){return"number"==typeof ce?this._rippleRenderer.fadeInRipple(ce,W,{...this.rippleConfig,...q}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...ce})}}return we.\u0275fac=function(ce){return new(ce||we)(f.Y36(f.SBq),f.Y36(f.R0b),f.Y36(U.t4),f.Y36(S,8),f.Y36(f.QbO,8))},we.\u0275dir=f.lG2({type:we,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(ce,W){2&ce&&f.ekj("mat-ripple-unbounded",W.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),we})(),R=(()=>{class we{}return we.\u0275fac=function(ce){return new(ce||we)},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({imports:[Y,Y]}),we})(),K=(()=>{class we{constructor(ce){this._animationMode=ce,this.state="unchecked",this.disabled=!1}}return we.\u0275fac=function(ce){return new(ce||we)(f.Y36(f.QbO,8))},we.\u0275cmp=f.Xpm({type:we,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(ce,W){2&ce&&f.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===W.state)("mat-pseudo-checkbox-checked","checked"===W.state)("mat-pseudo-checkbox-disabled",W.disabled)("_mat-animation-noopable","NoopAnimations"===W._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(ce,W){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),we})(),ve=(()=>{class we{}return we.\u0275fac=function(ce){return new(ce||we)},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({imports:[Y]}),we})();const Z=new f.OlP("MAT_OPTION_PARENT_COMPONENT"),Re=new f.OlP("MatOptgroup");let lt=0;class xt{constructor(oe,ce=!1){this.source=oe,this.isUserInput=ce}}let Qe=(()=>{class we{constructor(ce,W,q,B){this._element=ce,this._changeDetectorRef=W,this._parent=q,this.group=B,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+lt++,this.onSelectionChange=new f.vpe,this._stateChanges=new Q.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(ce){this._disabled=(0,ie.Ig)(ce)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(ce,W){const q=this._getHostElement();"function"==typeof q.focus&&q.focus(W)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(ce){(ce.keyCode===z.K5||ce.keyCode===z.L_)&&!(0,z.Vb)(ce)&&(this._selectViaInteraction(),ce.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const ce=this.viewValue;ce!==this._mostRecentViewValue&&(this._mostRecentViewValue=ce,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ce=!1){this.onSelectionChange.emit(new xt(this,ce))}}return we.\u0275fac=function(ce){f.$Z()},we.\u0275dir=f.lG2({type:we,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),we})(),Nt=(()=>{class we extends Qe{constructor(ce,W,q,B){super(ce,W,q,B)}}return we.\u0275fac=function(ce){return new(ce||we)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(Z,8),f.Y36(Re,8))},we.\u0275cmp=f.Xpm({type:we,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(ce,W){1&ce&&f.NdJ("click",function(){return W._selectViaInteraction()})("keydown",function(B){return W._handleKeydown(B)}),2&ce&&(f.Ikx("id",W.id),f.uIk("tabindex",W._getTabIndex())("aria-selected",W._getAriaSelected())("aria-disabled",W.disabled.toString()),f.ekj("mat-selected",W.selected)("mat-option-multiple",W.multiple)("mat-active",W.active)("mat-option-disabled",W.disabled))},exportAs:["matOption"],features:[f.qOj],ngContentSelectors:ge,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(ce,W){1&ce&&(f.F$t(),f.YNc(0,Oe,1,2,"mat-pseudo-checkbox",0),f.TgZ(1,"span",1),f.Hsn(2),f.qZA(),f.YNc(3,de,2,1,"span",2),f._UZ(4,"div",3)),2&ce&&(f.Q6J("ngIf",W.multiple),f.xp6(3),f.Q6J("ngIf",W.group&&W.group._inert),f.xp6(1),f.Q6J("matRippleTrigger",W._getHostElement())("matRippleDisabled",W.disabled||W.disableRipple))},dependencies:[C,k.O5,K],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),we})();function St(we,oe,ce){if(ce.length){let W=oe.toArray(),q=ce.toArray(),B=0;for(let fe=0;fe<we+1;fe++)W[fe].group&&W[fe].group===q[B]&&B++;return B}return 0}function dn(we,oe,ce,W){return we<ce?we:we+oe>ce+W?Math.max(0,we-W+oe):ce}let It=(()=>{class we{}return we.\u0275fac=function(ce){return new(ce||we)},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({imports:[R,k.ez,Y,ve]}),we})()},65938:(et,_e,_)=>{_.d(_e,{H8:()=>Tt,Is:()=>ke,WI:()=>ue,ZT:()=>bt,so:()=>Y,uh:()=>sn,uw:()=>_t,xY:()=>en});var f=_(97855),v=_(98184),A=_(84080),x=_(94650),k=_(3238),U=_(36895),ie=_(77579),X=_(56451),Q=_(49770),$=_(39300),z=_(95698),j=_(68675),Me=_(37340),Oe=_(12687),de=_(29521);function ge(he,ee){}const se={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Pe={dialogContainer:(0,Me.X$)("dialogContainer",[(0,Me.SB)("void, exit",(0,Me.oB)({opacity:0,transform:"scale(0.7)"})),(0,Me.SB)("enter",(0,Me.oB)({transform:"none"})),(0,Me.eR)("* => enter",(0,Me.ru)([(0,Me.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,Me.oB)({transform:"none",opacity:1})),(0,Me.IO)("@*",(0,Me.pV)(),{optional:!0})]),se),(0,Me.eR)("* => void, * => exit",(0,Me.ru)([(0,Me.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,Me.oB)({opacity:0})),(0,Me.IO)("@*",(0,Me.pV)(),{optional:!0})]),se)])};class tt{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=se.params.enterAnimationDuration,this.exitAnimationDuration=se.params.exitAnimationDuration}}let nt=(()=>{class he extends f.LL{constructor(me,Ee,Ye,Et,At,at,wt,vt){super(me,Ee,Ye,Et,At,at,wt,vt),this._animationStateChanged=new x.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(me){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:me})}}return he.\u0275fac=function(me){return new(me||he)(x.Y36(x.SBq),x.Y36(Oe.qV),x.Y36(U.K0,8),x.Y36(tt),x.Y36(Oe.ic),x.Y36(x.R0b),x.Y36(v.Iu),x.Y36(Oe.tE))},he.\u0275cmp=x.Xpm({type:he,selectors:[["ng-component"]],features:[x.qOj],decls:0,vars:0,template:function(me,Ee){},encapsulation:2}),he})(),Ae=(()=>{class he extends nt{constructor(me,Ee,Ye,Et,At,at,wt,vt,tn){super(me,Ee,Ye,Et,At,at,wt,tn),this._changeDetectorRef=vt,this._state="enter"}_onAnimationDone({toState:me,totalTime:Ee}){"enter"===me?this._openAnimationDone(Ee):"exit"===me&&this._animationStateChanged.next({state:"closed",totalTime:Ee})}_onAnimationStart({toState:me,totalTime:Ee}){"enter"===me?this._animationStateChanged.next({state:"opening",totalTime:Ee}):("exit"===me||"void"===me)&&this._animationStateChanged.next({state:"closing",totalTime:Ee})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||se.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||se.params.exitAnimationDuration}}}}return he.\u0275fac=function(me){return new(me||he)(x.Y36(x.SBq),x.Y36(Oe.qV),x.Y36(U.K0,8),x.Y36(tt),x.Y36(Oe.ic),x.Y36(x.R0b),x.Y36(v.Iu),x.Y36(x.sBO),x.Y36(Oe.tE))},he.\u0275cmp=x.Xpm({type:he,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(me,Ee){1&me&&x.WFA("@dialogContainer.start",function(Et){return Ee._onAnimationStart(Et)})("@dialogContainer.done",function(Et){return Ee._onAnimationDone(Et)}),2&me&&(x.Ikx("id",Ee._config.id),x.uIk("aria-modal",Ee._config.ariaModal)("role",Ee._config.role)("aria-labelledby",Ee._config.ariaLabel?null:Ee._ariaLabelledBy)("aria-label",Ee._config.ariaLabel)("aria-describedby",Ee._config.ariaDescribedBy||null),x.d8E("@dialogContainer",Ee._getAnimationState()))},features:[x.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(me,Ee){1&me&&x.YNc(0,ge,0,0,"ng-template",0)},dependencies:[A.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[Pe.dialogContainer]}}),he})();class Y{constructor(ee,me,Ee){this._ref=ee,this._containerInstance=Ee,this._afterOpened=new ie.x,this._beforeClosed=new ie.x,this._state=0,this.disableClose=me.disableClose,this.id=ee.id,Ee._animationStateChanged.pipe((0,$.h)(Ye=>"opened"===Ye.state),(0,z.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Ee._animationStateChanged.pipe((0,$.h)(Ye=>"closed"===Ye.state),(0,z.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),ee.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,X.T)(this.backdropClick(),this.keydownEvents().pipe((0,$.h)(Ye=>Ye.keyCode===de.hY&&!this.disableClose&&!(0,de.Vb)(Ye)))).subscribe(Ye=>{this.disableClose||(Ye.preventDefault(),ye(this,"keydown"===Ye.type?"keyboard":"mouse"))})}close(ee){this._result=ee,this._containerInstance._animationStateChanged.pipe((0,$.h)(me=>"closing"===me.state),(0,z.q)(1)).subscribe(me=>{this._beforeClosed.next(ee),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),me.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(ee){let me=this._ref.config.positionStrategy;return ee&&(ee.left||ee.right)?ee.left?me.left(ee.left):me.right(ee.right):me.centerHorizontally(),ee&&(ee.top||ee.bottom)?ee.top?me.top(ee.top):me.bottom(ee.bottom):me.centerVertically(),this._ref.updatePosition(),this}updateSize(ee="",me=""){return this._ref.updateSize(ee,me),this}addPanelClass(ee){return this._ref.addPanelClass(ee),this}removePanelClass(ee){return this._ref.removePanelClass(ee),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function ye(he,ee,me){return he._closeInteractionType=ee,he.close(me)}const ue=new x.OlP("MatDialogData"),Se=new x.OlP("mat-dialog-default-options"),$e=new x.OlP("mat-dialog-scroll-strategy"),De={provide:$e,deps:[v.aV],useFactory:function Je(he){return()=>he.scrollStrategies.block()}};let Ue=0,He=(()=>{class he{constructor(me,Ee,Ye,Et,At,at,wt,vt,tn,Bt){this._overlay=me,this._defaultOptions=Ye,this._parentDialog=Et,this._dialogRefConstructor=wt,this._dialogContainerType=vt,this._dialogDataToken=tn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ie.x,this._afterOpenedAtThisLevel=new ie.x,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,Q.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,j.O)(void 0))),this._scrollStrategy=at,this._dialog=Ee.get(f.Vq)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const me=this._parentDialog;return me?me._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(me,Ee){let Ye;(Ee={...this._defaultOptions||new tt,...Ee}).id=Ee.id||`${this._idPrefix}${Ue++}`,Ee.scrollStrategy=Ee.scrollStrategy||this._scrollStrategy();const Et=this._dialog.open(me,{...Ee,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:tt,useValue:Ee},{provide:f.ib,useValue:Ee}]},templateContext:()=>({dialogRef:Ye}),providers:(At,at,wt)=>(Ye=new this._dialogRefConstructor(At,Ee,wt),Ye.updatePosition(Ee?.position),[{provide:this._dialogContainerType,useValue:wt},{provide:this._dialogDataToken,useValue:at.data},{provide:this._dialogRefConstructor,useValue:Ye}])});return Ye.componentInstance=Et.componentInstance,this.openDialogs.push(Ye),this.afterOpened.next(Ye),Ye.afterClosed().subscribe(()=>{const At=this.openDialogs.indexOf(Ye);At>-1&&(this.openDialogs.splice(At,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Ye}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(me){return this.openDialogs.find(Ee=>Ee.id===me)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(me){let Ee=me.length;for(;Ee--;)me[Ee].close()}}return he.\u0275fac=function(me){x.$Z()},he.\u0275prov=x.Yz7({token:he,factory:he.\u0275fac}),he})(),_t=(()=>{class he extends He{constructor(me,Ee,Ye,Et,At,at,wt,vt){super(me,Ee,Et,at,wt,At,Y,Ae,ue,vt)}}return he.\u0275fac=function(me){return new(me||he)(x.LFG(v.aV),x.LFG(x.zs3),x.LFG(U.Ye,8),x.LFG(Se,8),x.LFG($e),x.LFG(he,12),x.LFG(v.Xj),x.LFG(x.QbO,8))},he.\u0275prov=x.Yz7({token:he,factory:he.\u0275fac}),he})(),$t=0,bt=(()=>{class he{constructor(me,Ee,Ye){this.dialogRef=me,this._elementRef=Ee,this._dialog=Ye,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Ie(this._elementRef,this._dialog.openDialogs))}ngOnChanges(me){const Ee=me._matDialogClose||me._matDialogCloseResult;Ee&&(this.dialogResult=Ee.currentValue)}_onButtonClick(me){ye(this.dialogRef,0===me.screenX&&0===me.screenY?"keyboard":"mouse",this.dialogResult)}}return he.\u0275fac=function(me){return new(me||he)(x.Y36(Y,8),x.Y36(x.SBq),x.Y36(_t))},he.\u0275dir=x.lG2({type:he,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(me,Ee){1&me&&x.NdJ("click",function(Et){return Ee._onButtonClick(Et)}),2&me&&x.uIk("aria-label",Ee.ariaLabel||null)("type",Ee.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[x.TTD]}),he})(),sn=(()=>{class he{constructor(me,Ee,Ye){this._dialogRef=me,this._elementRef=Ee,this._dialog=Ye,this.id="mat-dialog-title-"+$t++}ngOnInit(){this._dialogRef||(this._dialogRef=Ie(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const me=this._dialogRef._containerInstance;me&&!me._ariaLabelledBy&&(me._ariaLabelledBy=this.id)})}}return he.\u0275fac=function(me){return new(me||he)(x.Y36(Y,8),x.Y36(x.SBq),x.Y36(_t))},he.\u0275dir=x.lG2({type:he,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(me,Ee){2&me&&x.Ikx("id",Ee.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),he})(),en=(()=>{class he{}return he.\u0275fac=function(me){return new(me||he)},he.\u0275dir=x.lG2({type:he,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),he})(),Tt=(()=>{class he{constructor(){this.align="start"}}return he.\u0275fac=function(me){return new(me||he)},he.\u0275dir=x.lG2({type:he,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(me,Ee){2&me&&x.ekj("mat-dialog-actions-align-center","center"===Ee.align)("mat-dialog-actions-align-end","end"===Ee.align)},inputs:{align:"align"}}),he})();function Ie(he,ee){let me=he.nativeElement.parentElement;for(;me&&!me.classList.contains("mat-dialog-container");)me=me.parentElement;return me?ee.find(Ee=>Ee.id===me.id):null}let ke=(()=>{class he{}return he.\u0275fac=function(me){return new(me||he)},he.\u0275mod=x.oAB({type:he}),he.\u0275inj=x.cJS({providers:[_t,De],imports:[f.Su,v.U8,A.eL,k.BQ,k.BQ]}),he})()},11481:(et,_e,_)=>{_.d(_e,{Dx:()=>Z,H7:()=>an,b2:()=>S,q6:()=>Rt,se:()=>He});var f=_(36895),v=_(94650);class A extends f.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class x extends A{static makeCurrent(){(0,f.HT)(new x)}onAndCancel(ne,H,Ce){return ne.addEventListener(H,Ce,!1),()=>{ne.removeEventListener(H,Ce,!1)}}dispatchEvent(ne,H){ne.dispatchEvent(H)}remove(ne){ne.parentNode&&ne.parentNode.removeChild(ne)}createElement(ne,H){return(H=H||this.getDefaultDocument()).createElement(ne)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ne){return ne.nodeType===Node.ELEMENT_NODE}isShadowRoot(ne){return ne instanceof DocumentFragment}getGlobalEventTarget(ne,H){return"window"===H?window:"document"===H?ne:"body"===H?ne.body:null}getBaseHref(ne){const H=function U(){return k=k||document.querySelector("base"),k?k.getAttribute("href"):null}();return null==H?null:function X(te){ie=ie||document.createElement("a"),ie.setAttribute("href",te);const ne=ie.pathname;return"/"===ne.charAt(0)?ne:`/${ne}`}(H)}resetBaseElement(){k=null}getUserAgent(){return window.navigator.userAgent}getCookie(ne){return(0,f.Mx)(document.cookie,ne)}}let ie,k=null;const Q=new v.OlP("TRANSITION_ID"),z=[{provide:v.ip1,useFactory:function $(te,ne,H){return()=>{H.get(v.CZH).donePromise.then(()=>{const Ce=(0,f.q)(),We=ne.querySelectorAll(`style[ng-transition="${te}"]`);for(let gt=0;gt<We.length;gt++)Ce.remove(We[gt])})}},deps:[Q,f.K0,v.zs3],multi:!0}];let Me=(()=>{class te{build(){return new XMLHttpRequest}}return te.\u0275fac=function(H){return new(H||te)},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})();const Oe=new v.OlP("EventManagerPlugins");let de=(()=>{class te{constructor(H,Ce){this._zone=Ce,this._eventNameToPlugin=new Map,H.forEach(We=>We.manager=this),this._plugins=H.slice().reverse()}addEventListener(H,Ce,We){return this._findPluginFor(Ce).addEventListener(H,Ce,We)}addGlobalEventListener(H,Ce,We){return this._findPluginFor(Ce).addGlobalEventListener(H,Ce,We)}getZone(){return this._zone}_findPluginFor(H){const Ce=this._eventNameToPlugin.get(H);if(Ce)return Ce;const We=this._plugins;for(let gt=0;gt<We.length;gt++){const Ht=We[gt];if(Ht.supports(H))return this._eventNameToPlugin.set(H,Ht),Ht}throw new Error(`No event manager plugin found for event ${H}`)}}return te.\u0275fac=function(H){return new(H||te)(v.LFG(Oe),v.LFG(v.R0b))},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})();class ge{constructor(ne){this._doc=ne}addGlobalEventListener(ne,H,Ce){const We=(0,f.q)().getGlobalEventTarget(this._doc,ne);if(!We)throw new Error(`Unsupported event target ${We} for event ${H}`);return this.addEventListener(We,H,Ce)}}let se=(()=>{class te{constructor(){this._stylesSet=new Set}addStyles(H){const Ce=new Set;H.forEach(We=>{this._stylesSet.has(We)||(this._stylesSet.add(We),Ce.add(We))}),this.onStylesAdded(Ce)}onStylesAdded(H){}getAllStyles(){return Array.from(this._stylesSet)}}return te.\u0275fac=function(H){return new(H||te)},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})(),Pe=(()=>{class te extends se{constructor(H){super(),this._doc=H,this._hostNodes=new Map,this._hostNodes.set(H.head,[])}_addStylesToHost(H,Ce,We){H.forEach(gt=>{const Ht=this._doc.createElement("style");Ht.textContent=gt,We.push(Ce.appendChild(Ht))})}addHost(H){const Ce=[];this._addStylesToHost(this._stylesSet,H,Ce),this._hostNodes.set(H,Ce)}removeHost(H){const Ce=this._hostNodes.get(H);Ce&&Ce.forEach(tt),this._hostNodes.delete(H)}onStylesAdded(H){this._hostNodes.forEach((Ce,We)=>{this._addStylesToHost(H,We,Ce)})}ngOnDestroy(){this._hostNodes.forEach(H=>H.forEach(tt))}}return te.\u0275fac=function(H){return new(H||te)(v.LFG(f.K0))},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})();function tt(te){(0,f.q)().remove(te)}const nt={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Ae=/%COMP%/g;function Je(te,ne,H){for(let Ce=0;Ce<ne.length;Ce++){let We=ne[Ce];Array.isArray(We)?Je(te,We,H):(We=We.replace(Ae,te),H.push(We))}return H}function De(te){return ne=>{if("__ngUnwrap__"===ne)return te;!1===te(ne)&&(ne.preventDefault(),ne.returnValue=!1)}}let He=(()=>{class te{constructor(H,Ce,We){this.eventManager=H,this.sharedStylesHost=Ce,this.appId=We,this.rendererByCompId=new Map,this.defaultRenderer=new _t(H)}createRenderer(H,Ce){if(!H||!Ce)return this.defaultRenderer;switch(Ce.encapsulation){case v.ifc.Emulated:{let We=this.rendererByCompId.get(Ce.id);return We||(We=new en(this.eventManager,this.sharedStylesHost,Ce,this.appId),this.rendererByCompId.set(Ce.id,We)),We.applyToHost(H),We}case 1:case v.ifc.ShadowDom:return new Tt(this.eventManager,this.sharedStylesHost,H,Ce);default:if(!this.rendererByCompId.has(Ce.id)){const We=Je(Ce.id,Ce.styles,[]);this.sharedStylesHost.addStyles(We),this.rendererByCompId.set(Ce.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return te.\u0275fac=function(H){return new(H||te)(v.LFG(de),v.LFG(Pe),v.LFG(v.AFp))},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})();class _t{constructor(ne){this.eventManager=ne,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ne,H){return H?document.createElementNS(nt[H]||H,ne):document.createElement(ne)}createComment(ne){return document.createComment(ne)}createText(ne){return document.createTextNode(ne)}appendChild(ne,H){(sn(ne)?ne.content:ne).appendChild(H)}insertBefore(ne,H,Ce){ne&&(sn(ne)?ne.content:ne).insertBefore(H,Ce)}removeChild(ne,H){ne&&ne.removeChild(H)}selectRootElement(ne,H){let Ce="string"==typeof ne?document.querySelector(ne):ne;if(!Ce)throw new Error(`The selector "${ne}" did not match any elements`);return H||(Ce.textContent=""),Ce}parentNode(ne){return ne.parentNode}nextSibling(ne){return ne.nextSibling}setAttribute(ne,H,Ce,We){if(We){H=We+":"+H;const gt=nt[We];gt?ne.setAttributeNS(gt,H,Ce):ne.setAttribute(H,Ce)}else ne.setAttribute(H,Ce)}removeAttribute(ne,H,Ce){if(Ce){const We=nt[Ce];We?ne.removeAttributeNS(We,H):ne.removeAttribute(`${Ce}:${H}`)}else ne.removeAttribute(H)}addClass(ne,H){ne.classList.add(H)}removeClass(ne,H){ne.classList.remove(H)}setStyle(ne,H,Ce,We){We&(v.JOm.DashCase|v.JOm.Important)?ne.style.setProperty(H,Ce,We&v.JOm.Important?"important":""):ne.style[H]=Ce}removeStyle(ne,H,Ce){Ce&v.JOm.DashCase?ne.style.removeProperty(H):ne.style[H]=""}setProperty(ne,H,Ce){ne[H]=Ce}setValue(ne,H){ne.nodeValue=H}listen(ne,H,Ce){return"string"==typeof ne?this.eventManager.addGlobalEventListener(ne,H,De(Ce)):this.eventManager.addEventListener(ne,H,De(Ce))}}function sn(te){return"TEMPLATE"===te.tagName&&void 0!==te.content}class en extends _t{constructor(ne,H,Ce,We){super(ne),this.component=Ce;const gt=Je(We+"-"+Ce.id,Ce.styles,[]);H.addStyles(gt),this.contentAttr=function $e(te){return"_ngcontent-%COMP%".replace(Ae,te)}(We+"-"+Ce.id),this.hostAttr=function Le(te){return"_nghost-%COMP%".replace(Ae,te)}(We+"-"+Ce.id)}applyToHost(ne){super.setAttribute(ne,this.hostAttr,"")}createElement(ne,H){const Ce=super.createElement(ne,H);return super.setAttribute(Ce,this.contentAttr,""),Ce}}class Tt extends _t{constructor(ne,H,Ce,We){super(ne),this.sharedStylesHost=H,this.hostEl=Ce,this.shadowRoot=Ce.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const gt=Je(We.id,We.styles,[]);for(let Ht=0;Ht<gt.length;Ht++){const zt=document.createElement("style");zt.textContent=gt[Ht],this.shadowRoot.appendChild(zt)}}nodeOrShadowRoot(ne){return ne===this.hostEl?this.shadowRoot:ne}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(ne,H){return super.appendChild(this.nodeOrShadowRoot(ne),H)}insertBefore(ne,H,Ce){return super.insertBefore(this.nodeOrShadowRoot(ne),H,Ce)}removeChild(ne,H){return super.removeChild(this.nodeOrShadowRoot(ne),H)}parentNode(ne){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ne)))}}let Ie=(()=>{class te extends ge{constructor(H){super(H)}supports(H){return!0}addEventListener(H,Ce,We){return H.addEventListener(Ce,We,!1),()=>this.removeEventListener(H,Ce,We)}removeEventListener(H,Ce,We){return H.removeEventListener(Ce,We)}}return te.\u0275fac=function(H){return new(H||te)(v.LFG(f.K0))},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})();const ke=["alt","control","meta","shift"],he={"\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"},ee={alt:te=>te.altKey,control:te=>te.ctrlKey,meta:te=>te.metaKey,shift:te=>te.shiftKey};let me=(()=>{class te extends ge{constructor(H){super(H)}supports(H){return null!=te.parseEventName(H)}addEventListener(H,Ce,We){const gt=te.parseEventName(Ce),Ht=te.eventCallback(gt.fullKey,We,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,f.q)().onAndCancel(H,gt.domEventName,Ht))}static parseEventName(H){const Ce=H.toLowerCase().split("."),We=Ce.shift();if(0===Ce.length||"keydown"!==We&&"keyup"!==We)return null;const gt=te._normalizeKey(Ce.pop());let Ht="",zt=Ce.indexOf("code");if(zt>-1&&(Ce.splice(zt,1),Ht="code."),ke.forEach(Vn=>{const Mt=Ce.indexOf(Vn);Mt>-1&&(Ce.splice(Mt,1),Ht+=Vn+".")}),Ht+=gt,0!=Ce.length||0===gt.length)return null;const nn={};return nn.domEventName=We,nn.fullKey=Ht,nn}static matchEventFullKeyCode(H,Ce){let We=he[H.key]||H.key,gt="";return Ce.indexOf("code.")>-1&&(We=H.code,gt="code."),!(null==We||!We)&&(We=We.toLowerCase()," "===We?We="space":"."===We&&(We="dot"),ke.forEach(Ht=>{Ht!==We&&(0,ee[Ht])(H)&&(gt+=Ht+".")}),gt+=We,gt===Ce)}static eventCallback(H,Ce,We){return gt=>{te.matchEventFullKeyCode(gt,H)&&We.runGuarded(()=>Ce(gt))}}static _normalizeKey(H){return"esc"===H?"escape":H}}return te.\u0275fac=function(H){return new(H||te)(v.LFG(f.K0))},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})();const Rt=(0,v.eFA)(v._c5,"browser",[{provide:v.Lbi,useValue:f.bD},{provide:v.g9A,useValue:function wt(){x.makeCurrent()},multi:!0},{provide:f.K0,useFactory:function tn(){return(0,v.RDi)(document),document},deps:[]}]),Jt=new v.OlP(""),Te=[{provide:v.rWj,useClass:class j{addToWindow(ne){v.dqk.getAngularTestability=(Ce,We=!0)=>{const gt=ne.findTestabilityInTree(Ce,We);if(null==gt)throw new Error("Could not find testability for element.");return gt},v.dqk.getAllAngularTestabilities=()=>ne.getAllTestabilities(),v.dqk.getAllAngularRootElements=()=>ne.getAllRootElements(),v.dqk.frameworkStabilizers||(v.dqk.frameworkStabilizers=[]),v.dqk.frameworkStabilizers.push(Ce=>{const We=v.dqk.getAllAngularTestabilities();let gt=We.length,Ht=!1;const zt=function(nn){Ht=Ht||nn,gt--,0==gt&&Ce(Ht)};We.forEach(function(nn){nn.whenStable(zt)})})}findTestabilityInTree(ne,H,Ce){return null==H?null:ne.getTestability(H)??(Ce?(0,f.q)().isShadowRoot(H)?this.findTestabilityInTree(ne,H.host,!0):this.findTestabilityInTree(ne,H.parentElement,!0):null)}},deps:[]},{provide:v.lri,useClass:v.dDg,deps:[v.R0b,v.eoX,v.rWj]},{provide:v.dDg,useClass:v.dDg,deps:[v.R0b,v.eoX,v.rWj]}],rt=[{provide:v.zSh,useValue:"root"},{provide:v.qLn,useFactory:function vt(){return new v.qLn},deps:[]},{provide:Oe,useClass:Ie,multi:!0,deps:[f.K0,v.R0b,v.Lbi]},{provide:Oe,useClass:me,multi:!0,deps:[f.K0]},{provide:He,useClass:He,deps:[de,Pe,v.AFp]},{provide:v.FYo,useExisting:He},{provide:se,useExisting:Pe},{provide:Pe,useClass:Pe,deps:[f.K0]},{provide:de,useClass:de,deps:[Oe,v.R0b]},{provide:f.JF,useClass:Me,deps:[]},[]];let S=(()=>{class te{constructor(H){}static withServerTransition(H){return{ngModule:te,providers:[{provide:v.AFp,useValue:H.appId},{provide:Q,useExisting:v.AFp},z]}}}return te.\u0275fac=function(H){return new(H||te)(v.LFG(Jt,12))},te.\u0275mod=v.oAB({type:te}),te.\u0275inj=v.cJS({providers:[...rt,...Te],imports:[f.ez,v.hGG]}),te})(),Z=(()=>{class te{constructor(H){this._doc=H}getTitle(){return this._doc.title}setTitle(H){this._doc.title=H||""}}return te.\u0275fac=function(H){return new(H||te)(v.LFG(f.K0))},te.\u0275prov=v.Yz7({token:te,factory:function(H){let Ce=null;return Ce=H?new H:function ve(){return new Z((0,v.LFG)(f.K0))}(),Ce},providedIn:"root"}),te})();typeof window<"u"&&window;let an=(()=>{class te{}return te.\u0275fac=function(H){return new(H||te)},te.\u0275prov=v.Yz7({token:te,factory:function(H){let Ce=null;return Ce=H?new(H||te):v.LFG(wn),Ce},providedIn:"root"}),te})(),wn=(()=>{class te extends an{constructor(H){super(),this._doc=H}sanitize(H,Ce){if(null==Ce)return null;switch(H){case v.q3G.NONE:return Ce;case v.q3G.HTML:return(0,v.qzn)(Ce,"HTML")?(0,v.z3N)(Ce):(0,v.EiD)(this._doc,String(Ce)).toString();case v.q3G.STYLE:return(0,v.qzn)(Ce,"Style")?(0,v.z3N)(Ce):Ce;case v.q3G.SCRIPT:if((0,v.qzn)(Ce,"Script"))return(0,v.z3N)(Ce);throw new Error("unsafe value used in a script context");case v.q3G.URL:return(0,v.qzn)(Ce,"URL")?(0,v.z3N)(Ce):(0,v.mCW)(String(Ce));case v.q3G.RESOURCE_URL:if((0,v.qzn)(Ce,"ResourceURL"))return(0,v.z3N)(Ce);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${H} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(H){return(0,v.JVY)(H)}bypassSecurityTrustStyle(H){return(0,v.L6k)(H)}bypassSecurityTrustScript(H){return(0,v.eBb)(H)}bypassSecurityTrustUrl(H){return(0,v.LAX)(H)}bypassSecurityTrustResourceUrl(H){return(0,v.pB0)(H)}}return te.\u0275fac=function(H){return new(H||te)(v.LFG(f.K0))},te.\u0275prov=v.Yz7({token:te,factory:function(H){let Ce=null;return Ce=H?new H:function En(te){return new wn(te.get(f.K0))}(v.LFG(v.zs3)),Ce},providedIn:"root"}),te})()},19132:(et,_e,_)=>{_.d(_e,{gz:()=>Hr,F0:()=>kn,yS:()=>no,Bz:()=>Bn,lC:()=>ri});var f=_(94650),v=_(80188),A=_(39646),x=_(61135),k=_(86805),U=_(39841),ie=_(97272),X=_(49770),Q=_(89635),$=_(62843),z=_(69751),j=_(60515),Me=_(94033),Oe=_(77579),de=_(36895),ge=_(54004),se=_(63900),Pe=_(95698),tt=_(68675),nt=_(39300),Ae=_(95577),Y=_(50590),ye=_(24351),ue=_(18505),Se=_(70262),$e=_(54482),Le=_(25403);function Je(u,d,l,y,E){return(P,G)=>{let J=l,je=d,ot=0;P.subscribe((0,Le.x)(G,Yt=>{const mt=ot++;je=J?u(je,Yt,mt):(J=!0,Yt),y&&G.next(je)},E&&(()=>{J&&G.next(je),G.complete()})))}}function De(u,d){return(0,$e.e)(Je(u,d,arguments.length>=2,!0))}function Ue(u){return u<=0?()=>j.E:(0,$e.e)((d,l)=>{let y=[];d.subscribe((0,Le.x)(l,E=>{y.push(E),u<y.length&&y.shift()},()=>{for(const E of y)l.next(E);l.complete()},void 0,()=>{y=null}))})}var He=_(18068),_t=_(46590),$t=_(44671);function bt(u,d){const l=arguments.length>=2;return y=>y.pipe(u?(0,nt.h)((E,P)=>u(E,P,y)):$t.y,Ue(1),l?(0,_t.d)(d):(0,He.T)(()=>new k.K))}var sn=_(22529),en=_(69718),Tt=_(28746),Ie=_(38343),ke=_(8189),he=_(11481);const ee="primary",me=Symbol("RouteTitle");class Ee{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const l=this.params[d];return Array.isArray(l)?l[0]:l}return null}getAll(d){if(this.has(d)){const l=this.params[d];return Array.isArray(l)?l:[l]}return[]}get keys(){return Object.keys(this.params)}}function Ye(u){return new Ee(u)}function Et(u,d,l){const y=l.path.split("/");if(y.length>u.length||"full"===l.pathMatch&&(d.hasChildren()||y.length<u.length))return null;const E={};for(let P=0;P<y.length;P++){const G=y[P],J=u[P];if(G.startsWith(":"))E[G.substring(1)]=J;else if(G!==J.path)return null}return{consumed:u.slice(0,y.length),posParams:E}}function at(u,d){const l=u?Object.keys(u):void 0,y=d?Object.keys(d):void 0;if(!l||!y||l.length!=y.length)return!1;let E;for(let P=0;P<l.length;P++)if(E=l[P],!wt(u[E],d[E]))return!1;return!0}function wt(u,d){if(Array.isArray(u)&&Array.isArray(d)){if(u.length!==d.length)return!1;const l=[...u].sort(),y=[...d].sort();return l.every((E,P)=>y[P]===E)}return u===d}function vt(u){return Array.prototype.concat.apply([],u)}function tn(u){return u.length>0?u[u.length-1]:null}function Rt(u,d){for(const l in u)u.hasOwnProperty(l)&&d(u[l],l)}function Jt(u){return(0,f.CqO)(u)?u:(0,f.QGY)(u)?(0,v.D)(Promise.resolve(u)):(0,A.of)(u)}const S={exact:function ve(u,d,l){if(!Qe(u.segments,d.segments)||!be(u.segments,d.segments,l)||u.numberOfChildren!==d.numberOfChildren)return!1;for(const y in d.children)if(!u.children[y]||!ve(u.children[y],d.children[y],l))return!1;return!0},subset:L},C={exact:function K(u,d){return at(u,d)},subset:function Z(u,d){return Object.keys(d).length<=Object.keys(u).length&&Object.keys(d).every(l=>wt(u[l],d[l]))},ignored:()=>!0};function R(u,d,l){return S[l.paths](u.root,d.root,l.matrixParams)&&C[l.queryParams](u.queryParams,d.queryParams)&&!("exact"===l.fragment&&u.fragment!==d.fragment)}function L(u,d,l){return F(u,d,d.segments,l)}function F(u,d,l,y){if(u.segments.length>l.length){const E=u.segments.slice(0,l.length);return!(!Qe(E,l)||d.hasChildren()||!be(E,l,y))}if(u.segments.length===l.length){if(!Qe(u.segments,l)||!be(u.segments,l,y))return!1;for(const E in d.children)if(!u.children[E]||!L(u.children[E],d.children[E],y))return!1;return!0}{const E=l.slice(0,u.segments.length),P=l.slice(u.segments.length);return!!(Qe(u.segments,E)&&be(u.segments,E,y)&&u.children[ee])&&F(u.children[ee],d,P,y)}}function be(u,d,l){return d.every((y,E)=>C[l](u[E].parameters,y.parameters))}class Re{constructor(d,l,y){this.root=d,this.queryParams=l,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ye(this.queryParams)),this._queryParamMap}toString(){return It.serialize(this)}}class Ve{constructor(d,l){this.segments=d,this.children=l,this.parent=null,Rt(l,(y,E)=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return we(this)}}class lt{constructor(d,l){this.path=d,this.parameters=l}get parameterMap(){return this._parameterMap||(this._parameterMap=Ye(this.parameters)),this._parameterMap}toString(){return it(this)}}function Qe(u,d){return u.length===d.length&&u.every((l,y)=>l.path===d[y].path)}let St=(()=>{class u{}return u.\u0275fac=function(l){return new(l||u)},u.\u0275prov=f.Yz7({token:u,factory:function(){return new dn},providedIn:"root"}),u})();class dn{parse(d){const l=new Mn(d);return new Re(l.parseRootSegment(),l.parseQueryParams(),l.parseFragment())}serialize(d){const l=`/${oe(d.root,!0)}`,y=function Vt(u){const d=Object.keys(u).map(l=>{const y=u[l];return Array.isArray(y)?y.map(E=>`${W(l)}=${W(E)}`).join("&"):`${W(l)}=${W(y)}`}).filter(l=>!!l);return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${l}${y}${"string"==typeof d.fragment?`#${function q(u){return encodeURI(u)}(d.fragment)}`:""}`}}const It=new dn;function we(u){return u.segments.map(d=>it(d)).join("/")}function oe(u,d){if(!u.hasChildren())return we(u);if(d){const l=u.children[ee]?oe(u.children[ee],!1):"",y=[];return Rt(u.children,(E,P)=>{P!==ee&&y.push(`${P}:${oe(E,!1)}`)}),y.length>0?`${l}(${y.join("//")})`:l}{const l=function Nt(u,d){let l=[];return Rt(u.children,(y,E)=>{E===ee&&(l=l.concat(d(y,E)))}),Rt(u.children,(y,E)=>{E!==ee&&(l=l.concat(d(y,E)))}),l}(u,(y,E)=>E===ee?[oe(u.children[ee],!1)]:[`${E}:${oe(y,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[ee]?`${we(u)}/${l[0]}`:`${we(u)}/(${l.join("//")})`}}function ce(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function W(u){return ce(u).replace(/%3B/gi,";")}function B(u){return ce(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function fe(u){return decodeURIComponent(u)}function Ne(u){return fe(u.replace(/\+/g,"%20"))}function it(u){return`${B(u.path)}${function Ot(u){return Object.keys(u).map(d=>`;${B(d)}=${B(u[d])}`).join("")}(u.parameters)}`}const Xn=/^[^\/()?;=#]+/;function jt(u){const d=u.match(Xn);return d?d[0]:""}const on=/^[^=?&#]+/,En=/^[^&#]+/;class Mn{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ve([],{}):new Ve([],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 l={};this.peekStartsWith("/(")&&(this.capture("/"),l=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(d.length>0||Object.keys(l).length>0)&&(y[ee]=new Ve(d,l)),y}parseSegment(){const d=jt(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new f.vHH(4009,!1);return this.capture(d),new lt(fe(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const l=jt(this.remaining);if(!l)return;this.capture(l);let y="";if(this.consumeOptional("=")){const E=jt(this.remaining);E&&(y=E,this.capture(y))}d[fe(l)]=fe(y)}parseQueryParam(d){const l=function an(u){const d=u.match(on);return d?d[0]:""}(this.remaining);if(!l)return;this.capture(l);let y="";if(this.consumeOptional("=")){const G=function wn(u){const d=u.match(En);return d?d[0]:""}(this.remaining);G&&(y=G,this.capture(y))}const E=Ne(l),P=Ne(y);if(d.hasOwnProperty(E)){let G=d[E];Array.isArray(G)||(G=[G],d[E]=G),G.push(P)}else d[E]=P}parseParens(d){const l={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=jt(this.remaining),E=this.remaining[y.length];if("/"!==E&&")"!==E&&";"!==E)throw new f.vHH(4010,!1);let P;y.indexOf(":")>-1?(P=y.slice(0,y.indexOf(":")),this.capture(P),this.capture(":")):d&&(P=ee);const G=this.parseChildren();l[P]=1===Object.keys(G).length?G[ee]:new Ve([],G),this.consumeOptional("//")}return l}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 f.vHH(4011,!1)}}function te(u){return u.segments.length>0?new Ve([],{[ee]:u}):u}function ne(u){const d={};for(const y of Object.keys(u.children)){const P=ne(u.children[y]);(P.segments.length>0||P.hasChildren())&&(d[y]=P)}return function H(u){if(1===u.numberOfChildren&&u.children[ee]){const d=u.children[ee];return new Ve(u.segments.concat(d.segments),d.children)}return u}(new Ve(u.segments,d))}function Ce(u){return u instanceof Re}function nn(u,d,l,y,E){if(0===l.length)return Fn(d.root,d.root,d.root,y,E);const P=function hr(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Xr(!0,0,u);let d=0,l=!1;const y=u.reduce((E,P,G)=>{if("object"==typeof P&&null!=P){if(P.outlets){const J={};return Rt(P.outlets,(je,ot)=>{J[ot]="string"==typeof je?je.split("/"):je}),[...E,{outlets:J}]}if(P.segmentPath)return[...E,P.segmentPath]}return"string"!=typeof P?[...E,P]:0===G?(P.split("/").forEach((J,je)=>{0==je&&"."===J||(0==je&&""===J?l=!0:".."===J?d++:""!=J&&E.push(J))}),E):[...E,P]},[]);return new Xr(l,d,y)}(l);return P.toRoot()?Fn(d.root,d.root,new Ve([],{}),y,E):function G(je){const ot=function Jn(u,d,l,y){if(u.isAbsolute)return new yn(d.root,!0,0);if(-1===y)return new yn(l,l===d.root,0);return function Kn(u,d,l){let y=u,E=d,P=l;for(;P>E;){if(P-=E,y=y.parent,!y)throw new f.vHH(4005,!1);E=y.segments.length}return new yn(y,!1,E-P)}(l,y+(Vn(u.commands[0])?0:1),u.numberOfDoubleDots)}(P,d,u.snapshot?._urlSegment,je),Yt=ot.processChildren?qt(ot.segmentGroup,ot.index,P.commands):Jr(ot.segmentGroup,ot.index,P.commands);return Fn(d.root,ot.segmentGroup,Yt,y,E)}(u.snapshot?._lastPathIndex)}function Vn(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Mt(u){return"object"==typeof u&&null!=u&&u.outlets}function Fn(u,d,l,y,E){let G,P={};y&&Rt(y,(je,ot)=>{P[ot]=Array.isArray(je)?je.map(Yt=>`${Yt}`):`${je}`}),G=u===d?l:yr(u,d,l);const J=te(ne(G));return new Re(J,P,E)}function yr(u,d,l){const y={};return Rt(u.children,(E,P)=>{y[P]=E===d?l:yr(E,d,l)}),new Ve(u.segments,y)}class Xr{constructor(d,l,y){if(this.isAbsolute=d,this.numberOfDoubleDots=l,this.commands=y,d&&y.length>0&&Vn(y[0]))throw new f.vHH(4003,!1);const E=y.find(Mt);if(E&&E!==tn(y))throw new f.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yn{constructor(d,l,y){this.segmentGroup=d,this.processChildren=l,this.index=y}}function Jr(u,d,l){if(u||(u=new Ve([],{})),0===u.segments.length&&u.hasChildren())return qt(u,d,l);const y=function qr(u,d,l){let y=0,E=d;const P={match:!1,pathIndex:0,commandIndex:0};for(;E<u.segments.length;){if(y>=l.length)return P;const G=u.segments[E],J=l[y];if(Mt(J))break;const je=`${J}`,ot=y<l.length-1?l[y+1]:null;if(E>0&&void 0===je)break;if(je&&ot&&"object"==typeof ot&&void 0===ot.outlets){if(!rr(je,ot,G))return P;y+=2}else{if(!rr(je,{},G))return P;y++}E++}return{match:!0,pathIndex:E,commandIndex:y}}(u,d,l),E=l.slice(y.commandIndex);if(y.match&&y.pathIndex<u.segments.length){const P=new Ve(u.segments.slice(0,y.pathIndex),{});return P.children[ee]=new Ve(u.segments.slice(y.pathIndex),u.children),qt(P,0,E)}return y.match&&0===E.length?new Ve(u.segments,{}):y.match&&!u.hasChildren()?Br(u,d,l):y.match?qt(u,0,E):Br(u,d,l)}function qt(u,d,l){if(0===l.length)return new Ve(u.segments,{});{const y=function kr(u){return Mt(u[0])?u[0].outlets:{[ee]:u}}(l),E={};return Rt(y,(P,G)=>{"string"==typeof P&&(P=[P]),null!==P&&(E[G]=Jr(u.children[G],d,P))}),Rt(u.children,(P,G)=>{void 0===y[G]&&(E[G]=P)}),new Ve(u.segments,E)}}function Br(u,d,l){const y=u.segments.slice(0,d);let E=0;for(;E<l.length;){const P=l[E];if(Mt(P)){const je=Tr(P.outlets);return new Ve(y,je)}if(0===E&&Vn(l[0])){y.push(new lt(u.segments[d].path,ei(l[0]))),E++;continue}const G=Mt(P)?P.outlets[ee]:`${P}`,J=E<l.length-1?l[E+1]:null;G&&J&&Vn(J)?(y.push(new lt(G,ei(J))),E+=2):(y.push(new lt(G,{})),E++)}return new Ve(y,{})}function Tr(u){const d={};return Rt(u,(l,y)=>{"string"==typeof l&&(l=[l]),null!==l&&(d[y]=Br(new Ve([],{}),0,l))}),d}function ei(u){const d={};return Rt(u,(l,y)=>d[y]=`${l}`),d}function rr(u,d,l){return u==l.path&&at(d,l.parameters)}class xn{constructor(d,l){this.id=d,this.url=l}}class tr extends xn{constructor(d,l,y="imperative",E=null){super(d,l),this.type=0,this.navigationTrigger=y,this.restoredState=E}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ln extends xn{constructor(d,l,y){super(d,l),this.urlAfterRedirects=y,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ar extends xn{constructor(d,l,y,E){super(d,l),this.reason=y,this.code=E,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class An extends xn{constructor(d,l,y,E){super(d,l),this.error=y,this.target=E,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Gn extends xn{constructor(d,l,y,E){super(d,l),this.urlAfterRedirects=y,this.state=E,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ur extends xn{constructor(d,l,y,E){super(d,l),this.urlAfterRedirects=y,this.state=E,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nr extends xn{constructor(d,l,y,E,P){super(d,l),this.urlAfterRedirects=y,this.state=E,this.shouldActivate=P,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ir extends xn{constructor(d,l,y,E){super(d,l),this.urlAfterRedirects=y,this.state=E,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qn extends xn{constructor(d,l,y,E){super(d,l),this.urlAfterRedirects=y,this.state=E,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ti{constructor(d){this.route=d,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ks{constructor(d){this.route=d,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class os{constructor(d){this.snapshot=d,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class as{constructor(d){this.snapshot=d,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ro{constructor(d){this.snapshot=d,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ir{constructor(d){this.snapshot=d,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Li{constructor(d,l,y){this.routerEvent=d,this.position=l,this.anchor=y,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class _i{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const l=this.pathFromRoot(d);return l.length>1?l[l.length-2]:null}children(d){const l=yi(d,this._root);return l?l.children.map(y=>y.value):[]}firstChild(d){const l=yi(d,this._root);return l&&l.children.length>0?l.children[0].value:null}siblings(d){const l=Vr(d,this._root);return l.length<2?[]:l[l.length-2].children.map(E=>E.value).filter(E=>E!==d)}pathFromRoot(d){return Vr(d,this._root).map(l=>l.value)}}function yi(u,d){if(u===d.value)return d;for(const l of d.children){const y=yi(u,l);if(y)return y}return null}function Vr(u,d){if(u===d.value)return[d];for(const l of d.children){const y=Vr(u,l);if(y.length)return y.unshift(d),y}return[]}class vr{constructor(d,l){this.value=d,this.children=l}toString(){return`TreeNode(${this.value})`}}function jr(u){const d={};return u&&u.children.forEach(l=>d[l.value.outlet]=l),d}class Ss extends _i{constructor(d,l){super(d),this.snapshot=l,Ni(this,d)}toString(){return this.snapshot.toString()}}function Ys(u,d){const l=function ls(u,d){const G=new Or([],{},{},"",{},ee,d,null,u.root,-1,{});return new Fi("",new vr(G,[]))}(u,d),y=new x.X([new lt("",{})]),E=new x.X({}),P=new x.X({}),G=new x.X({}),J=new x.X(""),je=new Hr(y,E,G,J,P,ee,d,l.root);return je.snapshot=l.root,new Ss(new vr(je,[]),l)}class Hr{constructor(d,l,y,E,P,G,J,je){this.url=d,this.params=l,this.queryParams=y,this.fragment=E,this.data=P,this.outlet=G,this.component=J,this.title=this.data?.pipe((0,ge.U)(ot=>ot[me]))??(0,A.of)(void 0),this._futureSnapshot=je}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,ge.U)(d=>Ye(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ge.U)(d=>Ye(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ts(u,d="emptyOnly"){const l=u.pathFromRoot;let y=0;if("always"!==d)for(y=l.length-1;y>=1;){const E=l[y],P=l[y-1];if(E.routeConfig&&""===E.routeConfig.path)y--;else{if(P.component)break;y--}}return function cs(u){return u.reduce((d,l)=>({params:{...d.params,...l.params},data:{...d.data,...l.data},resolve:{...l.data,...d.resolve,...l.routeConfig?.data,...l._resolvedData}}),{params:{},data:{},resolve:{}})}(l.slice(y))}class Or{constructor(d,l,y,E,P,G,J,je,ot,Yt,mt,mn){this.url=d,this.params=l,this.queryParams=y,this.fragment=E,this.data=P,this.outlet=G,this.component=J,this.title=this.data?.[me],this.routeConfig=je,this._urlSegment=ot,this._lastPathIndex=Yt,this._correctedLastPathIndex=mn??Yt,this._resolve=mt}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=Ye(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ye(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Fi extends _i{constructor(d,l){super(l),this.url=d,Ni(this,l)}toString(){return Zs(this._root)}}function Ni(u,d){d.value._routerState=u,d.children.forEach(l=>Ni(u,l))}function Zs(u){const d=u.children.length>0?` { ${u.children.map(Zs).join(", ")} } `:"";return`${u.value}${d}`}function sr(u){if(u.snapshot){const d=u.snapshot,l=u._futureSnapshot;u.snapshot=l,at(d.queryParams,l.queryParams)||u.queryParams.next(l.queryParams),d.fragment!==l.fragment&&u.fragment.next(l.fragment),at(d.params,l.params)||u.params.next(l.params),function At(u,d){if(u.length!==d.length)return!1;for(let l=0;l<u.length;++l)if(!at(u[l],d[l]))return!1;return!0}(d.url,l.url)||u.url.next(l.url),at(d.data,l.data)||u.data.next(l.data)}else u.snapshot=u._futureSnapshot,u.data.next(u._futureSnapshot.data)}function vi(u,d){const l=at(u.params,d.params)&&function xt(u,d){return Qe(u,d)&&u.every((l,y)=>at(l.parameters,d[y].parameters))}(u.url,d.url);return l&&!(!u.parent!=!d.parent)&&(!u.parent||vi(u.parent,d.parent))}function $r(u,d,l){if(l&&u.shouldReuseRoute(d.value,l.value.snapshot)){const y=l.value;y._futureSnapshot=d.value;const E=function Bi(u,d,l){return d.children.map(y=>{for(const E of l.children)if(u.shouldReuseRoute(y.value,E.value.snapshot))return $r(u,y,E);return $r(u,y)})}(u,d,l);return new vr(y,E)}{if(u.shouldAttach(d.value)){const P=u.retrieve(d.value);if(null!==P){const G=P.route;return G.value._futureSnapshot=d.value,G.children=d.children.map(J=>$r(u,J)),G}}const y=function Ui(u){return new Hr(new x.X(u.url),new x.X(u.params),new x.X(u.queryParams),new x.X(u.fragment),new x.X(u.data),u.outlet,u.component,u)}(d.value),E=d.children.map(P=>$r(u,P));return new vr(y,E)}}const ni="ngNavigationCancelingError";function us(u,d){const{redirectTo:l,navigationBehaviorOptions:y}=Ce(d)?{redirectTo:d,navigationBehaviorOptions:void 0}:d,E=ds(!1,0,d);return E.url=l,E.navigationBehaviorOptions=y,E}function ds(u,d,l){const y=new Error("NavigationCancelingError: "+(u||""));return y[ni]=!0,y.cancellationCode=d,l&&(y.url=l),y}function zr(u){return hs(u)&&Ce(u.url)}function hs(u){return u&&u[ni]}class jn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Pr,this.attachRef=null}}let Pr=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(l,y){const E=this.getOrCreateContext(l);E.outlet=y,this.contexts.set(l,E)}onChildOutletDestroyed(l){const y=this.getContext(l);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let y=this.getContext(l);return y||(y=new jn,this.contexts.set(l,y)),y}getContext(l){return this.contexts.get(l)||null}}return u.\u0275fac=function(l){return new(l||u)},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Di=!1;let ri=(()=>{class u{constructor(l,y,E,P,G){this.parentContexts=l,this.location=y,this.changeDetector=P,this.environmentInjector=G,this.activated=null,this._activatedRoute=null,this.activateEvents=new f.vpe,this.deactivateEvents=new f.vpe,this.attachEvents=new f.vpe,this.detachEvents=new f.vpe,this.name=E||ee,l.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const l=this.parentContexts.getContext(this.name);l&&l.route&&(l.attachRef?this.attach(l.attachRef,l.route):this.activateWith(l.route,l.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new f.vHH(4012,Di);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new f.vHH(4012,Di);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new f.vHH(4012,Di);this.location.detach();const l=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(l.instance),l}attach(l,y){this.activated=l,this._activatedRoute=y,this.location.insert(l.hostView),this.attachEvents.emit(l.instance)}deactivate(){if(this.activated){const l=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(l)}}activateWith(l,y){if(this.isActivated)throw new f.vHH(4013,Di);this._activatedRoute=l;const E=this.location,G=l._futureSnapshot.component,J=this.parentContexts.getOrCreateContext(this.name).children,je=new Qs(l,J,E.injector);if(y&&function Xs(u){return!!u.resolveComponentFactory}(y)){const ot=y.resolveComponentFactory(G);this.activated=E.createComponent(ot,E.length,je)}else this.activated=E.createComponent(G,{index:E.length,injector:je,environmentInjector:y??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return u.\u0275fac=function(l){return new(l||u)(f.Y36(Pr),f.Y36(f.s_b),f.$8M("name"),f.Y36(f.sBO),f.Y36(f.lqb))},u.\u0275dir=f.lG2({type:u,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),u})();class Qs{constructor(d,l,y){this.route=d,this.childContexts=l,this.parent=y}get(d,l){return d===Hr?this.route:d===Pr?this.childContexts:this.parent.get(d,l)}}let bn=(()=>{class u{}return u.\u0275fac=function(l){return new(l||u)},u.\u0275cmp=f.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[f.jDz],decls:1,vars:0,template:function(l,y){1&l&&f._UZ(0,"router-outlet")},dependencies:[ri],encapsulation:2}),u})();function Yn(u,d){return u.providers&&!u._injector&&(u._injector=(0,f.MMx)(u.providers,d,`Route: ${u.path}`)),u._injector??d}function fr(u){const d=u.children&&u.children.map(fr),l=d?{...u,children:d}:{...u};return!l.component&&!l.loadComponent&&(d||l.loadChildren)&&l.outlet&&l.outlet!==ee&&(l.component=bn),l}function er(u){return u.outlet||ee}function or(u,d){const l=u.filter(y=>er(y)===d);return l.push(...u.filter(y=>er(y)!==d)),l}function ar(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let d=u.parent;d;d=d.parent){const l=d.routeConfig;if(l?._loadedInjector)return l._loadedInjector;if(l?._injector)return l._injector}return null}class yt{constructor(d,l,y,E){this.routeReuseStrategy=d,this.futureState=l,this.currState=y,this.forwardEvent=E}activate(d){const l=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(l,y,d),sr(this.futureState.root),this.activateChildRoutes(l,y,d)}deactivateChildRoutes(d,l,y){const E=jr(l);d.children.forEach(P=>{const G=P.value.outlet;this.deactivateRoutes(P,E[G],y),delete E[G]}),Rt(E,(P,G)=>{this.deactivateRouteAndItsChildren(P,y)})}deactivateRoutes(d,l,y){const E=d.value,P=l?l.value:null;if(E===P)if(E.component){const G=y.getContext(E.outlet);G&&this.deactivateChildRoutes(d,l,G.children)}else this.deactivateChildRoutes(d,l,y);else P&&this.deactivateRouteAndItsChildren(l,y)}deactivateRouteAndItsChildren(d,l){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,l):this.deactivateRouteAndOutlet(d,l)}detachAndStoreRouteSubtree(d,l){const y=l.getContext(d.value.outlet),E=y&&d.value.component?y.children:l,P=jr(d);for(const G of Object.keys(P))this.deactivateRouteAndItsChildren(P[G],E);if(y&&y.outlet){const G=y.outlet.detach(),J=y.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:G,route:d,contexts:J})}}deactivateRouteAndOutlet(d,l){const y=l.getContext(d.value.outlet),E=y&&d.value.component?y.children:l,P=jr(d);for(const G of Object.keys(P))this.deactivateRouteAndItsChildren(P[G],E);y&&y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated(),y.attachRef=null,y.resolver=null,y.route=null)}activateChildRoutes(d,l,y){const E=jr(l);d.children.forEach(P=>{this.activateRoutes(P,E[P.value.outlet],y),this.forwardEvent(new ir(P.value.snapshot))}),d.children.length&&this.forwardEvent(new as(d.value.snapshot))}activateRoutes(d,l,y){const E=d.value,P=l?l.value:null;if(sr(E),E===P)if(E.component){const G=y.getOrCreateContext(E.outlet);this.activateChildRoutes(d,l,G.children)}else this.activateChildRoutes(d,l,y);else if(E.component){const G=y.getOrCreateContext(E.outlet);if(this.routeReuseStrategy.shouldAttach(E.snapshot)){const J=this.routeReuseStrategy.retrieve(E.snapshot);this.routeReuseStrategy.store(E.snapshot,null),G.children.onOutletReAttached(J.contexts),G.attachRef=J.componentRef,G.route=J.route.value,G.outlet&&G.outlet.attach(J.componentRef,J.route.value),sr(J.route.value),this.activateChildRoutes(d,null,G.children)}else{const J=ar(E.snapshot),je=J?.get(f._Vd)??null;G.attachRef=null,G.route=E,G.resolver=je,G.injector=J,G.outlet&&G.outlet.activateWith(E,G.injector),this.activateChildRoutes(d,null,G.children)}}else this.activateChildRoutes(d,null,y)}}class Er{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class Vi{constructor(d,l){this.component=d,this.route=l}}function qs(u,d,l){const y=u._root;return xr(y,d?d._root:null,l,[y.value])}function Wr(u,d){const l=Symbol(),y=d.get(u,l);return y===l?"function"!=typeof u||(0,f.Z0I)(u)?d.get(u):u:y}function xr(u,d,l,y,E={canDeactivateChecks:[],canActivateChecks:[]}){const P=jr(d);return u.children.forEach(G=>{(function Ci(u,d,l,y,E={canDeactivateChecks:[],canActivateChecks:[]}){const P=u.value,G=d?d.value:null,J=l?l.getContext(u.value.outlet):null;if(G&&P.routeConfig===G.routeConfig){const je=function eo(u,d,l){if("function"==typeof l)return l(u,d);switch(l){case"pathParamsChange":return!Qe(u.url,d.url);case"pathParamsOrQueryParamsChange":return!Qe(u.url,d.url)||!at(u.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vi(u,d)||!at(u.queryParams,d.queryParams);default:return!vi(u,d)}}(G,P,P.routeConfig.runGuardsAndResolvers);je?E.canActivateChecks.push(new Er(y)):(P.data=G.data,P._resolvedData=G._resolvedData),xr(u,d,P.component?J?J.children:null:l,y,E),je&&J&&J.outlet&&J.outlet.isActivated&&E.canDeactivateChecks.push(new Vi(J.outlet.component,G))}else G&&Ze(d,J,E),E.canActivateChecks.push(new Er(y)),xr(u,null,P.component?J?J.children:null:l,y,E)})(G,P[G.value.outlet],l,y.concat([G.value]),E),delete P[G.value.outlet]}),Rt(P,(G,J)=>Ze(G,l.getContext(J),E)),E}function Ze(u,d,l){const y=jr(u),E=u.value;Rt(y,(P,G)=>{Ze(P,E.component?d?d.children.getContext(G):null:d,l)}),l.canDeactivateChecks.push(new Vi(E.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,E))}function Wt(u){return"function"==typeof u}function oi(u){return u instanceof k.K||"EmptyError"===u?.name}const pn=Symbol("INITIAL_VALUE");function bi(){return(0,se.w)(u=>(0,U.a)(u.map(d=>d.pipe((0,Pe.q)(1),(0,tt.O)(pn)))).pipe((0,ge.U)(d=>{for(const l of d)if(!0!==l){if(l===pn)return pn;if(!1===l||l instanceof Re)return l}return!0}),(0,nt.h)(d=>d!==pn),(0,Pe.q)(1)))}function wi(u){return(0,Q.z)((0,ue.b)(d=>{if(Ce(d))throw us(0,d)}),(0,ge.U)(d=>!0===d))}const Mi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Si(u,d,l,y,E){const P=br(u,d,l);return P.matched?function $i(u,d,l,y){const E=d.canMatch;if(!E||0===E.length)return(0,A.of)(!0);const P=E.map(G=>{const J=Wr(G,u);return Jt(function lr(u){return u&&Wt(u.canMatch)}(J)?J.canMatch(d,l):u.runInContext(()=>J(d,l)))});return(0,A.of)(P).pipe(bi(),wi())}(y=Yn(d,y),d,l).pipe((0,ge.U)(G=>!0===G?P:{...Mi})):(0,A.of)(P)}function br(u,d,l){if(""===d.path)return"full"===d.pathMatch&&(u.hasChildren()||l.length>0)?{...Mi}:{matched:!0,consumedSegments:[],remainingSegments:l,parameters:{},positionalParamSegments:{}};const E=(d.matcher||Et)(l,u,d);if(!E)return{...Mi};const P={};Rt(E.posParams,(J,je)=>{P[je]=J.path});const G=E.consumed.length>0?{...P,...E.consumed[E.consumed.length-1].parameters}:P;return{matched:!0,consumedSegments:E.consumed,remainingSegments:l.slice(E.consumed.length),parameters:G,positionalParamSegments:E.posParams??{}}}function li(u,d,l,y,E="corrected"){if(l.length>0&&function zi(u,d,l){return l.some(y=>Ti(u,d,y)&&er(y)!==ee)}(u,l,y)){const G=new Ve(d,function ci(u,d,l,y){const E={};E[ee]=y,y._sourceSegment=u,y._segmentIndexShift=d.length;for(const P of l)if(""===P.path&&er(P)!==ee){const G=new Ve([],{});G._sourceSegment=u,G._segmentIndexShift=d.length,E[er(P)]=G}return E}(u,d,y,new Ve(l,u.children)));return G._sourceSegment=u,G._segmentIndexShift=d.length,{segmentGroup:G,slicedSegments:[]}}if(0===l.length&&function Ps(u,d,l){return l.some(y=>Ti(u,d,y))}(u,l,y)){const G=new Ve(u.segments,function Os(u,d,l,y,E,P){const G={};for(const J of y)if(Ti(u,l,J)&&!E[er(J)]){const je=new Ve([],{});je._sourceSegment=u,je._segmentIndexShift="legacy"===P?u.segments.length:d.length,G[er(J)]=je}return{...E,...G}}(u,d,l,y,u.children,E));return G._sourceSegment=u,G._segmentIndexShift=d.length,{segmentGroup:G,slicedSegments:l}}const P=new Ve(u.segments,u.children);return P._sourceSegment=u,P._segmentIndexShift=d.length,{segmentGroup:P,slicedSegments:l}}function Ti(u,d,l){return(!(u.hasChildren()||d.length>0)||"full"!==l.pathMatch)&&""===l.path}function Wi(u,d,l,y){return!!(er(u)===y||y!==ee&&Ti(d,l,u))&&("**"===u.path||br(d,u,l).matched)}function Gr(u,d,l){return 0===d.length&&!u.children[l]}const Ki=!1;class Gi{constructor(d){this.segmentGroup=d||null}}class zn{constructor(d){this.urlTree=d}}function M(u){return(0,$._)(new Gi(u))}function a(u){return(0,$._)(new zn(u))}class N{constructor(d,l,y,E,P){this.injector=d,this.configLoader=l,this.urlSerializer=y,this.urlTree=E,this.config=P,this.allowRedirects=!0}apply(){const d=li(this.urlTree.root,[],[],this.config).segmentGroup,l=new Ve(d.segments,d.children);return this.expandSegmentGroup(this.injector,this.config,l,ee).pipe((0,ge.U)(P=>this.createUrlTree(ne(P),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Se.K)(P=>{if(P instanceof zn)return this.allowRedirects=!1,this.match(P.urlTree);throw P instanceof Gi?this.noMatchError(P):P}))}match(d){return this.expandSegmentGroup(this.injector,this.config,d.root,ee).pipe((0,ge.U)(E=>this.createUrlTree(ne(E),d.queryParams,d.fragment))).pipe((0,Se.K)(E=>{throw E instanceof Gi?this.noMatchError(E):E}))}noMatchError(d){return new f.vHH(4002,Ki)}createUrlTree(d,l,y){const E=te(d);return new Re(E,l,y)}expandSegmentGroup(d,l,y,E){return 0===y.segments.length&&y.hasChildren()?this.expandChildren(d,l,y).pipe((0,ge.U)(P=>new Ve([],P))):this.expandSegment(d,y,l,y.segments,E,!0)}expandChildren(d,l,y){const E=[];for(const P of Object.keys(y.children))"primary"===P?E.unshift(P):E.push(P);return(0,v.D)(E).pipe((0,ye.b)(P=>{const G=y.children[P],J=or(l,P);return this.expandSegmentGroup(d,J,G,P).pipe((0,ge.U)(je=>({segment:je,outlet:P})))}),De((P,G)=>(P[G.outlet]=G.segment,P),{}),bt())}expandSegment(d,l,y,E,P,G){return(0,v.D)(y).pipe((0,ye.b)(J=>this.expandSegmentAgainstRoute(d,l,y,J,E,P,G).pipe((0,Se.K)(ot=>{if(ot instanceof Gi)return(0,A.of)(null);throw ot}))),(0,Y.P)(J=>!!J),(0,Se.K)((J,je)=>{if(oi(J))return Gr(l,E,P)?(0,A.of)(new Ve([],{})):M(l);throw J}))}expandSegmentAgainstRoute(d,l,y,E,P,G,J){return Wi(E,l,P,G)?void 0===E.redirectTo?this.matchSegmentAgainstRoute(d,l,E,P,G):J&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,l,y,E,P,G):M(l):M(l)}expandSegmentAgainstRouteUsingRedirect(d,l,y,E,P,G){return"**"===E.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,y,E,G):this.expandRegularSegmentAgainstRouteUsingRedirect(d,l,y,E,P,G)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,l,y,E){const P=this.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?a(P):this.lineralizeSegments(y,P).pipe((0,Ae.z)(G=>{const J=new Ve(G,{});return this.expandSegment(d,J,l,G,E,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,l,y,E,P,G){const{matched:J,consumedSegments:je,remainingSegments:ot,positionalParamSegments:Yt}=br(l,E,P);if(!J)return M(l);const mt=this.applyRedirectCommands(je,E.redirectTo,Yt);return E.redirectTo.startsWith("/")?a(mt):this.lineralizeSegments(E,mt).pipe((0,Ae.z)(mn=>this.expandSegment(d,l,y,mn.concat(ot),G,!1)))}matchSegmentAgainstRoute(d,l,y,E,P){return"**"===y.path?(d=Yn(y,d),y.loadChildren?(y._loadedRoutes?(0,A.of)({routes:y._loadedRoutes,injector:y._loadedInjector}):this.configLoader.loadChildren(d,y)).pipe((0,ge.U)(J=>(y._loadedRoutes=J.routes,y._loadedInjector=J.injector,new Ve(E,{})))):(0,A.of)(new Ve(E,{}))):Si(l,y,E,d).pipe((0,se.w)(({matched:G,consumedSegments:J,remainingSegments:je})=>G?this.getChildConfig(d=y._injector??d,y,E).pipe((0,Ae.z)(Yt=>{const mt=Yt.injector??d,mn=Yt.routes,{segmentGroup:cr,slicedSegments:ui}=li(l,J,je,mn),Ji=new Ve(cr.segments,cr.children);if(0===ui.length&&Ji.hasChildren())return this.expandChildren(mt,mn,Ji).pipe((0,ge.U)(io=>new Ve(J,io)));if(0===mn.length&&0===ui.length)return(0,A.of)(new Ve(J,{}));const Fr=er(y)===P;return this.expandSegment(mt,Ji,mn,ui,Fr?ee:P,!0).pipe((0,ge.U)(qi=>new Ve(J.concat(qi.segments),qi.children)))})):M(l)))}getChildConfig(d,l,y){return l.children?(0,A.of)({routes:l.children,injector:d}):l.loadChildren?void 0!==l._loadedRoutes?(0,A.of)({routes:l._loadedRoutes,injector:l._loadedInjector}):function ys(u,d,l,y){const E=d.canLoad;if(void 0===E||0===E.length)return(0,A.of)(!0);const P=E.map(G=>{const J=Wr(G,u);return Jt(function ji(u){return u&&Wt(u.canLoad)}(J)?J.canLoad(d,l):u.runInContext(()=>J(d,l)))});return(0,A.of)(P).pipe(bi(),wi())}(d,l,y).pipe((0,Ae.z)(E=>E?this.configLoader.loadChildren(d,l).pipe((0,ue.b)(P=>{l._loadedRoutes=P.routes,l._loadedInjector=P.injector})):function D(u){return(0,$._)(ds(Ki,3))}())):(0,A.of)({routes:[],injector:d})}lineralizeSegments(d,l){let y=[],E=l.root;for(;;){if(y=y.concat(E.segments),0===E.numberOfChildren)return(0,A.of)(y);if(E.numberOfChildren>1||!E.children[ee])return(0,$._)(new f.vHH(4e3,Ki));E=E.children[ee]}}applyRedirectCommands(d,l,y){return this.applyRedirectCreateUrlTree(l,this.urlSerializer.parse(l),d,y)}applyRedirectCreateUrlTree(d,l,y,E){const P=this.createSegmentGroup(d,l.root,y,E);return new Re(P,this.createQueryParams(l.queryParams,this.urlTree.queryParams),l.fragment)}createQueryParams(d,l){const y={};return Rt(d,(E,P)=>{if("string"==typeof E&&E.startsWith(":")){const J=E.substring(1);y[P]=l[J]}else y[P]=E}),y}createSegmentGroup(d,l,y,E){const P=this.createSegments(d,l.segments,y,E);let G={};return Rt(l.children,(J,je)=>{G[je]=this.createSegmentGroup(d,J,y,E)}),new Ve(P,G)}createSegments(d,l,y,E){return l.map(P=>P.path.startsWith(":")?this.findPosParam(d,P,E):this.findOrReturn(P,y))}findPosParam(d,l,y){const E=y[l.path.substring(1)];if(!E)throw new f.vHH(4001,Ki);return E}findOrReturn(d,l){let y=0;for(const E of l){if(E.path===d.path)return l.splice(y),E;y++}return d}}class Fe{}class ft{constructor(d,l,y,E,P,G,J,je){this.injector=d,this.rootComponentType=l,this.config=y,this.urlTree=E,this.url=P,this.paramsInheritanceStrategy=G,this.relativeLinkResolution=J,this.urlSerializer=je}recognize(){const d=li(this.urlTree.root,[],[],this.config.filter(l=>void 0===l.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,d,ee).pipe((0,ge.U)(l=>{if(null===l)return null;const y=new Or([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ee,this.rootComponentType,null,this.urlTree.root,-1,{}),E=new vr(y,l),P=new Fi(this.url,E);return this.inheritParamsAndData(P._root),P}))}inheritParamsAndData(d){const l=d.value,y=Ts(l,this.paramsInheritanceStrategy);l.params=Object.freeze(y.params),l.data=Object.freeze(y.data),d.children.forEach(E=>this.inheritParamsAndData(E))}processSegmentGroup(d,l,y,E){return 0===y.segments.length&&y.hasChildren()?this.processChildren(d,l,y):this.processSegment(d,l,y,y.segments,E)}processChildren(d,l,y){return(0,v.D)(Object.keys(y.children)).pipe((0,ye.b)(E=>{const P=y.children[E],G=or(l,E);return this.processSegmentGroup(d,G,P,E)}),De((E,P)=>E&&P?(E.push(...P),E):null),(0,sn.o)(E=>null!==E),(0,_t.d)(null),bt(),(0,ge.U)(E=>{if(null===E)return null;const P=Pt(E);return function Qt(u){u.sort((d,l)=>d.value.outlet===ee?-1:l.value.outlet===ee?1:d.value.outlet.localeCompare(l.value.outlet))}(P),P}))}processSegment(d,l,y,E,P){return(0,v.D)(l).pipe((0,ye.b)(G=>this.processSegmentAgainstRoute(G._injector??d,G,y,E,P)),(0,Y.P)(G=>!!G),(0,Se.K)(G=>{if(oi(G))return Gr(y,E,P)?(0,A.of)([]):(0,A.of)(null);throw G}))}processSegmentAgainstRoute(d,l,y,E,P){if(l.redirectTo||!Wi(l,y,E,P))return(0,A.of)(null);let G;if("**"===l.path){const J=E.length>0?tn(E).parameters:{},je=Cn(y)+E.length,ot=new Or(E,J,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Rn(l),er(l),l.component??l._loadedComponent??null,l,hn(y),je,p(l),je);G=(0,A.of)({snapshot:ot,consumedSegments:[],remainingSegments:[]})}else G=Si(y,l,E,d).pipe((0,ge.U)(({matched:J,consumedSegments:je,remainingSegments:ot,parameters:Yt})=>{if(!J)return null;const mt=Cn(y)+je.length;return{snapshot:new Or(je,Yt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Rn(l),er(l),l.component??l._loadedComponent??null,l,hn(y),mt,p(l),mt),consumedSegments:je,remainingSegments:ot}}));return G.pipe((0,se.w)(J=>{if(null===J)return(0,A.of)(null);const{snapshot:je,consumedSegments:ot,remainingSegments:Yt}=J;d=l._injector??d;const mt=l._loadedInjector??d,mn=function Kt(u){return u.children?u.children:u.loadChildren?u._loadedRoutes:[]}(l),{segmentGroup:cr,slicedSegments:ui}=li(y,ot,Yt,mn.filter(Fr=>void 0===Fr.redirectTo),this.relativeLinkResolution);if(0===ui.length&&cr.hasChildren())return this.processChildren(mt,mn,cr).pipe((0,ge.U)(Fr=>null===Fr?null:[new vr(je,Fr)]));if(0===mn.length&&0===ui.length)return(0,A.of)([new vr(je,[])]);const Ji=er(l)===P;return this.processSegment(mt,mn,cr,ui,Ji?ee:P).pipe((0,ge.U)(Fr=>null===Fr?null:[new vr(je,Fr)]))}))}}function Ct(u){const d=u.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function Pt(u){const d=[],l=new Set;for(const y of u){if(!Ct(y)){d.push(y);continue}const E=d.find(P=>y.value.routeConfig===P.value.routeConfig);void 0!==E?(E.children.push(...y.children),l.add(E)):d.push(y)}for(const y of l){const E=Pt(y.children);d.push(new vr(y.value,E))}return d.filter(y=>!l.has(y))}function hn(u){let d=u;for(;d._sourceSegment;)d=d._sourceSegment;return d}function Cn(u){let d=u,l=d._segmentIndexShift??0;for(;d._sourceSegment;)d=d._sourceSegment,l+=d._segmentIndexShift??0;return l-1}function Rn(u){return u.data||{}}function p(u){return u.resolve||{}}function pt(u){return"string"==typeof u.title||null===u.title}function Gt(u){return(0,se.w)(d=>{const l=u(d);return l?(0,v.D)(l).pipe((0,ge.U)(()=>d)):(0,A.of)(d)})}let Xt=(()=>{class u{buildTitle(l){let y,E=l.root;for(;void 0!==E;)y=this.getResolvedTitleForRoute(E)??y,E=E.children.find(P=>P.outlet===ee);return y}getResolvedTitleForRoute(l){return l.data[me]}}return u.\u0275fac=function(l){return new(l||u)},u.\u0275prov=f.Yz7({token:u,factory:function(){return(0,f.f3M)(rn)},providedIn:"root"}),u})(),rn=(()=>{class u extends Xt{constructor(l){super(),this.title=l}updateTitle(l){const y=this.buildTitle(l);void 0!==y&&this.title.setTitle(y)}}return u.\u0275fac=function(l){return new(l||u)(f.LFG(he.Dx))},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class ht{}class Lt extends class ct{shouldDetach(d){return!1}store(d,l){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,l){return d.routeConfig===l.routeConfig}}{}const vn=new f.OlP("",{providedIn:"root",factory:()=>({})}),fn=new f.OlP("ROUTES");let un=(()=>{class u{constructor(l,y){this.injector=l,this.compiler=y,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(l){if(this.componentLoaders.get(l))return this.componentLoaders.get(l);if(l._loadedComponent)return(0,A.of)(l._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(l);const y=Jt(l.loadComponent()).pipe((0,ue.b)(P=>{this.onLoadEndListener&&this.onLoadEndListener(l),l._loadedComponent=P}),(0,Tt.x)(()=>{this.componentLoaders.delete(l)})),E=new Me.c(y,()=>new Oe.x).pipe((0,Ie.x)());return this.componentLoaders.set(l,E),E}loadChildren(l,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,A.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const P=this.loadModuleFactoryOrRoutes(y.loadChildren).pipe((0,ge.U)(J=>{this.onLoadEndListener&&this.onLoadEndListener(y);let je,ot,Yt=!1;Array.isArray(J)?ot=J:(je=J.create(l).injector,ot=vt(je.get(fn,[],f.XFs.Self|f.XFs.Optional)));return{routes:ot.map(fr),injector:je}}),(0,Tt.x)(()=>{this.childrenLoaders.delete(y)})),G=new Me.c(P,()=>new Oe.x).pipe((0,Ie.x)());return this.childrenLoaders.set(y,G),G}loadModuleFactoryOrRoutes(l){return Jt(l()).pipe((0,Ae.z)(y=>y instanceof f.YKP||Array.isArray(y)?(0,A.of)(y):(0,v.D)(this.compiler.compileModuleAsync(y))))}}return u.\u0275fac=function(l){return new(l||u)(f.LFG(f.zs3),f.LFG(f.Sil))},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class wr{}class Ai{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,l){return d}}function Mr(u){throw u}function Zn(u,d,l){return d.parse("/")}const vs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ds={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Lo(){const u=(0,f.f3M)(St),d=(0,f.f3M)(Pr),l=(0,f.f3M)(de.Ye),y=(0,f.f3M)(f.zs3),E=(0,f.f3M)(f.Sil),P=(0,f.f3M)(fn,{optional:!0})??[],G=(0,f.f3M)(vn,{optional:!0})??{},J=(0,f.f3M)(rn),je=(0,f.f3M)(Xt,{optional:!0}),ot=(0,f.f3M)(wr,{optional:!0}),Yt=(0,f.f3M)(ht,{optional:!0}),mt=new kn(null,u,d,l,y,E,vt(P));return ot&&(mt.urlHandlingStrategy=ot),Yt&&(mt.routeReuseStrategy=Yt),mt.titleStrategy=je??J,function _a(u,d){u.errorHandler&&(d.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(d.malformedUriErrorHandler=u.malformedUriErrorHandler),u.onSameUrlNavigation&&(d.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.relativeLinkResolution&&(d.relativeLinkResolution=u.relativeLinkResolution),u.urlUpdateStrategy&&(d.urlUpdateStrategy=u.urlUpdateStrategy),u.canceledNavigationResolution&&(d.canceledNavigationResolution=u.canceledNavigationResolution)}(G,mt),mt}let kn=(()=>{class u{constructor(l,y,E,P,G,J,je){this.rootComponentType=l,this.urlSerializer=y,this.rootContexts=E,this.location=P,this.config=je,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Oe.x,this.errorHandler=Mr,this.malformedUriErrorHandler=Zn,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,A.of)(void 0),this.urlHandlingStrategy=new Ai,this.routeReuseStrategy=new Lt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=G.get(un),this.configLoader.onLoadEndListener=mn=>this.triggerEvent(new Ks(mn)),this.configLoader.onLoadStartListener=mn=>this.triggerEvent(new ti(mn)),this.ngModule=G.get(f.h0i),this.console=G.get(f.c2e);const mt=G.get(f.R0b);this.isNgZoneEnabled=mt instanceof f.R0b&&f.R0b.isInAngularZone(),this.resetConfig(je),this.currentUrlTree=function rt(){return new Re(new Ve([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ys(this.currentUrlTree,this.rootComponentType),this.transitions=new x.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(){return this.location.getState()?.\u0275routerPageId}setupNavigations(l){const y=this.events;return l.pipe((0,nt.h)(E=>0!==E.id),(0,ge.U)(E=>({...E,extractedUrl:this.urlHandlingStrategy.extract(E.rawUrl)})),(0,se.w)(E=>{let P=!1,G=!1;return(0,A.of)(E).pipe((0,ue.b)(J=>{this.currentNavigation={id:J.id,initialUrl:J.rawUrl,extractedUrl:J.extractedUrl,trigger:J.source,extras:J.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,se.w)(J=>{const je=this.browserUrlTree.toString(),ot=!this.navigated||J.extractedUrl.toString()!==je||je!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||ot)&&this.urlHandlingStrategy.shouldProcessUrl(J.rawUrl))return Rs(J.source)&&(this.browserUrlTree=J.extractedUrl),(0,A.of)(J).pipe((0,se.w)(mt=>{const mn=this.transitions.getValue();return y.next(new tr(mt.id,this.serializeUrl(mt.extractedUrl),mt.source,mt.restoredState)),mn!==this.transitions.getValue()?j.E:Promise.resolve(mt)}),function ae(u,d,l,y){return(0,se.w)(E=>function T(u,d,l,y,E){return new N(u,d,l,y,E).apply()}(u,d,l,E.extractedUrl,y).pipe((0,ge.U)(P=>({...E,urlAfterRedirects:P}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ue.b)(mt=>{this.currentNavigation={...this.currentNavigation,finalUrl:mt.urlAfterRedirects},E.urlAfterRedirects=mt.urlAfterRedirects}),function w(u,d,l,y,E,P){return(0,Ae.z)(G=>function ut(u,d,l,y,E,P,G="emptyOnly",J="legacy"){return new ft(u,d,l,y,E,G,J,P).recognize().pipe((0,se.w)(je=>null===je?function ze(u){return new z.y(d=>d.error(u))}(new Fe):(0,A.of)(je)))}(u,d,l,G.urlAfterRedirects,y.serialize(G.urlAfterRedirects),y,E,P).pipe((0,ge.U)(J=>({...G,targetSnapshot:J}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ue.b)(mt=>{if(E.targetSnapshot=mt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!mt.extras.skipLocationChange){const cr=this.urlHandlingStrategy.merge(mt.urlAfterRedirects,mt.rawUrl);this.setBrowserUrl(cr,mt)}this.browserUrlTree=mt.urlAfterRedirects}const mn=new Gn(mt.id,this.serializeUrl(mt.extractedUrl),this.serializeUrl(mt.urlAfterRedirects),mt.targetSnapshot);y.next(mn)}));if(ot&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:mn,extractedUrl:cr,source:ui,restoredState:Ji,extras:Fr}=J,Ca=new tr(mn,this.serializeUrl(cr),ui,Ji);y.next(Ca);const qi=Ys(cr,this.rootComponentType).snapshot;return E={...J,targetSnapshot:qi,urlAfterRedirects:cr,extras:{...Fr,skipLocationChange:!1,replaceUrl:!1}},(0,A.of)(E)}return this.rawUrlTree=J.rawUrl,J.resolve(null),j.E}),(0,ue.b)(J=>{const je=new Ur(J.id,this.serializeUrl(J.extractedUrl),this.serializeUrl(J.urlAfterRedirects),J.targetSnapshot);this.triggerEvent(je)}),(0,ge.U)(J=>E={...J,guards:qs(J.targetSnapshot,J.currentSnapshot,this.rootContexts)}),function ms(u,d){return(0,Ae.z)(l=>{const{targetSnapshot:y,currentSnapshot:E,guards:{canActivateChecks:P,canDeactivateChecks:G}}=l;return 0===G.length&&0===P.length?(0,A.of)({...l,guardsResult:!0}):function $n(u,d,l,y){return(0,v.D)(u).pipe((0,Ae.z)(E=>function _s(u,d,l,y,E){const P=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!P||0===P.length)return(0,A.of)(!0);const G=P.map(J=>{const je=ar(d)??E,ot=Wr(J,je);return Jt(function si(u){return u&&Wt(u.canDeactivate)}(ot)?ot.canDeactivate(u,d,l,y):je.runInContext(()=>ot(u,d,l,y))).pipe((0,Y.P)())});return(0,A.of)(G).pipe(bi())}(E.component,E.route,l,d,y)),(0,Y.P)(E=>!0!==E,!0))}(G,y,E,u).pipe((0,Ae.z)(J=>J&&function ps(u){return"boolean"==typeof u}(J)?function Cr(u,d,l,y){return(0,v.D)(d).pipe((0,ye.b)(E=>(0,ie.z)(function ai(u,d){return null!==u&&d&&d(new os(u)),(0,A.of)(!0)}(E.route.parent,y),function Is(u,d){return null!==u&&d&&d(new Ro(u)),(0,A.of)(!0)}(E.route,y),function to(u,d,l){const y=d[d.length-1],P=d.slice(0,d.length-1).reverse().map(G=>function fs(u){const d=u.routeConfig?u.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:u,guards:d}:null}(G)).filter(G=>null!==G).map(G=>(0,X.P)(()=>{const J=G.guards.map(je=>{const ot=ar(G.node)??l,Yt=Wr(je,ot);return Jt(function Kr(u){return u&&Wt(u.canActivateChild)}(Yt)?Yt.canActivateChild(y,u):ot.runInContext(()=>Yt(y,u))).pipe((0,Y.P)())});return(0,A.of)(J).pipe(bi())}));return(0,A.of)(P).pipe(bi())}(u,E.path,l),function pr(u,d,l){const y=d.routeConfig?d.routeConfig.canActivate:null;if(!y||0===y.length)return(0,A.of)(!0);const E=y.map(P=>(0,X.P)(()=>{const G=ar(d)??l,J=Wr(P,G);return Jt(function In(u){return u&&Wt(u.canActivate)}(J)?J.canActivate(d,u):G.runInContext(()=>J(d,u))).pipe((0,Y.P)())}));return(0,A.of)(E).pipe(bi())}(u,E.route,l))),(0,Y.P)(E=>!0!==E,!0))}(y,P,u,d):(0,A.of)(J)),(0,ge.U)(J=>({...l,guardsResult:J})))})}(this.ngModule.injector,J=>this.triggerEvent(J)),(0,ue.b)(J=>{if(E.guardsResult=J.guardsResult,Ce(J.guardsResult))throw us(0,J.guardsResult);const je=new nr(J.id,this.serializeUrl(J.extractedUrl),this.serializeUrl(J.urlAfterRedirects),J.targetSnapshot,!!J.guardsResult);this.triggerEvent(je)}),(0,nt.h)(J=>!!J.guardsResult||(this.restoreHistory(J),this.cancelNavigationTransition(J,"",3),!1)),Gt(J=>{if(J.guards.canActivateChecks.length)return(0,A.of)(J).pipe((0,ue.b)(je=>{const ot=new Ir(je.id,this.serializeUrl(je.extractedUrl),this.serializeUrl(je.urlAfterRedirects),je.targetSnapshot);this.triggerEvent(ot)}),(0,se.w)(je=>{let ot=!1;return(0,A.of)(je).pipe(function m(u,d){return(0,Ae.z)(l=>{const{targetSnapshot:y,guards:{canActivateChecks:E}}=l;if(!E.length)return(0,A.of)(l);let P=0;return(0,v.D)(E).pipe((0,ye.b)(G=>function I(u,d,l,y){const E=u.routeConfig,P=u._resolve;return void 0!==E?.title&&!pt(E)&&(P[me]=E.title),function re(u,d,l,y){const E=function Be(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===E.length)return(0,A.of)({});const P={};return(0,v.D)(E).pipe((0,Ae.z)(G=>function Ke(u,d,l,y){const E=ar(d)??y,P=Wr(u,E);return Jt(P.resolve?P.resolve(d,l):E.runInContext(()=>P(d,l)))}(u[G],d,l,y).pipe((0,Y.P)(),(0,ue.b)(J=>{P[G]=J}))),Ue(1),(0,en.h)(P),(0,Se.K)(G=>oi(G)?j.E:(0,$._)(G)))}(P,u,d,y).pipe((0,ge.U)(G=>(u._resolvedData=G,u.data=Ts(u,l).resolve,E&&pt(E)&&(u.data[me]=E.title),null)))}(G.route,y,u,d)),(0,ue.b)(()=>P++),Ue(1),(0,Ae.z)(G=>P===E.length?(0,A.of)(l):j.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ue.b)({next:()=>ot=!0,complete:()=>{ot||(this.restoreHistory(je),this.cancelNavigationTransition(je,"",2))}}))}),(0,ue.b)(je=>{const ot=new qn(je.id,this.serializeUrl(je.extractedUrl),this.serializeUrl(je.urlAfterRedirects),je.targetSnapshot);this.triggerEvent(ot)}))}),Gt(J=>{const je=ot=>{const Yt=[];ot.routeConfig?.loadComponent&&!ot.routeConfig._loadedComponent&&Yt.push(this.configLoader.loadComponent(ot.routeConfig).pipe((0,ue.b)(mt=>{ot.component=mt}),(0,ge.U)(()=>{})));for(const mt of ot.children)Yt.push(...je(mt));return Yt};return(0,U.a)(je(J.targetSnapshot.root)).pipe((0,_t.d)(),(0,Pe.q)(1))}),Gt(()=>this.afterPreactivation()),(0,ge.U)(J=>{const je=function ki(u,d,l){const y=$r(u,d._root,l?l._root:void 0);return new Ss(y,d)}(this.routeReuseStrategy,J.targetSnapshot,J.currentRouterState);return E={...J,targetRouterState:je}}),(0,ue.b)(J=>{this.currentUrlTree=J.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(J.urlAfterRedirects,J.rawUrl),this.routerState=J.targetRouterState,"deferred"===this.urlUpdateStrategy&&(J.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,J),this.browserUrlTree=J.urlAfterRedirects)}),((u,d,l)=>(0,ge.U)(y=>(new yt(d,y.targetRouterState,y.currentRouterState,l).activate(u),y)))(this.rootContexts,this.routeReuseStrategy,J=>this.triggerEvent(J)),(0,ue.b)({next(){P=!0},complete(){P=!0}}),(0,Tt.x)(()=>{P||G||this.cancelNavigationTransition(E,"",1),this.currentNavigation?.id===E.id&&(this.currentNavigation=null)}),(0,Se.K)(J=>{if(G=!0,hs(J)){zr(J)||(this.navigated=!0,this.restoreHistory(E,!0));const je=new Ar(E.id,this.serializeUrl(E.extractedUrl),J.message,J.cancellationCode);if(y.next(je),zr(J)){const ot=this.urlHandlingStrategy.merge(J.url,this.rawUrlTree),Yt={skipLocationChange:E.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Rs(E.source)};this.scheduleNavigation(ot,"imperative",null,Yt,{resolve:E.resolve,reject:E.reject,promise:E.promise})}else E.resolve(!1)}else{this.restoreHistory(E,!0);const je=new An(E.id,this.serializeUrl(E.extractedUrl),J,E.targetSnapshot??void 0);y.next(je);try{E.resolve(this.errorHandler(J))}catch(ot){E.reject(ot)}}return j.E}))}))}resetRootComponentType(l){this.rootComponentType=l,this.routerState.root.component=this.rootComponentType}setTransition(l){this.transitions.next({...this.transitions.value,...l})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(l=>{const y="popstate"===l.type?"popstate":"hashchange";"popstate"===y&&setTimeout(()=>{const E={replaceUrl:!0},P=l.state?.navigationId?l.state:null;if(P){const J={...P};delete J.navigationId,delete J.\u0275routerPageId,0!==Object.keys(J).length&&(E.state=J)}const G=this.parseUrl(l.url);this.scheduleNavigation(G,y,P,E)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(l){this.events.next(l)}resetConfig(l){this.config=l.map(fr),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(l,y={}){const{relativeTo:E,queryParams:P,fragment:G,queryParamsHandling:J,preserveFragment:je}=y,ot=E||this.routerState.root,Yt=je?this.currentUrlTree.fragment:G;let mt=null;switch(J){case"merge":mt={...this.currentUrlTree.queryParams,...P};break;case"preserve":mt=this.currentUrlTree.queryParams;break;default:mt=P||null}return null!==mt&&(mt=this.removeEmptyProps(mt)),nn(ot,this.currentUrlTree,l,mt,Yt??null)}navigateByUrl(l,y={skipLocationChange:!1}){const E=Ce(l)?l:this.parseUrl(l),P=this.urlHandlingStrategy.merge(E,this.rawUrlTree);return this.scheduleNavigation(P,"imperative",null,y)}navigate(l,y={skipLocationChange:!1}){return function ml(u){for(let d=0;d<u.length;d++){if(null==u[d])throw new f.vHH(4008,false)}}(l),this.navigateByUrl(this.createUrlTree(l,y),y)}serializeUrl(l){return this.urlSerializer.serialize(l)}parseUrl(l){let y;try{y=this.urlSerializer.parse(l)}catch(E){y=this.malformedUriErrorHandler(E,this.urlSerializer,l)}return y}isActive(l,y){let E;if(E=!0===y?{...vs}:!1===y?{...Ds}:y,Ce(l))return R(this.currentUrlTree,l,E);const P=this.parseUrl(l);return R(this.currentUrlTree,P,E)}removeEmptyProps(l){return Object.keys(l).reduce((y,E)=>{const P=l[E];return null!=P&&(y[E]=P),y},{})}processNavigations(){this.navigations.subscribe(l=>{this.navigated=!0,this.lastSuccessfulId=l.id,this.currentPageId=l.targetPageId,this.events.next(new ln(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),l.resolve(!0)},l=>{this.console.warn(`Unhandled Navigation Error: ${l}`)})}scheduleNavigation(l,y,E,P,G){if(this.disposed)return Promise.resolve(!1);let J,je,ot;G?(J=G.resolve,je=G.reject,ot=G.promise):ot=new Promise((mn,cr)=>{J=mn,je=cr});const Yt=++this.navigationId;let mt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(E=this.location.getState()),mt=E&&E.\u0275routerPageId?E.\u0275routerPageId:P.replaceUrl||P.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):mt=0,this.setTransition({id:Yt,targetPageId:mt,source:y,restoredState:E,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:l,extras:P,resolve:J,reject:je,promise:ot,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ot.catch(mn=>Promise.reject(mn))}setBrowserUrl(l,y){const E=this.urlSerializer.serialize(l),P={...y.extras.state,...this.generateNgRouterState(y.id,y.targetPageId)};this.location.isCurrentPathEqualTo(E)||y.extras.replaceUrl?this.location.replaceState(E,"",P):this.location.go(E,"",P)}restoreHistory(l,y=!1){if("computed"===this.canceledNavigationResolution){const E=this.currentPageId-l.targetPageId;"popstate"!==l.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===E?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===E&&(this.resetState(l),this.browserUrlTree=l.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(E)}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(l),this.resetUrlToCurrentUrlTree())}resetState(l){this.routerState=l.currentRouterState,this.currentUrlTree=l.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,l.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(l,y,E){const P=new Ar(l.id,this.serializeUrl(l.extractedUrl),y,E);this.triggerEvent(P),l.resolve(!1)}generateNgRouterState(l,y){return"computed"===this.canceledNavigationResolution?{navigationId:l,\u0275routerPageId:y}:{navigationId:l}}}return u.\u0275fac=function(l){f.$Z()},u.\u0275prov=f.Yz7({token:u,factory:function(){return Lo()},providedIn:"root"}),u})();function Rs(u){return"imperative"!==u}let no=(()=>{class u{constructor(l,y,E){this.router=l,this.route=y,this.locationStrategy=E,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new Oe.x,this.subscription=l.events.subscribe(P=>{P instanceof ln&&this.updateTargetUrlAndHref()})}set preserveFragment(l){this._preserveFragment=(0,f.D6c)(l)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(l){this._skipLocationChange=(0,f.D6c)(l)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(l){this._replaceUrl=(0,f.D6c)(l)}get replaceUrl(){return this._replaceUrl}set routerLink(l){this.commands=null!=l?Array.isArray(l)?l:[l]:null}ngOnChanges(l){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(l,y,E,P,G){return!!(0!==l||y||E||P||G||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return u.\u0275fac=function(l){return new(l||u)(f.Y36(kn),f.Y36(Hr),f.Y36(de.S$))},u.\u0275dir=f.lG2({type:u,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(l,y){1&l&&f.NdJ("click",function(P){return y.onClick(P.button,P.ctrlKey,P.shiftKey,P.altKey,P.metaKey)}),2&l&&f.uIk("target",y.target)("href",y.href,f.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[f.TTD]}),u})();class Zi{}let Fo=(()=>{class u{constructor(l,y,E,P,G){this.router=l,this.injector=E,this.preloadingStrategy=P,this.loader=G}setUpPreloading(){this.subscription=this.router.events.pipe((0,nt.h)(l=>l instanceof ln),(0,ye.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(l,y){const E=[];for(const P of y){P.providers&&!P._injector&&(P._injector=(0,f.MMx)(P.providers,l,`Route: ${P.path}`));const G=P._injector??l,J=P._loadedInjector??G;P.loadChildren&&!P._loadedRoutes&&void 0===P.canLoad||P.loadComponent&&!P._loadedComponent?E.push(this.preloadConfig(G,P)):(P.children||P._loadedRoutes)&&E.push(this.processRoutes(J,P.children??P._loadedRoutes))}return(0,v.D)(E).pipe((0,ke.J)())}preloadConfig(l,y){return this.preloadingStrategy.preload(y,()=>{let E;E=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(l,y):(0,A.of)(null);const P=E.pipe((0,Ae.z)(G=>null===G?(0,A.of)(void 0):(y._loadedRoutes=G.routes,y._loadedInjector=G.injector,this.processRoutes(G.injector??l,G.routes))));if(y.loadComponent&&!y._loadedComponent){const G=this.loader.loadComponent(y);return(0,v.D)([P,G]).pipe((0,ke.J)())}return P})}}return u.\u0275fac=function(l){return new(l||u)(f.LFG(kn),f.LFG(f.Sil),f.LFG(f.lqb),f.LFG(Zi),f.LFG(un))},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const No=new f.OlP("");let ko=(()=>{class u{constructor(l,y,E={}){this.router=l,this.viewportScroller=y,this.options=E,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},E.scrollPositionRestoration=E.scrollPositionRestoration||"disabled",E.anchorScrolling=E.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(l=>{l instanceof tr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=l.navigationTrigger,this.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof ln&&(this.lastId=l.id,this.scheduleScrollEvent(l,this.router.parseUrl(l.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(l=>{l instanceof Li&&(l.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(l,y){this.router.triggerEvent(new Li(l,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return u.\u0275fac=function(l){f.$Z()},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac}),u})();function Lr(u,d){return{\u0275kind:u,\u0275providers:d}}function ro(u){return[{provide:fn,multi:!0,useValue:u}]}function Xi(){const u=(0,f.f3M)(f.zs3);return d=>{const l=u.get(f.z2F);if(d!==l.components[0])return;const y=u.get(kn),E=u.get(yl);1===u.get(Bo)&&y.initialNavigation(),u.get(vl,null,f.XFs.Optional)?.setUpPreloading(),u.get(No,null,f.XFs.Optional)?.init(),y.resetRootComponentType(l.componentTypes[0]),E.closed||(E.next(),E.unsubscribe())}}const yl=new f.OlP("",{factory:()=>new Oe.x}),Bo=new f.OlP("",{providedIn:"root",factory:()=>1});const vl=new f.OlP("");function Ku(u){return Lr(0,[{provide:vl,useExisting:Fo},{provide:Zi,useExisting:u}])}const Cs=new f.OlP("ROUTER_FORROOT_GUARD"),Gu=[de.Ye,{provide:St,useClass:dn},{provide:kn,useFactory:Lo},Pr,{provide:Hr,useFactory:function Qi(u){return u.routerState.root},deps:[kn]},un];function Yu(){return new f.PXZ("Router",kn)}let Bn=(()=>{class u{constructor(l){}static forRoot(l,y){return{ngModule:u,providers:[Gu,[],ro(l),{provide:Cs,useFactory:Dl,deps:[[kn,new f.FiY,new f.tp0]]},{provide:vn,useValue:y||{}},y?.useHash?{provide:de.S$,useClass:de.Do}:{provide:de.S$,useClass:de.b0},{provide:No,useFactory:()=>{const u=(0,f.f3M)(kn),d=(0,f.f3M)(de.EM),l=(0,f.f3M)(vn);return l.scrollOffset&&d.setOffset(l.scrollOffset),new ko(u,d,l)}},y?.preloadingStrategy?Ku(y.preloadingStrategy).\u0275providers:[],{provide:f.PXZ,multi:!0,useFactory:Yu},y?.initialNavigation?gr(y):[],[{provide:Yr,useFactory:Xi},{provide:f.tb,multi:!0,useExisting:Yr}]]}}static forChild(l){return{ngModule:u,providers:[ro(l)]}}}return u.\u0275fac=function(l){return new(l||u)(f.LFG(Cs,8))},u.\u0275mod=f.oAB({type:u}),u.\u0275inj=f.cJS({imports:[bn]}),u})();function Dl(u){return"guarded"}function gr(u){return["disabled"===u.initialNavigation?Lr(3,[{provide:f.ip1,multi:!0,useFactory:()=>{const d=(0,f.f3M)(kn);return()=>{d.setUpLocationChangeListener()}}},{provide:Bo,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Lr(2,[{provide:Bo,useValue:0},{provide:f.ip1,multi:!0,deps:[f.zs3],useFactory:d=>{const l=d.get(de.V_,Promise.resolve());let y=!1;return()=>l.then(()=>new Promise(P=>{const G=d.get(kn),J=d.get(yl);(function E(P){d.get(kn).events.pipe((0,nt.h)(J=>J instanceof ln||J instanceof Ar||J instanceof An),(0,ge.U)(J=>J instanceof ln||J instanceof Ar&&(0===J.code||1===J.code)&&null),(0,nt.h)(J=>null!==J),(0,Pe.q)(1)).subscribe(()=>{P()})})(()=>{P(!0),y=!0}),G.afterPreactivation=()=>(P(!0),y||J.closed?(0,A.of)(void 0):J),G.initialNavigation()}))}}]).\u0275providers:[]]}const Yr=new f.OlP("")},97582:(et,_e,_)=>{function j(Ie,ke,he,ee){return new(he||(he=Promise))(function(Ee,Ye){function Et(wt){try{at(ee.next(wt))}catch(vt){Ye(vt)}}function At(wt){try{at(ee.throw(wt))}catch(vt){Ye(vt)}}function at(wt){wt.done?Ee(wt.value):function me(Ee){return Ee instanceof he?Ee:new he(function(Ye){Ye(Ee)})}(wt.value).then(Et,At)}at((ee=ee.apply(Ie,ke||[])).next())})}function Ae(Ie){return this instanceof Ae?(this.v=Ie,this):new Ae(Ie)}function Y(Ie,ke,he){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,ee=he.apply(Ie,ke||[]),Ee=[];return me=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Et("next"),Et("throw"),Et("return",function Ye(Bt){return function(Rt){return Promise.resolve(Rt).then(Bt,vt)}}),me[Symbol.asyncIterator]=function(){return this},me;function Et(Bt,Rt){ee[Bt]&&(me[Bt]=function(Jt){return new Promise(function(Te,rt){Ee.push([Bt,Jt,Te,rt])>1||At(Bt,Jt)})},Rt&&(me[Bt]=Rt(me[Bt])))}function At(Bt,Rt){try{!function at(Bt){Bt.value instanceof Ae?Promise.resolve(Bt.value.v).then(wt,vt):tn(Ee[0][2],Bt)}(ee[Bt](Rt))}catch(Jt){tn(Ee[0][3],Jt)}}function wt(Bt){At("next",Bt)}function vt(Bt){At("throw",Bt)}function tn(Bt,Rt){Bt(Rt),Ee.shift(),Ee.length&&At(Ee[0][0],Ee[0][1])}}function ue(Ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var he,ke=Ie[Symbol.asyncIterator];return ke?ke.call(Ie):(Ie=function ge(Ie){var ke="function"==typeof Symbol&&Symbol.iterator,he=ke&&Ie[ke],ee=0;if(he)return he.call(Ie);if(Ie&&"number"==typeof Ie.length)return{next:function(){return Ie&&ee>=Ie.length&&(Ie=void 0),{value:Ie&&Ie[ee++],done:!Ie}}};throw new TypeError(ke?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ie),he={},ee("next"),ee("throw"),ee("return"),he[Symbol.asyncIterator]=function(){return this},he);function ee(Ee){he[Ee]=Ie[Ee]&&function(Ye){return new Promise(function(Et,At){!function me(Ee,Ye,Et,At){Promise.resolve(At).then(function(at){Ee({value:at,done:Et})},Ye)}(Et,At,(Ye=Ie[Ee](Ye)).done,Ye.value)})}}}_.d(_e,{FC:()=>Y,KL:()=>ue,mG:()=>j,qq:()=>Ae}),"function"==typeof SuppressedError&&SuppressedError}},et=>{et(et.s=53255)}]);