PageSourceSearch

https://stats.tourmkr.com/main.04d83372e87314c3.js

js tourmkr.com collected 2026-09-24 08:53:46 UTC 360,629 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktmstats_app2=self.webpackChunktmstats_app2||[]).push([[179],{2629:(Qe,ve,A)=>{A.d(ve,{q:()=>Z});var m=A(9291);let Z=(()=>{class B{static#e=this.\u0275fac=function(ie){return new(ie||B)};static#t=this.\u0275cmp=m.Xpm({type:B,selectors:[["app-error"]],decls:9,vars:0,consts:[["id","notfound"],[1,"notfound"],[1,"notfound-404"],[2,"background-image","url('./assets/images/text.png')"]],template:function(ie,ne){1&ie&&(m.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),m._uU(4,"404"),m.qZA()(),m.TgZ(5,"h2"),m._uU(6,"Oops! This Page Could Not Be Found"),m.qZA(),m.TgZ(7,"p"),m._uU(8,"Sorry but the page you are looking for does not exist, have been removed. name changed or is temporarily unavailable"),m.qZA()()())},styles:["#notfound[_ngcontent-%COMP%]{position:relative;height:100vh}#notfound[_ngcontent-%COMP%]   .notfound[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.notfound[_ngcontent-%COMP%]{max-width:767px;width:100%;line-height:1.4;padding:0 15px}.notfound[_ngcontent-%COMP%]   .notfound-404[_ngcontent-%COMP%]{position:relative;height:150px;line-height:150px;margin-bottom:25px}.notfound[_ngcontent-%COMP%]   .notfound-404[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:186px!important;line-height:200px!important;font-weight:700!important;margin:0;text-transform:uppercase;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-size:cover;background-position:center}.notfound[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:26px;font-weight:700;margin:0}.notfound[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px;font-weight:500;margin-bottom:0}.notfound[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;text-transform:uppercase;color:#fff;text-decoration:none;border:none;background:#5c91fe;padding:10px 40px;font-size:14px;font-weight:700;border-radius:1px;margin-top:15px;transition:.2s all}.notfound[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{opacity:.8}@media only screen and (max-width: 767px){.notfound[_ngcontent-%COMP%]   .notfound-404[_ngcontent-%COMP%]{height:110px;line-height:110px}.notfound[_ngcontent-%COMP%]   .notfound-404[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:120px}}"]})}return B})()},1792:(Qe,ve,A)=>{A.d(ve,{J:()=>B});var m=A(9862),Z=A(9291);let B=(()=>{class ${constructor(ie){this.http=ie,this.isAvailable=!0,this.baseUrl="/api",this.dataSideMenu=[],this.dataCarousel=[],this.value="views-per-day",this.selectedValue={name:"Views per Day",value:"views-per-day"},this.options=[]}clearData(){this.visitorData=null,this.uniqueVisitorDataChart=null,this.uniqueVisitorDataTable=null,this.topTenData=null,this.devices=null}converTimestamp(ie){return new Date(ie.format("MMM DD, YYYY HH:mm:ss")).getTime()}getDetailSiteID(ie){const ne={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/get-detail-site/${ie}`,ne)}getFoverlayJSON(ie){return new Promise((ne,ge)=>{this.http.get(`https://apiw.gothru.co/api/tours?tour_key=${ie}`).subscribe(ce=>{this.http.get(ce.results[0].json).subscribe(se=>{ne(se)},se=>{ge(se)})},ce=>{ge(ce)})})}getDetailInfoSiteID(ie){const ne={headers:new m.WM({accept:"application/json"})};return this.http.get(`https://apiw.gothru.co/tour/${ie}`,ne)}getDevices(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/get-devices/${ie}/${ne}/${ge}`,ce)}getTopCountries(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/get-top-countries/${ie}/${ne}/${ge}`,ce)}getVisitorPerday(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/get-visitor-per-day/${ie}/${ne}/${ge}`,ce)}getUniqueVisitorPerday(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/get-unique-visitor-data/${ie}/${ne}/${ge}`,ce)}getDataIP(ie,ne,ge,ce,he){const se={headers:new m.WM({accept:"application/json"})};return new Promise((pe,Pe)=>{this.http.get(`${this.baseUrl}/get-data-ip/${ie}/${ne}/${ge}/${ce}/${he}`,se).subscribe(Te=>{pe(Te)},Te=>{Pe(Te)})})}getCountRequest(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/counter-request/${ie}/${ne}/${ge}`,ce)}getCountVisitor(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/counter-visitor/${ie}/${ne}/${ge}`,ce)}getAverageArrow(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/counter-average-click-arrow/${ie}/${ne}/${ge}`,ce)}getAverageSideMenu(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/counter-average-side-menu/${ie}/${ne}/${ge}`,ce)}getAverageCarousel(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/counter-average-carousel/${ie}/${ne}/${ge}`,ce)}getUniqueVisitorData(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/get-unique-visitor-data/${ie}/${ne}/${ge}`,ce)}getDetailVisitorActivity(ie,ne,ge,ce,he){const se={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/get-data-session/${ie}/${ne}/${ge}/${ce}/${he}`,se)}getCountSession(ie,ne,ge,ce){const he={headers:new m.WM({accept:"application/json"})};return new Promise((se,pe)=>{this.http.get(`${this.baseUrl}/get-count-data-session/${ie}/${ne}/${ge}/${ce}`,he).subscribe(Pe=>{se(Pe)},Pe=>{pe(Pe)})})}getVisitorData(ie,ne,ge,ce,he){const se={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/get-visitor-data/${ie}/${ne}/${ge}/${ce}/${he}`,se)}getCountSideMenu(ie,ne,ge,ce){const he={headers:new m.WM({accept:"application/json"})};return new Promise((se,pe)=>{this.http.get(`${this.baseUrl}/get-count-side-menu/${ie}/${ne}/${ge}/${ce}`,he).subscribe(Pe=>{se(Pe)},Pe=>{pe(Pe)})})}getCountCarousel(ie,ne,ge,ce){const he={headers:new m.WM({accept:"application/json"})};return new Promise((se,pe)=>{this.http.get(`${this.baseUrl}
1/get-count-carousel/${ie}/${ne}/${ge}/${ce}`,he).subscribe(Pe=>{se(Pe)},Pe=>{pe(Pe)})})}getDateRange(ie,ne){const ge={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/get-date-range/${ie}/${ne}`,ge)}getHotspotData(ie,ne,ge){const ce=Math.floor(ie/1e3),he=Math.floor(ne/1e3),se={headers:new m.WM({accept:"application/json"})};return this.http.get(`https://apil.gothru.co/tmstats/hotspot-datas/${ge}?start_date=${ce}&end_date=${he}`,se)}getHotspotDailyCount(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/get-hotstpot-daily/${ie}/${ne}/${ge}`,ce)}getControlData(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/get-control-data/${ie}/${ne}/${ge}`,ce)}getControlDailyCount(ie,ne,ge){const ce={headers:new m.WM({accept:"application/json"})};return this.http.get(`${this.baseUrl}/get-control-daily/${ie}/${ne}/${ge}`,ce)}static#e=this.\u0275fac=function(ne){return new(ne||$)(Z.LFG(m.eN))};static#t=this.\u0275prov=Z.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})()},6608:(Qe,ve,A)=>{var m=A(6593),Z=A(6814),B=A(9291),$=A(6825);function ie(b){return new B.vHH(3e3,!1)}function Ne(b){switch(b.length){case 0:return new $.ZN;case 1:return b[0];default:return new $.ZE(b)}}function Mt(b,u,d=new Map,y=new Map){const C=[],T=[];let j=-1,x=null;if(u.forEach(J=>{const oe=J.get("offset"),Oe=oe==j,He=Oe&&x||new Map;J.forEach((At,ct)=>{let Ye=ct,ut=At;if("offset"!==ct)switch(Ye=b.normalizePropertyName(Ye,C),ut){case $.k1:ut=d.get(ct);break;case $.l3:ut=y.get(ct);break;default:ut=b.normalizeStyleValue(ct,Ye,ut,C)}He.set(Ye,ut)}),Oe||T.push(He),x=He,j=oe}),C.length)throw function Me(b){return new B.vHH(3502,!1)}();return T}function Ue(b,u,d,y){switch(u){case"start":b.onStart(()=>y(d&&wt(d,"start",b)));break;case"done":b.onDone(()=>y(d&&wt(d,"done",b)));break;case"destroy":b.onDestroy(()=>y(d&&wt(d,"destroy",b)))}}function wt(b,u,d){const T=Ot(b.element,b.triggerName,b.fromState,b.toState,u||b.phaseName,d.totalTime??b.totalTime,!!d.disabled),j=b._data;return null!=j&&(T._data=j),T}function Ot(b,u,d,y,C="",T=0,j){return{element:b,triggerName:u,fromState:d,toState:y,phaseName:C,totalTime:T,disabled:!!j}}function ht(b,u,d){let y=b.get(u);return y||b.set(u,y=d),y}function un(b){const u=b.indexOf(":");return[b.substring(1,u),b.slice(u+1)]}const Fn=(()=>typeof document>"u"?null:document.documentElement)();function vt(b){const u=b.parentNode||b.host||null;return u===Fn?null:u}let Dn=null,zi=!1;function ln(b,u){for(;u;){if(u===b)return!0;u=vt(u)}return!1}function wn(b,u,d){if(d)return Array.from(b.querySelectorAll(u));const y=b.querySelector(u);return y?[y]:[]}let it=(()=>{class b{validateStyleProperty(d){return function lt(b){Dn||(Dn=function xr(){return typeof document<"u"?document.body:null}()||{},zi=!!Dn.style&&"WebkitAppearance"in Dn.style);let u=!0;return Dn.style&&!function Ke(b){return"ebkit"==b.substring(1,6)}(b)&&(u=b in Dn.style,!u&&zi&&(u="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in Dn.style)),u}(d)}matchesElement(d,y){return!1}containsElement(d,y){return ln(d,y)}getParentElement(d){return vt(d)}query(d,y,C){return wn(d,y,C)}computeStyle(d,y,C){return C||""}animate(d,y,C,T,j,x=[],J){return new $.ZN(C,T)}static#e=this.\u0275fac=function(y){return new(y||b)};static#t=this.\u0275prov=B.Yz7({token:b,factory:b.\u0275fac})}return b})(),Fr=(()=>{class b{static#e=this.NOOP=new it}return b})();const sr=1e3,cn="ng-enter",Lr="ng-leave",Ve="ng-trigger",pr=".ng-trigger",Lt="ng-animating",dn=".ng-animating";function bn(b){if("number"==typeof b)return b;const u=b.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:kr(parseFloat(u[1]),u[2])}function kr(b,u){return"s"===u?b*sr:b}function xt(b,u,d){return b.hasOwnProperty("duration")?b:function Dt(b,u,d){let C,T=0,j="";if("string"==typeof b){const x=b.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===x)return u.push(ie()),{duration:0,delay:0,easing:""};C=kr(parseFloat(x[1]),x[2]);const J=x[3];null!=J&&(T=kr(parseFloat(J),x[4]));const oe=x[5];oe&&(j=oe)}else C=b;if(!d){let x=!1,J=u.length;
1C<0&&(u.push(function ne(){return new B.vHH(3100,!1)}()),x=!0),T<0&&(u.push(function ge(){return new B.vHH(3101,!1)}()),x=!0),x&&u.splice(J,0,ie())}return{duration:C,delay:T,easing:j}}(b,u,d)}function hn(b,u={}){return Object.keys(b).forEach(d=>{u[d]=b[d]}),u}function Et(b){const u=new Map;return Object.keys(b).forEach(d=>{u.set(d,b[d])}),u}function Nn(b,u=new Map,d){if(d)for(let[y,C]of d)u.set(y,C);for(let[y,C]of b)u.set(y,C);return u}function Sn(b,u,d){u.forEach((y,C)=>{const T=qe(C);d&&!d.has(C)&&d.set(C,b.style[T]),b.style[T]=y})}function Mr(b,u){u.forEach((d,y)=>{const C=qe(y);b.style[C]=""})}function Xn(b){return Array.isArray(b)?1==b.length?b[0]:(0,$.vP)(b):b}const X=new RegExp("{{\\s*(.+?)\\s*}}","g");function O(b){let u=[];if("string"==typeof b){let d;for(;d=X.exec(b);)u.push(d[1]);X.lastIndex=0}return u}function G(b,u,d){const y=b.toString(),C=y.replace(X,(T,j)=>{let x=u[j];return null==x&&(d.push(function he(b){return new B.vHH(3003,!1)}()),x=""),x.toString()});return C==y?b:C}function ye(b){const u=[];let d=b.next();for(;!d.done;)u.push(d.value),d=b.next();return u}const Fe=/-+([a-z0-9])/g;function qe(b){return b.replace(Fe,(...u)=>u[1].toUpperCase())}function Jt(b,u,d){switch(u.type){case 7:return b.visitTrigger(u,d);case 0:return b.visitState(u,d);case 1:return b.visitTransition(u,d);case 2:return b.visitSequence(u,d);case 3:return b.visitGroup(u,d);case 4:return b.visitAnimate(u,d);case 5:return b.visitKeyframes(u,d);case 6:return b.visitStyle(u,d);case 8:return b.visitReference(u,d);case 9:return b.visitAnimateChild(u,d);case 10:return b.visitAnimateRef(u,d);case 11:return b.visitQuery(u,d);case 12:return b.visitStagger(u,d);default:throw function se(b){return new B.vHH(3004,!1)}()}}function Vn(b,u){return window.getComputedStyle(b)[u]}const _e="*";function Wt(b,u){const d=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(y=>function ot(b,u,d){if(":"==b[0]){const J=function fn(b,u){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,y)=>parseFloat(y)>parseFloat(d);case":decrement":return(d,y)=>parseFloat(y)<parseFloat(d);default:return u.push(function Ee(b){return new B.vHH(3016,!1)}()),"* => *"}}(b,d);if("function"==typeof J)return void u.push(J);b=J}const y=b.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return d.push(function ue(b){return new B.vHH(3015,!1)}()),u;const C=y[1],T=y[2],j=y[3];u.push(Ln(C,j));"<"==T[0]&&!(C==_e&&j==_e)&&u.push(Ln(j,C))}(y,d,u)):d.push(b),d}const En=new Set(["true","1"]),Mn=new Set(["false","0"]);function Ln(b,u){const d=En.has(b)||Mn.has(b),y=En.has(u)||Mn.has(u);return(C,T)=>{let j=b==_e||b==C,x=u==_e||u==T;return!j&&d&&"boolean"==typeof C&&(j=C?En.has(b):Mn.has(b)),!x&&y&&"boolean"==typeof T&&(x=T?En.has(u):Mn.has(u)),j&&x}}const jn=new RegExp("s*:selfs*,?","g");function _t(b,u,d,y){return new gt(b).build(u,d,y)}class gt{constructor(u){this._driver=u}build(u,d,y){const C=new Jn(d);return this._resetContextStyleTimingState(C),Jt(this,Xn(u),C)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles=new Map,u.collectedStyles.set("",new Map),u.currentTime=0}visitTrigger(u,d){let y=d.queryCount=0,C=d.depCount=0;const T=[],j=[];return"@"==u.name.charAt(0)&&d.errors.push(function Pe(){return new B.vHH(3006,!1)}()),u.definitions.forEach(x=>{if(this._resetContextStyleTimingState(d),0==x.type){const J=x,oe=J.name;oe.toString().split(/\s*,\s*/).forEach(Oe=>{J.name=Oe,T.push(this.visitState(J,d))}),J.name=oe}else if(1==x.type){const J=this.visitTransition(x,d);y+=J.queryCount,C+=J.depCount,j.push(J)}else d.errors.push(function Te(){return new B.vHH(3007,!1)}())}),{type:7,name:u.name,states:T,transitions:j,queryCount:y,depCount:C,options:null}}visitState(u,d){const y=this.visitStyle(u.styles,d),C=u.options&&u.options.params||null;if(y.containsDynamicStyles){const T=new Set,j=C||{};y.styles.forEach(x=>{x instanceof Map&&x.forEach(J=>{O(J).forEach(oe=>{j.hasOwnProperty(oe)||T.add(oe)})})}),T.size&&(ye(T.values()),d.errors.push(function Ge(b,u){return new B.vHH(3008,!1)}()))}return{type:0,name:u.name,style:y,options:C?{params:C}:null}}visitTransition(u,d){d.queryCount=0,d.depCount=0;const y=Jt(this,Xn(u.animation),d);return{type:1,matchers:Wt(u.expr,d.errors),animation:y,queryCount:d.queryCount,depCount:d.depCount,options:Gn(u.options)}}visitSequence(u,d){return{type:2,steps:u.steps.map(y=>Jt(this,y,d)),options:Gn(u.options)}}visitGroup(u,d){const y=d.currentTime;let C=0;const T=u.steps.map(j=>{d.currentTime=y;const x=Jt(this,j,d);return C=Math.max(C,d.currentTime),x});return d.currentTime=C,{type:3,steps:T,options:Gn(u.options)}}visitAnimate(u,d){const y=function er(b,u){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return ni(xt(b,u).duration,0,"");const d=b;if(d.split(/\s+/).some(T=>"{"==T.charAt(0)&&"{"==T.charAt(1))){const T=ni(0,0,"");return T.dynamic=!0,T.strValue=d,T}const C=xt(d,u);return ni(C.duration,C.delay,C.easing)}(u.timings,d.errors);d.currentAnimateTimings=y;let C,T=u.styles?u.styles:(0,$.oB)({});if(5==T.type)C=this.visitKeyframes(T,d);else{let j=u.styles,x=!1;if(!j){x=!0;const oe={};y.easing&&(oe.easing=y.easing),j=(0,$.oB)(oe)}d.currentTime+=y.duration+y.delay;const J=this.visitStyle(j,d);J.isEmptyStep=x,C=J}return d.currentAnimateTimings=null,{type:4,timings:y,style:C,options:null}}visitStyle(u,d){const y=this._makeStyleAst(u,d);
1return this._validateStyleAst(y,d),y}_makeStyleAst(u,d){const y=[],C=Array.isArray(u.styles)?u.styles:[u.styles];for(let x of C)"string"==typeof x?x===$.l3?y.push(x):d.errors.push(new B.vHH(3002,!1)):y.push(Et(x));let T=!1,j=null;return y.forEach(x=>{if(x instanceof Map&&(x.has("easing")&&(j=x.get("easing"),x.delete("easing")),!T))for(let J of x.values())if(J.toString().indexOf("{{")>=0){T=!0;break}}),{type:6,styles:y,easing:j,offset:u.offset,containsDynamicStyles:T,options:null}}_validateStyleAst(u,d){const y=d.currentAnimateTimings;let C=d.currentTime,T=d.currentTime;y&&T>0&&(T-=y.duration+y.delay),u.styles.forEach(j=>{"string"!=typeof j&&j.forEach((x,J)=>{const oe=d.collectedStyles.get(d.currentQuerySelector),Oe=oe.get(J);let He=!0;Oe&&(T!=C&&T>=Oe.startTime&&C<=Oe.endTime&&(d.errors.push(function rt(b,u,d,y,C){return new B.vHH(3010,!1)}()),He=!1),T=Oe.startTime),He&&oe.set(J,{startTime:T,endTime:C}),d.options&&function de(b,u,d){const y=u.params||{},C=O(b);C.length&&C.forEach(T=>{y.hasOwnProperty(T)||d.push(function ce(b){return new B.vHH(3001,!1)}())})}(x,d.options,d.errors)})})}visitKeyframes(u,d){const y={type:5,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push(function $e(){return new B.vHH(3011,!1)}()),y;let T=0;const j=[];let x=!1,J=!1,oe=0;const Oe=u.steps.map(sn=>{const Cn=this._makeStyleAst(sn,d);let Bn=null!=Cn.offset?Cn.offset:function ti(b){if("string"==typeof b)return null;let u=null;if(Array.isArray(b))b.forEach(d=>{if(d instanceof Map&&d.has("offset")){const y=d;u=parseFloat(y.get("offset")),y.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const d=b;u=parseFloat(d.get("offset")),d.delete("offset")}return u}(Cn.styles),An=0;return null!=Bn&&(T++,An=Cn.offset=Bn),J=J||An<0||An>1,x=x||An<oe,oe=An,j.push(An),Cn});J&&d.errors.push(function je(){return new B.vHH(3012,!1)}()),x&&d.errors.push(function z(){return new B.vHH(3200,!1)}());const He=u.steps.length;let At=0;T>0&&T<He?d.errors.push(function me(){return new B.vHH(3202,!1)}()):0==T&&(At=1/(He-1));const ct=He-1,Ye=d.currentTime,ut=d.currentAnimateTimings,zt=ut.duration;return Oe.forEach((sn,Cn)=>{const Bn=At>0?Cn==ct?1:At*Cn:j[Cn],An=Bn*zt;d.currentTime=Ye+ut.delay+An,ut.duration=An,this._validateStyleAst(sn,d),sn.offset=Bn,y.styles.push(sn)}),y}visitReference(u,d){return{type:8,animation:Jt(this,Xn(u.animation),d),options:Gn(u.options)}}visitAnimateChild(u,d){return d.depCount++,{type:9,options:Gn(u.options)}}visitAnimateRef(u,d){return{type:10,animation:this.visitReference(u.animation,d),options:Gn(u.options)}}visitQuery(u,d){const y=d.currentQuerySelector,C=u.options||{};d.queryCount++,d.currentQuery=u;const[T,j]=function mr(b){const u=!!b.split(/\s*,\s*/).find(d=>":self"==d);return u&&(b=b.replace(jn,"")),b=b.replace(/@\*/g,pr).replace(/@\w+/g,d=>pr+"-"+d.slice(1)).replace(/:animating/g,dn),[b,u]}(u.selector);d.currentQuerySelector=y.length?y+" "+T:T,ht(d.collectedStyles,d.currentQuerySelector,new Map);const x=Jt(this,Xn(u.animation),d);return d.currentQuery=null,d.currentQuerySelector=y,{type:11,selector:T,limit:C.limit||0,optional:!!C.optional,includeSelf:j,animation:x,originalSelector:u.selector,options:Gn(u.options)}}visitStagger(u,d){d.currentQuery||d.errors.push(function Re(){return new B.vHH(3013,!1)}());const y="full"===u.timings?{duration:0,delay:0,easing:"full"}:xt(u.timings,d.errors,!0);return{type:12,animation:Jt(this,Xn(u.animation),d),timings:y,options:null}}}class Jn{constructor(u){this.errors=u,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 Gn(b){return b?(b=hn(b)).params&&(b.params=function mn(b){return b?hn(b):null}(b.params)):b={},b}function ni(b,u,d){return{duration:b,delay:u,easing:d}}function Ir(b,u,d,y,C,T,j=null,x=!1){return{type:1,element:b,keyframes:u,preStyleProps:d,postStyleProps:y,duration:C,delay:T,totalTime:C+T,easing:j,subTimeline:x}}class jr{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,d){let y=this._map.get(u);y||this._map.set(u,y=[]),y.push(...d)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const ii=new RegExp(":enter","g"),Wr=new RegExp(":leave","g");function tr(b,u,d,y,C,T=new Map,j=new Map,x,J,oe=[]){return(new si).buildKeyframes(b,u,d,y,C,T,j,x,J,oe)}class si{buildKeyframes(u,d,y,C,T,j,x,J,oe,Oe=[]){oe=oe||new jr;const He=new oi(u,d,oe,C,T,Oe,[]);He.options=J;const At=J.delay?bn(J.delay):0;He.currentTimeline.delayNextStep(At),He.currentTimeline.setStyles([j],null,He.errors,J),Jt(this,y,He);const ct=He.timelines.filter(Ye=>Ye.containsAnimation());if(ct.length&&x.size){let Ye;for(let ut=ct.length-1;ut>=0;
1ut--){const zt=ct[ut];if(zt.element===d){Ye=zt;break}}Ye&&!Ye.allowOnlyTimelineStyles()&&Ye.setStyles([x],null,He.errors,J)}return ct.length?ct.map(Ye=>Ye.buildKeyframes()):[Ir(d,[],[],[],0,At,"",!1)]}visitTrigger(u,d){}visitState(u,d){}visitTransition(u,d){}visitAnimateChild(u,d){const y=d.subInstructions.get(d.element);if(y){const C=d.createSubContext(u.options),T=d.currentTimeline.currentTime,j=this._visitSubInstructions(y,C,C.options);T!=j&&d.transformIntoNewTimeline(j)}d.previousNode=u}visitAnimateRef(u,d){const y=d.createSubContext(u.options);y.transformIntoNewTimeline(),this._applyAnimationRefDelays([u.options,u.animation.options],d,y),this.visitReference(u.animation,y),d.transformIntoNewTimeline(y.currentTimeline.currentTime),d.previousNode=u}_applyAnimationRefDelays(u,d,y){for(const C of u){const T=C?.delay;if(T){const j="number"==typeof T?T:bn(G(T,C?.params??{},d.errors));y.delayNextStep(j)}}}_visitSubInstructions(u,d,y){let T=d.currentTimeline.currentTime;const j=null!=y.duration?bn(y.duration):null,x=null!=y.delay?bn(y.delay):null;return 0!==j&&u.forEach(J=>{const oe=d.appendInstructionToTimeline(J,j,x);T=Math.max(T,oe.duration+oe.delay)}),T}visitReference(u,d){d.updateOptions(u.options,!0),Jt(this,u.animation,d),d.previousNode=u}visitSequence(u,d){const y=d.subContextCount;let C=d;const T=u.options;if(T&&(T.params||T.delay)&&(C=d.createSubContext(T),C.transformIntoNewTimeline(),null!=T.delay)){6==C.previousNode.type&&(C.currentTimeline.snapshotCurrentStyles(),C.previousNode=nr);const j=bn(T.delay);C.delayNextStep(j)}u.steps.length&&(u.steps.forEach(j=>Jt(this,j,C)),C.currentTimeline.applyStylesToKeyframe(),C.subContextCount>y&&C.transformIntoNewTimeline()),d.previousNode=u}visitGroup(u,d){const y=[];let C=d.currentTimeline.currentTime;const T=u.options&&u.options.delay?bn(u.options.delay):0;u.steps.forEach(j=>{const x=d.createSubContext(u.options);T&&x.delayNextStep(T),Jt(this,j,x),C=Math.max(C,x.currentTimeline.currentTime),y.push(x.currentTimeline)}),y.forEach(j=>d.currentTimeline.mergeTimelineCollectedStyles(j)),d.transformIntoNewTimeline(C),d.previousNode=u}_visitTiming(u,d){if(u.dynamic){const y=u.strValue;return xt(d.params?G(y,d.params,d.errors):y,d.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,d){const y=d.currentAnimateTimings=this._visitTiming(u.timings,d),C=d.currentTimeline;y.delay&&(d.incrementTime(y.delay),C.snapshotCurrentStyles());const T=u.style;5==T.type?this.visitKeyframes(T,d):(d.incrementTime(y.duration),this.visitStyle(T,d),C.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=u}visitStyle(u,d){const y=d.currentTimeline,C=d.currentAnimateTimings;!C&&y.hasCurrentStyleProperties()&&y.forwardFrame();const T=C&&C.easing||u.easing;u.isEmptyStep?y.applyEmptyStep(T):y.setStyles(u.styles,T,d.errors,d.options),d.previousNode=u}visitKeyframes(u,d){const y=d.currentAnimateTimings,C=d.currentTimeline.duration,T=y.duration,x=d.createSubContext().currentTimeline;x.easing=y.easing,u.styles.forEach(J=>{x.forwardTime((J.offset||0)*T),x.setStyles(J.styles,J.easing,d.errors,d.options),x.applyStylesToKeyframe()}),d.currentTimeline.mergeTimelineCollectedStyles(x),d.transformIntoNewTimeline(C+T),d.previousNode=u}visitQuery(u,d){const y=d.currentTimeline.currentTime,C=u.options||{},T=C.delay?bn(C.delay):0;T&&(6===d.previousNode.type||0==y&&d.currentTimeline.hasCurrentStyleProperties())&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=nr);let j=y;const x=d.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!C.optional,d.errors);d.currentQueryTotal=x.length;let J=null;x.forEach((oe,Oe)=>{d.currentQueryIndex=Oe;const He=d.createSubContext(u.options,oe);T&&He.delayNextStep(T),oe===d.element&&(J=He.currentTimeline),Jt(this,u.animation,He),He.currentTimeline.applyStylesToKeyframe(),j=Math.max(j,He.currentTimeline.currentTime)}),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline(j),J&&(d.currentTimeline.mergeTimelineCollectedStyles(J),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=u}visitStagger(u,d){const y=d.parentContext,C=d.currentTimeline,T=u.timings,j=Math.abs(T.duration),x=j*(d.currentQueryTotal-1);let J=j*d.currentQueryIndex;switch(T.duration<0?"reverse":T.easing){case"reverse":J=x-J;break;case"full":J=y.currentStaggerTime}const Oe=d.currentTimeline;J&&Oe.delayNextStep(J);const He=Oe.currentTime;Jt(this,u.animation,d),d.previousNode=u,y.currentStaggerTime=C.currentTime-He+(C.startTime-y.currentTimeline.startTime)}}const nr={};class oi{constructor(u,d,y,C,T,j,x,J){this._driver=u,this.element=d,this.subInstru
1ctions=y,this._enterClassName=C,this._leaveClassName=T,this.errors=j,this.timelines=x,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=nr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=J||new Ut(this._driver,d,0),x.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,d){if(!u)return;const y=u;let C=this.options;null!=y.duration&&(C.duration=bn(y.duration)),null!=y.delay&&(C.delay=bn(y.delay));const T=y.params;if(T){let j=C.params;j||(j=this.options.params={}),Object.keys(T).forEach(x=>{(!d||!j.hasOwnProperty(x))&&(j[x]=G(T[x],j,this.errors))})}}_copyOptions(){const u={};if(this.options){const d=this.options.params;if(d){const y=u.params={};Object.keys(d).forEach(C=>{y[C]=d[C]})}}return u}createSubContext(u=null,d,y){const C=d||this.element,T=new oi(this._driver,C,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(C,y||0));return T.previousNode=this.previousNode,T.currentAnimateTimings=this.currentAnimateTimings,T.options=this._copyOptions(),T.updateOptions(u),T.currentQueryIndex=this.currentQueryIndex,T.currentQueryTotal=this.currentQueryTotal,T.parentContext=this,this.subContextCount++,T}transformIntoNewTimeline(u){return this.previousNode=nr,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,d,y){const C={duration:d??u.duration,delay:this.currentTimeline.currentTime+(y??0)+u.delay,easing:""},T=new Pi(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,C,u.stretchStartingKeyframe);return this.timelines.push(T),C}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,d,y,C,T,j){let x=[];if(C&&x.push(this.element),u.length>0){u=(u=u.replace(ii,"."+this._enterClassName)).replace(Wr,"."+this._leaveClassName);let oe=this._driver.query(this.element,u,1!=y);0!==y&&(oe=y<0?oe.slice(oe.length+y,oe.length):oe.slice(0,y)),x.push(...oe)}return!T&&0==x.length&&j.push(function We(b){return new B.vHH(3014,!1)}()),x}}class Ut{constructor(u,d,y,C){this._driver=u,this.element=d,this.startTime=y,this._elementTimelineStylesLookup=C,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(d),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(d,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(u){const d=1===this._keyframes.size&&this._pendingStyles.size;this.duration||d?(this.forwardTime(this.currentTime+u),d&&this.snapshotCurrentStyles()):this.startTime+=u}fork(u,d){return this.applyStylesToKeyframe(),new Ut(this._driver,u,d||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(u){this.applyStylesToKeyframe(),this.duration=u,this._loadKeyframe()}_updateStyle(u,d){this._localTimelineStyles.set(u,d),this._globalTimelineStyles.set(u,d),this._styleSummary.set(u,{time:this.currentTime,value:d})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
1applyEmptyStep(u){u&&this._previousKeyframe.set("easing",u);for(let[d,y]of this._globalTimelineStyles)this._backFill.set(d,y||$.l3),this._currentKeyframe.set(d,$.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,d,y,C){d&&this._previousKeyframe.set("easing",d);const T=C&&C.params||{},j=function bs(b,u){const d=new Map;let y;return b.forEach(C=>{if("*"===C){y=y||u.keys();for(let T of y)d.set(T,$.l3)}else Nn(C,d)}),d}(u,this._globalTimelineStyles);for(let[x,J]of j){const oe=G(J,T,y);this._pendingStyles.set(x,oe),this._localTimelineStyles.has(x)||this._backFill.set(x,this._globalTimelineStyles.get(x)??$.l3),this._updateStyle(x,oe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((u,d)=>{this._currentKeyframe.set(d,u)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((u,d)=>{this._currentKeyframe.has(d)||this._currentKeyframe.set(d,u)}))}snapshotCurrentStyles(){for(let[u,d]of this._localTimelineStyles)this._pendingStyles.set(u,d),this._updateStyle(u,d)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const u=[];for(let d in this._currentKeyframe)u.push(d);return u}
1mergeTimelineCollectedStyles(u){u._styleSummary.forEach((d,y)=>{const C=this._styleSummary.get(y);(!C||d.time>C.time)&&this._updateStyle(y,d.value)})}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,d=new Set,y=1===this._keyframes.size&&0===this.duration;let C=[];this._keyframes.forEach((x,J)=>{const oe=Nn(x,new Map,this._backFill);oe.forEach((Oe,He)=>{Oe===$.k1?u.add(He):Oe===$.l3&&d.add(He)}),y||oe.set("offset",J/this.duration),C.push(oe)});const T=u.size?ye(u.values()):[],j=d.size?ye(d.values()):[];if(y){const x=C[0],J=new Map(x);x.set("offset",0),J.set("offset",1),C=[x,J]}return Ir(this.element,C,T,j,this.duration,this.startTime,this.easing,!1)}}class Pi extends Ut{constructor(u,d,y,C,T,j,x=!1){super(u,d,j.delay),this.keyframes=y,this.preStyleProps=C,this.postStyleProps=T,this._stretchStartingKeyframe=x,this.timings={duration:j.duration,delay:j.delay,easing:j.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:d,duration:y,easing:C}=this.timings;if(this._stretchStartingKeyframe&&d){const T=[],j=y+d,x=d/j,J=Nn(u[0]);J.set("offset",0),T.push(J);const oe=Nn(u[0]);oe.set("offset",Ri(x)),T.push(oe);const Oe=u.length-1;for(let He=1;He<=Oe;He++){let At=Nn(u[He]);const ct=At.get("offset");At.set("offset",Ri((d+ct*y)/j)),T.push(At)}y=j,d=0,C="",u=T}return Ir(this.element,u,this.preStyleProps,this.postStyleProps,y,d,C,!0)}}function Ri(b,u=3){const d=Math.pow(10,u-1);return Math.round(b*d)/d}class Gi{}const cs=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 Ss extends Gi{normalizePropertyName(u,d){return qe(u)}normalizeStyleValue(u,d,y,C){let T="";const j=y.toString().trim();if(cs.has(d)&&0!==y&&"0"!==y)if("number"==typeof y)T="px";else{const x=y.match(/^[+-]?[\d\.]+([a-z]*)$/);x&&0==x[1].length&&C.push(function pe(b,u){return new B.vHH(3005,!1)}())}return j+T}}function ds(b,u,d,y,C,T,j,x,J,oe,Oe,He,At){return{type:0,element:b,triggerName:u,isRemovalTransition:C,fromState:d,fromStyles:T,toState:y,toStyles:j,timelines:x,queriedElements:J,preStyleProps:oe,postStyleProps:Oe,totalTime:He,errors:At}}const Wi={};class Ki{constructor(u,d,y){this._triggerName=u,this.ast=d,this._stateStyles=y}match(u,d,y,C){return function fs(b,u,d,y,C){return b.some(T=>T(u,d,y,C))}(this.ast.matchers,u,d,y,C)}buildStyles(u,d,y){let C=this._stateStyles.get("*");return void 0!==u&&(C=this._stateStyles.get(u?.toString())||C),C?C.buildStyles(d,y):new Map}build(u,d,y,C,T,j,x,J,oe,Oe){const He=[],At=this.ast.options&&this.ast.options.params||Wi,Ye=this.buildStyles(y,x&&x.params||Wi,He),ut=J&&J.params||Wi,zt=this.buildStyles(C,ut,He),sn=new Set,Cn=new Map,Bn=new Map,An="void"===C,$r={params:qi(ut,At),delay:this.ast.options?.delay},On=Oe?[]:tr(u,d,this.ast.animation,T,j,Ye,zt,$r,oe,He);let vn=0;if(On.forEach(Br=>{vn=Math.max(Br.duration+Br.delay,vn)}),He.length)return ds(d,this._triggerName,y,C,An,Ye,zt,[],[],Cn,Bn,vn,He);On.forEach(Br=>{const Dr=Br.element,Qr=ht(Cn,Dr,new Set);Br.preStyleProps.forEach(f=>Qr.add(f));const Zr=ht(Bn,Dr,new Set);Br.postStyleProps.forEach(f=>Zr.add(f)),Dr!==d&&sn.add(Dr)});const Rr=ye(sn.values());return ds(d,this._triggerName,y,C,An,Ye,zt,On,Rr,Cn,Bn,vn)}}function qi(b,u){const d=hn(u);for(const y in b)b.hasOwnProperty(y)&&null!=b[y]&&(d[y]=b[y]);return d}class _i{constructor(u,d,y){this.styles=u,this.defaultParams=d,this.normalizer=y}buildStyles(u,d){const y=new Map,C=hn(this.defaultParams);return Object.keys(u).forEach(T=>{const j=u[T];null!==j&&(C[T]=j)}),this.styles.styles.forEach(T=>{"string"!=typeof T&&T.forEach((j,x)=>{j&&(j=G(j,C,d));const J=this.normalizer.normalizePropertyName(x,d);j=this.normalizer.normalizeStyleValue(x,J,j,d),y.set(x,j)})}),y}}class hs{constructor(u,d,y){this.name=u,this.ast=d,this._normalizer=y,this.transitionFactories=[],this.states=new Map,d.states.forEac
1h(C=>{this.states.set(C.name,new _i(C.style,C.options&&C.options.params||{},y))}),Ni(this.states,"true","1"),Ni(this.states,"false","0"),d.transitions.forEach(C=>{this.transitionFactories.push(new Ki(u,C,this.states))}),this.fallbackTransition=function ai(b,u,d){return new Ki(b,{type:1,animation:{type:2,steps:[],options:null},matchers:[(j,x)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,d,y,C){return this.transitionFactories.find(j=>j.match(u,d,y,C))||null}matchStyles(u,d,y){return this.fallbackTransition.buildStyles(u,d,y)}}function Ni(b,u,d){b.has(u)?b.has(d)||b.set(d,b.get(u)):b.has(d)&&b.set(u,b.get(d))}const It=new jr;class gn{constructor(u,d,y){this.bodyNode=u,this._driver=d,this._normalizer=y,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,d){const y=[],T=_t(this._driver,d,y,[]);if(y.length)throw function pt(b){return new B.vHH(3503,!1)}();this._animations.set(u,T)}_buildPlayer(u,d,y){const C=u.element,T=Mt(this._normalizer,u.keyframes,d,y);return this._driver.animate(C,T,u.duration,u.delay,u.easing,[],!0)}create(u,d,y={}){const C=[],T=this._animations.get(u);let j;const x=new Map;if(T?(j=tr(this._driver,d,T,cn,Lr,new Map,new Map,y,It,C),j.forEach(Oe=>{const He=ht(x,Oe.element,new Map);Oe.postStyleProps.forEach(At=>He.set(At,null))})):(C.push(function Be(){return new B.vHH(3300,!1)}()),j=[]),C.length)throw function et(b){return new B.vHH(3504,!1)}();x.forEach((Oe,He)=>{Oe.forEach((At,ct)=>{Oe.set(ct,this._driver.computeStyle(He,ct,$.l3))})});const oe=Ne(j.map(Oe=>{const He=x.get(Oe.element);return this._buildPlayer(Oe,new Map,He)}));return this._playersById.set(u,oe),oe.onDestroy(()=>this.destroy(u)),this.players.push(oe),oe}destroy(u){const d=this._getPlayer(u);d.destroy(),this._playersById.delete(u);const y=this.players.indexOf(d);y>=0&&this.players.splice(y,1)}_getPlayer(u){const d=this._playersById.get(u);if(!d)throw function Sr(b){return new B.vHH(3301,!1)}();return d}listen(u,d,y,C){const T=Ot(d,"","","");return Ue(this._getPlayer(u),y,T,C),()=>{}}command(u,d,y,C){if("register"==y)return void this.register(u,C[0]);if("create"==y)return void this.create(u,d,C[0]||{});const T=this._getPlayer(u);switch(y){case"play":T.play();break;case"pause":T.pause();break;case"reset":T.reset();break;case"restart":T.restart();break;case"finish":T.finish();break;case"init":T.init();break;case"setPosition":T.setPosition(parseFloat(C[0]));break;case"destroy":this.destroy(u)}}}const en="ng-animate-queued",_n="ng-animate-disabled",ps=[],Qi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Zt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ae="__ng_removed";class at{get params(){return this.options.params}constructor(u,d=""){this.namespaceId=d;const y=u&&u.hasOwnProperty("value");if(this.value=function Ar(b){return b??null}(y?u.value:u),y){const T=hn(u);delete T.value,this.options=T}else this.options={};this.options.params||(this.options.params={})}absorbOptions(u){const d=u.params;if(d){const y=this.options.params;Object.keys(d).forEach(C=>{null==y[C]&&(y[C]=d[C])})}}}const Vt="void",Hn=new at(Vt);class ui{constructor(u,d,y){this.id=u,this.hostElement=d,this._engine=y,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+u,jt(d,this._hostClassName)}listen(u,d,y,C){if(!this._triggers.has(d))throw function Rn(b,u){return new B.vHH(3302,!1)}();if(null==y||0==y.length)throw function ee(b){return new B.vHH(3303,!1)}();if(!function st(b){return"start"==b||"done"==b}(y))throw function L(b,u){return new B.vHH(3400,!1)}();const T=ht(this._elementListeners,u,[]),j={name:d,phase:y,callback:C};T.push(j);const x=ht(this._engine.statesByElement,u,new Map);return x.has(d)||(jt(u,Ve),jt(u,Ve+"-"+d),x.set(d,Hn)),()=>{this._engine.afterFlush(()=>{const J=T.indexOf(j);J>=0&&T.splice(J,1),this._triggers.has(d)||x.delete(d)})}}register(u,d){return!this._triggers.has(u)&&(this._triggers.set(u,d),!0)}_getTrigger(u){const d=this._triggers.get(u);if(!d)throw function K(b){return new B.vHH(3401,!1)}();return d}trigger(u,d,y,C=!0){const T=this._getTrigger(d),j=new Kr(this.id,d,u);let x=this._engine.statesByElement.get(u);x||(jt(u,Ve),jt(u,Ve+"-"+d),this._engine.statesByElement.set(u,x=new Map));let J=x.get(d);const oe=new at(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&J&&oe.absorbOptions(J.options),x.set(d,oe),J||(J=Hn),oe.value!==Vt&&J.value===oe.value){if(!function ms(b,u){const d=Object.keys(b),y=Object.keys(u);if(d.length!=y.length)return!1;for(let C=0;C<d.length;C++){const T=d[C];if(!u.hasOwnProperty(T)||b[T]!==u[T])return!1}return!0}(J.params,oe.params)){const ut=[],zt=T.matchStyles(J.value,J.params,ut),sn=T.matchStyles(oe.value,oe.params,ut);ut.length?this._engine.reportError(ut):this._engine.afterFlush(()=>{Mr(u,zt),Sn(u,sn)})}return}const At=ht(this._engine.playersByElement,u,[]);At.forEach(ut=>{ut.namespaceId==this.id&&ut.triggerName==d&&ut.queued&&ut.destroy()});let ct=T.matchTransition(J.value,oe.value,u,oe.params),Ye=!1;if(!ct){if(!C)return;ct=T.fallbackTransition,Ye=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:d,transition:ct,fromState:J,toState:oe,player:j,isFallbackTransition:Ye}),Ye||(jt(u,en),j.onStart(()=>{ur(u,en)})),j.onDone(()=>{let ut=this.players.indexOf(j);ut>=0&&this.players.splice(ut,1);const zt=this._engine.playersByElement.get(u);if(zt){let sn=zt.indexOf(j);sn>=0&&zt.splice(sn,1)}}),this.players.push(j),At.push(j),j}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach(d=>d.delete(u)),this._elementListeners.forEach((d,y)=>{this._elementListeners.set(y,d.filter(C=>C.name!=u))})}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);const d=this._engine.playersByElement.get(u);d&&(d.forEach(y=>y.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,d){const y=this._engine.driver.query(u,pr,!0);y.forEach(C=>{if(C[Ae])return;const T=this._engine.fetchNamespacesByElement(C);T.size?T.forEach(j=>j.triggerLeaveAnimation(C,d,!1,!0)):this.clearElementCache(C)}),this._engine.afterFlushAnimationsDone(()=>y.forEach(C=>this.clearElementCache(C)))}triggerLeaveAnimation(u,d,y,C){const T=this._engine.statesByElement.get(u),j=new Map;if(T){const x=[];if(T.forEach((J,oe)=>{if(j.set(oe,J.value),this._triggers.has(oe)){const Oe=this.trigger(u,oe,Vt,C);Oe&&x.push(Oe)}}),x.length)return this._engine.markElementAsRemoved(this.id,u,!0,d,j),y&&Ne(x).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){const d=this._elementListeners.get(u),y=this._engine.statesByElement.get(u);if(d&&y){const C=new Set;d.forEach(T=>{const j=T.name;if(C.has(j))return;C.add(j);const J=this._triggers.get(j).fallbackTransition,oe=y.get(j)||Hn,Oe=new at(Vt),He=new Kr(this.id,j,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:j,transition:J,fromState:oe,toState:Oe,player:He,isFallbackTransition:!0})})}}removeNode(u,d){const y=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,d),this.triggerLeaveAnimation(u,d,!0))return;let C=!1;if(y.totalAnimations){const T=y.players.length?y.playersByQueriedElement.get(u):[];if(T&&T.length)C=!0;else{let j=u;for(;j=j.parentNode;)if(y.statesByElement.get(j)){C=!0;break}}}if(this.prepareLeaveAnimationListeners(u),C)y.markElementAsRemoved(this.id,u,!1,d);else{const T=u[Ae];(!T||T===Qi)&&(y.afterFlush(()=>this.clearElementCache(u)),y.destroyInnerAnimations(u),y._onRemovalComplete(u,d))}}insertNode(u,d){jt(u,this._hostClassName)}drainQueuedTransitions(u){const d=[];return this._queue.forEach(y=>{const C=y.player;if(C.destroyed)return;const T=y.element,j=this._elementListeners.get(T);
1j&&j.forEach(x=>{if(x.name==y.triggerName){const J=Ot(T,y.triggerName,y.fromState.value,y.toState.value);J._data=u,Ue(y.player,x.phase,J,x.callback)}}),C.markedForDestroy?this._engine.afterFlush(()=>{C.destroy()}):d.push(y)}),this._queue=[],d.sort((y,C)=>{const T=y.transition.ast.depCount,j=C.transition.ast.depCount;return 0==T||0==j?T-j:this._engine.driver.containsElement(y.element,C.element)?1:-1})}destroy(u){this.players.forEach(d=>d.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}}class In{_onRemovalComplete(u,d){this.onRemovalComplete(u,d)}constructor(u,d,y){this.bodyNode=u,this.driver=d,this._normalizer=y,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(C,T)=>{}}get queuedPlayers(){const u=[];return this._namespaceList.forEach(d=>{d.players.forEach(y=>{y.queued&&u.push(y)})}),u}createNamespace(u,d){const y=new ui(u,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(y,d):(this.newHostElements.set(d,y),this.collectEnterElement(d)),this._namespaceLookup[u]=y}_balanceNamespaceList(u,d){const y=this._namespaceList,C=this.namespacesByHostElement;if(y.length-1>=0){let j=!1,x=this.driver.getParentElement(d);for(;x;){const J=C.get(x);if(J){const oe=y.indexOf(J);y.splice(oe+1,0,u),j=!0;break}x=this.driver.getParentElement(x)}j||y.unshift(u)}else y.push(u);return C.set(d,u),u}register(u,d){let y=this._namespaceLookup[u];return y||(y=this.createNamespace(u,d)),y}registerTrigger(u,d,y){let C=this._namespaceLookup[u];C&&C.register(d,y)&&this.totalAnimations++}destroy(u,d){u&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const y=this._fetchNamespace(u);this.namespacesByHostElement.delete(y.hostElement);const C=this._namespaceList.indexOf(y);C>=0&&this._namespaceList.splice(C,1),y.destroy(d),delete this._namespaceLookup[u]}))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const d=new Set,y=this.statesByElement.get(u);if(y)for(let C of y.values())if(C.namespaceId){const T=this._fetchNamespace(C.namespaceId);T&&d.add(T)}return d}trigger(u,d,y,C){if(Pr(d)){const T=this._fetchNamespace(u);if(T)return T.trigger(d,y,C),!0}return!1}insertNode(u,d,y,C){if(!Pr(d))return;const T=d[Ae];if(T&&T.setForRemoval){T.setForRemoval=!1,T.setForMove=!0;const j=this.collectedLeaveElements.indexOf(d);j>=0&&this.collectedLeaveElements.splice(j,1)}if(u){const j=this._fetchNamespace(u);j&&j.insertNode(d,y)}C&&this.collectEnterElement(d)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,d){d?this.disabledNodes.has(u)||(this.disabledNodes.add(u),jt(u,_n)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),ur(u,_n))}removeNode(u,d,y){if(Pr(d)){const C=u?this._fetchNamespace(u):null;C?C.removeNode(d,y):this.markElementAsRemoved(u,d,!1,y);const T=this.namespacesByHostElement.get(d);T&&T.id!==u&&T.removeNode(d,y)}else this._onRemovalComplete(d,y)}markElementAsRemoved(u,d,y,C,T){this.collectedLeaveElements.push(d),d[Ae]={namespaceId:u,setForRemoval:C,hasAnimation:y,removedBeforeQueried:!1,previousTriggersValues:T}}listen(u,d,y,C,T){return Pr(d)?this._fetchNamespace(u).listen(d,y,C,T):()=>{}}_buildInstruction(u,d,y,C,T){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,y,C,u.fromState.options,u.toState.options,d,T)}destroyInnerAnimations(u){let d=this.driver.query(u,pr,!0);d.forEach(y=>this.destroyActiveAnimationsForElement(y)),0!=this.playersByQueriedElement.size&&(d=this.driver.query(u,dn,!0),d.forEach(y=>this.finishActiveQueriedAnimationOnElement(y)))}destroyActiveAnimationsForElement(u){const d=this.playersByElement.get(u);d&&d.forEach(y=>{y.queued?y.markedForDestroy=!0:y.destroy()})}finishActiveQueriedAnimationOnElement(u){const d=this.playersByQueriedElement.get(u);d&&d.forEach(y=>y.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return Ne(this.players).onDone(()=>u());u()})}processLeaveNode(u){const d=u[Ae];if(d&&d.setForRemoval){if(u[Ae]=Qi,d.namespaceId){this.destroyInnerAnimations(u);const y=this._fetchNamespace(d.namespaceId);y&&y.clearElementCache(u)}this._onRemovalComplete(u,d.setForRemoval)}u.classList?.contains(_n)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEac
1h(y=>{this.markElementAsDisabled(y,!1)})}flush(u=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach((y,C)=>this._balanceNamespaceList(y,C)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;y<this.collectedEnterElements.length;y++)jt(this.collectedEnterElements[y],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const y=[];try{d=this._flushAnimations(y,u)}finally{for(let C=0;C<y.length;C++)y[C]()}}else for(let y=0;y<this.collectedLeaveElements.length;y++)this.processLeaveNode(this.collectedLeaveElements[y]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(y=>y()),this._flushFns=[],this._whenQuietFns.length){const y=this._whenQuietFns;this._whenQuietFns=[],d.length?Ne(d).onDone(()=>{y.forEach(C=>C())}):y.forEach(C=>C())}}reportError(u){throw function I(b){return new B.vHH(3402,!1)}()}_flushAnimations(u,d){const y=new jr,C=[],T=new Map,j=[],x=new Map,J=new Map,oe=new Map,Oe=new Set;this.disabledNodes.forEach(_=>{Oe.add(_);const P=this.driver.query(_,".ng-animate-queued",!0);for(let V=0;V<P.length;V++)Oe.add(P[V])});const He=this.bodyNode,At=Array.from(this.statesByElement.keys()),ct=ar(At,this.collectedEnterElements),Ye=new Map;let ut=0;ct.forEach((_,P)=>{const V=cn+ut++;Ye.set(P,V),_.forEach(re=>jt(re,V))});const zt=[],sn=new Set,Cn=new Set;for(let _=0;_<this.collectedLeaveElements.length;_++){const P=this.collectedLeaveElements[_],V=P[Ae];V&&V.setForRemoval&&(zt.push(P),sn.add(P),V.hasAnimation?this.driver.query(P,".ng-star-inserted",!0).forEach(re=>sn.add(re)):Cn.add(P))}const Bn=new Map,An=ar(At,Array.from(sn));An.forEach((_,P)=>{const V=Lr+ut++;Bn.set(P,V),_.forEach(re=>jt(re,V))}),u.push(()=>{ct.forEach((_,P)=>{const V=Ye.get(P);_.forEach(re=>ur(re,V))}),An.forEach((_,P)=>{const V=Bn.get(P);_.forEach(re=>ur(re,V))}),zt.forEach(_=>{this.processLeaveNode(_)})});const $r=[],On=[];for(let _=this._namespaceList.length-1;_>=0;_--)this._namespaceList[_].drainQueuedTransitions(d).forEach(V=>{const re=V.player,xe=V.element;if($r.push(re),this.collectedEnterElements.length){const Ft=xe[Ae];if(Ft&&Ft.setForMove){if(Ft.previousTriggersValues&&Ft.previousTriggersValues.has(V.triggerName)){const zn=Ft.previousTriggersValues.get(V.triggerName),on=this.statesByElement.get(V.element);if(on&&on.has(V.triggerName)){const rr=on.get(V.triggerName);rr.value=zn,on.set(V.triggerName,rr)}}return void re.destroy()}}const Pt=!He||!this.driver.containsElement(He,xe),yt=Bn.get(xe),Ct=Ye.get(xe),ze=this._buildInstruction(V,y,Ct,yt,Pt);if(ze.errors&&ze.errors.length)return void On.push(ze);if(Pt)return re.onStart(()=>Mr(xe,ze.fromStyles)),re.onDestroy(()=>Sn(xe,ze.toStyles)),void C.push(re);if(V.isFallbackTransition)return re.onStart(()=>Mr(xe,ze.fromStyles)),re.onDestroy(()=>Sn(xe,ze.toStyles)),void C.push(re);const Qt=[];ze.timelines.forEach(Ft=>{Ft.stretchStartingKeyframe=!0,this.disabledNodes.has(Ft.element)||Qt.push(Ft)}),ze.timelines=Qt,y.append(xe,ze.timelines),j.push({instruction:ze,player:re,element:xe}),ze.queriedElements.forEach(Ft=>ht(x,Ft,[]).push(re)),ze.preStyleProps.forEach((Ft,zn)=>{if(Ft.size){let on=J.get(zn);on||J.set(zn,on=new Set),Ft.forEach((rr,qn)=>on.add(qn))}}),ze.postStyleProps.forEach((Ft,zn)=>{let on=oe.get(zn);on||oe.set(zn,on=new Set),Ft.forEach((rr,qn)=>on.add(qn))})});if(On.length){const _=[];On.forEach(P=>{_.push(function W(b,u){return new B.vHH(3505,!1)}())}),$r.forEach(P=>P.destroy()),this.reportError(_)}const vn=new Map,Rr=new Map;j.forEach(_=>{const P=_.element;y.has(P)&&(Rr.set(P,P),this._beforeAnimationBuild(_.player.namespaceId,_.instruction,vn))}),C.forEach(_=>{const P=_.element;this._getPreviousPlayers(P,!1,_.namespaceId,_.triggerName,null).forEach(re=>{ht(vn,P,[]).push(re),re.destroy()})});const Br=zt.filter(_=>qr(_,J,oe)),Dr=new Map;gs(Dr,this.driver,Cn,oe,$.l3).forEach(_=>{qr(_,J,oe)&&Br.push(_)});const Zr=new Map;ct.forEach((_,P)=>{gs(Zr,this.driver,new Set(_),J,$.k1)}),Br.forEach(_=>{const P=Dr.get(_),V=Zr.get(_);Dr.set(_,new Map([...P?.entries()??[],...V?.entries()??[]]))});const f=[],w=[],v={};
1j.forEach(_=>{const{element:P,player:V,instruction:re}=_;if(y.has(P)){if(Oe.has(P))return V.onDestroy(()=>Sn(P,re.toStyles)),V.disabled=!0,V.overrideTotalTime(re.totalTime),void C.push(V);let xe=v;if(Rr.size>1){let yt=P;const Ct=[];for(;yt=yt.parentNode;){const ze=Rr.get(yt);if(ze){xe=ze;break}Ct.push(yt)}Ct.forEach(ze=>Rr.set(ze,xe))}const Pt=this._buildAnimation(V.namespaceId,re,vn,T,Zr,Dr);if(V.setRealPlayer(Pt),xe===v)f.push(V);else{const yt=this.playersByElement.get(xe);yt&&yt.length&&(V.parentPlayer=Ne(yt)),C.push(V)}}else Mr(P,re.fromStyles),V.onDestroy(()=>Sn(P,re.toStyles)),w.push(V),Oe.has(P)&&C.push(V)}),w.forEach(_=>{const P=T.get(_.element);if(P&&P.length){const V=Ne(P);_.setRealPlayer(V)}}),C.forEach(_=>{_.parentPlayer?_.syncPlayerEvents(_.parentPlayer):_.destroy()});for(let _=0;_<zt.length;_++){const P=zt[_],V=P[Ae];if(ur(P,Lr),V&&V.hasAnimation)continue;let re=[];if(x.size){let Pt=x.get(P);Pt&&Pt.length&&re.push(...Pt);let yt=this.driver.query(P,dn,!0);for(let Ct=0;Ct<yt.length;Ct++){let ze=x.get(yt[Ct]);ze&&ze.length&&re.push(...ze)}}const xe=re.filter(Pt=>!Pt.destroyed);xe.length?ci(this,P,xe):this.processLeaveNode(P)}return zt.length=0,f.forEach(_=>{this.players.push(_),_.onDone(()=>{_.destroy();const P=this.players.indexOf(_);this.players.splice(P,1)}),_.play()}),f}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,d,y,C,T){let j=[];if(d){const x=this.playersByQueriedElement.get(u);x&&(j=x)}else{const x=this.playersByElement.get(u);if(x){const J=!T||T==Vt;x.forEach(oe=>{oe.queued||!J&&oe.triggerName!=C||j.push(oe)})}}return(y||C)&&(j=j.filter(x=>!(y&&y!=x.namespaceId||C&&C!=x.triggerName))),j}_beforeAnimationBuild(u,d,y){const T=d.element,j=d.isRemovalTransition?void 0:u,x=d.isRemovalTransition?void 0:d.triggerName;for(const J of d.timelines){const oe=J.element,Oe=oe!==T,He=ht(y,oe,[]);this._getPreviousPlayers(oe,Oe,j,x,d.toState).forEach(ct=>{const Ye=ct.getRealPlayer();Ye.beforeDestroy&&Ye.beforeDestroy(),ct.destroy(),He.push(ct)})}Mr(T,d.fromStyles)}_buildAnimation(u,d,y,C,T,j){const x=d.triggerName,J=d.element,oe=[],Oe=new Set,He=new Set,At=d.timelines.map(Ye=>{const ut=Ye.element;Oe.add(ut);const zt=ut[Ae];if(zt&&zt.removedBeforeQueried)return new $.ZN(Ye.duration,Ye.delay);const sn=ut!==J,Cn=function lr(b){const u=[];return yr(b,u),u}((y.get(ut)||ps).map(vn=>vn.getRealPlayer())).filter(vn=>!!vn.element&&vn.element===ut),Bn=T.get(ut),An=j.get(ut),$r=Mt(this._normalizer,Ye.keyframes,Bn,An),On=this._buildPlayer(Ye,$r,Cn);if(Ye.subTimeline&&C&&He.add(ut),sn){const vn=new Kr(u,x,ut);vn.setRealPlayer(On),oe.push(vn)}return On});oe.forEach(Ye=>{ht(this.playersByQueriedElement,Ye.element,[]).push(Ye),Ye.onDone(()=>function tn(b,u,d){let y=b.get(u);if(y){if(y.length){const C=y.indexOf(d);y.splice(C,1)}0==y.length&&b.delete(u)}return y}(this.playersByQueriedElement,Ye.element,Ye))}),Oe.forEach(Ye=>jt(Ye,Lt));const ct=Ne(At);return ct.onDestroy(()=>{Oe.forEach(Ye=>ur(Ye,Lt)),Sn(J,d.toStyles)}),He.forEach(Ye=>{ht(C,Ye,[]).push(ct)}),ct}_buildPlayer(u,d,y){return d.length>0?this.driver.animate(u.element,d,u.duration,u.delay,u.easing,y):new $.ZN(u.duration,u.delay)}}class Kr{constructor(u,d,y){this.namespaceId=u,this.triggerName=d,this.element=y,this._player=new $.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,this._queuedCallbacks.forEach((d,y)=>{d.forEach(C=>Ue(u,y,void 0,C))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){const d=this._player;d.triggerCallback&&u.onStart(()=>d.triggerCallback("start")),u.onDone(()=>this.finish()),u.onDestroy(()=>this.destroy())}_queueEvent(u,d){ht(this._queuedCallbacks,u,[]).push(d)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}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(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){const d=this._player;d.triggerCallback&&d.triggerCallback(u)}}function Pr(b){return b&&1===b.nodeType}function li(b,u){const d=b.style.display;return b.style.display=u??"none",d}function gs(b,u,d,y,C){const T=[];d.forEach(J=>T.push(li(J)));const j=[];
1y.forEach((J,oe)=>{const Oe=new Map;J.forEach(He=>{const At=u.computeStyle(oe,He,C);Oe.set(He,At),(!At||0==At.length)&&(oe[Ae]=Zt,j.push(oe))}),b.set(oe,Oe)});let x=0;return d.forEach(J=>li(J,T[x++])),j}function ar(b,u){const d=new Map;if(b.forEach(x=>d.set(x,[])),0==u.length)return d;const C=new Set(u),T=new Map;function j(x){if(!x)return 1;let J=T.get(x);if(J)return J;const oe=x.parentNode;return J=d.has(oe)?oe:C.has(oe)?1:j(oe),T.set(x,J),J}return u.forEach(x=>{const J=j(x);1!==J&&d.get(J).push(x)}),d}function jt(b,u){b.classList?.add(u)}function ur(b,u){b.classList?.remove(u)}function ci(b,u,d){Ne(d).onDone(()=>b.processLeaveNode(u))}function yr(b,u){for(let d=0;d<b.length;d++){const y=b[d];y instanceof $.ZE?yr(y.players,u):u.push(y)}}function qr(b,u,d){const y=d.get(b);if(!y)return!1;let C=u.get(b);return C?y.forEach(T=>C.add(T)):u.set(b,y),d.delete(b),!0}class cr{constructor(u,d,y){this.bodyNode=u,this._driver=d,this._normalizer=y,this._triggerCache={},this.onRemovalComplete=(C,T)=>{},this._transitionEngine=new In(u,d,y),this._timelineEngine=new gn(u,d,y),this._transitionEngine.onRemovalComplete=(C,T)=>this.onRemovalComplete(C,T)}registerTrigger(u,d,y,C,T){const j=u+"-"+C;let x=this._triggerCache[j];if(!x){const J=[],Oe=_t(this._driver,T,J,[]);if(J.length)throw function Ht(b,u){return new B.vHH(3404,!1)}();x=function Ks(b,u,d){return new hs(b,u,d)}(C,Oe,this._normalizer),this._triggerCache[j]=x}this._transitionEngine.registerTrigger(d,C,x)}register(u,d){this._transitionEngine.register(u,d)}destroy(u,d){this._transitionEngine.destroy(u,d)}onInsert(u,d,y,C){this._transitionEngine.insertNode(u,d,y,C)}onRemove(u,d,y){this._transitionEngine.removeNode(u,d,y)}disableAnimations(u,d){this._transitionEngine.markElementAsDisabled(u,d)}process(u,d,y,C){if("@"==y.charAt(0)){const[T,j]=un(y);this._timelineEngine.command(T,d,j,C)}else this._transitionEngine.trigger(u,d,y,C)}listen(u,d,y,C,T){if("@"==y.charAt(0)){const[j,x]=un(y);return this._timelineEngine.listen(j,d,x,T)}return this._transitionEngine.listen(u,d,y,C,T)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(u){this._transitionEngine.afterFlushAnimationsDone(u)}}let Zi=(()=>{class b{static#e=this.initialStylesByElement=new WeakMap;constructor(d,y,C){this._element=d,this._startStyles=y,this._endStyles=C,this._state=0;let T=b.initialStylesByElement.get(d);T||b.initialStylesByElement.set(d,T=new Map),this._initialStyles=T}start(){this._state<1&&(this._startStyles&&Sn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Sn(this._element,this._initialStyles),this._endStyles&&(Sn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(b.initialStylesByElement.delete(this._element),this._startStyles&&(Mr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Mr(this._element,this._endStyles),this._endStyles=null),Sn(this._element,this._initialStyles),this._state=3)}}return b})();function bt(b){let u=null;return b.forEach((d,y)=>{(function $o(b){return"display"===b||"position"===b})(y)&&(u=u||new Map,u.set(y,d))}),u}class xi{constructor(u,d,y,C){this.element=u,this.keyframes=d,this.options=y,this._specialStyles=C,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=y.duration,this._delay=y.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:new Map;const d=()=>this._onFinish();this.domPlayer.addEventListener("finish",d),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",d)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(u){const d=[];return u.forEach(y=>{d.push(Object.fromEntries(y))}),d}_triggerWebAnimation(u,d,y){return u.animate(this._convertKeyframesToObject(d),y)}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(u=>u()),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(u=>u()),this._onDestroyFns=[])}setPosition(u){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const u=new Map;this.hasStarted()&&this._finalKeyframe.forEach((y,C)=>{"offset"!==C&&u.set(C,this._finished?y:Vn(this.element,C))}),this.currentSnapshot=u}triggerCallback(u){const d="start"===u?this._onStartFns:this._onDoneFns;d.forEach(y=>y()),d.length=0}}class ys{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,d){return!1}containsElement(u,d){return ln(u,d)}getParentElement(u){return vt(u)}query(u,d,y){return wn(u,d,y)}computeStyle(u,d,y){return window.getComputedStyle(u)[d]}animate(u,d,y,C,T,j=[]){const J={duration:y,delay:C,fill:0==C?"both":"forwards"};T&&(J.easing=T);const oe=new Map,Oe=j.filter(ct=>ct instanceof xi);(function $t(b,u){return 0===b||0===u})(y,C)&&Oe.forEach(ct=>{ct.currentSnapshot.forEach((Ye,ut)=>oe.set(ut,Ye))});let He=function Un(b){return b.length?b[0]instanceof Map?b:b.map(u=>Et(u)):[]}(d).map(ct=>Nn(ct));He=function pn(b,u,d){if(d.size&&u.length){let y=u[0],C=[];
1if(d.forEach((T,j)=>{y.has(j)||C.push(j),y.set(j,T)}),C.length)for(let T=1;T<u.length;T++){let j=u[T];C.forEach(x=>j.set(x,Vn(b,x)))}}return u}(u,He,oe);const At=function Oi(b,u){let d=null,y=null;return Array.isArray(u)&&u.length?(d=bt(u[0]),u.length>1&&(y=bt(u[u.length-1]))):u instanceof Map&&(d=bt(u)),d||y?new Zi(b,d,y):null}(u,He);return new xi(u,He,J,At)}}let dr=(()=>{class b extends $._j{constructor(d,y){super(),this._nextAnimationId=0,this._renderer=d.createRenderer(y.body,{id:"0",encapsulation:B.ifc.None,styles:[],data:{animation:[]}})}build(d){const y=this._nextAnimationId.toString();this._nextAnimationId++;const C=Array.isArray(d)?(0,$.vP)(d):d;return vr(this._renderer,null,y,"register",[C]),new Wn(y,this._renderer)}static#e=this.\u0275fac=function(y){return new(y||b)(B.LFG(B.FYo),B.LFG(Z.K0))};static#t=this.\u0275prov=B.Yz7({token:b,factory:b.\u0275fac})}return b})();class Wn extends $.LC{constructor(u,d){super(),this._id=u,this._renderer=d}create(u,d){return new di(this._id,u,d||{},this._renderer)}}class di{constructor(u,d,y,C){this.id=u,this.element=d,this._renderer=C,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",y)}_listen(u,d){return this._renderer.listen(this.element,`@@${this.id}:${u}`,d)}_command(u,...d){return vr(this._renderer,this.element,this.id,u,d)}onDone(u){this._listen("done",u)}onStart(u){this._listen("start",u)}onDestroy(u){this._listen("destroy",u)}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(u){this._command("setPosition",u)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function vr(b,u,d,y,C){return b.setProperty(u,`@@${d}:${y}`,C)}const qs="@.disabled";let Kn=(()=>{class b{constructor(d,y,C){this.delegate=d,this.engine=y,this._zone=C,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,y.onRemovalComplete=(T,j)=>{const x=j?.parentNode(T);x&&j.removeChild(x,T)}}createRenderer(d,y){const T=this.delegate.createRenderer(d,y);if(!(d&&y&&y.data&&y.data.animation)){let Oe=this._rendererCache.get(T);return Oe||(Oe=new Tn("",T,this.engine,()=>this._rendererCache.delete(T)),this._rendererCache.set(T,Oe)),Oe}const j=y.id,x=y.id+"-"+this._currentId;this._currentId++,this.engine.register(x,d);const J=Oe=>{Array.isArray(Oe)?Oe.forEach(J):this.engine.registerTrigger(j,x,d,Oe.name,Oe)};return y.data.animation.forEach(J),new fi(this,x,T,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(d,y,C){d>=0&&d<this._microtaskId?this._zone.run(()=>y(C)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(T=>{const[j,x]=T;j(x)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([y,C]))}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()}static#e=this.\u0275fac=function(y){return new(y||b)(B.LFG(B.FYo),B.LFG(cr),B.LFG(B.R0b))};static#t=this.\u0275prov=B.Yz7({token:b,factory:b.\u0275fac})}return b})();class Tn{constructor(u,d,y,C){this.namespaceId=u,this.delegate=d,this.engine=y,this._onDestroy=C}get data(){return this.delegate.data}destroyNode(u){this.delegate.destroyNode?.(u)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(u,d){return this.delegate.createElement(u,d)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,d){this.delegate.appendChild(u,d),this.engine.onInsert(this.namespaceId,d,u,!1)}insertBefore(u,d,y,C=!0){this.delegate.insertBefore(u,d,y),this.engine.onInsert(this.namespaceId,d,u,C)}removeChild(u,d,y){this.engine.onRemove(this.namespaceId,d,this.delegate)}selectRootElement(u,d){return this.delegate.selectRootElement(u,d)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,d,y,C){this.delegate.setAttribute(u,d,y,C)}removeAttribute(u,d,y){this.delegate.removeAttribute(u,d,y)}addClass(u,d){this.delegate.addClass(u,d)}removeClass(u,d){this.delegate.removeClass(u,d)}setStyle(u,d,y,C){this.delegate.setStyle(u,d,y,C)}removeStyle(u,d,y){this.delegate.removeStyle(u,d,y)}
1setProperty(u,d,y){"@"==d.charAt(0)&&d==qs?this.disableAnimations(u,!!y):this.delegate.setProperty(u,d,y)}setValue(u,d){this.delegate.setValue(u,d)}listen(u,d,y){return this.delegate.listen(u,d,y)}disableAnimations(u,d){this.engine.disableAnimations(u,d)}}class fi extends Tn{constructor(u,d,y,C,T){super(d,y,C,T),this.factory=u,this.namespaceId=d}setProperty(u,d,y){"@"==d.charAt(0)?"."==d.charAt(1)&&d==qs?this.disableAnimations(u,y=void 0===y||!!y):this.engine.process(this.namespaceId,u,d.slice(1),y):this.delegate.setProperty(u,d,y)}listen(u,d,y){if("@"==d.charAt(0)){const C=function Yr(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(u);let T=d.slice(1),j="";return"@"!=T.charAt(0)&&([T,j]=function Xi(b){const u=b.indexOf(".");return[b.substring(0,u),b.slice(u+1)]}(T)),this.engine.listen(this.namespaceId,C,T,j,x=>{this.factory.scheduleListenerCallback(x._data||-1,y,x)})}return this.delegate.listen(u,d,y)}}const Ms=[{provide:$._j,useClass:dr},{provide:Gi,useFactory:function Kt(){return new Ss}},{provide:cr,useClass:(()=>{class b extends cr{constructor(d,y,C,T){super(d.body,y,C)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(y){return new(y||b)(B.LFG(Z.K0),B.LFG(Fr),B.LFG(Gi),B.LFG(B.z2F))};static#t=this.\u0275prov=B.Yz7({token:b,factory:b.\u0275fac})}return b})()},{provide:B.FYo,useFactory:function Ys(b,u,d){return new Kn(b,u,d)},deps:[m.se,cr,B.R0b]}],wi=[{provide:Fr,useFactory:()=>new ys},{provide:B.QbO,useValue:"BrowserAnimations"},...Ms],bi=[{provide:Fr,useClass:it},{provide:B.QbO,useValue:"NoopAnimations"},...Ms];let Qs=(()=>{class b{static withConfig(d){return{ngModule:b,providers:d.disableAnimations?bi:wi}}static#e=this.\u0275fac=function(y){return new(y||b)};static#t=this.\u0275mod=B.oAB({type:b});static#n=this.\u0275inj=B.cJS({providers:wi,imports:[m.b2]})}return b})();var Zs=A(9862),Is=A(57);const Ts=[{path:":id",loadChildren:()=>A.e(732).then(A.bind(A,732)).then(b=>b.HomeModule)},{path:"",component:A(2629).q}];let As=(()=>{class b{static#e=this.\u0275fac=function(y){return new(y||b)};static#t=this.\u0275mod=B.oAB({type:b});static#n=this.\u0275inj=B.cJS({imports:[Is.Bz.forRoot(Ts,{initialNavigation:"enabledBlocking"}),Is.Bz]})}return b})(),Ji=(()=>{class b{ngOnInit(){}ngAfterViewInit(){}static#e=this.\u0275fac=function(y){return new(y||b)};static#t=this.\u0275cmp=B.Xpm({type:b,selectors:[["app-root"]],decls:1,vars:0,template:function(y,C){1&y&&B._UZ(0,"router-outlet")},dependencies:[Is.lC]})}return b})();var Hr=A(3911);class Fi{http;prefix;suffix;constructor(u,d="/assets/i18n/",y=".json"){this.http=u,this.prefix=d,this.suffix=y}getTranslation(u){return this.http.get(`${this.prefix}${u}${this.suffix}`)}}var Uo=A(1792);function Ps(b){return new Fi(b,"./assets/i18n/",".json")}let es=(()=>{class b{static#e=this.\u0275fac=function(y){return new(y||b)};static#t=this.\u0275mod=B.oAB({type:b,bootstrap:[Ji]});static#n=this.\u0275inj=B.cJS({providers:[Uo.J],imports:[Z.ez,As,m.b2,Qs,Zs.JF,Hr.aw.forRoot({loader:{provide:Hr.Zw,useFactory:Ps,deps:[Zs.eN]}})]})}return b})();m.q6().bootstrapModule(es).catch(b=>console.error(b))},5619:(Qe,ve,A)=>{A.d(ve,{X:()=>Z});var m=A(8645);class Z extends m.x{constructor($){super(),this._value=$}get value(){return this.getValue()}_subscribe($){const ae=super._subscribe($);return!ae.closed&&$.next(this._value),ae}getValue(){const{hasError:$,thrownError:ae,_value:ie}=this;if($)throw ae;return this._throwIfClosed(),ie}next($){super.next(this._value=$)}}},5592:(Qe,ve,A)=>{A.d(ve,{y:()=>ge});var m=A(305),Z=A(7394),B=A(4850),$=A(8407),ae=A(2653),ie=A(4674),ne=A(1441);let ge=(()=>{class pe{constructor(Te){Te&&(this._subscribe=Te)}lift(Te){const Ge=new pe;return Ge.source=this,Ge.operator=Te,Ge}subscribe(Te,Ge,nt){const tt=function se(pe){return pe&&pe instanceof m.Lv||function he(pe){return pe&&(0,ie.m)(pe.next)&&(0,ie.m)(pe.error)&&(0,ie.m)(pe.complete)}(pe)&&(0,Z.Nn)(pe)}(Te)?Te:new m.Hp(Te,Ge,nt);return(0,ne.x)(()=>{const{operator:rt,source:$e}=this;tt.add(rt?rt.call(tt,$e):$e?this._subscribe(tt):this._trySubscribe(tt))}),tt}_trySubscribe(Te){try{return this._subscribe(Te)}catch(Ge){Te.error(Ge)}}forEach(Te,Ge){return new(Ge=ce(Ge))((nt,tt)=>{const rt=new m.Hp({next:$e=>{try{Te($e)}catch(je){tt(je),rt.unsubscribe()}},error:tt,complete:nt});this.subscribe(rt)})}_subscribe(Te){var Ge;return null===(Ge=this.source)||void 0===Ge?void 0:Ge.subscribe(Te)}[B.L](){return this}pipe(...Te){return(0,$.U)(Te)(this)}toPromise(Te){return new(Te=ce(Te))((Ge,nt)=>{let tt;this.subscribe(rt=>tt=rt,rt=>nt(rt),()=>Ge(tt))})}}return pe.create=Pe=>new pe(Pe),pe})();function ce(pe){var Pe;return null!==(Pe=pe??ae.config.Promise)&&void 0!==Pe?Pe:Promise}},8645:(Qe,ve,A)=>{A.d(ve,{x:()=>ne});var m=A(5592),Z=A(7394);const $=(0,A(2306).d)(ce=>function(){ce(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=A(9039),ie=A(1441);let ne=(()=>{class ce extends m.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(se){const pe=new ge(this,this);return pe.operator=se,pe}_throwIfClosed(){if(this.closed)throw new $}next(se){(0,ie.x)(()=>
1{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const pe of this.currentObservers)pe.next(se)}})}error(se){(0,ie.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=se;const{observers:pe}=this;for(;pe.length;)pe.shift().error(se)}})}complete(){(0,ie.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:se}=this;for(;se.length;)se.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var se;return(null===(se=this.observers)||void 0===se?void 0:se.length)>0}_trySubscribe(se){return this._throwIfClosed(),super._trySubscribe(se)}_subscribe(se){return this._throwIfClosed(),this._checkFinalizedStatuses(se),this._innerSubscribe(se)}_innerSubscribe(se){const{hasError:pe,isStopped:Pe,observers:Te}=this;return pe||Pe?Z.Lc:(this.currentObservers=null,Te.push(se),new Z.w0(()=>{this.currentObservers=null,(0,ae.P)(Te,se)}))}_checkFinalizedStatuses(se){const{hasError:pe,thrownError:Pe,isStopped:Te}=this;pe?se.error(Pe):Te&&se.complete()}asObservable(){const se=new m.y;return se.source=this,se}}return ce.create=(he,se)=>new ge(he,se),ce})();class ge extends ne{constructor(he,se){super(),this.destination=he,this.source=se}next(he){var se,pe;null===(pe=null===(se=this.destination)||void 0===se?void 0:se.next)||void 0===pe||pe.call(se,he)}error(he){var se,pe;null===(pe=null===(se=this.destination)||void 0===se?void 0:se.error)||void 0===pe||pe.call(se,he)}complete(){var he,se;null===(se=null===(he=this.destination)||void 0===he?void 0:he.complete)||void 0===se||se.call(he)}_subscribe(he){var se,pe;return null!==(pe=null===(se=this.source)||void 0===se?void 0:se.subscribe(he))&&void 0!==pe?pe:Z.Lc}}},305:(Qe,ve,A)=>{A.d(ve,{Hp:()=>nt,Lv:()=>pe});var m=A(4674),Z=A(7394),B=A(2653),$=A(3894),ae=A(2420);const ie=ce("C",void 0,void 0);function ce(z,me,Re){return{kind:z,value:me,error:Re}}var he=A(7599),se=A(1441);class pe extends Z.w0{constructor(me){super(),this.isStopped=!1,me?(this.destination=me,(0,Z.Nn)(me)&&me.add(this)):this.destination=je}static create(me,Re,We){return new nt(me,Re,We)}next(me){this.isStopped?$e(function ge(z){return ce("N",z,void 0)}(me),this):this._next(me)}error(me){this.isStopped?$e(function ne(z){return ce("E",void 0,z)}(me),this):(this.isStopped=!0,this._error(me))}complete(){this.isStopped?$e(ie,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(me){this.destination.next(me)}_error(me){try{this.destination.error(me)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Pe=Function.prototype.bind;function Te(z,me){return Pe.call(z,me)}class Ge{constructor(me){this.partialObserver=me}next(me){const{partialObserver:Re}=this;if(Re.next)try{Re.next(me)}catch(We){tt(We)}}error(me){const{partialObserver:Re}=this;if(Re.error)try{Re.error(me)}catch(We){tt(We)}else tt(me)}complete(){const{partialObserver:me}=this;if(me.complete)try{me.complete()}catch(Re){tt(Re)}}}class nt extends pe{constructor(me,Re,We){let ue;if(super(),(0,m.m)(me)||!me)ue={next:me??void 0,error:Re??void 0,complete:We??void 0};else{let Ee;this&&B.config.useDeprecatedNextContext?(Ee=Object.create(me),Ee.unsubscribe=()=>this.unsubscribe(),ue={next:me.next&&Te(me.next,Ee),error:me.error&&Te(me.error,Ee),complete:me.complete&&Te(me.complete,Ee)}):ue=me}this.destination=new Ge(ue)}}function tt(z){B.config.useDeprecatedSynchronousErrorHandling?(0,se.O)(z):(0,$.h)(z)}function $e(z,me){const{onStoppedNotification:Re}=B.config;Re&&he.z.setTimeout(()=>Re(z,me))}const je={closed:!0,next:ae.Z,error:function rt(z){throw z},complete:ae.Z}},7394:(Qe,ve,A)=>{A.d(ve,{Lc:()=>ie,w0:()=>ae,Nn:()=>ne});var m=A(4674);const B=(0,A(2306).d)(ce=>function(se){ce(this),this.message=se?`${se.length} errors occurred during unsubscription:\n${se.map((pe,Pe)=>`${Pe+1}) ${pe.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=se});var $=A(9039);class ae{constructor(he){this.initialTeardown=he,this.closed=!1,this._parentage=null,this._finalizers=null}
1unsubscribe(){let he;if(!this.closed){this.closed=!0;const{_parentage:se}=this;if(se)if(this._parentage=null,Array.isArray(se))for(const Te of se)Te.remove(this);else se.remove(this);const{initialTeardown:pe}=this;if((0,m.m)(pe))try{pe()}catch(Te){he=Te instanceof B?Te.errors:[Te]}const{_finalizers:Pe}=this;if(Pe){this._finalizers=null;for(const Te of Pe)try{ge(Te)}catch(Ge){he=he??[],Ge instanceof B?he=[...he,...Ge.errors]:he.push(Ge)}}if(he)throw new B(he)}}add(he){var se;if(he&&he!==this)if(this.closed)ge(he);else{if(he instanceof ae){if(he.closed||he._hasParent(this))return;he._addParent(this)}(this._finalizers=null!==(se=this._finalizers)&&void 0!==se?se:[]).push(he)}}_hasParent(he){const{_parentage:se}=this;return se===he||Array.isArray(se)&&se.includes(he)}_addParent(he){const{_parentage:se}=this;this._parentage=Array.isArray(se)?(se.push(he),se):se?[se,he]:he}_removeParent(he){const{_parentage:se}=this;se===he?this._parentage=null:Array.isArray(se)&&(0,$.P)(se,he)}remove(he){const{_finalizers:se}=this;se&&(0,$.P)(se,he),he instanceof ae&&he._removeParent(this)}}ae.EMPTY=(()=>{const ce=new ae;return ce.closed=!0,ce})();const ie=ae.EMPTY;function ne(ce){return ce instanceof ae||ce&&"closed"in ce&&(0,m.m)(ce.remove)&&(0,m.m)(ce.add)&&(0,m.m)(ce.unsubscribe)}function ge(ce){(0,m.m)(ce)?ce():ce.unsubscribe()}},2653:(Qe,ve,A)=>{A.d(ve,{config:()=>m});const m={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5211:(Qe,ve,A)=>{A.d(ve,{z:()=>ae});var m=A(7537),B=A(4564),$=A(7715);function ae(...ie){return function Z(){return(0,m.J)(1)}()((0,$.D)(ie,(0,B.yG)(ie)))}},4911:(Qe,ve,A)=>{A.d(ve,{P:()=>B});var m=A(5592),Z=A(4829);function B($){return new m.y(ae=>{(0,Z.Xf)($()).subscribe(ae)})}},6232:(Qe,ve,A)=>{A.d(ve,{E:()=>Z});const Z=new(A(5592).y)(ae=>ae.complete())},9315:(Qe,ve,A)=>{A.d(ve,{D:()=>ge});var m=A(5592),Z=A(7453),B=A(4829),$=A(4564),ae=A(8251),ie=A(7400),ne=A(2714);function ge(...ce){const he=(0,$.jO)(ce),{args:se,keys:pe}=(0,Z.D)(ce),Pe=new m.y(Te=>{const{length:Ge}=se;if(!Ge)return void Te.complete();const nt=new Array(Ge);let tt=Ge,rt=Ge;for(let $e=0;$e<Ge;$e++){let je=!1;(0,B.Xf)(se[$e]).subscribe((0,ae.x)(Te,z=>{je||(je=!0,rt--),nt[$e]=z},()=>tt--,void 0,()=>{(!tt||!je)&&(rt||Te.next(pe?(0,ne.n)(pe,nt):nt),Te.complete())}))}});return he?Pe.pipe((0,ie.Z)(he)):Pe}},7715:(Qe,ve,A)=>{A.d(ve,{D:()=>We});var m=A(4829),Z=A(7103),B=A(9360),$=A(8251);function ae(ue,Ee=0){return(0,B.e)((Ze,Xe)=>{Ze.subscribe((0,$.x)(Xe,Ht=>(0,Z.f)(Xe,ue,()=>Xe.next(Ht),Ee),()=>(0,Z.f)(Xe,ue,()=>Xe.complete(),Ee),Ht=>(0,Z.f)(Xe,ue,()=>Xe.error(Ht),Ee)))})}function ie(ue,Ee=0){return(0,B.e)((Ze,Xe)=>{Xe.add(ue.schedule(()=>Ze.subscribe(Xe),Ee))})}var ce=A(5592),se=A(4971),pe=A(4674);function Te(ue,Ee){if(!ue)throw new Error("Iterable cannot be null");return new ce.y(Ze=>{(0,Z.f)(Ze,Ee,()=>{const Xe=ue[Symbol.asyncIterator]();(0,Z.f)(Ze,Ee,()=>{Xe.next().then(Ht=>{Ht.done?Ze.complete():Ze.next(Ht.value)})},0,!0)})})}var Ge=A(8382),nt=A(4026),tt=A(4266),rt=A(3664),$e=A(5726),je=A(9853),z=A(541);function We(ue,Ee){return Ee?function Re(ue,Ee){if(null!=ue){if((0,Ge.c)(ue))return function ne(ue,Ee){return(0,m.Xf)(ue).pipe(ie(Ee),ae(Ee))}(ue,Ee);if((0,tt.z)(ue))return function he(ue,Ee){return new ce.y(Ze=>{let Xe=0;return Ee.schedule(function(){Xe===ue.length?Ze.complete():(Ze.next(ue[Xe++]),Ze.closed||this.schedule())})})}(ue,Ee);if((0,nt.t)(ue))return function ge(ue,Ee){return(0,m.Xf)(ue).pipe(ie(Ee),ae(Ee))}(ue,Ee);if((0,$e.D)(ue))return Te(ue,Ee);if((0,rt.T)(ue))return function Pe(ue,Ee){return new ce.y(Ze=>{let Xe;return(0,Z.f)(Ze,Ee,()=>{Xe=ue[se.h](),(0,Z.f)(Ze,Ee,()=>{let Ht,Me;try{({value:Ht,done:Me}=Xe.next())}catch(pt){return void Ze.error(pt)}Me?Ze.complete():Ze.next(Ht)},0,!0)}),()=>(0,pe.m)(Xe?.return)&&Xe.return()})}(ue,Ee);if((0,z.L)(ue))return function me(ue,Ee){return Te((0,z.Q)(ue),Ee)}(ue,Ee)}throw(0,je.z)(ue)}(ue,Ee):(0,m.Xf)(ue)}},4829:(Qe,ve,A)=>{A.d(ve,{Xf:()=>Pe});var m=A(7582),Z=A(4266),B=A(4026),$=A(5592),ae=A(8382),ie=A(5726),ne=A(9853),ge=A(3664),ce=A(541),he=A(4674),se=A(3894),pe=A(4850);function Pe(z){if(z instanceof $.y)return z;if(null!=z){if((0,ae.c)(z))return function Te(z){return new $.y(me=>{const Re=z[pe.L]();if((0,he.m)(Re.subscribe))return Re.subscribe(me);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(z);
1if((0,Z.z)(z))return function Ge(z){return new $.y(me=>{for(let Re=0;Re<z.length&&!me.closed;Re++)me.next(z[Re]);me.complete()})}(z);if((0,B.t)(z))return function nt(z){return new $.y(me=>{z.then(Re=>{me.closed||(me.next(Re),me.complete())},Re=>me.error(Re)).then(null,se.h)})}(z);if((0,ie.D)(z))return rt(z);if((0,ge.T)(z))return function tt(z){return new $.y(me=>{for(const Re of z)if(me.next(Re),me.closed)return;me.complete()})}(z);if((0,ce.L)(z))return function $e(z){return rt((0,ce.Q)(z))}(z)}throw(0,ne.z)(z)}function rt(z){return new $.y(me=>{(function je(z,me){var Re,We,ue,Ee;return(0,m.mG)(this,void 0,void 0,function*(){try{for(Re=(0,m.KL)(z);!(We=yield Re.next()).done;)if(me.next(We.value),me.closed)return}catch(Ze){ue={error:Ze}}finally{try{We&&!We.done&&(Ee=Re.return)&&(yield Ee.call(Re))}finally{if(ue)throw ue.error}}me.complete()})})(z,me).catch(Re=>me.error(Re))})}},2096:(Qe,ve,A)=>{A.d(ve,{of:()=>B});var m=A(4564),Z=A(7715);function B(...$){const ae=(0,m.yG)($);return(0,Z.D)($,ae)}},8251:(Qe,ve,A)=>{A.d(ve,{x:()=>Z});var m=A(305);function Z($,ae,ie,ne,ge){return new B($,ae,ie,ne,ge)}class B extends m.Lv{constructor(ae,ie,ne,ge,ce,he){super(ae),this.onFinalize=ce,this.shouldUnsubscribe=he,this._next=ie?function(se){try{ie(se)}catch(pe){ae.error(pe)}}:super._next,this._error=ge?function(se){try{ge(se)}catch(pe){ae.error(pe)}finally{this.unsubscribe()}}:super._error,this._complete=ne?function(){try{ne()}catch(se){ae.error(se)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ae;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ie}=this;super.unsubscribe(),!ie&&(null===(ae=this.onFinalize)||void 0===ae||ae.call(this))}}}},6328:(Qe,ve,A)=>{A.d(ve,{b:()=>B});var m=A(1631),Z=A(4674);function B($,ae){return(0,Z.m)(ae)?(0,m.z)($,ae,1):(0,m.z)($,1)}},2181:(Qe,ve,A)=>{A.d(ve,{h:()=>B});var m=A(9360),Z=A(8251);function B($,ae){return(0,m.e)((ie,ne)=>{let ge=0;ie.subscribe((0,Z.x)(ne,ce=>$.call(ae,ce,ge++)&&ne.next(ce)))})}},4716:(Qe,ve,A)=>{A.d(ve,{x:()=>Z});var m=A(9360);function Z(B){return(0,m.e)(($,ae)=>{try{$.subscribe(ae)}finally{ae.add(B)}})}},7398:(Qe,ve,A)=>{A.d(ve,{U:()=>B});var m=A(9360),Z=A(8251);function B($,ae){return(0,m.e)((ie,ne)=>{let ge=0;ie.subscribe((0,Z.x)(ne,ce=>{ne.next($.call(ae,ce,ge++))}))})}},7537:(Qe,ve,A)=>{A.d(ve,{J:()=>B});var m=A(1631),Z=A(2737);function B($=1/0){return(0,m.z)(Z.y,$)}},1631:(Qe,ve,A)=>{A.d(ve,{z:()=>ge});var m=A(7398),Z=A(4829),B=A(9360),$=A(7103),ae=A(8251),ne=A(4674);
1function ge(ce,he,se=1/0){return(0,ne.m)(he)?ge((pe,Pe)=>(0,m.U)((Te,Ge)=>he(pe,Te,Pe,Ge))((0,Z.Xf)(ce(pe,Pe))),se):("number"==typeof he&&(se=he),(0,B.e)((pe,Pe)=>function ie(ce,he,se,pe,Pe,Te,Ge,nt){const tt=[];let rt=0,$e=0,je=!1;const z=()=>{je&&!tt.length&&!rt&&he.complete()},me=We=>rt<pe?Re(We):tt.push(We),Re=We=>{Te&&he.next(We),rt++;let ue=!1;(0,Z.Xf)(se(We,$e++)).subscribe((0,ae.x)(he,Ee=>{Pe?.(Ee),Te?me(Ee):he.next(Ee)},()=>{ue=!0},void 0,()=>{if(ue)try{for(rt--;tt.length&&rt<pe;){const Ee=tt.shift();Ge?(0,$.f)(he,Ge,()=>Re(Ee)):Re(Ee)}z()}catch(Ee){he.error(Ee)}}))};return ce.subscribe((0,ae.x)(he,me,()=>{je=!0,z()})),()=>{nt?.()}}(pe,Pe,ce,se)))}},3020:(Qe,ve,A)=>{A.d(ve,{B:()=>ae});var m=A(4829),Z=A(8645),B=A(305),$=A(9360);function ae(ne={}){const{connector:ge=(()=>new Z.x),resetOnError:ce=!0,resetOnComplete:he=!0,resetOnRefCountZero:se=!0}=ne;return pe=>{let Pe,Te,Ge,nt=0,tt=!1,rt=!1;const $e=()=>{Te?.unsubscribe(),Te=void 0},je=()=>{$e(),Pe=Ge=void 0,tt=rt=!1},z=()=>{const me=Pe;je(),me?.unsubscribe()};return(0,$.e)((me,Re)=>{nt++,!rt&&!tt&&$e();const We=Ge=Ge??ge();Re.add(()=>{nt--,0===nt&&!rt&&!tt&&(Te=ie(z,se))}),We.subscribe(Re),!Pe&&nt>0&&(Pe=new B.Hp({next:ue=>We.next(ue),error:ue=>{rt=!0,$e(),Te=ie(je,ce,ue),We.error(ue)},complete:()=>{tt=!0,$e(),Te=ie(je,he),We.complete()}}),(0,m.Xf)(me).subscribe(Pe))})(pe)}}function ie(ne,ge,...ce){if(!0===ge)return void ne();if(!1===ge)return;const he=new B.Hp({next:()=>{he.unsubscribe(),ne()}});return(0,m.Xf)(ge(...ce)).subscribe(he)}},4664:(Qe,ve,A)=>{A.d(ve,{w:()=>$});var m=A(4829),Z=A(9360),B=A(8251);function $(ae,ie){return(0,Z.e)((ne,ge)=>{let ce=null,he=0,se=!1;const pe=()=>se&&!ce&&ge.complete();ne.subscribe((0,B.x)(ge,Pe=>{ce?.unsubscribe();let Te=0;const Ge=he++;(0,m.Xf)(ae(Pe,Ge)).subscribe(ce=(0,B.x)(ge,nt=>ge.next(ie?ie(Pe,nt,Ge,Te++):nt),()=>{ce=null,pe()}))},()=>{se=!0,pe()}))})}},8180:(Qe,ve,A)=>{A.d(ve,{q:()=>$});var m=A(6232),Z=A(9360),B=A(8251);function $(ae){return ae<=0?()=>m.E:(0,Z.e)((ie,ne)=>{let ge=0;ie.subscribe((0,B.x)(ne,ce=>{++ge<=ae&&(ne.next(ce),ae<=ge&&ne.complete())}))})}},7599:(Qe,ve,A)=>{A.d(ve,{z:()=>m});const m={setTimeout(Z,B,...$){const{delegate:ae}=m;return ae?.setTimeout?ae.setTimeout(Z,B,...$):setTimeout(Z,B,...$)},clearTimeout(Z){const{delegate:B}=m;return(B?.clearTimeout||clearTimeout)(Z)},delegate:void 0}},4971:(Qe,ve,A)=>{A.d(ve,{h:()=>Z});const Z=function m(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Qe,ve,A)=>{A.d(ve,{L:()=>m});const m="function"==typeof Symbol&&Symbol.observable||"@@observable"},4564:(Qe,ve,A)=>{A.d(ve,{_6:()=>ie,jO:()=>$,yG:()=>ae});var m=A(4674);function B(ne){return ne[ne.length-1]}function $(ne){return(0,m.m)(B(ne))?ne.pop():void 0}function ae(ne){return function Z(ne){return ne&&(0,m.m)(ne.schedule)}(B(ne))?ne.pop():void 0}function ie(ne,ge){return"number"==typeof B(ne)?ne.pop():ge}},7453:(Qe,ve,A)=>{A.d(ve,{D:()=>ae});const{isArray:m}=Array,{getPrototypeOf:Z,prototype:B,keys:$}=Object;function ae(ne){if(1===ne.length){const ge=ne[0];if(m(ge))return{args:ge,keys:null};if(function ie(ne){return ne&&"object"==typeof ne&&Z(ne)===B}(ge)){const ce=$(ge);return{args:ce.map(he=>ge[he]),keys:ce}}}return{args:ne,keys:null}}},9039:(Qe,ve,A)=>{function m(Z,B){if(Z){const $=Z.indexOf(B);0<=$&&Z.splice($,1)}}A.d(ve,{P:()=>m})},2306:(Qe,ve,A)=>{function m(Z){const $=Z(ae=>{Error.call(ae),ae.stack=(new Error).stack});return $.prototype=Object.create(Error.prototype),$.prototype.constructor=$,$}A.d(ve,{d:()=>m})},2714:(Qe,ve,A)=>{function m(Z,B){return Z.reduce(($,ae,ie)=>($[ae]=B[ie],$),{})}A.d(ve,{n:()=>m})},1441:(Qe,ve,A)=>{A.d(ve,{O:()=>$,x:()=>B});var m=A(2653);let Z=null;function B(ae){if(m.config.useDeprecatedSynchronousErrorHandling){const ie=!Z;if(ie&&(Z={errorThrown:!1,error:null}),ae(),ie){const{errorThrown:ne,error:ge}=Z;if(Z=null,ne)throw ge}}else ae()}function $(ae){m.config.useDeprecatedSynchronousErrorHandling&&Z&&(Z.errorThrown=!0,Z.error=ae)}},7103:(Qe,ve,A)=>{function m(Z,B,$,ae=0,ie=!1){const ne=B.schedule(function(){$(),ie?Z.add(this.schedule(null,ae)):this.unsubscribe()},ae);if(Z.add(ne),!ie)return ne}A.d(ve,{f:()=>m})},2737:(Qe,ve,A)=>{function m(Z){return Z}A.d(ve,{y:()=>m})},4266:(Qe,ve,A)=>{A.d(ve,{z:()=>m});const m=Z=>Z&&"number"==typeof Z.length&&"function"!=typeof Z},5726:(Qe,ve,A)=>{A.d(ve,{D:()=>Z});var m=A(4674);function Z(B){return Symbol.asyncIterator&&(0,m.m)(B?.[Symbol.asyncIterator])}},4674:(Qe,ve,A)=>{function m(Z){return"function"==typeof Z}A.d(ve,{m:()=>m})},8382:(Qe,ve,A)=>{A.d(ve,{c:()=>B});var m=A(4850),Z=A(4674);function B($){return(0,Z.m)($[m.L])}},3664:(Qe,ve,A)=>{A.d(ve,{T:()=>B});var m=A(4971),Z=A(4674);function B($){return(0,Z.m)($?.[m.h])}},2664:(Qe,ve,A)=>{A.d(ve,{b:()=>B});var m=A(5592),Z=A(4674);
1function B($){return!!$&&($ instanceof m.y||(0,Z.m)($.lift)&&(0,Z.m)($.subscribe))}},4026:(Qe,ve,A)=>{A.d(ve,{t:()=>Z});var m=A(4674);function Z(B){return(0,m.m)(B?.then)}},541:(Qe,ve,A)=>{A.d(ve,{L:()=>$,Q:()=>B});var m=A(7582),Z=A(4674);function B(ae){return(0,m.FC)(this,arguments,function*(){const ne=ae.getReader();try{for(;;){const{value:ge,done:ce}=yield(0,m.qq)(ne.read());if(ce)return yield(0,m.qq)(void 0);yield yield(0,m.qq)(ge)}}finally{ne.releaseLock()}})}function $(ae){return(0,Z.m)(ae?.getReader)}},9360:(Qe,ve,A)=>{A.d(ve,{A:()=>Z,e:()=>B});var m=A(4674);function Z($){return(0,m.m)($?.lift)}function B($){return ae=>{if(Z(ae))return ae.lift(function(ie){try{return $(ie,this)}catch(ne){this.error(ne)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Qe,ve,A)=>{A.d(ve,{Z:()=>$});var m=A(7398);const{isArray:Z}=Array;function $(ae){return(0,m.U)(ie=>function B(ae,ie){return Z(ie)?ae(...ie):ae(ie)}(ae,ie))}},2420:(Qe,ve,A)=>{function m(){}A.d(ve,{Z:()=>m})},8407:(Qe,ve,A)=>{A.d(ve,{U:()=>B,z:()=>Z});var m=A(2737);function Z(...$){return B($)}function B($){return 0===$.length?m.y:1===$.length?$[0]:function(ie){return $.reduce((ne,ge)=>ge(ne),ie)}}},3894:(Qe,ve,A)=>{A.d(ve,{h:()=>B});var m=A(2653),Z=A(7599);function B($){Z.z.setTimeout(()=>{const{onUnhandledError:ae}=m.config;if(!ae)throw $;ae($)})}},9853:(Qe,ve,A)=>{function m(Z){return new TypeError(`You provided ${null!==Z&&"object"==typeof Z?"an invalid object":`'${Z}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}A.d(ve,{z:()=>m})},6825:(Qe,ve,A)=>{A.d(ve,{LC:()=>Z,SB:()=>ce,X$:()=>$,ZE:()=>rt,ZN:()=>tt,_7:()=>Te,_j:()=>m,eR:()=>se,jt:()=>ae,k1:()=>$e,l3:()=>B,oB:()=>ge,oQ:()=>pe,vP:()=>ne});class m{}class Z{}const B="*";function $(je,z){return{type:7,name:je,definitions:z,options:{}}}function ae(je,z=null){return{type:4,styles:z,timings:je}}function ne(je,z=null){return{type:2,steps:je,options:z}}function ge(je){return{type:6,styles:je,offset:null}}function ce(je,z,me){return{type:0,name:je,styles:z,options:me}}function se(je,z,me=null){return{type:1,expr:je,animation:z,options:me}}function pe(je,z=null){return{type:8,animation:je,options:z}}function Te(je,z=null){return{type:10,animation:je,options:z}}class tt{constructor(z=0,me=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=z+me}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}onStart(z){this._originalOnStartFns.push(z),this._onStartFns.push(z)}onDone(z){this._originalOnDoneFns.push(z),this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(z=>z()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(z=>z()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(z){this._position=this.totalTime?z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(z){const me="start"==z?this._onStartFns:this._onDoneFns;me.forEach(Re=>Re()),me.length=0}}class rt{constructor(z){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=z;let me=0,Re=0,We=0;const ue=this.players.length;0==ue?queueMicrotask(()=>this._onFinish()):this.players.forEach(Ee=>{Ee.onDone(()=>{++me==ue&&this._onFinish()}),Ee.onDestroy(()=>{++Re==ue&&this._onDestroy()}),Ee.onStart(()=>{++We==ue&&this._onStart()})}),this.totalTime=this.players.reduce((Ee,Ze)=>Math.max(Ee,Ze.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}
1init(){this.players.forEach(z=>z.init())}onStart(z){this._onStartFns.push(z)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(z=>z()),this._onStartFns=[])}onDone(z){this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(z=>z.play())}pause(){this.players.forEach(z=>z.pause())}restart(){this.players.forEach(z=>z.restart())}finish(){this._onFinish(),this.players.forEach(z=>z.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(z=>z.destroy()),this._onDestroyFns.forEach(z=>z()),this._onDestroyFns=[])}reset(){this.players.forEach(z=>z.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(z){const me=z*this.totalTime;this.players.forEach(Re=>{const We=Re.totalTime?Math.min(1,me/Re.totalTime):1;Re.setPosition(We)})}getPosition(){const z=this.players.reduce((me,Re)=>null===me||Re.totalTime>me.totalTime?Re:me,null);return null!=z?z.getPosition():0}beforeDestroy(){this.players.forEach(z=>{z.beforeDestroy&&z.beforeDestroy()})}triggerCallback(z){const me="start"==z?this._onStartFns:this._onDoneFns;me.forEach(Re=>Re()),me.length=0}}const $e="!"},6814:(Qe,ve,A)=>{A.d(ve,{Do:()=>nt,EM:()=>tn,HT:()=>$,JF:()=>li,JJ:()=>gn,K0:()=>ie,Mx:()=>kn,NF:()=>Vt,O5:()=>Gn,OU:()=>Yi,PC:()=>si,PM:()=>Hn,S$:()=>Pe,V_:()=>ge,Ye:()=>tt,b0:()=>Ge,bD:()=>Qi,ez:()=>ps,mk:()=>Tt,q:()=>B,sg:()=>Jn,tP:()=>nr,w_:()=>ae});var m=A(9291);let Z=null;function B(){return Z}function $(f){Z||(Z=f)}class ae{}const ie=new m.OlP("DocumentToken");let ne=(()=>{class f{historyGo(v){throw new Error("Not implemented")}static#e=this.\u0275fac=function(_){return new(_||f)};static#t=this.\u0275prov=m.Yz7({token:f,factory:function(){return(0,m.f3M)(ce)},providedIn:"platform"})}return f})();const ge=new m.OlP("Location Initialized");let ce=(()=>{class f extends ne{constructor(){super(),this._doc=(0,m.f3M)(ie),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return B().getBaseHref(this._doc)}onPopState(v){const _=B().getGlobalEventTarget(this._doc,"window");return _.addEventListener("popstate",v,!1),()=>_.removeEventListener("popstate",v)}onHashChange(v){const _=B().getGlobalEventTarget(this._doc,"window");return _.addEventListener("hashchange",v,!1),()=>_.removeEventListener("hashchange",v)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(v){this._location.pathname=v}pushState(v,_,P){this._history.pushState(v,_,P)}replaceState(v,_,P){this._history.replaceState(v,_,P)}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}static#e=this.\u0275fac=function(_){return new(_||f)};static#t=this.\u0275prov=m.Yz7({token:f,factory:function(){return new f},providedIn:"platform"})}return f})();function he(f,w){if(0==f.length)return w;if(0==w.length)return f;let v=0;return f.endsWith("/")&&v++,w.startsWith("/")&&v++,2==v?f+w.substring(1):1==v?f+w:f+"/"+w}function se(f){const w=f.match(/#|\?|$/),v=w&&w.index||f.length;return f.slice(0,v-("/"===f[v-1]?1:0))+f.slice(v)}function pe(f){return f&&"?"!==f[0]?"?"+f:f}let Pe=(()=>{class f{historyGo(v){throw new Error("Not implemented")}static#e=this.\u0275fac=function(_){return new(_||f)};static#t=this.\u0275prov=m.Yz7({token:f,factory:function(){return(0,m.f3M)(Ge)},providedIn:"root"})}return f})();const Te=new m.OlP("appBaseHref");let Ge=(()=>{class f extends Pe{constructor(v,_){super(),this._platformLocation=v,this._removeListenerFns=[],this._baseHref=_??this._platformLocation.getBaseHrefFromDOM()??(0,m.f3M)(ie).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.on
1HashChange(v))}getBaseHref(){return this._baseHref}prepareExternalUrl(v){return he(this._baseHref,v)}path(v=!1){const _=this._platformLocation.pathname+pe(this._platformLocation.search),P=this._platformLocation.hash;return P&&v?`${_}${P}`:_}pushState(v,_,P,V){const re=this.prepareExternalUrl(P+pe(V));this._platformLocation.pushState(v,_,re)}replaceState(v,_,P,V){const re=this.prepareExternalUrl(P+pe(V));this._platformLocation.replaceState(v,_,re)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static#e=this.\u0275fac=function(_){return new(_||f)(m.LFG(ne),m.LFG(Te,8))};static#t=this.\u0275prov=m.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),nt=(()=>{class f extends Pe{constructor(v,_){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=_&&(this._baseHref=_)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}path(v=!1){let _=this._platformLocation.hash;return null==_&&(_="#"),_.length>0?_.substring(1):_}prepareExternalUrl(v){const _=he(this._baseHref,v);return _.length>0?"#"+_:_}pushState(v,_,P,V){let re=this.prepareExternalUrl(P+pe(V));0==re.length&&(re=this._platformLocation.pathname),this._platformLocation.pushState(v,_,re)}replaceState(v,_,P,V){let re=this.prepareExternalUrl(P+pe(V));0==re.length&&(re=this._platformLocation.pathname),this._platformLocation.replaceState(v,_,re)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static#e=this.\u0275fac=function(_){return new(_||f)(m.LFG(ne),m.LFG(Te,8))};static#t=this.\u0275prov=m.Yz7({token:f,factory:f.\u0275fac})}return f})(),tt=(()=>{class f{constructor(v){this._subject=new m.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=v;const _=this._locationStrategy.getBaseHref();this._basePath=function z(f){if(new RegExp("^(https?:)?//").test(f)){const[,v]=f.split(/\/\/[^\/]+/);return v}return f}(se(je(_))),this._locationStrategy.onPopState(P=>{this._subject.emit({url:this.path(!0),pop:!0,state:P.state,type:P.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(v=!1){return this.normalize(this._locationStrategy.path(v))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(v,_=""){return this.path()==this.normalize(v+pe(_))}normalize(v){return f.stripTrailingSlash(function $e(f,w){if(!f||!w.startsWith(f))return w;const v=w.substring(f.length);return""===v||["/",";","?","#"].includes(v[0])?v:w}(this._basePath,je(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._locationStrategy.prepareExternalUrl(v)}go(v,_="",P=null){this._locationStrategy.pushState(P,"",v,_),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+pe(_)),P)}replaceState(v,_="",P=null){this._locationStrategy.replaceState(P,"",v,_),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+pe(_)),P)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(v=0){this._locationStrategy.historyGo?.(v)}onUrlChange(v){return this._urlChangeListeners.push(v),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(_=>{this._notifyUrlChangeListeners(_.url,_.state)})),()=>{const _=this._urlChangeListeners.indexOf(v);this._urlChangeListeners.splice(_,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}
1_notifyUrlChangeListeners(v="",_){this._urlChangeListeners.forEach(P=>P(v,_))}subscribe(v,_,P){return this._subject.subscribe({next:v,error:_,complete:P})}static#e=this.normalizeQueryParams=pe;static#t=this.joinWithSlash=he;static#n=this.stripTrailingSlash=se;static#r=this.\u0275fac=function(_){return new(_||f)(m.LFG(Pe))};static#i=this.\u0275prov=m.Yz7({token:f,factory:function(){return function rt(){return new tt((0,m.LFG)(Pe))}()},providedIn:"root"})}return f})();function je(f){return f.replace(/\/index.html$/,"")}var Re=function(f){return f[f.Decimal=0]="Decimal",f[f.Percent=1]="Percent",f[f.Currency=2]="Currency",f[f.Scientific=3]="Scientific",f}(Re||{}),Xe=function(f){return f[f.Decimal=0]="Decimal",f[f.Group=1]="Group",f[f.List=2]="List",f[f.PercentSign=3]="PercentSign",f[f.PlusSign=4]="PlusSign",f[f.MinusSign=5]="MinusSign",f[f.Exponential=6]="Exponential",f[f.SuperscriptingExponent=7]="SuperscriptingExponent",f[f.PerMille=8]="PerMille",f[f.Infinity=9]="Infinity",f[f.NaN=10]="NaN",f[f.TimeSeparator=11]="TimeSeparator",f[f.CurrencyDecimal=12]="CurrencyDecimal",f[f.CurrencyGroup=13]="CurrencyGroup",f}(Xe||{});function F(f,w){const v=(0,m.cg1)(f),_=v[m.wAp.NumberSymbols][w];if(typeof _>"u"){if(w===Xe.CurrencyDecimal)return v[m.wAp.NumberSymbols][Xe.Decimal];if(w===Xe.CurrencyGroup)return v[m.wAp.NumberSymbols][Xe.Group]}return _}const G=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ot(f){const w=parseInt(f);if(isNaN(w))throw new Error("Invalid integer literal when parsing "+f);return w}function kn(f,w){w=encodeURIComponent(w);for(const v of f.split(";")){const _=v.indexOf("="),[P,V]=-1==_?[v,""]:[v.slice(0,_),v.slice(_+1)];if(P.trim()===w)return decodeURIComponent(V)}return null}const jn=/\s+/,_t=[];let Tt=(()=>{class f{constructor(v,_,P,V){this._iterableDiffers=v,this._keyValueDiffers=_,this._ngEl=P,this._renderer=V,this.initialClasses=_t,this.stateMap=new Map}set klass(v){this.initialClasses=null!=v?v.trim().split(jn):_t}set ngClass(v){this.rawClass="string"==typeof v?v.trim().split(jn):v}ngDoCheck(){for(const _ of this.initialClasses)this._updateState(_,!0);const v=this.rawClass;if(Array.isArray(v)||v instanceof Set)for(const _ of v)this._updateState(_,!0);else if(null!=v)for(const _ of Object.keys(v))this._updateState(_,!!v[_]);this._applyStateDiff()}_updateState(v,_){const P=this.stateMap.get(v);void 0!==P?(P.enabled!==_&&(P.changed=!0,P.enabled=_),P.touched=!0):this.stateMap.set(v,{enabled:_,changed:!0,touched:!0})}_applyStateDiff(){for(const v of this.stateMap){const _=v[0],P=v[1];P.changed?(this._toggleClass(_,P.enabled),P.changed=!1):P.touched||(P.enabled&&this._toggleClass(_,!1),this.stateMap.delete(_)),P.touched=!1}}_toggleClass(v,_){(v=v.trim()).length>0&&v.split(jn).forEach(P=>{_?this._renderer.addClass(this._ngEl.nativeElement,P):this._renderer.removeClass(this._ngEl.nativeElement,P)})}static#e=this.\u0275fac=function(_){return new(_||f)(m.Y36(m.ZZ4),m.Y36(m.aQg),m.Y36(m.SBq),m.Y36(m.Qsj))};static#t=this.\u0275dir=m.lG2({type:f,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return f})();class mn{constructor(w,v,_,P){this.$implicit=w,this.ngForOf=v,this.index=_,this.count=P}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 Jn=(()=>{class f{set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}constructor(v,_,P){this._viewContainer=v,this._template=_,this._differs=P,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(v){v&&(this._template=v)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const v=this._ngForOf;!this._differ&&v&&(this._differ=this._differs.find(v).create(this.ngForTrackBy))}if(this._differ){const v=this._differ.diff(this._ngForOf);v&&this._applyChanges(v)}}_applyChanges(v){const _=this._viewContainer;v.forEachOperation((P,V,re)=>{if(null==P.previousIndex)_.createEmbeddedView(this._template,new mn(P.item,this._ngForOf,-1,-1),null===re?void 0:re);else if(null==re)_.remove(null===V?void 0:V);else if(null!==V){const xe=_.get(V);_.move(xe,re),ti(xe,P)}});for(let P=0,V=_.length;P<V;P++){const xe=_.get(P).context;xe.index=P,xe.count=V,xe.ngForOf=this._ngForOf}v.forEachIdentityChange(P=>{ti(_.get(P.currentIndex),P)}
1)}static ngTemplateContextGuard(v,_){return!0}static#e=this.\u0275fac=function(_){return new(_||f)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(m.ZZ4))};static#t=this.\u0275dir=m.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return f})();function ti(f,w){f.context.$implicit=w.item}let Gn=(()=>{class f{constructor(v,_){this._viewContainer=v,this._context=new ni,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=_}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){Ir("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){Ir("ngIfElse",v),this._elseTemplateRef=v,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(v,_){return!0}static#e=this.\u0275fac=function(_){return new(_||f)(m.Y36(m.s_b),m.Y36(m.Rgc))};static#t=this.\u0275dir=m.lG2({type:f,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return f})();class ni{constructor(){this.$implicit=null,this.ngIf=null}}function Ir(f,w){if(w&&!w.createEmbeddedView)throw new Error(`${f} must be a TemplateRef, but received '${(0,m.AaK)(w)}'.`)}let si=(()=>{class f{constructor(v,_,P){this._ngEl=v,this._differs=_,this._renderer=P,this._ngStyle=null,this._differ=null}set ngStyle(v){this._ngStyle=v,!this._differ&&v&&(this._differ=this._differs.find(v).create())}ngDoCheck(){if(this._differ){const v=this._differ.diff(this._ngStyle);v&&this._applyChanges(v)}}_setStyle(v,_){const[P,V]=v.split("."),re=-1===P.indexOf("-")?void 0:m.JOm.DashCase;null!=_?this._renderer.setStyle(this._ngEl.nativeElement,P,V?`${_}${V}`:_,re):this._renderer.removeStyle(this._ngEl.nativeElement,P,re)}_applyChanges(v){v.forEachRemovedItem(_=>this._setStyle(_.key,null)),v.forEachAddedItem(_=>this._setStyle(_.key,_.currentValue)),v.forEachChangedItem(_=>this._setStyle(_.key,_.currentValue))}static#e=this.\u0275fac=function(_){return new(_||f)(m.Y36(m.SBq),m.Y36(m.aQg),m.Y36(m.Qsj))};static#t=this.\u0275dir=m.lG2({type:f,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return f})(),nr=(()=>{class f{constructor(v){this._viewContainerRef=v,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(v){if(v.ngTemplateOutlet||v.ngTemplateOutletInjector){const _=this._viewContainerRef;if(this._viewRef&&_.remove(_.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:P,ngTemplateOutletContext:V,ngTemplateOutletInjector:re}=this;this._viewRef=_.createEmbeddedView(P,V,re?{injector:re}:void 0)}else this._viewRef=null}else this._viewRef&&v.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(_){return new(_||f)(m.Y36(m.s_b))};static#t=this.\u0275dir=m.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[m.TTD]})}return f})();function Ut(f,w){return new m.vHH(2100,!1)}let gn=(()=>{class f{constructor(v){this._locale=v}transform(v,_,P){if(!function _n(f){return!(null==f||""===f||f!=f)}(v))return null;P=P||this._locale;try{return function De(f,w,v){return function Q(f,w,v,_,P,V,re=!1){let xe="",Pt=!1;if(isFinite(f)){let yt=function _e(f){let _,P,V,re,xe,w=Math.abs(f)+"",v=0;for((P=w.indexOf("."))>-1&&(w=w.replace(".","")),(V=w.search(/e/i))>0?(P<0&&(P=V),P+=+w.slice(V+1),w=w.substring(0,V)):P<0&&(P=w.length),V=0;"0"===w.charAt(V);V++);if(V===(xe=w.length))_=[0],P=1;
1else{for(xe--;"0"===w.charAt(xe);)xe--;for(P-=V,_=[],re=0;V<=xe;V++,re++)_[re]=Number(w.charAt(V))}return P>22&&(_=_.splice(0,21),v=P-1,P=1),{digits:_,exponent:v,integerLen:P}}(f);re&&(yt=function ke(f){if(0===f.digits[0])return f;const w=f.digits.length-f.integerLen;return f.exponent?f.exponent+=2:(0===w?f.digits.push(0,0):1===w&&f.digits.push(0),f.integerLen+=2),f}(yt));let Ct=w.minInt,ze=w.minFrac,Qt=w.maxFrac;if(V){const qn=V.match(G);if(null===qn)throw new Error(`${V} is not a valid digit info`);const hi=qn[1],Xr=qn[3],Si=qn[5];null!=hi&&(Ct=ot(hi)),null!=Xr&&(ze=ot(Xr)),null!=Si?Qt=ot(Si):null!=Xr&&ze>Qt&&(Qt=ze)}!function Wt(f,w,v){if(w>v)throw new Error(`The minimum number of digits after fraction (${w}) is higher than the maximum (${v}).`);let _=f.digits,P=_.length-f.integerLen;const V=Math.min(Math.max(w,P),v);let re=V+f.integerLen,xe=_[re];if(re>0){_.splice(Math.max(f.integerLen,re));for(let ze=re;ze<_.length;ze++)_[ze]=0}else{P=Math.max(0,P),f.integerLen=1,_.length=Math.max(1,re=V+1),_[0]=0;for(let ze=1;ze<re;ze++)_[ze]=0}if(xe>=5)if(re-1<0){for(let ze=0;ze>re;ze--)_.unshift(0),f.integerLen++;_.unshift(1),f.integerLen++}else _[re-1]++;for(;P<Math.max(0,V);P++)_.push(0);let Pt=0!==V;const yt=w+f.integerLen,Ct=_.reduceRight(function(ze,Qt,qt,Ft){return Ft[qt]=(Qt+=ze)<10?Qt:Qt-10,Pt&&(0===Ft[qt]&&qt>=yt?Ft.pop():Pt=!1),Qt>=10?1:0},0);Ct&&(_.unshift(Ct),f.integerLen++)}(yt,ze,Qt);let qt=yt.digits,Ft=yt.integerLen;const zn=yt.exponent;let on=[];for(Pt=qt.every(qn=>!qn);Ft<Ct;Ft++)qt.unshift(0);for(;Ft<0;Ft++)qt.unshift(0);Ft>0?on=qt.splice(Ft,qt.length):(on=qt,qt=[0]);const rr=[];for(qt.length>=w.lgSize&&rr.unshift(qt.splice(-w.lgSize,qt.length).join(""));qt.length>w.gSize;)rr.unshift(qt.splice(-w.gSize,qt.length).join(""));qt.length&&rr.unshift(qt.join("")),xe=rr.join(F(v,_)),on.length&&(xe+=F(v,P)+on.join("")),zn&&(xe+=F(v,Xe.Exponential)+"+"+zn)}else xe=F(v,Xe.Infinity);return xe=f<0&&!Pt?w.negPre+xe+w.negSuf:w.posPre+xe+w.posSuf,xe}(f,function be(f,w="-"){const v={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},_=f.split(";"),P=_[0],V=_[1],re=-1!==P.indexOf(".")?P.split("."):[P.substring(0,P.lastIndexOf("0")+1),P.substring(P.lastIndexOf("0")+1)],xe=re[0],Pt=re[1]||"";v.posPre=xe.substring(0,xe.indexOf("#"));for(let Ct=0;Ct<Pt.length;Ct++){const ze=Pt.charAt(Ct);"0"===ze?v.minFrac=v.maxFrac=Ct+1:"#"===ze?v.maxFrac=Ct+1:v.posSuf+=ze}const yt=xe.split(",");if(v.gSize=yt[1]?yt[1].length:0,v.lgSize=yt[2]||yt[1]?(yt[2]||yt[1]).length:0,V){const Ct=P.length-v.posPre.length-v.posSuf.length,ze=V.indexOf("#");v.negPre=V.substring(0,ze).replace(/'/g,""),v.negSuf=V.slice(ze+Ct).replace(/'/g,"")}else v.negPre=w+v.posPre,v.negSuf=v.posSuf;return v}(function W(f,w){return(0,m.cg1)(f)[m.wAp.NumberFormats][w]}(w,Re.Decimal),F(w,Xe.MinusSign)),w,Xe.Group,Xe.Decimal,v)}(function Ci(f){if("string"==typeof f&&!isNaN(Number(f)-parseFloat(f)))return Number(f);if("number"!=typeof f)throw new Error(`${f} is not a number`);return f}(v),P,_)}catch(V){throw Ut()}}static#e=this.\u0275fac=function(_){return new(_||f)(m.Y36(m.soG,16))};static#t=this.\u0275pipe=m.Yjl({name:"number",type:f,pure:!0,standalone:!0})}return f})();let Yi=(()=>{class f{transform(v,_,P){if(null==v)return null;if(!this.supports(v))throw Ut();return v.slice(_,P)}supports(v){return"string"==typeof v||Array.isArray(v)}static#e=this.\u0275fac=function(_){return new(_||f)};static#t=this.\u0275pipe=m.Yjl({name:"slice",type:f,pure:!1,standalone:!0})}return f})(),ps=(()=>{class f{static#e=this.\u0275fac=function(_){return new(_||f)};static#t=this.\u0275mod=m.oAB({type:f});static#n=this.\u0275inj=m.cJS({})}return f})();const Qi="browser",Zt="server";function Vt(f){return f===Qi}function Hn(f){return f===Zt}let tn=(()=>{class f{static#e=this.\u0275prov=(0,m.Yz7)({token:f,providedIn:"root",factory:()=>new Ar((0,m.LFG)(ie),window)})}return f})();class Ar{constructor(w,v){this.document=w,this.window=v,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 v=function Pr(f,w){const v=f.getElementById(w)||f.getElementsByName(w)[0];if(v)return v;if("function"==typeof f.createTreeWalker&&f.body&&"function"==typeof f.body.attachShadow){const _=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let P=_.currentNode;for(;P;){const V=P.shadowRoot;if(V){const re=V.getElementById(w)||V.querySelector(`[name="${w}"]`);if(re)return re}P=_.nextNode()}}return null}(this.document,w);v&&(this.scrollToElement(v),v.focus())}setHistoryScrollRestoration(w){this.supportsScrolling()&&(this.window.history.scrollRestoration=w)}scrollToElement(w){const v=w.getBoundingClientRect(),_=v.left+this.window.pageXOffset,P=v.top+this.window.pageYOffset,V=this.offset();this.window.scrollTo(_-V[0],P-V[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class li{}},9862:(Qe,ve,A)=>{A.d(ve,{JF:()=>G,WM:()=>Pe,eN:()=>ee});var m=A(9291),Z=A(2096),B=A(7715),$=A(5592),ae=A(6328),ie=A(2181),ne=A(7398),ge=A(4716),ce=A(4664),he=A(6814);class se{}class pe{}class Pe{constructor(k){this.normalizedNames=new Map,this.lazyUpdate=null,k?"string"==typeof k?this.lazyInit=()=>{this.headers=new Map,k.split("\n").forEach(H=>{const De=H.indexOf(":");if(De>0){const be=H.slice(0,De),ke=be.toLowerCase(),_e=H.slice(De+1).trim();this.maybeSetNormalizedName(be,ke),this.headers.has(ke)?this.headers.get(ke).push(_e):this.headers.set(ke,[_e])}})}:typeof Headers<"u"&&k instanceof Headers?(this.headers=new Map,k.forEac
1h((H,De)=>{this.setHeaderEntries(De,H)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(k).forEach(([H,De])=>{this.setHeaderEntries(H,De)})}:this.headers=new Map}has(k){return this.init(),this.headers.has(k.toLowerCase())}get(k){this.init();const H=this.headers.get(k.toLowerCase());return H&&H.length>0?H[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(k){return this.init(),this.headers.get(k.toLowerCase())||null}append(k,H){return this.clone({name:k,value:H,op:"a"})}set(k,H){return this.clone({name:k,value:H,op:"s"})}delete(k,H){return this.clone({name:k,value:H,op:"d"})}maybeSetNormalizedName(k,H){this.normalizedNames.has(H)||this.normalizedNames.set(H,k)}init(){this.lazyInit&&(this.lazyInit instanceof Pe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(k=>this.applyUpdate(k)),this.lazyUpdate=null))}copyFrom(k){k.init(),Array.from(k.headers.keys()).forEach(H=>{this.headers.set(H,k.headers.get(H)),this.normalizedNames.set(H,k.normalizedNames.get(H))})}clone(k){const H=new Pe;return H.lazyInit=this.lazyInit&&this.lazyInit instanceof Pe?this.lazyInit:this,H.lazyUpdate=(this.lazyUpdate||[]).concat([k]),H}applyUpdate(k){const H=k.name.toLowerCase();switch(k.op){case"a":case"s":let De=k.value;if("string"==typeof De&&(De=[De]),0===De.length)return;this.maybeSetNormalizedName(k.name,H);const be=("a"===k.op?this.headers.get(H):void 0)||[];be.push(...De),this.headers.set(H,be);break;case"d":const ke=k.value;if(ke){let _e=this.headers.get(H);if(!_e)return;_e=_e.filter(Wt=>-1===ke.indexOf(Wt)),0===_e.length?(this.headers.delete(H),this.normalizedNames.delete(H)):this.headers.set(H,_e)}else this.headers.delete(H),this.normalizedNames.delete(H)}}setHeaderEntries(k,H){const De=(Array.isArray(H)?H:[H]).map(ke=>ke.toString()),be=k.toLowerCase();this.headers.set(be,De),this.maybeSetNormalizedName(k,be)}forEach(k){this.init(),Array.from(this.normalizedNames.keys()).forEach(H=>k(this.normalizedNames.get(H),this.headers.get(H)))}}class Ge{encodeKey(k){return $e(k)}encodeValue(k){return $e(k)}decodeKey(k){return decodeURIComponent(k)}decodeValue(k){return decodeURIComponent(k)}}const tt=/%(\d[a-f0-9])/gi,rt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $e(Q){return encodeURIComponent(Q).replace(tt,(k,H)=>rt[H]??k)}function je(Q){return`${Q}`}class z{constructor(k={}){if(this.updates=null,this.cloneFrom=null,this.encoder=k.encoder||new Ge,k.fromString){if(k.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function nt(Q,k){const H=new Map;return Q.length>0&&Q.replace(/^\?/,"").split("&").forEach(be=>{const ke=be.indexOf("="),[_e,Wt]=-1==ke?[k.decodeKey(be),""]:[k.decodeKey(be.slice(0,ke)),k.decodeValue(be.slice(ke+1))],ot=H.get(_e)||[];ot.push(Wt),H.set(_e,ot)}),H}(k.fromString,this.encoder)}else k.fromObject?(this.map=new Map,Object.keys(k.fromObject).forEach(H=>{const De=k.fromObject[H],be=Array.isArray(De)?De.map(je):[je(De)];this.map.set(H,be)})):this.map=null}has(k){return this.init(),this.map.has(k)}get(k){this.init();const H=this.map.get(k);return H?H[0]:null}getAll(k){return this.init(),this.map.get(k)||null}keys(){return this.init(),Array.from(this.map.keys())}append(k,H){return this.clone({param:k,value:H,op:"a"})}appendAll(k){const H=[];return Object.keys(k).forEach(De=>{const be=k[De];Array.isArray(be)?be.forEach(ke=>{H.push({param:De,value:ke,op:"a"})}):H.push({param:De,value:be,op:"a"})}),this.clone(H)}set(k,H){return this.clone({param:k,value:H,op:"s"})}delete(k,H){return this.clone({param:k,value:H,op:"d"})}toString(){return this.init(),this.keys().map(k=>{const H=this.encoder.encodeKey(k);return this.map.get(k).map(De=>H+"="+this.encoder.encodeValue(De)).join("&")}).filter(k=>""!==k).join("&")}clone(k){const H=new z({encoder:this.encoder});return H.cloneFrom=this.cloneFrom||this,H.updates=(this.updates||[]).concat(k),H}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(k=>
1this.map.set(k,this.cloneFrom.map.get(k))),this.updates.forEach(k=>{switch(k.op){case"a":case"s":const H=("a"===k.op?this.map.get(k.param):void 0)||[];H.push(je(k.value)),this.map.set(k.param,H);break;case"d":if(void 0===k.value){this.map.delete(k.param);break}{let De=this.map.get(k.param)||[];const be=De.indexOf(je(k.value));-1!==be&&De.splice(be,1),De.length>0?this.map.set(k.param,De):this.map.delete(k.param)}}}),this.cloneFrom=this.updates=null)}}class Re{constructor(){this.map=new Map}set(k,H){return this.map.set(k,H),this}get(k){return this.map.has(k)||this.map.set(k,k.defaultValue()),this.map.get(k)}delete(k){return this.map.delete(k),this}has(k){return this.map.has(k)}keys(){return this.map.keys()}}function ue(Q){return typeof ArrayBuffer<"u"&&Q instanceof ArrayBuffer}function Ee(Q){return typeof Blob<"u"&&Q instanceof Blob}function Ze(Q){return typeof FormData<"u"&&Q instanceof FormData}class Ht{constructor(k,H,De,be){let ke;if(this.url=H,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=k.toUpperCase(),function We(Q){switch(Q){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||be?(this.body=void 0!==De?De:null,ke=be):ke=De,ke&&(this.reportProgress=!!ke.reportProgress,this.withCredentials=!!ke.withCredentials,ke.responseType&&(this.responseType=ke.responseType),ke.headers&&(this.headers=ke.headers),ke.context&&(this.context=ke.context),ke.params&&(this.params=ke.params)),this.headers||(this.headers=new Pe),this.context||(this.context=new Re),this.params){const _e=this.params.toString();if(0===_e.length)this.urlWithParams=H;else{const Wt=H.indexOf("?");this.urlWithParams=H+(-1===Wt?"?":Wt<H.length-1?"&":"")+_e}}else this.params=new z,this.urlWithParams=H}serializeBody(){return null===this.body?null:ue(this.body)||Ee(this.body)||Ze(this.body)||function Xe(Q){return typeof URLSearchParams<"u"&&Q instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof z?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ze(this.body)?null:Ee(this.body)?this.body.type||null:ue(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof z?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(k={}){const H=k.method||this.method,De=k.url||this.url,be=k.responseType||this.responseType,ke=void 0!==k.body?k.body:this.body,_e=void 0!==k.withCredentials?k.withCredentials:this.withCredentials,Wt=void 0!==k.reportProgress?k.reportProgress:this.reportProgress;let ot=k.headers||this.headers,fn=k.params||this.params;const En=k.context??this.context;return void 0!==k.setHeaders&&(ot=Object.keys(k.setHeaders).reduce((Mn,Ln)=>Mn.set(Ln,k.setHeaders[Ln]),ot)),k.setParams&&(fn=Object.keys(k.setParams).reduce((Mn,Ln)=>Mn.set(Ln,k.setParams[Ln]),fn)),new Ht(H,De,ke,{params:fn,headers:ot,context:En,reportProgress:Wt,responseType:be,withCredentials:_e})}}var Me=function(Q){return Q[Q.Sent=0]="Sent",Q[Q.UploadProgress=1]="UploadProgress",Q[Q.ResponseHeader=2]="ResponseHeader",Q[Q.DownloadProgress=3]="DownloadProgress",Q[Q.Response=4]="Response",Q[Q.User=5]="User",Q}(Me||{});class pt{constructor(k,H=200,De="OK"){this.headers=k.headers||new Pe,this.status=void 0!==k.status?k.status:H,this.statusText=k.statusText||De,this.url=k.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends pt{constructor(k={}){super(k),this.type=Me.ResponseHeader}clone(k={}){return new Be({headers:k.headers||this.headers,status:void 0!==k.status?k.status:this.status,statusText:k.statusText||this.statusText,url:k.url||this.url||void 0})}}class et extends pt{constructor(k={}){super(k),this.type=Me.Response,this.body=void 0!==k.body?k.body:null}clone(k={}){return new et({body:void 0!==k.body?k.body:this.body,headers:k.headers||this.headers,status:void 0!==k.status?k.status:this.status,statusText:k.statusText||this.statusText,url:k.url||this.url||void 0})}}class Sr extends pt{constructor(k){super(k,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${k.url||"(unknown url)"}`:`Http failure response for ${k.url||"(unknown url)"}: ${k.status} ${k.statusText}`,this.error=k.error||null}}function Rn(Q,k){return{body:k,headers:Q.headers,context:Q.context,observe:Q.observe,params:Q.params,reportProgress:Q.reportProgress,responseType:Q.responseType,withCredentials:Q.withCredentials}}let ee=(()=>{class Q{constructor(H){this.handler=H}request(H,De,be={}){let ke;if(H instanceof Ht)ke=H;else{let ot,fn;ot=be.headers instanceof Pe?be.headers:new Pe(be.headers),be.params&&(fn=be.params instanceof z?be.params:new z({fromObject:be.params})),ke=new Ht(H,De,void 0!==be.body?be.body:null,{headers:ot,context:be.context,params:fn,reportProgress:be.reportProgress,responseType:be.responseType||"json",withCredentials:be.withCredentials})}const _e=(0,Z.of)(ke).pipe((0,ae.b)(ot=>this.handler.handle(ot)));if(H instanceof Ht||"events"===be.observe)return _e;const Wt=_e.pipe((0,ie.h)(ot=>ot instanceof et));switch(be.observe||"body"){case"body":switch(ke.responseType){case"arraybuffer":return Wt.pipe((0,ne.U)(ot=>{if(null!==ot.body&&!(ot.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ot.body}));case"blob":return Wt.pipe((0,ne.U)(ot=>{if(null!==ot.body&&!(ot.body instanceof Blob))throw new Error("Response is not a Blob.");return ot.body}));case"text":return Wt.pipe((0,ne.U)(ot=>{if(null!==ot.body&&"string"!=typeof ot.body)throw new Error("Response is not a string.");return ot.body}));default:return Wt.pipe((0,ne.U)(ot=>ot.body))}case"response":return Wt;default:throw new Error(`Unreachable: unhandled observe type ${be.observe}}`)}}delete(H,De={}){return this.request("DELETE",H,De)}get(H,De={}){return this.request("GET",H,De)}head(H,De={}){return this.request("HEAD",H,De)}jsonp(H,De){return this.request("JSONP",H,{params:(new z).append(De,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(H,De={}){return this.request("OPTIONS",H,De)}patch(H,De,be={}){return this.request("PATCH",H,Rn(be,De))}post(H,De,be={}){return this.request("POST",H,Rn(be,De))}put(H,De,be={}){return this.request("PUT",H,Rn(be,De))}static#e=this.\u0275fac=function(De){return new(De||Q)(m.LFG(se))};static#t=this.\u0275prov=m.Yz7({token:Q,factory:Q.\u0275fac})}return Q})();function Mt(Q,k){return k(Q)}function Ue(Q,k){return(H,De)=>k.intercept(H,{handle:be=>Q(be,De)})}const Ot=new m.OlP(""),ht=new m.OlP(""),un=new m.OlP("");function Fn(){let Q=null;return(k,H)=>{null===Q&&(Q=((0,m.f3M)(Ot,{optional:!0})??[]).reduceRight(Ue,Mt));const De=(0,m.f3M)(m.HDt),be=De.add();return Q(k,H).pipe((0,ge.x)(()=>De.remove(be)))}}let vt=(()=>{class Q extends se{constructor(H,De){super(),this.backend=H,this.injector=De,this.chain=null,this.pendingTasks=(0,m.f3M)(m.HDt)}
1handle(H){if(null===this.chain){const be=Array.from(new Set([...this.injector.get(ht),...this.injector.get(un,[])]));this.chain=be.reduceRight((ke,_e)=>function wt(Q,k,H){return(De,be)=>H.runInContext(()=>k(De,ke=>Q(ke,be)))}(ke,_e,this.injector),Mt)}const De=this.pendingTasks.add();return this.chain(H,be=>this.backend.handle(be)).pipe((0,ge.x)(()=>this.pendingTasks.remove(De)))}static#e=this.\u0275fac=function(De){return new(De||Q)(m.LFG(pe),m.LFG(m.lqb))};static#t=this.\u0275prov=m.Yz7({token:Q,factory:Q.\u0275fac})}return Q})();const sr=/^\)\]\}',?\n/;let hr=(()=>{class Q{constructor(H){this.xhrFactory=H}handle(H){if("JSONP"===H.method)throw new m.vHH(-2800,!1);const De=this.xhrFactory;return(De.\u0275loadImpl?(0,B.D)(De.\u0275loadImpl()):(0,Z.of)(null)).pipe((0,ce.w)(()=>new $.y(ke=>{const _e=De.build();if(_e.open(H.method,H.urlWithParams),H.withCredentials&&(_e.withCredentials=!0),H.headers.forEach((_t,Tt)=>_e.setRequestHeader(_t,Tt.join(","))),H.headers.has("Accept")||_e.setRequestHeader("Accept","application/json, text/plain, */*"),!H.headers.has("Content-Type")){const _t=H.detectContentTypeHeader();null!==_t&&_e.setRequestHeader("Content-Type",_t)}if(H.responseType){const _t=H.responseType.toLowerCase();_e.responseType="json"!==_t?_t:"text"}const Wt=H.serializeBody();let ot=null;const fn=()=>{if(null!==ot)return ot;const _t=_e.statusText||"OK",Tt=new Pe(_e.getAllResponseHeaders()),gt=function nn(Q){return"responseURL"in Q&&Q.responseURL?Q.responseURL:/^X-Request-URL:/m.test(Q.getAllResponseHeaders())?Q.getResponseHeader("X-Request-URL"):null}(_e)||H.url;return ot=new Be({headers:Tt,status:_e.status,statusText:_t,url:gt}),ot},En=()=>{let{headers:_t,status:Tt,statusText:gt,url:mr}=fn(),mn=null;204!==Tt&&(mn=typeof _e.response>"u"?_e.responseText:_e.response),0===Tt&&(Tt=mn?200:0);let Jn=Tt>=200&&Tt<300;if("json"===H.responseType&&"string"==typeof mn){const ti=mn;mn=mn.replace(sr,"");try{mn=""!==mn?JSON.parse(mn):null}catch(er){mn=ti,Jn&&(Jn=!1,mn={error:er,text:mn})}}Jn?(ke.next(new et({body:mn,headers:_t,status:Tt,statusText:gt,url:mr||void 0})),ke.complete()):ke.error(new Sr({error:mn,headers:_t,status:Tt,statusText:gt,url:mr||void 0}))},Mn=_t=>{const{url:Tt}=fn(),gt=new Sr({error:_t,status:_e.status||0,statusText:_e.statusText||"Unknown Error",url:Tt||void 0});ke.error(gt)};let Ln=!1;const kn=_t=>{Ln||(ke.next(fn()),Ln=!0);let Tt={type:Me.DownloadProgress,loaded:_t.loaded};_t.lengthComputable&&(Tt.total=_t.total),"text"===H.responseType&&_e.responseText&&(Tt.partialText=_e.responseText),ke.next(Tt)},jn=_t=>{let Tt={type:Me.UploadProgress,loaded:_t.loaded};_t.lengthComputable&&(Tt.total=_t.total),ke.next(Tt)};return _e.addEventListener("load",En),_e.addEventListener("error",Mn),_e.addEventListener("timeout",Mn),_e.addEventListener("abort",Mn),H.reportProgress&&(_e.addEventListener("progress",kn),null!==Wt&&_e.upload&&_e.upload.addEventListener("progress",jn)),_e.send(Wt),ke.next({type:Me.Sent}),()=>{_e.removeEventListener("error",Mn),_e.removeEventListener("abort",Mn),_e.removeEventListener("load",En),_e.removeEventListener("timeout",Mn),H.reportProgress&&(_e.removeEventListener("progress",kn),null!==Wt&&_e.upload&&_e.upload.removeEventListener("progress",jn)),_e.readyState!==_e.DONE&&_e.abort()}})))}static#e=this.\u0275fac=function(De){return new(De||Q)(m.LFG(he.JF))};static#t=this.\u0275prov=m.Yz7({token:Q,factory:Q.\u0275fac})}return Q})();const cn=new m.OlP("XSRF_ENABLED"),Ve=new m.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Lt=new m.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class dn{}let bn=(()=>{class Q{constructor(H,De,be){this.doc=H,this.platform=De,this.cookieName=be,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const H=this.doc.cookie||"";return H!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,he.Mx)(H,this.cookieName),this.lastCookieString=H),this.lastToken}static#e=this.\u0275fac=function(De){return new(De||Q)(m.LFG(he.K0),m.LFG(m.Lbi),m.LFG(Ve))};static#t=this.\u0275prov=m.Yz7({token:Q,factory:Q.\u0275fac})}return Q})();function kr(Q,k){const H=Q.url.toLowerCase();if(!(0,m.f3M)(cn)||"GET"===Q.method||"HEAD"===Q.method||H.startsWith("http://")||H.startsWith("https://"))return k(Q);const De=(0,m.f3M)(dn).getToken(),be=(0,m.f3M)(Lt);return null!=De&&!Q.headers.has(be)&&(Q=Q.clone({headers:Q.headers.set(be,De)})),k(Q)}var Dt=function(Q){return Q[Q.Interceptors=0]="Interceptors",Q[Q.LegacyInterceptors=1]="LegacyInterceptors",Q[Q.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Q[Q.NoXsrfProtection=3]="NoXsrfProtection",Q[Q.JsonpSupport=4]="JsonpSupport",Q[Q.RequestsMadeViaParent=5]="RequestsMadeViaParent",Q[Q.Fetch=6]="Fetch",Q}(Dt||{});function Et(...Q){const k=[ee,hr,vt,{provide:se,useExisting:vt},{provide:pe,useExisting:hr},{provide:ht,useValue:kr,multi:!0},{provide:cn,useValue:!0},{provide:dn,useClass:bn}];for(const H of Q)k.push(...H.\u0275providers);return(0,m.MR2)(k)}const gr=new m.OlP("LEGACY_INTERCEPTOR_FN");function Nn(){return function hn(Q,k){return{\u0275kind:Q,\u0275providers:k}}(Dt.LegacyInterceptors,[{provide:gr,useFactory:Fn}
1,{provide:ht,useExisting:gr,multi:!0}])}let G=(()=>{class Q{static#e=this.\u0275fac=function(De){return new(De||Q)};static#t=this.\u0275mod=m.oAB({type:Q});static#n=this.\u0275inj=m.cJS({providers:[Et(Nn())]})}return Q})()},9291:(Qe,ve,A)=>{A.d(ve,{QbO:()=>wE,tb:()=>jd,AFp:()=>Sh,ip1:()=>jy,hGG:()=>IS,z2F:()=>jo,Ojb:()=>bE,sBO:()=>dS,Sil:()=>Rb,EJc:()=>Tb,Xts:()=>da,SBq:()=>pa,lqb:()=>Hi,qLn:()=>_s,vpe:()=>$i,XFs:()=>Ve,OlP:()=>Et,zs3:()=>Mi,ZZ4:()=>zd,aQg:()=>Gd,soG:()=>ul,YKP:()=>Am,h0i:()=>Us,PXZ:()=>rS,R0b:()=>ir,FiY:()=>ou,Lbi:()=>hc,g9A:()=>Mh,Qsj:()=>HE,FYo:()=>Nh,JOm:()=>pu,tp0:()=>au,Rgc:()=>Na,dDg:()=>Jb,eoX:()=>Wy,GfV:()=>Oh,s_b:()=>ol,ifc:()=>_t,VuI:()=>jS,Flj:()=>Br,MMx:()=>Rm,Lck:()=>b0,eFA:()=>Qy,cEC:()=>wp,Gpc:()=>We,f3M:()=>_e,$WT:()=>or,MR2:()=>oc,_c5:()=>MS,qFp:()=>$S,tdS:()=>re,rg0:()=>Ft,c2e:()=>Hy,zSh:()=>lc,HDt:()=>$y,wAp:()=>xo,vHH:()=>Me,lri:()=>zy,rWj:()=>Gy,cg1:()=>dd,kL8:()=>em,dqk:()=>xt,Z0I:()=>Rt,eJc:()=>Td,QGY:()=>ed,F4k:()=>tg,RDi:()=>GD,AaK:()=>z,qOj:()=>Uc,Xq5:()=>Fp,TTD:()=>Xr,_Bn:()=>Tm,jDz:()=>Nm,xp6:()=>sp,uIk:()=>zc,Tol:()=>bg,Gre:()=>$g,MT6:()=>Bg,DjV:()=>Ug,ekj:()=>ad,Suo:()=>my,Xpm:()=>Ki,lG2:()=>ai,Yz7:()=>Yt,cJS:()=>ln,oAB:()=>_i,Yjl:()=>Ni,Y36:()=>_o,_UZ:()=>Xc,GkF:()=>Jc,BQk:()=>Yu,ynx:()=>qu,qZA:()=>Ku,TgZ:()=>Wu,EpF:()=>eg,n5z:()=>vf,LFG:()=>be,$8M:()=>Nl,$Z:()=>ap,NdJ:()=>td,CRH:()=>yy,O4$:()=>nf,oxw:()=>og,ALo:()=>Jm,lcZ:()=>ey,xi3:()=>ty,Dn7:()=>ny,Hsn:()=>ug,F$t:()=>ag,Q6J:()=>Qc,s9C:()=>nd,MGl:()=>Qu,DdM:()=>Hm,VKq:()=>$m,WLB:()=>Bm,kEZ:()=>Um,l5B:()=>Vm,qbA:()=>zm,HTZ:()=>Gm,Hh0:()=>Wm,rFY:()=>Km,iGM:()=>py,MAs:()=>Zp,KtG:()=>Ka,evT:()=>Wh,Jf7:()=>Gh,CHM:()=>Ko,oJD:()=>gh,LSH:()=>ic,P3R:()=>yh,Akn:()=>Ii,Udp:()=>od,YNc:()=>qp,W1O:()=>_y,_uU:()=>Rg,Oqu:()=>ld,hij:()=>Ju,AsE:()=>cd,Gf:()=>gy});var m=A(8645),Z=A(7394),B=A(5592),$=A(7537),ae=A(4829),ie=A(6232),ne=A(4564),ge=A(7715),he=A(5619),se=A(2096),pe=A(3020),Pe=A(4664),Te=A(2737),Ge=A(9360),nt=A(8251);function rt(e,t){return e===t}function $e(e){for(let t in e)if(e[t]===$e)return t;throw Error("Could not find renamed property on target object.")}function je(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function z(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(z).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 me(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Re=$e({__forward_ref__:$e});function We(e){return e.__forward_ref__=We,e.toString=function(){return z(this())},e}function ue(e){return Ee(e)?e():e}function Ee(e){return"function"==typeof e&&e.hasOwnProperty(Re)&&e.__forward_ref__===We}function Ze(e){return e&&!!e.\u0275providers}const Ht="https://g.co/ng/security#xss";class Me extends Error{constructor(t,n){super(function pt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Be(e){return"string"==typeof e?e:null==e?"":String(e)}function L(e,t){throw new Me(-201,!1)}function vt(e,t){null==e&&function Ke(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Yt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ln(e){return{providers:e.providers||[],imports:e.imports||[]}}function wn(e){return it(e,nn)||it(e,cn)}function Rt(e){return null!==wn(e)}function it(e,t){return e.hasOwnProperty(t)?e[t]:null}function sr(e){return e&&(e.hasOwnProperty(hr)||e.hasOwnProperty(Lr))?e[hr]:null}const nn=$e({\u0275prov:$e}),hr=$e({\u0275inj:$e}),cn=$e({ngInjectableDef:$e}),Lr=$e({ngInjectorDef:$e});var Ve=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Ve||{});let pr;function Lt(){return pr}function dn(e){const t=pr;return pr=e,t}function bn(e,t,n){const r=wn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ve.Optional?null:void 0!==t?t:void L(z(e))}const xt=globalThis;class Et{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=Yt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Fe={},qe="__NG_DI_FLAG__",kt="ngTempTokenPath",pn=/\n/gm,Vn="__source";let Q;function H(e){const t=Q;return Q=e,t}function De(e,t=Ve.Default){if(void 0===Q)throw new Me(-203,!1);return null===Q?bn(e,void 0,t):Q.get(e,t&Ve.Optional?null:void 0,t)}
1function be(e,t=Ve.Default){return(Lt()||De)(ue(e),t)}function _e(e,t=Ve.Default){return be(e,Wt(t))}function Wt(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ot(e){const t=[];for(let n=0;n<e.length;n++){const r=ue(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Me(900,!1);let i,s=Ve.Default;for(let o=0;o<r.length;o++){const c=r[o],g=En(c);"number"==typeof g?-1===g?i=c.token:s|=g:i=c}t.push(be(i,s))}else t.push(be(r))}return t}function fn(e,t){return e[qe]=t,e.prototype[qe]=t,e}function En(e){return e[qe]}function kn(e){return{toString:e}.toString()}var jn=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(jn||{}),_t=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(_t||{});const Tt={},gt=[],mr=$e({\u0275cmp:$e}),mn=$e({\u0275dir:$e}),Jn=$e({\u0275pipe:$e}),ti=$e({\u0275mod:$e}),er=$e({\u0275fac:$e}),Gn=$e({__NG_ELEMENT_ID__:$e}),ni=$e({__NG_ENV_ID__:$e});function Ir(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}}function jr(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++],c=n[r++];e.setAttribute(t,o,c,s)}else{const s=i,o=n[++r];us(s)?e.setProperty(t,s,o):e.setAttribute(t,s,o),r++}}return r}function ri(e){return 3===e||4===e||6===e}function us(e){return 64===e.charCodeAt(0)}function ii(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||ls(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ls(e,t,n,r,i){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const c=e[s++];if("number"==typeof c){if(c===t){o=-1;break}if(c>t){o=s-1;break}}}for(;s<e.length;){const c=e[s];if("number"==typeof c)break;if(c===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)}const Wr="ng-template";function tr(e,t,n){let r=0,i=!0;for(;r<e.length;){let s=e[r++];if("string"==typeof s&&i){const o=e[r++];if(n&&"class"===s&&-1!==Ir(o.toLowerCase(),t,0))return!0}else{if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}"number"==typeof s&&(i=!1)}}return!1}function si(e){return 4===e.type&&e.value!==Wr}function nr(e,t,n){return t===(4!==e.type||n?e.value:Wr)}function oi(e,t,n){let r=4;const i=e.attrs||[],s=function zs(e){for(let t=0;t<e.length;t++)if(ri(e[t]))return t;return e.length}(i);let o=!1;for(let c=0;c<t.length;c++){const g=t[c];if("number"!=typeof g){if(!o)if(4&r){if(r=2|1&r,""!==g&&!nr(e,g,n)||""===g&&1===t.length){if(Ut(r))return!1;o=!0}}else{const E=8&r?g:t[++c];if(8&r&&null!==e.attrs){if(!tr(e.attrs,E,n)){if(Ut(r))return!1;o=!0}continue}const R=Pi(8&r?"class":g,i,si(e),n);if(-1===R){if(Ut(r))return!1;o=!0;continue}if(""!==E){let U;U=R>s?"":i[R+1].toLowerCase();const Y=8&r?U:null;if(Y&&-1!==Ir(Y,E,0)||2&r&&E!==U){if(Ut(r))return!1;o=!0}}}}else{if(!o&&!Ut(r)&&!Ut(g))return!1;if(o&&Ut(g))continue;o=!1,r=g|1&r}}return Ut(r)||o}function Ut(e){return 0==(1&e)}function Pi(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 c=t[++i];for(;"string"==typeof c;)c=t[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=s?1:2}return-1}return function Gi(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 Ri(e,t,n=!1){for(let r=0;r<t.length;r++)if(oi(e,t[r],n))return!0;return!1}function Gs(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 cs(e,t){return e?":not("+t.trim()+")":t}function Ss(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 c=e[++n];i+="["+o+(c.length>0?'="'+c+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);
1else""!==i&&!Ut(o)&&(t+=cs(s,i),i=""),r=o,s=s||!Ut(r);n++}return""!==i&&(t+=cs(s,i)),t}function Ki(e){return kn(()=>{const t=Ci(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===jn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||_t.Emulated,styles:e.styles||gt,_:null,schemas:e.schemas||null,tView:null,id:""};Yi(n);const r=e.dependencies;return n.directiveDefs=Tr(r,!1),n.pipeDefs=Tr(r,!0),n.id=function Qi(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function fs(e){return It(e)||gn(e)}function qi(e){return null!==e}function _i(e){return kn(()=>({type:e.type,bootstrap:e.bootstrap||gt,declarations:e.declarations||gt,imports:e.imports||gt,exports:e.exports||gt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hs(e,t){if(null==e)return Tt;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}function ai(e){return kn(()=>{const t=Ci(e);return Yi(t),t})}function Ni(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 It(e){return e[mr]||null}function gn(e){return e[mn]||null}function en(e){return e[Jn]||null}function or(e){const t=It(e)||gn(e)||en(e);return null!==t&&t.standalone}function _n(e,t){const n=e[ti]||null;if(!n&&!0===t)throw new Error(`Type ${z(e)} does not have '\u0275mod' property.`);return n}function Ci(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Tt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||gt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hs(e.inputs,t),outputs:hs(e.outputs)}}function Yi(e){e.features?.forEach(t=>t(e))}function Tr(e,t){if(!e)return null;const n=t?en:fs;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(qi)}const Zt=0,Ae=1,at=2,Vt=3,Hn=4,ui=5,In=6,Kr=7,tn=8,Ar=9,Pr=10,st=11,li=12,gs=13,ar=14,jt=15,ur=16,ci=17,lr=18,yr=19,ms=20,qr=21,cr=22,Oi=23,Zi=24,bt=25,xi=1,ys=2,dr=7,di=9,yn=11;function Kn(e){return Array.isArray(e)&&"object"==typeof e[xi]}function Tn(e){return Array.isArray(e)&&!0===e[xi]}function fi(e){return 0!=(4&e.flags)}function Yr(e){return e.componentOffset>-1}function Xi(e){return 1==(1&e.flags)}function $n(e){return!!e.template}function Kt(e){return 0!=(512&e[at])}function y(e,t){return e.hasOwnProperty(er)?e[er]:null}const C=Symbol("SIGNAL");function j(e,t){return(null===e||"object"!=typeof e)&&Object.is(e,t)}let x=null,J=!1;function oe(e){const t=x;return x=e,t}const Oe={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function He(e){if(J)throw new Error("");if(null===x)return;const t=x.nextProducerIndex++;vn(x),t<x.producerNode.length&&x.producerNode[t]!==e&&On(x)&&$r(x.producerNode[t],x.producerIndexOfThis[t]),x.producerNode[t]!==e&&(x.producerNode[t]=e,x.producerIndexOfThis[t]=On(x)?An(e,x,t):0),x.producerLastReadVersion[t]=e.version}function At(e){if(!On(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Cn(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function ct(e){if(void 0===e.liveConsumerNode)return;const t=J;J=!0;try{for(const n of e.liveConsumerNode)n.dirty||ut(n)}finally{J=t}}function Ye(){return!1!==x?.consumerAllowSignalWrites}function ut(e){e.dirty=!0,ct(e),e.consumerMarkedDirty?.(e)}function zt(e){return e&&(e.nextProducerIndex=0),oe(e)}function sn(e,t){if(oe(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(On(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)$r(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Cn(e){vn(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(At(n),r!==n.version))return!0}return!1}function Bn(e){if(vn(e),On(e))for(let t=0;t<e.producerNode.length;t++)$r(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}
1function An(e,t,n){if(Rr(e),vn(e),0===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=An(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function $r(e,t){if(Rr(e),vn(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)$r(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];vn(i),i.producerIndexOfThis[r]=t}}function On(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function vn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Rr(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Br(e,t){const n=Object.create(f);n.computation=e,t?.equal&&(n.equal=t.equal);const r=()=>{if(At(n),He(n),n.value===Zr)throw n.error;return n.value};return r[C]=n,r}const Dr=Symbol("UNSET"),Qr=Symbol("COMPUTING"),Zr=Symbol("ERRORED"),f=(()=>({...Oe,value:Dr,dirty:!0,error:null,equal:j,producerMustRecompute:e=>e.value===Dr||e.value===Qr,producerRecomputeValue(e){if(e.value===Qr)throw new Error("Detected cycle in computations.");const t=e.value;e.value=Qr;const n=zt(e);let r;try{r=e.computation()}catch(i){r=Zr,e.error=i}finally{sn(e,n)}t!==Dr&&t!==Zr&&r!==Zr&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}}))();let v=function w(){throw new Error};function _(){v()}let V=null;function re(e,t){const n=Object.create(Pt);function r(){return He(n),n.value}return n.value=e,t?.equal&&(n.equal=t.equal),r.set=Ct,r.update=ze,r.mutate=Qt,r.asReadonly=qt,r[C]=n,r}const Pt=(()=>({...Oe,equal:j,readonlyFn:void 0}))();function yt(e){e.version++,ct(e),V?.()}function Ct(e){const t=this[C];Ye()||_(),t.equal(t.value,e)||(t.value=e,yt(t))}function ze(e){Ye()||_(),Ct.call(this,e(this[C].value))}function Qt(e){const t=this[C];Ye()||_(),e(t.value),yt(t)}function qt(){const e=this[C];if(void 0===e.readonlyFn){const t=()=>this();t[C]=e,e.readonlyFn=t}return e.readonlyFn}function Ft(e){const t=oe(null);try{return e()}finally{oe(t)}}const on=()=>{},rr=(()=>({...Oe,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:on}))();class hi{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Xr(){return Si}function Si(e){return e.type.prototype.ngOnChanges&&(e.setInput=gl),pl}function pl(){const e=ja(this),t=e?.current;if(t){const n=e.previous;if(n===Tt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function gl(e,t,n,r){const i=this.declaredInputs[n],s=ja(e)||function ml(e,t){return e[Rs]=t}(e,{previous:Tt,current:null}),o=s.current||(s.current={}),c=s.previous,g=c[i];o[i]=new hi(g&&g.currentValue,t,c===Tt),e[r]=t}Xr.ngInherit=!0;const Rs="__ngSimpleChanges__";function ja(e){return e[Rs]||null}const pi=function(e,t,n){},$a="svg";function an(e){for(;Array.isArray(e);)e=e[Zt];return e}function Xs(e,t){return an(t[e])}function fr(e,t){return an(t[e.index])}function Ua(e,t){return e.data[t]}function vs(e,t){return e[t]}function _r(e,t){const n=t[e];return Kn(n)?n:n[Zt]}function gi(e,t){return null==t?null:e[t]}function zo(e){e[ci]=0}function Qd(e){1024&e[at]||(e[at]|=1024,mi(e,1))}function Go(e){1024&e[at]&&(e[at]&=-1025,mi(e,-1))}function mi(e,t){let n=e[Vt];if(null===n)return;n[ui]+=t;let r=n;for(n=n[Vt];null!==n&&(1===t&&1===r[ui]||-1===t&&0===r[ui]);)n[ui]+=t,r=n,n=n[Vt]}function Va(e,t){if(256==(256&e[at]))throw new Me(911,!1);null===e[qr]&&(e[qr]=[]),e[qr].push(t)}const dt={lFrame:Xt(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ga(){return dt.bindingsEnabled}function Ns(){return null!==dt.skipHydrationRootTNode}function Ce(){return dt.lFrame.lView}function Gt(){return dt.lFrame.tView}function Ko(e){return dt.lFrame.contextLView=e,e[tn]}function Ka(e){return dt.lFrame.contextLView=null,e}function Yn(){let e=qa();for(;null!==e&&64===e.type;)e=e.parent;return e}function qa(){return dt.lFrame.currentTNode}function yi(e,t){const n=dt.lFrame;n.currentTNode=e,n.isParent=t}function qo(){return dt.lFrame.isParent}function Yo(){dt.lFrame.isParent=!1}function Cr(){const e=dt.lFrame;let t=e.bindingRootIndex;
1return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Li(){return dt.lFrame.bindingIndex}function xs(){return dt.lFrame.bindingIndex++}function ki(e){const t=dt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function h(e,t){const n=dt.lFrame;n.bindingIndex=n.bindingRootIndex=e,p(t)}function p(e){dt.lFrame.currentDirectiveIndex=e}function M(){return dt.lFrame.currentQueryIndex}function N(e){dt.lFrame.currentQueryIndex=e}function te(e){const t=e[Ae];return 2===t.type?t.declTNode:1===t.type?e[In]:null}function q(e,t,n){if(n&Ve.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&Ve.Host||(i=te(s),null===i||(s=s[ar],10&i.type))););if(null===i)return!1;t=i,e=s}const r=dt.lFrame=ft();return r.currentTNode=t,r.lView=e,!0}function Ie(e){const t=ft(),n=e[Ae];dt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ft(){const e=dt.lFrame,t=null===e?null:e.child;return null===t?Xt(e):t}function Xt(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 Bt(){const e=dt.lFrame;return dt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const vi=Bt;function ns(){const e=Bt();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 xn(){return dt.lFrame.selectedIndex}function rs(e){dt.lFrame.selectedIndex=e}function Pn(){const e=dt.lFrame;return Ua(e.tView,e.selectedIndex)}function nf(){dt.lFrame.currentNamespace=$a}let sf=!0;function Qa(){return sf}function Ds(e){sf=e}function Za(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:c,ngAfterViewInit:g,ngAfterViewChecked:E,ngOnDestroy:S}=s;o&&(e.contentHooks??=[]).push(-n,o),c&&((e.contentHooks??=[]).push(n,c),(e.contentCheckHooks??=[]).push(n,c)),g&&(e.viewHooks??=[]).push(-n,g),E&&((e.viewHooks??=[]).push(n,E),(e.viewCheckHooks??=[]).push(n,E)),null!=S&&(e.destroyHooks??=[]).push(n,S)}}function Xa(e,t,n){af(e,t,3,n)}function Ja(e,t,n,r){(3&e[at])===n&&af(e,t,n,r)}function Sl(e,t){let n=e[at];(3&n)===t&&(n&=8191,n+=1,e[at]=n)}function af(e,t,n,r){const s=r??-1,o=t.length-1;let c=0;for(let g=void 0!==r?65535&e[ci]:0;g<o;g++)if("number"==typeof t[g+1]){if(c=t[g],null!=r&&c>=r)break}else t[g]<0&&(e[ci]+=65536),(c<s||-1==s)&&(Mv(e,n,t,g),e[ci]=(4294901760&e[ci])+g+2),g++}function uf(e,t){pi(4,e,t);const n=oe(null);try{t.call(e)}finally{oe(n),pi(5,e,t)}}function Mv(e,t,n,r){const i=n[r]<0,s=n[r+1],c=e[i?-n[r]:n[r]];i?e[at]>>13<e[ci]>>16&&(3&e[at])===t&&(e[at]+=8192,uf(c,s)):uf(c,s)}const Js=-1;class Zo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Il(e){return e!==Js}function Xo(e){return 32767&e}function Jo(e,t){let n=function Pv(e){return e>>16}(e),r=t;for(;n>0;)r=r[ar],n--;return r}let Tl=!0;function eu(e){const t=Tl;return Tl=e,t}const lf=255,cf=5;let Rv=0;const ji={};function tu(e,t){const n=df(e,t);if(-1!==n)return n;const r=t[Ae];r.firstCreatePass&&(e.injectorIndex=t.length,Al(r.data,e),Al(t,null),Al(r.blueprint,null));const i=nu(e,t),s=e.injectorIndex;if(Il(i)){const o=Xo(i),c=Jo(i,t),g=c[Ae].data;for(let E=0;E<8;E++)t[s+E]=c[o+E]|g[o+E]}return t[s+8]=i,s}function Al(e,t){e.push(0,0,0,0,0,0,0,0,t)}function df(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function nu(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=Df(i),null===r)return Js;if(n++,i=i[ar],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Js}function Pl(e,t,n){!function Nv(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Gn)&&(r=n[Gn]),null==r&&(r=n[Gn]=Rv++);const i=r&lf;t.data[e+(i>>cf)]|=1<<i}(e,t,n)}function ff(e,t,n){if(n&Ve.Optional||void 0!==e)return e;L()}function hf(e,t,n,r){if(n&Ve.Optional&&void 0===r&&(r=null),!(n&(Ve.Self|Ve.Host))){const i=e[Ar],s=dn(void 0);try{return i?i.get(t,r,n&Ve.Optional):bn(t,r,n&Ve.Optional)}finally{dn(s)}}return ff(r,0,n)}function pf(e,t,n,r=Ve.Default,i){if(null!==e){if(2048&t[at]&&!(r&Ve.Self)){const o=function jv(e,t,n,r,i){let s=e,o=t;for(;null!==s&&null!==o&&2048&o[at]&&!(512&o[at]);){const c=gf(s,o,n,r|Ve.Self,ji);if(c!==ji)return c;let g=s.parent;if(!g){const E=o[ms];if(E){const S=E.get(n,ji,r);if(S!==ji)return S}g=Df(o),o=o[ar]}s=g}return i}(e,t,n,r,ji);if(o!==ji)return o}const s=gf(e,t,n,r,ji);if(s!==ji)return s}return hf(t,n,r,i)}function gf(e,t,n,r,i){const s=function Fv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Gn)?e[Gn]:void 0;return"number"==typeof t?t>=0?t&lf:kv:t}(n);if("function"==typeof s){if(!q(t,e,r))return r&Ve.Host?ff(i,0,r):hf(t,n,r,i);try{let o;if(o=s(r),null!=o||r&Ve.Optional)return o;L()}finally{vi()}}else if("number"==typeof s){let o=null,c=df(e,t),g=Js,E=r&Ve.Host?t[jt][In]:null;for((-1===c||r&Ve.SkipSelf)&&(g=-1===c?nu(e,t):t[c+8],g!==Js&&yf(r,!1)?(o=t[Ae],c=Xo(g),t=Jo(g,t)):c=-1);-1!==c;){const S=t[Ae];if(mf(s,c,S.data)){const R=xv(c,t,n,o,r,E);if(R!==ji)return R}g=t[c+8],g!==Js&&yf(r,t[Ae].data[c+8]===E)&&mf(s,c,t)?(o=S,c=Xo(g),t=Jo(g,t)):c=-1}}return i}function xv(e,t,n,r,i,s){const o=t[Ae],c=o.data[e+8],S=ru(c,o,n,null==r?Yr(c)&&Tl:r!=o&&0!=(3&c.type),i&Ve.Host&&s===c);return null!==S?Ls(t,o,S,c):ji}function ru(e,t,n,r,i){const s=e.providerIndexes,o=t.data,c=1048575&s,g=e.directiveStart,S=s>>20,U=i?c+S:e.directiveEnd;for(let Y=r?c:c+S;Y<U;Y++){const fe=o[Y];if(Y<g&&n===fe||Y>=g&&fe.type===n)return Y}if(i){const Y=o[g];if(Y&&$n(Y)&&Y.type===n)return g}return null}function Ls(e,t,n,r){let i=e[n];const s=t.data;if(function Iv(e){return e instanceof Zo}(i)){const o=i;o.resolving&&function Sr(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Me(-200,`Circular dependency in DI detected for ${e}${n}`)}(function et(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Be(e)}(s[n]));const c=eu(o.canSeeViewProviders);o.resolving=!0;const E=o.injectImpl?dn(o.injectImpl):null;q(e,r,Ve.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Sv(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=Si(t);(n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==E&&dn(E),eu(c),o.resolving=!1,vi()}}return i}function mf(e,t,n){return!!(n[t+(e>>cf)]&1<<e)}function yf(e,t){return!(e&Ve.Self||e&Ve.Host&&t)}class Nr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return pf(this._tNode,this._lView,t,Wt(r),n)}}function kv(){return new Nr(Yn(),Ce())}function vf(e){return kn(()=>{const t=e.prototype.constructor,n=t[er]||Rl(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[er]||Rl(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Rl(e){return Ee(e)?()=>{const t=Rl(ue(e));return t&&t()}:y(e)}function Df(e){const t=e[Ae],n=t.type;return 2===n?t.declTNode:1===n?e[In]:null}function Nl(e){return function Ov(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(ri(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}(Yn(),e)}const to="__parameters__";function ro(e,t,n){return kn(()=>{const r=function Ol(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 c.annotation=o,c;function c(g,E,S){const R=g.hasOwnProperty(to)?g[to]:Object.defineProperty(g,to,{value:[]})[to];for(;R.length<=S;)R.push(null);return(R[S]=R[S]||[]).push(o),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function so(e,t){e.forEach(n=>Array.isArray(n)?so(n,t):t(n))}function _f(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function iu(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function na(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Jr(e,t,n){let r=oo(e,t);return r>=0?e[1|r]=n:(r=~r,function Gv(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--;
1e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function xl(e,t){const n=oo(e,t);if(n>=0)return e[1|n]}function oo(e,t){return function Cf(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 ou=fn(ro("Optional"),8),au=fn(ro("SkipSelf"),4);function fu(e){return 128==(128&e.flags)}var pu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(pu||{});const fD=/^>|^->|<!--|-->|--!>|<!-$/g,hD=/(<|>)/g,pD="\u200b$1\u200b";const Hl=new Map;let gD=0;const Bl="__ngContext__";function wr(e,t){Kn(t)?(e[Bl]=t[yr],function yD(e){Hl.set(e[yr],e)}(t)):e[Bl]=t}let Ul;function Vl(e,t){return Ul(e,t)}function sa(e){const t=e[Vt];return Tn(t)?t[Vt]:t}function Uf(e){return zf(e[li])}function Vf(e){return zf(e[Hn])}function zf(e){for(;null!==e&&!Tn(e);)e=e[Hn];return e}function lo(e,t,n,r,i){if(null!=r){let s,o=!1;Tn(r)?s=r:Kn(r)&&(o=!0,r=r[Zt]);const c=an(r);0===e&&null!==n?null==i?qf(t,n,c):ks(t,n,c,i||null,!0):1===e&&null!==n?ks(t,n,c,i||null,!0):2===e?function Eu(e,t,n){const r=vu(e,t);r&&function LD(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,c,o):3===e&&t.destroyNode(c),null!=s&&function HD(e,t,n,r,i){const s=n[dr];s!==an(n)&&lo(t,e,r,s,i);for(let c=yn;c<n.length;c++){const g=n[c];aa(g[Ae],g,e,t,r,s)}}(t,e,s,n,i)}}function zl(e,t){return e.createComment(function xf(e){return e.replace(fD,t=>t.replace(hD,pD))}(t))}function mu(e,t,n){return e.createElement(t,n)}function Wf(e,t){const n=e[di],r=n.indexOf(t);Go(t),n.splice(r,1)}function yu(e,t){if(e.length<=yn)return;const n=yn+t,r=e[n];if(r){const i=r[ur];null!==i&&i!==e&&Wf(i,r),t>0&&(e[n-1][Hn]=r[Hn]);const s=iu(e,yn+t);!function TD(e,t){aa(e,t,t[st],2,null,null),t[Zt]=null,t[In]=null}(r[Ae],r);const o=s[lr];null!==o&&o.detachView(s[Ae]),r[Vt]=null,r[Hn]=null,r[at]&=-129}return r}function Gl(e,t){if(!(256&t[at])){const n=t[st];t[Oi]&&Bn(t[Oi]),t[Zi]&&Bn(t[Zi]),n.destroyNode&&aa(e,t,n,3,null,null),function RD(e){let t=e[li];if(!t)return Wl(e[Ae],e);for(;t;){let n=null;if(Kn(t))n=t[li];else{const r=t[yn];r&&(n=r)}if(!n){for(;t&&!t[Hn]&&t!==e;)Kn(t)&&Wl(t[Ae],t),t=t[Vt];null===t&&(t=e),Kn(t)&&Wl(t[Ae],t),n=t&&t[Hn]}t=n}}(t)}}function Wl(e,t){if(!(256&t[at])){t[at]&=-129,t[at]|=256,function FD(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 Zo)){const s=n[r+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const c=i[s[o]],g=s[o+1];pi(4,c,g);try{g.call(c)}finally{pi(5,c,g)}}else{pi(4,i,s);try{s.call(i)}finally{pi(5,i,s)}}}}}(e,t),function xD(e,t){const n=e.cleanup,r=t[Kr];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const o=n[s+3];o>=0?r[o]():r[-o].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[Kr]=null);const i=t[qr];if(null!==i){t[qr]=null;for(let s=0;s<i.length;s++)(0,i[s])()}}(e,t),1===t[Ae].type&&t[st].destroy();const n=t[ur];if(null!==n&&Tn(t[Vt])){n!==t[Vt]&&Wf(n,t);const r=t[lr];null!==r&&r.detachView(e)}!function vD(e){Hl.delete(e[yr])}(t)}}function Kl(e,t,n){return function Kf(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[Zt];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===_t.None||s===_t.Emulated)return null}return fr(r,n)}}(e,t.parent,n)}function ks(e,t,n,r,i){e.insertBefore(t,n,r,i)}function qf(e,t,n){e.appendChild(t,n)}function Yf(e,t,n,r,i){null!==r?ks(e,t,n,r,i):qf(e,t,n)}function vu(e,t){return e.parentNode(t)}function Qf(e,t,n){return Xf(e,t,n)}let ql,_u,Xl,Cu,Xf=function Zf(e,t,n){return 40&e.type?fr(e,n):null};function Du(e,t,n,r){const i=Kl(e,r,t),s=t[st],c=Qf(r.parent||t[In],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)Yf(s,i,n[g],c,!1);else Yf(s,i,n,c,!1);void 0!==ql&&ql(s,r,t,n,i)}function oa(e,t){if(null!==t){const n=t.type;if(3&n)return fr(t,e);if(4&n)return Yl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return oa(e,r);{const i=e[t.index];return Tn(i)?Yl(-1,i):an(i)}}if(32&n)return Vl(t,e)()||an(e[t.index]);{const r=eh(e,t);return null!==r?Array.isArray(r)?r[0]:oa(sa(e[jt]),r):oa(e,t.next)}}return null}function eh(e,t){return null!==t?e[jt][In].projection[t.projection]:null}function Yl(e,t){const n=yn+e+1;if(n<t.length){const r=t[n],i=r[Ae].firstChild;
1if(null!==i)return oa(r,i)}return t[dr]}function Ql(e,t,n,r,i,s,o){for(;null!=n;){const c=r[n.index],g=n.type;if(o&&0===t&&(c&&wr(an(c),r),n.flags|=2),32!=(32&n.flags))if(8&g)Ql(e,t,n.child,r,i,s,!1),lo(t,e,i,c,s);else if(32&g){const E=Vl(n,r);let S;for(;S=E();)lo(t,e,i,S,s);lo(t,e,i,c,s)}else 16&g?nh(e,t,r,n,i,s):lo(t,e,i,c,s);n=o?n.projectionNext:n.next}}function aa(e,t,n,r,i,s){Ql(n,r,e.firstChild,t,i,s,!1)}function nh(e,t,n,r,i,s){const o=n[jt],g=o[In].projection[r.projection];if(Array.isArray(g))for(let E=0;E<g.length;E++)lo(t,e,i,g[E],s);else{let E=g;const S=o[Vt];fu(r)&&(E.flags|=128),Ql(e,t,E,S,i,s,!0)}}function rh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ih(e,t,n){const{mergedAttrs:r,classes:i,styles:s}=n;null!==r&&jr(e,t,r),null!==i&&rh(e,t,i),null!==s&&function BD(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}function co(e){return function Zl(){if(void 0===_u&&(_u=null,xt.trustedTypes))try{_u=xt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _u}()?.createHTML(e)||e}function GD(e){Xl=e}function fo(){if(void 0!==Xl)return Xl;if(typeof document<"u")return document;throw new Me(210,!1)}function Jl(){if(void 0===Cu&&(Cu=null,xt.trustedTypes))try{Cu=xt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Cu}function sh(e){return Jl()?.createHTML(e)||e}function ah(e){return Jl()?.createScriptURL(e)||e}class uh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ht})`}}function Es(e){return e instanceof uh?e.changingThisBreaksApplicationSecurity:e}function ua(e,t){const n=function ZD(e){return e instanceof uh&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ht})`)}return n===t}class XD{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(co(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class JD{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=co(t),n}}const tE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ec(e){return(e=String(e)).match(tE)?e:"unsafe:"+e}function is(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function la(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const ch=is("area,br,col,hr,img,wbr"),dh=is("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),fh=is("rp,rt"),tc=la(ch,la(dh,is("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")),la(fh,is("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")),la(fh,dh)),nc=is("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hh=la(nc,is("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"),is("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")),nE=is("script,style,template");class rE{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(!tc.hasOwnProperty(n))return this.sanitizedSomething=!0,!nE.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,c=o.toLowerCase();if(!hh.hasOwnProperty(c)){this.sanitizedSomething=!0;continue}let g=s.value;nc[c]&&(g=ec(g)),this.buf.push(" ",o,'="',ph(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();tc.hasOwnProperty(n)&&!ch.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ph(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 iE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sE=/([^\#-~ |!])/g;function ph(e){return e.replace(/&/g,"&amp;").replace(iE,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(sE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let wu;
1function rc(e){return"content"in e&&function aE(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ho=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ho||{});function gh(e){const t=ca();return t?sh(t.sanitize(ho.HTML,e)||""):ua(e,"HTML")?sh(Es(e)):function oE(e,t){let n=null;try{wu=wu||function lh(e){const t=new JD(e);return function eE(){try{return!!(new window.DOMParser).parseFromString(co(""),"text/html")}catch{return!1}}()?new XD(t):t}(e);let r=t?String(t):"";n=wu.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=wu.getInertBodyElement(r)}while(r!==s);return co((new rE).sanitizeChildren(rc(n)||n))}finally{if(n){const r=rc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(fo(),Be(e))}function ic(e){const t=ca();return t?t.sanitize(ho.URL,e)||"":ua(e,"URL")?Es(e):ec(Be(e))}function mh(e){const t=ca();if(t)return ah(t.sanitize(ho.RESOURCE_URL,e)||"");if(ua(e,"ResourceURL"))return ah(Es(e));throw new Me(904,!1)}function yh(e,t,n){return function fE(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?mh:ic}(t,n)(e)}function ca(){const e=Ce();return e&&e[Pr].sanitizer}const da=new Et("ENVIRONMENT_INITIALIZER"),vh=new Et("INJECTOR",-1),Dh=new Et("INJECTOR_DEF_TYPES");class sc{get(t,n=Fe){if(n===Fe){const r=new Error(`NullInjectorError: No provider for ${z(t)}!`);throw r.name="NullInjectorError",r}return n}}function oc(e){return{\u0275providers:e}}function hE(...e){return{\u0275providers:Eh(0,e),\u0275fromNgModule:!0}}function Eh(e,...t){const n=[],r=new Set;let i;const s=o=>{n.push(o)};return so(t,o=>{const c=o;bu(c,s,[],r)&&(i||=[],i.push(c))}),void 0!==i&&_h(i,s),n}function _h(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];ac(i,s=>{t(s,r)})}}function bu(e,t,n,r){if(!(e=ue(e)))return!1;let i=null,s=sr(e);const o=!s&&It(e);if(s||o){if(o&&!o.standalone)return!1;i=e}else{const g=e.ngModule;if(s=sr(g),!s)return!1;i=g}const c=r.has(i);if(o){if(c)return!1;if(r.add(i),o.dependencies){const g="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const E of g)bu(E,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!c){let E;r.add(i);try{so(s.imports,S=>{bu(S,t,n,r)&&(E||=[],E.push(S))})}finally{}void 0!==E&&_h(E,t)}if(!c){const E=y(i)||(()=>new i);t({provide:i,useFactory:E,deps:gt},i),t({provide:Dh,useValue:i,multi:!0},i),t({provide:da,useValue:()=>be(i),multi:!0},i)}const g=s.providers;if(null!=g&&!c){const E=e;ac(g,S=>{t(S,E)})}}}return i!==e&&void 0!==e.providers}function ac(e,t){for(let n of e)Ze(n)&&(n=n.\u0275providers),Array.isArray(n)?ac(n,t):t(n)}const pE=$e({provide:String,useValue:$e});function uc(e){return null!==e&&"object"==typeof e&&pE in e}function js(e){return"function"==typeof e}const lc=new Et("Set Injector scope."),Su={},mE={};let cc;function Mu(){return void 0===cc&&(cc=new sc),cc}class Hi{}class po extends Hi{get destroyed(){return this._destroyed}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,fc(t,o=>this.processProvider(o)),this.records.set(vh,go(void 0,this)),i.has("environment")&&this.records.set(Hi,go(void 0,this));const s=this.records.get(lc);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Dh.multi,gt,Ve.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=H(this),r=dn(void 0);try{return t()}finally{H(n),dn(r)}}get(t,n=Fe,r=Ve.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ni))return t[ni](this);r=Wt(r);const s=H(this),o=dn(void 0);try{if(!(r&Ve.SkipSelf)){let g=this.records.get(t);if(void 0===g){const E=function _E(e){return"function"==typeof e||"object"==typeof e&&e instanceof Et}(t)&&wn(t);g=E&&this.injectableDefInScope(E)?go(dc(t),Su):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&Ve.Self?Mu():this.parent).get(t,n=r&Ve.Optional&&n===Fe?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[kt]=c[kt]||[]).unshift(z(t)),s)throw c;return function Mn(e,t,n,r){const i=e[kt];throw t[Vn]&&i.unshift(t[Vn]),e.message=function Ln(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=z(t);if(Array.isArray(t))i=t.map(z).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let c=t[o];
1s.push(o+":"+("string"==typeof c?JSON.stringify(c):z(c)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(pn,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[kt]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{dn(o),H(s)}}resolveInjectorInitializers(){const t=H(this),n=dn(void 0);try{const i=this.get(da.multi,gt,Ve.Self);for(const s of i)s()}finally{H(t),dn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(z(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Me(205,!1)}processProvider(t){let n=js(t=ue(t))?t:ue(t&&t.provide);const r=function vE(e){return uc(e)?go(void 0,e.useValue):go(bh(e),Su)}(t);if(js(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=go(void 0,Su,!0),i.factory=()=>ot(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Su&&(n.value=mE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function EE(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=ue(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function dc(e){const t=wn(e),n=null!==t?t.factory:y(e);if(null!==n)return n;if(e instanceof Et)throw new Me(204,!1);if(e instanceof Function)return function yE(e){const t=e.length;if(t>0)throw na(t,"?"),new Me(204,!1);
1const n=function Fr(e){return e&&(e[nn]||e[cn])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Me(204,!1)}function bh(e,t,n){let r;if(js(e)){const i=ue(e);return y(i)||dc(i)}if(uc(e))r=()=>ue(e.useValue);else if(function wh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ot(e.deps||[]));else if(function Ch(e){return!(!e||!e.useExisting)}(e))r=()=>be(ue(e.useExisting));else{const i=ue(e&&(e.useClass||e.provide));if(!function DE(e){return!!e.deps}(e))return y(i)||dc(i);r=()=>new i(...ot(e.deps))}return r}function go(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function fc(e,t){for(const n of e)Array.isArray(n)?fc(n,t):n&&Ze(n)?fc(n.\u0275providers,t):t(n)}const Sh=new Et("AppId",{providedIn:"root",factory:()=>CE}),CE="ng",Mh=new Et("Platform Initializer"),hc=new Et("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),wE=new Et("AnimationModuleType"),bE=new Et("CSP nonce",{providedIn:"root",factory:()=>fo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ih=(e,t,n)=>null;function _c(e,t,n=!1){return Ih(e,t,n)}class xE{}class Ph{}class LE{resolveComponentFactory(t){throw function FE(e){const t=Error(`No component factory found for ${z(e)}.`);return t.ngComponent=e,t}(t)}}let Nu=(()=>{class e{static#e=this.NULL=new LE}return e})();function kE(){return vo(Yn(),Ce())}function vo(e,t){return new pa(fr(e,t))}let pa=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=kE}return e})();function jE(e){return e instanceof pa?e.nativeElement:e}class Nh{}let HE=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function $E(){const e=Ce(),n=_r(Yn().index,e);return(Kn(n)?n:e)[st]}()}return e})(),BE=(()=>{class e{static#e=this.\u0275prov=Yt({token:e,providedIn:"root",factory:()=>null})}return e})();class Oh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const UE=new Oh("16.2.12"),bc={};function kh(e,t=null,n=null,r){const i=jh(e,t,n,r);return i.resolveInjectorInitializers(),i}function jh(e,t=null,n=null,r,i=new Set){const s=[n||gt,hE(e)];return r=r||("object"==typeof e?void 0:z(e)),new po(s,t||Mu(),r||null,i)}let Mi=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Fe;static#t=this.NULL=new sc;static create(n,r){if(Array.isArray(n))return kh({name:""},r,n,"");{const i=n.name??"";return kh({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=Yt({token:e,providedIn:"any",factory:()=>be(vh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Mc(e){return e.ngOriginalError}class _s{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&&Mc(t);for(;n&&Mc(n);)n=Mc(n);return n||null}}let Ou=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=YE;static#t=this.__NG_ENV_ID__=n=>n}return e})();class qE extends Ou{constructor(t){super(),this._lView=t}onDestroy(t){return Va(this._lView,t),()=>function Zd(e,t){if(null===e[qr])return;const n=e[qr].indexOf(t);-1!==n&&e[qr].splice(n,1)}(this._lView,t)}}function YE(){return new qE(Ce())}function Ic(e){return t=>{setTimeout(e,void 0,t)}}const $i=class QE extends m.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=Ic(s),i&&(i=Ic(i)),o&&(o=Ic(o)));const c=super.subscribe({next:i,error:s,complete:o});return t instanceof Z.w0&&t.add(c),c}};function $h(...e){}class ir{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new $i(!1),this.onMicrotaskEmpty=new $i(!1),this.onStable=new $i(!1),this.onError=new $i(!1),typeof Zone>"u")throw new Me(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,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 ZE(){const e="function"==typeof xt.requestAnimationFrame;let t=xt[e?"requestAnimationFrame":"setTimeout"],n=xt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function e_(e){const t=()=>{!function JE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(xt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ac(e),e.isCheckStableRunning=!0,Tc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ac(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,c)=>{if(function n_(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(c))return n.invokeTask(i,s,o,c);try{return Bh(e),n.invokeTask(i,s,o,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Uh(e)}},onInvoke:(n,r,i,s,o,c,g)=>{try{return Bh(e),n.invoke(i,s,o,c,g)}
1finally{e.shouldCoalesceRunChangeDetection&&t(),Uh(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Ac(e),Tc(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(!ir.isInAngularZone())throw new Me(909,!1)}static assertNotInAngularZone(){if(ir.isInAngularZone())throw new Me(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,XE,$h,$h);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 XE={};function Tc(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 Ac(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Bh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Uh(e){e._nesting--,Tc(e)}class t_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new $i,this.onMicrotaskEmpty=new $i,this.onStable=new $i,this.onError=new $i}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 Vh=new Et("",{providedIn:"root",factory:zh});function zh(){const e=_e(ir);let t=!0;return function ce(...e){const t=(0,ne.yG)(e),n=(0,ne._6)(e,1/0),r=e;return r.length?1===r.length?(0,ae.Xf)(r[0]):(0,$.J)(n)((0,ge.D)(r,t)):ie.E}(new B.y(i=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(t),i.complete()})}),new B.y(i=>{let s;e.runOutsideAngular(()=>{s=e.onStable.subscribe(()=>{ir.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,i.next(!0))})})});const o=e.onUnstable.subscribe(()=>{ir.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{s.unsubscribe(),o.unsubscribe()}}).pipe((0,pe.B)()))}function Gh(e){return e.ownerDocument.defaultView}function Wh(e){return e.ownerDocument}function ss(e){return e instanceof Function?e():e}let Pc=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=Yt({token:e,providedIn:"root",factory:()=>new e})}return e})();function ga(e){for(;e;){e[at]|=64;const t=sa(e);if(Kt(e)&&!t)return e;e=t}return null}const Zh=new Et("",{providedIn:"root",factory:()=>!1});let Fu=null;function tp(e,t){return e[t]??ip()}function np(e,t){const n=ip();n.producerNode?.length&&(e[t]=Fu,n.lView=e,Fu=rp())}const c_={...Oe,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ga(e.lView)},lView:null};function rp(){return Object.create(c_)}function ip(){return Fu??=rp(),Fu}const St={};function sp(e){op(Gt(),Ce(),xn()+e,!1)}function op(e,t,n,r){if(!r)if(3==(3&t[at])){const s=e.preOrderCheckHooks;null!==s&&Xa(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Ja(t,s,0,n)}rs(n)}function _o(e,t=Ve.Default){const n=Ce();return null===n?be(e,t):pf(Yn(),n,ue(e),t)}function ap(){throw new Error("invalid")}function Lu(e,t,n,r,i,s,o,c,g,E,S){const R=t.blueprint.slice();return R[Zt]=i,R[at]=140|r,(null!==E||e&&2048&e[at])&&(R[at]|=2048),zo(R),R[Vt]=R[ar]=e,R[tn]=n,R[Pr]=o||e&&e[Pr],R[st]=c||e&&e[st],R[Ar]=g||e&&e[Ar]||null,R[In]=s,R[yr]=function mD(){return gD++}(),R[cr]=S,R[ms]=E,R[jt]=2==t.type?e[jt]:R,R}function Co(e,t,n,r,i){let s=e.data[t];if(null===s)s=function Rc(e,t,n,r,i){const s=qa(),o=qo(),g=e.data[t]=function v_(e,t,n,r,i,s){let o=t?t.injectorIndex:-1,
1c=0;return Ns()&&(c|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,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.prev=s)),g}(e,t,n,r,i),function tf(){return dt.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const o=function Os(){const e=dt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return yi(s,!0),s}function ma(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 up(e,t,n,r,i){const s=tp(t,Oi),o=xn(),c=2&r;try{rs(-1),c&&t.length>bt&&op(e,t,bt,!1),pi(c?2:0,i);const E=c?s:null,S=zt(E);try{null!==E&&(E.dirty=!1),n(r,i)}finally{sn(E,S)}}finally{c&&null===t[Oi]&&np(t,Oi),rs(o),pi(c?3:1,i)}}function Nc(e,t,n){if(fi(t)){const r=oe(null);try{const s=t.directiveEnd;for(let o=t.directiveStart;o<s;o++){const c=e.data[o];c.contentQueries&&c.contentQueries(1,n[o],o)}}finally{oe(r)}}}function Oc(e,t,n){Ga()&&(function S_(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;Yr(n)&&function N_(e,t,n){const r=fr(t,e),i=lp(n);let o=16;n.signals?o=4096:n.onPush&&(o=64);const c=ku(e,Lu(e,i,null,o,r,t,null,e[Pr].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=c}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||tu(n,t),wr(r,t);const o=n.initialInputs;for(let c=i;c<s;c++){const g=e.data[c],E=Ls(t,e,c,n);wr(E,t),null!==o&&O_(0,c-i,E,g,0,o),$n(g)&&(_r(n.index,t)[tn]=Ls(t,e,c,n))}}(e,t,n,fr(n,t)),64==(64&n.flags)&&pp(e,t,n))}function xc(e,t,n=fr){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],c=-1===o?n(t,e):e[o];e[i++]=c}}}function lp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Fc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Fc(e,t,n,r,i,s,o,c,g,E,S){const R=bt+r,U=R+i,Y=function f_(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:St);return n}(R,U),fe="function"==typeof E?E():E;return Y[Ae]={type:e,blueprint:Y,template:n,queries:null,viewQuery:c,declTNode:t,data:Y.slice().fill(null,R),bindingStartIndex:R,expandoStartIndex:U,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:fe,incompleteFirstPass:!1,ssrId:S}}let cp=e=>null;function dp(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const s=e[i];null===r?fp(n,t,i,s):r.hasOwnProperty(i)&&fp(n,t,r[i],s)}return n}function fp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function ei(e,t,n,r,i,s,o,c){const g=fr(t,n);let S,E=t.inputs;!c&&null!=E&&(S=E[r])?($c(e,n,S,r,i),Yr(t)&&function __(e,t){const n=_r(t,e);16&n[at]||(n[at]|=64)}(n,t.index)):3&t.type&&(r=function E_(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 Lc(e,t,n,r){if(Ga()){const i=null===r?null:{"":-1},s=function I_(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s<n.length;s++){const o=n[s];if(Ri(t,o.selectors,!1))if(r||(r=[]),$n(o))if(null!==o.findHostDirectiveDefs){const c=[];i=i||new Map,o.findHostDirectiveDefs(o,c,i),r.unshift(...c,o),kc(e,t,c.length)}else r.unshift(o),kc(e,t,0);else i=i||new Map,o.findHostDirectiveDefs?.(o,r,i),r.push(o)}return null===r?null:[r,i]}(e,n);let o,c;null===s?o=c=null:[o,c]=s,null!==o&&hp(e,t,n,o,i,c),i&&function T_(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 Me(-301,!1);r.push(t[i],s)}}}(n,r,i)}n.mergedAttrs=ii(n.mergedAttrs,n.attrs)}function hp(e,t,n,r,i,s){for(let E=0;E<r.length;E++)Pl(tu(n,t),e,r[E].type);!function P_(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t
1+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let E=0;E<r.length;E++){const S=r[E];S.providersResolver&&S.providersResolver(S)}let o=!1,c=!1,g=ma(e,t,r.length,null);for(let E=0;E<r.length;E++){const S=r[E];n.mergedAttrs=ii(n.mergedAttrs,S.hostAttrs),R_(e,n,t,g,S),A_(g,S,i),null!==S.contentQueries&&(n.flags|=4),(null!==S.hostBindings||null!==S.hostAttrs||0!==S.hostVars)&&(n.flags|=64);const R=S.type.prototype;!o&&(R.ngOnChanges||R.ngOnInit||R.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),o=!0),!c&&(R.ngOnChanges||R.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),c=!0),g++}!function D_(e,t,n){const i=t.directiveEnd,s=e.data,o=t.attrs,c=[];let g=null,E=null;for(let S=t.directiveStart;S<i;S++){const R=s[S],U=n?n.get(R):null,fe=U?U.outputs:null;g=dp(R.inputs,S,g,U?U.inputs:null),E=dp(R.outputs,S,E,fe);const Se=null===g||null===o||si(t)?null:x_(g,S,o);c.push(Se)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=c,t.inputs=g,t.outputs=E}(e,n,s)}function pp(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,o=function a(){return dt.lFrame.currentDirectiveIndex}();try{rs(s);for(let c=r;c<i;c++){const g=e.data[c],E=t[c];p(c),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&M_(g,E)}}finally{rs(-1),p(o)}}function M_(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function kc(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function A_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;$n(t)&&(n[""]=e)}}function R_(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=y(i.type)),o=new Zo(s,$n(i),_o);e.blueprint[r]=o,n[r]=o,function w_(e,t,n,r,i){const s=i.hostBindings;if(s){let o=e.hostBindingOpCodes;null===o&&(o=e.hostBindingOpCodes=[]);const c=~t.index;(function b_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(o)!=c&&o.push(c),o.push(n,r,s)}}(e,t,r,ma(e,n,i.hostVars,St),i)}function Bi(e,t,n,r,i,s){const o=fr(e,t);!function jc(e,t,n,r,i,s,o){if(null==s)e.removeAttribute(t,i,n);else{const c=null==o?Be(s):o(s,r||"",i);e.setAttribute(t,i,c,n)}}(t[st],o,s,e.value,n,r,i)}function O_(e,t,n,r,i,s){const o=s[t];if(null!==o)for(let c=0;c<o.length;)gp(r,n,o[c++],o[c++],o[c++])}function gp(e,t,n,r,i){const s=oe(null);try{const o=e.inputTransforms;null!==o&&o.hasOwnProperty(r)&&(i=o[r].call(t,i)),null!==e.setInput?e.setInput(t,i,n,r):t[r]=i}finally{oe(s)}}function x_(e,t,n){let r=null,i=0;for(;i<n.length;){const s=n[i];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===r&&(r=[]);const o=e[s];for(let c=0;c<o.length;c+=2)if(o[c]===t){r.push(s,o[c+1],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function mp(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function yp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r+1];if(-1!==s){const o=e.data[s];N(n[r]),o.contentQueries(2,t[s],s)}}}function ku(e,t){return e[li]?e[gs][Hn]=t:e[li]=t,e[gs]=t,t}function Hc(e,t,n){N(0);const r=oe(null);try{t(e,n)}finally{oe(r)}}function vp(e){return e[Kr]||(e[Kr]=[])}function Dp(e){return e.cleanup||(e.cleanup=[])}function _p(e,t){const n=e[Ar],r=n?n.get(_s,null):null;r&&r.handleError(t)}function $c(e,t,n,r,i){for(let s=0;s<n.length;){const o=n[s++],c=n[s++];gp(e.data[o],t[o],r,c,i)}}function os(e,t,n){const r=Xs(t,e);!function Gf(e,t,n){e.setValue(t,n)}(e[st],r,n)}function F_(e,t){const n=_r(t,e),r=n[Ae];!function L_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[Zt];null!==i&&null===n[cr]&&(n[cr]=_c(i,n[Ar])),Bc(r,n,n[tn])}function Bc(e,t,n){Ie(t);try{const r=e.viewQuery;null!==r&&Hc(1,r,n);const i=e.template;null!==i&&up(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&yp(e,t),e.staticViewQueries&&Hc(2,e.viewQuery,n);const s=e.components;null!==s&&function k_(e,t){for(let n=0;n<t.length;n++)F_(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[at]&=-5,ns()}}let Cp=(()=>
1{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,i){const s=typeof Zone>"u"?null:Zone.current,o=function zn(e,t,n){const r=Object.create(rr);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=o=>{r.cleanupFn=o};return r.ref={notify:()=>ut(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Cn(r))return;r.hasRun=!0;const o=zt(r);try{r.cleanupFn(),r.cleanupFn=on,r.fn(i)}finally{sn(r,o)}},cleanup:()=>r.cleanupFn()},r.ref}(n,E=>{this.all.has(E)&&this.queue.set(E,s)},i);let c;this.all.add(o),o.notify();const g=()=>{o.cleanup(),c?.(),this.all.delete(o),this.queue.delete(o)};return c=r?.onDestroy(g),{destroy:g}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=Yt({token:e,providedIn:"root",factory:()=>new e})}return e})();function wp(e,t){!t?.injector&&function Sc(e){if(!Lt()&&!function k(){return Q}())throw new Me(-203,!1)}();const n=t?.injector??_e(Mi),r=n.get(Cp),i=!0!==t?.manualCleanup?n.get(Ou):null;return r.create(e,i,!!t?.allowSignalWrites)}function ju(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 c=t[o];"number"==typeof c?s=c:1==s?i=me(i,c):2==s&&(r=me(r,c+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function ya(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];null!==s&&r.push(an(s)),Tn(s)&&bp(s,r);const o=n.type;if(8&o)ya(e,t,n.child,r);else if(32&o){const c=Vl(n,t);let g;for(;g=c();)r.push(g)}else if(16&o){const c=eh(t,n);if(Array.isArray(c))r.push(...c);else{const g=sa(t[jt]);ya(g[Ae],g,c,r,!0)}}n=i?n.projectionNext:n.next}return r}function bp(e,t){for(let n=yn;n<e.length;n++){const r=e[n],i=r[Ae].firstChild;null!==i&&ya(r[Ae],r,i,t)}e[dr]!==e[Zt]&&t.push(e[dr])}function Hu(e,t,n,r=!0){const i=t[Pr],s=i.rendererFactory,o=i.afterRenderEventManager;s.begin?.(),o?.begin();try{Sp(e,t,e.template,n)}catch(g){throw r&&_p(t,g),g}finally{s.end?.(),i.effectManager?.flush(),o?.end()}}function Sp(e,t,n,r){const i=t[at];if(256!=(256&i)){t[Pr].effectManager?.flush(),Ie(t);try{zo(t),function bl(e){return dt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&up(e,t,n,2,r);const o=3==(3&i);if(o){const E=e.preOrderCheckHooks;null!==E&&Xa(t,E,null)}else{const E=e.preOrderHooks;null!==E&&Ja(t,E,0,null),Sl(t,0)}if(function H_(e){for(let t=Uf(e);null!==t;t=Vf(t)){if(!t[ys])continue;const n=t[di];for(let r=0;r<n.length;r++){Qd(n[r])}}}(t),Mp(t,2),null!==e.contentQueries&&yp(e,t),o){const E=e.contentCheckHooks;null!==E&&Xa(t,E)}else{const E=e.contentHooks;null!==E&&Ja(t,E,1),Sl(t,1)}!function d_(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=tp(t,Zi);try{for(let i=0;i<n.length;i++){const s=n[i];if(s<0)rs(~s);else{const o=s,c=n[++i],g=n[++i];h(c,o),r.dirty=!1;const E=zt(r);try{g(2,t[o])}finally{sn(r,E)}}}}finally{null===t[Zi]&&np(t,Zi),rs(-1)}}(e,t);const c=e.components;null!==c&&Tp(t,c,0);const g=e.viewQuery;if(null!==g&&Hc(2,g,r),o){const E=e.viewCheckHooks;null!==E&&Xa(t,E)}else{const E=e.viewHooks;null!==E&&Ja(t,E,2),Sl(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[at]&=-73,Go(t)}finally{ns()}}}function Mp(e,t){for(let n=Uf(e);null!==n;n=Vf(n))for(let r=yn;r<n.length;r++)Ip(n[r],t)}function $_(e,t,n){Ip(_r(t,e),n)}function Ip(e,t){if(!function Yd(e){return 128==(128&e[at])}(e))return;const n=e[Ae],r=e[at];if(80&r&&0===t||1024&r||2===t)Sp(n,e,n.template,e[tn]);else if(e[ui]>0){Mp(e,1);const i=n.components;null!==i&&Tp(e,i,1)}}function Tp(e,t,n){for(let r=0;r<t.length;r++)$_(e,t[r],n)}class va{get rootNodes(){const t=this._lView,n=t[Ae];return ya(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[tn]}set context(t){this._lView[tn]=t}get destroyed(){return 256==(256&this._lView[at])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Vt];if(Tn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(yu(t,r),iu(n,r))}this._attachedToViewContainer=!1}Gl(this._lView[Ae],this._lView)}onDestroy(t){Va(this._lView,t)}markForCheck(){ga(this._cdRefInjectingView||this._lView)}detach(){this._lView[at]&=-129}reattach(){this._lView[at]|=128}detectChanges(){Hu(this._lView[Ae],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Me(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function PD(e,t){aa(e,t,t[st],2,null,null)}(this._lView[Ae],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Me(902,!1);this._appRef=t}}class B_ extends va{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Hu(t[Ae],t,t[tn],!1)}checkNoChanges(){}get context(){return null}}class Ap extends Nu{constructor(t){super(),this.ngModule=t}
1resolveComponentFactory(t){const n=It(t);return new Da(n,this.ngModule)}}function Pp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class V_{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Wt(r);const i=this.injector.get(t,bc,r);return i!==bc||n===bc?i:this.parentInjector.get(t,n,r)}}class Da extends Ph{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Pp(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return Pp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ds(e){return e.map(Ss).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let s=(i=i||this.ngModule)instanceof Hi?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const o=s?new V_(t,s):t,c=o.get(Nh,null);if(null===c)throw new Me(407,!1);const R={rendererFactory:c,sanitizer:o.get(BE,null),effectManager:o.get(Cp,null),afterRenderEventManager:o.get(Pc,null)},U=c.createRenderer(null,this.componentDef),Y=this.componentDef.selectors[0][0]||"div",fe=r?function h_(e,t,n,r){const s=r.get(Zh,!1)||n===_t.ShadowDom,o=e.selectRootElement(t,s);return function p_(e){cp(e)}(o),o}(U,r,this.componentDef.encapsulation,o):mu(U,Y,function U_(e){const t=e.toLowerCase();return"svg"===t?$a:"math"===t?"math":null}(Y)),Je=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let we=null;null!==fe&&(we=_c(fe,o,!0));const mt=Fc(0,null,null,1,0,null,null,null,null,null,null),Nt=Lu(null,mt,null,Je,null,null,R,U,o,null,we);let rn,Gr;Ie(Nt);try{const as=this.componentDef;let Ho,Kd=null;as.findHostDirectiveDefs?(Ho=[],Kd=new Map,as.findHostDirectiveDefs(as,Ho,Kd),Ho.push(as)):Ho=[as];const BS=function G_(e,t){const n=e[Ae],r=bt;return e[r]=t,Co(n,r,2,"#host",null)}(Nt,fe),US=function W_(e,t,n,r,i,s,o){const c=i[Ae];!function K_(e,t,n,r){for(const i of e)t.mergedAttrs=ii(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(ju(t,t.mergedAttrs,!0),null!==n&&ih(r,n,t))}(r,e,t,o);let g=null;null!==t&&(g=_c(t,i[Ar]));const E=s.rendererFactory.createRenderer(t,n);let S=16;n.signals?S=4096:n.onPush&&(S=64);const R=Lu(i,lp(n),null,S,i[e.index],e,s,E,null,null,g);return c.firstCreatePass&&kc(c,e,r.length-1),ku(i,R),i[e.index]=R}(BS,fe,as,Ho,Nt,R,U);Gr=Ua(mt,bt),fe&&function Y_(e,t,n,r){if(r)jr(e,n,["ng-version",UE.full]);else{const{attrs:i,classes:s}=function Wi(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(!Ut(i))break;i=s}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&jr(e,n,i),s&&s.length>0&&rh(e,n,s.join(" "))}}(U,as,fe,r),void 0!==n&&function Q_(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const s=n[i];r.push(null!=s?Array.from(s):null)}}(Gr,this.ngContentSelectors,n),rn=function q_(e,t,n,r,i,s){const o=Yn(),c=i[Ae],g=fr(o,i);hp(c,i,o,n,null,r);for(let S=0;S<n.length;S++)wr(Ls(i,c,o.directiveStart+S,o),i);pp(c,i,o),g&&wr(g,i);const E=Ls(i,c,o.directiveStart+o.componentOffset,o);if(e[tn]=i[tn]=E,null!==s)for(const S of s)S(E,t);return Nc(c,o,e),E}(US,as,Ho,Kd,Nt,[Z_]),Bc(mt,Nt,null)}finally{ns()}return new z_(this.componentType,rn,vo(Gr,Nt),Nt,Gr)}}class z_ extends xE{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new B_(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;$c(s[Ae],s,i,t,n),this.previousInputValues.set(t,n),ga(_r(this._tNode.index,s))}}get injector(){return new Nr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Z_(){const e=Yn();Za(Ce()[Ae],e)}function Uc(e){let t=function Rp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if($n(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Me(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const o=e;
1o.inputs=$u(e.inputs),o.inputTransforms=$u(e.inputTransforms),o.declaredInputs=$u(e.declaredInputs),o.outputs=$u(e.outputs);const c=i.hostBindings;c&&tC(e,c);const g=i.viewQuery,E=i.contentQueries;if(g&&J_(e,g),E&&eC(e,E),je(e.inputs,i.inputs),je(e.declaredInputs,i.declaredInputs),je(e.outputs,i.outputs),null!==i.inputTransforms&&(null===o.inputTransforms&&(o.inputTransforms={}),je(o.inputTransforms,i.inputTransforms)),$n(i)&&i.data.animation){const S=e.data;S.animation=(S.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o<s.length;o++){const c=s[o];c&&c.ngInherit&&c(e),c===Uc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function X_(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=ii(i.hostAttrs,n=ii(n,i.hostAttrs))}}(r)}function $u(e){return e===Tt?{}:e===gt?[]:e}function J_(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function eC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function tC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Fp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}e.inputTransforms=n}function Bu(e){return!!Vc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Vc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ui(e,t,n){return e[t]=n}function Ea(e,t){return e[t]}function br(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Hs(e,t,n,r){const i=br(e,t,n);return br(e,t+1,r)||i}function Uu(e,t,n,r,i){const s=Hs(e,t,n,r);return br(e,t+2,i)||s}function Ei(e,t,n,r,i,s){const o=Hs(e,t,n,r);return Hs(e,t+2,i,s)||o}function zc(e,t,n,r){const i=Ce();return br(i,xs(),t)&&(Gt(),Bi(Pn(),i,e,t,n,r)),zc}function bo(e,t,n,r){return br(e,xs(),n)?t+Be(n)+r:St}function So(e,t,n,r,i,s){const c=Hs(e,Li(),n,i);return ki(2),c?t+Be(n)+r+Be(i)+s:St}function qp(e,t,n,r,i,s,o,c){const g=Ce(),E=Gt(),S=e+bt,R=E.firstCreatePass?function MC(e,t,n,r,i,s,o,c,g){const E=t.consts,S=Co(t,e,4,o||null,gi(E,c));Lc(t,n,S,gi(E,g)),Za(t,S);const R=S.tView=Fc(2,S,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E,null);return null!==t.queries&&(t.queries.template(t,S),R.queries=t.queries.embeddedTView(S)),S}(S,E,g,t,n,r,i,s,o):E.data[S];yi(R,!1);const U=Yp(E,g,R,e);Qa()&&Du(E,g,U,R),wr(U,g),ku(g,g[S]=mp(U,g,U,R)),Xi(R)&&Oc(E,g,R),null!=o&&xc(g,R,c)}let Yp=function Qp(e,t,n,r){return Ds(!0),t[st].createComment("")};function Zp(e){return vs(function Cl(){return dt.lFrame.contextLView}(),bt+e)}function Qc(e,t,n){const r=Ce();return br(r,xs(),t)&&ei(Gt(),Pn(),r,e,t,r[st],n,!1),Qc}function Zc(e,t,n,r,i){const o=i?"class":"style";$c(e,n,t.inputs[o],o,r)}function Wu(e,t,n,r){const i=Ce(),s=Gt(),o=bt+e,c=i[st],g=s.firstCreatePass?function PC(e,t,n,r,i,s){const o=t.consts,g=Co(t,e,2,r,gi(o,i));return Lc(t,n,g,gi(o,s)),null!==g.attrs&&ju(g,g.attrs,!1),null!==g.mergedAttrs&&ju(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(o,s,i,t,n,r):s.data[o],E=Xp(s,i,g,c,t,e);i[o]=E;const S=Xi(g);return yi(g,!0),ih(c,E,g),32!=(32&g.flags)&&Qa()&&Du(s,i,E,g),0===function za(){return dt.lFrame.elementDepthCount}()&&wr(E,i),function Wo(){dt.lFrame.elementDepthCount++}(),S&&(Oc(s,i,g),Nc(s,g,i)),null!==r&&xc(i,g),Wu}function Ku(){let e=Yn();qo()?Yo():(e=e.parent,yi(e,!1));const t=e;(function Wa(e){return dt.skipHydrationRootTNode===e})(t)&&function ef(){dt.skipHydrationRootTNode=null}(),function El(){dt.lFrame.elementDepthCount--}();const n=Gt();return n.firstCreatePass&&(Za(n,e),fi(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Tv(e){return 0!=(8&e.flags)}(t)&&Zc(n,t,Ce(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Av(e){return 0!=(16&e.flags)}(t)&&Zc(n,t,Ce(),t.stylesWithoutHost,!1),Ku}function Xc(e,t,n,r){return Wu(e,t,n,r),Ku(),Xc}let Xp=(e,t,n,r,i,s)=>(Ds(!0),mu(r,i,function rf(){return dt.lFrame.currentNamespace}()));function qu(e,t,n){const r=Ce(),i=Gt(),s=e+bt,o=i.firstCreatePass?function OC(e,t,n,r,i){const s=t.consts,o=gi(s,r),c=Co(t,e,8,"ng-container",o);return null!==o&&ju(c,o,!0),Lc(t,n,c,gi(s,i)),null!==t.queries&&t.queries.elementStart(t,c),c}
1(s,i,r,t,n):i.data[s];yi(o,!0);const c=Jp(i,r,o,e);return r[s]=c,Qa()&&Du(i,r,c,o),wr(c,r),Xi(o)&&(Oc(i,r,o),Nc(i,o,r)),null!=n&&xc(r,o),qu}function Yu(){let e=Yn();const t=Gt();return qo()?Yo():(e=e.parent,yi(e,!1)),t.firstCreatePass&&(Za(t,e),fi(e)&&t.queries.elementEnd(e)),Yu}function Jc(e,t,n){return qu(e,t,n),Yu(),Jc}let Jp=(e,t,n,r)=>(Ds(!0),zl(t[st],""));function eg(){return Ce()}function ed(e){return!!e&&"function"==typeof e.then}function tg(e){return!!e&&"function"==typeof e.subscribe}function td(e,t,n,r){const i=Ce(),s=Gt(),o=Yn();return function rg(e,t,n,r,i,s,o){const c=Xi(r),E=e.firstCreatePass&&Dp(e),S=t[tn],R=vp(t);let U=!0;if(3&r.type||o){const Se=fr(r,t),Le=o?o(Se):Se,Je=R.length,we=o?Nt=>o(an(Nt[r.index])):r.index;let mt=null;if(!o&&c&&(mt=function LC(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 c=t[Kr],g=i[s+2];return c.length>g?c[g]:null}"string"==typeof o&&(s+=2)}return null}(e,t,i,r.index)),null!==mt)(mt.__ngLastListenerFn__||mt).__ngNextListenerFn__=s,mt.__ngLastListenerFn__=s,U=!1;else{s=sg(r,t,S,s,!1);const Nt=n.listen(Le,i,s);R.push(s,Nt),E&&E.push(i,we,Je,Je+1)}}else s=sg(r,t,S,s,!1);const Y=r.outputs;let fe;if(U&&null!==Y&&(fe=Y[i])){const Se=fe.length;if(Se)for(let Le=0;Le<Se;Le+=2){const rn=t[fe[Le]][fe[Le+1]].subscribe(s),Gr=R.length;R.push(s,rn),E&&E.push(i,r.index,Gr,-(Gr+1))}}}(s,i,i[st],o,e,t,r),td}function ig(e,t,n,r){try{return pi(6,t,n),!1!==n(r)}catch(i){return _p(e,i),!1}finally{pi(7,t,n)}}function sg(e,t,n,r,i){return function s(o){if(o===Function)return r;ga(e.componentOffset>-1?_r(e.index,t):t);let g=ig(t,n,r,o),E=s.__ngNextListenerFn__;for(;E;)g=ig(t,n,E,o)&&g,E=E.__ngNextListenerFn__;return i&&!1===g&&o.preventDefault(),g}}function og(e=1){return function Fs(e){return(dt.lFrame.contextLView=function Qo(e,t){for(;e>0;)t=t[ar],e--;return t}(e,dt.lFrame.contextLView))[tn]}(e)}function kC(e,t){let n=null;const r=function bs(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?Ri(e,s,!0):Gs(r,s))return i}else n=i}return n}function ag(e){const t=Ce()[jt][In];if(!t.projection){const r=t.projection=na(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const o=e?kC(s,e):0;null!==o&&(i[o]?i[o].projectionNext=s:r[o]=s,i[o]=s),s=s.next}}}function ug(e,t=0,n){const r=Ce(),i=Gt(),s=Co(i,bt+e,16,null,n||null);null===s.projection&&(s.projection=t),Yo(),(!r[cr]||Ns())&&32!=(32&s.flags)&&function jD(e,t,n){nh(t[st],0,t,n,Kl(e,n,t),Qf(n.parent||t[In],n,t))}(i,r,s)}function nd(e,t,n){return Qu(e,"",t,"",n),nd}function Qu(e,t,n,r,i){const s=Ce(),o=bo(s,t,n,r);return o!==St&&ei(Gt(),Pn(),s,e,o,s[st],i,!1),Qu}function Zu(e,t){return e<<17|t<<2}function Cs(e){return e>>17&32767}function rd(e){return 2|e}function $s(e){return(131068&e)>>2}function id(e,t){return-131069&e|t<<2}function sd(e){return 1|e}function yg(e,t,n,r,i){const s=e[n+1],o=null===t;
1let c=r?Cs(s):$s(s),g=!1;for(;0!==c&&(!1===g||o);){const S=e[c+1];VC(e[c],t)&&(g=!0,e[c+1]=r?sd(S):rd(S)),c=r?Cs(S):$s(S)}g&&(e[n+1]=r?rd(s):sd(s))}function VC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&oo(e,t)>=0}const Zn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vg(e){return e.substring(Zn.key,Zn.keyEnd)}function zC(e){return e.substring(Zn.value,Zn.valueEnd)}function Dg(e,t){const n=Zn.textEnd;return n===t?-1:(t=Zn.keyEnd=function KC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Zn.key=t,n),No(e,t,n))}function Eg(e,t){const n=Zn.textEnd;let r=Zn.key=No(e,t,n);return n===r?-1:(r=Zn.keyEnd=function qC(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=Cg(e,r,n),r=Zn.value=No(e,r,n),r=Zn.valueEnd=function YC(e,t,n){let r=-1,i=-1,s=-1,o=t,c=o;for(;o<n;){const g=e.charCodeAt(o++);if(59===g)return c;34===g||39===g?c=o=wg(e,g,o,n):t===o-4&&85===s&&82===i&&76===r&&40===g?c=o=wg(e,41,o,n):g>32&&(c=o),s=i,i=r,r=-33&g}return c}
1(e,r,n),Cg(e,r,n))}function _g(e){Zn.key=0,Zn.keyEnd=0,Zn.value=0,Zn.valueEnd=0,Zn.textEnd=e.length}function No(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Cg(e,t,n,r){return(t=No(e,t,n))<n&&t++,t}function wg(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 od(e,t,n){return Ti(e,t,n,!1),od}function ad(e,t){return Ti(e,t,null,!0),ad}function Ii(e){Ai(Ig,QC,e,!1)}function QC(e,t){for(let n=function WC(e){return _g(e),Eg(e,No(e,0,Zn.textEnd))}(t);n>=0;n=Eg(t,n))Ig(e,vg(t),zC(t))}function bg(e){Ai(nw,Vi,e,!0)}function Vi(e,t){for(let n=function GC(e){return _g(e),Dg(e,No(e,0,Zn.textEnd))}(t);n>=0;n=Dg(t,n))Jr(e,vg(t),!0)}function Ti(e,t,n,r){const i=Ce(),s=Gt(),o=ki(2);s.firstUpdatePass&&Mg(s,e,o,r),t!==St&&br(i,o,t)&&Tg(s,s.data[xn()],i,i[st],e,i[o+1]=function iw(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=z(Es(e)))),e}(t,n),r,o)}function Ai(e,t,n,r){const i=Gt(),s=ki(2);i.firstUpdatePass&&Mg(i,null,s,r);const o=Ce();if(n!==St&&br(o,s,n)){const c=i.data[xn()];if(Pg(c,r)&&!Sg(i,s)){let g=r?c.classesWithoutHost:c.stylesWithoutHost;null!==g&&(n=me(g,n||"")),Zc(i,c,o,n,r)}else!function rw(e,t,n,r,i,s,o,c){i===St&&(i=gt);let g=0,E=0,S=0<i.length?i[0]:null,R=0<s.length?s[0]:null;for(;null!==S||null!==R;){const U=g<i.length?i[g+1]:void 0,Y=E<s.length?s[E+1]:void 0;let Se,fe=null;S===R?(g+=2,E+=2,U!==Y&&(fe=R,Se=Y)):null===R||null!==S&&S<R?(g+=2,fe=S):(E+=2,fe=R,Se=Y),null!==fe&&Tg(e,t,n,r,fe,Se,o,c),S=g<i.length?i[g]:null,R=E<s.length?s[E]:null}}(i,c,o,o[st],o[s+1],o[s+1]=function tw(e,t,n){if(null==n||""===n)return gt;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 Sg(e,t){return t>=e.expandoStartIndex}function Mg(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[xn()],o=Sg(e,n);Pg(s,r)&&null===t&&!o&&(t=!1),t=function ZC(e,t,n,r){const i=function D(e){const t=dt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=ba(n=ud(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=ud(i,e,t,n,r),null===s){let g=function XC(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==$s(r))return e[Cs(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=ud(null,e,t,g[1],r),g=ba(g,t.attrs,r),function JC(e,t,n,r){e[Cs(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else s=function ew(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=ba(r,e[s].hostAttrs,n);return ba(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function BC(e,t,n,r,i,s){let o=s?t.classBindings:t.styleBindings,c=Cs(o),g=$s(o);e[r]=n;let S,E=!1;if(Array.isArray(n)?(S=n[1],(null===S||oo(n,S)>0)&&(E=!0)):S=n,i)if(0!==g){const U=Cs(e[c+1]);e[r+1]=Zu(U,c),0!==U&&(e[U+1]=id(e[U+1],r)),e[c+1]=function HC(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=Zu(c,0),0!==c&&(e[c+1]=id(e[c+1],r)),c=r;else e[r+1]=Zu(g,0),0===c?c=r:e[g+1]=id(e[g+1],r),g=r;E&&(e[r+1]=rd(e[r+1])),yg(e,S,r,!0),yg(e,S,r,!1),function UC(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&oo(s,t)>=0&&(n[r+1]=sd(n[r+1]))}(t,S,e,r,s),o=Zu(c,g),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}function ud(e,t,n,r,i){let s=null;const o=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c<o&&(s=t[c],r=ba(r,s.hostAttrs,i),s!==e);)c++;return null!==e&&(n.directiveStylingLast=c),r}function ba(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]),Jr(e,o,!!n||t[++s]))}return void 0===e?null:e}function Ig(e,t,n){Jr(e,t,Es(n))}function nw(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Jr(e,r,n)}function Tg(e,t,n,r,i,s,o,c){if(!(3&t.type))return;const g=e.data,E=g[c+1],S=function $C(e){return 1==(1&e)}(E)?Ag(g,t,n,i,$s(E),o):void 0;Xu(S)||(Xu(s)||function jC(e){return 2==(2&e)}(E)&&(s=Ag(g,null,n,i,c,o)),function $D(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:pu.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=pu.Important),e.setStyle(n,r,i,s))}}(r,o,Xs(xn(),n),i,s))}function Ag(e,t,n,r,i,s){const o=null===t;
1let c;for(;i>0;){const g=e[i],E=Array.isArray(g),S=E?g[1]:g,R=null===S;let U=n[i+1];U===St&&(U=R?gt:void 0);let Y=R?xl(U,r):S===r?U:void 0;if(E&&!Xu(Y)&&(Y=xl(g,r)),Xu(Y)&&(c=Y,o))return c;const fe=e[i+1];i=o?Cs(fe):$s(fe)}if(null!==t){let g=s?t.residualClasses:t.residualStyles;null!=g&&(c=xl(g,r))}return c}function Xu(e){return void 0!==e}function Pg(e,t){return 0!=(e.flags&(t?8:16))}function Rg(e,t=""){const n=Ce(),r=Gt(),i=e+bt,s=r.firstCreatePass?Co(r,i,1,t,null):r.data[i],o=Ng(r,n,s,t,e);n[i]=o,Qa()&&Du(r,n,o,s),yi(s,!1)}let Ng=(e,t,n,r,i)=>(Ds(!0),function gu(e,t){return e.createText(t)}(t[st],r));function ld(e){return Ju("",e,""),ld}function Ju(e,t,n){const r=Ce(),i=bo(r,e,t,n);return i!==St&&os(r,xn(),i),Ju}function cd(e,t,n,r,i){const s=Ce(),o=So(s,e,t,n,r,i);return o!==St&&os(s,xn(),o),cd}function $g(e,t,n){Ai(Jr,Vi,bo(Ce(),e,t,n),!0)}function Bg(e,t,n,r,i){Ai(Jr,Vi,So(Ce(),e,t,n,r,i),!0)}function Ug(e,t,n,r,i,s,o,c,g){Ai(Jr,Vi,function Io(e,t,n,r,i,s,o,c,g,E){const R=Ei(e,Li(),n,i,o,g);return ki(4),R?t+Be(n)+r+Be(i)+s+Be(o)+c+Be(g)+E:St}(Ce(),e,t,n,r,i,s,o,c,g),!0)}const Bs=void 0;var ww=["en",[["a","p"],["AM","PM"],Bs],[["AM","PM"],Bs,Bs],[["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"]],Bs,[["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"]],Bs,[["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}",Bs,"{1} 'at' {0}",Bs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Cw(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Oo={};function dd(e){const t=function bw(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=tm(t);if(n)return n;const r=t.split("-")[0];if(n=tm(r),n)return n;if("en"===r)return ww;throw new Me(701,!1)}function em(e){return dd(e)[xo.PluralCase]}function tm(e){return e in Oo||(Oo[e]=xt.ng&&xt.ng.common&&xt.ng.common.locales&&xt.ng.common.locales[e]),Oo[e]}var xo=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(xo||{});const Fo="en-US";let nm=Fo;function pd(e,t,n,r,i){if(e=ue(e),Array.isArray(e))for(let s=0;s<e.length;s++)pd(e[s],t,n,r,i);else{const s=Gt(),o=Ce(),c=Yn();let g=js(e)?e:ue(e.provide);const E=bh(e),S=1048575&c.providerIndexes,R=c.directiveStart,U=c.providerIndexes>>20;if(js(e)||!e.multi){const Y=new Zo(E,i,_o),fe=md(g,t,i?S:S+U,R);-1===fe?(Pl(tu(c,o),s,g),gd(s,e,t.length),t.push(g),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(Y),o.push(Y)):(n[fe]=Y,o[fe]=Y)}else{const Y=md(g,t,S+U,R),fe=md(g,t,S,S+U),Le=fe>=0&&n[fe];if(i&&!Le||!i&&!(Y>=0&&n[Y])){Pl(tu(c,o),s,g);const Je=function w0(e,t,n,r,i){const s=new Zo(e,n,_o);return s.multi=[],s.index=t,s.componentProviders=0,Im(s,i,r&&!n),s}(i?C0:_0,n.length,i,r,E);!i&&Le&&(n[fe].providerFactory=Je),gd(s,e,t.length,0),t.push(g),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(Je),o.push(Je)}else gd(s,e,Y>-1?Y:fe,Im(n[i?fe:Y],E,!i&&r));!i&&r&&Le&&n[fe].componentProviders++}}}function gd(e,t,n,r){const i=js(t),s=function gE(e){return!!e.useClass}(t);if(i||s){const g=(s?ue(t.useClass):t).prototype.ngOnDestroy;if(g){const E=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const S=E.indexOf(n);-1===S?E.push(n,[r,g]):E[S+1].push(r,g)}else E.push(n,g)}}}function Im(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function md(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function _0(e,t,n,r){return yd(this.multi,[])}function C0(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const o=this.providerFactory.componentProviders,c=Ls(n,n[Ae],this.providerFactory.index,r);s=c.slice(0,o),yd(i,s);for(let g=o;g<c.length;g++)s.push(c[g])}else s=[],yd(i,s);return s}function yd(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Tm(e,t=[]){return n=>{n.providersResolver=(r,i)=>function E0(e,t,n){const r=Gt();if(r.firstCreatePass){const i=$n(e);pd(n,r.data,r.blueprint,i,!0),pd(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Us{}class Am{}function b0(e,t){return new vd(e,t??null,[])}class vd extends Us{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ap(this);const i=_n(t);this._bootstrapComponents=ss(i.bootstrap),this._r3Injector=jh(t,n,[{provide:Us,useValue:this},{provide:Nu,useValue:this.componentFactoryResolver},...r],z(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializer
1s(),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 Dd extends Am{constructor(t){super(),this.moduleType=t}create(t){return new vd(this.moduleType,t,[])}}class Pm extends Us{constructor(t){super(),this.componentFactoryResolver=new Ap(this),this.instance=null;const n=new po([...t.providers,{provide:Us,useValue:this},{provide:Nu,useValue:this.componentFactoryResolver}],t.parent||Mu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Rm(e,t,n=null){return new Pm({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let M0=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Eh(0,n.type),i=r.length>0?Rm([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Yt({token:e,providedIn:"environment",factory:()=>new e(be(Hi))})}return e})();function Nm(e){e.getStandaloneInjector=t=>t.get(M0).getOrCreateStandaloneInjector(e)}function Hm(e,t,n){const r=Cr()+e,i=Ce();return i[r]===St?Ui(i,r,n?t.call(n):t()):Ea(i,r)}function $m(e,t,n,r){return qm(Ce(),Cr(),e,t,n,r)}function Bm(e,t,n,r,i){return Ym(Ce(),Cr(),e,t,n,r,i)}function Um(e,t,n,r,i,s){return Qm(Ce(),Cr(),e,t,n,r,i,s)}function Vm(e,t,n,r,i,s,o){return function Zm(e,t,n,r,i,s,o,c,g){const E=t+n;return Ei(e,E,i,s,o,c)?Ui(e,E+4,g?r.call(g,i,s,o,c):r(i,s,o,c)):Pa(e,E+4)}(Ce(),Cr(),e,t,n,r,i,s,o)}function zm(e,t,n,r,i,s,o,c){const g=Cr()+e,E=Ce(),S=Ei(E,g,n,r,i,s);return br(E,g+4,o)||S?Ui(E,g+5,c?t.call(c,n,r,i,s,o):t(n,r,i,s,o)):Ea(E,g+5)}function Gm(e,t,n,r,i,s,o,c,g){const E=Cr()+e,S=Ce(),R=Ei(S,E,n,r,i,s);return Hs(S,E+4,o,c)||R?Ui(S,E+6,g?t.call(g,n,r,i,s,o,c):t(n,r,i,s,o,c)):Ea(S,E+6)}function Wm(e,t,n,r,i,s,o,c,g,E){const S=Cr()+e,R=Ce();let U=Ei(R,S,n,r,i,s);return Uu(R,S+4,o,c,g)||U?Ui(R,S+7,E?t.call(E,n,r,i,s,o,c,g):t(n,r,i,s,o,c,g)):Ea(R,S+7)}function Km(e,t,n,r){return function Xm(e,t,n,r,i,s){let o=t+n,c=!1;for(let g=0;g<i.length;g++)br(e,o++,i[g])&&(c=!0);return c?Ui(e,o,r.apply(s,i)):Pa(e,o)}(Ce(),Cr(),e,t,n,r)}function Pa(e,t){const n=e[t];return n===St?void 0:n}function qm(e,t,n,r,i,s){const o=t+n;return br(e,o,i)?Ui(e,o+1,s?r.call(s,i):r(i)):Pa(e,o+1)}function Ym(e,t,n,r,i,s,o){const c=t+n;return Hs(e,c,i,s)?Ui(e,c+2,o?r.call(o,i,s):r(i,s)):Pa(e,c+2)}function Qm(e,t,n,r,i,s,o,c){const g=t+n;return Uu(e,g,i,s,o)?Ui(e,g+3,c?r.call(c,i,s,o):r(i,s,o)):Pa(e,g+3)}function Jm(e,t){const n=Gt();let r;const i=e+bt;n.firstCreatePass?(r=function L0(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??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=y(r.type)),c=dn(_o);try{const g=eu(!1),E=s();return eu(g),function AC(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ce(),i,E),E}finally{dn(c)}}function ey(e,t,n){const r=e+bt,i=Ce(),s=vs(i,r);return Ra(i,r)?qm(i,Cr(),t,s.transform,n,s):s.transform(n)}function ty(e,t,n,r){const i=e+bt,s=Ce(),o=vs(s,i);return Ra(s,i)?Ym(s,Cr(),t,o.transform,n,r,o):o.transform(n,r)}function ny(e,t,n,r,i){const s=e+bt,o=Ce(),c=vs(o,s);return Ra(o,s)?Qm(o,Cr(),t,c.transform,n,r,i,c):c.transform(n,r,i)}function Ra(e,t){return e[Ae].data[t].pure}function H0(){return this._results[Symbol.iterator]()}class _d{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new $i)}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=_d.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=H0)}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)}
1forEach(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=function Di(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Vv(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()}}function B0(e,t,n,r=!0){const i=t[Ae];if(function ND(e,t,n,r){const i=yn+r,s=n.length;r>0&&(n[i-1][Hn]=t),r<s-yn?(t[Hn]=n[i],_f(n,yn+r,t)):(n.push(t),t[Hn]=null),t[Vt]=n;const o=t[ur];null!==o&&n!==o&&function OD(e,t){const n=e[di];t[jt]!==t[Vt][Vt][jt]&&(e[ys]=!0),null===n?e[di]=[t]:n.push(t)}(o,t);const c=t[lr];null!==c&&c.insertView(e),t[at]|=128}(i,t,e,n),r){const s=Yl(n,e),o=t[st],c=vu(o,e[dr]);null!==c&&function AD(e,t,n,r,i,s){r[Zt]=i,r[In]=t,aa(e,r,n,1,i,s)}(i,e[In],o,t,c,s)}}let Na=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=z0}return e})();const U0=Na,V0=class extends U0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function $0(e,t,n,r){const i=t.tView,c=Lu(e,i,n,4096&e[at]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);c[ur]=e[t.index];const E=e[lr];return null!==E&&(c[lr]=E.createEmbeddedView(i)),Bc(i,c,n),c}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new va(i)}};function z0(){return il(Yn(),Ce())}function il(e,t){return 4&e.type?new V0(t,e,vo(e,t)):null}let ol=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Q0}return e})();function Q0(){return ly(Yn(),Ce())}const Z0=ol,ay=class extends Z0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return vo(this._hostTNode,this._hostLView)}get injector(){return new Nr(this._hostTNode,this._hostLView)}get parentInjector(){const t=nu(this._hostTNode,this._hostLView);if(Il(t)){const n=Jo(t,this._hostLView),r=Xo(t);return new Nr(n[Ae].data[r+8],n)}return new Nr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=uy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-yn}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const c=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(c,i,false),c}createComponent(t,n,r,i,s){const o=t&&!function ta(e){return"function"==typeof e}(t);let c;if(o)c=n;else{const Se=n||{};c=Se.index,r=Se.injector,i=Se.projectableNodes,s=Se.environmentInjector||Se.ngModuleRef}const g=o?t:new Da(It(t)),E=r||this.parentInjector;if(!s&&null==g.ngModule){const Le=(o?E:this.parentInjector).get(Hi,null);Le&&(s=Le)}It(g.componentType??{});const Y=g.create(E,i,null,s);return this.insertImpl(Y.hostView,c,false),Y}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const i=t._lView;if(function yl(e){return Tn(e[Vt])}(i)){const g=this.indexOf(t);if(-1!==g)this.detach(g);else{const E=i[Vt],S=new ay(E,E[In],E[Vt]);S.detach(S.indexOf(t))}}const o=this._adjustIndex(n),c=this._lContainer;return B0(c,i,o,!r),t.attachToViewContainerRef(),_f(Cd(c),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=uy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=yu(this._lContainer,n);r&&(iu(Cd(this._lContainer),n),Gl(r[Ae],r))}detach(t){const n=this._adjustIndex(t,-1),r=yu(this._lContainer,n);return r&&null!=iu(Cd(this._lContainer),n)?new va(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function uy(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function ly(e,t){let n;const r=t[e.index];return Tn(r)?n=r:(n=mp(r,t,null,e),t[e.index]=n,ku(t,n)),cy(n,t,e,r),new ay(n,e,t)}let cy=function dy(e,t,n,r){if(e[dr])return;let i;i=8&n.type?an(r):function X0(e,t){const n=e[st],r=n.createComment(""),i=fr(t,e);return ks(n,vu(n,i),r,function kD(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[dr]=i};class wd{constructor(t){this.queryList=t,this.matches=null}clone(){return new wd(this.queryList)}setDirty(){this.queryList.setDirty()}}class bd{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 bd(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!==Ey(t,n).matches&&this.queries[n].setDirty()}}class fy{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Sd{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 Sd(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Md{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Md(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}
1matchTNode(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,tb(n,s)),this.matchTNodeWithReadOption(t,n,ru(n,t,s,!1,!1))}else r===Na?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ru(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===pa||i===ol||i===Na&&4&n.type)this.addMatch(n.index,-2);else{const s=ru(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 tb(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 rb(e,t,n,r){return-1===n?function nb(e,t){return 11&e.type?vo(e,t):4&e.type?il(e,t):null}(t,e):-2===n?function ib(e,t,n){return n===pa?vo(t,e):n===Na?il(t,e):n===ol?ly(t,e):void 0}(e,t,r):Ls(e,e[Ae],n,t)}function hy(e,t,n,r){const i=t[lr].queries[r];if(null===i.matches){const s=e.data,o=n.matches,c=[];for(let g=0;g<o.length;g+=2){const E=o[g];c.push(E<0?null:rb(t,s[E],o[g+1],n.metadata.read))}i.matches=c}return i.matches}function Id(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const o=hy(e,t,i,n);for(let c=0;c<s.length;c+=2){const g=s[c];if(g>0)r.push(o[c/2]);else{const E=s[c+1],S=t[-g];for(let R=yn;R<S.length;R++){const U=S[R];U[ur]===U[Vt]&&Id(U[Ae],U,E,r)}if(null!==S[di]){const R=S[di];for(let U=0;U<R.length;U++){const Y=R[U];Id(Y[Ae],Y,E,r)}}}}}return r}function py(e){const t=Ce(),n=Gt(),r=M();N(r+1);const i=Ey(n,r);if(e.dirty&&function qd(e){return 4==(4&e[at])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?Id(n,t,r,[]):hy(n,t,i,r);e.reset(s,jE),e.notifyOnChanges()}return!0}return!1}function gy(e,t,n){const r=Gt();r.firstCreatePass&&(Dy(r,new fy(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),vy(r,Ce(),t)}function my(e,t,n,r){const i=Gt();if(i.firstCreatePass){const s=Yn();Dy(i,new fy(t,n,r),s.index),function ob(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)}vy(i,Ce(),n)}function yy(){return function sb(e,t){return e[lr].queries[t].queryList}(Ce(),M())}function vy(e,t,n){const r=new _d(4==(4&n));(function y_(e,t,n,r){const i=vp(t);i.push(n),e.firstCreatePass&&Dp(e).push(r,i.length-1)})(e,t,r,r.destroy),null===t[lr]&&(t[lr]=new bd),t[lr].queries.push(new wd(r))}function Dy(e,t,n){null===e.queries&&(e.queries=new Sd),e.queries.track(new Md(t,n))}function Ey(e,t){return e.queries.getByIndex(t)}function _y(e,t){return il(e,t)}function Td(e){return!!_n(e)}const jy=new Et("Application Initializer");let Od=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=_e(jy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(ed(s))n.push(s);else if(tg(s)){const o=new Promise((c,g)=>{s.subscribe({complete:c,error:g})});n.push(o)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Yt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Hy=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Yt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const ul=new Et("LocaleId",{providedIn:"root",factory:()=>_e(ul,Ve.Optional|Ve.SkipSelf)||function Ib(){return typeof $localize<"u"&&$localize.locale||Fo}()}),Tb=new Et("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let $y=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new he.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Yt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Pb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Rb=(()=>{class e{compileModuleSync(n){return new Dd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=ss(_n(n).declarations).reduce((o,c)=>{const g=It(c);return g&&o.push(new Da(g)),o},[]);return new Pb(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Yt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const zy=new Et(""),Gy=new Et("");let Ld,Jb=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZ
1oneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ld||(function eS(e){Ld=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:()=>{ir.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{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[]}static#e=this.\u0275fac=function(r){return new(r||e)(be(ir),be(Wy),be(Gy))};static#t=this.\u0275prov=Yt({token:e,factory:e.\u0275fac})}return e})(),Wy=(()=>{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 Ld?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Yt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ws=null;const Ky=new Et("AllowMultipleToken"),kd=new Et("PlatformDestroyListeners"),jd=new Et("appBootstrapListener");class rS{constructor(t,n){this.name=t,this.token=n}}function Qy(e,t,n=[]){const r=`Platform: ${t}`,i=new Et(r);return(s=[])=>{let o=Hd();if(!o||o.injector.get(Ky,!1)){const c=[...n,...s,{provide:i,useValue:!0}];e?e(c):function iS(e){if(ws&&!ws.get(Ky,!1))throw new Me(400,!1);(function qy(){!function P(e){v=e}(()=>{throw new Me(600,!1)})})(),ws=e;const t=e.get(Xy);(function Yy(e){e.get(Mh,null)?.forEach(n=>n())})(e)}(function Zy(e=[],t){return Mi.create({name:t,providers:[{provide:lc,useValue:"platform"},{provide:kd,useValue:new Set([()=>ws=null])},...e]})}(c,r))}return function oS(e){const t=Hd();if(!t)throw new Me(401,!1);return t}()}}function Hd(){return ws?.get(Xy)??null}let Xy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function aS(e="zone.js",t){return"noop"===e?new t_:"zone.js"===e?new ir(t):e}(r?.ngZone,function Jy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const s=function S0(e,t,n){return new vd(e,t,n)}(n.moduleType,this.injector,function iv(e){return[{provide:ir,useFactory:e},{provide:da,multi:!0,useFactory:()=>{const t=_e(lS,{optional:!0});return()=>t.initialize()}},{provide:rv,useFactory:uS},{provide:Vh,useFactory:zh}]}(()=>i)),o=s.injector.get(_s,null);return i.runOutsideAngular(()=>{const c=i.onError.subscribe({next:g=>{o.handleError(g)}});s.onDestroy(()=>{cl(this._modules,s),c.unsubscribe()})}),function ev(e,t,n){try{const r=n();return ed(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,i,()=>{const c=s.injector.get(Od);
1return c.runInitializers(),c.donePromise.then(()=>(function rm(e){vt(e,"Expected localeId to be defined"),"string"==typeof e&&(nm=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(ul,Fo)||Fo),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const i=tv({},r);return function tS(e,t,n){const r=new Dd(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(jo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Me(-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 Me(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(kd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(be(Mi))};static#t=this.\u0275prov=Yt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function tv(e,t){return Array.isArray(t)?t.reduce(tv,e):{...e,...t}}let jo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=_e(rv),this.zoneIsStable=_e(Vh),this.componentTypes=[],this.components=[],this.isStable=_e($y).hasPendingTasks.pipe((0,Pe.w)(n=>n?(0,se.of)(!1):this.zoneIsStable),function tt(e,t=Te.y){return e=e??rt,(0,Ge.e)((n,r)=>{let i,s=!0;n.subscribe((0,nt.x)(r,o=>{const c=t(o);(s||!e(i,c))&&(s=!1,i=c,r.next(o))}))})}(),(0,pe.B)()),this._injector=_e(Hi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Ph;if(!this._injector.get(Od).done)throw!i&&or(n),new Me(405,!1);let o;o=i?n:this._injector.get(Nu).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const c=function nS(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Us),E=o.create(Mi.NULL,[],r||o.selector,c),S=E.location.nativeElement,R=E.injector.get(zy,null);return R?.registerApplication(S),E.onDestroy(()=>{this.detachView(E.hostView),cl(this.components,E),R?.unregisterApplication(S)}),this._loadComponent(E),E}tick(){if(this._runningTick)throw new Me(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;cl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(jd,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>cl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Me(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Yt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function cl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const rv=new Et("",{providedIn:"root",factory:()=>_e(_s).handleError.bind(void 0)});function uS(){const e=_e(ir),t=_e(_s);return n=>e.runOutsideAngular(()=>t.handleError(n))}let lS=(()=>{class e{constructor(){this.zone=_e(ir),this.applicationRef=_e(jo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Yt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let dS=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=fS}return e})();function fS(e){return function hS(e,t,n){if(Yr(e)&&!n){const r=_r(e.index,t);return new va(r,r)}return 47&e.type?new va(t[jt],t):null}(Yn(),Ce(),16==(16&e))}class uv{constructor(){}supports(t){return Bu(t)}create(t){return new DS(t)}}const vS=(e,t)=>t;class DS{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||vS}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<cv(r,i,s)?n:r,c=cv(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 E=c-i,S=g-i;if(E!=S){for(let U=0;U<E;U++){const Y=U<s.length?s[U]:s[U]=0,fe=Y+U;S<=fe&&fe<E&&(s[U]=Y+1)}s[o.previousIndex]=S-E}}c!==g&&t(o,c,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;
vendor: 5,055 bytes, line 1
1n=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=[]),!Bu(t))throw new Me(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 c=0;c<this.length;c++)s=t[c],o=this._trackByFn(c,s),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,s,o,c)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,o,c),r=!0),n=n._next}else i=0,function uC(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,c=>{o=this._trackByFn(i,c),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,c,o,i)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,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 ES(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 lv),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 lv),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 ES{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 _S{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;
1r=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 lv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new _S,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 cv(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 dv{constructor(){}supports(t){return t instanceof Map||Vc(t)}create(){return new CS}}class CS{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||Vc(t)))throw new Me(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 wS(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 wS{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 fv(){return new zd([new uv])}let zd=(()=>{class e{static#e=this.\u0275prov=Yt({token:e,providedIn:"root",factory:fv});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||fv()),deps:[[e,new au,new ou]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Me(901,!1)}}return e})();function hv(){return new Gd([new dv])}let Gd=(()=>{class e{static#e=this.\u0275prov=Yt({token:e,providedIn:"root",factory:hv});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||hv()),deps:[[e,new au,new ou]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Me(901,!1)}}return e})();const MS=Qy(null,"core",[]);let IS=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(be(jo))};static#t=this.\u0275mod=_i({type:e});static#n=this.\u0275inj=ln({})}return e})();function jS(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function $S(e){const t=It(e);
1if(!t)return null;const n=new Da(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},6593:(Qe,ve,A)=>{A.d(ve,{Dx:()=>Yt,b2:()=>vt,q6:()=>Ot,se:()=>Ee});var m=A(9291),Z=A(6814);class B extends Z.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class $ extends B{static makeCurrent(){(0,Z.HT)(new $)}onAndCancel(X,O,G){return X.addEventListener(O,G),()=>{X.removeEventListener(O,G)}}dispatchEvent(X,O){X.dispatchEvent(O)}remove(X){X.parentNode&&X.parentNode.removeChild(X)}createElement(X,O){return(O=O||this.getDefaultDocument()).createElement(X)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(X){return X.nodeType===Node.ELEMENT_NODE}isShadowRoot(X){return X instanceof DocumentFragment}getGlobalEventTarget(X,O){return"window"===O?window:"document"===O?X:"body"===O?X.body:null}getBaseHref(X){const O=function ie(){return ae=ae||document.querySelector("base"),ae?ae.getAttribute("href"):null}();return null==O?null:function ge(de){ne=ne||document.createElement("a"),ne.setAttribute("href",de);const X=ne.pathname;return"/"===X.charAt(0)?X:`/${X}`}(O)}resetBaseElement(){ae=null}getUserAgent(){return window.navigator.userAgent}getCookie(X){return(0,Z.Mx)(document.cookie,X)}}let ne,ae=null,he=(()=>{class de{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(G){return new(G||de)};static#t=this.\u0275prov=m.Yz7({token:de,factory:de.\u0275fac})}return de})();const se=new m.OlP("EventManagerPlugins");let pe=(()=>{class de{constructor(O,G){this._zone=G,this._eventNameToPlugin=new Map,O.forEach(ye=>{ye.manager=this}),this._plugins=O.slice().reverse()}addEventListener(O,G,ye){return this._findPluginFor(G).addEventListener(O,G,ye)}getZone(){return this._zone}_findPluginFor(O){let G=this._eventNameToPlugin.get(O);if(G)return G;if(G=this._plugins.find(Fe=>Fe.supports(O)),!G)throw new m.vHH(5101,!1);return this._eventNameToPlugin.set(O,G),G}static#e=this.\u0275fac=function(G){return new(G||de)(m.LFG(se),m.LFG(m.R0b))};static#t=this.\u0275prov=m.Yz7({token:de,factory:de.\u0275fac})}return de})();class Pe{constructor(X){this._doc=X}}const Te="ng-app-id";let Ge=(()=>{class de{constructor(O,G,ye,Fe={}){this.doc=O,this.appId=G,this.nonce=ye,this.platformId=Fe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,Z.PM)(Fe),this.resetHostNodes()}addStyles(O){for(const G of O)1===this.changeUsageCount(G,1)&&this.onStyleAdded(G)}removeStyles(O){for(const G of O)this.changeUsageCount(G,-1)<=0&&this.onStyleRemoved(G)}ngOnDestroy(){const O=this.styleNodesInDOM;O&&(O.forEach(G=>G.remove()),O.clear());for(const G of this.getAllStyles())this.onStyleRemoved(G);this.resetHostNodes()}addHost(O){this.hostNodes.add(O);for(const G of this.getAllStyles())this.addStyleToHost(O,G)}removeHost(O){this.hostNodes.delete(O)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(O){for(const G of this.hostNodes)this.addStyleToHost(G,O)}onStyleRemoved(O){const G=this.styleRef;G.get(O)?.elements?.forEach(ye=>ye.remove()),G.delete(O)}collectServerRenderedStyles(){const O=this.doc.head?.querySelectorAll(`style[${Te}="${this.appId}"]`);if(O?.length){const G=new Map;return O.forEach(ye=>{null!=ye.textContent&&G.set(ye.textContent,ye)}),G}return null}changeUsageCount(O,G){const ye=this.styleRef;if(ye.has(O)){const Fe=ye.get(O);return Fe.usage+=G,Fe.usage}return ye.set(O,{usage:G,elements:[]}),G}getStyleElement(O,G){const ye=this.styleNodesInDOM,Fe=ye?.get(G);if(Fe?.parentNode===O)return ye.delete(G),Fe.removeAttribute(Te),Fe;{const qe=this.doc.createElement("style");return this.nonce&&qe.setAttribute("nonce",this.nonce),qe.textContent=G,this.platformIsServer&&qe.setAttribute(Te,this.appId),qe}}addStyleToHost(O,G){const ye=this.getStyleElement(O,G);O.appendChild(ye);const Fe=this.styleRef,qe=Fe.get(G)?.elements;qe?qe.push(ye):Fe.set(G,{elements:[ye],usage:1})}resetHostNodes(){const O=this.hostNodes;O.clear(),O.add(this.doc.head)}static#e=this.\u0275fac=function(G){return new(G||de)(m.LFG(Z.K0),m.LFG(m.AFp),m.LFG
1(m.Ojb,8),m.LFG(m.Lbi))};static#t=this.\u0275prov=m.Yz7({token:de,factory:de.\u0275fac})}return de})();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/"},tt=/%COMP%/g,me=new m.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ue(de,X){return X.map(O=>O.replace(tt,de))}let Ee=(()=>{class de{constructor(O,G,ye,Fe,qe,kt,$t,pn=null){this.eventManager=O,this.sharedStylesHost=G,this.appId=ye,this.removeStylesOnCompDestroy=Fe,this.doc=qe,this.platformId=kt,this.ngZone=$t,this.nonce=pn,this.rendererByCompId=new Map,this.platformIsServer=(0,Z.PM)(kt),this.defaultRenderer=new Ze(O,qe,$t,this.platformIsServer)}createRenderer(O,G){if(!O||!G)return this.defaultRenderer;this.platformIsServer&&G.encapsulation===m.ifc.ShadowDom&&(G={...G,encapsulation:m.ifc.Emulated});const ye=this.getOrCreateRenderer(O,G);return ye instanceof et?ye.applyToHost(O):ye instanceof Be&&ye.applyStyles(),ye}getOrCreateRenderer(O,G){const ye=this.rendererByCompId;let Fe=ye.get(G.id);if(!Fe){const qe=this.doc,kt=this.ngZone,$t=this.eventManager,pn=this.sharedStylesHost,Jt=this.removeStylesOnCompDestroy,Vn=this.platformIsServer;switch(G.encapsulation){case m.ifc.Emulated:Fe=new et($t,pn,G,this.appId,Jt,qe,kt,Vn);break;case m.ifc.ShadowDom:return new pt($t,pn,O,G,qe,kt,this.nonce,Vn);default:Fe=new Be($t,pn,G,Jt,qe,kt,Vn)}ye.set(G.id,Fe)}return Fe}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(G){return new(G||de)(m.LFG(pe),m.LFG(Ge),m.LFG(m.AFp),m.LFG(me),m.LFG(Z.K0),m.LFG(m.Lbi),m.LFG(m.R0b),m.LFG(m.Ojb))};static#t=this.\u0275prov=m.Yz7({token:de,factory:de.\u0275fac})}return de})();class Ze{constructor(X,O,G,ye){this.eventManager=X,this.doc=O,this.ngZone=G,this.platformIsServer=ye,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(X,O){return O?this.doc.createElementNS(nt[O]||O,X):this.doc.createElement(X)}createComment(X){return this.doc.createComment(X)}createText(X){return this.doc.createTextNode(X)}appendChild(X,O){(Me(X)?X.content:X).appendChild(O)}insertBefore(X,O,G){X&&(Me(X)?X.content:X).insertBefore(O,G)}removeChild(X,O){X&&X.removeChild(O)}selectRootElement(X,O){let G="string"==typeof X?this.doc.querySelector(X):X;if(!G)throw new m.vHH(-5104,!1);return O||(G.textContent=""),G}parentNode(X){return X.parentNode}nextSibling(X){return X.nextSibling}setAttribute(X,O,G,ye){if(ye){O=ye+":"+O;const Fe=nt[ye];Fe?X.setAttributeNS(Fe,O,G):X.setAttribute(O,G)}else X.setAttribute(O,G)}removeAttribute(X,O,G){if(G){const ye=nt[G];ye?X.removeAttributeNS(ye,O):X.removeAttribute(`${G}:${O}`)}else X.removeAttribute(O)}addClass(X,O){X.classList.add(O)}removeClass(X,O){X.classList.remove(O)}setStyle(X,O,G,ye){ye&(m.JOm.DashCase|m.JOm.Important)?X.style.setProperty(O,G,ye&m.JOm.Important?"important":""):X.style[O]=G}removeStyle(X,O,G){G&m.JOm.DashCase?X.style.removeProperty(O):X.style[O]=""}setProperty(X,O,G){X[O]=G}setValue(X,O){X.nodeValue=O}listen(X,O,G){if("string"==typeof X&&!(X=(0,Z.q)().getGlobalEventTarget(this.doc,X)))throw new Error(`Unsupported event target ${X} for event ${O}`);return this.eventManager.addEventListener(X,O,this.decoratePreventDefault(G))}decoratePreventDefault(X){return O=>{if("__ngUnwrap__"===O)return X;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>X(O)):X(O))&&O.preventDefault()}}}function Me(de){return"TEMPLATE"===de.tagName&&void 0!==de.content}class pt extends Ze{constructor(X,O,G,ye,Fe,qe,kt,$t){super(X,Fe,qe,$t),this.sharedStylesHost=O,this.hostEl=G,this.shadowRoot=G.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const pn=ue(ye.id,ye.styles);for(const Jt of pn){const Vn=document.createElement("style");kt&&Vn.setAttribute("nonce",kt),Vn.textContent=Jt,this.shadowRoot.appendChild(Vn)}}nodeOrShadowRoot(X){return X===this.hostEl?this.shadowRoot:X}appendChild(X,O){return super.appendChild(this.nodeOrShadowRoot(X),O)}insertBefore(X,O,G){return super.insertBefore(this.nodeOrShadowRoot(X),O,G)}removeChild(X,O){return super.removeChild(this.nodeOrShadowRoot(X),O)}parentNode(X){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(X)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Be extends Ze{constructor(X,O,G,ye,Fe,qe,kt,$t){super(X,Fe,qe,kt),this.sharedStylesHost=O,this.removeStylesOnCompDestroy=ye,this.styles=$t?ue($t,G.styles):G.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class et extends Be{constructor(X,O,G,ye,Fe,qe,kt,$t){const pn=ye+"-"+G.id;super(X,O,G,Fe,qe,kt,$t,pn),this.contentAttr=function Re(de){return"_ngcontent-%COMP%".replace(tt,de)}(pn),this.hostAttr=function We(de){return"_nghost-%COMP%".replace(tt,de)}(pn)}applyToHost(X){this.applyStyles(),this.setAttribute(X,this.hostAttr,"")}createElement(X,O){const G=super.createElement(X,O);return super.setAttribute(G,this.contentAttr,""),G}}let Sr=(()=>{class de extends Pe{constructor(O){super(O)}supports(O){return!0}addEventListener(O,G,ye){return O.addEventListener(G,ye,!1),()=>this.removeEventListener(O,G,ye)}removeEventListener(O,G,ye){return O.removeEventListener(G,ye)}static#e=this.\u0275fac=function(G){return new(G||de)(m.LFG(Z.K0))};static#t=this.\u0275prov=m.Yz7({token:de,factory:de.\u0275fac})}return de})();const Rn=["alt","control","meta","shift"],ee={"\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"}
1,L={alt:de=>de.altKey,control:de=>de.ctrlKey,meta:de=>de.metaKey,shift:de=>de.shiftKey};let K=(()=>{class de extends Pe{constructor(O){super(O)}supports(O){return null!=de.parseEventName(O)}addEventListener(O,G,ye){const Fe=de.parseEventName(G),qe=de.eventCallback(Fe.fullKey,ye,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,Z.q)().onAndCancel(O,Fe.domEventName,qe))}static parseEventName(O){const G=O.toLowerCase().split("."),ye=G.shift();if(0===G.length||"keydown"!==ye&&"keyup"!==ye)return null;const Fe=de._normalizeKey(G.pop());let qe="",kt=G.indexOf("code");if(kt>-1&&(G.splice(kt,1),qe="code."),Rn.forEach(pn=>{const Jt=G.indexOf(pn);Jt>-1&&(G.splice(Jt,1),qe+=pn+".")}),qe+=Fe,0!=G.length||0===Fe.length)return null;const $t={};return $t.domEventName=ye,$t.fullKey=qe,$t}static matchEventFullKeyCode(O,G){let ye=ee[O.key]||O.key,Fe="";return G.indexOf("code.")>-1&&(ye=O.code,Fe="code."),!(null==ye||!ye)&&(ye=ye.toLowerCase()," "===ye?ye="space":"."===ye&&(ye="dot"),Rn.forEach(qe=>{qe!==ye&&(0,L[qe])(O)&&(Fe+=qe+".")}),Fe+=ye,Fe===G)}static eventCallback(O,G,ye){return Fe=>{de.matchEventFullKeyCode(Fe,O)&&ye.runGuarded(()=>G(Fe))}}static _normalizeKey(O){return"esc"===O?"escape":O}static#e=this.\u0275fac=function(G){return new(G||de)(m.LFG(Z.K0))};static#t=this.\u0275prov=m.Yz7({token:de,factory:de.\u0275fac})}return de})();const Ot=(0,m.eFA)(m._c5,"browser",[{provide:m.Lbi,useValue:Z.bD},{provide:m.g9A,useValue:function Ne(){$.makeCurrent()},multi:!0},{provide:Z.K0,useFactory:function Ue(){return(0,m.RDi)(document),document},deps:[]}]),ht=new m.OlP(""),un=[{provide:m.rWj,useClass:class ce{addToWindow(X){m.dqk.getAngularTestability=(G,ye=!0)=>{const Fe=X.findTestabilityInTree(G,ye);if(null==Fe)throw new m.vHH(5103,!1);return Fe},m.dqk.getAllAngularTestabilities=()=>X.getAllTestabilities(),m.dqk.getAllAngularRootElements=()=>X.getAllRootElements(),m.dqk.frameworkStabilizers||(m.dqk.frameworkStabilizers=[]),m.dqk.frameworkStabilizers.push(G=>{const ye=m.dqk.getAllAngularTestabilities();let Fe=ye.length,qe=!1;const kt=function($t){qe=qe||$t,Fe--,0==Fe&&G(qe)};ye.forEach($t=>{$t.whenStable(kt)})})}findTestabilityInTree(X,O,G){return null==O?null:X.getTestability(O)??(G?(0,Z.q)().isShadowRoot(O)?this.findTestabilityInTree(X,O.host,!0):this.findTestabilityInTree(X,O.parentElement,!0):null)}},deps:[]},{provide:m.lri,useClass:m.dDg,deps:[m.R0b,m.eoX,m.rWj]},{provide:m.dDg,useClass:m.dDg,deps:[m.R0b,m.eoX,m.rWj]}],Fn=[{provide:m.zSh,useValue:"root"},{provide:m.qLn,useFactory:function Mt(){return new m.qLn},deps:[]},{provide:se,useClass:Sr,multi:!0,deps:[Z.K0,m.R0b,m.Lbi]},{provide:se,useClass:K,multi:!0,deps:[Z.K0]},Ee,Ge,pe,{provide:m.FYo,useExisting:Ee},{provide:Z.JF,useClass:he,deps:[]},[]];let vt=(()=>{class de{constructor(O){}static withServerTransition(O){return{ngModule:de,providers:[{provide:m.AFp,useValue:O.appId}]}}static#e=this.\u0275fac=function(G){return new(G||de)(m.LFG(ht,12))};static#t=this.\u0275mod=m.oAB({type:de});static#n=this.\u0275inj=m.cJS({providers:[...Fn,...un],imports:[Z.ez,m.hGG]})}return de})(),Yt=(()=>{class de{constructor(O){this._doc=O}getTitle(){return this._doc.title}setTitle(O){this._doc.title=O||""}static#e=this.\u0275fac=function(G){return new(G||de)(m.LFG(Z.K0))};static#t=this.\u0275prov=m.Yz7({token:de,factory:function(G){let ye=null;return ye=G?new G:function lt(){return new Yt((0,m.LFG)(Z.K0))}(),ye},providedIn:"root"})}return de})();typeof window<"u"&&window},57:(Qe,ve,A)=>{A.d(ve,{gz:()=>Tr,Bz:()=>qa,lC:()=>In});var m=A(9291),Z=A(2664),B=A(7715),$=A(2096),ae=A(5619),ie=A(5592),ne=A(7453),ge=A(2737),ce=A(7400),he=A(4564),se=A(2714),pe=A(8251),Pe=A(7103);function Te(...l){const h=(0,he.yG)(l),a=(0,he.jO)(l),{args:p,keys:D}=(0,ne.D)(l);if(0===p.length)return(0,B.D)([],h);const M=new ie.y(function Ge(l,h,a=ge.y){return p=>{nt(h,()=>{const{length:D}=l,M=new Array(D);let N=D,te=D;for(let q=0;q<D;q++)nt(h,()=>{const Ie=(0,B.D)(l[q],h);let ft=!1;Ie.subscribe((0,pe.x)(p,Xt=>{M[q]=Xt,ft||(ft=!0,te--),te||p.next(a(M.slice()))},()=>{--N||p.complete()}))},p)},p)}}(p,h,D?N=>(0,se.n)(D,N):ge.y));return a?M.pipe((0,ce.Z)(a)):M}function nt(l,h,a){l?(0,Pe.f)(a,l,h):h()}const rt=(0,A(2306).d)(l=>function(){l(this),this.name="EmptyError",this.message="no elements in sequence"});var $e=A(5211),je=A(4911),z=A(8407),me=A(4674);function Re(l,h){const a=(0,me.m)(l)?l:()=>l,p=D=>D.error(a());return new ie.y(h?D=>h.schedule(p,0,D):p)}var We=A(6232),ue=A(7394),Ee=A(9360);function Ze(){return(0,Ee.e)((l,h)=>{let a=null;l._refCount++;const p=(0,pe.x)(h,void 0,void 0,void 0,()=>{if(!l||l._refCount<=0||0<--l._refCount)return void(a=null);const D=l._connection,M=a;a=null,D&&(!M||D===M)&&D.unsubscribe(),h.unsubscribe()});l.subscribe(p),p.closed||(a=l.connect())})}class Xe extends ie.y{constructor(h,a){super(),this.source=h,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,Ee.A)(h)&&(this.lift=h.lift)}
1_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:h}=this;this._subject=this._connection=null,h?.unsubscribe()}connect(){let h=this._connection;if(!h){h=this._connection=new ue.w0;const a=this.getSubject();h.add(this.source.subscribe((0,pe.x)(a,void 0,()=>{this._teardown(),a.complete()},p=>{this._teardown(),a.error(p)},()=>this._teardown()))),h.closed&&(this._connection=null,h=ue.w0.EMPTY)}return h}refCount(){return Ze()(this)}}var Ht=A(8645),Me=A(6814),pt=A(7398),Be=A(4664),et=A(8180),Rn=A(2181),ee=A(1631);function L(l){return(0,Ee.e)((h,a)=>{let p=!1;h.subscribe((0,pe.x)(a,D=>{p=!0,a.next(D)},()=>{p||a.next(l),a.complete()}))})}function K(l=I){return(0,Ee.e)((h,a)=>{let p=!1;h.subscribe((0,pe.x)(a,D=>{p=!0,a.next(D)},()=>p?a.complete():a.error(l())))})}function I(){return new rt}function F(l,h){const a=arguments.length>=2;return p=>p.pipe(l?(0,Rn.h)((D,M)=>l(D,M,p)):ge.y,(0,et.q)(1),a?L(h):K(()=>new rt))}var W=A(6328);function le(l,h,a){const p=(0,me.m)(l)||h||a?{next:l,error:h,complete:a}:l;return p?(0,Ee.e)((D,M)=>{var N;null===(N=p.subscribe)||void 0===N||N.call(p);let te=!0;D.subscribe((0,pe.x)(M,q=>{var Ie;null===(Ie=p.next)||void 0===Ie||Ie.call(p,q),M.next(q)},()=>{var q;te=!1,null===(q=p.complete)||void 0===q||q.call(p),M.complete()},q=>{var Ie;te=!1,null===(Ie=p.error)||void 0===Ie||Ie.call(p,q),M.error(q)},()=>{var q,Ie;te&&(null===(q=p.unsubscribe)||void 0===q||q.call(p)),null===(Ie=p.finalize)||void 0===Ie||Ie.call(p)}))}):ge.y}var Ne=A(4829);function Mt(l){return(0,Ee.e)((h,a)=>{let M,p=null,D=!1;p=h.subscribe((0,pe.x)(a,void 0,void 0,N=>{M=(0,Ne.Xf)(l(N,Mt(l)(h))),p?(p.unsubscribe(),p=null,M.subscribe(a)):D=!0})),D&&(p.unsubscribe(),p=null,M.subscribe(a))})}function Ot(l){return l<=0?()=>We.E:(0,Ee.e)((h,a)=>{let p=[];h.subscribe((0,pe.x)(a,D=>{p.push(D),l<p.length&&p.shift()},()=>{for(const D of p)a.next(D);a.complete()},void 0,()=>{p=null}))})}var Fn=A(4716),vt=A(2420),Dn=A(7537),zi=A(6593);const lt="primary",Yt=Symbol("RouteTitle");class xr{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const a=this.params[h];return Array.isArray(a)?a[0]:a}return null}getAll(h){if(this.has(h)){const a=this.params[h];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function ln(l){return new xr(l)}function wn(l,h,a){const p=a.path.split("/");if(p.length>l.length||"full"===a.pathMatch&&(h.hasChildren()||p.length<l.length))return null;const D={};for(let M=0;M<p.length;M++){const N=p[M],te=l[M];if(N.startsWith(":"))D[N.substring(1)]=te;else if(N!==te.path)return null}return{consumed:l.slice(0,p.length),posParams:D}}function it(l,h){const a=l?Object.keys(l):void 0,p=h?Object.keys(h):void 0;if(!a||!p||a.length!=p.length)return!1;let D;for(let M=0;M<a.length;M++)if(D=a[M],!Fr(l[D],h[D]))return!1;return!0}function Fr(l,h){if(Array.isArray(l)&&Array.isArray(h)){if(l.length!==h.length)return!1;const a=[...l].sort(),p=[...h].sort();return a.every((D,M)=>p[M]===D)}return l===h}function sr(l){return l.length>0?l[l.length-1]:null}function nn(l){return(0,Z.b)(l)?l:(0,m.QGY)(l)?(0,B.D)(Promise.resolve(l)):(0,$.of)(l)}const hr={exact:function pr(l,h,a){if(!Un(l.segments,h.segments)||!kr(l.segments,h.segments,a)||l.numberOfChildren!==h.numberOfChildren)return!1;for(const p in h.children)if(!l.children[p]||!pr(l.children[p],h.children[p],a))return!1;return!0},subset:dn},cn={exact:function Ve(l,h){return it(l,h)},subset:function Lt(l,h){return Object.keys(h).length<=Object.keys(l).length&&Object.keys(h).every(a=>Fr(l[a],h[a]))},ignored:()=>!0};function Lr(l,h,a){return hr[a.paths](l.root,h.root,a.matrixParams)&&cn[a.queryParams](l.queryParams,h.queryParams)&&!("exact"===a.fragment&&l.fragment!==h.fragment)}function dn(l,h,a){return bn(l,h,h.segments,a)}function bn(l,h,a,p){if(l.segments.length>a.length){const D=l.segments.slice(0,a.length);
1return!(!Un(D,a)||h.hasChildren()||!kr(D,a,p))}if(l.segments.length===a.length){if(!Un(l.segments,a)||!kr(l.segments,a,p))return!1;for(const D in h.children)if(!l.children[D]||!dn(l.children[D],h.children[D],p))return!1;return!0}{const D=a.slice(0,l.segments.length),M=a.slice(l.segments.length);return!!(Un(l.segments,D)&&kr(l.segments,D,p)&&l.children[lt])&&bn(l.children[lt],h,M,p)}}function kr(l,h,a){return h.every((p,D)=>cn[a](l[D].parameters,p.parameters))}class xt{constructor(h=new Dt([],{}),a={},p=null){this.root=h,this.queryParams=a,this.fragment=p}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ln(this.queryParams)),this._queryParamMap}toString(){return Mr.serialize(this)}}class Dt{constructor(h,a){this.segments=h,this.children=a,this.parent=null,Object.values(a).forEach(p=>p.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Xn(this)}}class hn{constructor(h,a){this.path=h,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=ln(this.parameters)),this._parameterMap}toString(){return kt(this)}}function Un(l,h){return l.length===h.length&&l.every((a,p)=>a.path===h[p].path)}let Nn=(()=>{class l{static#e=this.\u0275fac=function(p){return new(p||l)};static#t=this.\u0275prov=m.Yz7({token:l,factory:function(){return new Sn},providedIn:"root"})}return l})();class Sn{parse(h){const a=new _e(h);return new xt(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(h){const a=`/${de(h.root,!0)}`,p=function pn(l){const h=Object.keys(l).map(a=>{const p=l[a];return Array.isArray(p)?p.map(D=>`${O(a)}=${O(D)}`).join("&"):`${O(a)}=${O(p)}`}).filter(a=>!!a);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${a}${p}${"string"==typeof h.fragment?`#${function G(l){return encodeURI(l)}(h.fragment)}`:""}`}}const Mr=new Sn;function Xn(l){return l.segments.map(h=>kt(h)).join("/")}function de(l,h){if(!l.hasChildren())return Xn(l);if(h){const a=l.children[lt]?de(l.children[lt],!1):"",p=[];return Object.entries(l.children).forEach(([D,M])=>{D!==lt&&p.push(`${D}:${de(M,!1)}`)}),p.length>0?`${a}(${p.join("//")})`:a}{const a=function gr(l,h){let a=[];return Object.entries(l.children).forEach(([p,D])=>{p===lt&&(a=a.concat(h(D,p)))}),Object.entries(l.children).forEach(([p,D])=>{p!==lt&&(a=a.concat(h(D,p)))}),a}(l,(p,D)=>D===lt?[de(l.children[lt],!1)]:[`${D}:${de(p,!1)}`]);return 1===Object.keys(l.children).length&&null!=l.children[lt]?`${Xn(l)}/${a[0]}`:`${Xn(l)}/(${a.join("//")})`}}function X(l){return encodeURIComponent(l).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function O(l){return X(l).replace(/%3B/gi,";")}function ye(l){return X(l).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Fe(l){return decodeURIComponent(l)}function qe(l){return Fe(l.replace(/\+/g,"%20"))}function kt(l){return`${ye(l.path)}${function $t(l){return Object.keys(l).map(h=>`;${ye(h)}=${ye(l[h])}`).join("")}(l.parameters)}`}const Jt=/^[^\/()?;#]+/;function Vn(l){const h=l.match(Jt);return h?h[0]:""}const Q=/^[^\/()?;=#]+/,H=/^[^=?&#]+/,be=/^[^&#]+/;class _e{constructor(h){this.url=h,this.remaining=h}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dt([],{}):new Dt([],this.parseChildren())}parseQueryParams(){const h={};if(this.consumeOptional("?"))do{this.parseQueryParam(h)}while(this.consumeOptional("&"));return h}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const h=[];for(this.peekStartsWith("(")||h.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),h.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let p={};return this.peekStartsWith("(")&&(p=this.parseParens(!1)),(h.length>0||Object.keys(a).length>0)&&(p[lt]=new Dt(h,a)),p}parseSegment(){const h=Vn(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new m.vHH(4009,!1);return this.capture(h),new hn(Fe(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const a=function k(l){const h=l.match(Q);return h?h[0]:""}(this.remaining);if(!a)return;this.capture(a);let p="";if(this.consumeOptional("=")){const D=Vn(this.remaining);D&&(p=D,this.capture(p))}h[Fe(a)]=Fe(p)}parseQueryParam(h){const a=function De(l){const h=l.match(H);return h?h[0]:""}(this.remaining);if(!a)return;this.capture(a);let p="";if(this.consumeOptional("=")){const N=function ke(l){const h=l.match(be);return h?h[0]:""}(this.remaining);N&&(p=N,this.capture(p))}const D=qe(a),M=qe(p);if(h.hasOwnProperty(D)){let N=h[D];Array.isArray(N)||(N=[N],h[D]=N),N.push(M)}else h[D]=M}parseParens(h){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const p=Vn(this.remaining),D=this.remaining[p.length];if("/"!==D&&")"!==D&&";"!==D)throw new m.vHH(4010,!1);let M;p.indexOf(":")>-1?(M=p.slice(0,p.indexOf(":")),this.capture(M),this.capture(":")):h&&(M=lt);const N=this.parseChildren();a[M]=1===Object.keys(N).length?N[lt]:new Dt([],N),this.consumeOptional("//")}return a}peekStartsWith(h){return this.remaining.startsWith(h)}consumeOptional(h){return!!this.peekStartsWith(h)&&(this.remaining=this.remaining.substring(h.length),!0)}capture(h){if(!this.consumeOptional(h))throw new m.vHH(4011,!1)}}function Wt(l){return l.segments.length>0?new Dt([],{[lt]:l}):l}function ot(l){const h={};
1for(const p of Object.keys(l.children)){const M=ot(l.children[p]);if(p===lt&&0===M.segments.length&&M.hasChildren())for(const[N,te]of Object.entries(M.children))h[N]=te;else(M.segments.length>0||M.hasChildren())&&(h[p]=M)}return function fn(l){if(1===l.numberOfChildren&&l.children[lt]){const h=l.children[lt];return new Dt(l.segments.concat(h.segments),h.children)}return l}(new Dt(l.segments,h))}function En(l){return l instanceof xt}function Ln(l){let h;const D=Wt(function a(M){const N={};for(const q of M.children){const Ie=a(q);N[q.outlet]=Ie}const te=new Dt(M.url,N);return M===l&&(h=te),te}(l.root));return h??D}function kn(l,h,a,p){let D=l;for(;D.parent;)D=D.parent;if(0===h.length)return Tt(D,D,D,a,p);const M=function mn(l){if("string"==typeof l[0]&&1===l.length&&"/"===l[0])return new mr(!0,0,l);let h=0,a=!1;const p=l.reduce((D,M,N)=>{if("object"==typeof M&&null!=M){if(M.outlets){const te={};return Object.entries(M.outlets).forEach(([q,Ie])=>{te[q]="string"==typeof Ie?Ie.split("/"):Ie}),[...D,{outlets:te}]}if(M.segmentPath)return[...D,M.segmentPath]}return"string"!=typeof M?[...D,M]:0===N?(M.split("/").forEach((te,q)=>{0==q&&"."===te||(0==q&&""===te?a=!0:".."===te?h++:""!=te&&D.push(te))}),D):[...D,M]},[]);return new mr(a,h,p)}(h);if(M.toRoot())return Tt(D,D,new Dt([],{}),a,p);const N=function ti(l,h,a){if(l.isAbsolute)return new Jn(h,!0,0);if(!a)return new Jn(h,!1,NaN);if(null===a.parent)return new Jn(a,!0,0);const p=jn(l.commands[0])?0:1;return function er(l,h,a){let p=l,D=h,M=a;for(;M>D;){if(M-=D,p=p.parent,!p)throw new m.vHH(4005,!1);D=p.segments.length}return new Jn(p,!1,D-M)}(a,a.segments.length-1+p,l.numberOfDoubleDots)}(M,D,l),te=N.processChildren?Ir(N.segmentGroup,N.index,M.commands):ni(N.segmentGroup,N.index,M.commands);return Tt(D,N.segmentGroup,te,a,p)}function jn(l){return"object"==typeof l&&null!=l&&!l.outlets&&!l.segmentPath}function _t(l){return"object"==typeof l&&null!=l&&l.outlets}function Tt(l,h,a,p,D){let N,M={};p&&Object.entries(p).forEach(([q,Ie])=>{M[q]=Array.isArray(Ie)?Ie.map(ft=>`${ft}`):`${Ie}`}),N=l===h?a:gt(l,h,a);const te=Wt(ot(N));return new xt(te,M,D)}function gt(l,h,a){const p={};return Object.entries(l.children).forEach(([D,M])=>{p[D]=M===h?a:gt(M,h,a)}),new Dt(l.segments,p)}class mr{constructor(h,a,p){if(this.isAbsolute=h,this.numberOfDoubleDots=a,this.commands=p,h&&p.length>0&&jn(p[0]))throw new m.vHH(4003,!1);const D=p.find(_t);if(D&&D!==sr(p))throw new m.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Jn{constructor(h,a,p){this.segmentGroup=h,this.processChildren=a,this.index=p}}function ni(l,h,a){if(l||(l=new Dt([],{})),0===l.segments.length&&l.hasChildren())return Ir(l,h,a);const p=function jr(l,h,a){let p=0,D=h;const M={match:!1,pathIndex:0,commandIndex:0};for(;D<l.segments.length;){if(p>=a.length)return M;const N=l.segments[D],te=a[p];if(_t(te))break;const q=`${te}`,Ie=p<a.length-1?a[p+1]:null;if(D>0&&void 0===q)break;if(q&&Ie&&"object"==typeof Ie&&void 0===Ie.outlets){if(!ls(q,Ie,N))return M;p+=2}else{if(!ls(q,{},N))return M;p++}D++}return{match:!0,pathIndex:D,commandIndex:p}}(l,h,a),D=a.slice(p.commandIndex);if(p.match&&p.pathIndex<l.segments.length){const M=new Dt(l.segments.slice(0,p.pathIndex),{});return M.children[lt]=new Dt(l.segments.slice(p.pathIndex),l.children),Ir(M,0,D)}return p.match&&0===D.length?new Dt(l.segments,{}):p.match&&!l.hasChildren()?ri(l,h,a):p.match?Ir(l,0,D):ri(l,h,a)}function Ir(l,h,a){if(0===a.length)return new Dt(l.segments,{});{const p=function Gn(l){return _t(l[0])?l[0].outlets:{[lt]:l}}(a),D={};if(Object.keys(p).some(M=>M!==lt)&&l.children[lt]&&1===l.numberOfChildren&&0===l.children[lt].segments.length){const M=Ir(l.children[lt],h,a);return new Dt(l.segments,M.children)}return Object.entries(p).forEach(([M,N])=>{"string"==typeof N&&(N=[N]),null!==N&&(D[M]=ni(l.children[M],h,N))}),Object.entries(l.children).forEach(([M,N])=>{void 0===p[M]&&(D[M]=N)}),new Dt(l.segments,D)}}function ri(l,h,a){const p=l.segments.slice(0,h);let D=0;for(;D<a.length;){const M=a[D];if(_t(M)){const q=us(M.outlets);return new Dt(p,q)}
1if(0===D&&jn(a[0])){p.push(new hn(l.segments[h].path,ii(a[0]))),D++;continue}const N=_t(M)?M.outlets[lt]:`${M}`,te=D<a.length-1?a[D+1]:null;N&&te&&jn(te)?(p.push(new hn(N,ii(te))),D+=2):(p.push(new hn(N,{})),D++)}return new Dt(p,{})}function us(l){const h={};return Object.entries(l).forEach(([a,p])=>{"string"==typeof p&&(p=[p]),null!==p&&(h[a]=ri(new Dt([],{}),0,p))}),h}function ii(l){const h={};return Object.entries(l).forEach(([a,p])=>h[a]=`${p}`),h}function ls(l,h,a){return l==a.path&&it(h,a.parameters)}const Wr="imperative";class tr{constructor(h,a){this.id=h,this.url=a}}class si extends tr{constructor(h,a,p="imperative",D=null){super(h,a),this.type=0,this.navigationTrigger=p,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class nr extends tr{constructor(h,a,p){super(h,a),this.urlAfterRedirects=p,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class oi extends tr{constructor(h,a,p,D){super(h,a),this.reason=p,this.code=D,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ut extends tr{constructor(h,a,p,D){super(h,a),this.reason=p,this.code=D,this.type=16}}class Pi extends tr{constructor(h,a,p,D){super(h,a),this.error=p,this.target=D,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ri extends tr{constructor(h,a,p,D){super(h,a),this.urlAfterRedirects=p,this.state=D,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bs extends tr{constructor(h,a,p,D){super(h,a),this.urlAfterRedirects=p,this.state=D,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zs extends tr{constructor(h,a,p,D,M){super(h,a),this.urlAfterRedirects=p,this.state=D,this.shouldActivate=M,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Gi extends tr{constructor(h,a,p,D){super(h,a),this.urlAfterRedirects=p,this.state=D,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gs extends tr{constructor(h,a,p,D){super(h,a),this.urlAfterRedirects=p,this.state=D,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cs{constructor(h){this.route=h,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ss{constructor(h){this.route=h,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ds{constructor(h){this.snapshot=h,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wi{constructor(h){this.snapshot=h,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ki{constructor(h){this.snapshot=h,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ws{constructor(h){this.snapshot=h,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fs{constructor(h,a,p){this.routerEvent=h,this.position=a,this.anchor=p,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class qi{}class _i{constructor(h){this.url=h}}class hs{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ai,this.attachRef=null}}let ai=(()=>{class l{constructor(){this.contexts=new Map}onChildOutletCreated(a,p){const D=this.getOrCreateContext(a);D.outlet=p,this.contexts.set(a,D)}onChildOutletDestroyed(a){const p=this.getContext(a);p&&(p.outlet=null,p.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let p=this.getContext(a);return p||(p=new hs,this.contexts.set(a,p)),p}getContext(a){return this.contexts.get(a)||null}static#e=this.\u0275fac=function(p){return new(p||l)};static#t=this.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();class Ni{constructor(h){this._root=h}get root(){return this._root.value}
1parent(h){const a=this.pathFromRoot(h);return a.length>1?a[a.length-2]:null}children(h){const a=It(h,this._root);return a?a.children.map(p=>p.value):[]}firstChild(h){const a=It(h,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(h){const a=gn(h,this._root);return a.length<2?[]:a[a.length-2].children.map(D=>D.value).filter(D=>D!==h)}pathFromRoot(h){return gn(h,this._root).map(a=>a.value)}}function It(l,h){if(l===h.value)return h;for(const a of h.children){const p=It(l,a);if(p)return p}return null}function gn(l,h){if(l===h.value)return[h];for(const a of h.children){const p=gn(l,a);if(p.length)return p.unshift(h),p}return[]}class en{constructor(h,a){this.value=h,this.children=a}toString(){return`TreeNode(${this.value})`}}function or(l){const h={};return l&&l.children.forEach(a=>h[a.value.outlet]=a),h}class _n extends Ni{constructor(h,a){super(h),this.snapshot=a,at(this,h)}toString(){return this.snapshot.toString()}}function Ci(l,h){const a=function Yi(l,h){const N=new Zt([],{},{},"",{},lt,h,null,{});return new Ae("",new en(N,[]))}(0,h),p=new ae.X([new hn("",{})]),D=new ae.X({}),M=new ae.X({}),N=new ae.X({}),te=new ae.X(""),q=new Tr(p,D,N,te,M,lt,h,a.root);return q.snapshot=a.root,new _n(new en(q,[]),a)}class Tr{constructor(h,a,p,D,M,N,te,q){this.urlSubject=h,this.paramsSubject=a,this.queryParamsSubject=p,this.fragmentSubject=D,this.dataSubject=M,this.outlet=N,this.component=te,this._futureSnapshot=q,this.title=this.dataSubject?.pipe((0,pt.U)(Ie=>Ie[Yt]))??(0,$.of)(void 0),this.url=h,this.params=a,this.queryParams=p,this.fragment=D,this.data=M}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,pt.U)(h=>ln(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,pt.U)(h=>ln(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ps(l,h="emptyOnly"){const a=l.pathFromRoot;let p=0;if("always"!==h)for(p=a.length-1;p>=1;){const D=a[p],M=a[p-1];if(D.routeConfig&&""===D.routeConfig.path)p--;else{if(M.component)break;p--}}return function Qi(l){return l.reduce((h,a)=>({params:{...h.params,...a.params},data:{...h.data,...a.data},resolve:{...a.data,...h.resolve,...a.routeConfig?.data,...a._resolvedData}}),{params:{},data:{},resolve:{}})}(a.slice(p))}class Zt{get title(){return this.data?.[Yt]}constructor(h,a,p,D,M,N,te,q,Ie){this.url=h,this.params=a,this.queryParams=p,this.fragment=D,this.data=M,this.outlet=N,this.component=te,this.routeConfig=q,this._resolve=Ie}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=ln(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ln(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(p=>p.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ae extends Ni{constructor(h,a){super(a),this.url=h,at(this,a)}toString(){return Vt(this._root)}}function at(l,h){h.value._routerState=l,h.children.forEach(a=>at(l,a))}function Vt(l){const h=l.children.length>0?` { ${l.children.map(Vt).join(", ")} } `:"";return`${l.value}${h}`}function Hn(l){if(l.snapshot){const h=l.snapshot,a=l._futureSnapshot;l.snapshot=a,it(h.queryParams,a.queryParams)||l.queryParamsSubject.next(a.queryParams),h.fragment!==a.fragment&&l.fragmentSubject.next(a.fragment),it(h.params,a.params)||l.paramsSubject.next(a.params),function Rt(l,h){if(l.length!==h.length)return!1;for(let a=0;a<l.length;++a)if(!it(l[a],h[a]))return!1;return!0}(h.url,a.url)||l.urlSubject.next(a.url),it(h.data,a.data)||l.dataSubject.next(a.data)}else l.snapshot=l._futureSnapshot,l.dataSubject.next(l._futureSnapshot.data)}function ui(l,h){const a=it(l.params,h.params)&&function Et(l,h){return Un(l,h)&&l.every((a,p)=>it(a.parameters,h[p].parameters))}(l.url,h.url);return a&&!(!l.parent!=!h.parent)&&(!l.parent||ui(l.parent,h.parent))}let In=(()=>{class l{constructor(){this.activated=null,this._activatedRoute=null,this.name=lt,this.activateEvents=new m.vpe,this.deactivateEvents=new m.vpe,this.attachEvents=new m.vpe,this.detachEvents=new m.vpe,this.parentContexts=(0,m.f3M)(ai),this.location=(0,m.f3M)(m.s_b),this.changeDetector=(0,m.f3M)(m.sBO),this.environmentInjector=(0,m.f3M)(m.lqb),this.inputBinder=(0,m.f3M)(tn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(a){if(a.name){const{firstChange:p,previousValue:D}=a.name;if(p)return;this.isTrackedInParentContexts(D)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(D)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(a){return this.parentContexts.getContext(a)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const a=this.parentContexts.getContext(this.name);a?.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new m.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new m.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new m.vHH(4012,!1);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,p){this.activated=a,this._activatedRoute=p,this.location.insert(a.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}
1activateWith(a,p){if(this.isActivated)throw new m.vHH(4013,!1);this._activatedRoute=a;const D=this.location,N=a.snapshot.component,te=this.parentContexts.getOrCreateContext(this.name).children,q=new Kr(a,te,D.injector);this.activated=D.createComponent(N,{index:D.length,injector:q,environmentInjector:p??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(p){return new(p||l)};static#t=this.\u0275dir=m.lG2({type:l,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[m.TTD]})}return l})();class Kr{constructor(h,a,p){this.route=h,this.childContexts=a,this.parent=p}get(h,a){return h===Tr?this.route:h===ai?this.childContexts:this.parent.get(h,a)}}const tn=new m.OlP("");let Ar=(()=>{class l{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(a){this.unsubscribeFromRouteData(a),this.subscribeToRouteData(a)}unsubscribeFromRouteData(a){this.outletDataSubscriptions.get(a)?.unsubscribe(),this.outletDataSubscriptions.delete(a)}subscribeToRouteData(a){const{activatedRoute:p}=a,D=Te([p.queryParams,p.params,p.data]).pipe((0,Be.w)(([M,N,te],q)=>(te={...M,...N,...te},0===q?(0,$.of)(te):Promise.resolve(te)))).subscribe(M=>{if(!a.isActivated||!a.activatedComponentRef||a.activatedRoute!==p||null===p.component)return void this.unsubscribeFromRouteData(a);const N=(0,m.qFp)(p.component);if(N)for(const{templateName:te}of N.inputs)a.activatedComponentRef.setInput(te,M[te]);else this.unsubscribeFromRouteData(a)});this.outletDataSubscriptions.set(a,D)}static#e=this.\u0275fac=function(p){return new(p||l)};static#t=this.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac})}return l})();function st(l,h,a){if(a&&l.shouldReuseRoute(h.value,a.value.snapshot)){const p=a.value;p._futureSnapshot=h.value;const D=function li(l,h,a){return h.children.map(p=>{for(const D of a.children)if(l.shouldReuseRoute(p.value,D.value.snapshot))return st(l,p,D);return st(l,p)})}(l,h,a);return new en(p,D)}{if(l.shouldAttach(h.value)){const M=l.retrieve(h.value);if(null!==M){const N=M.route;return N.value._futureSnapshot=h.value,N.children=h.children.map(te=>st(l,te)),N}}const p=function gs(l){return new Tr(new ae.X(l.url),new ae.X(l.params),new ae.X(l.queryParams),new ae.X(l.fragment),new ae.X(l.data),l.outlet,l.component,l)}(h.value),D=h.children.map(M=>st(l,M));return new en(p,D)}}const ar="ngNavigationCancelingError";function jt(l,h){const{redirectTo:a,navigationBehaviorOptions:p}=En(h)?{redirectTo:h,navigationBehaviorOptions:void 0}:h,D=ur(!1,0,h);return D.url=a,D.navigationBehaviorOptions=p,D}function ur(l,h,a){const p=new Error("NavigationCancelingError: "+(l||""));return p[ar]=!0,p.cancellationCode=h,a&&(p.url=a),p}function lr(l){return l&&l[ar]}let yr=(()=>{class l{static#e=this.\u0275fac=function(p){return new(p||l)};static#t=this.\u0275cmp=m.Xpm({type:l,selectors:[["ng-component"]],standalone:!0,features:[m.jDz],decls:1,vars:0,template:function(p,D){1&p&&m._UZ(0,"router-outlet")},dependencies:[In],encapsulation:2})}return l})();function dr(l){const h=l.children&&l.children.map(dr),a=h?{...l,children:h}:{...l};return!a.component&&!a.loadComponent&&(h||a.loadChildren)&&a.outlet&&a.outlet!==lt&&(a.component=yr),a}function Wn(l){return l.outlet||lt}function vr(l){if(!l)return null;if(l.routeConfig?._injector)return l.routeConfig._injector;for(let h=l.parent;h;h=h.parent){const a=h.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class Kn{constructor(h,a,p,D,M){this.routeReuseStrategy=h,this.futureState=a,this.currState=p,this.forwardEvent=D,this.inputBindingEnabled=M}activate(h){const a=this.futureState._root,p=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,p,h),Hn(this.futureState.root),this.activateChildRoutes(a,p,h)}deactivateChildRoutes(h,a,p){const D=or(a);
1h.children.forEach(M=>{const N=M.value.outlet;this.deactivateRoutes(M,D[N],p),delete D[N]}),Object.values(D).forEach(M=>{this.deactivateRouteAndItsChildren(M,p)})}deactivateRoutes(h,a,p){const D=h.value,M=a?a.value:null;if(D===M)if(D.component){const N=p.getContext(D.outlet);N&&this.deactivateChildRoutes(h,a,N.children)}else this.deactivateChildRoutes(h,a,p);else M&&this.deactivateRouteAndItsChildren(a,p)}deactivateRouteAndItsChildren(h,a){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,a):this.deactivateRouteAndOutlet(h,a)}detachAndStoreRouteSubtree(h,a){const p=a.getContext(h.value.outlet),D=p&&h.value.component?p.children:a,M=or(h);for(const N of Object.keys(M))this.deactivateRouteAndItsChildren(M[N],D);if(p&&p.outlet){const N=p.outlet.detach(),te=p.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:N,route:h,contexts:te})}}deactivateRouteAndOutlet(h,a){const p=a.getContext(h.value.outlet),D=p&&h.value.component?p.children:a,M=or(h);for(const N of Object.keys(M))this.deactivateRouteAndItsChildren(M[N],D);p&&(p.outlet&&(p.outlet.deactivate(),p.children.onOutletDeactivated()),p.attachRef=null,p.route=null)}activateChildRoutes(h,a,p){const D=or(a);h.children.forEach(M=>{this.activateRoutes(M,D[M.value.outlet],p),this.forwardEvent(new Ws(M.value.snapshot))}),h.children.length&&this.forwardEvent(new Wi(h.value.snapshot))}activateRoutes(h,a,p){const D=h.value,M=a?a.value:null;if(Hn(D),D===M)if(D.component){const N=p.getOrCreateContext(D.outlet);this.activateChildRoutes(h,a,N.children)}else this.activateChildRoutes(h,a,p);else if(D.component){const N=p.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const te=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),N.children.onOutletReAttached(te.contexts),N.attachRef=te.componentRef,N.route=te.route.value,N.outlet&&N.outlet.attach(te.componentRef,te.route.value),Hn(te.route.value),this.activateChildRoutes(h,null,N.children)}else{const te=vr(D.snapshot);N.attachRef=null,N.route=D,N.injector=te,N.outlet&&N.outlet.activateWith(D,N.injector),this.activateChildRoutes(h,null,N.children)}}else this.activateChildRoutes(h,null,p)}}class Tn{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class fi{constructor(h,a){this.component=h,this.route=a}}function Yr(l,h,a){const p=l._root;return Kt(p,h?h._root:null,a,[p.value])}function $n(l,h){const a=Symbol(),p=h.get(l,a);return p===a?"function"!=typeof l||(0,m.Z0I)(l)?h.get(l):l:p}function Kt(l,h,a,p,D={canDeactivateChecks:[],canActivateChecks:[]}){const M=or(h);return l.children.forEach(N=>{(function Ys(l,h,a,p,D={canDeactivateChecks:[],canActivateChecks:[]}){const M=l.value,N=h?h.value:null,te=a?a.getContext(l.value.outlet):null;if(N&&M.routeConfig===N.routeConfig){const q=function Ms(l,h,a){if("function"==typeof a)return a(l,h);switch(a){case"pathParamsChange":return!Un(l.url,h.url);case"pathParamsOrQueryParamsChange":return!Un(l.url,h.url)||!it(l.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ui(l,h)||!it(l.queryParams,h.queryParams);default:return!ui(l,h)}}(N,M,M.routeConfig.runGuardsAndResolvers);q?D.canActivateChecks.push(new Tn(p)):(M.data=N.data,M._resolvedData=N._resolvedData),Kt(l,h,M.component?te?te.children:null:a,p,D),q&&te&&te.outlet&&te.outlet.isActivated&&D.canDeactivateChecks.push(new fi(te.outlet.component,N))}else N&&wi(h,te,D),D.canActivateChecks.push(new Tn(p)),Kt(l,null,M.component?te?te.children:null:a,p,D)})(N,M[N.value.outlet],a,p.concat([N.value]),D),delete M[N.value.outlet]}),Object.entries(M).forEach(([N,te])=>wi(te,a.getContext(N),D)),D}function wi(l,h,a){const p=or(l),D=l.value;Object.entries(p).forEach(([M,N])=>{wi(N,D.component?h?h.children.getContext(M):null:h,a)}),a.canDeactivateChecks.push(new fi(D.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,D))}function bi(l){return"function"==typeof l}function As(l){return l instanceof rt||"EmptyError"===l?.name}const Ji=Symbol("INITIAL_VALUE");function Hr(){return(0,Be.w)(l=>Te(l.map(h=>h.pipe((0,et.q)(1),function Sr(...l){const h=(0,he.yG)(l);return(0,Ee.e)((a,p)=>{(h?(0,$e.z)(l,a,h):(0,$e.z)(l,a)).subscribe(p)})}(Ji)))).pipe((0,pt.U)(h=>{for(const a of h)if(!0!==a){if(a===Ji)return Ji;if(!1===a||a instanceof xt)return a}return!0}),(0,Rn.h)(h=>h!==Ji),(0,et.q)(1)))}function T(l){return(0,z.z)(le(h=>
1{if(En(h))throw jt(0,h)}),(0,pt.U)(h=>!0===h))}class x{constructor(h){this.segmentGroup=h||null}}class J{constructor(h){this.urlTree=h}}function oe(l){return Re(new x(l))}function Oe(l){return Re(new J(l))}class ct{constructor(h,a){this.urlSerializer=h,this.urlTree=a}noMatchError(h){return new m.vHH(4002,!1)}lineralizeSegments(h,a){let p=[],D=a.root;for(;;){if(p=p.concat(D.segments),0===D.numberOfChildren)return(0,$.of)(p);if(D.numberOfChildren>1||!D.children[lt])return Re(new m.vHH(4e3,!1));D=D.children[lt]}}applyRedirectCommands(h,a,p){return this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),h,p)}applyRedirectCreateUrlTree(h,a,p,D){const M=this.createSegmentGroup(h,a.root,p,D);return new xt(M,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(h,a){const p={};return Object.entries(h).forEach(([D,M])=>{if("string"==typeof M&&M.startsWith(":")){const te=M.substring(1);p[D]=a[te]}else p[D]=M}),p}createSegmentGroup(h,a,p,D){const M=this.createSegments(h,a.segments,p,D);let N={};return Object.entries(a.children).forEach(([te,q])=>{N[te]=this.createSegmentGroup(h,q,p,D)}),new Dt(M,N)}createSegments(h,a,p,D){return a.map(M=>M.path.startsWith(":")?this.findPosParam(h,M,D):this.findOrReturn(M,p))}findPosParam(h,a,p){const D=p[a.path.substring(1)];if(!D)throw new m.vHH(4001,!1);return D}findOrReturn(h,a){let p=0;for(const D of a){if(D.path===h.path)return a.splice(p),D;p++}return h}}const Ye={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ut(l,h,a,p,D){const M=zt(l,h,a);return M.matched?(p=function ms(l,h){return l.providers&&!l._injector&&(l._injector=(0,m.MMx)(l.providers,h,`Route: ${l.path}`)),l._injector??h}(h,p),function j(l,h,a,p){const D=h.canMatch;if(!D||0===D.length)return(0,$.of)(!0);const M=D.map(N=>{const te=$n(N,l);return nn(function Is(l){return l&&bi(l.canMatch)}(te)?te.canMatch(h,a):l.runInContext(()=>te(h,a)))});return(0,$.of)(M).pipe(Hr(),T())}(p,h,a).pipe((0,pt.U)(N=>!0===N?M:{...Ye}))):(0,$.of)(M)}function zt(l,h,a){if(""===h.path)return"full"===h.pathMatch&&(l.hasChildren()||a.length>0)?{...Ye}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const D=(h.matcher||wn)(a,l,h);if(!D)return{...Ye};const M={};Object.entries(D.posParams??{}).forEach(([te,q])=>{M[te]=q.path});const N=D.consumed.length>0?{...M,...D.consumed[D.consumed.length-1].parameters}:M;return{matched:!0,consumedSegments:D.consumed,remainingSegments:a.slice(D.consumed.length),parameters:N,positionalParamSegments:D.posParams??{}}}function sn(l,h,a,p){return a.length>0&&function An(l,h,a){return a.some(p=>On(l,h,p)&&Wn(p)!==lt)}(l,a,p)?{segmentGroup:new Dt(h,Bn(p,new Dt(a,l.children))),slicedSegments:[]}:0===a.length&&function $r(l,h,a){return a.some(p=>On(l,h,p))}(l,a,p)?{segmentGroup:new Dt(l.segments,Cn(l,0,a,p,l.children)),slicedSegments:a}:{segmentGroup:new Dt(l.segments,l.children),slicedSegments:a}}function Cn(l,h,a,p,D){const M={};for(const N of p)if(On(l,a,N)&&!D[Wn(N)]){const te=new Dt([],{});M[Wn(N)]=te}return{...D,...M}}function Bn(l,h){const a={};a[lt]=h;for(const p of l)if(""===p.path&&Wn(p)!==lt){const D=new Dt([],{});a[Wn(p)]=D}return a}function On(l,h,a){return(!(l.hasChildren()||h.length>0)||"full"!==a.pathMatch)&&""===a.path}class Dr{constructor(h,a,p,D,M,N,te){this.injector=h,this.configLoader=a,this.rootComponentType=p,this.config=D,this.urlTree=M,this.paramsInheritanceStrategy=N,this.urlSerializer=te,this.allowRedirects=!0,this.applyRedirects=new ct(this.urlSerializer,this.urlTree)}noMatchError(h){return new m.vHH(4002,!1)}recognize(){const h=sn(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,h,lt).pipe(Mt(a=>{if(a instanceof J)return this.allowRedirects=!1,this.urlTree=a.urlTree,this.match(a.urlTree);throw a instanceof x?this.noMatchError(a):a}),(0,pt.U)(a=>{const p=new Zt([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},lt,this.rootComponentType,null,{}),D=new en(p,a),M=new Ae("",D),N=function Mn(l,h,a=null,p=null){return kn(Ln(l),h,a,p)}(p,[],this.urlTree.queryParams,this.urlTree.fragment);return N.queryParams=this.urlTree.queryParams,M.url=this.urlSerializer.serialize(N),this.inheritParamsAndData(M._root),{state:M,tree:N}}))}match(h){return this.processSegmentGroup(this.injector,this.config,h.root,lt).pipe(Mt(p=>{throw p instanceof x?this.noMatchError(p):p}))}inheritParamsAndData(h){const a=h.value,p=ps(a,this.paramsInheritanceStrategy);a.params=Object.freeze(p.params),a.data=Object.freeze(p.data),h.children.forEac
1h(D=>this.inheritParamsAndData(D))}processSegmentGroup(h,a,p,D){return 0===p.segments.length&&p.hasChildren()?this.processChildren(h,a,p):this.processSegment(h,a,p,p.segments,D,!0)}processChildren(h,a,p){const D=[];for(const M of Object.keys(p.children))"primary"===M?D.unshift(M):D.push(M);return(0,B.D)(D).pipe((0,W.b)(M=>{const N=p.children[M],te=function di(l,h){const a=l.filter(p=>Wn(p)===h);return a.push(...l.filter(p=>Wn(p)!==h)),a}(a,M);return this.processSegmentGroup(h,te,N,M)}),function wt(l,h){return(0,Ee.e)(function Ue(l,h,a,p,D){return(M,N)=>{let te=a,q=h,Ie=0;M.subscribe((0,pe.x)(N,ft=>{const Xt=Ie++;q=te?l(q,ft,Xt):(te=!0,ft),p&&N.next(q)},D&&(()=>{te&&N.next(q),N.complete()})))}}(l,h,arguments.length>=2,!0))}((M,N)=>(M.push(...N),M)),L(null),function ht(l,h){const a=arguments.length>=2;return p=>p.pipe(l?(0,Rn.h)((D,M)=>l(D,M,p)):ge.y,Ot(1),a?L(h):K(()=>new rt))}(),(0,ee.z)(M=>{if(null===M)return oe(p);const N=f(M);return function Qr(l){l.sort((h,a)=>h.value.outlet===lt?-1:a.value.outlet===lt?1:h.value.outlet.localeCompare(a.value.outlet))}(N),(0,$.of)(N)}))}processSegment(h,a,p,D,M,N){return(0,B.D)(a).pipe((0,W.b)(te=>this.processSegmentAgainstRoute(te._injector??h,a,te,p,D,M,N).pipe(Mt(q=>{if(q instanceof x)return(0,$.of)(null);throw q}))),F(te=>!!te),Mt(te=>{if(As(te))return function Rr(l,h,a){return 0===h.length&&!l.children[a]}(p,D,M)?(0,$.of)([]):oe(p);throw te}))}processSegmentAgainstRoute(h,a,p,D,M,N,te){return function vn(l,h,a,p){return!!(Wn(l)===p||p!==lt&&On(h,a,l))&&("**"===l.path||zt(h,l,a).matched)}(p,D,M,N)?void 0===p.redirectTo?this.matchSegmentAgainstRoute(h,D,p,M,N,te):te&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,D,a,p,M,N):oe(D):oe(D)}expandSegmentAgainstRouteUsingRedirect(h,a,p,D,M,N){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,p,D,N):this.expandRegularSegmentAgainstRouteUsingRedirect(h,a,p,D,M,N)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,a,p,D){const M=this.applyRedirects.applyRedirectCommands([],p.redirectTo,{});return p.redirectTo.startsWith("/")?Oe(M):this.applyRedirects.lineralizeSegments(p,M).pipe((0,ee.z)(N=>{const te=new Dt(N,{});return this.processSegment(h,a,te,N,D,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,a,p,D,M,N){const{matched:te,consumedSegments:q,remainingSegments:Ie,positionalParamSegments:ft}=zt(a,D,M);if(!te)return oe(a);const Xt=this.applyRedirects.applyRedirectCommands(q,D.redirectTo,ft);return D.redirectTo.startsWith("/")?Oe(Xt):this.applyRedirects.lineralizeSegments(D,Xt).pipe((0,ee.z)(Bt=>this.processSegment(h,p,a,Bt.concat(Ie),N,!1)))}matchSegmentAgainstRoute(h,a,p,D,M,N){let te;if("**"===p.path){const q=D.length>0?sr(D).parameters:{},Ie=new Zt(D,q,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,v(p),Wn(p),p.component??p._loadedComponent??null,p,_(p));te=(0,$.of)({snapshot:Ie,consumedSegments:[],remainingSegments:[]}),a.children={}}else te=ut(a,p,D,h).pipe((0,pt.U)(({matched:q,consumedSegments:Ie,remainingSegments:ft,parameters:Xt})=>q?{snapshot:new Zt(Ie,Xt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,v(p),Wn(p),p.component??p._loadedComponent??null,p,_(p)),consumedSegments:Ie,remainingSegments:ft}:null));return te.pipe((0,Be.w)(q=>null===q?oe(a):this.getChildConfig(h=p._injector??h,p,D).pipe((0,Be.w)(({routes:Ie})=>{const ft=p._loadedInjector??h,{snapshot:Xt,consumedSegments:Bt,remainingSegments:vi}=q,{segmentGroup:ns,slicedSegments:Fs}=sn(a,Bt,vi,Ie);if(0===Fs.length&&ns.hasChildren())return this.processChildren(ft,Ie,ns).pipe((0,pt.U)(xn=>null===xn?null:[new en(Xt,xn)]));if(0===Ie.length&&0===Fs.length)return(0,$.of)([new en(Xt,[])]);const Qo=Wn(p)===M;return this.processSegment(ft,Ie,ns,Fs,Qo?lt:M,!0).pipe((0,pt.U)(xn=>[new en(Xt,xn)]))}))))}getChildConfig(h,a,p){return a.children?(0,$.of)({routes:a.children,injector:h}):a.loadChildren?void 0!==a._loadedRoutes?(0,$.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function C(l,h,a,p){const D=h.canLoad;if(void 0===D||0===D.length)return(0,$.of)(!0);const M=D.map(N=>{const te=$n(N,l);return nn(function Fa(l){return l&&bi(l.canLoad)}
1(te)?te.canLoad(h,a):l.runInContext(()=>te(h,a)))});return(0,$.of)(M).pipe(Hr(),T())}(h,a,p).pipe((0,ee.z)(D=>D?this.configLoader.loadChildren(h,a).pipe(le(M=>{a._loadedRoutes=M.routes,a._loadedInjector=M.injector})):function At(l){return Re(ur(!1,3))}())):(0,$.of)({routes:[],injector:h})}}function Zr(l){const h=l.value.routeConfig;return h&&""===h.path}function f(l){const h=[],a=new Set;for(const p of l){if(!Zr(p)){h.push(p);continue}const D=h.find(M=>p.value.routeConfig===M.value.routeConfig);void 0!==D?(D.children.push(...p.children),a.add(D)):h.push(p)}for(const p of a){const D=f(p.children);h.push(new en(p.value,D))}return h.filter(p=>!a.has(p))}function v(l){return l.data||{}}function _(l){return l.resolve||{}}function Ct(l){return"string"==typeof l.title||null===l.title}function ze(l){return(0,Be.w)(h=>{const a=l(h);return a?(0,B.D)(a).pipe((0,pt.U)(()=>h)):(0,$.of)(h)})}const Qt=new m.OlP("ROUTES");let qt=(()=>{class l{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,m.f3M)(m.Sil)}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,$.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const p=nn(a.loadComponent()).pipe((0,pt.U)(on),le(M=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=M}),(0,Fn.x)(()=>{this.componentLoaders.delete(a)})),D=new Xe(p,()=>new Ht.x).pipe(Ze());return this.componentLoaders.set(a,D),D}loadChildren(a,p){if(this.childrenLoaders.get(p))return this.childrenLoaders.get(p);if(p._loadedRoutes)return(0,$.of)({routes:p._loadedRoutes,injector:p._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(p);const M=function Ft(l,h,a,p){return nn(l.loadChildren()).pipe((0,pt.U)(on),(0,ee.z)(D=>D instanceof m.YKP||Array.isArray(D)?(0,$.of)(D):(0,B.D)(h.compileModuleAsync(D))),(0,pt.U)(D=>{p&&p(l);let M,N,te=!1;return Array.isArray(D)?(N=D,!0):(M=D.create(a).injector,N=M.get(Qt,[],{optional:!0,self:!0}).flat()),{routes:N.map(dr),injector:M}}))}(p,this.compiler,a,this.onLoadEndListener).pipe((0,Fn.x)(()=>{this.childrenLoaders.delete(p)})),N=new Xe(M,()=>new Ht.x).pipe(Ze());return this.childrenLoaders.set(p,N),N}static#e=this.\u0275fac=function(p){return new(p||l)};static#t=this.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();function on(l){return function zn(l){return l&&"object"==typeof l&&"default"in l}(l)?l.default:l}let rr=(()=>{class l{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ht.x,this.transitionAbortSubject=new Ht.x,this.configLoader=(0,m.f3M)(qt),this.environmentInjector=(0,m.f3M)(m.lqb),this.urlSerializer=(0,m.f3M)(Nn),this.rootContexts=(0,m.f3M)(ai),this.inputBindingEnabled=null!==(0,m.f3M)(tn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,$.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=D=>this.events.next(new Ss(D)),this.configLoader.onLoadStartListener=D=>this.events.next(new cs(D))}complete(){this.transitions?.complete()}handleNavigationRequest(a){const p=++this.navigationId;this.transitions?.next({...this.transitions.value,...a,id:p})}setupNavigations(a,p,D){return this.transitions=new ae.X({id:0,currentUrlTree:p,currentRawUrl:p,currentBrowserUrl:p,extractedUrl:a.urlHandlingStrategy.extract(p),urlAfterRedirects:a.urlHandlingStrategy.extract(p),rawUrl:p,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Wr,restoredState:null,currentSnapshot:D.snapshot,targetSnapshot:null,currentRouterState:D,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Rn.h)(M=>0!==M.id),(0,pt.U)(M=>({...M,extractedUrl:a.urlHandlingStrategy.extract(M.rawUrl)})),(0,Be.w)(M=>{this.currentTransition=M;let N=!1,te=!1;return(0,$.of)(M).pipe(le(q=>{this.currentNavigation={id:q.id,initialUrl:q.rawUrl,extractedUrl:q.extractedUrl,trigger:q.source,extras:q.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Be.w)(q=>{const Ie=q.currentBrowserUrl.toString(),ft=!a.navigated||q.extractedUrl.toString()!==Ie||Ie!==q.currentUrlTree.toString();if(!ft&&"reload"!==(q.extras.onSameUrlNavigation??a.onSameUrlNavigation)){const Bt="";return this.events.next(new Ut(q.id,this.urlSerializer.serialize(q.rawUrl),Bt,0)),q.resolve(null),We.E}if(a.urlHandlingStrategy.shouldProcessUrl(q.rawUrl))return(0,$.of)(q).pipe((0,Be.w)(Bt=>{const vi=this.transitions?.getValue();return this.events.next(new si(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),Bt.source,Bt.restoredState)),vi!==this.transitions?.getValue()?We.E:Promise.resolve(Bt)}),function P(l,h,a,p,D,M){return(0,ee.z)(N=>function Br(l,h,a,p,D,M,N="emptyOnly"){return new Dr(l,h,a,p,D,N,M).recognize()}(l,h,a,p,N.extractedUrl,D,M).pipe((0,pt.U)(({state:te,tree:q})=>({...N,targetSnapshot:te,urlAfterRedirects:q}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,a.
1config,this.urlSerializer,a.paramsInheritanceStrategy),le(Bt=>{M.targetSnapshot=Bt.targetSnapshot,M.urlAfterRedirects=Bt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Bt.urlAfterRedirects};const vi=new Ri(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),this.urlSerializer.serialize(Bt.urlAfterRedirects),Bt.targetSnapshot);this.events.next(vi)}));if(ft&&a.urlHandlingStrategy.shouldProcessUrl(q.currentRawUrl)){const{id:Bt,extractedUrl:vi,source:ns,restoredState:Fs,extras:Qo}=q,xn=new si(Bt,this.urlSerializer.serialize(vi),ns,Fs);this.events.next(xn);const rs=Ci(0,this.rootComponentType).snapshot;return this.currentTransition=M={...q,targetSnapshot:rs,urlAfterRedirects:vi,extras:{...Qo,skipLocationChange:!1,replaceUrl:!1}},(0,$.of)(M)}{const Bt="";return this.events.next(new Ut(q.id,this.urlSerializer.serialize(q.extractedUrl),Bt,1)),q.resolve(null),We.E}}),le(q=>{const Ie=new bs(q.id,this.urlSerializer.serialize(q.extractedUrl),this.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);this.events.next(Ie)}),(0,pt.U)(q=>(this.currentTransition=M={...q,guards:Yr(q.targetSnapshot,q.currentSnapshot,this.rootContexts)},M)),function Fi(l,h){return(0,ee.z)(a=>{const{targetSnapshot:p,currentSnapshot:D,guards:{canActivateChecks:M,canDeactivateChecks:N}}=a;return 0===N.length&&0===M.length?(0,$.of)({...a,guardsResult:!0}):function Uo(l,h,a,p){return(0,B.D)(l).pipe((0,ee.z)(D=>function y(l,h,a,p,D){const M=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!M||0===M.length)return(0,$.of)(!0);const N=M.map(te=>{const q=vr(h)??D,Ie=$n(te,q);return nn(function Zs(l){return l&&bi(l.canDeactivate)}(Ie)?Ie.canDeactivate(l,h,a,p):q.runInContext(()=>Ie(l,h,a,p))).pipe(F())});return(0,$.of)(N).pipe(Hr())}(D.component,D.route,a,h,p)),F(D=>!0!==D,!0))}(N,p,D,l).pipe((0,ee.z)(te=>te&&function Qs(l){return"boolean"==typeof l}(te)?function Ps(l,h,a,p){return(0,B.D)(h).pipe((0,W.b)(D=>(0,$e.z)(function b(l,h){return null!==l&&h&&h(new ds(l)),(0,$.of)(!0)}(D.route.parent,p),function es(l,h){return null!==l&&h&&h(new Ki(l)),(0,$.of)(!0)}(D.route,p),function d(l,h,a){const p=h[h.length-1],M=h.slice(0,h.length-1).reverse().map(N=>function Xi(l){const h=l.routeConfig?l.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:l,guards:h}:null}(N)).filter(N=>null!==N).map(N=>(0,je.P)(()=>{const te=N.guards.map(q=>{const Ie=vr(N.node)??a,ft=$n(q,Ie);return nn(function Bo(l){return l&&bi(l.canActivateChild)}(ft)?ft.canActivateChild(p,l):Ie.runInContext(()=>ft(p,l))).pipe(F())});return(0,$.of)(te).pipe(Hr())}));return(0,$.of)(M).pipe(Hr())}(l,D.path,a),function u(l,h,a){const p=h.routeConfig?h.routeConfig.canActivate:null;if(!p||0===p.length)return(0,$.of)(!0);const D=p.map(M=>(0,je.P)(()=>{const N=vr(h)??a,te=$n(M,N);return nn(function La(l){return l&&bi(l.canActivate)}(te)?te.canActivate(h,l):N.runInContext(()=>te(h,l))).pipe(F())}));return(0,$.of)(D).pipe(Hr())}(l,D.route,a))),F(D=>!0!==D,!0))}(p,M,l,h):(0,$.of)(te)),(0,pt.U)(te=>({...a,guardsResult:te})))})}(this.environmentInjector,q=>this.events.next(q)),le(q=>{if(M.guardsResult=q.guardsResult,En(q.guardsResult))throw jt(0,q.guardsResult);const Ie=new zs(q.id,this.urlSerializer.serialize(q.extractedUrl),this.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot,!!q.guardsResult);this.events.next(Ie)}),(0,Rn.h)(q=>!!q.guardsResult||(this.cancelNavigationTransition(q,"",3),!1)),ze(q=>{if(q.guards.canActivateChecks.length)return(0,$.of)(q).pipe(le(Ie=>{const ft=new Gi(Ie.id,this.urlSerializer.serialize(Ie.extractedUrl),this.urlSerializer.serialize(Ie.urlAfterRedirects),Ie.targetSnapshot);this.events.next(ft)}),(0,Be.w)(Ie=>{let ft=!1;return(0,$.of)(Ie).pipe(function V(l,h){return(0,ee.z)(a=>{const{targetSnapshot:p,guards:{canActivateChecks:D}}=a;if(!D.length)return(0,$.of)(a);let M=0;return(0,B.D)(D).pipe((0,W.b)(N=>function re(l,h,a,p){const D=l.routeConfig,M=l._resolve;return void 0!==D?.title&&!Ct(D)&&(M[Yt]=D.title),function xe(l,h,a,p){const D=function Pt(l){return[...Object.keys(l),...Object.getOwnPropertySymbols(l)]}(l);if(0===D.length)return(0,$.of)({});const M={};return(0,B.D)(D).pipe((0,ee.z)(N=>function yt(l,h,a,p){const D=vr(h)??p,M=$n(l,D);return nn(M.resolve?M.resolve(h,a):D.runInContext(()=>M(h,a)))}(l[N],h,a,p).pipe(F(),le(te=>{M[N]=te}))),Ot(1),function un(l){return(0,pt.U)(()=>l)}(M),Mt(N=>As(N)?We.E:Re(N)))}(M,l,h,p).pipe((0,pt.U)(N=>(l._resolvedData=N,l.data=ps(l,a).resolve,D&&Ct(D)&&(l.data[Yt]=D.title),null)))}(N.route,p,l,h)),le(()=>M++),Ot(1),(0,ee.z)(N=>M===D.length?(0,$.of)(a):We.E))})}(a.paramsInheritanceStrategy,this.environmentInjector),le({next:()=>ft=!0,complete:()=>{ft||this.cancelNavigationTransition(Ie,"",2)}}))}),le(Ie=>
1{const ft=new Gs(Ie.id,this.urlSerializer.serialize(Ie.extractedUrl),this.urlSerializer.serialize(Ie.urlAfterRedirects),Ie.targetSnapshot);this.events.next(ft)}))}),ze(q=>{const Ie=ft=>{const Xt=[];ft.routeConfig?.loadComponent&&!ft.routeConfig._loadedComponent&&Xt.push(this.configLoader.loadComponent(ft.routeConfig).pipe(le(Bt=>{ft.component=Bt}),(0,pt.U)(()=>{})));for(const Bt of ft.children)Xt.push(...Ie(Bt));return Xt};return Te(Ie(q.targetSnapshot.root)).pipe(L(),(0,et.q)(1))}),ze(()=>this.afterPreactivation()),(0,pt.U)(q=>{const Ie=function Pr(l,h,a){const p=st(l,h._root,a?a._root:void 0);return new _n(p,h)}(a.routeReuseStrategy,q.targetSnapshot,q.currentRouterState);return this.currentTransition=M={...q,targetRouterState:Ie},M}),le(()=>{this.events.next(new qi)}),((l,h,a,p)=>(0,pt.U)(D=>(new Kn(h,D.targetRouterState,D.currentRouterState,a,p).activate(l),D)))(this.rootContexts,a.routeReuseStrategy,q=>this.events.next(q),this.inputBindingEnabled),(0,et.q)(1),le({next:q=>{N=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new nr(q.id,this.urlSerializer.serialize(q.extractedUrl),this.urlSerializer.serialize(q.urlAfterRedirects))),a.titleStrategy?.updateTitle(q.targetRouterState.snapshot),q.resolve(!0)},complete:()=>{N=!0}}),function Ke(l){return(0,Ee.e)((h,a)=>{(0,Ne.Xf)(l).subscribe((0,pe.x)(a,()=>a.complete(),vt.Z)),!a.closed&&h.subscribe(a)})}(this.transitionAbortSubject.pipe(le(q=>{throw q}))),(0,Fn.x)(()=>{N||te||this.cancelNavigationTransition(M,"",1),this.currentNavigation?.id===M.id&&(this.currentNavigation=null)}),Mt(q=>{if(te=!0,lr(q))this.events.next(new oi(M.id,this.urlSerializer.serialize(M.extractedUrl),q.message,q.cancellationCode)),function ci(l){return lr(l)&&En(l.url)}(q)?this.events.next(new _i(q.url)):M.resolve(!1);else{this.events.next(new Pi(M.id,this.urlSerializer.serialize(M.extractedUrl),q,M.targetSnapshot??void 0));try{M.resolve(a.errorHandler(q))}catch(Ie){M.reject(Ie)}}return We.E}))}))}cancelNavigationTransition(a,p,D){const M=new oi(a.id,this.urlSerializer.serialize(a.extractedUrl),p,D);this.events.next(M),a.resolve(!1)}static#e=this.\u0275fac=function(p){return new(p||l)};static#t=this.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();function qn(l){return l!==Wr}let hi=(()=>{class l{buildTitle(a){let p,D=a.root;for(;void 0!==D;)p=this.getResolvedTitleForRoute(D)??p,D=D.children.find(M=>M.outlet===lt);return p}getResolvedTitleForRoute(a){return a.data[Yt]}static#e=this.\u0275fac=function(p){return new(p||l)};static#t=this.\u0275prov=m.Yz7({token:l,factory:function(){return(0,m.f3M)(Xr)},providedIn:"root"})}return l})(),Xr=(()=>{class l extends hi{constructor(a){super(),this.title=a}updateTitle(a){const p=this.buildTitle(a);void 0!==p&&this.title.setTitle(p)}static#e=this.\u0275fac=function(p){return new(p||l)(m.LFG(zi.Dx))};static#t=this.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Si=(()=>{class l{static#e=this.\u0275fac=function(p){return new(p||l)};static#t=this.\u0275prov=m.Yz7({token:l,factory:function(){return(0,m.f3M)(gl)},providedIn:"root"})}return l})();class pl{shouldDetach(h){return!1}store(h,a){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,a){return h.routeConfig===a.routeConfig}}let gl=(()=>{class l extends pl{static#e=this.\u0275fac=function(){let a;return function(D){return(a||(a=m.n5z(l)))(D||l)}}();static#t=this.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();const Rs=new m.OlP("",{providedIn:"root",factory:()=>({})});let ja=(()=>{class l{static#e=this.\u0275fac=function(p){return new(p||l)};static#t=this.\u0275prov=m.Yz7({token:l,factory:function(){return(0,m.f3M)(ml)},providedIn:"root"})}return l})(),ml=(()=>{class l{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,p){return a}static#e=this.\u0275fac=function(p){return new(p||l)};static#t=this.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();var ts=function(l){return l[l.COMPLETE=0]="COMPLETE",l[l.FAILED=1]="FAILED",l[l.REDIRECTING=2]="REDIRECTING",l}(ts||{});function Ha(l,h){l.events.pipe((0,Rn.h)(a=>a instanceof nr||a instanceof oi||a instanceof Pi||a instanceof Ut),(0,pt.U)(a=>a instanceof nr||a instanceof Ut?ts.COMPLETE:a instanceof oi&&(0===a.code||1===a.code)?ts.REDIRECTING:ts.FAILED),(0,Rn.h)(a=>a!==ts.REDIRECTING),(0,et.q)(1)).subscribe(()=>{h()})}function pi(l){throw l}function $a(l,h,a){return h.parse("/")}const Ba={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},an={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Er=(()=>{class l{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,m.f3M)(m.c2e),this.isNgZoneEnabled=!1,this._events=new Ht.x,this.options=(0,m.f3M)(Rs,{optional:!0})||{},this.pendingTasks=(0,m.f3M)(m.HDt),this.errorHandler=this.options.errorHandler||pi,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||$a,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,m.f3M)(ja),this.routeReuseStrategy=(0,m.f3M)(Si),this.titleStrategy=(0,m.f3M)(hi),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,m.f3M)(Qt,{optional:!0})?.flat()??[],this.navigationTransitions=(0,m.f3M)(rr),this.urlSerializer
1=(0,m.f3M)(Nn),this.location=(0,m.f3M)(Me.Ye),this.componentInputBindingEnabled=!!(0,m.f3M)(tn,{optional:!0}),this.eventsSubscription=new ue.w0,this.isNgZoneEnabled=(0,m.f3M)(m.R0b)instanceof m.R0b&&m.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new xt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ci(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(a=>{this.lastSuccessfulId=a.id,this.currentPageId=this.browserPageId},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const a=this.navigationTransitions.events.subscribe(p=>{try{const{currentTransition:D}=this.navigationTransitions;if(null===D)return void(fr(p)&&this._events.next(p));if(p instanceof si)qn(D.source)&&(this.browserUrlTree=D.extractedUrl);else if(p instanceof Ut)this.rawUrlTree=D.rawUrl;else if(p instanceof Ri){if("eager"===this.urlUpdateStrategy){if(!D.extras.skipLocationChange){const M=this.urlHandlingStrategy.merge(D.urlAfterRedirects,D.rawUrl);this.setBrowserUrl(M,D)}this.browserUrlTree=D.urlAfterRedirects}}else if(p instanceof qi)this.currentUrlTree=D.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(D.urlAfterRedirects,D.rawUrl),this.routerState=D.targetRouterState,"deferred"===this.urlUpdateStrategy&&(D.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,D),this.browserUrlTree=D.urlAfterRedirects);else if(p instanceof oi)0!==p.code&&1!==p.code&&(this.navigated=!0),(3===p.code||2===p.code)&&this.restoreHistory(D);else if(p instanceof _i){const M=this.urlHandlingStrategy.merge(p.url,D.currentRawUrl),N={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||qn(D.source)};this.scheduleNavigation(M,Wr,null,N,{resolve:D.resolve,reject:D.reject,promise:D.promise})}p instanceof Pi&&this.restoreHistory(D,!0),p instanceof nr&&(this.navigated=!0),fr(p)&&this._events.next(p)}catch(D){this.navigationTransitions.transitionAbortSubject.next(D)}});this.eventsSubscription.add(a)}resetRootComponentType(a){this.routerState.root.component=a,this.navigationTransitions.rootComponentType=a}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const a=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Wr,a)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const p="popstate"===a.type?"popstate":"hashchange";"popstate"===p&&setTimeout(()=>{this.navigateToSyncWithBrowser(a.url,p,a.state)},0)}))}navigateToSyncWithBrowser(a,p,D){const M={replaceUrl:!0},N=D?.navigationId?D:null;if(D){const q={...D};delete q.navigationId,delete q.\u0275routerPageId,0!==Object.keys(q).length&&(M.state=q)}const te=this.parseUrl(a);this.scheduleNavigation(te,p,N,M)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(a){this.config=a.map(dr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(a,p={}){const{relativeTo:D,queryParams:M,fragment:N,queryParamsHandling:te,preserveFragment:q}=p,Ie=q?this.currentUrlTree.fragment:N;let Xt,ft=null;switch(te){case"merge":ft={...this.currentUrlTree.queryParams,...M};break;case"preserve":ft=this.currentUrlTree.queryParams;break;default:ft=M||null}null!==ft&&(ft=this.removeEmptyProps(ft));try{Xt=Ln(D?D.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof a[0]||!a[0].startsWith("/"))&&(a=[]),Xt=this.currentUrlTree.root}return kn(Xt,a,ft,Ie??null)}navigateByUrl(a,p={skipLocationChange:!1}){const D=En(a)?a:this.parseUrl(a),M=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(M,Wr,null,p)}navigate(a,p={skipLocationChange:!1}){return function Xs(l){for(let h=0;h<l.length;h++)if(null==l[h])throw new m.vHH(4008,!1)}(a),this.navigateByUrl(this.createUrlTree(a,p),p)}serializeUrl(a){return this.urlSerializer.serialize(a)}parseUrl(a){let p;try{p=this.urlSerializer.parse(a)}catch(D){p=this.malformedUriErrorHandler(D,this.urlSerializer,a)}return p}isActive(a,p){let D;if(D=!0===p?{...Ba}:!1===p?{...an}:p,En(a))return Lr(this.currentUrlTree,a,D);const M=this.parseUrl(a);return Lr(this.currentUrlTree,M,D)}removeEmptyProps(a){return Object.keys(a).reduce((p,D)=>{const M=a[D];return null!=M&&(p[D]=M),p},{})}scheduleNavigation(a,p,D,M,N){if(this.disposed)return Promise.resolve(!1);let te,q,Ie;N?(te=N.resolve,q=N.reject,Ie=N.promise):Ie=new Promise((Xt,Bt)=>{te=Xt,q=Bt});
1const ft=this.pendingTasks.add();return Ha(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ft))}),this.navigationTransitions.handleNavigationRequest({source:p,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:a,extras:M,resolve:te,reject:q,promise:Ie,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ie.catch(Xt=>Promise.reject(Xt))}setBrowserUrl(a,p){const D=this.urlSerializer.serialize(a);if(this.location.isCurrentPathEqualTo(D)||p.extras.replaceUrl){const N={...p.extras.state,...this.generateNgRouterState(p.id,this.browserPageId)};this.location.replaceState(D,"",N)}else{const M={...p.extras.state,...this.generateNgRouterState(p.id,this.browserPageId+1)};this.location.go(D,"",M)}}restoreHistory(a,p=!1){if("computed"===this.canceledNavigationResolution){const M=this.currentPageId-this.browserPageId;0!==M?this.location.historyGo(M):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===M&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(p&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(a,p){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:p}:{navigationId:a}}static#e=this.\u0275fac=function(p){return new(p||l)};static#t=this.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();function fr(l){return!(l instanceof qi||l instanceof _i)}class _r{}let yl=(()=>{class l{constructor(a,p,D,M,N){this.router=a,this.injector=D,this.preloadingStrategy=M,this.loader=N}setUpPreloading(){this.subscription=this.router.events.pipe((0,Rn.h)(a=>a instanceof nr),(0,W.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,p){const D=[];for(const M of p){M.providers&&!M._injector&&(M._injector=(0,m.MMx)(M.providers,a,`Route: ${M.path}`));const N=M._injector??a,te=M._loadedInjector??N;(M.loadChildren&&!M._loadedRoutes&&void 0===M.canLoad||M.loadComponent&&!M._loadedComponent)&&D.push(this.preloadConfig(N,M)),(M.children||M._loadedRoutes)&&D.push(this.processRoutes(te,M.children??M._loadedRoutes))}return(0,B.D)(D).pipe((0,Dn.J)())}preloadConfig(a,p){return this.preloadingStrategy.preload(p,()=>{let D;D=p.loadChildren&&void 0===p.canLoad?this.loader.loadChildren(a,p):(0,$.of)(null);const M=D.pipe((0,ee.z)(N=>null===N?(0,$.of)(void 0):(p._loadedRoutes=N.routes,p._loadedInjector=N.injector,this.processRoutes(N.injector??a,N.routes))));if(p.loadComponent&&!p._loadedComponent){const N=this.loader.loadComponent(p);return(0,B.D)([M,N]).pipe((0,Dn.J)())}return M})}static#e=this.\u0275fac=function(p){return new(p||l)(m.LFG(Er),m.LFG(m.Sil),m.LFG(m.lqb),m.LFG(_r),m.LFG(qt))};static#t=this.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();const gi=new m.OlP("");let zo=(()=>{class l{constructor(a,p,D,M,N={}){this.urlSerializer=a,this.transitions=p,this.viewportScroller=D,this.zone=M,this.options=N,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},N.scrollPositionRestoration=N.scrollPositionRestoration||"disabled",N.anchorScrolling=N.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof si?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof nr?(this.lastId=a.id,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.urlAfterRedirects).fragment)):a instanceof Ut&&0===a.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof fs&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(
1a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,p){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new fs(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,p))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(p){m.$Z()};static#t=this.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac})}return l})();function mi(l,h){return{\u0275kind:l,\u0275providers:h}}function Dl(){const l=(0,m.f3M)(m.zs3);return h=>{const a=l.get(m.z2F);if(h!==a.components[0])return;const p=l.get(Er),D=l.get(za);1===l.get(Wo)&&p.initialNavigation(),l.get(Wa,null,m.XFs.Optional)?.setUpPreloading(),l.get(gi,null,m.XFs.Optional)?.init(),p.resetRootComponentType(a.componentTypes[0]),D.closed||(D.next(),D.complete(),D.unsubscribe())}}const za=new m.OlP("",{factory:()=>new Ht.x}),Wo=new m.OlP("",{providedIn:"root",factory:()=>1}),Wa=new m.OlP("");function _l(l){return mi(0,[{provide:Wa,useExisting:yl},{provide:_r,useExisting:l}])}const Ko=new m.OlP("ROUTER_FORROOT_GUARD"),Ka=[Me.Ye,{provide:Nn,useClass:Sn},Er,ai,{provide:Tr,useFactory:function Go(l){return l.routerState.root},deps:[Er]},qt,[]];function Yn(){return new m.PXZ("Router",Er)}let qa=(()=>{class l{constructor(a){}static forRoot(a,p){return{ngModule:l,providers:[Ka,[],{provide:Qt,multi:!0,useValue:a},{provide:Ko,useFactory:Yo,deps:[[Er,new m.FiY,new m.tp0]]},{provide:Rs,useValue:p||{}},p?.useHash?{provide:Me.S$,useClass:Me.Do}:{provide:Me.S$,useClass:Me.b0},{provide:gi,useFactory:()=>{const l=(0,m.f3M)(Me.EM),h=(0,m.f3M)(m.R0b),a=(0,m.f3M)(Rs),p=(0,m.f3M)(rr),D=(0,m.f3M)(Nn);return a.scrollOffset&&l.setOffset(a.scrollOffset),new zo(D,p,l,h,a)}},p?.preloadingStrategy?_l(p.preloadingStrategy).\u0275providers:[],{provide:m.PXZ,multi:!0,useFactory:Yn},p?.initialNavigation?Cl(p):[],p?.bindToComponentInputs?mi(8,[Ar,{provide:tn,useExisting:Ar}]).\u0275providers:[],[{provide:wl,useFactory:Dl},{provide:m.tb,multi:!0,useExisting:wl}]]}}static forChild(a){return{ngModule:l,providers:[{provide:Qt,multi:!0,useValue:a}]}}static#e=this.\u0275fac=function(p){return new(p||l)(m.LFG(Ko,8))};static#t=this.\u0275mod=m.oAB({type:l});static#n=this.\u0275inj=m.cJS({})}return l})();function Yo(l){return"guarded"}function Cl(l){return["disabled"===l.initialNavigation?mi(3,[{provide:m.ip1,multi:!0,useFactory:()=>{const h=(0,m.f3M)(Er);return()=>{h.setUpLocationChangeListener()}}},{provide:Wo,useValue:2}]).\u0275providers:[],"enabledBlocking"===l.initialNavigation?mi(2,[{provide:Wo,useValue:0},{provide:m.ip1,multi:!0,deps:[m.zs3],useFactory:h=>{const a=h.get(Me.V_,Promise.resolve());return()=>a.then(()=>new Promise(p=>{const D=h.get(Er),M=h.get(za);Ha(D,()=>{p(!0)}),h.get(rr).afterPreactivation=()=>(p(!0),M.closed?(0,$.of)(void 0):M),D.initialNavigation()}))}}]).\u0275providers:[]]}const wl=new m.OlP("")},3911:(Qe,ve,A)=>{A.d(ve,{Zw:()=>nt,aw:()=>ee,X$:()=>Rn,sK:()=>et});var m=A(9291),Z=A(2096),B=A(2664),$=A(9315),ae=A(5211),ie=A(4911),ne=A(8180),ge=A(8645);const ce={now:()=>(ce.delegate||Date).now(),delegate:void 0};class he extends ge.x{constructor(K=1/0,I=1/0,F=ce){super(),this._bufferSize=K,this._windowTime=I,this._timestampProvider=F,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=I===1/0,this._bufferSize=Math.max(1,K),this._windowTime=Math.max(1,I)}next(K){const{isStopped:I,_buffer:F,_infiniteTimeWindow:W,_timestampProvider:le,_windowTime:Ne}=this;I||(F.push(K),!W&&F.push(le.now()+Ne)),this._trimBuffer(),super.next(K)}_subscribe(K){this._throwIfClosed(),this._trimBuffer();const I=this._innerSubscribe(K),{_infiniteTimeWindow:F,_buffer:W}=this,le=W.slice();for(let Ne=0;Ne<le.length&&!K.closed;Ne+=F?1:2)K.next(le[Ne]);return this._checkFinalizedStatuses(K),I}_trimBuffer(){const{_bufferSize:K,_timestampProvider:I,_buffer:F,_infiniteTimeWindow:W}=this,le=(W?1:2)*K;if(K<1/0&&le<F.length&&F.splice(0,F.length-le),!W){const Ne=I.now();let Mt=0;for(let Ue=1;Ue<F.length&&F[Ue]<=Ne;Ue+=2)Mt=Ue;Mt&&F.splice(0,Mt+1)}}}var se=A(3020);function pe(L,K,I){let F,W=!1;return L&&"object"==typeof L?({bufferSize:F=1/0,windowTime:K=1/0,refCount:W=!1,scheduler:I}=L):F=L??1/0,(0,se.B)({connector:()=>new he(F,K,I),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:W})}var Pe=A(7398),Te=A(6328),Ge=A(4664);class nt{}
1let tt=(()=>{class L extends nt{getTranslation(I){return(0,Z.of)({})}static \u0275fac=function(){let I;return function(W){return(I||(I=m.n5z(L)))(W||L)}}();static \u0275prov=m.Yz7({token:L,factory:L.\u0275fac})}return L})();class rt{}let $e=(()=>{class L{handle(I){return I.key}static \u0275fac=function(F){return new(F||L)};static \u0275prov=m.Yz7({token:L,factory:L.\u0275fac})}return L})();function je(L,K){if(L===K)return!0;if(null===L||null===K)return!1;if(L!=L&&K!=K)return!0;let W,le,Ne,I=typeof L;if(I==typeof K&&"object"==I){if(!Array.isArray(L)){if(Array.isArray(K))return!1;for(le in Ne=Object.create(null),L){if(!je(L[le],K[le]))return!1;Ne[le]=!0}for(le in K)if(!(le in Ne)&&typeof K[le]<"u")return!1;return!0}if(!Array.isArray(K))return!1;if((W=L.length)==K.length){for(le=0;le<W;le++)if(!je(L[le],K[le]))return!1;return!0}}return!1}function z(L){return typeof L<"u"&&null!==L}function me(L){return L&&"object"==typeof L&&!Array.isArray(L)}function Re(L,K){let I=Object.assign({},L);return me(L)&&me(K)&&Object.keys(K).forEach(F=>{me(K[F])?F in L?I[F]=Re(L[F],K[F]):Object.assign(I,{[F]:K[F]}):Object.assign(I,{[F]:K[F]})}),I}class We{}let ue=(()=>{class L extends We{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(I,F){let W;return W="string"==typeof I?this.interpolateString(I,F):"function"==typeof I?this.interpolateFunction(I,F):I,W}getValue(I,F){let W="string"==typeof F?F.split("."):[F];F="";do{F+=W.shift(),!z(I)||!z(I[F])||"object"!=typeof I[F]&&W.length?W.length?F+=".":I=void 0:(I=I[F],F="")}while(W.length);return I}interpolateFunction(I,F){return I(F)}interpolateString(I,F){return F?I.replace(this.templateMatcher,(W,le)=>{let Ne=this.getValue(F,le);return z(Ne)?Ne:W}):I}static \u0275fac=function(){let I;return function(W){return(I||(I=m.n5z(L)))(W||L)}}();static \u0275prov=m.Yz7({token:L,factory:L.\u0275fac})}return L})();class Ee{}let Ze=(()=>{class L extends Ee{compile(I,F){return I}compileTranslations(I,F){return I}static \u0275fac=function(){let I;return function(W){return(I||(I=m.n5z(L)))(W||L)}}();static \u0275prov=m.Yz7({token:L,factory:L.\u0275fac})}return L})();class Xe{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new m.vpe;onLangChange=new m.vpe;onDefaultLangChange=new m.vpe}const Ht=new m.OlP("USE_STORE"),Me=new m.OlP("USE_DEFAULT_LANG"),pt=new m.OlP("DEFAULT_LANGUAGE"),Be=new m.OlP("USE_EXTEND");let et=(()=>{class L{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new m.vpe;_onLangChange=new m.vpe;_onDefaultLangChange=new m.vpe;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(I){this.isolate?this._defaultLang=I:this.store.defaultLang=I}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(I){this.isolate?this._currentLang=I:this.store.currentLang=I}get langs(){return this.isolate?this._langs:this.store.langs}set langs(I){this.isolate?this._langs=I:this.store.langs=I}get translations(){return this.isolate?this._translations:this.store.translations}set translations(I){this.isolate?this._translations=I:this.store.translations=I}constructor(I,F,W,le,Ne,Mt=!0,Ue=!1,wt=!1,Ot){this.store=I,this.currentLoader=F,this.compiler=W,this.parser=le,this.missingTranslationHandler=Ne,this.useDefaultLang=Mt,this.isolate=Ue,this.extend=wt,Ot&&this.setDefaultLang(Ot)}setDefaultLang(I){if(I===this.defaultLang)return;let F=this.retrieveTranslations(I);typeof F<"u"?(null==this.defaultLang&&(this.defaultLang=I),F.pipe((0,ne.q)(1)).subscribe(W=>{this.changeDefaultLang(I)})):this.changeDefaultLang(I)}getDefaultLang(){return this.defaultLang}use(I){if(I===this.currentLang)return(0,Z.of)(this.translations[I]);let F=this.retrieveTranslations(I);return typeof F<"u"?(this.currentLang||(this.currentLang=I),F.pipe((0,ne.q)(1)).subscribe(W=>{this.changeLang(I)}),F):(this.changeLang(I),(0,Z.of)(this.translations[I]))}retrieveTranslations(I){let F;return(typeof this.translations[I]>"u"||this.extend)&&(this._translationRequests[I]=this._translationRequests[I]||this.getTranslation(I),F=this._translationRequests[I]
1),F}getTranslation(I){this.pending=!0;const F=this.currentLoader.getTranslation(I).pipe(pe(1),(0,ne.q)(1));return this.loadingTranslations=F.pipe((0,Pe.U)(W=>this.compiler.compileTranslations(W,I)),pe(1),(0,ne.q)(1)),this.loadingTranslations.subscribe({next:W=>{this.translations[I]=this.extend&&this.translations[I]?{...W,...this.translations[I]}:W,this.updateLangs(),this.pending=!1},error:W=>{this.pending=!1}}),F}setTranslation(I,F,W=!1){F=this.compiler.compileTranslations(F,I),this.translations[I]=(W||this.extend)&&this.translations[I]?Re(this.translations[I],F):F,this.updateLangs(),this.onTranslationChange.emit({lang:I,translations:this.translations[I]})}getLangs(){return this.langs}addLangs(I){I.forEach(F=>{-1===this.langs.indexOf(F)&&this.langs.push(F)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(I,F,W){let le;if(F instanceof Array){let Ne={},Mt=!1;for(let Ue of F)Ne[Ue]=this.getParsedResult(I,Ue,W),(0,B.b)(Ne[Ue])&&(Mt=!0);if(Mt){const Ue=F.map(wt=>(0,B.b)(Ne[wt])?Ne[wt]:(0,Z.of)(Ne[wt]));return(0,$.D)(Ue).pipe((0,Pe.U)(wt=>{let Ot={};return wt.forEach((ht,un)=>{Ot[F[un]]=ht}),Ot}))}return Ne}if(I&&(le=this.parser.interpolate(this.parser.getValue(I,F),W)),typeof le>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(le=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],F),W)),typeof le>"u"){let Ne={key:F,translateService:this};typeof W<"u"&&(Ne.interpolateParams=W),le=this.missingTranslationHandler.handle(Ne)}return typeof le<"u"?le:F}get(I,F){if(!z(I)||!I.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,Te.b)(W=>(W=this.getParsedResult(W,I,F),(0,B.b)(W)?W:(0,Z.of)(W))));{let W=this.getParsedResult(this.translations[this.currentLang],I,F);return(0,B.b)(W)?W:(0,Z.of)(W)}}getStreamOnTranslationChange(I,F){if(!z(I)||!I.length)throw new Error('Parameter "key" required');return(0,ae.z)((0,ie.P)(()=>this.get(I,F)),this.onTranslationChange.pipe((0,Ge.w)(W=>{const le=this.getParsedResult(W.translations,I,F);return"function"==typeof le.subscribe?le:(0,Z.of)(le)})))}stream(I,F){if(!z(I)||!I.length)throw new Error('Parameter "key" required');return(0,ae.z)((0,ie.P)(()=>this.get(I,F)),this.onLangChange.pipe((0,Ge.w)(W=>{const le=this.getParsedResult(W.translations,I,F);return(0,B.b)(le)?le:(0,Z.of)(le)})))}instant(I,F){if(!z(I)||!I.length)throw new Error('Parameter "key" required');let W=this.getParsedResult(this.translations[this.currentLang],I,F);if((0,B.b)(W)){if(I instanceof Array){let le={};return I.forEach((Ne,Mt)=>{le[I[Mt]]=I[Mt]}),le}return I}return W}set(I,F,W=this.currentLang){this.translations[W][I]=this.compiler.compile(F,W),this.updateLangs(),this.onTranslationChange.emit({lang:W,translations:this.translations[W]})}changeLang(I){this.currentLang=I,this.onLangChange.emit({lang:I,translations:this.translations[I]}),null==this.defaultLang&&this.changeDefaultLang(I)}changeDefaultLang(I){this.defaultLang=I,this.onDefaultLangChange.emit({lang:I,translations:this.translations[I]})}reloadLang(I){return this.resetLang(I),this.getTranslation(I)}resetLang(I){this._translationRequests[I]=void 0,this.translations[I]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let I=window.navigator.languages?window.navigator.languages[0]:null;return I=I||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof I>"u"?void 0:(-1!==I.indexOf("-")&&(I=I.split("-")[0]),-1!==I.indexOf("_")&&(I=I.split("_")[0]),I)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let I=window.navigator.languages?window.navigator.languages[0]:null;return I=I||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,I}static \u0275fac=function(F){return new(F||L)(m.LFG(Xe),m.LFG(nt),m.LFG(Ee),m.LFG(We),m.LFG(rt),m.LFG(Me),m.LFG(Ht),m.LFG(Be),m.LFG(pt))};static \u0275prov=m.Yz7({token:L,factory:L.\u0275fac})}return L})(),Rn=(()=>{class L{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(I,F){this.translate=I,this._ref=F}updateValue(I,F,W){let le=Ne=>{this.value=void 0!==Ne?Ne:I,this.lastKey=I,this._ref.markForCheck()};if(W){let Ne=this.translate.getParsedResult(W,I,F);(0,B.b)(Ne.subscribe)?Ne.subscribe(le):le(Ne)}this.translate.get(I,F).subscribe(le)}transform(I,...F){if(!I||!I.length)return I;if(je(I,this.lastKey)&&je(F,this.lastParams))return this.value;let W;if(z(F[0])&&F.length)if("string"==typeof F[0]&&F[0].length){let le=F[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{W=JSON.parse(le)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${F[0]}`)}}else"object"==typeof F[0]&&!Array.isArray(F[0])&&(W=F[0]);
1return this.lastKey=I,this.lastParams=F,this.updateValue(I,W),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(le=>{this.lastKey&&le.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(I,W,le.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(le=>{this.lastKey&&(this.lastKey=null,this.updateValue(I,W,le.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(I,W))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(F){return new(F||L)(m.Y36(et,16),m.Y36(m.sBO,16))};static \u0275pipe=m.Yjl({name:"translate",type:L,pure:!1});static \u0275prov=m.Yz7({token:L,factory:L.\u0275fac})}return L})(),ee=(()=>{class L{static forRoot(I={}){return{ngModule:L,providers:[I.loader||{provide:nt,useClass:tt},I.compiler||{provide:Ee,useClass:Ze},I.parser||{provide:We,useClass:ue},I.missingTranslationHandler||{provide:rt,useClass:$e},Xe,{provide:Ht,useValue:I.isolate},{provide:Me,useValue:I.useDefaultLang},{provide:Be,useValue:I.extend},{provide:pt,useValue:I.defaultLanguage},et]}}static forChild(I={}){return{ngModule:L,providers:[I.loader||{provide:nt,useClass:tt},I.compiler||{provide:Ee,useClass:Ze},I.parser||{provide:We,useClass:ue},I.missingTranslationHandler||{provide:rt,useClass:$e},{provide:Ht,useValue:I.isolate},{provide:Me,useValue:I.useDefaultLang},{provide:Be,useValue:I.extend},{provide:pt,useValue:I.defaultLanguage},et]}}static \u0275fac=function(F){return new(F||L)};static \u0275mod=m.oAB({type:L});static \u0275inj=m.cJS({})}return L})()},7582:(Qe,ve,A)=>{function pe(ee,L,K,I){return new(K||(K=Promise))(function(W,le){function Ne(wt){try{Ue(I.next(wt))}catch(Ot){le(Ot)}}function Mt(wt){try{Ue(I.throw(wt))}catch(Ot){le(Ot)}}function Ue(wt){wt.done?W(wt.value):function F(W){return W instanceof K?W:new K(function(le){le(W)})}(wt.value).then(Ne,Mt)}Ue((I=I.apply(ee,L||[])).next())})}function z(ee){return this instanceof z?(this.v=ee,this):new z(ee)}function me(ee,L,K){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var F,I=K.apply(ee,L||[]),W=[];return F={},le("next"),le("throw"),le("return"),F[Symbol.asyncIterator]=function(){return this},F;function le(ht){I[ht]&&(F[ht]=function(un){return new Promise(function(Fn,vt){W.push([ht,un,Fn,vt])>1||Ne(ht,un)})})}function Ne(ht,un){try{!function Mt(ht){ht.value instanceof z?Promise.resolve(ht.value.v).then(Ue,wt):Ot(W[0][2],ht)}(I[ht](un))}catch(Fn){Ot(W[0][3],Fn)}}function Ue(ht){Ne("next",ht)}function wt(ht){Ne("throw",ht)}function Ot(ht,un){ht(un),W.shift(),W.length&&Ne(W[0][0],W[0][1])}}function We(ee){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var K,L=ee[Symbol.asyncIterator];return L?L.call(ee):(ee=function nt(ee){var L="function"==typeof Symbol&&Symbol.iterator,K=L&&ee[L],I=0;if(K)return K.call(ee);if(ee&&"number"==typeof ee.length)return{next:function(){return ee&&I>=ee.length&&(ee=void 0),{value:ee&&ee[I++],done:!ee}}};throw new TypeError(L?"Object is not iterable.":"Symbol.iterator is not defined.")}(ee),K={},I("next"),I("throw"),I("return"),K[Symbol.asyncIterator]=function(){return this},K);function I(W){K[W]=ee[W]&&function(le){return new Promise(function(Ne,Mt){!function F(W,le,Ne,Mt){Promise.resolve(Mt).then(function(Ue){W({value:Ue,done:Ne})},le)}(Ne,Mt,(le=ee[W](le)).done,le.value)})}}}A.d(ve,{FC:()=>me,KL:()=>We,mG:()=>pe,qq:()=>z}),"function"==typeof SuppressedError&&SuppressedError}},Qe=>{Qe(Qe.s=6608)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.