Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/multiphp-manager-ng7/vendor-c0d76f48.js

(self.webpackChunkmultiphp_manager_ng7=self.webpackChunkmultiphp_manager_ng7||[]).push([[128],{7343:(ye,Q,F)=>{"use strict";F.d(Q,{o:()=>a});var a=function(O){return O[O.GET=0]="GET",O[O.HEAD=1]="HEAD",O[O.POST=2]="POST",O[O.PUT=3]="PUT",O[O.DELETE=4]="DELETE",O[O.CONNECT=5]="CONNECT",O[O.OPTIONS=6]="OPTIONS",O[O.TRACE=7]="TRACE",O[O.PATCH=8]="PATCH",O}(a||{})},6802:(ye,Q,F)=>{"use strict";F.d(Q,{e:()=>O}),F(2584);class O{constructor(W,X){if(!W)throw new Error("You must provide a name when creating a name/value argument");this.name=W,this.value=X}}},6884:(ye,Q,F)=>{"use strict";F.d(Q,{uM:()=>qe,CY:()=>Be});var a=F(3971),O=F.n(a),k=F(6062),H=F.n(k),W=F(227),X=F.n(W),de=F(7642),ie=F.n(de),he=F(9706),Z=F.n(he),ue=F(1622),Se=F.n(ue),Re=F(4968),Fe=F.n(Re);function je(Je){if(O()(Je)||H()(Je)||X()(Je)||ie()(Je)||Z()(Je))return!0;if(!Fe()(Je)&&!Se()(Je))return!1;for(const Ct in Je)if(!je(Je[Ct]))return!1;return!0}class Be{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Ct,It,pt){if(!Ct)throw new Error("Name must have a non-empty value");return`${Ct}=${encodeURIComponent(It.toString())}`+(pt?"":this.recordSeparator)}}class qe{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Ct,It,pt){if(!Ct)throw new Error("Name must have a non-empty value");if(!je(It))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Ct)+":"+JSON.stringify(It)+(pt?"":this.recordSeparator)}}},8391:(ye,Q,F)=>{"use strict";F.d(Q,{d:()=>O,t:()=>a});var a=function(k){return k[k.Contains=0]="Contains",k[k.Begins=1]="Begins",k[k.Ends=2]="Ends",k[k.Matches=3]="Matches",k[k.Equal=4]="Equal",k[k.NotEqual=5]="NotEqual",k[k.LessThan=6]="LessThan",k[k.LessThanUnlimited=7]="LessThanUnlimited",k[k.GreaterThan=8]="GreaterThan",k[k.GreaterThanUnlimited=9]="GreaterThanUnlimited",k[k.Defined=10]="Defined",k[k.Undefined=11]="Undefined",k}(a||{});class O{constructor(H,W,X){if(!H)throw new Error("You must define a non-empty column name.");this.column=H,this.operator=W,this.value=X}}},686:(ye,Q,F)=>{"use strict";F.d(Q,{is:()=>k});const O=Number.POSITIVE_INFINITY;class k{constructor(W=1,X=20){if(W<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(X<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=W,this.pageSize=X}all(){return this.pageSize===O}}},2584:(ye,Q,F)=>{"use strict";function a(H){return H?"1":"0"}F.d(Q,{x:()=>a})},6153:(ye,Q,F)=>{"use strict";F.d(Q,{FU:()=>k,UE:()=>a,r3:()=>O});var a=function(H){return H[H.Ascending=0]="Ascending",H[H.Descending=1]="Descending",H}(a||{}),O=function(H){return H[H.Lexicographic=0]="Lexicographic",H[H.Ipv4=1]="Ipv4",H[H.Numeric=2]="Numeric",H[H.NumericZeroAsMax=3]="NumericZeroAsMax",H}(O||{});class k{constructor(W,X=a.Ascending,de=O.Lexicographic){if(!W)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=W,this.direction=X,this.type=de}}},9323:(ye,Q,F)=>{"use strict";F.d(Q,{m:()=>Ht,R:()=>gt});var a=F(4667),O=F.n(a),k=F(2584),H=F(6153),W=F(8391),X=F(6802),de=F(686);class ie{constructor(J=[]){this.headers=J}push(J){this.headers.push(J)}forEach(J,be){this.headers.forEach(J,be)}toArray(){const J=[];return this.headers.forEach(be=>J.push({name:be.name,value:be.value})),J}toObject(){return this.headers.reduce((J,be)=>(J[be.name]=be.value,J),{})}}class he{constructor(J){this._header=J}get name(){return this._header.name}get value(){return this._header.value}}class Z extends Error{constructor(J){super(J),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,Z.prototype)}}class ue extends Error{constructor(J){super(J),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,ue.prototype)}}class Se extends he{constructor(J,be){if(!J)throw new Z("You must pass a valid token to the constructor.");if(!be&&!/^.+[:]/.test(J))throw new Z("You must pass a cPanel username associated with the cPanel API token.");if(!be&&!/[:].+$/.test(J))throw new Z("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${be?be+":":""}${J}`})}}Error,Error;class Ke{get usePager(){return this._usePager}constructor(J){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new de.is,this.headers=new ie,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,J&&(this.method=J.method,J.namespace&&(this.namespace=J.namespace),J.arguments&&J.arguments.forEach(be=>{this.addArgument(be)}),J.sorts&&J.sorts.forEach(be=>{this.addSort(be)}),J.filters&&J.filters.forEach(be=>{this.addFilter(be)}),J.columns&&J.columns.forEach(be=>this.addColumn(be)),J.pager&&this.paginate(J.pager),this.config=J.config?J.config:this.defaultConfig,J.headers&&J.headers.forEach(be=>{this.addHeader(be)}))}addArgument(J){return this.arguments.push(J instanceof X.e?J:new X.e(J.name,J.value)),this}addSort(J){return this.sorts.push(J instanceof H.FU?J:new H.FU(J.column,J.direction,J.type)),this}addFilter(J){return this.filters.push(J instanceof W.d?J:new W.d(J.column,J.operator,J.value)),this}addColumn(J){return this.columns.push(J),this}addHeader(J){return this.headers.push(J instanceof he?J:new he(J)),this}paginate(J){return this.pager=J instanceof de.is?J:new de.is(J.page,J.pageSize||20),this._usePager=!0,this}}var Be=F(7343);const Je=new class qe{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Be.o.GET,Be.o.DELETE,Be.o.HEAD].forEach(J=>{const be=Be.o[J].toString();this.map[be]={verb:be,dataInBody:!1}}),[Be.o.POST,Be.o.PUT,Be.o.PATCH].forEach(J=>{const be=Be.o[J].toString();this.map[be]={verb:be,dataInBody:!0}})}getRule(J){const be="string"==typeof J?J:Be.o[J].toString();let nt=this.map[be];return nt||(nt=this.map.DEFAULT),nt}};var Ct=F(6884),It=F(6860),pt=F.n(It),gt=function(Qe){return Qe.JsonApi="json-api",Qe.XmlApi="xml-api",Qe}(gt||{});class Ht extends Ke{addHeader(J){if(J instanceof Se)throw new ue("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(J),this}_build(J,be){let nt="";return J.forEach((fe,re,ve)=>{nt+=be.encode(fe.name,fe.value,re===ve.length-1)}),be.separatorStart+nt+be.separatorEnd}_make_whm_api_fieldspec_from_number(J){return pt()("",Math.floor(J/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(J%26)}_generateArguments(J){J.push({name:"api.version",value:1}),this.arguments.forEach(nt=>J.push(nt))}_generateSorts(J){this.sorts.forEach((be,nt)=>{0===nt&&J.push({name:"api.sort.enable",value:k.x(!0)});const fe=`api.sort.${this._make_whm_api_fieldspec_from_number(nt)}`;J.push({name:`${fe}.field`,value:be.column}),J.push({name:`${fe}.reverse`,value:k.x(be.direction!==H.UE.Ascending)}),J.push({name:`${fe}.method`,value:O()(H.r3[be.type])})})}_lookupFilterOperator(J){switch(J){case W.t.GreaterThanUnlimited:return"gt_handle_unlimited";case W.t.GreaterThan:return"gt";case W.t.LessThanUnlimited:return"lt_handle_unlimited";case W.t.LessThan:return"lt";case W.t.Equal:return"eq";case W.t.Begins:return"begins";case W.t.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${W.t[J]} for WHM API 1`)}}_generateFilters(J){this.filters.forEach((be,nt)=>{0===nt&&(J.push({name:"api.filter.enable",value:k.x(!0)}),J.push({name:"api.filter.verbose",value:k.x(!0)}));const fe=`api.filter.${this._make_whm_api_fieldspec_from_number(nt)}`;J.push({name:`${fe}.field`,value:be.column}),J.push({name:`${fe}.type`,value:this._lookupFilterOperator(be.operator)}),J.push({name:`${fe}.arg0`,value:be.value})})}_translatePageToStart(J){return(J.page-1)*J.pageSize+1}_generatePagination(J){if(!this.usePager)return;const be=this.pager.all();J.push({name:"api.chunk.enable",value:k.x(!0)}),J.push({name:"api.chunk.verbose",value:k.x(!0)}),J.push({name:"api.chunk.start",value:be?-1:this._translatePageToStart(this.pager)}),be||J.push({name:"api.chunk.size",value:this.pager.pageSize})}constructor(J,be){if(super(be),this.apiType=gt.JsonApi,J!=gt.JsonApi&&J!=gt.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=J,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}generate(J){J||(J={verb:Be.o.POST,encoder:this.config.json?new Ct.uM:new Ct.CY}),J.encoder||(J.encoder=this.config.json?new Ct.uM:new Ct.CY);const be=Je.getRule(J.verb),nt={headers:new ie([{name:"Content-Type",value:J.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},fe=[];this._generateArguments(fe),this._generateSorts(fe),this._generateFilters(fe),this._generatePagination(fe);const re=this._build(fe,J.encoder);return be.dataInBody?nt.body=re:nt.url+=J.verb===Be.o.GET?`?${re}`:re,this.headers.forEach(ve=>{nt.headers.push({name:ve.name,value:ve.value})}),nt}}},914:(ye,Q,F)=>{var a=F(2286);ye.exports=a.Symbol},9655:ye=>{ye.exports=function Q(F,a){for(var O=-1,k=null==F?0:F.length,H=Array(k);++O<k;)H[O]=a(F[O],O,F);return H}},8859:ye=>{ye.exports=function Q(F,a,O,k){var H=-1,W=null==F?0:F.length;for(k&&W&&(O=F[++H]);++H<W;)O=a(O,F[H],H,F);return O}},8058:(ye,Q,F)=>{var O=F(6010)("length");ye.exports=O},5077:ye=>{ye.exports=function Q(F){return F.split("")}},8906:ye=>{var Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;ye.exports=function F(a){return a.match(Q)||[]}},2307:(ye,Q,F)=>{var a=F(914),O=F(6710),k=F(3533),X=a?a.toStringTag:void 0;ye.exports=function de(ie){return null==ie?void 0===ie?"[object Undefined]":"[object Null]":X&&X in Object(ie)?O(ie):k(ie)}},6010:ye=>{ye.exports=function Q(F){return function(a){return a?.[F]}}},8571:ye=>{ye.exports=function Q(F){return function(a){return F?.[a]}}},7364:ye=>{var F=Math.floor;ye.exports=function a(O,k){var H="";if(!O||k<1||k>9007199254740991)return H;do{k%2&&(H+=O),(k=F(k/2))&&(O+=O)}while(k);return H}},3597:ye=>{ye.exports=function Q(F,a,O){var k=-1,H=F.length;a<0&&(a=-a>H?0:H+a),(O=O>H?H:O)<0&&(O+=H),H=a>O?0:O-a>>>0,a>>>=0;for(var W=Array(H);++k<H;)W[k]=F[k+a];return W}},5299:(ye,Q,F)=>{var a=F(914),O=F(9655),k=F(1622),H=F(3443),W=1/0,X=a?a.prototype:void 0,de=X?X.toString:void 0;ye.exports=function ie(he){if("string"==typeof he)return he;if(k(he))return O(he,ie)+"";if(H(he))return de?de.call(he):"";var Z=he+"";return"0"==Z&&1/he==-W?"-0":Z}},8851:(ye,Q,F)=>{var a=F(5649),O=/^\s+/;ye.exports=function k(H){return H&&H.slice(0,a(H)+1).replace(O,"")}},643:(ye,Q,F)=>{var a=F(3597);ye.exports=function O(k,H,W){var X=k.length;return W=void 0===W?X:W,!H&&W>=X?k:a(k,H,W)}},9064:(ye,Q,F)=>{var a=F(8859),O=F(2473),k=F(2922),W=RegExp("['\u2019]","g");ye.exports=function X(de){return function(ie){return a(k(O(ie).replace(W,"")),de,"")}}},2297:(ye,Q,F)=>{var a=F(7364),O=F(5299),k=F(643),H=F(7817),W=F(706),X=F(7917),de=Math.ceil;ye.exports=function ie(he,Z){var ue=(Z=void 0===Z?" ":O(Z)).length;if(ue<2)return ue?a(Z,he):Z;var Se=a(Z,de(he/W(Z)));return H(Z)?k(X(Se),0,he).join(""):Se.slice(0,he)}},1392:(ye,Q,F)=>{var k=F(8571)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});ye.exports=k},7111:ye=>{var Q="object"==typeof global&&global&&global.Object===Object&&global;ye.exports=Q},4352:(ye,Q,F)=>{var O=F(9478)(Object.getPrototypeOf,Object);ye.exports=O},6710:(ye,Q,F)=>{var a=F(914),O=Object.prototype,k=O.hasOwnProperty,H=O.toString,W=a?a.toStringTag:void 0;ye.exports=function X(de){var ie=k.call(de,W),he=de[W];try{de[W]=void 0;var Z=!0}catch{}var ue=H.call(de);return Z&&(ie?de[W]=he:delete de[W]),ue}},7817:ye=>{var X=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");ye.exports=function de(ie){return X.test(ie)}},725:ye=>{var Q=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;ye.exports=function F(a){return Q.test(a)}},3533:ye=>{var F=Object.prototype.toString;ye.exports=function a(O){return F.call(O)}},9478:ye=>{ye.exports=function Q(F,a){return function(O){return F(a(O))}}},2286:(ye,Q,F)=>{var a=F(7111),O="object"==typeof self&&self&&self.Object===Object&&self,k=a||O||Function("return this")();ye.exports=k},706:(ye,Q,F)=>{var a=F(8058),O=F(7817),k=F(7954);ye.exports=function H(W){return O(W)?k(W):a(W)}},7917:(ye,Q,F)=>{var a=F(5077),O=F(7817),k=F(1773);ye.exports=function H(W){return O(W)?k(W):a(W)}},5649:ye=>{var Q=/\s/;ye.exports=function F(a){for(var O=a.length;O--&&Q.test(a.charAt(O)););return O}},7954:ye=>{var Q="\\ud800-\\udfff",W="["+Q+"]",X="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",de="\\ud83c[\\udffb-\\udfff]",he="[^"+Q+"]",Z="(?:\\ud83c[\\udde6-\\uddff]){2}",ue="[\\ud800-\\udbff][\\udc00-\\udfff]",Re="(?:"+X+"|"+de+")?",Fe="[\\ufe0e\\ufe0f]?",Ke=Fe+Re+"(?:\\u200d(?:"+[he,Z,ue].join("|")+")"+Fe+Re+")*",Be="(?:"+[he+X+"?",X,Z,ue,W].join("|")+")",qe=RegExp(de+"(?="+de+")|"+Be+Ke,"g");ye.exports=function Je(Ct){for(var It=qe.lastIndex=0;qe.test(Ct);)++It;return It}},1773:ye=>{var Q="\\ud800-\\udfff",W="["+Q+"]",X="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",de="\\ud83c[\\udffb-\\udfff]",he="[^"+Q+"]",Z="(?:\\ud83c[\\udde6-\\uddff]){2}",ue="[\\ud800-\\udbff][\\udc00-\\udfff]",Re="(?:"+X+"|"+de+")?",Fe="[\\ufe0e\\ufe0f]?",Ke=Fe+Re+"(?:\\u200d(?:"+[he,Z,ue].join("|")+")"+Fe+Re+")*",Be="(?:"+[he+X+"?",X,Z,ue,W].join("|")+")",qe=RegExp(de+"(?="+de+")|"+Be+Ke,"g");ye.exports=function Je(Ct){return Ct.match(qe)||[]}},6546:ye=>{var Q="\\ud800-\\udfff",H="\\u2700-\\u27bf",W="a-z\\xdf-\\xf6\\xf8-\\xff",Z="A-Z\\xc0-\\xd6\\xd8-\\xde",Se="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Fe="["+Se+"]",Ke="\\d+",Be="["+H+"]",qe="["+W+"]",Je="[^"+Q+Se+Ke+H+W+Z+"]",gt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ht="[\\ud800-\\udbff][\\udc00-\\udfff]",Qe="["+Z+"]",be="(?:"+qe+"|"+Je+")",nt="(?:"+Qe+"|"+Je+")",fe="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",re="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ve="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",De="[\\ufe0e\\ufe0f]?",gn=De+ve+"(?:\\u200d(?:"+["[^"+Q+"]",gt,Ht].join("|")+")"+De+ve+")*",tt="(?:"+[Be,gt,Ht].join("|")+")"+gn,Pn=RegExp([Qe+"?"+qe+"+"+fe+"(?="+[Fe,Qe,"$"].join("|")+")",nt+"+"+re+"(?="+[Fe,Qe+be,"$"].join("|")+")",Qe+"?"+be+"+"+fe,Qe+"+"+re,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ke,tt].join("|"),"g");ye.exports=function Rr(un){return un.match(Pn)||[]}},2473:(ye,Q,F)=>{var a=F(1392),O=F(1339),k=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,he=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");ye.exports=function Z(ue){return(ue=O(ue))&&ue.replace(k,a).replace(he,"")}},1622:ye=>{ye.exports=Array.isArray},227:(ye,Q,F)=>{var a=F(2307),O=F(7571);ye.exports=function H(W){return!0===W||!1===W||O(W)&&"[object Boolean]"==a(W)}},6062:ye=>{ye.exports=function Q(F){return null===F}},7642:(ye,Q,F)=>{var a=F(2307),O=F(7571);ye.exports=function H(W){return"number"==typeof W||O(W)&&"[object Number]"==a(W)}},9052:ye=>{ye.exports=function Q(F){var a=typeof F;return null!=F&&("object"==a||"function"==a)}},7571:ye=>{ye.exports=function Q(F){return null!=F&&"object"==typeof F}},4968:(ye,Q,F)=>{var a=F(2307),O=F(4352),k=F(7571),de=Function.prototype.toString,ie=Object.prototype.hasOwnProperty,he=de.call(Object);ye.exports=function Z(ue){if(!k(ue)||"[object Object]"!=a(ue))return!1;var Se=O(ue);if(null===Se)return!0;var Re=ie.call(Se,"constructor")&&Se.constructor;return"function"==typeof Re&&Re instanceof Re&&de.call(Re)==he}},9706:(ye,Q,F)=>{var a=F(2307),O=F(1622),k=F(7571);ye.exports=function W(X){return"string"==typeof X||!O(X)&&k(X)&&"[object String]"==a(X)}},3443:(ye,Q,F)=>{var a=F(2307),O=F(7571);ye.exports=function H(W){return"symbol"==typeof W||O(W)&&"[object Symbol]"==a(W)}},3971:ye=>{ye.exports=function Q(F){return void 0===F}},6860:(ye,Q,F)=>{var a=F(2297),O=F(706),k=F(6394),H=F(1339);ye.exports=function W(X,de,ie){X=H(X);var he=(de=k(de))?O(X):0;return de&&he<de?a(de-he,ie)+X:X}},4667:(ye,Q,F)=>{var O=F(9064)(function(k,H,W){return k+(W?"_":"")+H.toLowerCase()});ye.exports=O},4661:(ye,Q,F)=>{var a=F(2419),O=1/0;ye.exports=function H(W){return W?(W=a(W))===O||W===-O?17976931348623157e292*(W<0?-1:1):W==W?W:0:0===W?W:0}},6394:(ye,Q,F)=>{var a=F(4661);ye.exports=function O(k){var H=a(k),W=H%1;return H==H?W?H-W:H:0}},2419:(ye,Q,F)=>{var a=F(8851),O=F(9052),k=F(3443),W=/^[-+]0x[0-9a-f]+$/i,X=/^0b[01]+$/i,de=/^0o[0-7]+$/i,ie=parseInt;ye.exports=function he(Z){if("number"==typeof Z)return Z;if(k(Z))return NaN;if(O(Z)){var ue="function"==typeof Z.valueOf?Z.valueOf():Z;Z=O(ue)?ue+"":ue}if("string"!=typeof Z)return 0===Z?Z:+Z;Z=a(Z);var Se=X.test(Z);return Se||de.test(Z)?ie(Z.slice(2),Se?2:8):W.test(Z)?NaN:+Z}},1339:(ye,Q,F)=>{var a=F(5299);ye.exports=function O(k){return null==k?"":a(k)}},2922:(ye,Q,F)=>{var a=F(8906),O=F(725),k=F(1339),H=F(6546);ye.exports=function W(X,de,ie){return X=k(X),void 0===(de=ie?void 0:de)?O(X)?H(X):a(X):X.match(de)||[]}},6381:(ye,Q,F)=>{"use strict";Q.h=void 0;const O=F(2623);Object.defineProperty(Q,"h",{enumerable:!0,get:function(){return O.Locale}})},7268:(ye,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.CLDR=void 0,Q.CLDR=class F{constructor(O){this.rawData=O,this.validateCLDR(this.rawData)}validateCLDR(O){if(!O)throw new Error("CLDR data cannot be null");if(!O.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(O,"functions")||Object.prototype.hasOwnProperty.call(O,"get_plural_form")||"function"!=typeof O.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(O,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(O,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(O.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(O.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(O.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(O.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(O,...k){return(0,this.rawData.functions.get_plural_form)(O,...k)}getDateTimeInfo(){return this.rawData.datetime_info}getFormats(){return this.rawData.misc_info.cldr_formats}getDelimiters(){return this.rawData.misc_info.delimiters}isRtl(){return"right-to-left"===this.rawData.misc_info.orientation.characters}isLtr(){return"left-to-right"===this.rawData.misc_info.orientation.characters}}},2623:(ye,Q,F)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.Locale=void 0;const a=F(7367),O=F(5736),k=F(8994),H=F(3365),W=F(7268);Q.Locale=class X{constructor(ie,he={}){this.lexicon=he,this._cldr=new W.CLDR(ie)}maketext(ie,...he){return(0,a.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:ie,args:he})}localDatetime(ie,he){return this._datetimeWrapper(O.local_datetime,ie,he)}datetime(ie,he){return this._datetimeWrapper(O.datetime,ie,he)}_datetimeWrapper(ie,he,Z){return ie({cldr:this._cldr,args:[he,Z]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(ie,he){return this._formatNumber(k.numf,ie,he)}format_bytes(ie,he){return this._formatNumber(k.format_bytes,ie,he)}_formatNumber(ie,...he){return this._callCLDRFunc(ie,he)}list_and(...ie){return this._callCLDRFunc(H.list_and,ie)}list_and_quoted(...ie){return this._callCLDRFunc(H.list_and_quoted,ie)}list_or(...ie){return this._callCLDRFunc(H.list_or,ie)}list_or_quoted(...ie){return this._callCLDRFunc(H.list_or_quoted,ie)}_callCLDRFunc(ie,he){return ie({cldr:this._cldr,args:he})}}},6049:(ye,Q,F)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.asis=void 0;const a=F(2500);Q.asis=function O({args:[k,...H]}){if(!k||H.length>0||"string"!=typeof k)throw new Error("asis function accepts one non translatable string.");return(k=k.replace(/chr\((\d+)\)/g,function(W,X){return a.functions.chr(Number(X))})).replace(/amp\(\)/g,function(){return a.functions.amp()})}},6073:(ye,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.boolean=void 0,Q.boolean=function F({args:[a,O,k,H]}){if(null==O||0===O.length||null==k||0===k.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof a<"u"&&a?O:H&&null==a?H:k)}},5496:(ye,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.comment=void 0,Q.comment=function F({args:[a]}){return""}},5736:(ye,Q,F)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.local_datetime=Q.datetime=Q.dateToLocalDayNum=void 0;const a=F(7268),O=function(Z){const ue=Z.getUTCDay()-1;return ue<0?6:ue},k=[7,1,2,3,4,5,6];function H(Z,ue){return(k[Z.getUTCDay()]+7-ue)%7+1}Q.dateToLocalDayNum=H;const W=function(Z,ue,Se){let Re="",Fe=0;return ue=ue||0,Se=String(void 0===Se?" ":Se),Fe=ue-String(Z).length,Fe>0&&(Re=[...Array(Fe)].map(String.prototype.valueOf,Se).join("")),Re+Z};function X({cldr:Z,args:[ue=new Date,Se],tzString:Re="UTC"}){if("number"==typeof ue&&/^-?\d+$/.test(ue.toString())&&(ue=new Date(1e3*ue)),!(ue instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(Z instanceof a.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Fe=Z.getDateTimeInfo();return"string"==typeof Se&&/^(?:date|time|datetime|special)_format_/.test(Se)&&(Se=Fe[Se]),Se||(Se=Fe.date_format_long),Se.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(je,Ke,Be){return Ke?function de(Z){return Z.substr(1,Z.length-2)}(Ke):function ie(Z,ue,Se,Re){switch(Se){case"yy":return Math.abs(Z.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(Z.getUTCFullYear()));case"MMMMM":return ue.month_format_narrow[Z.getUTCMonth()];case"LLLLL":return ue.month_stand_alone_narrow[Z.getUTCMonth()];case"MMMM":return ue.month_format_wide[Z.getUTCMonth()];case"LLLL":return ue.month_stand_alone_wide[Z.getUTCMonth()];case"MMM":return ue.month_format_abbreviated[Z.getUTCMonth()];case"LLL":return ue.month_stand_alone_abbreviated[Z.getUTCMonth()];case"MM":case"LL":return W((Z.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(Z.getUTCMonth()+1);case"EEEE":return ue.day_format_wide[O(Z)];case"EEE":case"EE":case"E":return ue.day_format_abbreviated[O(Z)];case"EEEEE":return ue.day_format_narrow[O(Z)];case"cccc":return ue.day_stand_alone_wide[O(Z)];case"ccc":return ue.day_stand_alone_abbreviated[O(Z)];case"cc":case"c":return String(H(Z,Number(ue.first_day_of_week)));case"ccccc":return ue.day_stand_alone_narrow[O(Z)];case"dd":return W(Z.getUTCDate().toString(),2,"0");case"d":return String(Z.getUTCDate());case"h":case"hh":{let Fe=Z.getUTCHours();Fe>12&&(Fe-=12),0===Fe&&(Fe=12);const je="hh"===Se?W(Fe.toString(),2,"0"):Fe;return String(je)}case"H":return String(Z.getUTCHours());case"HH":return W(Z.getUTCHours().toString(),2,"0");case"m":return String(Z.getUTCMinutes());case"mm":return W(Z.getUTCMinutes().toString(),2,"0");case"s":return String(Z.getUTCSeconds());case"ss":return W(Z.getUTCSeconds().toString(),2,"0");case"a":return Z.getUTCHours()<12?ue.am_pm_abbreviated[0]:ue.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Re;case"G":case"GG":case"GGG":return ue.era_abbreviated[Z.getUTCFullYear()<0?0:1];case"GGGGG":return ue.era_narrow[Z.getUTCFullYear()<0?0:1];case"GGGG":return ue.era_wide[Z.getUTCFullYear()<0?0:1]}return Se}(ue,Fe,Be,Re)})}Q.datetime=X,Q.local_datetime=function he({cldr:Z,args:[ue=new Date,Se]}){if("number"==typeof ue&&/^-?\d+$/.test(ue.toString())&&(ue=new Date(1e3*ue)),!(ue instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(Z instanceof a.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Re=ue.getTimezoneOffset();(ue=new Date(ue)).setMinutes(ue.getMinutes()-Re);const Fe=Re>0?"-":"+",je=Math.floor(Math.abs(Re)/60),Ke=Math.abs(Re%60);return X({cldr:Z,args:[ue,Se],tzString:"GMT"+Fe+W(je.toString(),2,"0")+W(Ke.toString(),2,"0")})}},6397:(ye,Q,F)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.functions=void 0;const a=F(6049),O=F(2500),k=F(5496),H=F(6073),W=F(8994),X=F(5736),de=F(3365);Q.functions={asis:a.asis,output:O.output,comment:k.comment,boolean:H.boolean,numf:W.numf,numerate:W.numerate,quant:W.quant,format_bytes:W.format_bytes,datetime:X.datetime,local_datetime:X.local_datetime,list_and:de.list_and,list_or:de.list_or,list_or_quoted:de.list_or_quoted,list_and_quoted:de.list_and_quoted}},3365:(ye,Q)=>{"use strict";function a(de,ie,...he){let Z=he.slice();switch(1===Z.length&&Array.isArray(Z[0])&&(Z=Z[0].slice()),(typeof Z>"u"||0===Z.length)&&(Z=[""]),Z=Z.map(ue=>function F(de,ie){const he=de.getDelimiters();return he&&Object.prototype.hasOwnProperty.call(he,"quotation_start")&&Object.prototype.hasOwnProperty.call(he,"quotation_end")?he.quotation_start+ie+he.quotation_end:ie}(de,ue)),ie){case"list_and":return W({cldr:de,args:Z});case"list_or":return X({cldr:de,args:Z});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function H(de,ie,...he){let Z=he.slice();1===Z.length&&Array.isArray(Z[0])&&(Z=Z[0].slice());const ue=Z.length;let Se,Re,Fe,je;try{Se=de.getFormats()[ie]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Ke=function(Be,qe){switch(qe){case"0":return Fe;case"1":return Z[je++]}};switch(ue){case 0:return"";case 1:return String(Z[0]);default:if(Fe=2===ue?Se[2]:Se.start,Fe=Fe.replace(/\{([01])\}/g,function(Be,qe){return Z[qe]}),2===ue)return Fe;for(je=2;je<ue;)Re=Se[je===ue-1?"end":"middle"],Fe=Re.replace(/\{([01])\}/g,Ke);return Fe}}function W({cldr:de,args:[...ie]}){return H(de,"list",...ie)}function X({cldr:de,args:[...ie]}){return H(de,"list_or",...ie)}Object.defineProperty(Q,"__esModule",{value:!0}),Q.list_or=Q.list_and=Q.list_or_quoted=Q.list_and_quoted=void 0,Q.list_and_quoted=function O({cldr:de,args:[...ie]}){return a(de,"list_and",...ie)},Q.list_or_quoted=function k({cldr:de,args:[...ie]}){return a(de,"list_or",...ie)},Q.list_and=W,Q.list_or=X},2500:(ye,Q,F)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.functions=Q.output=void 0;const a=F(9546),O=F(2353);Q.output=function k({args:[H,...W]}){if(W&&"string"==typeof W[0]&&(W[0]=W[0].replace(/chr\((\d+)\)/g,function(X,de){return Q.functions.chr(Number(de))}),W[0]=W[0].replace(/amp\(\)/g,function(){return Q.functions.amp()})),"function"==typeof Q.functions[H])return Q.functions[H](...W);throw new Error(`Locale output function '${H}' is not implemented.`)},Q.functions={amp:()=>(0,a.htmlEscape)("&"),apos:()=>(0,a.htmlEscape)("'"),quot:()=>(0,a.htmlEscape)('"'),underline:H=>`<u>${H}</u>`,strong:H=>`<strong>${H}</strong>`,em:H=>`<em>${H}</em>`,abbr:(H,W)=>`<abbr title="${W}">${H}</abbr>`,acronym:(H,W)=>`<abbr title="${W}" class="initialism">${H}</abbr>`,class:(H,...W)=>`<span class="${W.join(" ")}">${H}</span>`,chr(H){if("string"==typeof H&&(H=Number(H)),"number"!=typeof H||isNaN(H))throw new Error("chr needs a number as argument");return(0,a.htmlEscape)(String.fromCharCode(H))},url(H,...W){let X,de;if("object"==typeof W[W.length-1])if(X=W[W.length-1],2===W.length){if(X.html)throw new Error("Cannot provide both text and configuration with html attribute");de=W[0]}else X&&X.html?(de=X.html,delete X.html):de=H;else W.length%2==0?(X=(0,O.listToObject)(...W),X&&"html"in X&&""!==X.html?(de=X.html,delete X.html):de=H):(de=W.shift(),X=(0,O.listToObject)(...W));"_type"in X&&"offsite"===X._type&&(X.class="offsite",X.target="_blank",delete X._type);let ie=`<a href="${H}"`;if("object"==typeof X)for(const he in X)Object.prototype.hasOwnProperty.call(X,he)&&(ie+=` ${he}="${X[he]}"`);return ie+=`>${de}</a>`,ie}}},8994:(ye,Q,F)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.format_bytes=Q.numf=Q.quant=Q.numerate=void 0;const a=F(7268);function k({cldr:de,args:[ie,...he]}){if(!(de instanceof a.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let Z,ue=3;ie instanceof Array?(ue=ie[1],Z=ie[0]):Z=ie;const Se=de.getPluralForm(Z,...he),Re=Se[0]?Se[0]:he[he.length-1];if(Se&&Se.length>=2&&Se[1])return Re;const je=W({cldr:de,args:[Z,ue]});return-1!==Re.indexOf("%s")?Re.replace(/%s/g,je):de.isRtl()?Re+" "+je:je+" "+Re}function W({cldr:de,args:[ie,he=6]}){if(!(de instanceof a.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(ie.toString()))return String(ie);const{decimalFormat:Z,decimalGroup:ue,decimalDecimal:Se}=function H(de){const ie={},he=de.getFormats();return Object.prototype.hasOwnProperty.call(he,"decimal")&&(ie.decimalFormat=he.decimal),Object.prototype.hasOwnProperty.call(he,"_decimal_format_group")&&(ie.decimalGroup=he._decimal_format_group),Object.prototype.hasOwnProperty.call(he,"_decimal_format_decimal")&&(ie.decimalDecimal=he._decimal_format_decimal),ie}(de);if(!Z||!ue||!Se)throw new Error("CLDR Data is missing information related to formatting decimals.");const Re=ie<0;ie=Math.abs(ie);let je,Ke,Fe=Math.floor(ie);/(?!')\.(?!')/.test(ie.toString())&&(je=String(ie).replace(/^[^.]+/,"0"),je=Number(je).toFixed(he),/^1/.test(je)?(Fe++,ie=Fe,je=void 0):je=je.replace(/^.*\./,"").replace(/0+$/,"")),Ke=/(?!');(?!')/.test(Z)?Z.split(/(?!');(?!')/)[Re?1:0]:(Re?"-":"")+Z;const Je=Ke.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Ct;1===Je.length?Ct="":(Je.pop(),Ct=ue);const It=String(Fe).split("").reverse(),pt=[];let gt;const Ht=function(J){switch(J){case"#":return It.shift()||"";case"0":return It.shift()||"0"}};for(;It.length;){Je.length&&(gt=Je.shift());const J=gt.replace(/(?!')[0#]|[0#](?!')/g,Ht).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");pt.push(J)}const Qe=pt.join(Ct).split("").reverse().join("")+(je?Se+je:"");return Ke.replace(/[0#].*[0#]/,Qe)}Q.numerate=function O({cldr:de,args:[ie,...he]}){if(!(de instanceof a.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const Z=de.getPluralForm(ie,...he);return Z?Z[0]:he[he.length-1]},Q.quant=k,Q.numf=W,Q.format_bytes=function X({cldr:de,args:[ie,he=2]}){if(!(de instanceof a.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const Z=["KB","MB","GB","TB","PB","EB","ZB","YB"],Se=ie&&Math.min(Math.floor(Math.log(ie)/Math.log(1024)),Z.length);return Se?W({cldr:de,args:[ie/Math.pow(1024,Se),he]})+"\xa0"+Z[Se-1]:k({cldr:de,args:[ie,"%s\xa0byte","%s\xa0bytes"]})}},7367:(ye,Q,F)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.maketext=Q.functions=Q.config=void 0;const a=F(6397);function W(X,de){const ie=[];let he=!1,Z=!1;return X.forEach(ue=>{if("_"===ue.charAt(0))if("_*"===ue){if(Z)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";ie.push(...de),he=!0}else{const Se=ue.match(Q.config.underscoreDigitRe);if(Se){if(he)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Re,Fe]=Se,je=Number(Fe)-1;if(!(je in de))throw`The "${Re}" substitution argument was not passed to the maketext function.`;ie.push(de[je]),Z=!0}}else ie.push(ue)}),ie}Q.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},Q.functions={...a.functions},Q.maketext=function k({cldr:X,lexicon:de,template:ie,args:he}){if("string"!=typeof ie)throw"You must pass a string template to the maketext function.";if(-1===(ie=de&&de[ie]||ie).indexOf("["))return ie;const Z=ie.match(Q.config.bracketRe)||[],ue=[];let Se=!1,Re="";if(Z.forEach(Fe=>{if("["===Fe){if(Se)throw Error(`Invalid maketext string: ${ie} \nThe string contains nested brackets.`);Se=!0}else if("]"===Fe){if(!Se)throw Error(`Invalid maketext string: ${ie} \nThe string contains an unmatched closing bracket character (]).`);if(!Re)throw Error(`Invalid maketext string: ${ie} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let je;Se=!1;try{je=function H(X,de,ie){let he=de.split(",");if(he=he.map(Se=>Se.replace(Q.config.fauxCommaRe,",")),1===he.length){if(!Q.config.underscoreDigitRe.test(he[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[Se]=W(he,ie);return String(Se)}const Z=he.shift();if(!Z||"function"!=typeof Q.functions[Z])throw`Invalid function "${Z}" in maketext string.`;const ue=W(he,ie);return Q.functions[Z]({cldr:X,args:ue})}(X,Re,he)}catch(Ke){throw Error(`Invalid maketext string: ${ie} \n${Ke}`)}Re="",ue.push(je)}else if("~"===Fe.charAt(0)){const je=Fe.charAt(1)||"~";Se?Re+=","===je?Q.config.fauxComma:je:Q.config.tildeChars.has(je)?ue.push(je):ue.push(Fe)}else Se?Re+=Fe:ue.push(Fe)}),Se)throw Error(`Invalid maketext string: ${ie} \nThe string contains an unmatched opening bracket character ([).`);return ue.join("")}},9546:(ye,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.htmlEscape=Q.entityMap=void 0,Q.entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},Q.htmlEscape=function F(a){return String(a).replace(/[&<>"'\/]/g,O=>Q.entityMap[O])}},2353:(ye,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.listToObject=void 0,Q.listToObject=function O(...k){let H={};return function F(k){if(k.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let W=0,X=k.length;W<X;W+=2){const de=k[W];if("string"!=typeof de||""===de)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(k)&&(H=function a(k){const H=k.length,W={};let de,ie,X=0;for(;X<H;)de=k[X],ie=k[++X],W[de]=ie,X++;return W}(k)),H}},9969:(ye,Q,F)=>{"use strict";F.d(Q,{FX:()=>nt,If:()=>k,K2:()=>ie,S6:()=>qe,hZ:()=>W,i0:()=>X,iF:()=>he,kY:()=>Se,kp:()=>H,sf:()=>J,ui:()=>be,wk:()=>Z});var a=F(177),O=F(3953),k=function(fe){return fe[fe.State=0]="State",fe[fe.Transition=1]="Transition",fe[fe.Sequence=2]="Sequence",fe[fe.Group=3]="Group",fe[fe.Animate=4]="Animate",fe[fe.Keyframes=5]="Keyframes",fe[fe.Style=6]="Style",fe[fe.Trigger=7]="Trigger",fe[fe.Reference=8]="Reference",fe[fe.AnimateChild=9]="AnimateChild",fe[fe.AnimateRef=10]="AnimateRef",fe[fe.Query=11]="Query",fe[fe.Stagger=12]="Stagger",fe}(k||{});const H="*";function W(fe,re){return{type:k.Trigger,name:fe,definitions:re,options:{}}}function X(fe,re=null){return{type:k.Animate,styles:re,timings:fe}}function ie(fe,re=null){return{type:k.Sequence,steps:fe,options:re}}function he(fe){return{type:k.Style,styles:fe,offset:null}}function Z(fe,re,ve){return{type:k.State,name:fe,styles:re,options:ve}}function Se(fe,re,ve=null){return{type:k.Transition,expr:fe,animation:re,options:ve}}let qe=(()=>{class fe{static{this.\u0275fac=function(De){return new(De||fe)}}static{this.\u0275prov=O.jDH({token:fe,factory:()=>(0,O.WQX)(Ct),providedIn:"root"})}}return fe})();class Je{}let Ct=(()=>{class fe extends qe{constructor(ve,De){if(super(),this.animationModuleType=(0,O.WQX)(O.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=ve.createRenderer(De.body,{id:"0",encapsulation:O.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function Qe(fe){const re=fe.\u0275type;return 0===re||1===re}(this._renderer))throw new O.wOt(3600,!1)}build(ve){const De=this._nextAnimationId;this._nextAnimationId++;const $e=Array.isArray(ve)?ie(ve):ve;return gt(this._renderer,null,De,"register",[$e]),new It(De,this._renderer)}static{this.\u0275fac=function(De){return new(De||fe)(O.KVO(O._9s),O.KVO(a.qQ))}}static{this.\u0275prov=O.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}}return fe})();class It extends Je{constructor(re,ve){super(),this._id=re,this._renderer=ve}create(re,ve){return new pt(this._id,re,ve||{},this._renderer)}}class pt{constructor(re,ve,De,$e){this.id=re,this.element=ve,this._renderer=$e,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",De)}_listen(re,ve){return this._renderer.listen(this.element,`@@${this.id}:${re}`,ve)}_command(re,...ve){gt(this._renderer,this.element,this.id,re,ve)}onDone(re){this._listen("done",re)}onStart(re){this._listen("start",re)}onDestroy(re){this._listen("destroy",re)}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(re){this._command("setPosition",re)}getPosition(){return function Ht(fe){const re=fe.\u0275type;return 0===re?fe:1===re?fe.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function gt(fe,re,ve,De,$e){fe.setProperty(re,`@@${ve}:${De}`,$e)}class J{constructor(re=0,ve=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=re+ve}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(re=>re()),this._onDoneFns=[])}onStart(re){this._originalOnStartFns.push(re),this._onStartFns.push(re)}onDone(re){this._originalOnDoneFns.push(re),this._onDoneFns.push(re)}onDestroy(re){this._onDestroyFns.push(re)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(re=>re()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(re=>re()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(re){this._position=this.totalTime?re*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(re){const ve="start"==re?this._onStartFns:this._onDoneFns;ve.forEach(De=>De()),ve.length=0}}class be{constructor(re){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=re;let ve=0,De=0,$e=0;const it=this.players.length;0==it?queueMicrotask(()=>this._onFinish()):this.players.forEach(Gt=>{Gt.onDone(()=>{++ve==it&&this._onFinish()}),Gt.onDestroy(()=>{++De==it&&this._onDestroy()}),Gt.onStart(()=>{++$e==it&&this._onStart()})}),this.totalTime=this.players.reduce((Gt,gn)=>Math.max(Gt,gn.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(re=>re()),this._onDoneFns=[])}init(){this.players.forEach(re=>re.init())}onStart(re){this._onStartFns.push(re)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(re=>re()),this._onStartFns=[])}onDone(re){this._onDoneFns.push(re)}onDestroy(re){this._onDestroyFns.push(re)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(re=>re.play())}pause(){this.players.forEach(re=>re.pause())}restart(){this.players.forEach(re=>re.restart())}finish(){this._onFinish(),this.players.forEach(re=>re.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(re=>re.destroy()),this._onDestroyFns.forEach(re=>re()),this._onDestroyFns=[])}reset(){this.players.forEach(re=>re.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(re){const ve=re*this.totalTime;this.players.forEach(De=>{const $e=De.totalTime?Math.min(1,ve/De.totalTime):1;De.setPosition($e)})}getPosition(){const re=this.players.reduce((ve,De)=>null===ve||De.totalTime>ve.totalTime?De:ve,null);return null!=re?re.getPosition():0}beforeDestroy(){this.players.forEach(re=>{re.beforeDestroy&&re.beforeDestroy()})}triggerCallback(re){const ve="start"==re?this._onStartFns:this._onDoneFns;ve.forEach(De=>De()),ve.length=0}}const nt="!"},177:(ye,Q,F)=>{"use strict";F.d(Q,{AJ:()=>gi,B3:()=>ne,MD:()=>zo,N0:()=>yo,QT:()=>k,Sm:()=>Ke,Sq:()=>$,T3:()=>Ge,UE:()=>Xi,VF:()=>W,Vy:()=>Zi,Xr:()=>Yi,YU:()=>ai,ZD:()=>H,_b:()=>Br,aZ:()=>qe,bT:()=>we,e1:()=>qt,fw:()=>Be,hb:()=>Fe,hj:()=>he,kB:()=>je,qQ:()=>de,ux:()=>We});var a=F(3953);let O=null;function k(){return O}function H(m){O??=m}class W{}const de=new a.nKC("");let ie=(()=>{class m{historyGo(C){throw new Error("")}static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=a.jDH({token:m,factory:()=>(0,a.WQX)(Z),providedIn:"platform"})}}return m})();const he=new a.nKC("");let Z=(()=>{class m extends ie{constructor(){super(),this._doc=(0,a.WQX)(de),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return k().getBaseHref(this._doc)}onPopState(C){const b=k().getGlobalEventTarget(this._doc,"window");return b.addEventListener("popstate",C,!1),()=>b.removeEventListener("popstate",C)}onHashChange(C){const b=k().getGlobalEventTarget(this._doc,"window");return b.addEventListener("hashchange",C,!1),()=>b.removeEventListener("hashchange",C)}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(C){this._location.pathname=C}pushState(C,b,L){this._history.pushState(C,b,L)}replaceState(C,b,L){this._history.replaceState(C,b,L)}forward(){this._history.forward()}back(){this._history.back()}historyGo(C=0){this._history.go(C)}getState(){return this._history.state}static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=a.jDH({token:m,factory:()=>new m,providedIn:"platform"})}}return m})();function ue(m,T){if(0==m.length)return T;if(0==T.length)return m;let C=0;return m.endsWith("/")&&C++,T.startsWith("/")&&C++,2==C?m+T.substring(1):1==C?m+T:m+"/"+T}function Se(m){const T=m.match(/#|\?|$/),C=T&&T.index||m.length;return m.slice(0,C-("/"===m[C-1]?1:0))+m.slice(C)}function Re(m){return m&&"?"!==m[0]?"?"+m:m}let Fe=(()=>{class m{historyGo(C){throw new Error("")}static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275prov=a.jDH({token:m,factory:()=>(0,a.WQX)(Ke),providedIn:"root"})}}return m})();const je=new a.nKC("");let Ke=(()=>{class m extends Fe{constructor(C,b){super(),this._platformLocation=C,this._removeListenerFns=[],this._baseHref=b??this._platformLocation.getBaseHrefFromDOM()??(0,a.WQX)(de).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}prepareExternalUrl(C){return ue(this._baseHref,C)}path(C=!1){const b=this._platformLocation.pathname+Re(this._platformLocation.search),L=this._platformLocation.hash;return L&&C?`${b}${L}`:b}pushState(C,b,L,ae){const Ee=this.prepareExternalUrl(L+Re(ae));this._platformLocation.pushState(C,b,Ee)}replaceState(C,b,L,ae){const Ee=this.prepareExternalUrl(L+Re(ae));this._platformLocation.replaceState(C,b,Ee)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static{this.\u0275fac=function(b){return new(b||m)(a.KVO(ie),a.KVO(je,8))}}static{this.\u0275prov=a.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})(),Be=(()=>{class m extends Fe{constructor(C,b){super(),this._platformLocation=C,this._baseHref="",this._removeListenerFns=[],null!=b&&(this._baseHref=b)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}path(C=!1){const b=this._platformLocation.hash??"#";return b.length>0?b.substring(1):b}prepareExternalUrl(C){const b=ue(this._baseHref,C);return b.length>0?"#"+b:b}pushState(C,b,L,ae){let Ee=this.prepareExternalUrl(L+Re(ae));0==Ee.length&&(Ee=this._platformLocation.pathname),this._platformLocation.pushState(C,b,Ee)}replaceState(C,b,L,ae){let Ee=this.prepareExternalUrl(L+Re(ae));0==Ee.length&&(Ee=this._platformLocation.pathname),this._platformLocation.replaceState(C,b,Ee)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static{this.\u0275fac=function(b){return new(b||m)(a.KVO(ie),a.KVO(je,8))}}static{this.\u0275prov=a.jDH({token:m,factory:m.\u0275fac})}}return m})(),qe=(()=>{class m{constructor(C){this._subject=new a.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=C;const b=this._locationStrategy.getBaseHref();this._basePath=function pt(m){if(new RegExp("^(https?:)?//").test(m)){const[,C]=m.split(/\/\/[^\/]+/);return C}return m}(Se(It(b))),this._locationStrategy.onPopState(L=>{this._subject.emit({url:this.path(!0),pop:!0,state:L.state,type:L.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(C=!1){return this.normalize(this._locationStrategy.path(C))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(C,b=""){return this.path()==this.normalize(C+Re(b))}normalize(C){return m.stripTrailingSlash(function Ct(m,T){if(!m||!T.startsWith(m))return T;const C=T.substring(m.length);return""===C||["/",";","?","#"].includes(C[0])?C:T}(this._basePath,It(C)))}prepareExternalUrl(C){return C&&"/"!==C[0]&&(C="/"+C),this._locationStrategy.prepareExternalUrl(C)}go(C,b="",L=null){this._locationStrategy.pushState(L,"",C,b),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+Re(b)),L)}replaceState(C,b="",L=null){this._locationStrategy.replaceState(L,"",C,b),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+Re(b)),L)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(C=0){this._locationStrategy.historyGo?.(C)}onUrlChange(C){return this._urlChangeListeners.push(C),this._urlChangeSubscription??=this.subscribe(b=>{this._notifyUrlChangeListeners(b.url,b.state)}),()=>{const b=this._urlChangeListeners.indexOf(C);this._urlChangeListeners.splice(b,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(C="",b){this._urlChangeListeners.forEach(L=>L(C,b))}subscribe(C,b,L){return this._subject.subscribe({next:C,error:b,complete:L})}static{this.normalizeQueryParams=Re}static{this.joinWithSlash=ue}static{this.stripTrailingSlash=Se}static{this.\u0275fac=function(b){return new(b||m)(a.KVO(Fe))}}static{this.\u0275prov=a.jDH({token:m,factory:()=>function Je(){return new qe((0,a.KVO)(Fe))}(),providedIn:"root"})}}return m})();function It(m){return m.replace(/\/index.html$/,"")}function Br(m,T){T=encodeURIComponent(T);for(const C of m.split(";")){const b=C.indexOf("="),[L,ae]=-1==b?[C,""]:[C.slice(0,b),C.slice(b+1)];if(L.trim()===T)return decodeURIComponent(ae)}return null}const mt=/\s+/,ln=[];let ai=(()=>{class m{constructor(C,b){this._ngEl=C,this._renderer=b,this.initialClasses=ln,this.stateMap=new Map}set klass(C){this.initialClasses=null!=C?C.trim().split(mt):ln}set ngClass(C){this.rawClass="string"==typeof C?C.trim().split(mt):C}ngDoCheck(){for(const b of this.initialClasses)this._updateState(b,!0);const C=this.rawClass;if(Array.isArray(C)||C instanceof Set)for(const b of C)this._updateState(b,!0);else if(null!=C)for(const b of Object.keys(C))this._updateState(b,!!C[b]);this._applyStateDiff()}_updateState(C,b){const L=this.stateMap.get(C);void 0!==L?(L.enabled!==b&&(L.changed=!0,L.enabled=b),L.touched=!0):this.stateMap.set(C,{enabled:b,changed:!0,touched:!0})}_applyStateDiff(){for(const C of this.stateMap){const b=C[0],L=C[1];L.changed?(this._toggleClass(b,L.enabled),L.changed=!1):L.touched||(L.enabled&&this._toggleClass(b,!1),this.stateMap.delete(b)),L.touched=!1}}_toggleClass(C,b){(C=C.trim()).length>0&&C.split(mt).forEach(L=>{b?this._renderer.addClass(this._ngEl.nativeElement,L):this._renderer.removeClass(this._ngEl.nativeElement,L)})}static{this.\u0275fac=function(b){return new(b||m)(a.rXU(a.aKT),a.rXU(a.sFG))}}static{this.\u0275dir=a.FsC({type:m,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return m})();class x{constructor(T,C,b,L){this.$implicit=T,this.ngForOf=C,this.index=b,this.count=L}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 $=(()=>{class m{set ngForOf(C){this._ngForOf=C,this._ngForOfDirty=!0}set ngForTrackBy(C){this._trackByFn=C}get ngForTrackBy(){return this._trackByFn}constructor(C,b,L){this._viewContainer=C,this._template=b,this._differs=L,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(C){C&&(this._template=C)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const C=this._ngForOf;!this._differ&&C&&(this._differ=this._differs.find(C).create(this.ngForTrackBy))}if(this._differ){const C=this._differ.diff(this._ngForOf);C&&this._applyChanges(C)}}_applyChanges(C){const b=this._viewContainer;C.forEachOperation((L,ae,Ee)=>{if(null==L.previousIndex)b.createEmbeddedView(this._template,new x(L.item,this._ngForOf,-1,-1),null===Ee?void 0:Ee);else if(null==Ee)b.remove(null===ae?void 0:ae);else if(null!==ae){const He=b.get(ae);b.move(He,Ee),j(He,L)}});for(let L=0,ae=b.length;L<ae;L++){const He=b.get(L).context;He.index=L,He.count=ae,He.ngForOf=this._ngForOf}C.forEachIdentityChange(L=>{j(b.get(L.currentIndex),L)})}static ngTemplateContextGuard(C,b){return!0}static{this.\u0275fac=function(b){return new(b||m)(a.rXU(a.c1b),a.rXU(a.C4Q),a.rXU(a._q3))}}static{this.\u0275dir=a.FsC({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return m})();function j(m,T){m.context.$implicit=T.item}let we=(()=>{class m{constructor(C,b){this._viewContainer=C,this._context=new Te,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=b}set ngIf(C){this._context.$implicit=this._context.ngIf=C,this._updateView()}set ngIfThen(C){Oe("ngIfThen",C),this._thenTemplateRef=C,this._thenViewRef=null,this._updateView()}set ngIfElse(C){Oe("ngIfElse",C),this._elseTemplateRef=C,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(C,b){return!0}static{this.\u0275fac=function(b){return new(b||m)(a.rXU(a.c1b),a.rXU(a.C4Q))}}static{this.\u0275dir=a.FsC({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return m})();class Te{constructor(){this.$implicit=null,this.ngIf=null}}function Oe(m,T){if(T&&!T.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,a.Tbb)(T)}'.`)}class Ye{constructor(T,C){this._viewContainerRef=T,this._templateRef=C,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(T){T&&!this._created?this.create():!T&&this._created&&this.destroy()}}let We=(()=>{class m{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(C){this._ngSwitch=C,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(C){this._defaultViews.push(C)}_matchCase(C){const b=C===this._ngSwitch;return this._lastCasesMatched||=b,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),b}_updateDefaultCases(C){if(this._defaultViews.length>0&&C!==this._defaultUsed){this._defaultUsed=C;for(const b of this._defaultViews)b.enforceState(C)}}static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275dir=a.FsC({type:m,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return m})(),qt=(()=>{class m{constructor(C,b,L){this.ngSwitch=L,L._addCase(),this._view=new Ye(C,b)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(b){return new(b||m)(a.rXU(a.c1b),a.rXU(a.C4Q),a.rXU(We,9))}}static{this.\u0275dir=a.FsC({type:m,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return m})(),ne=(()=>{class m{constructor(C,b,L){this._ngEl=C,this._differs=b,this._renderer=L,this._ngStyle=null,this._differ=null}set ngStyle(C){this._ngStyle=C,!this._differ&&C&&(this._differ=this._differs.find(C).create())}ngDoCheck(){if(this._differ){const C=this._differ.diff(this._ngStyle);C&&this._applyChanges(C)}}_setStyle(C,b){const[L,ae]=C.split("."),Ee=-1===L.indexOf("-")?void 0:a.czy.DashCase;null!=b?this._renderer.setStyle(this._ngEl.nativeElement,L,ae?`${b}${ae}`:b,Ee):this._renderer.removeStyle(this._ngEl.nativeElement,L,Ee)}_applyChanges(C){C.forEachRemovedItem(b=>this._setStyle(b.key,null)),C.forEachAddedItem(b=>this._setStyle(b.key,b.currentValue)),C.forEachChangedItem(b=>this._setStyle(b.key,b.currentValue))}static{this.\u0275fac=function(b){return new(b||m)(a.rXU(a.aKT),a.rXU(a.MKu),a.rXU(a.sFG))}}static{this.\u0275dir=a.FsC({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return m})(),Ge=(()=>{class m{constructor(C){this._viewContainerRef=C,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(C){if(this._shouldRecreateView(C)){const b=this._viewContainerRef;if(this._viewRef&&b.remove(b.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const L=this._createContextForwardProxy();this._viewRef=b.createEmbeddedView(this.ngTemplateOutlet,L,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(C){return!!C.ngTemplateOutlet||!!C.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(C,b,L)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,b,L),get:(C,b,L)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,b,L)}})}static{this.\u0275fac=function(b){return new(b||m)(a.rXU(a.c1b))}}static{this.\u0275dir=a.FsC({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.OA$]})}}return m})(),zo=(()=>{class m{static{this.\u0275fac=function(b){return new(b||m)}}static{this.\u0275mod=a.$C({type:m})}static{this.\u0275inj=a.G2t({})}}return m})();const gi="browser",No="server";function Xi(m){return m===gi}function Zi(m){return m===No}let Yi=(()=>{class m{static{this.\u0275prov=(0,a.jDH)({token:m,providedIn:"root",factory:()=>Xi((0,a.WQX)(a.Agw))?new Wo((0,a.WQX)(de),window):new Kn})}}return m})();class Wo{constructor(T,C){this.document=T,this.window=C,this.offset=()=>[0,0]}setOffset(T){this.offset=Array.isArray(T)?()=>T:T}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(T){this.window.scrollTo(T[0],T[1])}scrollToAnchor(T){const C=function qo(m,T){const C=m.getElementById(T)||m.getElementsByName(T)[0];if(C)return C;if("function"==typeof m.createTreeWalker&&m.body&&"function"==typeof m.body.attachShadow){const b=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let L=b.currentNode;for(;L;){const ae=L.shadowRoot;if(ae){const Ee=ae.getElementById(T)||ae.querySelector(`[name="${T}"]`);if(Ee)return Ee}L=b.nextNode()}}return null}(this.document,T);C&&(this.scrollToElement(C),C.focus())}setHistoryScrollRestoration(T){this.window.history.scrollRestoration=T}scrollToElement(T){const C=T.getBoundingClientRect(),b=C.left+this.window.pageXOffset,L=C.top+this.window.pageYOffset,ae=this.offset();this.window.scrollTo(b-ae[0],L-ae[1])}}class Kn{setOffset(T){}getScrollPosition(){return[0,0]}scrollToPosition(T){}scrollToAnchor(T){}setHistoryScrollRestoration(T){}}class yo{}},1562:(ye,Q,F)=>{"use strict";function a(x,$,j,le,we,Te,Oe){try{var Ye=x[Te](Oe),We=Ye.value}catch(qt){return void j(qt)}Ye.done?$(We):Promise.resolve(We).then(le,we)}function O(x){return function(){var $=this,j=arguments;return new Promise(function(le,we){var Te=x.apply($,j);function Oe(We){a(Te,le,we,Oe,Ye,"next",We)}function Ye(We){a(Te,le,we,Oe,Ye,"throw",We)}Oe(void 0)})}}F.d(Q,{Qq:()=>dn,q1:()=>Ti,Lr:()=>je});var k=F(3953),H=F(7673),W=F(1985),X=F(6648),de=F(274),ie=F(5964),he=F(6354),Z=F(980),ue=F(5558),Se=F(177);class Re{}class Fe{}class je{constructor($){this.normalizedNames=new Map,this.lazyUpdate=null,$?"string"==typeof $?this.lazyInit=()=>{this.headers=new Map,$.split("\n").forEach(j=>{const le=j.indexOf(":");if(le>0){const we=j.slice(0,le),Te=we.toLowerCase(),Oe=j.slice(le+1).trim();this.maybeSetNormalizedName(we,Te),this.headers.has(Te)?this.headers.get(Te).push(Oe):this.headers.set(Te,[Oe])}})}:typeof Headers<"u"&&$ instanceof Headers?(this.headers=new Map,$.forEach((j,le)=>{this.setHeaderEntries(le,j)})):this.lazyInit=()=>{this.headers=new Map,Object.entries($).forEach(([j,le])=>{this.setHeaderEntries(j,le)})}:this.headers=new Map}has($){return this.init(),this.headers.has($.toLowerCase())}get($){this.init();const j=this.headers.get($.toLowerCase());return j&&j.length>0?j[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll($){return this.init(),this.headers.get($.toLowerCase())||null}append($,j){return this.clone({name:$,value:j,op:"a"})}set($,j){return this.clone({name:$,value:j,op:"s"})}delete($,j){return this.clone({name:$,value:j,op:"d"})}maybeSetNormalizedName($,j){this.normalizedNames.has(j)||this.normalizedNames.set(j,$)}init(){this.lazyInit&&(this.lazyInit instanceof je?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach($=>this.applyUpdate($)),this.lazyUpdate=null))}copyFrom($){$.init(),Array.from($.headers.keys()).forEach(j=>{this.headers.set(j,$.headers.get(j)),this.normalizedNames.set(j,$.normalizedNames.get(j))})}clone($){const j=new je;return j.lazyInit=this.lazyInit&&this.lazyInit instanceof je?this.lazyInit:this,j.lazyUpdate=(this.lazyUpdate||[]).concat([$]),j}applyUpdate($){const j=$.name.toLowerCase();switch($.op){case"a":case"s":let le=$.value;if("string"==typeof le&&(le=[le]),0===le.length)return;this.maybeSetNormalizedName($.name,j);const we=("a"===$.op?this.headers.get(j):void 0)||[];we.push(...le),this.headers.set(j,we);break;case"d":const Te=$.value;if(Te){let Oe=this.headers.get(j);if(!Oe)return;Oe=Oe.filter(Ye=>-1===Te.indexOf(Ye)),0===Oe.length?(this.headers.delete(j),this.normalizedNames.delete(j)):this.headers.set(j,Oe)}else this.headers.delete(j),this.normalizedNames.delete(j)}}setHeaderEntries($,j){const le=(Array.isArray(j)?j:[j]).map(Te=>Te.toString()),we=$.toLowerCase();this.headers.set(we,le),this.maybeSetNormalizedName($,we)}forEach($){this.init(),Array.from(this.normalizedNames.keys()).forEach(j=>$(this.normalizedNames.get(j),this.headers.get(j)))}}class Be{encodeKey($){return It($)}encodeValue($){return It($)}decodeKey($){return decodeURIComponent($)}decodeValue($){return decodeURIComponent($)}}const Je=/%(\d[a-f0-9])/gi,Ct={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function It(x){return encodeURIComponent(x).replace(Je,($,j)=>Ct[j]??$)}function pt(x){return`${x}`}class gt{constructor($={}){if(this.updates=null,this.cloneFrom=null,this.encoder=$.encoder||new Be,$.fromString){if($.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function qe(x,$){const j=new Map;return x.length>0&&x.replace(/^\?/,"").split("&").forEach(we=>{const Te=we.indexOf("="),[Oe,Ye]=-1==Te?[$.decodeKey(we),""]:[$.decodeKey(we.slice(0,Te)),$.decodeValue(we.slice(Te+1))],We=j.get(Oe)||[];We.push(Ye),j.set(Oe,We)}),j}($.fromString,this.encoder)}else $.fromObject?(this.map=new Map,Object.keys($.fromObject).forEach(j=>{const le=$.fromObject[j],we=Array.isArray(le)?le.map(pt):[pt(le)];this.map.set(j,we)})):this.map=null}has($){return this.init(),this.map.has($)}get($){this.init();const j=this.map.get($);return j?j[0]:null}getAll($){return this.init(),this.map.get($)||null}keys(){return this.init(),Array.from(this.map.keys())}append($,j){return this.clone({param:$,value:j,op:"a"})}appendAll($){const j=[];return Object.keys($).forEach(le=>{const we=$[le];Array.isArray(we)?we.forEach(Te=>{j.push({param:le,value:Te,op:"a"})}):j.push({param:le,value:we,op:"a"})}),this.clone(j)}set($,j){return this.clone({param:$,value:j,op:"s"})}delete($,j){return this.clone({param:$,value:j,op:"d"})}toString(){return this.init(),this.keys().map($=>{const j=this.encoder.encodeKey($);return this.map.get($).map(le=>j+"="+this.encoder.encodeValue(le)).join("&")}).filter($=>""!==$).join("&")}clone($){const j=new gt({encoder:this.encoder});return j.cloneFrom=this.cloneFrom||this,j.updates=(this.updates||[]).concat($),j}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach($=>this.map.set($,this.cloneFrom.map.get($))),this.updates.forEach($=>{switch($.op){case"a":case"s":const j=("a"===$.op?this.map.get($.param):void 0)||[];j.push(pt($.value)),this.map.set($.param,j);break;case"d":if(void 0===$.value){this.map.delete($.param);break}{let le=this.map.get($.param)||[];const we=le.indexOf(pt($.value));-1!==we&&le.splice(we,1),le.length>0?this.map.set($.param,le):this.map.delete($.param)}}}),this.cloneFrom=this.updates=null)}}class Qe{constructor(){this.map=new Map}set($,j){return this.map.set($,j),this}get($){return this.map.has($)||this.map.set($,$.defaultValue()),this.map.get($)}delete($){return this.map.delete($),this}has($){return this.map.has($)}keys(){return this.map.keys()}}function be(x){return typeof ArrayBuffer<"u"&&x instanceof ArrayBuffer}function nt(x){return typeof Blob<"u"&&x instanceof Blob}function fe(x){return typeof FormData<"u"&&x instanceof FormData}class ve{constructor($,j,le,we){let Te;if(this.url=j,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=$.toUpperCase(),function J(x){switch(x){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||we?(this.body=void 0!==le?le:null,Te=we):Te=le,Te&&(this.reportProgress=!!Te.reportProgress,this.withCredentials=!!Te.withCredentials,Te.responseType&&(this.responseType=Te.responseType),Te.headers&&(this.headers=Te.headers),Te.context&&(this.context=Te.context),Te.params&&(this.params=Te.params),this.transferCache=Te.transferCache),this.headers??=new je,this.context??=new Qe,this.params){const Oe=this.params.toString();if(0===Oe.length)this.urlWithParams=j;else{const Ye=j.indexOf("?");this.urlWithParams=j+(-1===Ye?"?":Ye<j.length-1?"&":"")+Oe}}else this.params=new gt,this.urlWithParams=j}serializeBody(){return null===this.body?null:"string"==typeof this.body||be(this.body)||nt(this.body)||fe(this.body)||function re(x){return typeof URLSearchParams<"u"&&x instanceof URLSearchParams}(this.body)?this.body:this.body instanceof gt?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||fe(this.body)?null:nt(this.body)?this.body.type||null:be(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof gt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone($={}){const j=$.method||this.method,le=$.url||this.url,we=$.responseType||this.responseType,Te=$.transferCache??this.transferCache,Oe=void 0!==$.body?$.body:this.body,Ye=$.withCredentials??this.withCredentials,We=$.reportProgress??this.reportProgress;let qt=$.headers||this.headers,Kt=$.params||this.params;const P=$.context??this.context;return void 0!==$.setHeaders&&(qt=Object.keys($.setHeaders).reduce((Me,I)=>Me.set(I,$.setHeaders[I]),qt)),$.setParams&&(Kt=Object.keys($.setParams).reduce((Me,I)=>Me.set(I,$.setParams[I]),Kt)),new ve(j,le,Oe,{params:Kt,headers:qt,context:P,reportProgress:We,responseType:we,withCredentials:Ye,transferCache:Te})}}var De=function(x){return x[x.Sent=0]="Sent",x[x.UploadProgress=1]="UploadProgress",x[x.ResponseHeader=2]="ResponseHeader",x[x.DownloadProgress=3]="DownloadProgress",x[x.Response=4]="Response",x[x.User=5]="User",x}(De||{});class $e{constructor($,j=200,le="OK"){this.headers=$.headers||new je,this.status=void 0!==$.status?$.status:j,this.statusText=$.statusText||le,this.url=$.url||null,this.ok=this.status>=200&&this.status<300}}class it extends $e{constructor($={}){super($),this.type=De.ResponseHeader}clone($={}){return new it({headers:$.headers||this.headers,status:void 0!==$.status?$.status:this.status,statusText:$.statusText||this.statusText,url:$.url||this.url||void 0})}}class Gt extends $e{constructor($={}){super($),this.type=De.Response,this.body=void 0!==$.body?$.body:null}clone($={}){return new Gt({body:void 0!==$.body?$.body:this.body,headers:$.headers||this.headers,status:void 0!==$.status?$.status:this.status,statusText:$.statusText||this.statusText,url:$.url||this.url||void 0})}}class gn extends $e{constructor($){super($,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${$.url||"(unknown url)"}`:`Http failure response for ${$.url||"(unknown url)"}: ${$.status} ${$.statusText}`,this.error=$.error||null}}function un(x,$){return{body:$,headers:x.headers,context:x.context,observe:x.observe,params:x.params,reportProgress:x.reportProgress,responseType:x.responseType,withCredentials:x.withCredentials,transferCache:x.transferCache}}let dn=(()=>{class x{constructor(j){this.handler=j}request(j,le,we={}){let Te;if(j instanceof ve)Te=j;else{let We,qt;We=we.headers instanceof je?we.headers:new je(we.headers),we.params&&(qt=we.params instanceof gt?we.params:new gt({fromObject:we.params})),Te=new ve(j,le,void 0!==we.body?we.body:null,{headers:We,context:we.context,params:qt,reportProgress:we.reportProgress,responseType:we.responseType||"json",withCredentials:we.withCredentials,transferCache:we.transferCache})}const Oe=(0,H.of)(Te).pipe((0,de.H)(We=>this.handler.handle(We)));if(j instanceof ve||"events"===we.observe)return Oe;const Ye=Oe.pipe((0,ie.p)(We=>We instanceof Gt));switch(we.observe||"body"){case"body":switch(Te.responseType){case"arraybuffer":return Ye.pipe((0,he.T)(We=>{if(null!==We.body&&!(We.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return We.body}));case"blob":return Ye.pipe((0,he.T)(We=>{if(null!==We.body&&!(We.body instanceof Blob))throw new Error("Response is not a Blob.");return We.body}));case"text":return Ye.pipe((0,he.T)(We=>{if(null!==We.body&&"string"!=typeof We.body)throw new Error("Response is not a string.");return We.body}));default:return Ye.pipe((0,he.T)(We=>We.body))}case"response":return Ye;default:throw new Error(`Unreachable: unhandled observe type ${we.observe}}`)}}delete(j,le={}){return this.request("DELETE",j,le)}get(j,le={}){return this.request("GET",j,le)}head(j,le={}){return this.request("HEAD",j,le)}jsonp(j,le){return this.request("JSONP",j,{params:(new gt).append(le,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(j,le={}){return this.request("OPTIONS",j,le)}patch(j,le,we={}){return this.request("PATCH",j,un(we,le))}post(j,le,we={}){return this.request("POST",j,un(we,le))}put(j,le,we={}){return this.request("PUT",j,un(we,le))}static{this.\u0275fac=function(le){return new(le||x)(k.KVO(Re))}}static{this.\u0275prov=k.jDH({token:x,factory:x.\u0275fac})}}return x})();const $n=/^\)\]\}',?\n/;function hr(x){if(x.url)return x.url;const $="X-Request-URL".toLocaleLowerCase();return x.headers.get($)}let tr=(()=>{class x{constructor(){this.fetchImpl=(0,k.WQX)(nr,{optional:!0})?.fetch??((...j)=>globalThis.fetch(...j)),this.ngZone=(0,k.WQX)(k.SKi)}handle(j){return new W.c(le=>{const we=new AbortController;return this.doRequest(j,we.signal,le).then(zt,Te=>le.error(new gn({error:Te}))),()=>we.abort()})}doRequest(j,le,we){var Te=this;return O(function*(){const Oe=Te.createRequestInit(j);let Ye;try{const z=Te.ngZone.runOutsideAngular(()=>Te.fetchImpl(j.urlWithParams,{signal:le,...Oe}));(function ii(x){x.then(zt,zt)})(z),we.next({type:De.Sent}),Ye=yield z}catch(z){return void we.error(new gn({error:z,status:z.status??0,statusText:z.statusText,url:j.urlWithParams,headers:z.headers}))}const We=new je(Ye.headers),qt=Ye.statusText,Kt=hr(Ye)??j.urlWithParams;let P=Ye.status,Me=null;if(j.reportProgress&&we.next(new it({headers:We,status:P,statusText:qt,url:Kt})),Ye.body){const z=Ye.headers.get("content-length"),ne=[],Ge=Ye.body.getReader();let Qt,Jt,ct=0;const yr=typeof Zone<"u"&&Zone.current;yield Te.ngZone.runOutsideAngular(O(function*(){for(;;){const{done:pi,value:Wi}=yield Ge.read();if(pi)break;if(ne.push(Wi),ct+=Wi.length,j.reportProgress){Jt="text"===j.responseType?(Jt??"")+(Qt??=new TextDecoder).decode(Wi,{stream:!0}):void 0;const qi=()=>we.next({type:De.DownloadProgress,total:z?+z:void 0,loaded:ct,partialText:Jt});yr?yr.run(qi):qi()}}}));const ho=Te.concatChunks(ne,ct);try{const pi=Ye.headers.get("Content-Type")??"";Me=Te.parseBody(j,ho,pi)}catch(pi){return void we.error(new gn({error:pi,headers:new je(Ye.headers),status:Ye.status,statusText:Ye.statusText,url:hr(Ye)??j.urlWithParams}))}}0===P&&(P=Me?200:0),P>=200&&P<300?(we.next(new Gt({body:Me,headers:We,status:P,statusText:qt,url:Kt})),we.complete()):we.error(new gn({error:Me,headers:We,status:P,statusText:qt,url:Kt}))})()}parseBody(j,le,we){switch(j.responseType){case"json":const Te=(new TextDecoder).decode(le).replace($n,"");return""===Te?null:JSON.parse(Te);case"text":return(new TextDecoder).decode(le);case"blob":return new Blob([le],{type:we});case"arraybuffer":return le.buffer}}createRequestInit(j){const le={},we=j.withCredentials?"include":void 0;if(j.headers.forEach((Te,Oe)=>le[Te]=Oe.join(",")),j.headers.has("Accept")||(le.Accept="application/json, text/plain, */*"),!j.headers.has("Content-Type")){const Te=j.detectContentTypeHeader();null!==Te&&(le["Content-Type"]=Te)}return{body:j.serializeBody(),method:j.method,headers:le,credentials:we}}concatChunks(j,le){const we=new Uint8Array(le);let Te=0;for(const Oe of j)we.set(Oe,Te),Te+=Oe.length;return we}static{this.\u0275fac=function(le){return new(le||x)}}static{this.\u0275prov=k.jDH({token:x,factory:x.\u0275fac})}}return x})();class nr{}function zt(){}function tn(x,$){return $(x)}function _n(x,$){return(j,le)=>$.intercept(j,{handle:we=>x(we,le)})}const sn=new k.nKC(""),fr=new k.nKC(""),rr=new k.nKC(""),Fr=new k.nKC("",{providedIn:"root",factory:()=>!0});function pr(){let x=null;return($,j)=>{null===x&&(x=((0,k.WQX)(sn,{optional:!0})??[]).reduceRight(_n,tn));const le=(0,k.WQX)(k.TgB);if((0,k.WQX)(Fr)){const Te=le.add();return x($,j).pipe((0,Z.j)(()=>le.remove(Te)))}return x($,j)}}let Er=(()=>{class x extends Re{constructor(j,le){super(),this.backend=j,this.injector=le,this.chain=null,this.pendingTasks=(0,k.WQX)(k.TgB),this.contributeToStability=(0,k.WQX)(Fr)}handle(j){if(null===this.chain){const le=Array.from(new Set([...this.injector.get(fr),...this.injector.get(rr,[])]));this.chain=le.reduceRight((we,Te)=>function oi(x,$,j){return(le,we)=>(0,k.N4e)(j,()=>$(le,Te=>x(Te,we)))}(we,Te,this.injector),tn)}if(this.contributeToStability){const le=this.pendingTasks.add();return this.chain(j,we=>this.backend.handle(we)).pipe((0,Z.j)(()=>this.pendingTasks.remove(le)))}return this.chain(j,le=>this.backend.handle(le))}static{this.\u0275fac=function(le){return new(le||x)(k.KVO(Fe),k.KVO(k.uvJ))}}static{this.\u0275prov=k.jDH({token:x,factory:x.\u0275fac})}}return x})();const Et=/^\)\]\}',?\n/;let kn=(()=>{class x{constructor(j){this.xhrFactory=j}handle(j){if("JSONP"===j.method)throw new k.wOt(-2800,!1);const le=this.xhrFactory;return(le.\u0275loadImpl?(0,X.H)(le.\u0275loadImpl()):(0,H.of)(null)).pipe((0,ue.n)(()=>new W.c(Te=>{const Oe=le.build();if(Oe.open(j.method,j.urlWithParams),j.withCredentials&&(Oe.withCredentials=!0),j.headers.forEach((ne,Ge)=>Oe.setRequestHeader(ne,Ge.join(","))),j.headers.has("Accept")||Oe.setRequestHeader("Accept","application/json, text/plain, */*"),!j.headers.has("Content-Type")){const ne=j.detectContentTypeHeader();null!==ne&&Oe.setRequestHeader("Content-Type",ne)}if(j.responseType){const ne=j.responseType.toLowerCase();Oe.responseType="json"!==ne?ne:"text"}const Ye=j.serializeBody();let We=null;const qt=()=>{if(null!==We)return We;const ne=Oe.statusText||"OK",Ge=new je(Oe.getAllResponseHeaders()),ct=function At(x){return"responseURL"in x&&x.responseURL?x.responseURL:/^X-Request-URL:/m.test(x.getAllResponseHeaders())?x.getResponseHeader("X-Request-URL"):null}(Oe)||j.url;return We=new it({headers:Ge,status:Oe.status,statusText:ne,url:ct}),We},Kt=()=>{let{headers:ne,status:Ge,statusText:ct,url:Qt}=qt(),Jt=null;204!==Ge&&(Jt=typeof Oe.response>"u"?Oe.responseText:Oe.response),0===Ge&&(Ge=Jt?200:0);let yr=Ge>=200&&Ge<300;if("json"===j.responseType&&"string"==typeof Jt){const ho=Jt;Jt=Jt.replace(Et,"");try{Jt=""!==Jt?JSON.parse(Jt):null}catch(pi){Jt=ho,yr&&(yr=!1,Jt={error:pi,text:Jt})}}yr?(Te.next(new Gt({body:Jt,headers:ne,status:Ge,statusText:ct,url:Qt||void 0})),Te.complete()):Te.error(new gn({error:Jt,headers:ne,status:Ge,statusText:ct,url:Qt||void 0}))},P=ne=>{const{url:Ge}=qt(),ct=new gn({error:ne,status:Oe.status||0,statusText:Oe.statusText||"Unknown Error",url:Ge||void 0});Te.error(ct)};let Me=!1;const I=ne=>{Me||(Te.next(qt()),Me=!0);let Ge={type:De.DownloadProgress,loaded:ne.loaded};ne.lengthComputable&&(Ge.total=ne.total),"text"===j.responseType&&Oe.responseText&&(Ge.partialText=Oe.responseText),Te.next(Ge)},z=ne=>{let Ge={type:De.UploadProgress,loaded:ne.loaded};ne.lengthComputable&&(Ge.total=ne.total),Te.next(Ge)};return Oe.addEventListener("load",Kt),Oe.addEventListener("error",P),Oe.addEventListener("timeout",P),Oe.addEventListener("abort",P),j.reportProgress&&(Oe.addEventListener("progress",I),null!==Ye&&Oe.upload&&Oe.upload.addEventListener("progress",z)),Oe.send(Ye),Te.next({type:De.Sent}),()=>{Oe.removeEventListener("error",P),Oe.removeEventListener("abort",P),Oe.removeEventListener("load",Kt),Oe.removeEventListener("timeout",P),j.reportProgress&&(Oe.removeEventListener("progress",I),null!==Ye&&Oe.upload&&Oe.upload.removeEventListener("progress",z)),Oe.readyState!==Oe.DONE&&Oe.abort()}})))}static{this.\u0275fac=function(le){return new(le||x)(k.KVO(Se.N0))}}static{this.\u0275prov=k.jDH({token:x,factory:x.\u0275fac})}}return x})();const Zn=new k.nKC(""),kr=new k.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),En=new k.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class an{}let oe=(()=>{class x{constructor(j,le,we){this.doc=j,this.platform=le,this.cookieName=we,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const j=this.doc.cookie||"";return j!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Se._b)(j,this.cookieName),this.lastCookieString=j),this.lastToken}static{this.\u0275fac=function(le){return new(le||x)(k.KVO(Se.qQ),k.KVO(k.Agw),k.KVO(kr))}}static{this.\u0275prov=k.jDH({token:x,factory:x.\u0275fac})}}return x})();function se(x,$){const j=x.url.toLowerCase();if(!(0,k.WQX)(Zn)||"GET"===x.method||"HEAD"===x.method||j.startsWith("http://")||j.startsWith("https://"))return $(x);const le=(0,k.WQX)(an).getToken(),we=(0,k.WQX)(En);return null!=le&&!x.headers.has(we)&&(x=x.clone({headers:x.headers.set(we,le)})),$(x)}var q=function(x){return x[x.Interceptors=0]="Interceptors",x[x.LegacyInterceptors=1]="LegacyInterceptors",x[x.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",x[x.NoXsrfProtection=3]="NoXsrfProtection",x[x.JsonpSupport=4]="JsonpSupport",x[x.RequestsMadeViaParent=5]="RequestsMadeViaParent",x[x.Fetch=6]="Fetch",x}(q||{});function me(x,$){return{\u0275kind:x,\u0275providers:$}}function Ue(...x){const $=[dn,kn,Er,{provide:Re,useExisting:Er},{provide:Fe,useFactory:()=>(0,k.WQX)(tr,{optional:!0})??(0,k.WQX)(kn)},{provide:fr,useValue:se,multi:!0},{provide:Zn,useValue:!0},{provide:an,useClass:oe}];for(const j of x)$.push(...j.\u0275providers);return(0,k.EmA)($)}const Dt=new k.nKC("");let Ti=(()=>{class x{static{this.\u0275fac=function(le){return new(le||x)}}static{this.\u0275mod=k.$C({type:x})}static{this.\u0275inj=k.G2t({providers:[Ue(me(q.LegacyInterceptors,[{provide:Dt,useFactory:pr},{provide:fr,useExisting:Dt,multi:!0}]))]})}}return x})()},3953:(ye,Q,F)=>{"use strict";function a(e,t){return Object.is(e,t)}F.d(Q,{bc$:()=>E0,iLQ:()=>Md,sZ2:()=>vu,hnV:()=>bE,Hbi:()=>qN,o8S:()=>hs,BIS:()=>D0,gRc:()=>BE,Ql9:()=>gN,OM3:()=>dc,Ocv:()=>EN,Z63:()=>Ui,aKT:()=>Ul,uvJ:()=>Eo,zcH:()=>Es,bkB:()=>as,$GK:()=>Rt,nKC:()=>st,zZn:()=>ri,_q3:()=>sg,MKu:()=>ag,xe9:()=>Jp,Co$:()=>w_,Vns:()=>ha,SKi:()=>Bn,Xx1:()=>vi,Agw:()=>_u,PLl:()=>Qm,sFG:()=>yT,_9s:()=>Vf,czy:()=>xu,WPN:()=>oa,kdw:()=>Vi,C4Q:()=>nc,NYb:()=>lN,giA:()=>DE,RxE:()=>gE,c1b:()=>Xu,gXe:()=>Jo,mal:()=>id,L39:()=>Mx,EWP:()=>Tx,Ol2:()=>ep,w6W:()=>lI,oH4:()=>LE,SmG:()=>NN,Rfq:()=>xi,WQX:()=>Ie,naY:()=>AN,QuC:()=>xs,EmA:()=>Sl,Udg:()=>bx,fpN:()=>WN,HJs:()=>Rx,N4e:()=>FD,vPA:()=>r_,O8t:()=>Ix,H3F:()=>mE,zAP:()=>hD,H8p:()=>zd,KH2:()=>yl,TgB:()=>na,wOt:()=>ke,WHO:()=>wE,e01:()=>EE,lNU:()=>eo,h9k:()=>vy,$MX:()=>Ou,ZF7:()=>Ha,Kcf:()=>H0,e5t:()=>q0,UyX:()=>z0,cWb:()=>G0,osQ:()=>W0,H5H:()=>Ip,Zy3:()=>$r,mq5:()=>PC,JZv:()=>Dn,LfX:()=>xo,plB:()=>ks,jNT:()=>Qp,zjR:()=>ME,TL$:()=>C0,Tbb:()=>Rn,rcV:()=>Ds,Vt3:()=>Zf,GFd:()=>C_,OA$:()=>th,Jv_:()=>Uw,aNF:()=>jw,R7$:()=>Gy,BMQ:()=>fp,x72:()=>pp,HbH:()=>uC,ZvI:()=>yC,AVh:()=>wp,BUC:()=>vC,vxM:()=>EC,wni:()=>dw,VBU:()=>oo,FsC:()=>Gc,jDH:()=>ut,G2t:()=>yn,$C:()=>wi,EJ8:()=>qs,rXU:()=>Wa,nrm:()=>Sp,eu8:()=>Tp,bVm:()=>fd,qex:()=>hd,k0s:()=>dd,j41:()=>ud,RV6:()=>TC,xGo:()=>fm,KVO:()=>bt,kS0:()=>hu,QTQ:()=>Wy,bIt:()=>Ap,lsd:()=>pw,XpG:()=>tw,SdG:()=>rw,NAR:()=>nw,Y8G:()=>vp,FS9:()=>xp,Mz_:()=>vd,FCK:()=>Rp,eq3:()=>Gw,l_i:()=>zw,sMw:()=>Ww,ziG:()=>qw,mGM:()=>fw,sdS:()=>gw,Dyx:()=>MC,Z7z:()=>DC,Njj:()=>jg,eBV:()=>Ug,npT:()=>_y,f$h:()=>Yh,B4B:()=>Zh,n$t:()=>Cy,wjB:()=>Bw,xc7:()=>Cp,DNE:()=>np,C5r:()=>Jw,EFF:()=>bw,JRh:()=>kp,SpI:()=>_d,DH7:()=>Fw,mxI:()=>Vp,R50:()=>Lp,GBs:()=>hw});let O=null,k=!1,H=1;const W=Symbol("SIGNAL");function X(e){const t=O;return O=e,t}const Z={version:0,lastCleanEpoch: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:()=>{},consumerOnSignalRead:()=>{}};function ue(e){if(k)throw new Error("");if(null===O)return;O.consumerOnSignalRead(e);const t=O.nextProducerIndex++;Ht(O),t<O.producerNode.length&&O.producerNode[t]!==e&&gt(O)&&pt(O.producerNode[t],O.producerIndexOfThis[t]),O.producerNode[t]!==e&&(O.producerNode[t]=e,O.producerIndexOfThis[t]=gt(O)?It(e,O,t):0),O.producerLastReadVersion[t]=e.version}function Re(e){if((!gt(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==H)){if(!e.producerMustRecompute(e)&&!Je(e))return e.dirty=!1,void(e.lastCleanEpoch=H);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=H}}function Fe(e){if(void 0===e.liveConsumerNode)return;const t=k;k=!0;try{for(const n of e.liveConsumerNode)n.dirty||Ke(n)}finally{k=t}}function je(){return!1!==O?.consumerAllowSignalWrites}function Ke(e){e.dirty=!0,Fe(e),e.consumerMarkedDirty?.(e)}function Be(e){return e&&(e.nextProducerIndex=0),X(e)}function qe(e,t){if(X(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(gt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)pt(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Je(e){Ht(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Re(n),r!==n.version))return!0}return!1}function Ct(e){if(Ht(e),gt(e))for(let t=0;t<e.producerNode.length;t++)pt(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)}function It(e,t,n){if(Qe(e),0===e.liveConsumerNode.length&&J(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=It(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function pt(e,t){if(Qe(e),1===e.liveConsumerNode.length&&J(e))for(let r=0;r<e.producerNode.length;r++)pt(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];Ht(i),i.producerIndexOfThis[r]=t}}function gt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ht(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Qe(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function J(e){return void 0!==e.producerNode}const nt=Symbol("UNSET"),fe=Symbol("COMPUTING"),re=Symbol("ERRORED"),ve={...Z,value:nt,dirty:!0,error:null,equal:a,producerMustRecompute:e=>e.value===nt||e.value===fe,producerRecomputeValue(e){if(e.value===fe)throw new Error("Detected cycle in computations.");const t=e.value;e.value=fe;const n=Be(e);let r;try{r=e.computation()}catch(i){r=re,e.error=i}finally{qe(e,n)}t!==nt&&t!==re&&r!==re&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let $e=function De(){throw new Error};function it(){$e()}let gn=null;function un(e,t){je()||it(),e.equal(e.value,t)||(e.value=t,function hr(e){e.version++,function Se(){H++}(),Fe(e),gn?.()}(e))}const Fn={...Z,equal:a,value:void 0};var tn=F(4412),_n=F(1413),oi=F(8359),sn=F(6354);typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const eo="https://g.co/ng/security#xss";class ke extends Error{constructor(t,n){super($r(t,n)),this.code=t}}function $r(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function li(e){return{toString:e}.toString()}const vr="__parameters__";function Sr(e,t,n){return li(()=>{const r=function _r(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return c.annotation=s,c;function c(g,E,D){const R=g.hasOwnProperty(vr)?g[vr]:Object.defineProperty(g,vr,{value:[]})[vr];for(;R.length<=D;)R.push(null);return(R[D]=R[D]||[]).push(s),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const Dn=globalThis;function $t(e){for(let t in e)if(e[t]===$t)return t;throw Error("Could not find renamed property on target object.")}function Is(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Rn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Rn).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 ps(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Xo=$t({__forward_ref__:$t});function xi(e){return e.__forward_ref__=xi,e.toString=function(){return Rn(this())},e}function et(e){return yi(e)?e():e}function yi(e){return"function"==typeof e&&e.hasOwnProperty(Xo)&&e.__forward_ref__===xi}function ut(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yn(e){return{providers:e.providers||[],imports:e.imports||[]}}function bn(e){return Hr(e,Gr)||Hr(e,Ro)}function xo(e){return null!==bn(e)}function Hr(e,t){return e.hasOwnProperty(t)?e[t]:null}function er(e){return e&&(e.hasOwnProperty(no)||e.hasOwnProperty(Ri))?e[no]:null}const Gr=$t({\u0275prov:$t}),no=$t({\u0275inj:$t}),Ro=$t({ngInjectableDef:$t}),Ri=$t({ngInjectorDef:$t});class st{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=ut({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function cn(e){return e&&!!e.\u0275providers}const Co=$t({\u0275cmp:$t}),gs=$t({\u0275dir:$t}),Sn=$t({\u0275pipe:$t}),ki=$t({\u0275mod:$t}),Tn=$t({\u0275fac:$t}),zr=$t({__NG_ELEMENT_ID__:$t}),ko=$t({__NG_ENV_ID__:$t});function ht(e){return"string"==typeof e?e:null==e?"":String(e)}function Ca(e,t){throw new ke(-201,!1)}var Rt=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}(Rt||{});let $s;function El(){return $s}function Yr(e){const t=$s;return $s=e,t}function ms(e,t,n){const r=bn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Rt.Optional?null:void 0!==t?t:void Ca()}const Ps={},Ea="__NG_DI_FLAG__",m="ngTempTokenPath",C=/\n/gm,L="__source";let ae;function He(e){const t=ae;return ae=e,t}function Vt(e,t=Rt.Default){if(void 0===ae)throw new ke(-203,!1);return null===ae?ms(e,void 0,t):ae.get(e,t&Rt.Optional?null:void 0,t)}function bt(e,t=Rt.Default){return(El()||Vt)(et(e),t)}function Ie(e,t=Rt.Default){return bt(e,fn(t))}function fn(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Xt(e){const t=[];for(let n=0;n<e.length;n++){const r=et(e[n]);if(Array.isArray(r)){if(0===r.length)throw new ke(900,!1);let i,o=Rt.Default;for(let s=0;s<r.length;s++){const c=r[s],g=Lo(c);"number"==typeof g?-1===g?i=c.token:o|=g:i=c}t.push(bt(i,o))}else t.push(bt(r))}return t}function Cn(e,t){return e[Ea]=t,e.prototype[Ea]=t,e}function Lo(e){return e[Ea]}const vi=Cn(Sr("Optional"),8),Vi=Cn(Sr("SkipSelf"),4);function ys(e,t){return e.hasOwnProperty(Tn)?e[Tn]:null}function Gs(e,t){e.forEach(n=>Array.isArray(n)?Gs(n,t):t(n))}function Dl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ci(e,t,n){let r=Ws(e,t);return r>=0?e[1|r]=n:(r=~r,function kd(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Uc(e,t){const n=Ws(e,t);if(n>=0)return e[1|n]}function Ws(e,t){return function jc(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const wo={},Zt=[],Ui=new st(""),Bc=new st("",-1),bl=new st("");class Da{get(t,n=Ps){if(n===Ps){const r=new Error(`NullInjectorError: No provider for ${Rn(t)}!`);throw r.name="NullInjectorError",r}return n}}var Ma=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ma||{}),Jo=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Jo||{}),es=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(es||{});function Vd(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 o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function ba(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],s=n[r++],c=n[r++];e.setAttribute(t,s,c,o)}else{const o=i,s=n[++r];Ud(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function $c(e){return 3===e||4===e||6===e}function Ud(e){return 64===e.charCodeAt(0)}function Sa(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||jd(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function jd(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const c=e[o++];if("number"==typeof c){if(c===t){s=-1;break}if(c>t){s=o-1;break}}}for(;o<e.length;){const c=e[o];if("number"==typeof c)break;if(c===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}const Bd="ng-template";function fg(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==Vd(t[i+1].toLowerCase(),n,0))return!0}else if(Hc(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&"string"==typeof(o=t[i]);)if(o.toLowerCase()===n)return!0}return!1}function Hc(e){return 4===e.type&&e.value!==Bd}function h(e,t,n){return t===(4!==e.type||n?e.value:Bd)}function v(e,t,n){let r=4;const i=e.attrs,o=null!==i?function V(e){for(let t=0;t<e.length;t++)if($c(e[t]))return t;return e.length}(i):0;let s=!1;for(let c=0;c<t.length;c++){const g=t[c];if("number"!=typeof g){if(!s)if(4&r){if(r=2|1&r,""!==g&&!h(e,g,n)||""===g&&1===t.length){if(p(r))return!1;s=!0}}else if(8&r){if(null===i||!fg(e,i,g,n)){if(p(r))return!1;s=!0}}else{const E=t[++c],D=_(g,i,Hc(e),n);if(-1===D){if(p(r))return!1;s=!0;continue}if(""!==E){let R;if(R=D>o?"":i[D+1].toLowerCase(),2&r&&E!==R){if(p(r))return!1;s=!0}}}}else{if(!s&&!p(r)&&!p(g))return!1;if(s&&p(g))continue;s=!1,r=g|1&r}}return p(r)||s}function p(e){return!(1&e)}function _(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let c=t[++i];for(;"string"==typeof c;)c=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function ce(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 M(e,t,n=!1){for(let r=0;r<t.length;r++)if(v(e,t[r],n))return!0;return!1}function te(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 Ve(e,t){return e?":not("+t.trim()+")":t}function ft(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const c=e[++n];i+="["+s+(c.length>0?'="'+c+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!p(s)&&(t+=Ve(o,i),i=""),r=s,o=o||!p(r);n++}return""!==i&&(t+=Ve(o,i)),t}function oo(e){return li(()=>{const t=pg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ma.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Jo.Emulated,styles:e.styles||Zt,_:null,schemas:e.schemas||null,tView:null,id:""};gg(n);const r=e.dependencies;return n.directiveDefs=zc(r,!1),n.pipeDefs=zc(r,!0),n.id=function bD(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 Jr(e){return Ut(e)||Ir(e)}function ts(e){return null!==e}function wi(e){return li(()=>({type:e.type,bootstrap:e.bootstrap||Zt,declarations:e.declarations||Zt,imports:e.imports||Zt,exports:e.exports||Zt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ns(e,t){if(null==e)return wo;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,s,c=es.None;Array.isArray(i)?(c=i[0],o=i[1],s=i[2]??o):(o=i,s=i),t?(n[o]=c!==es.None?[r,c]:r,t[o]=s):n[o]=r}return n}function Gc(e){return li(()=>{const t=pg(e);return gg(t),t})}function qs(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 Ut(e){return e[Co]||null}function Ir(e){return e[gs]||null}function ei(e){return e[Sn]||null}function xs(e){const t=Ut(e)||Ir(e)||ei(e);return null!==t&&t.standalone}function di(e,t){const n=e[ki]||null;if(!n&&!0===t)throw new Error(`Type ${Rn(e)} does not have '\u0275mod' property.`);return n}function pg(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||wo,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Zt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ns(e.inputs,t),outputs:Ns(e.outputs),debugInfo:null}}function gg(e){e.features?.forEach(t=>t(e))}function zc(e,t){if(!e)return null;const n=t?ei:Jr;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(ts)}function Sl(e){return{\u0275providers:e}}function SD(...e){return{\u0275providers:$d(0,e),\u0275fromNgModule:!0}}function $d(e,...t){const n=[],r=new Set;let i;const o=s=>{n.push(s)};return Gs(t,s=>{const c=s;Wc(c,o,[],r)&&(i||=[],i.push(c))}),void 0!==i&&mg(i,o),n}function mg(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Hd(i,o=>{t(o,r)})}}function Wc(e,t,n,r){if(!(e=et(e)))return!1;let i=null,o=er(e);const s=!o&&Ut(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const g=e.ngModule;if(o=er(g),!o)return!1;i=g}const c=r.has(i);if(s){if(c)return!1;if(r.add(i),s.dependencies){const g="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const E of g)Wc(E,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!c){let E;r.add(i);try{Gs(o.imports,D=>{Wc(D,t,n,r)&&(E||=[],E.push(D))})}finally{}void 0!==E&&mg(E,t)}if(!c){const E=ys(i)||(()=>new i);t({provide:i,useFactory:E,deps:Zt},i),t({provide:bl,useValue:i,multi:!0},i),t({provide:Ui,useValue:()=>bt(i),multi:!0},i)}const g=o.providers;if(null!=g&&!c){const E=e;Hd(g,D=>{t(D,E)})}}}return i!==e&&void 0!==e.providers}function Hd(e,t){for(let n of e)cn(n)&&(n=n.\u0275providers),Array.isArray(n)?Hd(n,t):t(n)}const TD=$t({provide:String,useValue:$t});function Gd(e){return null!==e&&"object"==typeof e&&TD in e}function Ks(e){return"function"==typeof e}const zd=new st(""),qc={},OD={};let Wd;function Kc(){return void 0===Wd&&(Wd=new Da),Wd}class Eo{}class Ta extends Eo{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,Kd(t,s=>this.processProvider(s)),this.records.set(Bc,Ia(void 0,this)),i.has("environment")&&this.records.set(Eo,Ia(void 0,this));const o=this.records.get(zd);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(bl,Zt,Rt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=X(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),X(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=He(this),r=Yr(void 0);try{return t()}finally{He(n),Yr(r)}}get(t,n=Ps,r=Rt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ko))return t[ko](this);r=fn(r);const o=He(this),s=Yr(void 0);try{if(!(r&Rt.SkipSelf)){let g=this.records.get(t);if(void 0===g){const E=function RD(e){return"function"==typeof e||"object"==typeof e&&e instanceof st}(t)&&bn(t);g=E&&this.injectableDefInScope(E)?Ia(qd(t),qc):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&Rt.Self?Kc():this.parent).get(t,n=r&Rt.Optional&&n===Ps?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[m]=c[m]||[]).unshift(Rn(t)),o)throw c;return function io(e,t,n,r){const i=e[m];throw t[L]&&i.unshift(t[L]),e.message=function Yo(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Rn(t);if(Array.isArray(t))i=t.map(Rn).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let c=t[s];o.push(s+":"+("string"==typeof c?JSON.stringify(c):Rn(c)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(C,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[m]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{Yr(s),He(o)}}resolveInjectorInitializers(){const t=X(null),n=He(this),r=Yr(void 0);try{const o=this.get(Ui,Zt,Rt.Self);for(const s of o)s()}finally{He(n),Yr(r),X(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Rn(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ke(205,!1)}processProvider(t){let n=Ks(t=et(t))?t:et(t&&t.provide);const r=function AD(e){return Gd(e)?Ia(void 0,e.useValue):Ia(_g(e),qc)}(t);if(!Ks(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Ia(void 0,qc,!0),i.factory=()=>Xt(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=X(null);try{return n.value===qc&&(n.value=OD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function xD(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{X(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=et(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 qd(e){const t=bn(e),n=null!==t?t.factory:ys(e);if(null!==n)return n;if(e instanceof st)throw new ke(204,!1);if(e instanceof Function)return function PD(e){if(e.length>0)throw new ke(204,!1);const n=function Jn(e){return e&&(e[Gr]||e[Ro])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new ke(204,!1)}function _g(e,t,n){let r;if(Ks(e)){const i=et(e);return ys(i)||qd(i)}if(Gd(e))r=()=>et(e.useValue);else if(function vg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Xt(e.deps||[]));else if(function yg(e){return!(!e||!e.useExisting)}(e))r=()=>bt(et(e.useExisting));else{const i=et(e&&(e.useClass||e.provide));if(!function ND(e){return!!e.deps}(e))return ys(i)||qd(i);r=()=>new i(...Xt(e.deps))}return r}function Ia(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Kd(e,t){for(const n of e)Array.isArray(n)?Kd(n,t):n&&cn(n)?Kd(n.\u0275providers,t):t(n)}function FD(e,t){e instanceof Ta&&e.assertNotDestroyed();const r=He(e),i=Yr(void 0);try{return t()}finally{He(r),Yr(i)}}function Cg(){return void 0!==El()||null!=function Ee(){return ae}()}const Un=0,Ne=1,ot=2,Cr=3,Uo=4,ti=5,Ei=6,Pa=7,In=8,wr=9,ns=10,vt=11,Il=12,Eg=13,Aa=14,jn=15,Qs=16,Na=17,vs=18,xa=19,Dg=20,Rs=21,Xc=22,Do=23,Ze=25,Zd=1,rs=7,Ra=9,ar=10;var Yc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Yc||{});function Pr(e){return Array.isArray(e)&&"object"==typeof e[Zd]}function hi(e){return Array.isArray(e)&&!0===e[Zd]}function Yd(e){return!!(4&e.flags)}function Xs(e){return e.componentOffset>-1}function Jc(e){return!(1&~e.flags)}function jo(e){return!!e.template}function Pl(e){return!!(512&e[ot])}class qD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ig(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function th(){return Og}function Og(e){return e.type.prototype.ngOnChanges&&(e.setInput=QD),KD}function KD(){const e=Ag(this),t=e?.current;if(t){const n=e.previous;if(n===wo)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function QD(e,t,n,r,i){const o=this.declaredInputs[r],s=Ag(e)||function XD(e,t){return e[Pg]=t}(e,{previous:wo,current:null}),c=s.current||(s.current={}),g=s.previous,E=g[o];c[o]=new qD(E&&E.currentValue,n,g===wo),Ig(e,t,i,n)}th.ngInherit=!0;const Pg="__ngSimpleChanges__";function Ag(e){return e[Pg]||null}const is=function(e,t,n){};function Yt(e){for(;Array.isArray(e);)e=e[Un];return e}function Al(e,t){return Yt(t[e])}function Di(e,t){return Yt(t[e.index])}function Nl(e,t){return e.data[t]}function so(e,t){const n=t[e];return Pr(n)?n:n[Un]}function ih(e){return!(128&~e[ot])}function Mo(e,t){return null==t?null:e[t]}function Rg(e){e[Na]=0}function Fg(e){1024&e[ot]||(e[ot]|=1024,ih(e)&&tu(e))}function eu(e){return!!(9216&e[ot]||e[Do]?.dirty)}function oh(e){e[ns].changeDetectionScheduler?.notify(8),64&e[ot]&&(e[ot]|=1024),eu(e)&&tu(e)}function tu(e){e[ns].changeDetectionScheduler?.notify(0);let t=_s(e);for(;null!==t&&!(8192&t[ot])&&(t[ot]|=8192,ih(t));)t=_s(t)}function nu(e,t){if(!(256&~e[ot]))throw new ke(911,!1);null===e[Rs]&&(e[Rs]=[]),e[Rs].push(t)}function _s(e){const t=e[Cr];return hi(t)?t[Cr]:t}const _t={lFrame:Xg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Lg=!1;function Vg(){return _t.bindingsEnabled}function Ys(){return null!==_t.skipHydrationRootTNode}function ge(){return _t.lFrame.lView}function kt(){return _t.lFrame.tView}function Ug(e){return _t.lFrame.contextLView=e,e[In]}function jg(e){return _t.lFrame.contextLView=null,e}function pn(){let e=Bg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Bg(){return _t.lFrame.currentTNode}function Bo(e,t){const n=_t.lFrame;n.currentTNode=e,n.isParent=t}function lh(){return _t.lFrame.isParent}function ch(){_t.lFrame.isParent=!1}function Gg(){return Lg}function zg(e){Lg=e}function Mi(){const e=_t.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function $o(){return _t.lFrame.bindingIndex++}function ws(e){const t=_t.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function uM(e,t){const n=_t.lFrame;n.bindingIndex=n.bindingRootIndex=e,uh(t)}function uh(e){_t.lFrame.currentDirectiveIndex=e}function hh(){return _t.lFrame.currentQueryIndex}function iu(e){_t.lFrame.currentQueryIndex=e}function hM(e){const t=e[Ne];return 2===t.type?t.declTNode:1===t.type?e[ti]:null}function Kg(e,t,n){if(n&Rt.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&Rt.Host||(i=hM(o),null===i||(o=o[Aa],10&i.type))););if(null===i)return!1;t=i,e=o}const r=_t.lFrame=Qg();return r.currentTNode=t,r.lView=e,!0}function fh(e){const t=Qg(),n=e[Ne];_t.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Qg(){const e=_t.lFrame,t=null===e?null:e.child;return null===t?Xg(e):t}function Xg(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 Zg(){const e=_t.lFrame;return _t.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Yg=Zg;function ph(){const e=Zg();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 ni(){return _t.lFrame.selectedIndex}function Js(e){_t.lFrame.selectedIndex=e}function On(){const e=_t.lFrame;return Nl(e.tView,e.selectedIndex)}let em=!0;function Rl(){return em}function os(e){em=e}function ou(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:c,ngAfterViewInit:g,ngAfterViewChecked:E,ngOnDestroy:D}=o;s&&(e.contentHooks??=[]).push(-n,s),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!=D&&(e.destroyHooks??=[]).push(n,D)}}function su(e,t,n){tm(e,t,3,n)}function au(e,t,n,r){(3&e[ot])===n&&tm(e,t,n,r)}function gh(e,t){let n=e[ot];(3&n)===t&&(n&=16383,n+=1,e[ot]=n)}function tm(e,t,n,r){const o=r??-1,s=t.length-1;let c=0;for(let g=void 0!==r?65535&e[Na]:0;g<s;g++)if("number"==typeof t[g+1]){if(c=t[g],null!=r&&c>=r)break}else t[g]<0&&(e[Na]+=65536),(c<o||-1==o)&&(_M(e,n,t,g),e[Na]=(4294901760&e[Na])+g+2),g++}function nm(e,t){is(4,e,t);const n=X(null);try{t.call(e)}finally{X(n),is(5,e,t)}}function _M(e,t,n,r){const i=n[r]<0,o=n[r+1],c=e[i?-n[r]:n[r]];i?e[ot]>>14<e[Na]>>16&&(3&e[ot])===t&&(e[ot]+=16384,nm(c,o)):nm(c,o)}const Fa=-1;class Fl{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const yh={};class ea{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=fn(r);const i=this.injector.get(t,yh,r);return i!==yh||n===yh?i:this.parentInjector.get(t,n,r)}}function vh(e){return e!==Fa}function kl(e){return 32767&e}function Ll(e,t){let n=function MM(e){return e>>16}(e),r=t;for(;n>0;)r=r[Aa],n--;return r}let _h=!0;function lu(e){const t=_h;return _h=e,t}const im=255,om=5;let SM=0;const ss={};function cu(e,t){const n=sm(e,t);if(-1!==n)return n;const r=t[Ne];r.firstCreatePass&&(e.injectorIndex=t.length,Ch(r.data,e),Ch(t,null),Ch(r.blueprint,null));const i=uu(e,t),o=e.injectorIndex;if(vh(i)){const s=kl(i),c=Ll(i,t),g=c[Ne].data;for(let E=0;E<8;E++)t[o+E]=c[s+E]|g[s+E]}return t[o+8]=i,o}function Ch(e,t){e.push(0,0,0,0,0,0,0,0,t)}function sm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function uu(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=pm(i),null===r)return Fa;if(n++,i=i[Aa],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Fa}function wh(e,t,n){!function TM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(zr)&&(r=n[zr]),null==r&&(r=n[zr]=SM++);const i=r&im;t.data[e+(i>>om)]|=1<<i}(e,t,n)}function am(e,t,n){if(n&Rt.Optional||void 0!==e)return e;Ca()}function lm(e,t,n,r){if(n&Rt.Optional&&void 0===r&&(r=null),!(n&(Rt.Self|Rt.Host))){const i=e[wr],o=Yr(void 0);try{return i?i.get(t,r,n&Rt.Optional):ms(t,r,n&Rt.Optional)}finally{Yr(o)}}return am(r,0,n)}function cm(e,t,n,r=Rt.Default,i){if(null!==e){if(2048&t[ot]&&!(r&Rt.Self)){const s=function NM(e,t,n,r,i){let o=e,s=t;for(;null!==o&&null!==s&&2048&s[ot]&&!(512&s[ot]);){const c=um(o,s,n,r|Rt.Self,ss);if(c!==ss)return c;let g=o.parent;if(!g){const E=s[Dg];if(E){const D=E.get(n,ss,r);if(D!==ss)return D}g=pm(s),s=s[Aa]}o=g}return i}(e,t,n,r,ss);if(s!==ss)return s}const o=um(e,t,n,r,ss);if(o!==ss)return o}return lm(t,n,r,i)}function um(e,t,n,r,i){const o=function PM(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(zr)?e[zr]:void 0;return"number"==typeof t?t>=0?t&im:AM:t}(n);if("function"==typeof o){if(!Kg(t,e,r))return r&Rt.Host?am(i,0,r):lm(t,n,r,i);try{let s;if(s=o(r),null!=s||r&Rt.Optional)return s;Ca()}finally{Yg()}}else if("number"==typeof o){let s=null,c=sm(e,t),g=Fa,E=r&Rt.Host?t[jn][ti]:null;for((-1===c||r&Rt.SkipSelf)&&(g=-1===c?uu(e,t):t[c+8],g!==Fa&&hm(r,!1)?(s=t[Ne],c=kl(g),t=Ll(g,t)):c=-1);-1!==c;){const D=t[Ne];if(dm(o,c,D.data)){const R=OM(c,t,n,s,r,E);if(R!==ss)return R}g=t[c+8],g!==Fa&&hm(r,t[Ne].data[c+8]===E)&&dm(o,c,t)?(s=D,c=kl(g),t=Ll(g,t)):c=-1}}return i}function OM(e,t,n,r,i,o){const s=t[Ne],c=s.data[e+8],D=du(c,s,n,null==r?Xs(c)&&_h:r!=s&&!!(3&c.type),i&Rt.Host&&o===c);return null!==D?ta(t,s,D,c):ss}function du(e,t,n,r,i){const o=e.providerIndexes,s=t.data,c=1048575&o,g=e.directiveStart,D=o>>20,B=i?c+D:e.directiveEnd;for(let G=r?c:c+D;G<B;G++){const Y=s[G];if(G<g&&n===Y||G>=g&&Y.type===n)return G}if(i){const G=s[g];if(G&&jo(G)&&G.type===n)return g}return null}function ta(e,t,n,r){let i=e[n];const o=t.data;if(function CM(e){return e instanceof Fl}(i)){const s=i;s.resolving&&function Lc(e,t){throw t&&t.join(" > "),new ke(-200,e)}(function Lt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ht(e)}(o[n]));const c=lu(s.canSeeViewProviders);s.resolving=!0;const E=s.injectImpl?Yr(s.injectImpl):null;Kg(e,r,Rt.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function vM(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=Og(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==E&&Yr(E),lu(c),s.resolving=!1,Yg()}}return i}function dm(e,t,n){return!!(n[t+(e>>om)]&1<<e)}function hm(e,t){return!(e&Rt.Self||e&Rt.Host&&t)}class Ar{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return cm(this._tNode,this._lView,t,fn(r),n)}}function AM(){return new Ar(pn(),ge())}function fm(e){return li(()=>{const t=e.prototype.constructor,n=t[Tn]||Eh(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Tn]||Eh(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Eh(e){return yi(e)?()=>{const t=Eh(et(e));return t&&t()}:ys(e)}function pm(e){const t=e[Ne],n=t.type;return 2===n?t.declTNode:1===n?e[ti]:null}function hu(e){return function IM(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 o=n[i];if($c(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(pn(),e)}function _m(e,t=null,n=null,r){const i=Cm(e,t,n,r);return i.resolveInjectorInitializers(),i}function Cm(e,t=null,n=null,r,i=new Set){const o=[n||Zt,SD(e)];return r=r||("object"==typeof e?void 0:Rn(e)),new Ta(o,t||Kc(),r||null,i)}class ri{static{this.THROW_IF_NOT_FOUND=Ps}static{this.NULL=new Da}static create(t,n){if(Array.isArray(t))return _m({name:""},n,t,"");{const r=t.name??"";return _m({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=ut({token:ri,providedIn:"any",factory:()=>bt(Bc)})}static{this.__NG_ELEMENT_ID__=-1}}new st("").__NG_ELEMENT_ID__=e=>{const t=pn();if(null===t)throw new ke(204,!1);if(2&t.type)return t.value;if(e&Rt.Optional)return null;throw new ke(204,!1)};function Mh(e){return e.ngOriginalError}const Em=!0;let Vl=(()=>{class e{static{this.__NG_ELEMENT_ID__=$M}static{this.__NG_ENV_ID__=n=>n}}return e})();class BM extends Vl{constructor(t){super(),this._lView=t}onDestroy(t){return nu(this._lView,t),()=>function sh(e,t){if(null===e[Rs])return;const n=e[Rs].indexOf(t);-1!==n&&e[Rs].splice(n,1)}(this._lView,t)}}function $M(){return new BM(ge())}let na=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new tn.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||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&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=ut({token:e,providedIn:"root",factory:()=>new e})}}return e})();const as=class HM extends _n.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Cg()&&(this.destroyRef=Ie(Vl,{optional:!0})??void 0,this.pendingTasks=Ie(na,{optional:!0})??void 0)}emit(t){const n=X(null);try{super.next(t)}finally{X(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),o=g.error?.bind(g),s=g.complete?.bind(g)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const c=super.subscribe({next:i,error:o,complete:s});return t instanceof oi.yU&&t.add(c),c}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function pu(...e){}function Dm(e){let t,n;function r(){e=pu;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Mm(e){return queueMicrotask(()=>e()),()=>{e=pu}}const bh="isAngularZone",gu=bh+"_ID";let GM=0;class Bn{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new as(!1),this.onMicrotaskEmpty=new as(!1),this.onStable=new as(!1),this.onError=new as(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Em}=t;if(typeof Zone>"u")throw new ke(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,function qM(e){const t=()=>{!function WM(e){function t(){Dm(()=>{e.callbackScheduled=!1,Th(e),e.isCheckStableRunning=!0,Sh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Th(e))}(e)},n=GM++;e._inner=e._inner.fork({name:"angular",properties:{[bh]:!0,[gu]:n,[gu+n]:!0},onInvokeTask:(r,i,o,s,c,g)=>{if(function KM(e){return Tm(e,"__ignore_ng_zone__")}(g))return r.invokeTask(o,s,c,g);try{return bm(e),r.invokeTask(o,s,c,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Sm(e)}},onInvoke:(r,i,o,s,c,g,E)=>{try{return bm(e),r.invoke(o,s,c,g,E)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function QM(e){return Tm(e,"__scheduler_tick__")}(g)&&t(),Sm(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Th(e),Sh(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(bh)}static assertInAngularZone(){if(!Bn.isInAngularZone())throw new ke(909,!1)}static assertNotInAngularZone(){if(Bn.isInAngularZone())throw new ke(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,zM,pu,pu);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const zM={};function Sh(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 Th(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function bm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Sm(e){e._nesting--,Sh(e)}class Ih{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new as,this.onMicrotaskEmpty=new as,this.onStable=new as,this.onError=new as}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)}}function Tm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Es{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&&Mh(t);for(;n&&Mh(n);)n=Mh(n);return n||null}}const ZM=new st("",{providedIn:"root",factory:()=>{const e=Ie(Bn),t=Ie(Es);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function YM(){return Va(pn(),ge())}function Va(e,t){return new Ul(Di(e,t))}let Ul=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=YM}}return e})();function Om(e){return e instanceof Ul?e.nativeElement:e}function JM(){return this._results[Symbol.iterator]()}class Oh{get changes(){return this._changes??=new as}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Oh.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=JM)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function _i(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function dg(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function Bl(e){return!(128&~e.flags)}const Ah=new Map;let t0=0;function Nh(e){Ah.delete(e[xa])}const mu="__ngContext__";function fi(e,t){Pr(t)?(e[mu]=t[xa],function r0(e){Ah.set(e[xa],e)}(t)):e[mu]=t}function Um(e){return Bm(e[Il])}function jm(e){return Bm(e[Uo])}function Bm(e){for(;null!==e&&!hi(e);)e=e[Uo];return e}let Rh;function C0(e){Rh=e}function Fs(){if(void 0!==Rh)return Rh;if(typeof document<"u")return document;throw new ke(210,!1)}const vu=new st("",{providedIn:"root",factory:()=>w0}),w0="ng",Qm=new st(""),_u=new st("",{providedIn:"platform",factory:()=>"unknown"}),E0=new st(""),D0=new st("",{providedIn:"root",factory:()=>Fs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Xm=()=>null;function Bh(e,t,n=!1){return Xm(e,t,n)}const iy=new st("",{providedIn:"root",factory:()=>!1});let Tu,Iu;function $a(e){return function Wh(){if(void 0===Tu&&(Tu=null,Dn.trustedTypes))try{Tu=Dn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Tu}()?.createHTML(e)||e}function qh(){if(void 0===Iu&&(Iu=null,Dn.trustedTypes))try{Iu=Dn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Iu}function ay(e){return qh()?.createHTML(e)||e}function cy(e){return qh()?.createScriptURL(e)||e}class ia{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${eo})`}}class L0 extends ia{getTypeName(){return"HTML"}}class V0 extends ia{getTypeName(){return"Style"}}class U0 extends ia{getTypeName(){return"Script"}}class j0 extends ia{getTypeName(){return"URL"}}class B0 extends ia{getTypeName(){return"ResourceURL"}}function Ds(e){return e instanceof ia?e.changingThisBreaksApplicationSecurity:e}function Ha(e,t){const n=function $0(e){return e instanceof ia&&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 ${eo})`)}return n===t}function H0(e){return new L0(e)}function G0(e){return new V0(e)}function z0(e){return new U0(e)}function W0(e){return new j0(e)}function q0(e){return new B0(e)}class K0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString($a(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class Q0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=$a(t),n}}const Z0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ou(e){return(e=String(e)).match(Z0)?e:"unsafe:"+e}function Ms(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Kl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const dy=Ms("area,br,col,hr,img,wbr"),hy=Ms("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),fy=Ms("rp,rt"),Kh=Kl(dy,Kl(hy,Ms("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")),Kl(fy,Ms("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")),Kl(fy,hy)),Qh=Ms("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),py=Kl(Qh,Ms("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"),Ms("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")),Y0=Ms("script,style,template");class J0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];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)i.push(n),n=nb(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=tb(n);if(o){n=o;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=gy(t).toLowerCase();if(!Kh.hasOwnProperty(n))return this.sanitizedSomething=!0,!Y0.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,c=s.toLowerCase();if(!py.hasOwnProperty(c)){this.sanitizedSomething=!0;continue}let g=o.value;Qh[c]&&(g=Ou(g)),this.buf.push(" ",s,'="',yy(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=gy(t).toLowerCase();Kh.hasOwnProperty(n)&&!dy.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(yy(t))}}function tb(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw my(t);return t}function nb(e){const t=e.firstChild;if(t&&function eb(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw my(t);return t}function gy(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function my(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const rb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ib=/([^\#-~ |!])/g;function yy(e){return e.replace(/&/g,"&amp;").replace(rb,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ib,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Pu;function vy(e,t){let n=null;try{Pu=Pu||function uy(e){const t=new Q0(e);return function X0(){try{return!!(new window.DOMParser).parseFromString($a(""),"text/html")}catch{return!1}}()?new K0(t):t}(e);let r=t?String(t):"";n=Pu.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Pu.getInertBodyElement(r)}while(r!==o);return $a((new J0).sanitizeChildren(Xh(n)||n))}finally{if(n){const r=Xh(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Xh(e){return"content"in e&&function ob(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var oa=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}(oa||{});function _y(e){const t=Ql();return t?ay(t.sanitize(oa.HTML,e)||""):Ha(e,"HTML")?ay(Ds(e)):vy(Fs(),ht(e))}function Zh(e){const t=Ql();return t?t.sanitize(oa.URL,e)||"":Ha(e,"URL")?Ds(e):Ou(ht(e))}function Yh(e){const t=Ql();if(t)return cy(t.sanitize(oa.RESOURCE_URL,e)||"");if(Ha(e,"ResourceURL"))return cy(Ds(e));throw new ke(904,!1)}function Cy(e,t,n){return function ub(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Yh:Zh}(t,n)(e)}function Ql(){const e=ge();return e&&e[ns].sanitizer}const db=/^>|^->|<!--|-->|--!>|<!-$/g,hb=/(<|>)/g,fb="\u200b$1\u200b";function ao(e){return e instanceof Function?e():e}var xu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(xu||{});let tf;function nf(e,t){return tf(e,t)}function za(e,t,n,r,i){if(null!=r){let o,s=!1;hi(r)?o=r:Pr(r)&&(s=!0,r=r[Un]);const c=Yt(r);0===e&&null!==n?null==i?xy(t,n,c):sa(t,n,c,i||null,!0):1===e&&null!==n?sa(t,n,c,i||null,!0):2===e?function Zl(e,t,n){e.removeChild(null,t,n)}(t,c,s):3===e&&t.destroyNode(c),null!=o&&function xb(e,t,n,r,i){const o=n[rs];o!==Yt(n)&&za(t,e,r,o,i);for(let c=ar;c<n.length;c++){const g=n[c];Lu(g[Ne],g,e,t,r,o)}}(t,e,o,n,i)}}function sf(e,t){return e.createComment(function wy(e){return e.replace(db,t=>t.replace(hb,fb))}(t))}function Ru(e,t,n){return e.createElement(t,n)}function Py(e,t){t[ns].changeDetectionScheduler?.notify(9),Lu(e,t,t[vt],2,null,null)}function Ay(e,t){const n=e[Ra],r=t[Cr];(Pr(r)||t[jn]!==r[Cr][jn])&&(e[ot]|=Yc.HasTransplantedViews),null===n?e[Ra]=[t]:n.push(t)}function af(e,t){const n=e[Ra],r=n.indexOf(t);n.splice(r,1)}function Xl(e,t){if(e.length<=ar)return;const n=ar+t,r=e[n];if(r){const i=r[Qs];null!==i&&i!==e&&af(i,r),t>0&&(e[n-1][Uo]=r[Uo]);const o=zs(e,ar+t);!function bb(e,t){Py(e,t),t[Un]=null,t[ti]=null}(r[Ne],r);const s=o[vs];null!==s&&s.detachView(o[Ne]),r[Cr]=null,r[Uo]=null,r[ot]&=-129}return r}function Fu(e,t){if(!(256&t[ot])){const n=t[vt];n.destroyNode&&Lu(e,t,n,3,null,null),function Tb(e){let t=e[Il];if(!t)return lf(e[Ne],e);for(;t;){let n=null;if(Pr(t))n=t[Il];else{const r=t[ar];r&&(n=r)}if(!n){for(;t&&!t[Uo]&&t!==e;)Pr(t)&&lf(t[Ne],t),t=t[Cr];null===t&&(t=e),Pr(t)&&lf(t[Ne],t),n=t&&t[Uo]}t=n}}(t)}}function lf(e,t){if(256&t[ot])return;const n=X(null);try{t[ot]&=-129,t[ot]|=256,t[Do]&&Ct(t[Do]),function Pb(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 Fl)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const c=i[o[s]],g=o[s+1];is(4,c,g);try{g.call(c)}finally{is(5,c,g)}}else{is(4,i,o);try{o.call(i)}finally{is(5,i,o)}}}}}(e,t),function Ob(e,t){const n=e.cleanup,r=t[Pa];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+3];s>=0?r[s]():r[-s].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[Pa]=null);const i=t[Rs];if(null!==i){t[Rs]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,t),1===t[Ne].type&&t[vt].destroy();const r=t[Qs];if(null!==r&&hi(t[Cr])){r!==t[Cr]&&af(r,t);const i=t[vs];null!==i&&i.detachView(e)}Nh(t)}finally{X(n)}}function cf(e,t,n){return function Ny(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[Un];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Jo.None||o===Jo.Emulated)return null}return Di(r,n)}}(e,t.parent,n)}function sa(e,t,n,r,i){e.insertBefore(t,n,r,i)}function xy(e,t,n){e.appendChild(t,n)}function Ry(e,t,n,r,i){null!==r?sa(e,t,n,r,i):xy(e,t,n)}function uf(e,t){return e.parentNode(t)}function Fy(e,t,n){return Ly(e,t,n)}let df,Ly=function ky(e,t,n){return 40&e.type?Di(e,n):null};function ku(e,t,n,r){const i=cf(e,r,t),o=t[vt],c=Fy(r.parent||t[ti],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)Ry(o,i,n[g],c,!1);else Ry(o,i,n,c,!1);void 0!==df&&df(o,r,t,n,i)}function aa(e,t){if(null!==t){const n=t.type;if(3&n)return Di(t,e);if(4&n)return hf(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return aa(e,r);{const i=e[t.index];return hi(i)?hf(-1,i):Yt(i)}}if(128&n)return aa(e,t.next);if(32&n)return nf(t,e)()||Yt(e[t.index]);{const r=Uy(e,t);return null!==r?Array.isArray(r)?r[0]:aa(_s(e[jn]),r):aa(e,t.next)}}return null}function Uy(e,t){return null!==t?e[jn][ti].projection[t.projection]:null}function hf(e,t){const n=ar+e+1;if(n<t.length){const r=t[n],i=r[Ne].firstChild;if(null!==i)return aa(r,i)}return t[rs]}function ff(e,t,n,r,i,o,s){for(;null!=n;){if(128===n.type){n=n.next;continue}const c=r[n.index],g=n.type;if(s&&0===t&&(c&&fi(Yt(c),r),n.flags|=2),32&~n.flags)if(8&g)ff(e,t,n.child,r,i,o,!1),za(t,e,i,c,o);else if(32&g){const E=nf(n,r);let D;for(;D=E();)za(t,e,i,D,o);za(t,e,i,c,o)}else 16&g?By(e,t,r,n,i,o):za(t,e,i,c,o);n=s?n.projectionNext:n.next}}function Lu(e,t,n,r,i,o){ff(n,r,e.firstChild,t,i,o,!1)}function By(e,t,n,r,i,o){const s=n[jn],g=s[ti].projection[r.projection];if(Array.isArray(g))for(let E=0;E<g.length;E++)za(t,e,i,g[E],o);else{let E=g;const D=s[Cr];Bl(r)&&(E.flags|=128),ff(e,t,E,D,i,o,!0)}}function $y(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Hy(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&ba(e,t,r),null!==i&&$y(e,t,i),null!==o&&function Fb(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}const Ot={};function Gy(e=1){zy(kt(),ge(),ni()+e,!1)}function zy(e,t,n,r){if(!r)if(3&~t[ot]){const o=e.preOrderHooks;null!==o&&au(t,o,0,n)}else{const o=e.preOrderCheckHooks;null!==o&&su(t,o,n)}Js(n)}function Wa(e,t=Rt.Default){const n=ge();return null===n?bt(e,t):cm(pn(),n,et(e),t)}function Wy(){throw new Error("invalid")}function qy(e,t,n,r,i,o){const s=X(null);try{let c=null;i&es.SignalBased&&(c=t[r][W]),null!==c&&void 0!==c.transformFn&&(o=c.transformFn(o)),i&es.HasDecoratorInputTransform&&(o=e.inputTransforms[r].call(t,o)),null!==e.setInput?e.setInput(t,c,o,n,r):Ig(t,c,r,o)}finally{X(s)}}function Vu(e,t,n,r,i,o,s,c,g,E,D){const R=t.blueprint.slice();return R[Un]=i,R[ot]=204|r,(null!==E||e&&2048&e[ot])&&(R[ot]|=2048),Rg(R),R[Cr]=R[Aa]=e,R[In]=n,R[ns]=s||e&&e[ns],R[vt]=c||e&&e[vt],R[wr]=g||e&&e[wr]||null,R[ti]=o,R[xa]=function n0(){return t0++}(),R[Ei]=D,R[Dg]=E,R[jn]=2==t.type?e[jn]:R,R}function la(e,t,n,r,i){let o=e.data[t];if(null===o)o=function pf(e,t,n,r,i){const o=Bg(),s=lh(),g=e.data[t]=function Hb(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,c=0;return Ys()&&(c|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:i,attrs:o,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,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==o&&(s?null==o.child&&null!==g.parent&&(o.child=g):null===o.next&&(o.next=g,g.prev=o)),g}(e,t,n,r,i),function cM(){return _t.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function xl(){const e=_t.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Bo(o,!0),o}function Yl(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Ky(e,t,n,r,i){const o=ni(),s=2&r;try{Js(-1),s&&t.length>Ze&&zy(e,t,Ze,!1),is(s?2:0,i),n(r,i)}finally{Js(o),is(s?3:1,i)}}function gf(e,t,n){if(Yd(t)){const r=X(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const c=e.data[s];c.contentQueries&&c.contentQueries(1,n[s],s)}}finally{X(r)}}}function mf(e,t,n){Vg()&&(function Xb(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;Xs(n)&&function rS(e,t,n){const r=Di(t,e),i=Qy(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const c=Uu(e,Vu(e,i,null,s,r,t,null,e[ns].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=c}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||cu(n,t),fi(r,t);const s=n.initialInputs;for(let c=i;c<o;c++){const g=e.data[c],E=ta(t,e,c,n);fi(E,t),null!==s&&iS(0,c-i,E,g,0,s),jo(g)&&(so(n.index,t)[In]=ta(t,e,c,n))}}(e,t,n,Di(n,t)),!(64&~n.flags)&&ev(e,t,n))}function yf(e,t,n=Di){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],c=-1===s?n(t,e):e[s];e[i++]=c}}}function Qy(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=vf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function vf(e,t,n,r,i,o,s,c,g,E,D){const R=Ze+r,B=R+i,G=function Lb(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ot);return n}(R,B),Y="function"==typeof E?E():E;return G[Ne]={type:e,blueprint:G,template:n,queries:null,viewQuery:c,declTNode:t,data:G.slice().fill(null,R),bindingStartIndex:R,expandoStartIndex:B,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 o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:g,consts:Y,incompleteFirstPass:!1,ssrId:D}}let Xy=()=>null;function Zy(e,t,n,r,i){for(let o in t){if(!t.hasOwnProperty(o))continue;const s=t[o];if(void 0===s)continue;r??={};let c,g=es.None;Array.isArray(s)?(c=s[0],g=s[1]):c=s;let E=o;if(null!==i){if(!i.hasOwnProperty(o))continue;E=i[o]}0===e?Yy(r,n,E,c,g):Yy(r,n,E,c)}return r}function Yy(e,t,n,r,i){let o;e.hasOwnProperty(n)?(o=e[n]).push(t,r):o=e[n]=[t,r],void 0!==i&&o.push(i)}function Bi(e,t,n,r,i,o,s,c){const g=Di(t,n);let D,E=t.inputs;!c&&null!=E&&(D=E[r])?(Df(e,n,D,r,i),Xs(t)&&function Wb(e,t){const n=so(t,e);16&n[ot]||(n[ot]|=64)}(n,t.index)):3&t.type&&(r=function zb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,t.value||"",r):i,o.setProperty(g,r,i))}function _f(e,t,n,r){if(Vg()){const i=null===r?null:{"":-1},o=function Yb(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const s=n[o];if(M(t,s.selectors,!1))if(r||(r=[]),jo(s))if(null!==s.findHostDirectiveDefs){const c=[];i=i||new Map,s.findHostDirectiveDefs(s,c,i),r.unshift(...c,s),Cf(e,t,c.length)}else r.unshift(s),Cf(e,t,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,r,i),r.push(s)}return null===r?null:[r,i]}(e,n);let s,c;null===o?s=c=null:[s,c]=o,null!==s&&Jy(e,t,n,s,i,c),i&&function Jb(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new ke(-301,!1);r.push(t[i],o)}}}(n,r,i)}n.mergedAttrs=Sa(n.mergedAttrs,n.attrs)}function Jy(e,t,n,r,i,o){for(let E=0;E<r.length;E++)wh(cu(n,t),e,r[E].type);!function tS(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let E=0;E<r.length;E++){const D=r[E];D.providersResolver&&D.providersResolver(D)}let s=!1,c=!1,g=Yl(e,t,r.length,null);for(let E=0;E<r.length;E++){const D=r[E];n.mergedAttrs=Sa(n.mergedAttrs,D.hostAttrs),nS(e,n,t,g,D),eS(g,D,i),null!==D.contentQueries&&(n.flags|=4),(null!==D.hostBindings||null!==D.hostAttrs||0!==D.hostVars)&&(n.flags|=64);const R=D.type.prototype;!s&&(R.ngOnChanges||R.ngOnInit||R.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!c&&(R.ngOnChanges||R.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),c=!0),g++}!function Gb(e,t,n){const i=t.directiveEnd,o=e.data,s=t.attrs,c=[];let g=null,E=null;for(let D=t.directiveStart;D<i;D++){const R=o[D],B=n?n.get(R):null,Y=B?B.outputs:null;g=Zy(0,R.inputs,D,g,B?B.inputs:null),E=Zy(1,R.outputs,D,E,Y);const _e=null===g||null===s||Hc(t)?null:oS(g,D,s);c.push(_e)}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,o)}function ev(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,s=function dM(){return _t.lFrame.currentDirectiveIndex}();try{Js(o);for(let c=r;c<i;c++){const g=e.data[c],E=t[c];uh(c),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&Zb(g,E)}}finally{Js(-1),uh(s)}}function Zb(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Cf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function eS(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;jo(t)&&(n[""]=e)}}function nS(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=ys(i.type)),s=new Fl(o,jo(i),Wa);e.blueprint[r]=s,n[r]=s,function Kb(e,t,n,r,i){const o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const c=~t.index;(function Qb(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=c&&s.push(c),s.push(n,r,o)}}(e,t,r,Yl(e,n,i.hostVars,Ot),i)}function ls(e,t,n,r,i,o){const s=Di(e,t);!function wf(e,t,n,r,i,o,s){if(null==o)e.removeAttribute(t,i,n);else{const c=null==s?ht(o):s(o,r||"",i);e.setAttribute(t,i,c,n)}}(t[vt],s,o,e.value,n,r,i)}function iS(e,t,n,r,i,o){const s=o[t];if(null!==s)for(let c=0;c<s.length;)qy(r,n,s[c++],s[c++],s[c++],s[c++])}function oS(e,t,n){let r=null,i=0;for(;i<n.length;){const o=n[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const s=e[o];for(let c=0;c<s.length;c+=3)if(s[c]===t){r.push(o,s[c+1],s[c+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function tv(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function nv(e,t){const n=e.contentQueries;if(null!==n){const r=X(null);try{for(let i=0;i<n.length;i+=2){const s=n[i+1];if(-1!==s){const c=e.data[s];iu(n[i]),c.contentQueries(2,t[s],s)}}}finally{X(r)}}}function Uu(e,t){return e[Il]?e[Eg][Uo]=t:e[Il]=t,e[Eg]=t,t}function Ef(e,t,n){iu(0);const r=X(null);try{t(e,n)}finally{X(r)}}function rv(e){return e[Pa]??=[]}function iv(e){return e.cleanup??=[]}function ju(e,t){const n=e[wr],r=n?n.get(Es,null):null;r&&r.handleError(t)}function Df(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],c=n[o++],g=n[o++];qy(e.data[s],t[s],r,c,g,i)}}function sS(e,t){const n=so(t,e),r=n[Ne];!function aS(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[Un];null!==i&&null===n[Ei]&&(n[Ei]=Bh(i,n[wr])),Mf(r,n,n[In])}function Mf(e,t,n){fh(t);try{const r=e.viewQuery;null!==r&&Ef(1,r,n);const i=e.template;null!==i&&Ky(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[vs]?.finishViewCreation(e),e.staticContentQueries&&nv(e,t),e.staticViewQueries&&Ef(2,e.viewQuery,n);const o=e.components;null!==o&&function lS(e,t){for(let n=0;n<t.length;n++)sS(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[ot]&=-5,ph()}}function qa(e,t,n,r){const i=X(null);try{const o=t.tView,g=Vu(e,o,n,4096&e[ot]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);g[Qs]=e[t.index];const D=e[vs];return null!==D&&(g[vs]=D.createEmbeddedView(o)),Mf(o,g,n),g}finally{X(i)}}function sv(e,t){const n=ar+t;if(n<e.length)return e[n]}function ca(e,t){return!t||null===t.firstChild||Bl(e)}function Ka(e,t,n,r=!0){const i=t[Ne];if(function Ib(e,t,n,r){const i=ar+r,o=n.length;r>0&&(n[i-1][Uo]=t),r<o-ar?(t[Uo]=n[i],Dl(n,ar+r,t)):(n.push(t),t[Uo]=null),t[Cr]=n;const s=t[Qs];null!==s&&n!==s&&Ay(s,t);const c=t[vs];null!==c&&c.insertView(e),oh(t),t[ot]|=128}(i,t,e,n),r){const s=hf(n,e),c=t[vt],g=uf(c,e[rs]);null!==g&&function Sb(e,t,n,r,i,o){r[Un]=i,r[ti]=t,Lu(e,r,n,1,i,o)}(i,e[ti],c,t,g,s)}const o=t[Ei];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function bf(e,t){const n=Xl(e,t);return void 0!==n&&Fu(n[Ne],n),n}function Jl(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const o=t[n.index];null!==o&&r.push(Yt(o)),hi(o)&&av(o,r);const s=n.type;if(8&s)Jl(e,t,n.child,r);else if(32&s){const c=nf(n,t);let g;for(;g=c();)r.push(g)}else if(16&s){const c=Uy(t,n);if(Array.isArray(c))r.push(...c);else{const g=_s(t[jn]);Jl(g[Ne],g,c,r,!0)}}n=i?n.projectionNext:n.next}return r}function av(e,t){for(let n=ar;n<e.length;n++){const r=e[n],i=r[Ne].firstChild;null!==i&&Jl(r[Ne],r,i,t)}e[rs]!==e[Un]&&t.push(e[rs])}let lv=[];const hS={...Z,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{tu(e.lView)},consumerOnSignalRead(){this.lView[Do]=this}},pS={...Z,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=_s(e.lView);for(;t&&!cv(t[Ne]);)t=_s(t);t&&Fg(t)},consumerOnSignalRead(){this.lView[Do]=this}};function cv(e){return 2!==e.type}const gS=100;function Bu(e,t=!0,n=0){const r=e[ns],i=r.rendererFactory;i.begin?.();try{!function mS(e,t){const n=Gg();try{zg(!0),Sf(e,t);let r=0;for(;eu(e);){if(r===gS)throw new ke(103,!1);r++,Sf(e,1)}}finally{zg(n)}}(e,n)}catch(s){throw t&&ju(e,s),s}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function yS(e,t,n,r){const i=t[ot];if(!(256&~i))return;t[ns].inlineEffectRunner?.flush(),fh(t);let c=!0,g=null,E=null;cv(e)?(E=function cS(e){return e[Do]??function uS(e){const t=lv.pop()??Object.create(hS);return t.lView=e,t}(e)}(t),g=Be(E)):null===function de(){return O}()?(c=!1,E=function fS(e){const t=e[Do]??Object.create(pS);return t.lView=e,t}(t),g=Be(E)):t[Do]&&(Ct(t[Do]),t[Do]=null);try{Rg(t),function Wg(e){return _t.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Ky(e,t,n,2,r);const D=!(3&~i);if(D){const G=e.preOrderCheckHooks;null!==G&&su(t,G,null)}else{const G=e.preOrderHooks;null!==G&&au(t,G,0,null),gh(t,0)}if(function vS(e){for(let t=Um(e);null!==t;t=jm(t)){if(!(t[ot]&Yc.HasTransplantedViews))continue;const n=t[Ra];for(let r=0;r<n.length;r++)Fg(n[r])}}(t),dv(t,0),null!==e.contentQueries&&nv(e,t),D){const G=e.contentCheckHooks;null!==G&&su(t,G)}else{const G=e.contentHooks;null!==G&&au(t,G,1),gh(t,1)}!function kb(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Js(~i);else{const o=i,s=n[++r],c=n[++r];uM(s,o),c(2,t[o])}}}finally{Js(-1)}}(e,t);const R=e.components;null!==R&&fv(t,R,0);const B=e.viewQuery;if(null!==B&&Ef(2,B,r),D){const G=e.viewCheckHooks;null!==G&&su(t,G)}else{const G=e.viewHooks;null!==G&&au(t,G,2),gh(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Xc]){for(const G of t[Xc])G();t[Xc]=null}t[ot]&=-73}catch(D){throw tu(t),D}finally{null!==E&&(qe(E,g),c&&function dS(e){e.lView[Do]!==e&&(e.lView=null,lv.push(e))}(E)),ph()}}function dv(e,t){for(let n=Um(e);null!==n;n=jm(n))for(let r=ar;r<n.length;r++)hv(n[r],t)}function _S(e,t,n){hv(so(t,e),n)}function hv(e,t){ih(e)&&Sf(e,t)}function Sf(e,t){const r=e[Ne],i=e[ot],o=e[Do];let s=!!(0===t&&16&i);if(s||=!!(64&i&&0===t),s||=!!(1024&i),s||=!(!o?.dirty||!Je(o)),s||=!1,o&&(o.dirty=!1),e[ot]&=-9217,s)yS(r,e,r.template,e[In]);else if(8192&i){dv(e,1);const c=r.components;null!==c&&fv(e,c,1)}}function fv(e,t,n){for(let r=0;r<t.length;r++)_S(e,t[r],n)}function ec(e,t){const n=Gg()?64:1088;for(e[ns].changeDetectionScheduler?.notify(t);e;){e[ot]|=n;const r=_s(e);if(Pl(e)&&!r)return e;e=r}return null}class tc{get rootNodes(){const t=this._lView,n=t[Ne];return Jl(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[In]}set context(t){this._lView[In]=t}get destroyed(){return!(256&~this._lView[ot])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Cr];if(hi(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Xl(t,r),zs(n,r))}this._attachedToViewContainer=!1}Fu(this._lView[Ne],this._lView)}onDestroy(t){nu(this._lView,t)}markForCheck(){ec(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ot]&=-129}reattach(){oh(this._lView),this._lView[ot]|=128}detectChanges(){this._lView[ot]|=1024,Bu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ke(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Pl(this._lView),n=this._lView[Qs];null!==n&&!t&&af(n,this._lView),Py(this._lView[Ne],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ke(902,!1);this._appRef=t;const n=Pl(this._lView),r=this._lView[Qs];null!==r&&!n&&Ay(r,this._lView),oh(this._lView)}}let nc=(()=>{class e{static{this.__NG_ELEMENT_ID__=ES}}return e})();const CS=nc,wS=class extends CS{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=qa(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new tc(i)}};function ES(){return $u(pn(),ge())}function $u(e,t){return 4&e.type?new wS(t,e,Va(e,t)):null}let Rv=()=>null;function da(e,t){return Rv(e,t)}class Xa{}const uc=new st("",{providedIn:"root",factory:()=>!1}),Fv=new st(""),Lf=new st("");class pT{}class kv{}class mT{resolveComponentFactory(t){throw function gT(e){const t=Error(`No component factory found for ${Rn(e)}.`);return t.ngComponent=e,t}(t)}}class dc{static{this.NULL=new mT}}class Vf{}let yT=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function vT(){const e=ge(),n=so(pn().index,e);return(Pr(n)?n:e)[vt]}()}}return e})(),_T=(()=>{class e{static{this.\u0275prov=ut({token:e,providedIn:"root",factory:()=>null})}}return e})();function ks(e){return!!di(e)}function Qu(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const c=t[s];"number"==typeof c?o=c:1==o?i=ps(i,c):2==o&&(r=ps(r,c+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class jv extends dc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ut(t);return new pc(n,this.ngModule)}}function Bv(e,t){const n=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const o=Array.isArray(i),s=o?i[0]:i;n.push(t?{propName:s,templateName:r,isSignal:!!((o?i[1]:es.None)&es.SignalBased)}:{propName:s,templateName:r})}return n}class pc extends kv{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Bv(t.inputs,!0);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return Bv(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function St(e){return e.map(ft).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const o=X(null);try{let s=(i=i||this.ngModule)instanceof Eo?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const c=s?new ea(t,s):t,g=c.get(Vf,null);if(null===g)throw new ke(407,!1);const R={rendererFactory:g,sanitizer:c.get(_T,null),inlineEffectRunner:null,changeDetectionScheduler:c.get(Xa,null)},B=g.createRenderer(null,this.componentDef),G=this.componentDef.selectors[0][0]||"div",Y=r?function Vb(e,t,n,r){const o=r.get(iy,!1)||n===Jo.ShadowDom,s=e.selectRootElement(t,o);return function Ub(e){Xy(e)}(s),s}(B,r,this.componentDef.encapsulation,c):Ru(B,G,function ET(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(G));let _e=512;this.componentDef.signals?_e|=4096:this.componentDef.onPush||(_e|=16);let xe=null;null!==Y&&(xe=Bh(Y,c,!0));const Le=vf(0,null,null,1,0,null,null,null,null,null,null),Ce=Vu(null,Le,null,_e,null,null,R,B,c,null,xe);fh(Ce);let Tt,Wt,vn=null;try{const dr=this.componentDef;let Hi,Cl=null;dr.findHostDirectiveDefs?(Hi=[],Cl=new Map,dr.findHostDirectiveDefs(dr,Hi,Cl),Hi.push(dr)):Hi=[dr];const ED=function MT(e,t){const n=e[Ne],r=Ze;return e[r]=t,la(n,r,2,"#host",null)}(Ce,Y);vn=function bT(e,t,n,r,i,o,s){const c=i[Ne];!function ST(e,t,n,r){for(const i of e)t.mergedAttrs=Sa(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Qu(t,t.mergedAttrs,!0),null!==n&&Hy(r,n,t))}(r,e,t,s);let g=null;null!==t&&(g=Bh(t,i[wr]));const E=o.rendererFactory.createRenderer(t,n);let D=16;n.signals?D=4096:n.onPush&&(D=64);const R=Vu(i,Qy(n),null,D,i[e.index],e,o,E,null,null,g);return c.firstCreatePass&&Cf(c,e,r.length-1),Uu(i,R),i[e.index]=R}(ED,Y,dr,Hi,Ce,R,B),Wt=Nl(Le,Ze),Y&&function IT(e,t,n,r){if(r)ba(e,n,["ng-version","18.2.5"]);else{const{attrs:i,classes:o}=function wn(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!p(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&ba(e,n,i),o&&o.length>0&&$y(e,n,o.join(" "))}}(B,dr,Y,r),void 0!==n&&function OT(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o?Array.from(o):null)}}(Wt,this.ngContentSelectors,n),Tt=function TT(e,t,n,r,i,o){const s=pn(),c=i[Ne],g=Di(s,i);Jy(c,i,s,n,null,r);for(let D=0;D<n.length;D++)fi(ta(i,c,s.directiveStart+D,s),i);ev(c,i,s),g&&fi(g,i);const E=ta(i,c,s.directiveStart+s.componentOffset,s);if(e[In]=i[In]=E,null!==o)for(const D of o)D(E,t);return gf(c,s,i),E}(vn,dr,Hi,Cl,Ce,[PT]),Mf(Le,Ce,null)}catch(dr){throw null!==vn&&Nh(vn),Nh(Ce),dr}finally{ph()}return new DT(this.componentType,Tt,Va(Wt,Ce),Ce,Wt)}finally{X(o)}}}class DT extends pT{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new tc(i,void 0,!1),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 o=this._rootLView;Df(o[Ne],o,i,t,n),this.previousInputValues.set(t,n),ec(so(this._tNode.index,o),1)}}get injector(){return new Ar(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function PT(){const e=pn();ou(ge()[Ne],e)}let Xu=(()=>{class e{static{this.__NG_ELEMENT_ID__=AT}}return e})();function AT(){return Gv(pn(),ge())}const NT=Xu,$v=class extends NT{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Va(this._hostTNode,this._hostLView)}get injector(){return new Ar(this._hostTNode,this._hostLView)}get parentInjector(){const t=uu(this._hostTNode,this._hostLView);if(vh(t)){const n=Ll(t,this._hostLView),r=kl(t);return new Ar(n[Ne].data[r+8],n)}return new Ar(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Hv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ar}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=da(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(c,i,ca(this._hostTNode,s)),c}createComponent(t,n,r,i,o){const s=t&&!function Tl(e){return"function"==typeof e}(t);let c;if(s)c=n;else{const Y=n||{};c=Y.index,r=Y.injector,i=Y.projectableNodes,o=Y.environmentInjector||Y.ngModuleRef}const g=s?t:new pc(Ut(t)),E=r||this.parentInjector;if(!o&&null==g.ngModule){const _e=(s?E:this.parentInjector).get(Eo,null);_e&&(o=_e)}const D=Ut(g.componentType??{}),R=da(this._lContainer,D?.id??null),G=g.create(E,i,R?.firstChild??null,o);return this.insertImpl(G.hostView,c,ca(this._hostTNode,R)),G}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function eM(e){return hi(e[Cr])}(i)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const g=i[Cr],E=new $v(g,g[ti],g[Cr]);E.detach(E.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;return Ka(s,i,o,r),t.attachToViewContainerRef(),Dl(Bf(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Hv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Xl(this._lContainer,n);r&&(zs(Bf(this._lContainer),n),Fu(r[Ne],r))}detach(t){const n=this._adjustIndex(t,-1),r=Xl(this._lContainer,n);return r&&null!=zs(Bf(this._lContainer),n)?new tc(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Hv(e){return e[8]}function Bf(e){return e[8]||(e[8]=[])}function Gv(e,t){let n;const r=t[e.index];return hi(r)?n=r:(n=tv(r,t,null,e),t[e.index]=n,Uu(t,n)),zv(n,t,e,r),new $v(n,e,t)}let zv=function qv(e,t,n,r){if(e[rs])return;let i;i=8&n.type?Yt(r):function xT(e,t){const n=e[vt],r=n.createComment(""),i=Di(t,e);return sa(n,uf(n,i),r,function Ab(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[rs]=i},$f=()=>!1;class Hf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Hf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Gf{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 o=0;o<r;o++){const s=n.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new Gf(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Qf(t,n).matches&&this.queries[n].setDirty()}}class Kv{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function BT(e){return e.split(",").map(t=>t.trim())}(t):t}}class zf{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,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new zf(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 Wf{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 Wf(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(t,n,LT(n,o)),this.matchTNodeWithReadOption(t,n,du(n,t,o,!1,!1))}else r===nc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,du(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Ul||i===Xu||i===nc&&4&n.type)this.addMatch(n.index,-2);else{const o=du(n,t,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function LT(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 UT(e,t,n,r){return-1===n?function VT(e,t){return 11&e.type?Va(e,t):4&e.type?$u(e,t):null}(t,e):-2===n?function jT(e,t,n){return n===Ul?Va(t,e):n===nc?$u(t,e):n===Xu?Gv(t,e):void 0}(e,t,r):ta(e,e[Ne],n,t)}function Qv(e,t,n,r){const i=t[vs].queries[r];if(null===i.matches){const o=e.data,s=n.matches,c=[];for(let g=0;null!==s&&g<s.length;g+=2){const E=s[g];c.push(E<0?null:UT(t,o[E],s[g+1],n.metadata.read))}i.matches=c}return i.matches}function qf(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const s=Qv(e,t,i,n);for(let c=0;c<o.length;c+=2){const g=o[c];if(g>0)r.push(s[c/2]);else{const E=o[c+1],D=t[-g];for(let R=ar;R<D.length;R++){const B=D[R];B[Qs]===B[Cr]&&qf(B[Ne],B,E,r)}if(null!==D[Ra]){const R=D[Ra];for(let B=0;B<R.length;B++){const G=R[B];qf(G[Ne],G,E,r)}}}}}return r}function Xv(e,t,n){const r=new Oh(!(4&~n));return function $b(e,t,n,r){const i=rv(t);i.push(n),e.firstCreatePass&&iv(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[vs]??=new Gf).queries.push(new Hf(r))-1}function Jv(e,t,n){null===e.queries&&(e.queries=new zf),e.queries.track(new Wf(t,n))}function Qf(e,t){return e.queries.getByIndex(t)}function e_(e,t){const n=e[Ne],r=Qf(n,t);return r.crossesNgTemplate?qf(n,e,t,[]):Qv(n,e,r,t)}const t_=new Set;function bi(e){t_.has(e)||(t_.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function r_(e,t){bi("NgSignals");const n=function tt(e){const t=Object.create(Fn);t.value=e;const n=()=>(ue(t),t.value);return n[W]=t,n}(e),r=n[W];return t?.equal&&(r.equal=t.equal),n.set=i=>un(r,i),n.update=i=>function dn(e,t){je()||it(),un(e,t(e.value))}(r,i),n.asReadonly=i_.bind(n),n}function i_(){const e=this[W];if(void 0===e.readonlyFn){const t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}function o_(e){return function n_(e){return"function"==typeof e&&void 0!==e[W]}(e)&&"function"==typeof e.set}function Zf(e){let t=function m_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(jo(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ke(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const s=e;s.inputs=Yu(e.inputs),s.inputTransforms=Yu(e.inputTransforms),s.declaredInputs=Yu(e.declaredInputs),s.outputs=Yu(e.outputs);const c=i.hostBindings;c&&nI(e,c);const g=i.viewQuery,E=i.contentQueries;if(g&&eI(e,g),E&&tI(e,E),YT(e,i),Is(e.outputs,i.outputs),jo(i)&&i.data.animation){const D=e.data;D.animation=(D.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const c=o[s];c&&c.ngInherit&&c(e),c===Zf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function JT(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=Sa(i.hostAttrs,n=Sa(n,i.hostAttrs))}}(r)}function YT(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function Yu(e){return e===wo?{}:e===Zt?[]:e}function eI(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function tI(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function nI(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function C_(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class ha{}class w_{}function lI(e,t){return new Yf(e,t??null,[])}class Yf extends ha{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new jv(this);const o=di(t);this._bootstrapComponents=ao(o.bootstrap),this._r3Injector=Cm(t,n,[{provide:ha,useValue:this},{provide:dc,useValue:this.componentFactoryResolver},...r],Rn(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}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 Jf extends w_{constructor(t){super(),this.moduleType=t}create(t){return new Yf(this.moduleType,t,[])}}class E_ extends ha{constructor(t){super(),this.componentFactoryResolver=new jv(this),this.instance=null;const n=new Ta([...t.providers,{provide:ha,useValue:this},{provide:dc,useValue:this.componentFactoryResolver}],t.parent||Kc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ep(e,t,n=null){return new E_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Ju(e){return!!tp(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function tp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function cs(e,t,n){return e[t]=n}function lr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function fa(e,t,n,r){const i=lr(e,t,n);return lr(e,t+1,r)||i}function yc(e,t,n,r,i,o,s,c,g,E){const D=n+Ze,R=t.firstCreatePass?function pI(e,t,n,r,i,o,s,c,g){const E=t.consts,D=la(t,e,4,s||null,c||null);_f(t,n,D,Mo(E,g)),ou(t,D);const R=D.tView=vf(2,D,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E,null);return null!==t.queries&&(t.queries.template(t,D),R.queries=t.queries.embeddedTView(D)),D}(D,t,e,r,i,o,s,c,g):t.data[D];Bo(R,!1);const B=D_(t,e,R,n);Rl()&&ku(t,e,B,R),fi(B,e);const G=tv(B,e,B,R);return e[D]=G,Uu(e,G),function Wv(e,t,n){return $f(e,t,n)}(G,R,e),Jc(R)&&mf(t,e,R),null!=g&&yf(e,R,E),R}function np(e,t,n,r,i,o,s,c){const g=ge(),E=kt();return yc(g,E,e,t,n,r,i,Mo(E.consts,o),s,c),np}let D_=function M_(e,t,n,r){return os(!0),t[vt].createComment("")};var el=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(el||{});let P_=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=ut({token:e,providedIn:"root",factory:()=>new e})}}return e})();class Cc{constructor(){this.ngZone=Ie(Bn),this.scheduler=Ie(Xa),this.errorHandler=Ie(Es,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[el.EarlyRead,el.Write,el.MixedReadWrite,el.Read]}execute(){this.executing=!0;for(const t of Cc.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[t])try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=ut({token:Cc,providedIn:"root",factory:()=>new Cc})}}class vI{constructor(t,n,r,i){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy()}}function id(e,t){!t?.injector&&function Qd(e){if(!Cg())throw new ke(-203,!1)}();const n=t?.injector??Ie(ri);return function lo(e){return"browser"===(e??Ie(ri)).get(_u)}(n)?(bi("NgAfterNextRender"),function A_(e,t,n,r){const i=t.get(P_);i.impl??=t.get(Cc);const s=new vI(i.impl,function CI(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,n?.phase??el.MixedReadWrite),r,t.get(Vl));return i.impl.register(s),s}(e,n,t,!0)):N_}const N_={destroy(){}};function fp(e,t,n,r){const i=ge();return lr(i,$o(),t)&&(kt(),ls(On(),i,e,t,n,r)),fp}function al(e,t,n,r){return lr(e,$o(),n)?t+ht(n)+r:Ot}function ll(e,t,n,r,i,o){const c=fa(e,function Cs(){return _t.lFrame.bindingIndex}(),n,i);return ws(2),c?t+ht(n)+r+ht(i)+o:Ot}function pp(e,t,n,r,i,o){const s=ge(),c=al(s,t,n,r);return c!==Ot&&ls(On(),s,e,c,i,o),pp}function ad(e,t){return e<<17|t<<2}function Us(e){return e>>17&32767}function gp(e){return 2|e}function ga(e){return(131068&e)>>2}function mp(e,t){return-131069&e|t<<2}function yp(e){return 1|e}function rC(e,t,n,r){const i=e[n+1],o=null===t;let s=r?Us(i):ga(i),c=!1;for(;0!==s&&(!1===c||o);){const E=e[s+1];nO(e[s],t)&&(c=!0,e[s+1]=r?yp(E):gp(E)),s=r?Us(E):ga(E)}c&&(e[n+1]=r?gp(i):yp(i))}function nO(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ws(e,t)>=0}const Nr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function iC(e){return e.substring(Nr.key,Nr.keyEnd)}function oC(e,t){const n=Nr.textEnd;return n===t?-1:(t=Nr.keyEnd=function sO(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Nr.key=t,n),gl(e,t,n))}function gl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function vp(e,t,n){const r=ge();return lr(r,$o(),t)&&Bi(kt(),On(),r,e,t,r[vt],n,!1),vp}function _p(e,t,n,r,i){const s=i?"class":"style";Df(e,n,t.inputs[s],s,r)}function Cp(e,t,n){return Ho(e,t,n,!1),Cp}function wp(e,t){return Ho(e,t,null,!0),wp}function uC(e){Go(gO,ds,e,!0)}function ds(e,t){for(let n=function iO(e){return function aC(e){Nr.key=0,Nr.keyEnd=0,Nr.value=0,Nr.valueEnd=0,Nr.textEnd=e.length}(e),oC(e,gl(e,0,Nr.textEnd))}(t);n>=0;n=oC(t,n))Ci(e,iC(t),!0)}function Ho(e,t,n,r){const i=ge(),o=kt(),s=ws(2);o.firstUpdatePass&&hC(o,e,s,r),t!==Ot&&lr(i,s,t)&&pC(o,o.data[ni()],i,i[vt],e,i[s+1]=function yO(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Rn(Ds(e)))),e}(t,n),r,s)}function Go(e,t,n,r){const i=kt(),o=ws(2);i.firstUpdatePass&&hC(i,null,o,r);const s=ge();if(n!==Ot&&lr(s,o,n)){const c=i.data[ni()];if(mC(c,r)&&!dC(i,o)){let g=r?c.classesWithoutHost:c.stylesWithoutHost;null!==g&&(n=ps(g,n||"")),_p(i,c,s,n,r)}else!function mO(e,t,n,r,i,o,s,c){i===Ot&&(i=Zt);let g=0,E=0,D=0<i.length?i[0]:null,R=0<o.length?o[0]:null;for(;null!==D||null!==R;){const B=g<i.length?i[g+1]:void 0,G=E<o.length?o[E+1]:void 0;let _e,Y=null;D===R?(g+=2,E+=2,B!==G&&(Y=R,_e=G)):null===R||null!==D&&D<R?(g+=2,Y=D):(E+=2,Y=R,_e=G),null!==Y&&pC(e,t,n,r,Y,_e,s,c),D=g<i.length?i[g]:null,R=E<o.length?o[E]:null}}(i,c,s,s[vt],s[o+1],s[o+1]=function pO(e,t,n){if(null==n||""===n)return Zt;const r=[],i=Ds(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function dC(e,t){return t>=e.expandoStartIndex}function hC(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[ni()],s=dC(e,n);mC(o,r)&&null===t&&!s&&(t=!1),t=function uO(e,t,n,r){const i=function dh(e){const t=_t.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Ec(n=Ep(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=Ep(i,e,t,n,r),null===o){let g=function dO(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ga(r))return e[Us(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Ep(null,e,t,g[1],r),g=Ec(g,t.attrs,r),function hO(e,t,n,r){e[Us(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else o=function fO(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=Ec(r,e[o].hostAttrs,n);return Ec(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function eO(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,c=Us(s),g=ga(s);e[r]=n;let D,E=!1;if(Array.isArray(n)?(D=n[1],(null===D||Ws(n,D)>0)&&(E=!0)):D=n,i)if(0!==g){const B=Us(e[c+1]);e[r+1]=ad(B,c),0!==B&&(e[B+1]=mp(e[B+1],r)),e[c+1]=function YI(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=ad(c,0),0!==c&&(e[c+1]=mp(e[c+1],r)),c=r;else e[r+1]=ad(g,0),0===c?c=r:e[g+1]=mp(e[g+1],r),g=r;E&&(e[r+1]=gp(e[r+1])),rC(e,D,r,!0),rC(e,D,r,!1),function tO(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Ws(o,t)>=0&&(n[r+1]=yp(n[r+1]))}(t,D,e,r,o),s=ad(c,g),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function Ep(e,t,n,r,i){let o=null;const s=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c<s&&(o=t[c],r=Ec(r,o.hostAttrs,i),o!==e);)c++;return null!==e&&(n.directiveStylingLast=c),r}function Ec(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ci(e,s,!!n||t[++o]))}return void 0===e?null:e}function gO(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Ci(e,r,n)}function pC(e,t,n,r,i,o,s,c){if(!(3&t.type))return;const g=e.data,E=g[c+1],D=function JI(e){return!(1&~e)}(E)?gC(g,t,n,i,ga(E),s):void 0;ld(D)||(ld(o)||function ZI(e){return!(2&~e)}(E)&&(o=gC(g,null,n,i,c,s)),function Rb(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:xu.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=xu.Important),e.setStyle(n,r,i,o))}}(r,s,Al(ni(),n),i,o))}function gC(e,t,n,r,i,o){const s=null===t;let c;for(;i>0;){const g=e[i],E=Array.isArray(g),D=E?g[1]:g,R=null===D;let B=n[i+1];B===Ot&&(B=R?Zt:void 0);let G=R?Uc(B,r):D===r?B:void 0;if(E&&!ld(G)&&(G=Uc(g,r)),ld(G)&&(c=G,s))return c;const Y=e[i+1];i=s?Us(Y):ga(Y)}if(null!==t){let g=o?t.residualClasses:t.residualStyles;null!=g&&(c=Uc(g,r))}return c}function ld(e){return void 0!==e}function mC(e,t){return!!(e.flags&(t?8:16))}function yC(e,t,n){Go(Ci,ds,al(ge(),e,t,n),!0)}function vC(){return ge()[jn][In]}class SO{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),i=Math.max(t,n),o=this.detach(i);if(i-r>1){const s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(t,n){this.attach(n,this.detach(t))}}function Dp(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function Mp(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function _C(e,t,n,r,i){if(Mp(e,t,r,n(r,i)))e.updateValue(r,i);else{const o=e.create(r,i);e.attach(r,o)}}function CC(e,t,n,r){const i=new Set;for(let o=t;o<=n;o++)i.add(r(o,e.at(o)));return i}class wC{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),t(r,n)}}}function EC(e,t){bi("NgControlFlow");const n=ge(),r=$o(),i=n[r]!==Ot?n[r]:-1,o=-1!==i?cd(n,Ze+i):void 0;if(lr(n,r,e)){const c=X(null);try{if(void 0!==o&&bf(o,0),-1!==e){const g=Ze+e,E=cd(n,g),D=bp(n[Ne],g),R=da(E,D.tView.ssrId);Ka(E,qa(n,D,t,{dehydratedView:R}),0,ca(D,R))}}finally{X(c)}}else if(void 0!==o){const c=sv(o,0);void 0!==c&&(c[In]=t)}}class IO{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ar}}class AO{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function DC(e,t,n,r,i,o,s,c,g,E,D,R,B){bi("NgControlFlow");const G=ge(),Y=kt(),_e=void 0!==g,xe=ge(),Le=c?s.bind(xe[jn][In]):s,Ce=new AO(_e,Le);xe[Ze+e]=Ce,yc(G,Y,e+1,t,n,r,i,Mo(Y.consts,o)),_e&&yc(G,Y,e+2,g,E,D,R,Mo(Y.consts,B))}class NO extends SO{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ar}at(t){return this.getLView(t)[In].$implicit}attach(t,n){const r=n[Ei];this.needsIndexUpdate||=t!==this.length,Ka(this.lContainer,n,t,ca(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function xO(e,t){return Xl(e,t)}(this.lContainer,t)}create(t,n){const r=da(this.lContainer,this.templateTNode.tView.ssrId),i=qa(this.hostLView,this.templateTNode,new IO(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(t){Fu(t[Ne],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[In].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[In].$index=t}getLView(t){return function RO(e,t){return sv(e,t)}(this.lContainer,t)}}function MC(e){const t=X(null),n=ni();try{const r=ge(),i=r[Ne],o=r[n],s=n+1,c=cd(r,s);if(void 0===o.liveCollection){const E=bp(i,s);o.liveCollection=new NO(c,r,E)}else o.liveCollection.reset();const g=o.liveCollection;if(function TO(e,t,n){let r,i,o=0,s=e.length-1;if(Array.isArray(t)){let g=t.length-1;for(;o<=s&&o<=g;){const E=e.at(o),D=t[o],R=Dp(o,E,o,D,n);if(0!==R){R<0&&e.updateValue(o,D),o++;continue}const B=e.at(s),G=t[g],Y=Dp(s,B,g,G,n);if(0!==Y){Y<0&&e.updateValue(s,G),s--,g--;continue}const _e=n(o,E),xe=n(s,B),Le=n(o,D);if(Object.is(Le,xe)){const Ce=n(g,G);Object.is(Ce,_e)?(e.swap(o,s),e.updateValue(s,G),g--,s--):e.move(s,o),e.updateValue(o,D),o++}else if(r??=new wC,i??=CC(e,o,s,n),Mp(e,r,o,Le))e.updateValue(o,D),o++,s++;else if(i.has(Le))r.set(_e,e.detach(o)),s--;else{const Ce=e.create(o,t[o]);e.attach(o,Ce),o++,s++}}for(;o<=g;)_C(e,r,n,o,t[o]),o++}else if(null!=t){const g=t[Symbol.iterator]();let E=g.next();for(;!E.done&&o<=s;){const D=e.at(o),R=E.value,B=Dp(o,D,o,R,n);if(0!==B)B<0&&e.updateValue(o,R),o++,E=g.next();else{r??=new wC,i??=CC(e,o,s,n);const G=n(o,R);if(Mp(e,r,o,G))e.updateValue(o,R),o++,s++,E=g.next();else if(i.has(G)){const Y=n(o,D);r.set(Y,e.detach(o)),s--}else e.attach(o,e.create(o,R)),o++,s++,E=g.next()}}for(;!E.done;)_C(e,r,n,e.length,E.value),E=g.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(g=>{e.destroy(g)})}(g,e,o.trackByFn),g.updateIndexes(),o.hasEmptyBlock){const E=$o(),D=0===g.length;if(lr(r,E,D)){const R=n+2,B=cd(r,R);if(D){const G=bp(i,R),Y=da(B,G.tView.ssrId);Ka(B,qa(r,G,void 0,{dehydratedView:Y}),0,ca(G,Y))}else bf(B,0)}}}finally{X(t)}}function cd(e,t){return e[t]}function bp(e,t){return Nl(e,t)}function ud(e,t,n,r){const i=ge(),o=kt(),s=Ze+e,c=i[vt],g=o.firstCreatePass?function FO(e,t,n,r,i,o){const s=t.consts,g=la(t,e,2,r,Mo(s,i));return _f(t,n,g,Mo(s,o)),null!==g.attrs&&Qu(g,g.attrs,!1),null!==g.mergedAttrs&&Qu(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(s,o,i,t,n,r):o.data[s],E=bC(o,i,g,c,t,e);i[s]=E;const D=Jc(g);return Bo(g,!0),Hy(c,E,g),!function Ya(e){return!(32&~e.flags)}(g)&&Rl()&&ku(o,i,E,g),0===function tM(){return _t.lFrame.elementDepthCount}()&&fi(E,i),function nM(){_t.lFrame.elementDepthCount++}(),D&&(mf(o,i,g),gf(o,g,i)),null!==r&&yf(i,g),ud}function dd(){let e=pn();lh()?ch():(e=e.parent,Bo(e,!1));const t=e;(function iM(e){return _t.skipHydrationRootTNode===e})(t)&&function lM(){_t.skipHydrationRootTNode=null}(),function rM(){_t.lFrame.elementDepthCount--}();const n=kt();return n.firstCreatePass&&(ou(n,e),Yd(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function EM(e){return!!(8&e.flags)}(t)&&_p(n,t,ge(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function DM(e){return!!(16&e.flags)}(t)&&_p(n,t,ge(),t.stylesWithoutHost,!1),dd}function Sp(e,t,n,r){return ud(e,t,n,r),dd(),Sp}let bC=(e,t,n,r,i,o)=>(os(!0),Ru(r,i,function Jg(){return _t.lFrame.currentNamespace}()));function hd(e,t,n){const r=ge(),i=kt(),o=e+Ze,s=i.firstCreatePass?function VO(e,t,n,r,i){const o=t.consts,s=Mo(o,r),c=la(t,e,8,"ng-container",s);return null!==s&&Qu(c,s,!0),_f(t,n,c,Mo(o,i)),null!==t.queries&&t.queries.elementStart(t,c),c}(o,i,r,t,n):i.data[o];Bo(s,!0);const c=SC(i,r,s,e);return r[o]=c,Rl()&&ku(i,r,c,s),fi(c,r),Jc(s)&&(mf(i,r,s),gf(i,s,r)),null!=n&&yf(r,s),hd}function fd(){let e=pn();const t=kt();return lh()?ch():(e=e.parent,Bo(e,!1)),t.firstCreatePass&&(ou(t,e),Yd(e)&&t.queries.elementEnd(e)),fd}function Tp(e,t,n){return hd(e,t,n),fd(),Tp}let SC=(e,t,n,r)=>(os(!0),sf(t[vt],""));function TC(){return ge()}const ma=void 0;var $O=["en",[["a","p"],["AM","PM"],ma],[["AM","PM"],ma,ma],[["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"]],ma,[["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"]],ma,[["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}",ma,"{1} 'at' {0}",ma],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function BO(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ml={};function Ip(e){const t=function HO(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=AC(t);if(n)return n;const r=t.split("-")[0];if(n=AC(r),n)return n;if("en"===r)return $O;throw new ke(701,!1)}function PC(e){return Ip(e)[yl.PluralCase]}function AC(e){return e in ml||(ml[e]=Dn.ng&&Dn.ng.common&&Dn.ng.common.locales&&Dn.ng.common.locales[e]),ml[e]}var yl=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}(yl||{});const pd="en-US";let NC=pd,XC=(e,t,n)=>{};function Ap(e,t,n,r){const i=ge(),o=kt(),s=pn();return Np(o,i,i[vt],s,e,t,r),Ap}function Np(e,t,n,r,i,o,s){const c=Jc(r),E=e.firstCreatePass&&iv(e),D=t[In],R=rv(t);let B=!0;if(3&r.type||s){const _e=Di(r,t),xe=s?s(_e):_e,Le=R.length,Ce=s?Wt=>s(Yt(Wt[r.index])):r.index;let Tt=null;if(!s&&c&&(Tt=function AP(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===n&&i[o+1]===r){const c=t[Pa],g=i[o+2];return c.length>g?c[g]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==Tt)(Tt.__ngLastListenerFn__||Tt).__ngNextListenerFn__=o,Tt.__ngLastListenerFn__=o,B=!1;else{o=ew(r,t,D,o),XC(_e,i,o);const Wt=n.listen(xe,i,o);R.push(o,Wt),E&&E.push(i,Ce,Le,Le+1)}}else o=ew(r,t,D,o);const G=r.outputs;let Y;if(B&&null!==G&&(Y=G[i])){const _e=Y.length;if(_e)for(let xe=0;xe<_e;xe+=2){const vn=t[Y[xe]][Y[xe+1]].subscribe(o),dr=R.length;R.push(o,vn),E&&E.push(i,r.index,dr,-(dr+1))}}}function JC(e,t,n,r){const i=X(null);try{return is(6,t,n),!1!==n(r)}catch(o){return ju(e,o),!1}finally{is(7,t,n),X(i)}}function ew(e,t,n,r){return function i(o){if(o===Function)return r;ec(e.componentOffset>-1?so(e.index,t):t,5);let c=JC(t,n,r,o),g=i.__ngNextListenerFn__;for(;g;)c=JC(t,n,g,o)&&c,g=g.__ngNextListenerFn__;return c}}function tw(e=1){return function fM(e){return(_t.lFrame.contextLView=function kg(e,t){for(;e>0;)t=t[Aa],e--;return t}(e,_t.lFrame.contextLView))[In]}(e)}function NP(e,t){let n=null;const r=function A(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 o=t[i];if("*"!==o){if(null===r?M(e,o,!0):te(r,o))return i}else n=i}return n}function nw(e){const t=ge()[jn][ti];if(!t.projection){const r=t.projection=function As(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){if(128!==o.type){const s=e?NP(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}}function rw(e,t=0,n,r,i,o){const s=ge(),c=kt(),g=r?e+1:null;null!==g&&yc(s,c,g,r,i,o,null,n);const E=la(c,Ze+e,16,null,n||null);null===E.projection&&(E.projection=t),ch();const R=!s[Ei]||Ys();null===s[jn][ti].projection[E.projection]&&null!==g?function xP(e,t,n){const r=Ze+n,i=t.data[r],o=e[r],s=da(o,i.tView.ssrId);Ka(o,qa(e,i,void 0,{dehydratedView:s}),0,ca(i,s))}(s,c,g):R&&32&~E.flags&&function Nb(e,t,n){By(t[vt],0,t,n,cf(e,n,t),Fy(n.parent||t[ti],n,t))}(c,s,E)}function xp(e,t,n){return vd(e,"",t,"",n),xp}function vd(e,t,n,r,i){const o=ge(),s=al(o,t,n,r);return s!==Ot&&Bi(kt(),On(),o,e,s,o[vt],i,!1),vd}function Rp(e,t,n,r,i,o,s){const c=ge(),g=ll(c,t,n,r,i,o);return g!==Ot&&Bi(kt(),On(),c,e,g,c[vt],s,!1),Rp}function dw(e,t,n,r){!function Yv(e,t,n,r){const i=kt();if(i.firstCreatePass){const o=pn();Jv(i,new Kv(t,n,r),o.index),function $T(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&~n)&&(i.staticContentQueries=!0)}return Xv(i,ge(),n)}(e,t,n,r)}function hw(e,t,n){!function Zv(e,t,n){const r=kt();return r.firstCreatePass&&(Jv(r,new Kv(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),Xv(r,ge(),t)}(e,t,n)}function fw(e){const t=ge(),n=kt(),r=hh();iu(r+1);const i=Qf(n,r);if(e.dirty&&function JD(e){return!(4&~e[ot])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const o=e_(t,r);e.reset(o,Om),e.notifyOnChanges()}return!0}return!1}function pw(){return function Kf(e,t){return e[vs].queries[t].queryList}(ge(),hh())}function gw(e){return function Zs(e,t){return e[t]}(function $g(){return _t.lFrame.contextLView}(),Ze+e)}function bw(e,t=""){const n=ge(),r=kt(),i=e+Ze,o=r.firstCreatePass?la(r,i,1,t,null):r.data[i],s=Sw(r,n,o,t,e);n[i]=s,Rl()&&ku(r,n,s,o),Bo(o,!1)}let Sw=(e,t,n,r,i)=>(os(!0),function rf(e,t){return e.createText(t)}(t[vt],r));function kp(e){return _d("",e,""),kp}function _d(e,t,n){const r=ge(),i=al(r,e,t,n);return i!==Ot&&function bs(e,t,n){const r=Al(t,e);!function Oy(e,t,n){e.setValue(t,n)}(e[vt],r,n)}(r,ni(),i),_d}function Lp(e,t,n){o_(t)&&(t=t());const r=ge();return lr(r,$o(),t)&&Bi(kt(),On(),r,e,t,r[vt],n,!1),Lp}function Fw(e,t){const n=o_(e);return n&&e.set(t),n}function Vp(e,t){const n=ge(),r=kt(),i=pn();return Np(r,n,n[vt],i,e,t),Vp}function Up(e,t,n,r,i){if(e=et(e),Array.isArray(e))for(let o=0;o<e.length;o++)Up(e[o],t,n,r,i);else{const o=kt(),s=ge(),c=pn();let g=Ks(e)?e:et(e.provide);const E=_g(e),D=1048575&c.providerIndexes,R=c.directiveStart,B=c.providerIndexes>>20;if(Ks(e)||!e.multi){const G=new Fl(E,i,Wa),Y=Bp(g,t,i?D:D+B,R);-1===Y?(wh(cu(c,s),o,g),jp(o,e,t.length),t.push(g),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(G),s.push(G)):(n[Y]=G,s[Y]=G)}else{const G=Bp(g,t,D+B,R),Y=Bp(g,t,D,D+B),xe=Y>=0&&n[Y];if(i&&!xe||!i&&!(G>=0&&n[G])){wh(cu(c,s),o,g);const Le=function JP(e,t,n,r,i){const o=new Fl(e,n,Wa);return o.multi=[],o.index=t,o.componentProviders=0,Vw(o,i,r&&!n),o}(i?YP:ZP,n.length,i,r,E);!i&&xe&&(n[Y].providerFactory=Le),jp(o,e,t.length,0),t.push(g),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(Le),s.push(Le)}else jp(o,e,G>-1?G:Y,Vw(n[i?Y:G],E,!i&&r));!i&&r&&xe&&n[Y].componentProviders++}}}function jp(e,t,n,r){const i=Ks(t),o=function ID(e){return!!e.useClass}(t);if(i||o){const g=(o?et(t.useClass):t).prototype.ngOnDestroy;if(g){const E=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const D=E.indexOf(n);-1===D?E.push(n,[r,g]):E[D+1].push(r,g)}else E.push(n,g)}}}function Vw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Bp(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function ZP(e,t,n,r){return $p(this.multi,[])}function YP(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,c=ta(n,n[Ne],this.providerFactory.index,r);o=c.slice(0,s),$p(i,o);for(let g=s;g<c.length;g++)o.push(c[g])}else o=[],$p(i,o);return o}function $p(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Uw(e,t=[]){return n=>{n.providersResolver=(r,i)=>function XP(e,t,n){const r=kt();if(r.firstCreatePass){const i=jo(e);Up(n,r.data,r.blueprint,i,!0),Up(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let eA=(()=>{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=$d(0,n.type),i=r.length>0?ep([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{this.\u0275prov=ut({token:e,providedIn:"environment",factory:()=>new e(bt(Eo))})}}return e})();function jw(e){bi("NgStandalone"),e.getStandaloneInjector=t=>t.get(eA).getOrCreateStandaloneInjector(e)}function Bw(e,t,n){const r=e.\u0275cmp;r.directiveDefs=zc(t,!1),r.pipeDefs=zc(n,!0)}function Gw(e,t,n,r){return function Kw(e,t,n,r,i,o){const s=t+n;return lr(e,s,i)?cs(e,s+1,o?r.call(o,i):r(i)):Ic(e,s+1)}(ge(),Mi(),e,t,n,r)}function zw(e,t,n,r,i){return function Qw(e,t,n,r,i,o,s){const c=t+n;return fa(e,c,i,o)?cs(e,c+2,s?r.call(s,i,o):r(i,o)):Ic(e,c+2)}(ge(),Mi(),e,t,n,r,i)}function Ww(e,t,n,r,i,o){return function Xw(e,t,n,r,i,o,s,c){const g=t+n;return function ed(e,t,n,r,i){const o=fa(e,t,n,r);return lr(e,t+2,i)||o}(e,g,i,o,s)?cs(e,g+3,c?r.call(c,i,o,s):r(i,o,s)):Ic(e,g+3)}(ge(),Mi(),e,t,n,r,i,o)}function qw(e,t,n,r,i,o,s){return function Zw(e,t,n,r,i,o,s,c,g){const E=t+n;return function bo(e,t,n,r,i,o){const s=fa(e,t,n,r);return fa(e,t+2,i,o)||s}(e,E,i,o,s,c)?cs(e,E+4,g?r.call(g,i,o,s,c):r(i,o,s,c)):Ic(e,E+4)}(ge(),Mi(),e,t,n,r,i,o,s)}function Ic(e,t){const n=e[t];return n===Ot?void 0:n}function Jw(e,t){return $u(e,t)}class gE{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let mE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ut({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const wE=new st(""),EE=new st("");let Kp,lN=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Kp||(function cN(e){Kp=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._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Bn.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n()},r)),this._callbacks.push({doneCb:n,timeoutId:o,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()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static{this.\u0275fac=function(r){return new(r||e)(bt(Bn),bt(DE),bt(EE))}}static{this.\u0275prov=ut({token:e,factory:e.\u0275fac})}}return e})(),DE=(()=>{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 Kp?.findTestabilityInTree(this,n,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ut({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function Qp(e){return!!e&&"function"==typeof e.then}function ME(e){return!!e&&"function"==typeof e.subscribe}const bE=new st("");let SE=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=Ie(bE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=i();if(Qp(o))n.push(o);else if(ME(o)){const s=new Promise((c,g)=>{o.subscribe({complete:c,error:g})});n.push(s)}}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{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ut({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Md=new st("");function IE(e,t){return Array.isArray(t)?t.reduce(IE,e):{...e,...t}}let hs=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ie(ZM),this.afterRenderManager=Ie(P_),this.zonelessEnabled=Ie(uc),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new _n.B,this.afterTick=new _n.B,this.componentTypes=[],this.components=[],this.isStable=Ie(na).hasPendingTasks.pipe((0,sn.T)(n=>!n)),this._injector=Ie(Eo)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof kv;if(!this._injector.get(SE).done)throw!i&&xs(n),new ke(405,!1);let s;s=i?n:this._injector.get(dc).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const c=function uN(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ha),E=s.create(ri.NULL,[],r||s.selector,c),D=E.location.nativeElement,R=E.injector.get(wE,null);return R?.registerApplication(D),E.onDestroy(()=>{this.detachView(E.hostView),bd(this.components,E),R?.unregisterApplication(D)}),this._loadComponent(E),E}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new ke(101,!1);const n=X(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,X(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Vf,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:o}of this._views)fN(i,o,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>eu(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;bd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Md,[]);[...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),()=>bd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ke(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ut({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function bd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function fN(e,t,n,r){(n||eu(e))&&Bu(e,t,n&&!r?0:1)}class pN{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let gN=(()=>{class e{compileModuleSync(n){return new Jf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=ao(di(n).declarations).reduce((s,c)=>{const g=Ut(c);return g&&s.push(new pc(g)),s},[]);return new pN(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ut({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),vN=(()=>{class e{constructor(){this.zone=Ie(Bn),this.changeDetectionScheduler=Ie(Xa),this.applicationRef=Ie(hs)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ut({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Xp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Bn({...Zp(),scheduleInRootZone:n}),[{provide:Bn,useFactory:e},{provide:Ui,multi:!0,useFactory:()=>{const r=Ie(vN,{optional:!0});return()=>r.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{const r=Ie(CN);return()=>{r.initialize()}}},!0===t?{provide:Fv,useValue:!0}:[],{provide:Lf,useValue:n??Em}]}function Zp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let CN=(()=>{class e{constructor(){this.subscription=new oi.yU,this.initialized=!1,this.zone=Ie(Bn),this.pendingTasks=Ie(na)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Bn.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Bn.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ut({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Nc=(()=>{class e{constructor(){this.appRef=Ie(hs),this.taskService=Ie(na),this.ngZone=Ie(Bn),this.zonelessEnabled=Ie(uc),this.disableScheduling=Ie(Fv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new oi.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(gu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Ie(Lf,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ih||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?Mm:Dm;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(gu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Mm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ut({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Jp=new st("",{providedIn:"root",factory:()=>Ie(Jp,Rt.Optional|Rt.SkipSelf)||function wN(){return typeof $localize<"u"&&$localize.locale||pd}()}),EN=new st("",{providedIn:"root",factory:()=>"USD"}),eg=new st("");function Td(e){return!!e.platformInjector}let FE=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,s=r?.ignoreChangesOutsideZone,c=[Xp({ngZoneFactory:()=>function XM(e="zone.js",t){return"noop"===e?new Ih:"zone.js"===e?new Bn(t):e}(r?.ngZone,{...Zp({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:s}),{provide:Xa,useExisting:Nc}],g=function cI(e,t,n){return new Yf(e,t,n,!1)}(n.moduleType,this.injector,c);return function RE(e){const t=Td(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Bn);return n.run(()=>{Td(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Es,null);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Td(e)){const o=()=>t.destroy(),s=e.platformInjector.get(eg);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else e.moduleRef.onDestroy(()=>{bd(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return function hN(e,t,n){try{const r=n();return Qp(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(r,n,()=>{const o=t.get(SE);return o.runInitializers(),o.donePromise.then(()=>{if(function qO(e){"string"==typeof e&&(NC=e.toLowerCase().replace(/_/g,"-"))}(t.get(Jp,pd)||pd),Td(e)){const c=t.get(hs);return void 0!==e.rootComponent&&c.bootstrap(e.rootComponent),c}return function TN(e,t){const n=e.injector.get(hs);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new ke(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:g,allPlatformModules:this._modules})}bootstrapModule(n,r=[]){const i=IE({},r);return function yN(e,t,n){const r=new Jf(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ke(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(eg,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||e)(bt(ri))}}static{this.\u0275prov=ut({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),js=null;const kE=new st("");function LE(e,t,n=[]){const r=`Platform: ${t}`,i=new st(r);return(o=[])=>{let s=tg();if(!s||s.injector.get(kE,!1)){const c=[...n,...o,{provide:i,useValue:!0}];e?e(c):function IN(e){if(js&&!js.get(kE,!1))throw new ke(400,!1);(function TE(){!function Gt(e){$e=e}(()=>{throw new ke(600,!1)})})(),js=e;const t=e.get(FE);(function UE(e){e.get(Qm,null)?.forEach(n=>n())})(e)}(function VE(e=[],t){return ri.create({name:t,providers:[{provide:zd,useValue:"platform"},{provide:eg,useValue:new Set([()=>js=null])},...e]})}(c,r))}return function ON(){const t=tg();if(!t)throw new ke(401,!1);return t}()}}function tg(){return js?.get(FE)??null}function AN(){return!1}function NN(){}let BE=(()=>{class e{static{this.__NG_ELEMENT_ID__=xN}}return e})();function xN(e){return function RN(e,t,n){if(Xs(e)&&!n){const r=so(e.index,t);return new tc(r,r)}return 175&e.type?new tc(t[jn],t):null}(pn(),ge(),!(16&~e))}class zE{constructor(){}supports(t){return Ju(t)}create(t){return new UN(t)}}const VN=(e,t)=>t;class UN{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||VN}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,o=null;for(;n||r;){const s=!r||n&&n.currentIndex<qE(r,i,o)?n:r,c=qE(s,i,o),g=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)i++;else{o||(o=[]);const E=c-i,D=g-i;if(E!=D){for(let B=0;B<E;B++){const G=B<o.length?o[B]:o[B]=0,Y=G+B;D<=Y&&Y<E&&(o[B]=G+1)}o[s.previousIndex]=D-E}}c!==g&&t(s,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;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ju(t))throw new ke(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)o=t[c],s=this._trackByFn(c,o),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,o,s,c)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,s,c),r=!0),n=n._next}else i=0,function hI(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=>{s=this._trackByFn(i,c),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,c,s,i)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,s,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 o;return null===t?o=this._itTail:(o=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,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new jN(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,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,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._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 WE),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 WE),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 jN{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 BN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class WE{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new BN,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 qE(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 KE{constructor(){}supports(t){return t instanceof Map||tp(t)}create(){return new $N}}class $N{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||tp(t)))throw new ke(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 o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),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 o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new HN(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 HN{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 QE(){return new sg([new zE])}let sg=(()=>{class e{static{this.\u0275prov=ut({token:e,providedIn:"root",factory:QE})}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||QE()),deps:[[e,new Vi,new vi]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new ke(901,!1)}}return e})();function XE(){return new ag([new KE])}let ag=(()=>{class e{static{this.\u0275prov=ut({token:e,providedIn:"root",factory:XE})}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||XE()),deps:[[e,new Vi,new vi]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new ke(901,!1)}}return e})();const WN=LE(null,"core",[]);let qN=(()=>{class e{constructor(n){}static{this.\u0275fac=function(r){return new(r||e)(bt(hs))}}static{this.\u0275mod=wi({type:e})}static{this.\u0275inj=yn({})}}return e})();const hD=new st("");function Mx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function bx(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function Tx(e,t){bi("NgSignals");const n=function be(e){const t=Object.create(ve);t.computation=e;const n=()=>{if(Re(t),ue(t),t.value===re)throw t.error;return t.value};return n[W]=t,n}(e);return t?.equal&&(n[W].equal=t.equal),n}function Ix(e){const t=X(null);try{return e()}finally{X(t)}}function Rx(e){const t=Ut(e);if(!t)return null;const n=new pc(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}}}},9417:(ye,Q,F)=>{"use strict";F.d(Q,{BC:()=>rr,Q0:()=>Io,YN:()=>f,Zm:()=>ue,cV:()=>P,cb:()=>Fr,cz:()=>qe,k0:()=>It,kq:()=>he,me:()=>je,qT:()=>fs,vS:()=>To,wz:()=>mo,xH:()=>Yi,y7:()=>eo});var a=F(3953),O=F(177),k=F(6648),H=F(7468),W=F(1413),X=F(6354);let de=(()=>{class l{constructor(u,w){this._renderer=u,this._elementRef=w,this.onChange=S=>{},this.onTouched=()=>{}}setProperty(u,w){this._renderer.setProperty(this._elementRef.nativeElement,u,w)}registerOnTouched(u){this.onTouched=u}registerOnChange(u){this.onChange=u}setDisabledState(u){this.setProperty("disabled",u)}static{this.\u0275fac=function(w){return new(w||l)(a.rXU(a.sFG),a.rXU(a.aKT))}}static{this.\u0275dir=a.FsC({type:l})}}return l})(),ie=(()=>{class l extends de{static{this.\u0275fac=(()=>{let u;return function(S){return(u||(u=a.xGo(l)))(S||l)}})()}static{this.\u0275dir=a.FsC({type:l,features:[a.Vt3]})}}return l})();const he=new a.nKC(""),Z={provide:he,useExisting:(0,a.Rfq)(()=>ue),multi:!0};let ue=(()=>{class l extends ie{writeValue(u){this.setProperty("checked",u)}static{this.\u0275fac=(()=>{let u;return function(S){return(u||(u=a.xGo(l)))(S||l)}})()}static{this.\u0275dir=a.FsC({type:l,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(w,S){1&w&&a.bIt("change",function(ee){return S.onChange(ee.target.checked)})("blur",function(){return S.onTouched()})},features:[a.Jv_([Z]),a.Vt3]})}}return l})();const Se={provide:he,useExisting:(0,a.Rfq)(()=>je),multi:!0},Fe=new a.nKC("");let je=(()=>{class l extends de{constructor(u,w,S){super(u,w),this._compositionMode=S,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Re(){const l=(0,O.QT)()?(0,O.QT)().getUserAgent():"";return/android (\d+)/.test(l.toLowerCase())}())}writeValue(u){this.setProperty("value",u??"")}_handleInput(u){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(u)}_compositionStart(){this._composing=!0}_compositionEnd(u){this._composing=!1,this._compositionMode&&this.onChange(u)}static{this.\u0275fac=function(w){return new(w||l)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(Fe,8))}}static{this.\u0275dir=a.FsC({type:l,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(w,S){1&w&&a.bIt("input",function(ee){return S._handleInput(ee.target.value)})("blur",function(){return S.onTouched()})("compositionstart",function(){return S._compositionStart()})("compositionend",function(ee){return S._compositionEnd(ee.target.value)})},features:[a.Jv_([Se]),a.Vt3]})}}return l})();function Ke(l){return null==l||("string"==typeof l||Array.isArray(l))&&0===l.length}function Be(l){return null!=l&&"number"==typeof l.length}const qe=new a.nKC(""),Je=new a.nKC(""),Ct=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class It{static min(d){return function pt(l){return d=>{if(Ke(d.value)||Ke(l))return null;const u=parseFloat(d.value);return!isNaN(u)&&u<l?{min:{min:l,actual:d.value}}:null}}(d)}static max(d){return function gt(l){return d=>{if(Ke(d.value)||Ke(l))return null;const u=parseFloat(d.value);return!isNaN(u)&&u>l?{max:{max:l,actual:d.value}}:null}}(d)}static required(d){return function Ht(l){return Ke(l.value)?{required:!0}:null}(d)}static requiredTrue(d){return function Qe(l){return!0===l.value?null:{required:!0}}(d)}static email(d){return function J(l){return Ke(l.value)||Ct.test(l.value)?null:{email:!0}}(d)}static minLength(d){return function be(l){return d=>Ke(d.value)||!Be(d.value)?null:d.value.length<l?{minlength:{requiredLength:l,actualLength:d.value.length}}:null}(d)}static maxLength(d){return function nt(l){return d=>Be(d.value)&&d.value.length>l?{maxlength:{requiredLength:l,actualLength:d.value.length}}:null}(d)}static pattern(d){return function fe(l){if(!l)return re;let d,u;return"string"==typeof l?(u="","^"!==l.charAt(0)&&(u+="^"),u+=l,"$"!==l.charAt(l.length-1)&&(u+="$"),d=new RegExp(u)):(u=l.toString(),d=l),w=>{if(Ke(w.value))return null;const S=w.value;return d.test(S)?null:{pattern:{requiredPattern:u,actualValue:S}}}}(d)}static nullValidator(d){return null}static compose(d){return tt(d)}static composeAsync(d){return Rr(d)}}function re(l){return null}function ve(l){return null!=l}function De(l){return(0,a.jNT)(l)?(0,k.H)(l):l}function $e(l){let d={};return l.forEach(u=>{d=null!=u?{...d,...u}:d}),0===Object.keys(d).length?null:d}function it(l,d){return d.map(u=>u(l))}function gn(l){return l.map(d=>function Gt(l){return!l.validate}(d)?d:u=>d.validate(u))}function tt(l){if(!l)return null;const d=l.filter(ve);return 0==d.length?null:function(u){return $e(it(u,d))}}function Pn(l){return null!=l?tt(gn(l)):null}function Rr(l){if(!l)return null;const d=l.filter(ve);return 0==d.length?null:function(u){const w=it(u,d).map(De);return(0,H.p)(w).pipe((0,X.T)($e))}}function un(l){return null!=l?Rr(gn(l)):null}function dn(l,d){return null===l?[d]:Array.isArray(l)?[...l,d]:[l,d]}function hr(l){return l?Array.isArray(l)?l:[l]:[]}function tr(l,d){return Array.isArray(l)?l.includes(d):l===d}function nr(l,d){const u=hr(d);return hr(l).forEach(S=>{tr(u,S)||u.push(S)}),u}function zt(l,d){return hr(d).filter(u=>!tr(l,u))}class ii{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(d){this._rawValidators=d||[],this._composedValidatorFn=Pn(this._rawValidators)}_setAsyncValidators(d){this._rawAsyncValidators=d||[],this._composedAsyncValidatorFn=un(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(d){this._onDestroyCallbacks.push(d)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(d=>d()),this._onDestroyCallbacks=[]}reset(d=void 0){this.control&&this.control.reset(d)}hasError(d,u){return!!this.control&&this.control.hasError(d,u)}getError(d,u){return this.control?this.control.getError(d,u):null}}class tn extends ii{get formDirective(){return null}get path(){return null}}class _n extends ii{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class oi{constructor(d){this._cd=d}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let rr=(()=>{class l extends oi{constructor(u){super(u)}static{this.\u0275fac=function(w){return new(w||l)(a.rXU(_n,2))}}static{this.\u0275dir=a.FsC({type:l,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(w,S){2&w&&a.AVh("ng-untouched",S.isUntouched)("ng-touched",S.isTouched)("ng-pristine",S.isPristine)("ng-dirty",S.isDirty)("ng-valid",S.isValid)("ng-invalid",S.isInvalid)("ng-pending",S.isPending)},features:[a.Vt3]})}}return l})(),Fr=(()=>{class l extends oi{constructor(u){super(u)}static{this.\u0275fac=function(w){return new(w||l)(a.rXU(tn,10))}}static{this.\u0275dir=a.FsC({type:l,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(w,S){2&w&&a.AVh("ng-untouched",S.isUntouched)("ng-touched",S.isTouched)("ng-pristine",S.isPristine)("ng-dirty",S.isDirty)("ng-valid",S.isValid)("ng-invalid",S.isInvalid)("ng-pending",S.isPending)("ng-submitted",S.isSubmitted)},features:[a.Vt3]})}}return l})();const Zn="VALID",Yn="INVALID",kr="PENDING",Lr="DISABLED";class En{}class an extends En{constructor(d,u){super(),this.value=d,this.source=u}}class oe extends En{constructor(d,u){super(),this.pristine=d,this.source=u}}class se extends En{constructor(d,u){super(),this.touched=d,this.source=u}}class U extends En{constructor(d,u){super(),this.status=d,this.source=u}}function Ue(l){return(Nt(l)?l.validators:l)||null}function Dt(l,d){return(Nt(d)?d.asyncValidators:l)||null}function Nt(l){return null!=l&&!Array.isArray(l)&&"object"==typeof l}class gr{constructor(d,u){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,a.EWP)(()=>this.statusReactive()),this.statusReactive=(0,a.vPA)(void 0),this._pristine=(0,a.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,a.vPA)(!0),this._touched=(0,a.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,a.vPA)(!1),this._events=new W.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(d),this._assignAsyncValidators(u)}get validator(){return this._composedValidatorFn}set validator(d){this._rawValidators=this._composedValidatorFn=d}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(d){this._rawAsyncValidators=this._composedAsyncValidatorFn=d}get parent(){return this._parent}get status(){return(0,a.O8t)(this.statusReactive)}set status(d){(0,a.O8t)(()=>this.statusReactive.set(d))}get valid(){return this.status===Zn}get invalid(){return this.status===Yn}get pending(){return this.status==kr}get disabled(){return this.status===Lr}get enabled(){return this.status!==Lr}get pristine(){return(0,a.O8t)(this.pristineReactive)}set pristine(d){(0,a.O8t)(()=>this.pristineReactive.set(d))}get dirty(){return!this.pristine}get touched(){return(0,a.O8t)(this.touchedReactive)}set touched(d){(0,a.O8t)(()=>this.touchedReactive.set(d))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(d){this._assignValidators(d)}setAsyncValidators(d){this._assignAsyncValidators(d)}addValidators(d){this.setValidators(nr(d,this._rawValidators))}addAsyncValidators(d){this.setAsyncValidators(nr(d,this._rawAsyncValidators))}removeValidators(d){this.setValidators(zt(d,this._rawValidators))}removeAsyncValidators(d){this.setAsyncValidators(zt(d,this._rawAsyncValidators))}hasValidator(d){return tr(this._rawValidators,d)}hasAsyncValidator(d){return tr(this._rawAsyncValidators,d)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(d={}){const u=!1===this.touched;this.touched=!0;const w=d.sourceControl??this;this._parent&&!d.onlySelf&&this._parent.markAsTouched({...d,sourceControl:w}),u&&!1!==d.emitEvent&&this._events.next(new se(!0,w))}markAllAsTouched(d={}){this.markAsTouched({onlySelf:!0,emitEvent:d.emitEvent,sourceControl:this}),this._forEachChild(u=>u.markAllAsTouched(d))}markAsUntouched(d={}){const u=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const w=d.sourceControl??this;this._forEachChild(S=>{S.markAsUntouched({onlySelf:!0,emitEvent:d.emitEvent,sourceControl:w})}),this._parent&&!d.onlySelf&&this._parent._updateTouched(d,w),u&&!1!==d.emitEvent&&this._events.next(new se(!1,w))}markAsDirty(d={}){const u=!0===this.pristine;this.pristine=!1;const w=d.sourceControl??this;this._parent&&!d.onlySelf&&this._parent.markAsDirty({...d,sourceControl:w}),u&&!1!==d.emitEvent&&this._events.next(new oe(!1,w))}markAsPristine(d={}){const u=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const w=d.sourceControl??this;this._forEachChild(S=>{S.markAsPristine({onlySelf:!0,emitEvent:d.emitEvent})}),this._parent&&!d.onlySelf&&this._parent._updatePristine(d,w),u&&!1!==d.emitEvent&&this._events.next(new oe(!0,w))}markAsPending(d={}){this.status=kr;const u=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new U(this.status,u)),this.statusChanges.emit(this.status)),this._parent&&!d.onlySelf&&this._parent.markAsPending({...d,sourceControl:u})}disable(d={}){const u=this._parentMarkedDirty(d.onlySelf);this.status=Lr,this.errors=null,this._forEachChild(S=>{S.disable({...d,onlySelf:!0})}),this._updateValue();const w=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new an(this.value,w)),this._events.next(new U(this.status,w)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...d,skipPristineCheck:u},this),this._onDisabledChange.forEach(S=>S(!0))}enable(d={}){const u=this._parentMarkedDirty(d.onlySelf);this.status=Zn,this._forEachChild(w=>{w.enable({...d,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:d.emitEvent}),this._updateAncestors({...d,skipPristineCheck:u},this),this._onDisabledChange.forEach(w=>w(!1))}_updateAncestors(d,u){this._parent&&!d.onlySelf&&(this._parent.updateValueAndValidity(d),d.skipPristineCheck||this._parent._updatePristine({},u),this._parent._updateTouched({},u))}setParent(d){this._parent=d}getRawValue(){return this.value}updateValueAndValidity(d={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const w=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Zn||this.status===kr)&&this._runAsyncValidator(w,d.emitEvent)}const u=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new an(this.value,u)),this._events.next(new U(this.status,u)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!d.onlySelf&&this._parent.updateValueAndValidity({...d,sourceControl:u})}_updateTreeValidity(d={emitEvent:!0}){this._forEachChild(u=>u._updateTreeValidity(d)),this.updateValueAndValidity({onlySelf:!0,emitEvent:d.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Lr:Zn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(d,u){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==u};const w=De(this.asyncValidator(this));this._asyncValidationSubscription=w.subscribe(S=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(S,{emitEvent:u,shouldHaveEmitted:d})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const d=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,d}return!1}setErrors(d,u={}){this.errors=d,this._updateControlsErrors(!1!==u.emitEvent,this,u.shouldHaveEmitted)}get(d){let u=d;return null==u||(Array.isArray(u)||(u=u.split(".")),0===u.length)?null:u.reduce((w,S)=>w&&w._find(S),this)}getError(d,u){const w=u?this.get(u):this;return w&&w.errors?w.errors[d]:null}hasError(d,u){return!!this.getError(d,u)}get root(){let d=this;for(;d._parent;)d=d._parent;return d}_updateControlsErrors(d,u,w){this.status=this._calculateStatus(),d&&this.statusChanges.emit(this.status),(d||w)&&this._events.next(new U(this.status,u)),this._parent&&this._parent._updateControlsErrors(d,u,w)}_initObservables(){this.valueChanges=new a.bkB,this.statusChanges=new a.bkB}_calculateStatus(){return this._allControlsDisabled()?Lr:this.errors?Yn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Yn)?Yn:Zn}_anyControlsHaveStatus(d){return this._anyControls(u=>u.status===d)}_anyControlsDirty(){return this._anyControls(d=>d.dirty)}_anyControlsTouched(){return this._anyControls(d=>d.touched)}_updatePristine(d,u){const w=!this._anyControlsDirty(),S=this.pristine!==w;this.pristine=w,this._parent&&!d.onlySelf&&this._parent._updatePristine(d,u),S&&this._events.next(new oe(this.pristine,u))}_updateTouched(d={},u){this.touched=this._anyControlsTouched(),this._events.next(new se(this.touched,u)),this._parent&&!d.onlySelf&&this._parent._updateTouched(d,u)}_registerOnCollectionChange(d){this._onCollectionChange=d}_setUpdateStrategy(d){Nt(d)&&null!=d.updateOn&&(this._updateOn=d.updateOn)}_parentMarkedDirty(d){return!d&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(d){return null}_assignValidators(d){this._rawValidators=Array.isArray(d)?d.slice():d,this._composedValidatorFn=function at(l){return Array.isArray(l)?Pn(l):l||null}(this._rawValidators)}_assignAsyncValidators(d){this._rawAsyncValidators=Array.isArray(d)?d.slice():d,this._composedAsyncValidatorFn=function nn(l){return Array.isArray(l)?un(l):l||null}(this._rawAsyncValidators)}}class mr extends gr{constructor(d,u,w){super(Ue(u),Dt(w,u)),this.controls=d,this._initObservables(),this._setUpdateStrategy(u),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(d,u){return this.controls[d]?this.controls[d]:(this.controls[d]=u,u.setParent(this),u._registerOnCollectionChange(this._onCollectionChange),u)}addControl(d,u,w={}){this.registerControl(d,u),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}removeControl(d,u={}){this.controls[d]&&this.controls[d]._registerOnCollectionChange(()=>{}),delete this.controls[d],this.updateValueAndValidity({emitEvent:u.emitEvent}),this._onCollectionChange()}setControl(d,u,w={}){this.controls[d]&&this.controls[d]._registerOnCollectionChange(()=>{}),delete this.controls[d],u&&this.registerControl(d,u),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}contains(d){return this.controls.hasOwnProperty(d)&&this.controls[d].enabled}setValue(d,u={}){(function Bt(l,d,u){l._forEachChild((w,S)=>{if(void 0===u[S])throw new a.wOt(1002,"")})})(this,0,d),Object.keys(d).forEach(w=>{(function Ln(l,d,u){const w=l.controls;if(!(d?Object.keys(w):w).length)throw new a.wOt(1e3,"");if(!w[u])throw new a.wOt(1001,"")})(this,!0,w),this.controls[w].setValue(d[w],{onlySelf:!0,emitEvent:u.emitEvent})}),this.updateValueAndValidity(u)}patchValue(d,u={}){null!=d&&(Object.keys(d).forEach(w=>{const S=this.controls[w];S&&S.patchValue(d[w],{onlySelf:!0,emitEvent:u.emitEvent})}),this.updateValueAndValidity(u))}reset(d={},u={}){this._forEachChild((w,S)=>{w.reset(d?d[S]:null,{onlySelf:!0,emitEvent:u.emitEvent})}),this._updatePristine(u,this),this._updateTouched(u,this),this.updateValueAndValidity(u)}getRawValue(){return this._reduceChildren({},(d,u,w)=>(d[w]=u.getRawValue(),d))}_syncPendingControls(){let d=this._reduceChildren(!1,(u,w)=>!!w._syncPendingControls()||u);return d&&this.updateValueAndValidity({onlySelf:!0}),d}_forEachChild(d){Object.keys(this.controls).forEach(u=>{const w=this.controls[u];w&&d(w,u)})}_setUpControls(){this._forEachChild(d=>{d.setParent(this),d._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(d){for(const[u,w]of Object.entries(this.controls))if(this.contains(u)&&d(w))return!0;return!1}_reduceValue(){return this._reduceChildren({},(u,w,S)=>((w.enabled||this.disabled)&&(u[S]=w.value),u))}_reduceChildren(d,u){let w=d;return this._forEachChild((S,K)=>{w=u(w,S,K)}),w}_allControlsDisabled(){for(const d of Object.keys(this.controls))if(this.controls[d].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(d){return this.controls.hasOwnProperty(d)?this.controls[d]:null}}const ir=new a.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>qr}),qr="always";function Dr(l,d,u=qr){or(l,d),d.valueAccessor.writeValue(l.value),(l.disabled||"always"===u)&&d.valueAccessor.setDisabledState?.(l.disabled),function Gi(l,d){d.valueAccessor.registerOnChange(u=>{l._pendingValue=u,l._pendingChange=!0,l._pendingDirty=!0,"change"===l.updateOn&&Br(l,d)})}(l,d),function mt(l,d){const u=(w,S)=>{d.valueAccessor.writeValue(w),S&&d.viewToModelUpdate(w)};l.registerOnChange(u),d._registerOnDestroy(()=>{l._unregisterOnChange(u)})}(l,d),function zi(l,d){d.valueAccessor.registerOnTouched(()=>{l._pendingTouched=!0,"blur"===l.updateOn&&l._pendingChange&&Br(l,d),"submit"!==l.updateOn&&l.markAsTouched()})}(l,d),function jr(l,d){if(d.valueAccessor.setDisabledState){const u=w=>{d.valueAccessor.setDisabledState(w)};l.registerOnDisabledChange(u),d._registerOnDestroy(()=>{l._unregisterOnDisabledChange(u)})}}(l,d)}function Wn(l,d){l.forEach(u=>{u.registerOnValidatorChange&&u.registerOnValidatorChange(d)})}function or(l,d){const u=function $n(l){return l._rawValidators}(l);null!==d.validator?l.setValidators(dn(u,d.validator)):"function"==typeof u&&l.setValidators([u]);const w=function Fn(l){return l._rawAsyncValidators}(l);null!==d.asyncValidator?l.setAsyncValidators(dn(w,d.asyncValidator)):"function"==typeof w&&l.setAsyncValidators([w]);const S=()=>l.updateValueAndValidity();Wn(d._rawValidators,S),Wn(d._rawAsyncValidators,S)}function Br(l,d){l._pendingDirty&&l.markAsDirty(),l.setValue(l._pendingValue,{emitModelToViewChange:!1}),d.viewToModelUpdate(l._pendingValue),l._pendingChange=!1}const qt={provide:tn,useExisting:(0,a.Rfq)(()=>P)},Kt=Promise.resolve();let P=(()=>{class l extends tn{get submitted(){return(0,a.O8t)(this.submittedReactive)}constructor(u,w,S){super(),this.callSetDisabledState=S,this._submitted=(0,a.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,a.vPA)(!1),this._directives=new Set,this.ngSubmit=new a.bkB,this.form=new mr({},Pn(u),un(w))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(u){Kt.then(()=>{const w=this._findContainer(u.path);u.control=w.registerControl(u.name,u.control),Dr(u.control,u,this.callSetDisabledState),u.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(u)})}getControl(u){return this.form.get(u.path)}removeControl(u){Kt.then(()=>{const w=this._findContainer(u.path);w&&w.removeControl(u.name),this._directives.delete(u)})}addFormGroup(u){Kt.then(()=>{const w=this._findContainer(u.path),S=new mr({});(function ln(l,d){or(l,d)})(S,u),w.registerControl(u.name,S),S.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(u){Kt.then(()=>{const w=this._findContainer(u.path);w&&w.removeControl(u.name)})}getFormGroup(u){return this.form.get(u.path)}updateModel(u,w){Kt.then(()=>{this.form.get(u.path).setValue(w)})}setValue(u){this.control.setValue(u)}onSubmit(u){return this.submittedReactive.set(!0),function Te(l,d){l._syncPendingControls(),d.forEach(u=>{const w=u.control;"submit"===w.updateOn&&w._pendingChange&&(u.viewToModelUpdate(w._pendingValue),w._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(u),"dialog"===u?.target?.method}onReset(){this.resetForm()}resetForm(u=void 0){this.form.reset(u),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(u){return u.pop(),u.length?this.form.get(u):this.form}static{this.\u0275fac=function(w){return new(w||l)(a.rXU(qe,10),a.rXU(Je,10),a.rXU(ir,8))}}static{this.\u0275dir=a.FsC({type:l,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(w,S){1&w&&a.bIt("submit",function(ee){return S.onSubmit(ee)})("reset",function(){return S.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.Jv_([qt]),a.Vt3]})}}return l})();function Me(l,d){const u=l.indexOf(d);u>-1&&l.splice(u,1)}function I(l){return"object"==typeof l&&null!==l&&2===Object.keys(l).length&&"value"in l&&"disabled"in l}const z=class extends gr{constructor(d=null,u,w){super(Ue(u),Dt(w,u)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(d),this._setUpdateStrategy(u),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Nt(u)&&(u.nonNullable||u.initialValueIsDefault)&&(this.defaultValue=I(d)?d.value:d)}setValue(d,u={}){this.value=this._pendingValue=d,this._onChange.length&&!1!==u.emitModelToViewChange&&this._onChange.forEach(w=>w(this.value,!1!==u.emitViewToModelChange)),this.updateValueAndValidity(u)}patchValue(d,u={}){this.setValue(d,u)}reset(d=this.defaultValue,u={}){this._applyFormState(d),this.markAsPristine(u),this.markAsUntouched(u),this.setValue(this.value,u),this._pendingChange=!1}_updateValue(){}_anyControls(d){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(d){this._onChange.push(d)}_unregisterOnChange(d){Me(this._onChange,d)}registerOnDisabledChange(d){this._onDisabledChange.push(d)}_unregisterOnDisabledChange(d){Me(this._onDisabledChange,d)}_forEachChild(d){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(d){I(d)?(this.value=this._pendingValue=d.value,d.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=d}},qi={provide:_n,useExisting:(0,a.Rfq)(()=>To)},So=Promise.resolve();let To=(()=>{class l extends _n{constructor(u,w,S,K,ee,Pe){super(),this._changeDetectorRef=ee,this.callSetDisabledState=Pe,this.control=new z,this._registered=!1,this.name="",this.update=new a.bkB,this._parent=u,this._setValidators(w),this._setAsyncValidators(S),this.valueAccessor=function Oe(l,d){if(!d)return null;let u,w,S;return Array.isArray(d),d.forEach(K=>{K.constructor===je?u=K:function we(l){return Object.getPrototypeOf(l.constructor)===ie}(K)?w=K:S=K}),S||w||u||null}(0,K)}ngOnChanges(u){if(this._checkForErrors(),!this._registered||"name"in u){if(this._registered&&(this._checkName(),this.formDirective)){const w=u.name.previousValue;this.formDirective.removeControl({name:w,path:this._getPath(w)})}this._setUpControl()}"isDisabled"in u&&this._updateDisabled(u),function le(l,d){if(!l.hasOwnProperty("model"))return!1;const u=l.model;return!!u.isFirstChange()||!Object.is(d,u.currentValue)}(u,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(u){this.viewModel=u,this.update.emit(u)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Dr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(u){So.then(()=>{this.control.setValue(u,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(u){const w=u.isDisabled.currentValue,S=0!==w&&(0,a.L39)(w);So.then(()=>{S&&!this.control.disabled?this.control.disable():!S&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(u){return this._parent?function zn(l,d){return[...d.path,l]}(u,this._parent):[u]}static{this.\u0275fac=function(w){return new(w||l)(a.rXU(tn,9),a.rXU(qe,10),a.rXU(Je,10),a.rXU(he,10),a.rXU(a.gRc,8),a.rXU(ir,8))}}static{this.\u0275dir=a.FsC({type:l,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a.Jv_([qi]),a.Vt3,a.OA$]})}}return l})(),fs=(()=>{class l{static{this.\u0275fac=function(w){return new(w||l)}}static{this.\u0275dir=a.FsC({type:l,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return l})();const Mr={provide:he,useExisting:(0,a.Rfq)(()=>Io),multi:!0};let Io=(()=>{class l extends ie{writeValue(u){this.setProperty("value",u??"")}registerOnChange(u){this.onChange=w=>{u(""==w?null:parseFloat(w))}}static{this.\u0275fac=(()=>{let u;return function(S){return(u||(u=a.xGo(l)))(S||l)}})()}static{this.\u0275dir=a.FsC({type:l,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(w,S){1&w&&a.bIt("input",function(ee){return S.onChange(ee.target.value)})("blur",function(){return S.onTouched()})},features:[a.Jv_([Mr]),a.Vt3]})}}return l})();const No={provide:he,useExisting:(0,a.Rfq)(()=>mo),multi:!0};function Xi(l,d){return null==l?`${d}`:(d&&"object"==typeof d&&(d="Object"),`${l}: ${d}`.slice(0,50))}let mo=(()=>{class l extends ie{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(u){this._compareWith=u}writeValue(u){this.value=u;const S=Xi(this._getOptionId(u),u);this.setProperty("value",S)}registerOnChange(u){this.onChange=w=>{this.value=this._getOptionValue(w),u(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(u){for(const w of this._optionMap.keys())if(this._compareWith(this._optionMap.get(w),u))return w;return null}_getOptionValue(u){const w=function Zi(l){return l.split(":")[0]}(u);return this._optionMap.has(w)?this._optionMap.get(w):u}static{this.\u0275fac=(()=>{let u;return function(S){return(u||(u=a.xGo(l)))(S||l)}})()}static{this.\u0275dir=a.FsC({type:l,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(w,S){1&w&&a.bIt("change",function(ee){return S.onChange(ee.target.value)})("blur",function(){return S.onTouched()})},inputs:{compareWith:"compareWith"},features:[a.Jv_([No]),a.Vt3]})}}return l})(),Yi=(()=>{class l{constructor(u,w,S){this._element=u,this._renderer=w,this._select=S,this._select&&(this.id=this._select._registerOption())}set ngValue(u){null!=this._select&&(this._select._optionMap.set(this.id,u),this._setElementValue(Xi(this.id,u)),this._select.writeValue(this._select.value))}set value(u){this._setElementValue(u),this._select&&this._select.writeValue(this._select.value)}_setElementValue(u){this._renderer.setProperty(this._element.nativeElement,"value",u)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(w){return new(w||l)(a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(mo,9))}}static{this.\u0275dir=a.FsC({type:l,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return l})();const Wo={provide:he,useExisting:(0,a.Rfq)(()=>Ji),multi:!0};function qo(l,d){return null==l?`${d}`:("string"==typeof d&&(d=`'${d}'`),d&&"object"==typeof d&&(d="Object"),`${l}: ${d}`.slice(0,50))}let Ji=(()=>{class l extends ie{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(u){this._compareWith=u}writeValue(u){let w;if(this.value=u,Array.isArray(u)){const S=u.map(K=>this._getOptionId(K));w=(K,ee)=>{K._setSelected(S.indexOf(ee.toString())>-1)}}else w=(S,K)=>{S._setSelected(!1)};this._optionMap.forEach(w)}registerOnChange(u){this.onChange=w=>{const S=[],K=w.selectedOptions;if(void 0!==K){const ee=K;for(let Pe=0;Pe<ee.length;Pe++){const Pt=this._getOptionValue(ee[Pe].value);S.push(Pt)}}else{const ee=w.options;for(let Pe=0;Pe<ee.length;Pe++){const pe=ee[Pe];if(pe.selected){const Pt=this._getOptionValue(pe.value);S.push(Pt)}}}this.value=S,u(S)}}_registerOption(u){const w=(this._idCounter++).toString();return this._optionMap.set(w,u),w}_getOptionId(u){for(const w of this._optionMap.keys())if(this._compareWith(this._optionMap.get(w)._value,u))return w;return null}_getOptionValue(u){const w=function Kn(l){return l.split(":")[0]}(u);return this._optionMap.has(w)?this._optionMap.get(w)._value:u}static{this.\u0275fac=(()=>{let u;return function(S){return(u||(u=a.xGo(l)))(S||l)}})()}static{this.\u0275dir=a.FsC({type:l,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(w,S){1&w&&a.bIt("change",function(ee){return S.onChange(ee.target)})("blur",function(){return S.onTouched()})},inputs:{compareWith:"compareWith"},features:[a.Jv_([Wo]),a.Vt3]})}}return l})(),eo=(()=>{class l{constructor(u,w,S){this._element=u,this._renderer=w,this._select=S,this._select&&(this.id=this._select._registerOption(this))}set ngValue(u){null!=this._select&&(this._value=u,this._setElementValue(qo(this.id,u)),this._select.writeValue(this._select.value))}set value(u){this._select?(this._value=u,this._setElementValue(qo(this.id,u)),this._select.writeValue(this._select.value)):this._setElementValue(u)}_setElementValue(u){this._renderer.setProperty(this._element.nativeElement,"value",u)}_setSelected(u){this._renderer.setProperty(this._element.nativeElement,"selected",u)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(w){return new(w||l)(a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(Ji,9))}}static{this.\u0275dir=a.FsC({type:l,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return l})(),Os=(()=>{class l{static{this.\u0275fac=function(w){return new(w||l)}}static{this.\u0275mod=a.$C({type:l})}static{this.\u0275inj=a.G2t({})}}return l})(),f=(()=>{class l{static withConfig(u){return{ngModule:l,providers:[{provide:ir,useValue:u.callSetDisabledState??qr}]}}static{this.\u0275fac=function(w){return new(w||l)}}static{this.\u0275mod=a.$C({type:l})}static{this.\u0275inj=a.G2t({imports:[Os]})}}return l})()},728:(ye,Q,F)=>{"use strict";F.d(Q,{wb:()=>yi});var a=F(3953),O=F(345),k=F(9969);function W(N){return new a.wOt(3e3,!1)}function $n(N){switch(N.length){case 0:return new k.sf;case 1:return N[0];default:return new k.ui(N)}}function Fn(N,f,y=new Map,l=new Map){const d=[],u=[];let w=-1,S=null;if(f.forEach(K=>{const ee=K.get("offset"),Pe=ee==w,pe=Pe&&S||new Map;K.forEach((Pt,Mt)=>{let rt=Mt,dt=Pt;if("offset"!==Mt)switch(rt=N.normalizePropertyName(rt,d),dt){case k.FX:dt=y.get(Mt);break;case k.kp:dt=l.get(Mt);break;default:dt=N.normalizeStyleValue(Mt,rt,dt,d)}pe.set(rt,dt)}),Pe||u.push(pe),S=pe,w=ee}),d.length)throw function fe(){return new a.wOt(3502,!1)}();return u}function hr(N,f,y,l){switch(f){case"start":N.onStart(()=>l(y&&tr(y,"start",N)));break;case"done":N.onDone(()=>l(y&&tr(y,"done",N)));break;case"destroy":N.onDestroy(()=>l(y&&tr(y,"destroy",N)))}}function tr(N,f,y){const u=nr(N.element,N.triggerName,N.fromState,N.toState,f||N.phaseName,y.totalTime??N.totalTime,!!y.disabled),w=N._data;return null!=w&&(u._data=w),u}function nr(N,f,y,l,d="",u=0,w){return{element:N,triggerName:f,fromState:y,toState:l,phaseName:d,totalTime:u,disabled:!!w}}function zt(N,f,y){let l=N.get(f);return l||N.set(f,l=y),l}function ii(N){const f=N.indexOf(":");return[N.substring(1,f),N.slice(f+1)]}const tn=typeof document>"u"?null:document.documentElement;function _n(N){const f=N.parentNode||N.host||null;return f===tn?null:f}let sn=null,fr=!1;function An(N,f){for(;f;){if(f===N)return!0;f=_n(f)}return!1}function wt(N,f,y){if(y)return Array.from(N.querySelectorAll(f));const l=N.querySelector(f);return l?[l]:[]}let Xn=(()=>{class N{validateStyleProperty(y){return function rr(N){sn||(sn=function pr(){return typeof document<"u"?document.body:null}()||{},fr=!!sn.style&&"WebkitAppearance"in sn.style);let f=!0;return sn.style&&!function oi(N){return"ebkit"==N.substring(1,6)}(N)&&(f=N in sn.style,!f&&fr&&(f="Webkit"+N.charAt(0).toUpperCase()+N.slice(1)in sn.style)),f}(y)}containsElement(y,l){return An(y,l)}getParentElement(y){return _n(y)}query(y,l,d){return wt(y,l,d)}computeStyle(y,l,d){return d||""}animate(y,l,d,u,w,S=[],K){return new k.sf(d,u)}static{this.\u0275fac=function(l){return new(l||N)}}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac})}}return N})();class yt{static{this.NOOP=new Xn}}class Ae{}const jt=1e3,hn="ng-enter",Nn="ng-leave",Ft="ng-trigger",Wr=".ng-trigger",Et="ng-animating",At=".ng-animating";function kn(N){if("number"==typeof N)return N;const f=N.match(/^(-?[\.\d]+)(m?s)/);return!f||f.length<2?0:Zn(parseFloat(f[1]),f[2])}function Zn(N,f){return"s"===f?N*jt:N}function Yn(N,f,y){return N.hasOwnProperty("duration")?N:function kr(N,f,y){let d,u=0,w="";if("string"==typeof N){const S=N.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===S)return f.push(W()),{duration:0,delay:0,easing:""};d=Zn(parseFloat(S[1]),S[2]);const K=S[3];null!=K&&(u=Zn(parseFloat(K),S[4]));const ee=S[5];ee&&(w=ee)}else d=N;if(!y){let S=!1,K=f.length;d<0&&(f.push(function X(){return new a.wOt(3100,!1)}()),S=!0),u<0&&(f.push(function de(){return new a.wOt(3101,!1)}()),S=!0),S&&f.splice(K,0,W())}return{duration:d,delay:u,easing:w}}(N,f,y)}function an(N,f,y){f.forEach((l,d)=>{const u=Dt(d);y&&!y.has(d)&&y.set(d,N.style[u]),N.style[u]=l})}function oe(N,f){f.forEach((y,l)=>{const d=Dt(l);N.style[d]=""})}function se(N){return Array.isArray(N)?1==N.length?N[0]:(0,k.K2)(N):N}const q=new RegExp("{{\\s*(.+?)\\s*}}","g");function me(N){let f=[];if("string"==typeof N){let y;for(;y=q.exec(N);)f.push(y[1]);q.lastIndex=0}return f}function Ue(N,f,y){const l=`${N}`,d=l.replace(q,(u,w)=>{let S=f[w];return null==S&&(y.push(function he(){return new a.wOt(3003,!1)}()),S=""),S.toString()});return d==l?N:d}const at=/-+([a-z0-9])/g;function Dt(N){return N.replace(at,(...f)=>f[1].toUpperCase())}function Bt(N,f,y){switch(f.type){case k.If.Trigger:return N.visitTrigger(f,y);case k.If.State:return N.visitState(f,y);case k.If.Transition:return N.visitTransition(f,y);case k.If.Sequence:return N.visitSequence(f,y);case k.If.Group:return N.visitGroup(f,y);case k.If.Animate:return N.visitAnimate(f,y);case k.If.Keyframes:return N.visitKeyframes(f,y);case k.If.Style:return N.visitStyle(f,y);case k.If.Reference:return N.visitReference(f,y);case k.If.AnimateChild:return N.visitAnimateChild(f,y);case k.If.AnimateRef:return N.visitAnimateRef(f,y);case k.If.Query:return N.visitQuery(f,y);case k.If.Stagger:return N.visitStagger(f,y);default:throw function Z(){return new a.wOt(3004,!1)}()}}function gr(N,f){return window.getComputedStyle(N)[f]}const mr=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 Vr extends Ae{normalizePropertyName(f,y){return Dt(f)}normalizeStyleValue(f,y,l,d){let u="";const w=l.toString().trim();if(mr.has(y)&&0!==l&&"0"!==l)if("number"==typeof l)u="px";else{const S=l.match(/^[+-]?[\d\.]+([a-z]*)$/);S&&0==S[1].length&&d.push(function ue(){return new a.wOt(3005,!1)}())}return w+u}}const zn="*";const jr=new Set(["true","1"]),or=new Set(["false","0"]);function Kr(N,f){const y=jr.has(N)||or.has(N),l=jr.has(f)||or.has(f);return(d,u)=>{let w=N==zn||N==d,S=f==zn||f==u;return!w&&y&&"boolean"==typeof d&&(w=d?jr.has(N):or.has(N)),!S&&l&&"boolean"==typeof u&&(S=u?jr.has(f):or.has(f)),w&&S}}const zi=new RegExp("s*:selfs*,?","g");function Br(N,f,y,l){return new ln(N).build(f,y,l)}class ln{constructor(f){this._driver=f}build(f,y,l){const d=new xn(y);return this._resetContextStyleTimingState(d),Bt(this,se(f),d)}_resetContextStyleTimingState(f){f.currentQuerySelector="",f.collectedStyles=new Map,f.collectedStyles.set("",new Map),f.currentTime=0}visitTrigger(f,y){let l=y.queryCount=0,d=y.depCount=0;const u=[],w=[];return"@"==f.name.charAt(0)&&y.errors.push(function Se(){return new a.wOt(3006,!1)}()),f.definitions.forEach(S=>{if(this._resetContextStyleTimingState(y),S.type==k.If.State){const K=S,ee=K.name;ee.toString().split(/\s*,\s*/).forEach(Pe=>{K.name=Pe,u.push(this.visitState(K,y))}),K.name=ee}else if(S.type==k.If.Transition){const K=this.visitTransition(S,y);l+=K.queryCount,d+=K.depCount,w.push(K)}else y.errors.push(function Re(){return new a.wOt(3007,!1)}())}),{type:k.If.Trigger,name:f.name,states:u,transitions:w,queryCount:l,depCount:d,options:null}}visitState(f,y){const l=this.visitStyle(f.styles,y),d=f.options&&f.options.params||null;if(l.containsDynamicStyles){const u=new Set,w=d||{};l.styles.forEach(S=>{S instanceof Map&&S.forEach(K=>{me(K).forEach(ee=>{w.hasOwnProperty(ee)||u.add(ee)})})}),u.size&&y.errors.push(function Fe(){return new a.wOt(3008,!1)}(0,u.values()))}return{type:k.If.State,name:f.name,style:l,options:d?{params:d}:null}}visitTransition(f,y){y.queryCount=0,y.depCount=0;const l=Bt(this,se(f.animation),y),d=function Dr(N,f){const y=[];return"string"==typeof N?N.split(/\s*,\s*/).forEach(l=>function Ur(N,f,y){if(":"==N[0]){const K=function Wn(N,f){switch(N){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(y,l)=>parseFloat(l)>parseFloat(y);case":decrement":return(y,l)=>parseFloat(l)<parseFloat(y);default:return f.push(function Qe(){return new a.wOt(3016,!1)}()),"* => *"}}(N,y);if("function"==typeof K)return void f.push(K);N=K}const l=N.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return y.push(function Ht(){return new a.wOt(3015,!1)}()),f;const d=l[1],u=l[2],w=l[3];f.push(Kr(d,w)),"<"==u[0]&&(d!=zn||w!=zn)&&f.push(Kr(w,d))}(l,y,f)):y.push(N),y}(f.expr,y.errors);return{type:k.If.Transition,matchers:d,animation:l,queryCount:y.queryCount,depCount:y.depCount,options:j(f.options)}}visitSequence(f,y){return{type:k.If.Sequence,steps:f.steps.map(l=>Bt(this,l,y)),options:j(f.options)}}visitGroup(f,y){const l=y.currentTime;let d=0;const u=f.steps.map(w=>{y.currentTime=l;const S=Bt(this,w,y);return d=Math.max(d,y.currentTime),S});return y.currentTime=d,{type:k.If.Group,steps:u,options:j(f.options)}}visitAnimate(f,y){const l=function $(N,f){if(N.hasOwnProperty("duration"))return N;if("number"==typeof N)return le(Yn(N,f).duration,0,"");const y=N;if(y.split(/\s+/).some(u=>"{"==u.charAt(0)&&"{"==u.charAt(1))){const u=le(0,0,"");return u.dynamic=!0,u.strValue=y,u}const d=Yn(y,f);return le(d.duration,d.delay,d.easing)}(f.timings,y.errors);y.currentAnimateTimings=l;let d,u=f.styles?f.styles:(0,k.iF)({});if(u.type==k.If.Keyframes)d=this.visitKeyframes(u,y);else{let w=f.styles,S=!1;if(!w){S=!0;const ee={};l.easing&&(ee.easing=l.easing),w=(0,k.iF)(ee)}y.currentTime+=l.duration+l.delay;const K=this.visitStyle(w,y);K.isEmptyStep=S,d=K}return y.currentAnimateTimings=null,{type:k.If.Animate,timings:l,style:d,options:null}}visitStyle(f,y){const l=this._makeStyleAst(f,y);return this._validateStyleAst(l,y),l}_makeStyleAst(f,y){const l=[],d=Array.isArray(f.styles)?f.styles:[f.styles];for(let S of d)"string"==typeof S?S===k.kp?l.push(S):y.errors.push(new a.wOt(3002,!1)):l.push(new Map(Object.entries(S)));let u=!1,w=null;return l.forEach(S=>{if(S instanceof Map&&(S.has("easing")&&(w=S.get("easing"),S.delete("easing")),!u))for(let K of S.values())if(K.toString().indexOf("{{")>=0){u=!0;break}}),{type:k.If.Style,styles:l,easing:w,offset:f.offset,containsDynamicStyles:u,options:null}}_validateStyleAst(f,y){const l=y.currentAnimateTimings;let d=y.currentTime,u=y.currentTime;l&&u>0&&(u-=l.duration+l.delay),f.styles.forEach(w=>{"string"!=typeof w&&w.forEach((S,K)=>{const ee=y.collectedStyles.get(y.currentQuerySelector),Pe=ee.get(K);let pe=!0;Pe&&(u!=d&&u>=Pe.startTime&&d<=Pe.endTime&&(y.errors.push(function Be(){return new a.wOt(3010,!1)}()),pe=!1),u=Pe.startTime),pe&&ee.set(K,{startTime:u,endTime:d}),y.options&&function U(N,f,y){const l=f.params||{},d=me(N);d.length&&d.forEach(u=>{l.hasOwnProperty(u)||y.push(function ie(){return new a.wOt(3001,!1)}())})}(S,y.options,y.errors)})})}visitKeyframes(f,y){const l={type:k.If.Keyframes,styles:[],options:null};if(!y.currentAnimateTimings)return y.errors.push(function qe(){return new a.wOt(3011,!1)}()),l;let u=0;const w=[];let S=!1,K=!1,ee=0;const Pe=f.steps.map(ut=>{const Mn=this._makeStyleAst(ut,y);let yn=null!=Mn.offset?Mn.offset:function x(N){if("string"==typeof N)return null;let f=null;if(Array.isArray(N))N.forEach(y=>{if(y instanceof Map&&y.has("offset")){const l=y;f=parseFloat(l.get("offset")),l.delete("offset")}});else if(N instanceof Map&&N.has("offset")){const y=N;f=parseFloat(y.get("offset")),y.delete("offset")}return f}(Mn.styles),bn=0;return null!=yn&&(u++,bn=Mn.offset=yn),K=K||bn<0||bn>1,S=S||bn<ee,ee=bn,w.push(bn),Mn});K&&y.errors.push(function Je(){return new a.wOt(3012,!1)}()),S&&y.errors.push(function Ct(){return new a.wOt(3200,!1)}());const pe=f.steps.length;let Pt=0;u>0&&u<pe?y.errors.push(function It(){return new a.wOt(3202,!1)}()):0==u&&(Pt=1/(pe-1));const Mt=pe-1,rt=y.currentTime,dt=y.currentAnimateTimings,on=dt.duration;return Pe.forEach((ut,Mn)=>{const yn=Pt>0?Mn==Mt?1:Pt*Mn:w[Mn],bn=yn*on;y.currentTime=rt+dt.delay+bn,dt.duration=bn,this._validateStyleAst(ut,y),ut.offset=yn,l.styles.push(ut)}),l}visitReference(f,y){return{type:k.If.Reference,animation:Bt(this,se(f.animation),y),options:j(f.options)}}visitAnimateChild(f,y){return y.depCount++,{type:k.If.AnimateChild,options:j(f.options)}}visitAnimateRef(f,y){return{type:k.If.AnimateRef,animation:this.visitReference(f.animation,y),options:j(f.options)}}visitQuery(f,y){const l=y.currentQuerySelector,d=f.options||{};y.queryCount++,y.currentQuery=f;const[u,w]=function ai(N){const f=!!N.split(/\s*,\s*/).find(y=>":self"==y);return f&&(N=N.replace(zi,"")),N=N.replace(/@\*/g,Wr).replace(/@\w+/g,y=>Wr+"-"+y.slice(1)).replace(/:animating/g,At),[N,f]}(f.selector);y.currentQuerySelector=l.length?l+" "+u:u,zt(y.collectedStyles,y.currentQuerySelector,new Map);const S=Bt(this,se(f.animation),y);return y.currentQuery=null,y.currentQuerySelector=l,{type:k.If.Query,selector:u,limit:d.limit||0,optional:!!d.optional,includeSelf:w,animation:S,originalSelector:f.selector,options:j(f.options)}}visitStagger(f,y){y.currentQuery||y.errors.push(function pt(){return new a.wOt(3013,!1)}());const l="full"===f.timings?{duration:0,delay:0,easing:"full"}:Yn(f.timings,y.errors,!0);return{type:k.If.Stagger,animation:Bt(this,se(f.animation),y),timings:l,options:null}}}class xn{constructor(f){this.errors=f,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 j(N){return N?(N={...N}).params&&(N.params=function qn(N){return N?{...N}:null}(N.params)):N={},N}function le(N,f,y){return{duration:N,delay:f,easing:y}}function we(N,f,y,l,d,u,w=null,S=!1){return{type:1,element:N,keyframes:f,preStyleProps:y,postStyleProps:l,duration:d,delay:u,totalTime:d+u,easing:w,subTimeline:S}}class Te{constructor(){this._map=new Map}get(f){return this._map.get(f)||[]}append(f,y){let l=this._map.get(f);l||this._map.set(f,l=[]),l.push(...y)}has(f){return this._map.has(f)}clear(){this._map.clear()}}const We=new RegExp(":enter","g"),Kt=new RegExp(":leave","g");function P(N,f,y,l,d,u=new Map,w=new Map,S,K,ee=[]){return(new Me).buildKeyframes(N,f,y,l,d,u,w,S,K,ee)}class Me{buildKeyframes(f,y,l,d,u,w,S,K,ee,Pe=[]){ee=ee||new Te;const pe=new z(f,y,ee,d,u,Pe,[]);pe.options=K;const Pt=K.delay?kn(K.delay):0;pe.currentTimeline.delayNextStep(Pt),pe.currentTimeline.setStyles([w],null,pe.errors,K),Bt(this,l,pe);const Mt=pe.timelines.filter(rt=>rt.containsAnimation());if(Mt.length&&S.size){let rt;for(let dt=Mt.length-1;dt>=0;dt--){const on=Mt[dt];if(on.element===y){rt=on;break}}rt&&!rt.allowOnlyTimelineStyles()&&rt.setStyles([S],null,pe.errors,K)}return Mt.length?Mt.map(rt=>rt.buildKeyframes()):[we(y,[],[],[],0,Pt,"",!1)]}visitTrigger(f,y){}visitState(f,y){}visitTransition(f,y){}visitAnimateChild(f,y){const l=y.subInstructions.get(y.element);if(l){const d=y.createSubContext(f.options),u=y.currentTimeline.currentTime,w=this._visitSubInstructions(l,d,d.options);u!=w&&y.transformIntoNewTimeline(w)}y.previousNode=f}visitAnimateRef(f,y){const l=y.createSubContext(f.options);l.transformIntoNewTimeline(),this._applyAnimationRefDelays([f.options,f.animation.options],y,l),this.visitReference(f.animation,l),y.transformIntoNewTimeline(l.currentTimeline.currentTime),y.previousNode=f}_applyAnimationRefDelays(f,y,l){for(const d of f){const u=d?.delay;if(u){const w="number"==typeof u?u:kn(Ue(u,d?.params??{},y.errors));l.delayNextStep(w)}}}_visitSubInstructions(f,y,l){let u=y.currentTimeline.currentTime;const w=null!=l.duration?kn(l.duration):null,S=null!=l.delay?kn(l.delay):null;return 0!==w&&f.forEach(K=>{const ee=y.appendInstructionToTimeline(K,w,S);u=Math.max(u,ee.duration+ee.delay)}),u}visitReference(f,y){y.updateOptions(f.options,!0),Bt(this,f.animation,y),y.previousNode=f}visitSequence(f,y){const l=y.subContextCount;let d=y;const u=f.options;if(u&&(u.params||u.delay)&&(d=y.createSubContext(u),d.transformIntoNewTimeline(),null!=u.delay)){d.previousNode.type==k.If.Style&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=I);const w=kn(u.delay);d.delayNextStep(w)}f.steps.length&&(f.steps.forEach(w=>Bt(this,w,d)),d.currentTimeline.applyStylesToKeyframe(),d.subContextCount>l&&d.transformIntoNewTimeline()),y.previousNode=f}visitGroup(f,y){const l=[];let d=y.currentTimeline.currentTime;const u=f.options&&f.options.delay?kn(f.options.delay):0;f.steps.forEach(w=>{const S=y.createSubContext(f.options);u&&S.delayNextStep(u),Bt(this,w,S),d=Math.max(d,S.currentTimeline.currentTime),l.push(S.currentTimeline)}),l.forEach(w=>y.currentTimeline.mergeTimelineCollectedStyles(w)),y.transformIntoNewTimeline(d),y.previousNode=f}_visitTiming(f,y){if(f.dynamic){const l=f.strValue;return Yn(y.params?Ue(l,y.params,y.errors):l,y.errors)}return{duration:f.duration,delay:f.delay,easing:f.easing}}visitAnimate(f,y){const l=y.currentAnimateTimings=this._visitTiming(f.timings,y),d=y.currentTimeline;l.delay&&(y.incrementTime(l.delay),d.snapshotCurrentStyles());const u=f.style;u.type==k.If.Keyframes?this.visitKeyframes(u,y):(y.incrementTime(l.duration),this.visitStyle(u,y),d.applyStylesToKeyframe()),y.currentAnimateTimings=null,y.previousNode=f}visitStyle(f,y){const l=y.currentTimeline,d=y.currentAnimateTimings;!d&&l.hasCurrentStyleProperties()&&l.forwardFrame();const u=d&&d.easing||f.easing;f.isEmptyStep?l.applyEmptyStep(u):l.setStyles(f.styles,u,y.errors,y.options),y.previousNode=f}visitKeyframes(f,y){const l=y.currentAnimateTimings,d=y.currentTimeline.duration,u=l.duration,S=y.createSubContext().currentTimeline;S.easing=l.easing,f.styles.forEach(K=>{S.forwardTime((K.offset||0)*u),S.setStyles(K.styles,K.easing,y.errors,y.options),S.applyStylesToKeyframe()}),y.currentTimeline.mergeTimelineCollectedStyles(S),y.transformIntoNewTimeline(d+u),y.previousNode=f}visitQuery(f,y){const l=y.currentTimeline.currentTime,d=f.options||{},u=d.delay?kn(d.delay):0;u&&(y.previousNode.type===k.If.Style||0==l&&y.currentTimeline.hasCurrentStyleProperties())&&(y.currentTimeline.snapshotCurrentStyles(),y.previousNode=I);let w=l;const S=y.invokeQuery(f.selector,f.originalSelector,f.limit,f.includeSelf,!!d.optional,y.errors);y.currentQueryTotal=S.length;let K=null;S.forEach((ee,Pe)=>{y.currentQueryIndex=Pe;const pe=y.createSubContext(f.options,ee);u&&pe.delayNextStep(u),ee===y.element&&(K=pe.currentTimeline),Bt(this,f.animation,pe),pe.currentTimeline.applyStylesToKeyframe(),w=Math.max(w,pe.currentTimeline.currentTime)}),y.currentQueryIndex=0,y.currentQueryTotal=0,y.transformIntoNewTimeline(w),K&&(y.currentTimeline.mergeTimelineCollectedStyles(K),y.currentTimeline.snapshotCurrentStyles()),y.previousNode=f}visitStagger(f,y){const l=y.parentContext,d=y.currentTimeline,u=f.timings,w=Math.abs(u.duration),S=w*(y.currentQueryTotal-1);let K=w*y.currentQueryIndex;switch(u.duration<0?"reverse":u.easing){case"reverse":K=S-K;break;case"full":K=l.currentStaggerTime}const Pe=y.currentTimeline;K&&Pe.delayNextStep(K);const pe=Pe.currentTime;Bt(this,f.animation,y),y.previousNode=f,l.currentStaggerTime=d.currentTime-pe+(d.startTime-l.currentTimeline.startTime)}}const I={};class z{constructor(f,y,l,d,u,w,S,K){this._driver=f,this.element=y,this.subInstructions=l,this._enterClassName=d,this._leaveClassName=u,this.errors=w,this.timelines=S,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=I,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=K||new ne(this._driver,y,0),S.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(f,y){if(!f)return;const l=f;let d=this.options;null!=l.duration&&(d.duration=kn(l.duration)),null!=l.delay&&(d.delay=kn(l.delay));const u=l.params;if(u){let w=d.params;w||(w=this.options.params={}),Object.keys(u).forEach(S=>{(!y||!w.hasOwnProperty(S))&&(w[S]=Ue(u[S],w,this.errors))})}}_copyOptions(){const f={};if(this.options){const y=this.options.params;if(y){const l=f.params={};Object.keys(y).forEach(d=>{l[d]=y[d]})}}return f}createSubContext(f=null,y,l){const d=y||this.element,u=new z(this._driver,d,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(d,l||0));return u.previousNode=this.previousNode,u.currentAnimateTimings=this.currentAnimateTimings,u.options=this._copyOptions(),u.updateOptions(f),u.currentQueryIndex=this.currentQueryIndex,u.currentQueryTotal=this.currentQueryTotal,u.parentContext=this,this.subContextCount++,u}transformIntoNewTimeline(f){return this.previousNode=I,this.currentTimeline=this.currentTimeline.fork(this.element,f),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(f,y,l){const d={duration:y??f.duration,delay:this.currentTimeline.currentTime+(l??0)+f.delay,easing:""},u=new Ge(this._driver,f.element,f.keyframes,f.preStyleProps,f.postStyleProps,d,f.stretchStartingKeyframe);return this.timelines.push(u),d}incrementTime(f){this.currentTimeline.forwardTime(this.currentTimeline.duration+f)}delayNextStep(f){f>0&&this.currentTimeline.delayNextStep(f)}invokeQuery(f,y,l,d,u,w){let S=[];if(d&&S.push(this.element),f.length>0){f=(f=f.replace(We,"."+this._enterClassName)).replace(Kt,"."+this._leaveClassName);let ee=this._driver.query(this.element,f,1!=l);0!==l&&(ee=l<0?ee.slice(ee.length+l,ee.length):ee.slice(0,l)),S.push(...ee)}return!u&&0==S.length&&w.push(function gt(){return new a.wOt(3014,!1)}()),S}}class ne{constructor(f,y,l,d){this._driver=f,this.element=y,this.startTime=l,this._elementTimelineStylesLookup=d,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(y),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(y,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(f){const y=1===this._keyframes.size&&this._pendingStyles.size;this.duration||y?(this.forwardTime(this.currentTime+f),y&&this.snapshotCurrentStyles()):this.startTime+=f}fork(f,y){return this.applyStylesToKeyframe(),new ne(this._driver,f,y||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(f){this.applyStylesToKeyframe(),this.duration=f,this._loadKeyframe()}_updateStyle(f,y){this._localTimelineStyles.set(f,y),this._globalTimelineStyles.set(f,y),this._styleSummary.set(f,{time:this.currentTime,value:y})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(f){f&&this._previousKeyframe.set("easing",f);for(let[y,l]of this._globalTimelineStyles)this._backFill.set(y,l||k.kp),this._currentKeyframe.set(y,k.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(f,y,l,d){y&&this._previousKeyframe.set("easing",y);const u=d&&d.params||{},w=function Qt(N,f){const y=new Map;let l;return N.forEach(d=>{if("*"===d){l??=f.keys();for(let u of l)y.set(u,k.kp)}else for(let[u,w]of d)y.set(u,w)}),y}(f,this._globalTimelineStyles);for(let[S,K]of w){const ee=Ue(K,u,l);this._pendingStyles.set(S,ee),this._localTimelineStyles.has(S)||this._backFill.set(S,this._globalTimelineStyles.get(S)??k.kp),this._updateStyle(S,ee)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((f,y)=>{this._currentKeyframe.set(y,f)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((f,y)=>{this._currentKeyframe.has(y)||this._currentKeyframe.set(y,f)}))}snapshotCurrentStyles(){for(let[f,y]of this._localTimelineStyles)this._pendingStyles.set(f,y),this._updateStyle(f,y)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const f=[];for(let y in this._currentKeyframe)f.push(y);return f}mergeTimelineCollectedStyles(f){f._styleSummary.forEach((y,l)=>{const d=this._styleSummary.get(l);(!d||y.time>d.time)&&this._updateStyle(l,y.value)})}buildKeyframes(){this.applyStylesToKeyframe();const f=new Set,y=new Set,l=1===this._keyframes.size&&0===this.duration;let d=[];this._keyframes.forEach((S,K)=>{const ee=new Map([...this._backFill,...S]);ee.forEach((Pe,pe)=>{Pe===k.FX?f.add(pe):Pe===k.kp&&y.add(pe)}),l||ee.set("offset",K/this.duration),d.push(ee)});const u=[...f.values()],w=[...y.values()];if(l){const S=d[0],K=new Map(S);S.set("offset",0),K.set("offset",1),d=[S,K]}return we(this.element,d,u,w,this.duration,this.startTime,this.easing,!1)}}class Ge extends ne{constructor(f,y,l,d,u,w,S=!1){super(f,y,w.delay),this.keyframes=l,this.preStyleProps=d,this.postStyleProps=u,this._stretchStartingKeyframe=S,this.timings={duration:w.duration,delay:w.delay,easing:w.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let f=this.keyframes,{delay:y,duration:l,easing:d}=this.timings;if(this._stretchStartingKeyframe&&y){const u=[],w=l+y,S=y/w,K=new Map(f[0]);K.set("offset",0),u.push(K);const ee=new Map(f[0]);ee.set("offset",ct(S)),u.push(ee);const Pe=f.length-1;for(let pe=1;pe<=Pe;pe++){let Pt=new Map(f[pe]);const Mt=Pt.get("offset");Pt.set("offset",ct((y+Mt*l)/w)),u.push(Pt)}l=w,y=0,d="",f=u}return we(this.element,f,this.preStyleProps,this.postStyleProps,l,y,d,!0)}}function ct(N,f=3){const y=Math.pow(10,f-1);return Math.round(N*y)/y}function Jt(N,f,y,l,d,u,w,S,K,ee,Pe,pe,Pt){return{type:0,element:N,triggerName:f,isRemovalTransition:d,fromState:y,fromStyles:u,toState:l,toStyles:w,timelines:S,queriedElements:K,preStyleProps:ee,postStyleProps:Pe,totalTime:pe,errors:Pt}}const yr={};class ho{constructor(f,y,l){this._triggerName=f,this.ast=y,this._stateStyles=l}match(f,y,l,d){return function Wi(N,f,y,l,d){return N.some(u=>u(f,y,l,d))}(this.ast.matchers,f,y,l,d)}buildStyles(f,y,l){let d=this._stateStyles.get("*");return void 0!==f&&(d=this._stateStyles.get(f?.toString())||d),d?d.buildStyles(y,l):new Map}build(f,y,l,d,u,w,S,K,ee,Pe){const pe=[],Pt=this.ast.options&&this.ast.options.params||yr,rt=this.buildStyles(l,S&&S.params||yr,pe),dt=K&&K.params||yr,on=this.buildStyles(d,dt,pe),ut=new Set,Mn=new Map,yn=new Map,bn="void"===d,xo={params:qi(dt,Pt),delay:this.ast.options?.delay},Hr=Pe?[]:P(f,y,this.ast.animation,u,w,rt,on,xo,ee,pe);let Jn=0;return Hr.forEach(er=>{Jn=Math.max(er.duration+er.delay,Jn)}),pe.length?Jt(y,this._triggerName,l,d,bn,rt,on,[],[],Mn,yn,Jn,pe):(Hr.forEach(er=>{const Gr=er.element,no=zt(Mn,Gr,new Set);er.preStyleProps.forEach(Ri=>no.add(Ri));const Ro=zt(yn,Gr,new Set);er.postStyleProps.forEach(Ri=>Ro.add(Ri)),Gr!==y&&ut.add(Gr)}),Jt(y,this._triggerName,l,d,bn,rt,on,Hr,[...ut.values()],Mn,yn,Jn))}}function qi(N,f){const y={...f};return Object.entries(N).forEach(([l,d])=>{null!=d&&(y[l]=d)}),y}class So{constructor(f,y,l){this.styles=f,this.defaultParams=y,this.normalizer=l}buildStyles(f,y){const l=new Map,d=qi(f,this.defaultParams);return this.styles.styles.forEach(u=>{"string"!=typeof u&&u.forEach((w,S)=>{w&&(w=Ue(w,d,y));const K=this.normalizer.normalizePropertyName(S,y);w=this.normalizer.normalizeStyleValue(S,K,w,y),l.set(S,w)})}),l}}class fs{constructor(f,y,l){this.name=f,this.ast=y,this._normalizer=l,this.transitionFactories=[],this.states=new Map,y.states.forEach(d=>{this.states.set(d.name,new So(d.style,d.options&&d.options.params||{},l))}),Io(this.states,"true","1"),Io(this.states,"false","0"),y.transitions.forEach(d=>{this.transitionFactories.push(new ho(f,d,this.states))}),this.fallbackTransition=function Mr(N,f){return new ho(N,{type:k.If.Transition,animation:{type:k.If.Sequence,steps:[],options:null},matchers:[(w,S)=>!0],options:null,queryCount:0,depCount:0},f)}(f,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(f,y,l,d){return this.transitionFactories.find(w=>w.match(f,y,l,d))||null}matchStyles(f,y,l){return this.fallbackTransition.buildStyles(f,y,l)}}function Io(N,f,y){N.has(f)?N.has(y)||N.set(y,N.get(f)):N.has(y)&&N.set(f,N.get(y))}const Ii=new Te;class Ss{constructor(f,y,l){this.bodyNode=f,this._driver=y,this._normalizer=l,this._animations=new Map,this._playersById=new Map,this.players=[]}register(f,y){const l=[],u=Br(this._driver,y,l,[]);if(l.length)throw function re(){return new a.wOt(3503,!1)}();this._animations.set(f,u)}_buildPlayer(f,y,l){const d=f.element,u=Fn(this._normalizer,f.keyframes,y,l);return this._driver.animate(d,u,f.duration,f.delay,f.easing,[],!0)}create(f,y,l={}){const d=[],u=this._animations.get(f);let w;const S=new Map;if(u?(w=P(this._driver,y,u,hn,Nn,new Map,new Map,l,Ii,d),w.forEach(Pe=>{const pe=zt(S,Pe.element,new Map);Pe.postStyleProps.forEach(Pt=>pe.set(Pt,null))})):(d.push(function ve(){return new a.wOt(3300,!1)}()),w=[]),d.length)throw function De(){return new a.wOt(3504,!1)}();S.forEach((Pe,pe)=>{Pe.forEach((Pt,Mt)=>{Pe.set(Mt,this._driver.computeStyle(pe,Mt,k.kp))})});const ee=$n(w.map(Pe=>{const pe=S.get(Pe.element);return this._buildPlayer(Pe,new Map,pe)}));return this._playersById.set(f,ee),ee.onDestroy(()=>this.destroy(f)),this.players.push(ee),ee}destroy(f){const y=this._getPlayer(f);y.destroy(),this._playersById.delete(f);const l=this.players.indexOf(y);l>=0&&this.players.splice(l,1)}_getPlayer(f){const y=this._playersById.get(f);if(!y)throw function $e(){return new a.wOt(3301,!1)}();return y}listen(f,y,l,d){const u=nr(y,"","","");return hr(this._getPlayer(f),l,u,d),()=>{}}command(f,y,l,d){if("register"==l)return void this.register(f,d[0]);if("create"==l)return void this.create(f,y,d[0]||{});const u=this._getPlayer(f);switch(l){case"play":u.play();break;case"pause":u.pause();break;case"reset":u.reset();break;case"restart":u.restart();break;case"finish":u.finish();break;case"init":u.init();break;case"setPosition":u.setPosition(parseFloat(d[0]));break;case"destroy":this.destroy(f)}}}const Ki="ng-animate-queued",fo="ng-animate-disabled",go=[],Po={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ao={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},rn="__ng_removed";class Qr{get params(){return this.options.params}constructor(f,y=""){this.namespaceId=y;const l=f&&f.hasOwnProperty("value");if(this.value=function Xi(N){return N??null}(l?f.value:f),l){const{value:u,...w}=f;this.options=w}else this.options={};this.options.params||(this.options.params={})}absorbOptions(f){const y=f.params;if(y){const l=this.options.params;Object.keys(y).forEach(d=>{null==l[d]&&(l[d]=y[d])})}}}const Xr="void",Pi=new Qr(Xr);class Qi{constructor(f,y,l){this.id=f,this.hostElement=y,this._engine=l,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+f,Kn(y,this._hostClassName)}listen(f,y,l,d){if(!this._triggers.has(y))throw function it(){return new a.wOt(3302,!1)}();if(null==l||0==l.length)throw function Gt(){return new a.wOt(3303,!1)}();if(!function mo(N){return"start"==N||"done"==N}(l))throw function gn(){return new a.wOt(3400,!1)}();const u=zt(this._elementListeners,f,[]),w={name:y,phase:l,callback:d};u.push(w);const S=zt(this._engine.statesByElement,f,new Map);return S.has(y)||(Kn(f,Ft),Kn(f,Ft+"-"+y),S.set(y,Pi)),()=>{this._engine.afterFlush(()=>{const K=u.indexOf(w);K>=0&&u.splice(K,1),this._triggers.has(y)||S.delete(y)})}}register(f,y){return!this._triggers.has(f)&&(this._triggers.set(f,y),!0)}_getTrigger(f){const y=this._triggers.get(f);if(!y)throw function tt(){return new a.wOt(3401,!1)}();return y}trigger(f,y,l,d=!0){const u=this._getTrigger(y),w=new gi(this.id,y,f);let S=this._engine.statesByElement.get(f);S||(Kn(f,Ft),Kn(f,Ft+"-"+y),this._engine.statesByElement.set(f,S=new Map));let K=S.get(y);const ee=new Qr(l,this.id);if(!(l&&l.hasOwnProperty("value"))&&K&&ee.absorbOptions(K.options),S.set(y,ee),K||(K=Pi),ee.value!==Xr&&K.value===ee.value){if(!function $r(N,f){const y=Object.keys(N),l=Object.keys(f);if(y.length!=l.length)return!1;for(let d=0;d<y.length;d++){const u=y[d];if(!f.hasOwnProperty(u)||N[u]!==f[u])return!1}return!0}(K.params,ee.params)){const dt=[],on=u.matchStyles(K.value,K.params,dt),ut=u.matchStyles(ee.value,ee.params,dt);dt.length?this._engine.reportError(dt):this._engine.afterFlush(()=>{oe(f,on),an(f,ut)})}return}const Pt=zt(this._engine.playersByElement,f,[]);Pt.forEach(dt=>{dt.namespaceId==this.id&&dt.triggerName==y&&dt.queued&&dt.destroy()});let Mt=u.matchTransition(K.value,ee.value,f,ee.params),rt=!1;if(!Mt){if(!d)return;Mt=u.fallbackTransition,rt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:y,transition:Mt,fromState:K,toState:ee,player:w,isFallbackTransition:rt}),rt||(Kn(f,Ki),w.onStart(()=>{yo(f,Ki)})),w.onDone(()=>{let dt=this.players.indexOf(w);dt>=0&&this.players.splice(dt,1);const on=this._engine.playersByElement.get(f);if(on){let ut=on.indexOf(w);ut>=0&&on.splice(ut,1)}}),this.players.push(w),Pt.push(w),w}deregister(f){this._triggers.delete(f),this._engine.statesByElement.forEach(y=>y.delete(f)),this._elementListeners.forEach((y,l)=>{this._elementListeners.set(l,y.filter(d=>d.name!=f))})}clearElementCache(f){this._engine.statesByElement.delete(f),this._elementListeners.delete(f);const y=this._engine.playersByElement.get(f);y&&(y.forEach(l=>l.destroy()),this._engine.playersByElement.delete(f))}_signalRemovalForInnerTriggers(f,y){const l=this._engine.driver.query(f,Wr,!0);l.forEach(d=>{if(d[rn])return;const u=this._engine.fetchNamespacesByElement(d);u.size?u.forEach(w=>w.triggerLeaveAnimation(d,y,!1,!0)):this.clearElementCache(d)}),this._engine.afterFlushAnimationsDone(()=>l.forEach(d=>this.clearElementCache(d)))}triggerLeaveAnimation(f,y,l,d){const u=this._engine.statesByElement.get(f),w=new Map;if(u){const S=[];if(u.forEach((K,ee)=>{if(w.set(ee,K.value),this._triggers.has(ee)){const Pe=this.trigger(f,ee,Xr,d);Pe&&S.push(Pe)}}),S.length)return this._engine.markElementAsRemoved(this.id,f,!0,y,w),l&&$n(S).onDone(()=>this._engine.processLeaveNode(f)),!0}return!1}prepareLeaveAnimationListeners(f){const y=this._elementListeners.get(f),l=this._engine.statesByElement.get(f);if(y&&l){const d=new Set;y.forEach(u=>{const w=u.name;if(d.has(w))return;d.add(w);const K=this._triggers.get(w).fallbackTransition,ee=l.get(w)||Pi,Pe=new Qr(Xr),pe=new gi(this.id,w,f);this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:w,transition:K,fromState:ee,toState:Pe,player:pe,isFallbackTransition:!0})})}}removeNode(f,y){const l=this._engine;if(f.childElementCount&&this._signalRemovalForInnerTriggers(f,y),this.triggerLeaveAnimation(f,y,!0))return;let d=!1;if(l.totalAnimations){const u=l.players.length?l.playersByQueriedElement.get(f):[];if(u&&u.length)d=!0;else{let w=f;for(;w=w.parentNode;)if(l.statesByElement.get(w)){d=!0;break}}}if(this.prepareLeaveAnimationListeners(f),d)l.markElementAsRemoved(this.id,f,!1,y);else{const u=f[rn];(!u||u===Po)&&(l.afterFlush(()=>this.clearElementCache(f)),l.destroyInnerAnimations(f),l._onRemovalComplete(f,y))}}insertNode(f,y){Kn(f,this._hostClassName)}drainQueuedTransitions(f){const y=[];return this._queue.forEach(l=>{const d=l.player;if(d.destroyed)return;const u=l.element,w=this._elementListeners.get(u);w&&w.forEach(S=>{if(S.name==l.triggerName){const K=nr(u,l.triggerName,l.fromState.value,l.toState.value);K._data=f,hr(l.player,S.phase,K,S.callback)}}),d.markedForDestroy?this._engine.afterFlush(()=>{d.destroy()}):y.push(l)}),this._queue=[],y.sort((l,d)=>{const u=l.transition.ast.depCount,w=d.transition.ast.depCount;return 0==u||0==w?u-w:this._engine.driver.containsElement(l.element,d.element)?1:-1})}destroy(f){this.players.forEach(y=>y.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,f)}}class zo{_onRemovalComplete(f,y){this.onRemovalComplete(f,y)}constructor(f,y,l){this.bodyNode=f,this.driver=y,this._normalizer=l,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=(d,u)=>{}}get queuedPlayers(){const f=[];return this._namespaceList.forEach(y=>{y.players.forEach(l=>{l.queued&&f.push(l)})}),f}createNamespace(f,y){const l=new Qi(f,y,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,y)?this._balanceNamespaceList(l,y):(this.newHostElements.set(y,l),this.collectEnterElement(y)),this._namespaceLookup[f]=l}_balanceNamespaceList(f,y){const l=this._namespaceList,d=this.namespacesByHostElement;if(l.length-1>=0){let w=!1,S=this.driver.getParentElement(y);for(;S;){const K=d.get(S);if(K){const ee=l.indexOf(K);l.splice(ee+1,0,f),w=!0;break}S=this.driver.getParentElement(S)}w||l.unshift(f)}else l.push(f);return d.set(y,f),f}register(f,y){let l=this._namespaceLookup[f];return l||(l=this.createNamespace(f,y)),l}registerTrigger(f,y,l){let d=this._namespaceLookup[f];d&&d.register(y,l)&&this.totalAnimations++}destroy(f,y){f&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const l=this._fetchNamespace(f);this.namespacesByHostElement.delete(l.hostElement);const d=this._namespaceList.indexOf(l);d>=0&&this._namespaceList.splice(d,1),l.destroy(y),delete this._namespaceLookup[f]}))}_fetchNamespace(f){return this._namespaceLookup[f]}fetchNamespacesByElement(f){const y=new Set,l=this.statesByElement.get(f);if(l)for(let d of l.values())if(d.namespaceId){const u=this._fetchNamespace(d.namespaceId);u&&y.add(u)}return y}trigger(f,y,l,d){if(Zi(y)){const u=this._fetchNamespace(f);if(u)return u.trigger(y,l,d),!0}return!1}insertNode(f,y,l,d){if(!Zi(y))return;const u=y[rn];if(u&&u.setForRemoval){u.setForRemoval=!1,u.setForMove=!0;const w=this.collectedLeaveElements.indexOf(y);w>=0&&this.collectedLeaveElements.splice(w,1)}if(f){const w=this._fetchNamespace(f);w&&w.insertNode(y,l)}d&&this.collectEnterElement(y)}collectEnterElement(f){this.collectedEnterElements.push(f)}markElementAsDisabled(f,y){y?this.disabledNodes.has(f)||(this.disabledNodes.add(f),Kn(f,fo)):this.disabledNodes.has(f)&&(this.disabledNodes.delete(f),yo(f,fo))}removeNode(f,y,l){if(Zi(y)){const d=f?this._fetchNamespace(f):null;d?d.removeNode(y,l):this.markElementAsRemoved(f,y,!1,l);const u=this.namespacesByHostElement.get(y);u&&u.id!==f&&u.removeNode(y,l)}else this._onRemovalComplete(y,l)}markElementAsRemoved(f,y,l,d,u){this.collectedLeaveElements.push(y),y[rn]={namespaceId:f,setForRemoval:d,hasAnimation:l,removedBeforeQueried:!1,previousTriggersValues:u}}listen(f,y,l,d,u){return Zi(y)?this._fetchNamespace(f).listen(y,l,d,u):()=>{}}_buildInstruction(f,y,l,d,u){return f.transition.build(this.driver,f.element,f.fromState.value,f.toState.value,l,d,f.fromState.options,f.toState.options,y,u)}destroyInnerAnimations(f){let y=this.driver.query(f,Wr,!0);y.forEach(l=>this.destroyActiveAnimationsForElement(l)),0!=this.playersByQueriedElement.size&&(y=this.driver.query(f,At,!0),y.forEach(l=>this.finishActiveQueriedAnimationOnElement(l)))}destroyActiveAnimationsForElement(f){const y=this.playersByElement.get(f);y&&y.forEach(l=>{l.queued?l.markedForDestroy=!0:l.destroy()})}finishActiveQueriedAnimationOnElement(f){const y=this.playersByQueriedElement.get(f);y&&y.forEach(l=>l.finish())}whenRenderingDone(){return new Promise(f=>{if(this.players.length)return $n(this.players).onDone(()=>f());f()})}processLeaveNode(f){const y=f[rn];if(y&&y.setForRemoval){if(f[rn]=Po,y.namespaceId){this.destroyInnerAnimations(f);const l=this._fetchNamespace(y.namespaceId);l&&l.clearElementCache(f)}this._onRemovalComplete(f,y.setForRemoval)}f.classList?.contains(fo)&&this.markElementAsDisabled(f,!1),this.driver.query(f,".ng-animate-disabled",!0).forEach(l=>{this.markElementAsDisabled(l,!1)})}flush(f=-1){let y=[];if(this.newHostElements.size&&(this.newHostElements.forEach((l,d)=>this._balanceNamespaceList(l,d)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let l=0;l<this.collectedEnterElements.length;l++)Kn(this.collectedEnterElements[l],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const l=[];try{y=this._flushAnimations(l,f)}finally{for(let d=0;d<l.length;d++)l[d]()}}else for(let l=0;l<this.collectedLeaveElements.length;l++)this.processLeaveNode(this.collectedLeaveElements[l]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(l=>l()),this._flushFns=[],this._whenQuietFns.length){const l=this._whenQuietFns;this._whenQuietFns=[],y.length?$n(y).onDone(()=>{l.forEach(d=>d())}):l.forEach(d=>d())}}reportError(f){throw function Pn(){return new a.wOt(3402,!1)}()}_flushAnimations(f,y){const l=new Te,d=[],u=new Map,w=[],S=new Map,K=new Map,ee=new Map,Pe=new Set;this.disabledNodes.forEach(ze=>{Pe.add(ze);const Xe=this.driver.query(ze,".ng-animate-queued",!0);for(let lt=0;lt<Xe.length;lt++)Pe.add(Xe[lt])});const pe=this.bodyNode,Pt=Array.from(this.statesByElement.keys()),Mt=qo(Pt,this.collectedEnterElements),rt=new Map;let dt=0;Mt.forEach((ze,Xe)=>{const lt=hn+dt++;rt.set(Xe,lt),ze.forEach(xt=>Kn(xt,lt))});const on=[],ut=new Set,Mn=new Set;for(let ze=0;ze<this.collectedLeaveElements.length;ze++){const Xe=this.collectedLeaveElements[ze],lt=Xe[rn];lt&&lt.setForRemoval&&(on.push(Xe),ut.add(Xe),lt.hasAnimation?this.driver.query(Xe,".ng-star-inserted",!0).forEach(xt=>ut.add(xt)):Mn.add(Xe))}const yn=new Map,bn=qo(Pt,Array.from(ut));bn.forEach((ze,Xe)=>{const lt=Nn+dt++;yn.set(Xe,lt),ze.forEach(xt=>Kn(xt,lt))}),f.push(()=>{Mt.forEach((ze,Xe)=>{const lt=rt.get(Xe);ze.forEach(xt=>yo(xt,lt))}),bn.forEach((ze,Xe)=>{const lt=yn.get(Xe);ze.forEach(xt=>yo(xt,lt))}),on.forEach(ze=>{this.processLeaveNode(ze)})});const xo=[],Hr=[];for(let ze=this._namespaceList.length-1;ze>=0;ze--)this._namespaceList[ze].drainQueuedTransitions(y).forEach(lt=>{const xt=lt.player,Qn=lt.element;if(xo.push(xt),this.collectedEnterElements.length){const Sn=Qn[rn];if(Sn&&Sn.setForMove){if(Sn.previousTriggersValues&&Sn.previousTriggersValues.has(lt.triggerName)){const ki=Sn.previousTriggersValues.get(lt.triggerName),Tn=this.statesByElement.get(lt.element);if(Tn&&Tn.has(lt.triggerName)){const zr=Tn.get(lt.triggerName);zr.value=ki,Tn.set(lt.triggerName,zr)}}return void xt.destroy()}}const Fi=!pe||!this.driver.containsElement(pe,Qn),Zr=yn.get(Qn),ro=rt.get(Qn),cn=this._buildInstruction(lt,l,ro,Zr,Fi);if(cn.errors&&cn.errors.length)return void Hr.push(cn);if(Fi)return xt.onStart(()=>oe(Qn,cn.fromStyles)),xt.onDestroy(()=>an(Qn,cn.toStyles)),void d.push(xt);if(lt.isFallbackTransition)return xt.onStart(()=>oe(Qn,cn.fromStyles)),xt.onDestroy(()=>an(Qn,cn.toStyles)),void d.push(xt);const Co=[];cn.timelines.forEach(Sn=>{Sn.stretchStartingKeyframe=!0,this.disabledNodes.has(Sn.element)||Co.push(Sn)}),cn.timelines=Co,l.append(Qn,cn.timelines),w.push({instruction:cn,player:xt,element:Qn}),cn.queriedElements.forEach(Sn=>zt(S,Sn,[]).push(xt)),cn.preStyleProps.forEach((Sn,ki)=>{if(Sn.size){let Tn=K.get(ki);Tn||K.set(ki,Tn=new Set),Sn.forEach((zr,ko)=>Tn.add(ko))}}),cn.postStyleProps.forEach((Sn,ki)=>{let Tn=ee.get(ki);Tn||ee.set(ki,Tn=new Set),Sn.forEach((zr,ko)=>Tn.add(ko))})});if(Hr.length){const ze=[];Hr.forEach(Xe=>{ze.push(function un(){return new a.wOt(3505,!1)}())}),xo.forEach(Xe=>Xe.destroy()),this.reportError(ze)}const Jn=new Map,er=new Map;w.forEach(ze=>{const Xe=ze.element;l.has(Xe)&&(er.set(Xe,Xe),this._beforeAnimationBuild(ze.player.namespaceId,ze.instruction,Jn))}),d.forEach(ze=>{const Xe=ze.element;this._getPreviousPlayers(Xe,!1,ze.namespaceId,ze.triggerName,null).forEach(xt=>{zt(Jn,Xe,[]).push(xt),xt.destroy()})});const Gr=on.filter(ze=>sr(ze,K,ee)),no=new Map;Wo(no,this.driver,Mn,ee,k.kp).forEach(ze=>{sr(ze,K,ee)&&Gr.push(ze)});const Ri=new Map;Mt.forEach((ze,Xe)=>{Wo(Ri,this.driver,new Set(ze),K,k.FX)}),Gr.forEach(ze=>{const Xe=no.get(ze),lt=Ri.get(ze);no.set(ze,new Map([...Xe?.entries()??[],...lt?.entries()??[]]))});const st=[],Zo=[],Fo={};w.forEach(ze=>{const{element:Xe,player:lt,instruction:xt}=ze;if(l.has(Xe)){if(Pe.has(Xe))return lt.onDestroy(()=>an(Xe,xt.toStyles)),lt.disabled=!0,lt.overrideTotalTime(xt.totalTime),void d.push(lt);let Qn=Fo;if(er.size>1){let Zr=Xe;const ro=[];for(;Zr=Zr.parentNode;){const cn=er.get(Zr);if(cn){Qn=cn;break}ro.push(Zr)}ro.forEach(cn=>er.set(cn,Qn))}const Fi=this._buildAnimation(lt.namespaceId,xt,Jn,u,Ri,no);if(lt.setRealPlayer(Fi),Qn===Fo)st.push(lt);else{const Zr=this.playersByElement.get(Qn);Zr&&Zr.length&&(lt.parentPlayer=$n(Zr)),d.push(lt)}}else oe(Xe,xt.fromStyles),lt.onDestroy(()=>an(Xe,xt.toStyles)),Zo.push(lt),Pe.has(Xe)&&d.push(lt)}),Zo.forEach(ze=>{const Xe=u.get(ze.element);if(Xe&&Xe.length){const lt=$n(Xe);ze.setRealPlayer(lt)}}),d.forEach(ze=>{ze.parentPlayer?ze.syncPlayerEvents(ze.parentPlayer):ze.destroy()});for(let ze=0;ze<on.length;ze++){const Xe=on[ze],lt=Xe[rn];if(yo(Xe,Nn),lt&&lt.hasAnimation)continue;let xt=[];if(S.size){let Fi=S.get(Xe);Fi&&Fi.length&&xt.push(...Fi);let Zr=this.driver.query(Xe,At,!0);for(let ro=0;ro<Zr.length;ro++){let cn=S.get(Zr[ro]);cn&&cn.length&&xt.push(...cn)}}const Qn=xt.filter(Fi=>!Fi.destroyed);Qn.length?Ji(this,Xe,Qn):this.processLeaveNode(Xe)}return on.length=0,st.forEach(ze=>{this.players.push(ze),ze.onDone(()=>{ze.destroy();const Xe=this.players.indexOf(ze);this.players.splice(Xe,1)}),ze.play()}),st}afterFlush(f){this._flushFns.push(f)}afterFlushAnimationsDone(f){this._whenQuietFns.push(f)}_getPreviousPlayers(f,y,l,d,u){let w=[];if(y){const S=this.playersByQueriedElement.get(f);S&&(w=S)}else{const S=this.playersByElement.get(f);if(S){const K=!u||u==Xr;S.forEach(ee=>{ee.queued||!K&&ee.triggerName!=d||w.push(ee)})}}return(l||d)&&(w=w.filter(S=>!(l&&l!=S.namespaceId||d&&d!=S.triggerName))),w}_beforeAnimationBuild(f,y,l){const u=y.element,w=y.isRemovalTransition?void 0:f,S=y.isRemovalTransition?void 0:y.triggerName;for(const K of y.timelines){const ee=K.element,Pe=ee!==u,pe=zt(l,ee,[]);this._getPreviousPlayers(ee,Pe,w,S,y.toState).forEach(Mt=>{const rt=Mt.getRealPlayer();rt.beforeDestroy&&rt.beforeDestroy(),Mt.destroy(),pe.push(Mt)})}oe(u,y.fromStyles)}_buildAnimation(f,y,l,d,u,w){const S=y.triggerName,K=y.element,ee=[],Pe=new Set,pe=new Set,Pt=y.timelines.map(rt=>{const dt=rt.element;Pe.add(dt);const on=dt[rn];if(on&&on.removedBeforeQueried)return new k.sf(rt.duration,rt.delay);const ut=dt!==K,Mn=function eo(N){const f=[];return ke(N,f),f}((l.get(dt)||go).map(Jn=>Jn.getRealPlayer())).filter(Jn=>!!Jn.element&&Jn.element===dt),yn=u.get(dt),bn=w.get(dt),xo=Fn(this._normalizer,rt.keyframes,yn,bn),Hr=this._buildPlayer(rt,xo,Mn);if(rt.subTimeline&&d&&pe.add(dt),ut){const Jn=new gi(f,S,dt);Jn.setRealPlayer(Hr),ee.push(Jn)}return Hr});ee.forEach(rt=>{zt(this.playersByQueriedElement,rt.element,[]).push(rt),rt.onDone(()=>function No(N,f,y){let l=N.get(f);if(l){if(l.length){const d=l.indexOf(y);l.splice(d,1)}0==l.length&&N.delete(f)}return l}(this.playersByQueriedElement,rt.element,rt))}),Pe.forEach(rt=>Kn(rt,Et));const Mt=$n(Pt);return Mt.onDestroy(()=>{Pe.forEach(rt=>yo(rt,Et)),an(K,y.toStyles)}),pe.forEach(rt=>{zt(d,rt,[]).push(Mt)}),Mt}_buildPlayer(f,y,l){return y.length>0?this.driver.animate(f.element,y,f.duration,f.delay,f.easing,l):new k.sf(f.duration,f.delay)}}class gi{constructor(f,y,l){this.namespaceId=f,this.triggerName=y,this.element=l,this._player=new k.sf,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(f){this._containsRealPlayer||(this._player=f,this._queuedCallbacks.forEach((y,l)=>{y.forEach(d=>hr(f,l,void 0,d))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(f.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(f){this.totalTime=f}syncPlayerEvents(f){const y=this._player;y.triggerCallback&&f.onStart(()=>y.triggerCallback("start")),f.onDone(()=>this.finish()),f.onDestroy(()=>this.destroy())}_queueEvent(f,y){zt(this._queuedCallbacks,f,[]).push(y)}onDone(f){this.queued&&this._queueEvent("done",f),this._player.onDone(f)}onStart(f){this.queued&&this._queueEvent("start",f),this._player.onStart(f)}onDestroy(f){this.queued&&this._queueEvent("destroy",f),this._player.onDestroy(f)}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(f){this.queued||this._player.setPosition(f)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(f){const y=this._player;y.triggerCallback&&y.triggerCallback(f)}}function Zi(N){return N&&1===N.nodeType}function Yi(N,f){const y=N.style.display;return N.style.display=f??"none",y}function Wo(N,f,y,l,d){const u=[];y.forEach(K=>u.push(Yi(K)));const w=[];l.forEach((K,ee)=>{const Pe=new Map;K.forEach(pe=>{const Pt=f.computeStyle(ee,pe,d);Pe.set(pe,Pt),(!Pt||0==Pt.length)&&(ee[rn]=Ao,w.push(ee))}),N.set(ee,Pe)});let S=0;return y.forEach(K=>Yi(K,u[S++])),w}function qo(N,f){const y=new Map;if(N.forEach(S=>y.set(S,[])),0==f.length)return y;const d=new Set(f),u=new Map;function w(S){if(!S)return 1;let K=u.get(S);if(K)return K;const ee=S.parentNode;return K=y.has(ee)?ee:d.has(ee)?1:w(ee),u.set(S,K),K}return f.forEach(S=>{const K=w(S);1!==K&&y.get(K).push(S)}),y}function Kn(N,f){N.classList?.add(f)}function yo(N,f){N.classList?.remove(f)}function Ji(N,f,y){$n(y).onDone(()=>N.processLeaveNode(f))}function ke(N,f){for(let y=0;y<N.length;y++){const l=N[y];l instanceof k.ui?ke(l.players,f):f.push(l)}}function sr(N,f,y){const l=y.get(N);if(!l)return!1;let d=f.get(N);return d?l.forEach(u=>d.add(u)):f.set(N,l),y.delete(N),!0}class Ai{constructor(f,y,l){this._driver=y,this._normalizer=l,this._triggerCache={},this.onRemovalComplete=(d,u)=>{},this._transitionEngine=new zo(f.body,y,l),this._timelineEngine=new Ss(f.body,y,l),this._transitionEngine.onRemovalComplete=(d,u)=>this.onRemovalComplete(d,u)}registerTrigger(f,y,l,d,u){const w=f+"-"+d;let S=this._triggerCache[w];if(!S){const K=[],Pe=Br(this._driver,u,K,[]);if(K.length)throw function nt(){return new a.wOt(3404,!1)}();S=function To(N,f,y){return new fs(N,f,y)}(d,Pe,this._normalizer),this._triggerCache[w]=S}this._transitionEngine.registerTrigger(y,d,S)}register(f,y){this._transitionEngine.register(f,y)}destroy(f,y){this._transitionEngine.destroy(f,y)}onInsert(f,y,l,d){this._transitionEngine.insertNode(f,y,l,d)}onRemove(f,y,l){this._transitionEngine.removeNode(f,y,l)}disableAnimations(f,y){this._transitionEngine.markElementAsDisabled(f,y)}process(f,y,l,d){if("@"==l.charAt(0)){const[u,w]=ii(l);this._timelineEngine.command(u,y,w,d)}else this._transitionEngine.trigger(f,y,l,d)}listen(f,y,l,d,u){if("@"==l.charAt(0)){const[w,S]=ii(l);return this._timelineEngine.listen(w,y,S,u)}return this._transitionEngine.listen(f,y,l,d,u)}flush(f=-1){this._transitionEngine.flush(f)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(f){this._transitionEngine.afterFlushAnimationsDone(f)}}class mi{static{this.initialStylesByElement=new WeakMap}constructor(f,y,l){this._element=f,this._startStyles=y,this._endStyles=l,this._state=0;let d=mi.initialStylesByElement.get(f);d||mi.initialStylesByElement.set(f,d=new Map),this._initialStyles=d}start(){this._state<1&&(this._startStyles&&an(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(an(this._element,this._initialStyles),this._endStyles&&(an(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(mi.initialStylesByElement.delete(this._element),this._startStyles&&(oe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(oe(this._element,this._endStyles),this._endStyles=null),an(this._element,this._initialStyles),this._state=3)}}function Ni(N){let f=null;return N.forEach((y,l)=>{(function li(N){return"display"===N||"position"===N})(l)&&(f=f||new Map,f.set(l,y))}),f}class ci{constructor(f,y,l,d){this.element=f,this.keyframes=y,this.options=l,this._specialStyles=d,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=l.duration,this._delay=l.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(f=>f()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const f=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,f,this.options),this._finalKeyframe=f.length?f[f.length-1]:new Map;const y=()=>this._onFinish();this.domPlayer.addEventListener("finish",y),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",y)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(f){const y=[];return f.forEach(l=>{y.push(Object.fromEntries(l))}),y}_triggerWebAnimation(f,y,l){return f.animate(this._convertKeyframesToObject(y),l)}onStart(f){this._originalOnStartFns.push(f),this._onStartFns.push(f)}onDone(f){this._originalOnDoneFns.push(f),this._onDoneFns.push(f)}onDestroy(f){this._onDestroyFns.push(f)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(f=>f()),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(f=>f()),this._onDestroyFns=[])}setPosition(f){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=f*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const f=new Map;this.hasStarted()&&this._finalKeyframe.forEach((l,d)=>{"offset"!==d&&f.set(d,this._finished?l:gr(this.element,d))}),this.currentSnapshot=f}triggerCallback(f){const y="start"===f?this._onStartFns:this._onDoneFns;y.forEach(l=>l()),y.length=0}}class vr{validateStyleProperty(f){return!0}validateAnimatableStyleProperty(f){return!0}containsElement(f,y){return An(f,y)}getParentElement(f){return _n(f)}query(f,y,l){return wt(f,y,l)}computeStyle(f,y,l){return gr(f,y)}animate(f,y,l,d,u,w=[]){const K={duration:l,delay:d,fill:0==d?"both":"forwards"};u&&(K.easing=u);const ee=new Map,Pe=w.filter(Mt=>Mt instanceof ci);(function Nt(N,f){return 0===N||0===f})(l,d)&&Pe.forEach(Mt=>{Mt.currentSnapshot.forEach((rt,dt)=>ee.set(dt,rt))});let pe=function Lr(N){return N.length?N[0]instanceof Map?N:N.map(f=>new Map(Object.entries(f))):[]}(y).map(Mt=>new Map(Mt));pe=function Ln(N,f,y){if(y.size&&f.length){let l=f[0],d=[];if(y.forEach((u,w)=>{l.has(w)||d.push(w),l.set(w,u)}),d.length)for(let u=1;u<f.length;u++){let w=f[u];d.forEach(S=>w.set(S,gr(N,S)))}}return f}(f,pe,ee);const Pt=function Ko(N,f){let y=null,l=null;return Array.isArray(f)&&f.length?(y=Ni(f[0]),f.length>1&&(l=Ni(f[f.length-1]))):f instanceof Map&&(y=Ni(f)),y||l?new mi(N,y,l):null}(f,pe);return new ci(f,pe,K,Pt)}}const Sr="@.disabled";class Qo{constructor(f,y,l,d){this.namespaceId=f,this.delegate=y,this.engine=l,this._onDestroy=d,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(f){this.delegate.destroyNode?.(f)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(f,y){return this.delegate.createElement(f,y)}createComment(f){return this.delegate.createComment(f)}createText(f){return this.delegate.createText(f)}appendChild(f,y){this.delegate.appendChild(f,y),this.engine.onInsert(this.namespaceId,y,f,!1)}insertBefore(f,y,l,d=!0){this.delegate.insertBefore(f,y,l),this.engine.onInsert(this.namespaceId,y,f,d)}removeChild(f,y,l){this.parentNode(y)&&this.engine.onRemove(this.namespaceId,y,this.delegate)}selectRootElement(f,y){return this.delegate.selectRootElement(f,y)}parentNode(f){return this.delegate.parentNode(f)}nextSibling(f){return this.delegate.nextSibling(f)}setAttribute(f,y,l,d){this.delegate.setAttribute(f,y,l,d)}removeAttribute(f,y,l){this.delegate.removeAttribute(f,y,l)}addClass(f,y){this.delegate.addClass(f,y)}removeClass(f,y){this.delegate.removeClass(f,y)}setStyle(f,y,l,d){this.delegate.setStyle(f,y,l,d)}removeStyle(f,y,l){this.delegate.removeStyle(f,y,l)}setProperty(f,y,l){"@"==y.charAt(0)&&y==Sr?this.disableAnimations(f,!!l):this.delegate.setProperty(f,y,l)}setValue(f,y){this.delegate.setValue(f,y)}listen(f,y,l){return this.delegate.listen(f,y,l)}disableAnimations(f,y){this.engine.disableAnimations(f,y)}}class Dn extends Qo{constructor(f,y,l,d,u){super(y,l,d,u),this.factory=f,this.namespaceId=y}setProperty(f,y,l){"@"==y.charAt(0)?"."==y.charAt(1)&&y==Sr?this.disableAnimations(f,l=void 0===l||!!l):this.engine.process(this.namespaceId,f,y.slice(1),l):this.delegate.setProperty(f,y,l)}listen(f,y,l){if("@"==y.charAt(0)){const d=function vo(N){switch(N){case"body":return document.body;case"document":return document;case"window":return window;default:return N}}(f);let u=y.slice(1),w="";return"@"!=u.charAt(0)&&([u,w]=function _o(N){const f=N.indexOf(".");return[N.substring(0,f),N.slice(f+1)]}(u)),this.engine.listen(this.namespaceId,d,u,w,S=>{this.factory.scheduleListenerCallback(S._data||-1,l,S)})}return this.delegate.listen(f,y,l)}}class $t{constructor(f,y,l){this.delegate=f,this.engine=y,this._zone=l,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,y.onRemovalComplete=(d,u)=>{u?.removeChild(null,d)}}createRenderer(f,y){const d=this.delegate.createRenderer(f,y);if(!f||!y?.data?.animation){const ee=this._rendererCache;let Pe=ee.get(d);return Pe||(Pe=new Qo("",d,this.engine,()=>ee.delete(d)),ee.set(d,Pe)),Pe}const u=y.id,w=y.id+"-"+this._currentId;this._currentId++,this.engine.register(w,f);const S=ee=>{Array.isArray(ee)?ee.forEach(S):this.engine.registerTrigger(u,w,f,ee.name,ee)};return y.data.animation.forEach(S),new Dn(this,w,d,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(f,y,l){if(f>=0&&f<this._microtaskId)return void this._zone.run(()=>y(l));const d=this._animationCallbacksBuffer;0==d.length&&queueMicrotask(()=>{this._zone.run(()=>{d.forEach(u=>{const[w,S]=u;w(S)}),this._animationCallbacksBuffer=[]})}),d.push([y,l])}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()}}var Is=F(177);const Xo=[{provide:Ae,useFactory:function ps(){return new Vr}},{provide:Ai,useClass:(()=>{class N extends Ai{constructor(y,l,d){super(y,l,d)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(l){return new(l||N)(a.KVO(Is.qQ),a.KVO(yt),a.KVO(Ae))}}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac})}}return N})()},{provide:a._9s,useFactory:function Os(N,f,y){return new $t(N,f,y)},deps:[O.B7,Ai,a.SKi]}],xi=[{provide:yt,useFactory:()=>new vr},{provide:a.bc$,useValue:"BrowserAnimations"},...Xo],et=[{provide:yt,useClass:Xn},{provide:a.bc$,useValue:"NoopAnimations"},...Xo];let yi=(()=>{class N{static withConfig(y){return{ngModule:N,providers:y.disableAnimations?et:xi}}static{this.\u0275fac=function(l){return new(l||N)}}static{this.\u0275mod=a.$C({type:N})}static{this.\u0275inj=a.G2t({providers:xi,imports:[O.Bb]})}}return N})()},345:(ye,Q,F)=>{"use strict";F.d(Q,{B7:()=>Qe,Bb:()=>oi,hE:()=>rr,sG:()=>zt,up:()=>Ft});var a=F(177),O=F(3953);class k extends a.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class H extends k{static makeCurrent(){(0,a.ZD)(new H)}onAndCancel(se,U,q){return se.addEventListener(U,q),()=>{se.removeEventListener(U,q)}}dispatchEvent(se,U){se.dispatchEvent(U)}remove(se){se.remove()}createElement(se,U){return(U=U||this.getDefaultDocument()).createElement(se)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(se){return se.nodeType===Node.ELEMENT_NODE}isShadowRoot(se){return se instanceof DocumentFragment}getGlobalEventTarget(se,U){return"window"===U?window:"document"===U?se:"body"===U?se.body:null}getBaseHref(se){const U=function X(){return W=W||document.querySelector("base"),W?W.getAttribute("href"):null}();return null==U?null:function de(oe){return new URL(oe,document.baseURI).pathname}(U)}resetBaseElement(){W=null}getUserAgent(){return window.navigator.userAgent}getCookie(se){return(0,a._b)(document.cookie,se)}}let W=null,he=(()=>{class oe{build(){return new XMLHttpRequest}static{this.\u0275fac=function(q){return new(q||oe)}}static{this.\u0275prov=O.jDH({token:oe,factory:oe.\u0275fac})}}return oe})();const Z=new O.nKC("");let ue=(()=>{class oe{constructor(U,q){this._zone=q,this._eventNameToPlugin=new Map,U.forEach(me=>{me.manager=this}),this._plugins=U.slice().reverse()}addEventListener(U,q,me){return this._findPluginFor(q).addEventListener(U,q,me)}getZone(){return this._zone}_findPluginFor(U){let q=this._eventNameToPlugin.get(U);if(q)return q;if(q=this._plugins.find(Ue=>Ue.supports(U)),!q)throw new O.wOt(5101,!1);return this._eventNameToPlugin.set(U,q),q}static{this.\u0275fac=function(q){return new(q||oe)(O.KVO(Z),O.KVO(O.SKi))}}static{this.\u0275prov=O.jDH({token:oe,factory:oe.\u0275fac})}}return oe})();class Se{constructor(se){this._doc=se}}const Re="ng-app-id";let Fe=(()=>{class oe{constructor(U,q,me,Ue={}){this.doc=U,this.appId=q,this.nonce=me,this.platformId=Ue,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,a.Vy)(Ue),this.resetHostNodes()}addStyles(U){for(const q of U)1===this.changeUsageCount(q,1)&&this.onStyleAdded(q)}removeStyles(U){for(const q of U)this.changeUsageCount(q,-1)<=0&&this.onStyleRemoved(q)}ngOnDestroy(){const U=this.styleNodesInDOM;U&&(U.forEach(q=>q.remove()),U.clear());for(const q of this.getAllStyles())this.onStyleRemoved(q);this.resetHostNodes()}addHost(U){this.hostNodes.add(U);for(const q of this.getAllStyles())this.addStyleToHost(U,q)}removeHost(U){this.hostNodes.delete(U)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(U){for(const q of this.hostNodes)this.addStyleToHost(q,U)}onStyleRemoved(U){const q=this.styleRef;q.get(U)?.elements?.forEach(me=>me.remove()),q.delete(U)}collectServerRenderedStyles(){const U=this.doc.head?.querySelectorAll(`style[${Re}="${this.appId}"]`);if(U?.length){const q=new Map;return U.forEach(me=>{null!=me.textContent&&q.set(me.textContent,me)}),q}return null}changeUsageCount(U,q){const me=this.styleRef;if(me.has(U)){const Ue=me.get(U);return Ue.usage+=q,Ue.usage}return me.set(U,{usage:q,elements:[]}),q}getStyleElement(U,q){const me=this.styleNodesInDOM,Ue=me?.get(q);if(Ue?.parentNode===U)return me.delete(q),Ue.removeAttribute(Re),Ue;{const at=this.doc.createElement("style");return this.nonce&&at.setAttribute("nonce",this.nonce),at.textContent=q,this.platformIsServer&&at.setAttribute(Re,this.appId),U.appendChild(at),at}}addStyleToHost(U,q){const me=this.getStyleElement(U,q),Ue=this.styleRef,at=Ue.get(q)?.elements;at?at.push(me):Ue.set(q,{elements:[me],usage:1})}resetHostNodes(){const U=this.hostNodes;U.clear(),U.add(this.doc.head)}static{this.\u0275fac=function(q){return new(q||oe)(O.KVO(a.qQ),O.KVO(O.sZ2),O.KVO(O.BIS,8),O.KVO(O.Agw))}}static{this.\u0275prov=O.jDH({token:oe,factory:oe.\u0275fac})}}return oe})();const je={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/Math/MathML"},Ke=/%COMP%/g,It=new O.nKC("",{providedIn:"root",factory:()=>!0});function Ht(oe,se){return se.map(U=>U.replace(Ke,oe))}let Qe=(()=>{class oe{constructor(U,q,me,Ue,at,Dt,nn,Nt=null){this.eventManager=U,this.sharedStylesHost=q,this.appId=me,this.removeStylesOnCompDestroy=Ue,this.doc=at,this.platformId=Dt,this.ngZone=nn,this.nonce=Nt,this.rendererByCompId=new Map,this.platformIsServer=(0,a.Vy)(Dt),this.defaultRenderer=new J(U,at,nn,this.platformIsServer)}createRenderer(U,q){if(!U||!q)return this.defaultRenderer;this.platformIsServer&&q.encapsulation===O.gXe.ShadowDom&&(q={...q,encapsulation:O.gXe.Emulated});const me=this.getOrCreateRenderer(U,q);return me instanceof De?me.applyToHost(U):me instanceof ve&&me.applyStyles(),me}getOrCreateRenderer(U,q){const me=this.rendererByCompId;let Ue=me.get(q.id);if(!Ue){const at=this.doc,Dt=this.ngZone,nn=this.eventManager,Nt=this.sharedStylesHost,Ln=this.removeStylesOnCompDestroy,Bt=this.platformIsServer;switch(q.encapsulation){case O.gXe.Emulated:Ue=new De(nn,Nt,q,this.appId,Ln,at,Dt,Bt);break;case O.gXe.ShadowDom:return new re(nn,Nt,U,q,at,Dt,this.nonce,Bt);default:Ue=new ve(nn,Nt,q,Ln,at,Dt,Bt)}me.set(q.id,Ue)}return Ue}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(q){return new(q||oe)(O.KVO(ue),O.KVO(Fe),O.KVO(O.sZ2),O.KVO(It),O.KVO(a.qQ),O.KVO(O.Agw),O.KVO(O.SKi),O.KVO(O.BIS))}}static{this.\u0275prov=O.jDH({token:oe,factory:oe.\u0275fac})}}return oe})();class J{constructor(se,U,q,me){this.eventManager=se,this.doc=U,this.ngZone=q,this.platformIsServer=me,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(se,U){return U?this.doc.createElementNS(je[U]||U,se):this.doc.createElement(se)}createComment(se){return this.doc.createComment(se)}createText(se){return this.doc.createTextNode(se)}appendChild(se,U){(fe(se)?se.content:se).appendChild(U)}insertBefore(se,U,q){se&&(fe(se)?se.content:se).insertBefore(U,q)}removeChild(se,U){U.remove()}selectRootElement(se,U){let q="string"==typeof se?this.doc.querySelector(se):se;if(!q)throw new O.wOt(-5104,!1);return U||(q.textContent=""),q}parentNode(se){return se.parentNode}nextSibling(se){return se.nextSibling}setAttribute(se,U,q,me){if(me){U=me+":"+U;const Ue=je[me];Ue?se.setAttributeNS(Ue,U,q):se.setAttribute(U,q)}else se.setAttribute(U,q)}removeAttribute(se,U,q){if(q){const me=je[q];me?se.removeAttributeNS(me,U):se.removeAttribute(`${q}:${U}`)}else se.removeAttribute(U)}addClass(se,U){se.classList.add(U)}removeClass(se,U){se.classList.remove(U)}setStyle(se,U,q,me){me&(O.czy.DashCase|O.czy.Important)?se.style.setProperty(U,q,me&O.czy.Important?"important":""):se.style[U]=q}removeStyle(se,U,q){q&O.czy.DashCase?se.style.removeProperty(U):se.style[U]=""}setProperty(se,U,q){null!=se&&(se[U]=q)}setValue(se,U){se.nodeValue=U}listen(se,U,q){if("string"==typeof se&&!(se=(0,a.QT)().getGlobalEventTarget(this.doc,se)))throw new Error(`Unsupported event target ${se} for event ${U}`);return this.eventManager.addEventListener(se,U,this.decoratePreventDefault(q))}decoratePreventDefault(se){return U=>{if("__ngUnwrap__"===U)return se;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>se(U)):se(U))&&U.preventDefault()}}}function fe(oe){return"TEMPLATE"===oe.tagName&&void 0!==oe.content}class re extends J{constructor(se,U,q,me,Ue,at,Dt,nn){super(se,Ue,at,nn),this.sharedStylesHost=U,this.hostEl=q,this.shadowRoot=q.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Nt=Ht(me.id,me.styles);for(const Ln of Nt){const Bt=document.createElement("style");Dt&&Bt.setAttribute("nonce",Dt),Bt.textContent=Ln,this.shadowRoot.appendChild(Bt)}}nodeOrShadowRoot(se){return se===this.hostEl?this.shadowRoot:se}appendChild(se,U){return super.appendChild(this.nodeOrShadowRoot(se),U)}insertBefore(se,U,q){return super.insertBefore(this.nodeOrShadowRoot(se),U,q)}removeChild(se,U){return super.removeChild(null,U)}parentNode(se){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(se)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ve extends J{constructor(se,U,q,me,Ue,at,Dt,nn){super(se,Ue,at,Dt),this.sharedStylesHost=U,this.removeStylesOnCompDestroy=me,this.styles=nn?Ht(nn,q.styles):q.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class De extends ve{constructor(se,U,q,me,Ue,at,Dt,nn){const Nt=me+"-"+q.id;super(se,U,q,Ue,at,Dt,nn,Nt),this.contentAttr=function pt(oe){return"_ngcontent-%COMP%".replace(Ke,oe)}(Nt),this.hostAttr=function gt(oe){return"_nghost-%COMP%".replace(Ke,oe)}(Nt)}applyToHost(se){this.applyStyles(),this.setAttribute(se,this.hostAttr,"")}createElement(se,U){const q=super.createElement(se,U);return super.setAttribute(q,this.contentAttr,""),q}}let $e=(()=>{class oe extends Se{constructor(U){super(U)}supports(U){return!0}addEventListener(U,q,me){return U.addEventListener(q,me,!1),()=>this.removeEventListener(U,q,me)}removeEventListener(U,q,me){return U.removeEventListener(q,me)}static{this.\u0275fac=function(q){return new(q||oe)(O.KVO(a.qQ))}}static{this.\u0275prov=O.jDH({token:oe,factory:oe.\u0275fac})}}return oe})(),it=(()=>{class oe extends Se{constructor(U){super(U),this.delegate=(0,O.WQX)(O.zAP,{optional:!0})}supports(U){return!!this.delegate&&this.delegate.supports(U)}addEventListener(U,q,me){return this.delegate.addEventListener(U,q,me)}removeEventListener(U,q,me){return this.delegate.removeEventListener(U,q,me)}static{this.\u0275fac=function(q){return new(q||oe)(O.KVO(a.qQ))}}static{this.\u0275prov=O.jDH({token:oe,factory:oe.\u0275fac})}}return oe})();const Gt=["alt","control","meta","shift"],gn={"\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"},tt={alt:oe=>oe.altKey,control:oe=>oe.ctrlKey,meta:oe=>oe.metaKey,shift:oe=>oe.shiftKey};let Pn=(()=>{class oe extends Se{constructor(U){super(U)}supports(U){return null!=oe.parseEventName(U)}addEventListener(U,q,me){const Ue=oe.parseEventName(q),at=oe.eventCallback(Ue.fullKey,me,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.QT)().onAndCancel(U,Ue.domEventName,at))}static parseEventName(U){const q=U.toLowerCase().split("."),me=q.shift();if(0===q.length||"keydown"!==me&&"keyup"!==me)return null;const Ue=oe._normalizeKey(q.pop());let at="",Dt=q.indexOf("code");if(Dt>-1&&(q.splice(Dt,1),at="code."),Gt.forEach(Nt=>{const Ln=q.indexOf(Nt);Ln>-1&&(q.splice(Ln,1),at+=Nt+".")}),at+=Ue,0!=q.length||0===Ue.length)return null;const nn={};return nn.domEventName=me,nn.fullKey=at,nn}static matchEventFullKeyCode(U,q){let me=gn[U.key]||U.key,Ue="";return q.indexOf("code.")>-1&&(me=U.code,Ue="code."),!(null==me||!me)&&(me=me.toLowerCase()," "===me?me="space":"."===me&&(me="dot"),Gt.forEach(at=>{at!==me&&(0,tt[at])(U)&&(Ue+=at+".")}),Ue+=me,Ue===q)}static eventCallback(U,q,me){return Ue=>{oe.matchEventFullKeyCode(Ue,U)&&me.runGuarded(()=>q(Ue))}}static _normalizeKey(U){return"esc"===U?"escape":U}static{this.\u0275fac=function(q){return new(q||oe)(O.KVO(a.qQ))}}static{this.\u0275prov=O.jDH({token:oe,factory:oe.\u0275fac})}}return oe})();const zt=(0,O.oH4)(O.fpN,"browser",[{provide:O.Agw,useValue:a.AJ},{provide:O.PLl,useValue:function Fn(){H.makeCurrent()},multi:!0},{provide:a.qQ,useFactory:function tr(){return(0,O.TL$)(document),document},deps:[]}]),ii=new O.nKC(""),tn=[{provide:O.e01,useClass:class ie{addToWindow(se){O.JZv.getAngularTestability=(q,me=!0)=>{const Ue=se.findTestabilityInTree(q,me);if(null==Ue)throw new O.wOt(5103,!1);return Ue},O.JZv.getAllAngularTestabilities=()=>se.getAllTestabilities(),O.JZv.getAllAngularRootElements=()=>se.getAllRootElements(),O.JZv.frameworkStabilizers||(O.JZv.frameworkStabilizers=[]),O.JZv.frameworkStabilizers.push(q=>{const me=O.JZv.getAllAngularTestabilities();let Ue=me.length;const at=function(){Ue--,0==Ue&&q()};me.forEach(Dt=>{Dt.whenStable(at)})})}findTestabilityInTree(se,U,q){return null==U?null:se.getTestability(U)??(q?(0,a.QT)().isShadowRoot(U)?this.findTestabilityInTree(se,U.host,!0):this.findTestabilityInTree(se,U.parentElement,!0):null)}},deps:[]},{provide:O.WHO,useClass:O.NYb,deps:[O.SKi,O.giA,O.e01]},{provide:O.NYb,useClass:O.NYb,deps:[O.SKi,O.giA,O.e01]}],_n=[{provide:O.H8p,useValue:"root"},{provide:O.zcH,useFactory:function hr(){return new O.zcH},deps:[]},{provide:Z,useClass:$e,multi:!0,deps:[a.qQ,O.SKi,O.Agw]},{provide:Z,useClass:Pn,multi:!0,deps:[a.qQ]},{provide:Z,useClass:it,multi:!0},Qe,Fe,ue,{provide:O._9s,useExisting:Qe},{provide:a.N0,useClass:he,deps:[]},[]];let oi=(()=>{class oe{constructor(U){}static withServerTransition(U){return{ngModule:oe,providers:[{provide:O.sZ2,useValue:U.appId}]}}static{this.\u0275fac=function(q){return new(q||oe)(O.KVO(ii,12))}}static{this.\u0275mod=O.$C({type:oe})}static{this.\u0275inj=O.G2t({providers:[..._n,...tn],imports:[a.MD,O.Hbi]})}}return oe})(),rr=(()=>{class oe{constructor(U){this._doc=U}getTitle(){return this._doc.title}setTitle(U){this._doc.title=U||""}static{this.\u0275fac=function(q){return new(q||oe)(O.KVO(a.qQ))}}static{this.\u0275prov=O.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}}return oe})(),Ft=(()=>{class oe{static{this.\u0275fac=function(q){return new(q||oe)}}static{this.\u0275prov=O.jDH({token:oe,factory:function(q){let me=null;return me=q?new(q||oe):O.KVO(Wr),me},providedIn:"root"})}}return oe})(),Wr=(()=>{class oe extends Ft{constructor(U){super(),this._doc=U}sanitize(U,q){if(null==q)return null;switch(U){case O.WPN.NONE:return q;case O.WPN.HTML:return(0,O.ZF7)(q,"HTML")?(0,O.rcV)(q):(0,O.h9k)(this._doc,String(q)).toString();case O.WPN.STYLE:return(0,O.ZF7)(q,"Style")?(0,O.rcV)(q):q;case O.WPN.SCRIPT:if((0,O.ZF7)(q,"Script"))return(0,O.rcV)(q);throw new O.wOt(5200,!1);case O.WPN.URL:return(0,O.ZF7)(q,"URL")?(0,O.rcV)(q):(0,O.$MX)(String(q));case O.WPN.RESOURCE_URL:if((0,O.ZF7)(q,"ResourceURL"))return(0,O.rcV)(q);throw new O.wOt(5201,!1);default:throw new O.wOt(5202,!1)}}bypassSecurityTrustHtml(U){return(0,O.Kcf)(U)}bypassSecurityTrustStyle(U){return(0,O.cWb)(U)}bypassSecurityTrustScript(U){return(0,O.UyX)(U)}bypassSecurityTrustUrl(U){return(0,O.osQ)(U)}bypassSecurityTrustResourceUrl(U){return(0,O.e5t)(U)}static{this.\u0275fac=function(q){return new(q||oe)(O.KVO(a.qQ))}}static{this.\u0275prov=O.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}}return oe})()},7901:(ye,Q,F)=>{"use strict";F.d(Q,{Ix:()=>Vt,iI:()=>bl,n3:()=>Zi,nX:()=>rn,wF:()=>qn});var a=F(3953),O=F(4402),k=F(6648),H=F(7673),W=F(4412),X=F(4572),de=F(9350),ie=F(8793),he=F(9030),Z=F(1203),ue=F(8810),Se=F(983),Re=F(17),Fe=F(1413),je=F(8359),Ke=F(177),Be=F(6354),qe=F(5558),Je=F(6697),Ct=F(9172),It=F(5964),pt=F(1397),gt=F(1594),Ht=F(274),Qe=F(8141),J=F(9437),be=F(2816),nt=F(9901),fe=F(7018),re=F(5109),ve=F(3703),De=F(980),$e=F(9898),it=F(6977),Gt=F(6365),gn=F(345);const tt="primary",Pn=Symbol("RouteTitle");class Rr{constructor(v){this.params=v||{}}has(v){return Object.prototype.hasOwnProperty.call(this.params,v)}get(v){if(this.has(v)){const p=this.params[v];return Array.isArray(p)?p[0]:p}return null}getAll(v){if(this.has(v)){const p=this.params[v];return Array.isArray(p)?p:[p]}return[]}get keys(){return Object.keys(this.params)}}function un(h){return new Rr(h)}function dn(h,v,p){const _=p.path.split("/");if(_.length>h.length||"full"===p.pathMatch&&(v.hasChildren()||_.length<h.length))return null;const M={};for(let A=0;A<_.length;A++){const V=_[A],ce=h[A];if(":"===V[0])M[V.substring(1)]=ce;else if(V!==ce.path)return null}return{consumed:h.slice(0,_.length),posParams:M}}function Fn(h,v){const p=h?hr(h):void 0,_=v?hr(v):void 0;if(!p||!_||p.length!=_.length)return!1;let M;for(let A=0;A<p.length;A++)if(M=p[A],!tr(h[M],v[M]))return!1;return!0}function hr(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}function tr(h,v){if(Array.isArray(h)&&Array.isArray(v)){if(h.length!==v.length)return!1;const p=[...h].sort(),_=[...v].sort();return p.every((M,A)=>_[A]===M)}return h===v}function nr(h){return h.length>0?h[h.length-1]:null}function zt(h){return(0,O.A)(h)?h:(0,a.jNT)(h)?(0,k.H)(Promise.resolve(h)):(0,H.of)(h)}const ii={exact:function sn(h,v,p){if(!yt(h.segments,v.segments)||!pr(h.segments,v.segments,p)||h.numberOfChildren!==v.numberOfChildren)return!1;for(const _ in v.children)if(!h.children[_]||!sn(h.children[_],v.children[_],p))return!1;return!0},subset:rr},tn={exact:function oi(h,v){return Fn(h,v)},subset:function fr(h,v){return Object.keys(v).length<=Object.keys(h).length&&Object.keys(v).every(p=>tr(h[p],v[p]))},ignored:()=>!0};function _n(h,v,p){return ii[p.paths](h.root,v.root,p.matrixParams)&&tn[p.queryParams](h.queryParams,v.queryParams)&&!("exact"===p.fragment&&h.fragment!==v.fragment)}function rr(h,v,p){return Fr(h,v,v.segments,p)}function Fr(h,v,p,_){if(h.segments.length>p.length){const M=h.segments.slice(0,p.length);return!(!yt(M,p)||v.hasChildren()||!pr(M,p,_))}if(h.segments.length===p.length){if(!yt(h.segments,p)||!pr(h.segments,p,_))return!1;for(const M in v.children)if(!h.children[M]||!rr(h.children[M],v.children[M],_))return!1;return!0}{const M=p.slice(0,h.segments.length),A=p.slice(h.segments.length);return!!(yt(h.segments,M)&&pr(h.segments,M,_)&&h.children[tt])&&Fr(h.children[tt],v,A,_)}}function pr(h,v,p){return v.every((_,M)=>tn[p](h[M].parameters,_.parameters))}class An{constructor(v=new wt([],{}),p={},_=null){this.root=v,this.queryParams=p,this.fragment=_}get queryParamMap(){return this._queryParamMap??=un(this.queryParams),this._queryParamMap}toString(){return mn.serialize(this)}}class wt{constructor(v,p){this.segments=v,this.children=p,this.parent=null,Object.values(p).forEach(_=>_.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Gn(this)}}class Er{constructor(v,p){this.path=v,this.parameters=p}get parameterMap(){return this._parameterMap??=un(this.parameters),this._parameterMap}toString(){return Zn(this)}}function yt(h,v){return h.length===v.length&&h.every((p,_)=>p.path===v[_].path)}let Hn=(()=>{class h{static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:()=>new jt,providedIn:"root"})}}return h})();class jt{parse(v){const p=new Ue(v);return new An(p.parseRootSegment(),p.parseQueryParams(),p.parseFragment())}serialize(v){const p=`/${hn(v.root,!0)}`,_=function kr(h){const v=Object.entries(h).map(([p,_])=>Array.isArray(_)?_.map(M=>`${Ft(p)}=${Ft(M)}`).join("&"):`${Ft(p)}=${Ft(_)}`).filter(p=>p);return v.length?`?${v.join("&")}`:""}(v.queryParams);return`${p}${_}${"string"==typeof v.fragment?`#${function Wr(h){return encodeURI(h)}(v.fragment)}`:""}`}}const mn=new jt;function Gn(h){return h.segments.map(v=>Zn(v)).join("/")}function hn(h,v){if(!h.hasChildren())return Gn(h);if(v){const p=h.children[tt]?hn(h.children[tt],!1):"",_=[];return Object.entries(h.children).forEach(([M,A])=>{M!==tt&&_.push(`${M}:${hn(A,!1)}`)}),_.length>0?`${p}(${_.join("//")})`:p}{const p=function Ae(h,v){let p=[];return Object.entries(h.children).forEach(([_,M])=>{_===tt&&(p=p.concat(v(M,_)))}),Object.entries(h.children).forEach(([_,M])=>{_!==tt&&(p=p.concat(v(M,_)))}),p}(h,(_,M)=>M===tt?[hn(h.children[tt],!1)]:[`${M}:${hn(_,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[tt]?`${Gn(h)}/${p[0]}`:`${Gn(h)}/(${p.join("//")})`}}function Nn(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ft(h){return Nn(h).replace(/%3B/gi,";")}function Et(h){return Nn(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function At(h){return decodeURIComponent(h)}function kn(h){return At(h.replace(/\+/g,"%20"))}function Zn(h){return`${Et(h.path)}${function Yn(h){return Object.entries(h).map(([v,p])=>`;${Et(v)}=${Et(p)}`).join("")}(h.parameters)}`}const Lr=/^[^\/()?;#]+/;function En(h){const v=h.match(Lr);return v?v[0]:""}const an=/^[^\/()?;=#]+/,se=/^[^=?&#]+/,q=/^[^&#]+/;class Ue{constructor(v){this.url=v,this.remaining=v}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new wt([],{}):new wt([],this.parseChildren())}parseQueryParams(){const v={};if(this.consumeOptional("?"))do{this.parseQueryParam(v)}while(this.consumeOptional("&"));return v}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const v=[];for(this.peekStartsWith("(")||v.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),v.push(this.parseSegment());let p={};this.peekStartsWith("/(")&&(this.capture("/"),p=this.parseParens(!0));let _={};return this.peekStartsWith("(")&&(_=this.parseParens(!1)),(v.length>0||Object.keys(p).length>0)&&(_[tt]=new wt(v,p)),_}parseSegment(){const v=En(this.remaining);if(""===v&&this.peekStartsWith(";"))throw new a.wOt(4009,!1);return this.capture(v),new Er(At(v),this.parseMatrixParams())}parseMatrixParams(){const v={};for(;this.consumeOptional(";");)this.parseParam(v);return v}parseParam(v){const p=function oe(h){const v=h.match(an);return v?v[0]:""}(this.remaining);if(!p)return;this.capture(p);let _="";if(this.consumeOptional("=")){const M=En(this.remaining);M&&(_=M,this.capture(_))}v[At(p)]=At(_)}parseQueryParam(v){const p=function U(h){const v=h.match(se);return v?v[0]:""}(this.remaining);if(!p)return;this.capture(p);let _="";if(this.consumeOptional("=")){const V=function me(h){const v=h.match(q);return v?v[0]:""}(this.remaining);V&&(_=V,this.capture(_))}const M=kn(p),A=kn(_);if(v.hasOwnProperty(M)){let V=v[M];Array.isArray(V)||(V=[V],v[M]=V),V.push(A)}else v[M]=A}parseParens(v){const p={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=En(this.remaining),M=this.remaining[_.length];if("/"!==M&&")"!==M&&";"!==M)throw new a.wOt(4010,!1);let A;_.indexOf(":")>-1?(A=_.slice(0,_.indexOf(":")),this.capture(A),this.capture(":")):v&&(A=tt);const V=this.parseChildren();p[A]=1===Object.keys(V).length?V[tt]:new wt([],V),this.consumeOptional("//")}return p}peekStartsWith(v){return this.remaining.startsWith(v)}consumeOptional(v){return!!this.peekStartsWith(v)&&(this.remaining=this.remaining.substring(v.length),!0)}capture(v){if(!this.consumeOptional(v))throw new a.wOt(4011,!1)}}function at(h){return h.segments.length>0?new wt([],{[tt]:h}):h}function Dt(h){const v={};for(const[_,M]of Object.entries(h.children)){const A=Dt(M);if(_===tt&&0===A.segments.length&&A.hasChildren())for(const[V,ce]of Object.entries(A.children))v[V]=ce;else(A.segments.length>0||A.hasChildren())&&(v[_]=A)}return function nn(h){if(1===h.numberOfChildren&&h.children[tt]){const v=h.children[tt];return new wt(h.segments.concat(v.segments),v.children)}return h}(new wt(h.segments,v))}function Nt(h){return h instanceof An}function Bt(h){let v;const M=at(function p(A){const V={};for(const te of A.children){const Ve=p(te);V[te.outlet]=Ve}const ce=new wt(A.url,V);return A===h&&(v=ce),ce}(h.root));return v??M}function gr(h,v,p,_){let M=h;for(;M.parent;)M=M.parent;if(0===v.length)return Ti(M,M,M,p,_);const A=function Vn(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new si(!0,0,h);let v=0,p=!1;const _=h.reduce((M,A,V)=>{if("object"==typeof A&&null!=A){if(A.outlets){const ce={};return Object.entries(A.outlets).forEach(([te,Ve])=>{ce[te]="string"==typeof Ve?Ve.split("/"):Ve}),[...M,{outlets:ce}]}if(A.segmentPath)return[...M,A.segmentPath]}return"string"!=typeof A?[...M,A]:0===V?(A.split("/").forEach((ce,te)=>{0==te&&"."===ce||(0==te&&""===ce?p=!0:".."===ce?v++:""!=ce&&M.push(ce))}),M):[...M,A]},[]);return new si(p,v,_)}(v);if(A.toRoot())return Ti(M,M,new wt([],{}),p,_);const V=function qr(h,v,p){if(h.isAbsolute)return new ir(v,!0,0);if(!p)return new ir(v,!1,NaN);if(null===p.parent)return new ir(p,!0,0);const _=mr(h.commands[0])?0:1;return function zn(h,v,p){let _=h,M=v,A=p;for(;A>M;){if(A-=M,_=_.parent,!_)throw new a.wOt(4005,!1);M=_.segments.length}return new ir(_,!1,M-A)}(p,p.segments.length-1+_,h.numberOfDoubleDots)}(A,M,h),ce=V.processChildren?Wn(V.segmentGroup,V.index,A.commands):Ur(V.segmentGroup,V.index,A.commands);return Ti(M,V.segmentGroup,ce,p,_)}function mr(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function Vr(h){return"object"==typeof h&&null!=h&&h.outlets}function Ti(h,v,p,_,M){let V,A={};_&&Object.entries(_).forEach(([te,Ve])=>{A[te]=Array.isArray(Ve)?Ve.map(ft=>`${ft}`):`${Ve}`}),V=h===v?p:uo(h,v,p);const ce=at(Dt(V));return new An(ce,A,M)}function uo(h,v,p){const _={};return Object.entries(h.children).forEach(([M,A])=>{_[M]=A===v?p:uo(A,v,p)}),new wt(h.segments,_)}class si{constructor(v,p,_){if(this.isAbsolute=v,this.numberOfDoubleDots=p,this.commands=_,v&&_.length>0&&mr(_[0]))throw new a.wOt(4003,!1);const M=_.find(Vr);if(M&&M!==nr(_))throw new a.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ir{constructor(v,p,_){this.segmentGroup=v,this.processChildren=p,this.index=_}}function Ur(h,v,p){if(h??=new wt([],{}),0===h.segments.length&&h.hasChildren())return Wn(h,v,p);const _=function jr(h,v,p){let _=0,M=v;const A={match:!1,pathIndex:0,commandIndex:0};for(;M<h.segments.length;){if(_>=p.length)return A;const V=h.segments[M],ce=p[_];if(Vr(ce))break;const te=`${ce}`,Ve=_<p.length-1?p[_+1]:null;if(M>0&&void 0===te)break;if(te&&Ve&&"object"==typeof Ve&&void 0===Ve.outlets){if(!zi(te,Ve,V))return A;_+=2}else{if(!zi(te,{},V))return A;_++}M++}return{match:!0,pathIndex:M,commandIndex:_}}(h,v,p),M=p.slice(_.commandIndex);if(_.match&&_.pathIndex<h.segments.length){const A=new wt(h.segments.slice(0,_.pathIndex),{});return A.children[tt]=new wt(h.segments.slice(_.pathIndex),h.children),Wn(A,0,M)}return _.match&&0===M.length?new wt(h.segments,{}):_.match&&!h.hasChildren()?or(h,v,p):_.match?Wn(h,0,M):or(h,v,p)}function Wn(h,v,p){if(0===p.length)return new wt(h.segments,{});{const _=function Dr(h){return Vr(h[0])?h[0].outlets:{[tt]:h}}(p),M={};if(Object.keys(_).some(A=>A!==tt)&&h.children[tt]&&1===h.numberOfChildren&&0===h.children[tt].segments.length){const A=Wn(h.children[tt],v,p);return new wt(h.segments,A.children)}return Object.entries(_).forEach(([A,V])=>{"string"==typeof V&&(V=[V]),null!==V&&(M[A]=Ur(h.children[A],v,V))}),Object.entries(h.children).forEach(([A,V])=>{void 0===_[A]&&(M[A]=V)}),new wt(h.segments,M)}}function or(h,v,p){const _=h.segments.slice(0,v);let M=0;for(;M<p.length;){const A=p[M];if(Vr(A)){const te=Kr(A.outlets);return new wt(_,te)}if(0===M&&mr(p[0])){_.push(new Er(h.segments[v].path,Gi(p[0]))),M++;continue}const V=Vr(A)?A.outlets[tt]:`${A}`,ce=M<p.length-1?p[M+1]:null;V&&ce&&mr(ce)?(_.push(new Er(V,Gi(ce))),M+=2):(_.push(new Er(V,{})),M++)}return new wt(_,{})}function Kr(h){const v={};return Object.entries(h).forEach(([p,_])=>{"string"==typeof _&&(_=[_]),null!==_&&(v[p]=or(new wt([],{}),0,_))}),v}function Gi(h){const v={};return Object.entries(h).forEach(([p,_])=>v[p]=`${_}`),v}function zi(h,v,p){return h==p.path&&Fn(v,p.parameters)}const Br="imperative";var mt=function(h){return h[h.NavigationStart=0]="NavigationStart",h[h.NavigationEnd=1]="NavigationEnd",h[h.NavigationCancel=2]="NavigationCancel",h[h.NavigationError=3]="NavigationError",h[h.RoutesRecognized=4]="RoutesRecognized",h[h.ResolveStart=5]="ResolveStart",h[h.ResolveEnd=6]="ResolveEnd",h[h.GuardsCheckStart=7]="GuardsCheckStart",h[h.GuardsCheckEnd=8]="GuardsCheckEnd",h[h.RouteConfigLoadStart=9]="RouteConfigLoadStart",h[h.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",h[h.ChildActivationStart=11]="ChildActivationStart",h[h.ChildActivationEnd=12]="ChildActivationEnd",h[h.ActivationStart=13]="ActivationStart",h[h.ActivationEnd=14]="ActivationEnd",h[h.Scroll=15]="Scroll",h[h.NavigationSkipped=16]="NavigationSkipped",h}(mt||{});class ln{constructor(v,p){this.id=v,this.url=p}}class ai extends ln{constructor(v,p,_="imperative",M=null){super(v,p),this.type=mt.NavigationStart,this.navigationTrigger=_,this.restoredState=M}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class qn extends ln{constructor(v,p,_){super(v,p),this.urlAfterRedirects=_,this.type=mt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var xn=function(h){return h[h.Redirect=0]="Redirect",h[h.SupersededByNewNavigation=1]="SupersededByNewNavigation",h[h.NoDataFromResolver=2]="NoDataFromResolver",h[h.GuardRejected=3]="GuardRejected",h}(xn||{}),x=function(h){return h[h.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",h[h.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",h}(x||{});class $ extends ln{constructor(v,p,_,M){super(v,p),this.reason=_,this.code=M,this.type=mt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class j extends ln{constructor(v,p,_,M){super(v,p),this.reason=_,this.code=M,this.type=mt.NavigationSkipped}}class le extends ln{constructor(v,p,_,M){super(v,p),this.error=_,this.target=M,this.type=mt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class we extends ln{constructor(v,p,_,M){super(v,p),this.urlAfterRedirects=_,this.state=M,this.type=mt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Te extends ln{constructor(v,p,_,M){super(v,p),this.urlAfterRedirects=_,this.state=M,this.type=mt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Oe extends ln{constructor(v,p,_,M,A){super(v,p),this.urlAfterRedirects=_,this.state=M,this.shouldActivate=A,this.type=mt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ye extends ln{constructor(v,p,_,M){super(v,p),this.urlAfterRedirects=_,this.state=M,this.type=mt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class We extends ln{constructor(v,p,_,M){super(v,p),this.urlAfterRedirects=_,this.state=M,this.type=mt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qt{constructor(v){this.route=v,this.type=mt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Kt{constructor(v){this.route=v,this.type=mt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class P{constructor(v){this.snapshot=v,this.type=mt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Me{constructor(v){this.snapshot=v,this.type=mt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class I{constructor(v){this.snapshot=v,this.type=mt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class z{constructor(v){this.snapshot=v,this.type=mt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ne{constructor(v,p,_){this.routerEvent=v,this.position=p,this.anchor=_,this.type=mt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ge{}class ct{constructor(v,p){this.url=v,this.navigationBehaviorOptions=p}}function Mr(h){return h.outlet||tt}function Ii(h){if(!h)return null;if(h.routeConfig?._injector)return h.routeConfig._injector;for(let v=h.parent;v;v=v.parent){const p=v.routeConfig;if(p?._loadedInjector)return p._loadedInjector;if(p?._injector)return p._injector}return null}class Ss{get injector(){return Ii(this.route?.snapshot)??this.rootInjector}set injector(v){}constructor(v){this.rootInjector=v,this.outlet=null,this.route=null,this.children=new Ki(this.rootInjector),this.attachRef=null}}let Ki=(()=>{class h{constructor(p){this.rootInjector=p,this.contexts=new Map}onChildOutletCreated(p,_){const M=this.getOrCreateContext(p);M.outlet=_,this.contexts.set(p,M)}onChildOutletDestroyed(p){const _=this.getContext(p);_&&(_.outlet=null,_.attachRef=null)}onOutletDeactivated(){const p=this.contexts;return this.contexts=new Map,p}onOutletReAttached(p){this.contexts=p}getOrCreateContext(p){let _=this.getContext(p);return _||(_=new Ss(this.rootInjector),this.contexts.set(p,_)),_}getContext(p){return this.contexts.get(p)||null}static{this.\u0275fac=function(_){return new(_||h)(a.KVO(a.uvJ))}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})();class Oo{constructor(v){this._root=v}get root(){return this._root.value}parent(v){const p=this.pathFromRoot(v);return p.length>1?p[p.length-2]:null}children(v){const p=fo(v,this._root);return p?p.children.map(_=>_.value):[]}firstChild(v){const p=fo(v,this._root);return p&&p.children.length>0?p.children[0].value:null}siblings(v){const p=po(v,this._root);return p.length<2?[]:p[p.length-2].children.map(M=>M.value).filter(M=>M!==v)}pathFromRoot(v){return po(v,this._root).map(p=>p.value)}}function fo(h,v){if(h===v.value)return v;for(const p of v.children){const _=fo(h,p);if(_)return _}return null}function po(h,v){if(h===v.value)return[v];for(const p of v.children){const _=po(h,p);if(_.length)return _.unshift(v),_}return[]}class br{constructor(v,p){this.value=v,this.children=p}toString(){return`TreeNode(${this.value})`}}function Oi(h){const v={};return h&&h.children.forEach(p=>v[p.value.outlet]=p),v}class go extends Oo{constructor(v,p){super(v),this.snapshot=p,Qi(this,v)}toString(){return this.snapshot.toString()}}function Po(h){const v=function Ao(h){const A=new Xr([],{},{},"",{},tt,h,null,{});return new Pi("",new br(A,[]))}(h),p=new W.t([new Er("",{})]),_=new W.t({}),M=new W.t({}),A=new W.t({}),V=new W.t(""),ce=new rn(p,_,A,V,M,tt,h,v.root);return ce.snapshot=v.root,new go(new br(ce,[]),v)}class rn{constructor(v,p,_,M,A,V,ce,te){this.urlSubject=v,this.paramsSubject=p,this.queryParamsSubject=_,this.fragmentSubject=M,this.dataSubject=A,this.outlet=V,this.component=ce,this._futureSnapshot=te,this.title=this.dataSubject?.pipe((0,Be.T)(Ve=>Ve[Pn]))??(0,H.of)(void 0),this.url=v,this.params=p,this.queryParams=_,this.fragment=M,this.data=A}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.params.pipe((0,Be.T)(v=>un(v))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Be.T)(v=>un(v))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Qr(h,v,p="emptyOnly"){let _;const{routeConfig:M}=h;return _=null===v||"always"!==p&&""!==M?.path&&(v.component||v.routeConfig?.loadComponent)?{params:{...h.params},data:{...h.data},resolve:{...h.data,...h._resolvedData??{}}}:{params:{...v.params,...h.params},data:{...v.data,...h.data},resolve:{...h.data,...v.data,...M?.data,...h._resolvedData}},M&&Xi(M)&&(_.resolve[Pn]=M.title),_}class Xr{get title(){return this.data?.[Pn]}constructor(v,p,_,M,A,V,ce,te,Ve){this.url=v,this.params=p,this.queryParams=_,this.fragment=M,this.data=A,this.outlet=V,this.component=ce,this.routeConfig=te,this._resolve=Ve}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??=un(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=un(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(_=>_.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Pi extends Oo{constructor(v,p){super(p),this.url=v,Qi(this,p)}toString(){return zo(this._root)}}function Qi(h,v){v.value._routerState=h,v.children.forEach(p=>Qi(h,p))}function zo(h){const v=h.children.length>0?` { ${h.children.map(zo).join(", ")} } `:"";return`${h.value}${v}`}function gi(h){if(h.snapshot){const v=h.snapshot,p=h._futureSnapshot;h.snapshot=p,Fn(v.queryParams,p.queryParams)||h.queryParamsSubject.next(p.queryParams),v.fragment!==p.fragment&&h.fragmentSubject.next(p.fragment),Fn(v.params,p.params)||h.paramsSubject.next(p.params),function $n(h,v){if(h.length!==v.length)return!1;for(let p=0;p<h.length;++p)if(!Fn(h[p],v[p]))return!1;return!0}(v.url,p.url)||h.urlSubject.next(p.url),Fn(v.data,p.data)||h.dataSubject.next(p.data)}else h.snapshot=h._futureSnapshot,h.dataSubject.next(h._futureSnapshot.data)}function No(h,v){const p=Fn(h.params,v.params)&&function Xn(h,v){return yt(h,v)&&h.every((p,_)=>Fn(p.parameters,v[_].parameters))}(h.url,v.url);return p&&!(!h.parent!=!v.parent)&&(!h.parent||No(h.parent,v.parent))}function Xi(h){return"string"==typeof h.title||null===h.title}let Zi=(()=>{class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=tt,this.activateEvents=new a.bkB,this.deactivateEvents=new a.bkB,this.attachEvents=new a.bkB,this.detachEvents=new a.bkB,this.parentContexts=(0,a.WQX)(Ki),this.location=(0,a.WQX)(a.c1b),this.changeDetector=(0,a.WQX)(a.gRc),this.inputBinder=(0,a.WQX)(Yi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(p){if(p.name){const{firstChange:_,previousValue:M}=p.name;if(_)return;this.isTrackedInParentContexts(M)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(M)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(p){return this.parentContexts.getContext(p)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const p=this.parentContexts.getContext(this.name);p?.route&&(p.attachRef?this.attach(p.attachRef,p.route):this.activateWith(p.route,p.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new a.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new a.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new a.wOt(4012,!1);this.location.detach();const p=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(p.instance),p}attach(p,_){this.activated=p,this._activatedRoute=_,this.location.insert(p.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(p.instance)}deactivate(){if(this.activated){const p=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(p)}}activateWith(p,_){if(this.isActivated)throw new a.wOt(4013,!1);this._activatedRoute=p;const M=this.location,V=p.snapshot.component,ce=this.parentContexts.getOrCreateContext(this.name).children,te=new mo(p,ce,M.injector);this.activated=M.createComponent(V,{index:M.length,injector:te,environmentInjector:_}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275dir=a.FsC({type:h,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[a.OA$]})}}return h})();class mo{__ngOutletInjector(v){return new mo(this.route,this.childContexts,v)}constructor(v,p,_){this.route=v,this.childContexts=p,this.parent=_}get(v,p){return v===rn?this.route:v===Ki?this.childContexts:this.parent.get(v,p)}}const Yi=new a.nKC("");let Wo=(()=>{class h{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(p){this.unsubscribeFromRouteData(p),this.subscribeToRouteData(p)}unsubscribeFromRouteData(p){this.outletDataSubscriptions.get(p)?.unsubscribe(),this.outletDataSubscriptions.delete(p)}subscribeToRouteData(p){const{activatedRoute:_}=p,M=(0,X.z)([_.queryParams,_.params,_.data]).pipe((0,qe.n)(([A,V,ce],te)=>(ce={...A,...V,...ce},0===te?(0,H.of)(ce):Promise.resolve(ce)))).subscribe(A=>{if(!p.isActivated||!p.activatedComponentRef||p.activatedRoute!==_||null===_.component)return void this.unsubscribeFromRouteData(p);const V=(0,a.HJs)(_.component);if(V)for(const{templateName:ce}of V.inputs)p.activatedComponentRef.setInput(ce,A[ce]);else this.unsubscribeFromRouteData(p)});this.outletDataSubscriptions.set(p,M)}static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac})}}return h})();function Kn(h,v,p){if(p&&h.shouldReuseRoute(v.value,p.value.snapshot)){const _=p.value;_._futureSnapshot=v.value;const M=function yo(h,v,p){return v.children.map(_=>{for(const M of p.children)if(h.shouldReuseRoute(_.value,M.value.snapshot))return Kn(h,_,M);return Kn(h,_)})}(h,v,p);return new br(_,M)}{if(h.shouldAttach(v.value)){const A=h.retrieve(v.value);if(null!==A){const V=A.route;return V.value._futureSnapshot=v.value,V.children=v.children.map(ce=>Kn(h,ce)),V}}const _=function Ji(h){return new rn(new W.t(h.url),new W.t(h.params),new W.t(h.queryParams),new W.t(h.fragment),new W.t(h.data),h.outlet,h.component,h)}(v.value),M=v.children.map(A=>Kn(h,A));return new br(_,M)}}class eo{constructor(v,p){this.redirectTo=v,this.navigationBehaviorOptions=p}}const ke="ngNavigationCancelingError";function $r(h,v){const{redirectTo:p,navigationBehaviorOptions:_}=Nt(v)?{redirectTo:v,navigationBehaviorOptions:void 0}:v,M=sr(!1,xn.Redirect);return M.url=p,M.navigationBehaviorOptions=_,M}function sr(h,v){const p=new Error(`NavigationCancelingError: ${h||""}`);return p[ke]=!0,p.cancellationCode=v,p}function Ko(h){return!!h&&h[ke]}class li{constructor(v,p,_,M,A){this.routeReuseStrategy=v,this.futureState=p,this.currState=_,this.forwardEvent=M,this.inputBindingEnabled=A}activate(v){const p=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(p,_,v),gi(this.futureState.root),this.activateChildRoutes(p,_,v)}deactivateChildRoutes(v,p,_){const M=Oi(p);v.children.forEach(A=>{const V=A.value.outlet;this.deactivateRoutes(A,M[V],_),delete M[V]}),Object.values(M).forEach(A=>{this.deactivateRouteAndItsChildren(A,_)})}deactivateRoutes(v,p,_){const M=v.value,A=p?p.value:null;if(M===A)if(M.component){const V=_.getContext(M.outlet);V&&this.deactivateChildRoutes(v,p,V.children)}else this.deactivateChildRoutes(v,p,_);else A&&this.deactivateRouteAndItsChildren(p,_)}deactivateRouteAndItsChildren(v,p){v.value.component&&this.routeReuseStrategy.shouldDetach(v.value.snapshot)?this.detachAndStoreRouteSubtree(v,p):this.deactivateRouteAndOutlet(v,p)}detachAndStoreRouteSubtree(v,p){const _=p.getContext(v.value.outlet),M=_&&v.value.component?_.children:p,A=Oi(v);for(const V of Object.values(A))this.deactivateRouteAndItsChildren(V,M);if(_&&_.outlet){const V=_.outlet.detach(),ce=_.children.onOutletDeactivated();this.routeReuseStrategy.store(v.value.snapshot,{componentRef:V,route:v,contexts:ce})}}deactivateRouteAndOutlet(v,p){const _=p.getContext(v.value.outlet),M=_&&v.value.component?_.children:p,A=Oi(v);for(const V of Object.values(A))this.deactivateRouteAndItsChildren(V,M);_&&(_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated()),_.attachRef=null,_.route=null)}activateChildRoutes(v,p,_){const M=Oi(p);v.children.forEach(A=>{this.activateRoutes(A,M[A.value.outlet],_),this.forwardEvent(new z(A.value.snapshot))}),v.children.length&&this.forwardEvent(new Me(v.value.snapshot))}activateRoutes(v,p,_){const M=v.value,A=p?p.value:null;if(gi(M),M===A)if(M.component){const V=_.getOrCreateContext(M.outlet);this.activateChildRoutes(v,p,V.children)}else this.activateChildRoutes(v,p,_);else if(M.component){const V=_.getOrCreateContext(M.outlet);if(this.routeReuseStrategy.shouldAttach(M.snapshot)){const ce=this.routeReuseStrategy.retrieve(M.snapshot);this.routeReuseStrategy.store(M.snapshot,null),V.children.onOutletReAttached(ce.contexts),V.attachRef=ce.componentRef,V.route=ce.route.value,V.outlet&&V.outlet.attach(ce.componentRef,ce.route.value),gi(ce.route.value),this.activateChildRoutes(v,null,V.children)}else V.attachRef=null,V.route=M,V.outlet&&V.outlet.activateWith(M,V.injector),this.activateChildRoutes(v,null,V.children)}else this.activateChildRoutes(v,null,_)}}class ci{constructor(v){this.path=v,this.route=this.path[this.path.length-1]}}class vr{constructor(v,p){this.component=v,this.route=p}}function to(h,v,p){const _=h._root;return Sr(_,v?v._root:null,p,[_.value])}function _r(h,v){const p=Symbol(),_=v.get(h,p);return _===p?"function"!=typeof h||(0,a.LfX)(h)?v.get(h):h:_}function Sr(h,v,p,_,M={canDeactivateChecks:[],canActivateChecks:[]}){const A=Oi(v);return h.children.forEach(V=>{(function Qo(h,v,p,_,M={canDeactivateChecks:[],canActivateChecks:[]}){const A=h.value,V=v?v.value:null,ce=p?p.getContext(h.value.outlet):null;if(V&&A.routeConfig===V.routeConfig){const te=function Dn(h,v,p){if("function"==typeof p)return p(h,v);switch(p){case"pathParamsChange":return!yt(h.url,v.url);case"pathParamsOrQueryParamsChange":return!yt(h.url,v.url)||!Fn(h.queryParams,v.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!No(h,v)||!Fn(h.queryParams,v.queryParams);default:return!No(h,v)}}(V,A,A.routeConfig.runGuardsAndResolvers);te?M.canActivateChecks.push(new ci(_)):(A.data=V.data,A._resolvedData=V._resolvedData),Sr(h,v,A.component?ce?ce.children:null:p,_,M),te&&ce&&ce.outlet&&ce.outlet.isActivated&&M.canDeactivateChecks.push(new vr(ce.outlet.component,V))}else V&&vo(v,ce,M),M.canActivateChecks.push(new ci(_)),Sr(h,null,A.component?ce?ce.children:null:p,_,M)})(V,A[V.value.outlet],p,_.concat([V.value]),M),delete A[V.value.outlet]}),Object.entries(A).forEach(([V,ce])=>vo(ce,p.getContext(V),M)),M}function vo(h,v,p){const _=Oi(h),M=h.value;Object.entries(_).forEach(([A,V])=>{vo(V,M.component?v?v.children.getContext(A):null:v,p)}),p.canDeactivateChecks.push(new vr(M.component&&v&&v.outlet&&v.outlet.isActivated?v.outlet.component:null,M))}function _o(h){return"function"==typeof h}function xi(h){return h instanceof de.G||"EmptyError"===h?.name}const et=Symbol("INITIAL_VALUE");function yi(){return(0,qe.n)(h=>(0,X.z)(h.map(v=>v.pipe((0,Je.s)(1),(0,Ct.Z)(et)))).pipe((0,Be.T)(v=>{for(const p of v)if(!0!==p){if(p===et)return et;if(!1===p||Tr(p))return p}return!0}),(0,It.p)(v=>v!==et),(0,Je.s)(1)))}function Tr(h){return Nt(h)||h instanceof eo}function S(h){return(0,Z.F)((0,Qe.M)(v=>{if("boolean"!=typeof v)throw $r(0,v)}),(0,Be.T)(v=>!0===v))}class ee{constructor(v){this.segmentGroup=v||null}}class Pe extends Error{constructor(v){super(),this.urlTree=v}}function pe(h){return(0,ue.$)(new ee(h))}class dt{constructor(v,p){this.urlSerializer=v,this.urlTree=p}lineralizeSegments(v,p){let _=[],M=p.root;for(;;){if(_=_.concat(M.segments),0===M.numberOfChildren)return(0,H.of)(_);if(M.numberOfChildren>1||!M.children[tt])return(0,ue.$)(new a.wOt(4e3,!1));M=M.children[tt]}}applyRedirectCommands(v,p,_,M,A){if("string"!=typeof p){const ce=p,{queryParams:te,fragment:Ve,routeConfig:ft,url:St,outlet:wn,params:oo,data:Jr,title:ts}=M,wi=(0,a.N4e)(A,()=>ce({params:oo,data:Jr,queryParams:te,fragment:Ve,routeConfig:ft,url:St,outlet:wn,title:ts}));if(wi instanceof An)throw new Pe(wi);p=wi}const V=this.applyRedirectCreateUrlTree(p,this.urlSerializer.parse(p),v,_);if("/"===p[0])throw new Pe(V);return V}applyRedirectCreateUrlTree(v,p,_,M){const A=this.createSegmentGroup(v,p.root,_,M);return new An(A,this.createQueryParams(p.queryParams,this.urlTree.queryParams),p.fragment)}createQueryParams(v,p){const _={};return Object.entries(v).forEach(([M,A])=>{if("string"==typeof A&&":"===A[0]){const ce=A.substring(1);_[M]=p[ce]}else _[M]=A}),_}createSegmentGroup(v,p,_,M){const A=this.createSegments(v,p.segments,_,M);let V={};return Object.entries(p.children).forEach(([ce,te])=>{V[ce]=this.createSegmentGroup(v,te,_,M)}),new wt(A,V)}createSegments(v,p,_,M){return p.map(A=>":"===A.path[0]?this.findPosParam(v,A,M):this.findOrReturn(A,_))}findPosParam(v,p,_){const M=_[p.path.substring(1)];if(!M)throw new a.wOt(4001,!1);return M}findOrReturn(v,p){let _=0;for(const M of p){if(M.path===v.path)return p.splice(_),M;_++}return v}}const on={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ut(h,v,p,_,M){const A=Mn(h,v,p);return A.matched?(_=function Jt(h,v){return h.providers&&!h._injector&&(h._injector=(0,a.Ol2)(h.providers,v,`Route: ${h.path}`)),h._injector??v}(v,_),function K(h,v,p,_){const M=v.canMatch;if(!M||0===M.length)return(0,H.of)(!0);const A=M.map(V=>{const ce=_r(V,h);return zt(function Xo(h){return h&&_o(h.canMatch)}(ce)?ce.canMatch(v,p):(0,a.N4e)(h,()=>ce(v,p)))});return(0,H.of)(A).pipe(yi(),S())}(_,v,p).pipe((0,Be.T)(V=>!0===V?A:{...on}))):(0,H.of)(A)}function Mn(h,v,p){if("**"===v.path)return function yn(h){return{matched:!0,parameters:h.length>0?nr(h).parameters:{},consumedSegments:h,remainingSegments:[],positionalParamSegments:{}}}(p);if(""===v.path)return"full"===v.pathMatch&&(h.hasChildren()||p.length>0)?{...on}:{matched:!0,consumedSegments:[],remainingSegments:p,parameters:{},positionalParamSegments:{}};const M=(v.matcher||dn)(p,h,v);if(!M)return{...on};const A={};Object.entries(M.posParams??{}).forEach(([ce,te])=>{A[ce]=te.path});const V=M.consumed.length>0?{...A,...M.consumed[M.consumed.length-1].parameters}:A;return{matched:!0,consumedSegments:M.consumed,remainingSegments:p.slice(M.consumed.length),parameters:V,positionalParamSegments:M.posParams??{}}}function bn(h,v,p,_){return p.length>0&&function Jn(h,v,p){return p.some(_=>Gr(h,v,_)&&Mr(_)!==tt)}(h,p,_)?{segmentGroup:new wt(v,Hr(_,new wt(p,h.children))),slicedSegments:[]}:0===p.length&&function er(h,v,p){return p.some(_=>Gr(h,v,_))}(h,p,_)?{segmentGroup:new wt(h.segments,xo(h,p,_,h.children)),slicedSegments:p}:{segmentGroup:new wt(h.segments,h.children),slicedSegments:p}}function xo(h,v,p,_){const M={};for(const A of p)if(Gr(h,v,A)&&!_[Mr(A)]){const V=new wt([],{});M[Mr(A)]=V}return{..._,...M}}function Hr(h,v){const p={};p[tt]=v;for(const _ of h)if(""===_.path&&Mr(_)!==tt){const M=new wt([],{});p[Mr(_)]=M}return p}function Gr(h,v,p){return(!(h.hasChildren()||v.length>0)||"full"!==p.pathMatch)&&""===p.path}class Ro{}class Zo{constructor(v,p,_,M,A,V,ce){this.injector=v,this.configLoader=p,this.rootComponentType=_,this.config=M,this.urlTree=A,this.paramsInheritanceStrategy=V,this.urlSerializer=ce,this.applyRedirects=new dt(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(v){return new a.wOt(4002,`'${v.segmentGroup}'`)}recognize(){const v=bn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(v).pipe((0,Be.T)(({children:p,rootSnapshot:_})=>{const M=new br(_,p),A=new Pi("",M),V=function Ln(h,v,p=null,_=null){return gr(Bt(h),v,p,_)}(_,[],this.urlTree.queryParams,this.urlTree.fragment);return V.queryParams=this.urlTree.queryParams,A.url=this.urlSerializer.serialize(V),{state:A,tree:V}}))}match(v){const p=new Xr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),tt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,v,tt,p).pipe((0,Be.T)(_=>({children:_,rootSnapshot:p})),(0,J.W)(_=>{if(_ instanceof Pe)return this.urlTree=_.urlTree,this.match(_.urlTree.root);throw _ instanceof ee?this.noMatchError(_):_}))}processSegmentGroup(v,p,_,M,A){return 0===_.segments.length&&_.hasChildren()?this.processChildren(v,p,_,A):this.processSegment(v,p,_,_.segments,M,!0,A).pipe((0,Be.T)(V=>V instanceof br?[V]:[]))}processChildren(v,p,_,M){const A=[];for(const V of Object.keys(_.children))"primary"===V?A.unshift(V):A.push(V);return(0,k.H)(A).pipe((0,Ht.H)(V=>{const ce=_.children[V],te=function Io(h,v){const p=h.filter(_=>Mr(_)===v);return p.push(...h.filter(_=>Mr(_)!==v)),p}(p,V);return this.processSegmentGroup(v,te,ce,V,M)}),(0,be.S)((V,ce)=>(V.push(...ce),V)),(0,nt.U)(null),(0,fe.H)(),(0,pt.Z)(V=>{if(null===V)return pe(_);const ce=Xe(V);return function Fo(h){h.sort((v,p)=>v.value.outlet===tt?-1:p.value.outlet===tt?1:v.value.outlet.localeCompare(p.value.outlet))}(ce),(0,H.of)(ce)}))}processSegment(v,p,_,M,A,V,ce){return(0,k.H)(p).pipe((0,Ht.H)(te=>this.processSegmentAgainstRoute(te._injector??v,p,te,_,M,A,V,ce).pipe((0,J.W)(Ve=>{if(Ve instanceof ee)return(0,H.of)(null);throw Ve}))),(0,gt.$)(te=>!!te),(0,J.W)(te=>{if(xi(te))return function no(h,v,p){return 0===v.length&&!h.children[p]}(_,M,A)?(0,H.of)(new Ro):pe(_);throw te}))}processSegmentAgainstRoute(v,p,_,M,A,V,ce,te){return Mr(_)===V||V!==tt&&Gr(M,A,_)?void 0===_.redirectTo?this.matchSegmentAgainstRoute(v,M,_,A,V,te):this.allowRedirects&&ce?this.expandSegmentAgainstRouteUsingRedirect(v,M,p,_,A,V,te):pe(M):pe(M)}expandSegmentAgainstRouteUsingRedirect(v,p,_,M,A,V,ce){const{matched:te,parameters:Ve,consumedSegments:ft,positionalParamSegments:St,remainingSegments:wn}=Mn(p,M,A);if(!te)return pe(p);"string"==typeof M.redirectTo&&"/"===M.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const oo=new Xr(A,Ve,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xt(M),Mr(M),M.component??M._loadedComponent??null,M,Qn(M)),Jr=Qr(oo,ce,this.paramsInheritanceStrategy);oo.params=Object.freeze(Jr.params),oo.data=Object.freeze(Jr.data);const ts=this.applyRedirects.applyRedirectCommands(ft,M.redirectTo,St,oo,v);return this.applyRedirects.lineralizeSegments(M,ts).pipe((0,pt.Z)(wi=>this.processSegment(v,_,p,wi.concat(wn),V,!1,ce)))}matchSegmentAgainstRoute(v,p,_,M,A,V){const ce=ut(p,_,M,v);return"**"===_.path&&(p.children={}),ce.pipe((0,qe.n)(te=>te.matched?this.getChildConfig(v=_._injector??v,_,M).pipe((0,qe.n)(({routes:Ve})=>{const ft=_._loadedInjector??v,{parameters:St,consumedSegments:wn,remainingSegments:oo}=te,Jr=new Xr(wn,St,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xt(_),Mr(_),_.component??_._loadedComponent??null,_,Qn(_)),ts=Qr(Jr,V,this.paramsInheritanceStrategy);Jr.params=Object.freeze(ts.params),Jr.data=Object.freeze(ts.data);const{segmentGroup:wi,slicedSegments:Ns}=bn(p,wn,oo,Ve);if(0===Ns.length&&wi.hasChildren())return this.processChildren(ft,Ve,wi,Jr).pipe((0,Be.T)(qs=>new br(Jr,qs)));if(0===Ve.length&&0===Ns.length)return(0,H.of)(new br(Jr,[]));const Gc=Mr(_)===A;return this.processSegment(ft,Ve,wi,Ns,Gc?tt:A,!0,Jr).pipe((0,Be.T)(qs=>new br(Jr,qs instanceof br?[qs]:[])))})):pe(p)))}getChildConfig(v,p,_){return p.children?(0,H.of)({routes:p.children,injector:v}):p.loadChildren?void 0!==p._loadedRoutes?(0,H.of)({routes:p._loadedRoutes,injector:p._loadedInjector}):function w(h,v,p,_){const M=v.canLoad;if(void 0===M||0===M.length)return(0,H.of)(!0);const A=M.map(V=>{const ce=_r(V,h);return zt(function Is(h){return h&&_o(h.canLoad)}(ce)?ce.canLoad(v,p):(0,a.N4e)(h,()=>ce(v,p)))});return(0,H.of)(A).pipe(yi(),S())}(v,p,_).pipe((0,pt.Z)(M=>M?this.configLoader.loadChildren(v,p).pipe((0,Qe.M)(A=>{p._loadedRoutes=A.routes,p._loadedInjector=A.injector})):function rt(){return(0,ue.$)(sr(!1,xn.GuardRejected))}())):(0,H.of)({routes:[],injector:v})}}function ze(h){const v=h.value.routeConfig;return v&&""===v.path}function Xe(h){const v=[],p=new Set;for(const _ of h){if(!ze(_)){v.push(_);continue}const M=v.find(A=>_.value.routeConfig===A.value.routeConfig);void 0!==M?(M.children.push(..._.children),p.add(M)):v.push(_)}for(const _ of p){const M=Xe(_.children);v.push(new br(_.value,M))}return v.filter(_=>!p.has(_))}function xt(h){return h.data||{}}function Qn(h){return h.resolve||{}}function ro(h){const v=h.children.map(p=>ro(p)).flat();return[h,...v]}function Sn(h){return(0,qe.n)(v=>{const p=h(v);return p?(0,k.H)(p).pipe((0,Be.T)(()=>v)):(0,H.of)(v)})}let ki=(()=>{class h{buildTitle(p){let _,M=p.root;for(;void 0!==M;)_=this.getResolvedTitleForRoute(M)??_,M=M.children.find(A=>A.outlet===tt);return _}getResolvedTitleForRoute(p){return p.data[Pn]}static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:()=>(0,a.WQX)(Tn),providedIn:"root"})}}return h})(),Tn=(()=>{class h extends ki{constructor(p){super(),this.title=p}updateTitle(p){const _=this.buildTitle(p);void 0!==_&&this.title.setTitle(_)}static{this.\u0275fac=function(_){return new(_||h)(a.KVO(gn.hE))}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})();const zr=new a.nKC("",{providedIn:"root",factory:()=>({})});let ko=(()=>{class h{static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275cmp=a.VBU({type:h,selectors:[["ng-component"]],standalone:!0,features:[a.aNF],decls:1,vars:0,template:function(_,M){1&_&&a.nrm(0,"router-outlet")},dependencies:[Zi],encapsulation:2})}}return h})();function ht(h){const v=h.children&&h.children.map(ht),p=v?{...h,children:v}:{...h};return!p.component&&!p.loadComponent&&(v||p.loadChildren)&&p.outlet&&p.outlet!==tt&&(p.component=ko),p}const Lt=new a.nKC("");let wl=(()=>{class h{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,a.WQX)(a.Ql9)}loadComponent(p){if(this.componentLoaders.get(p))return this.componentLoaders.get(p);if(p._loadedComponent)return(0,H.of)(p._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(p);const _=zt(p.loadComponent()).pipe((0,Be.T)(Vc),(0,Qe.M)(A=>{this.onLoadEndListener&&this.onLoadEndListener(p),p._loadedComponent=A}),(0,De.j)(()=>{this.componentLoaders.delete(p)})),M=new Re.G(_,()=>new Fe.B).pipe((0,$e.B)());return this.componentLoaders.set(p,M),M}loadChildren(p,_){if(this.childrenLoaders.get(_))return this.childrenLoaders.get(_);if(_._loadedRoutes)return(0,H.of)({routes:_._loadedRoutes,injector:_._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(_);const A=function kc(h,v,p,_){return zt(h.loadChildren()).pipe((0,Be.T)(Vc),(0,pt.Z)(M=>M instanceof a.Co$||Array.isArray(M)?(0,H.of)(M):(0,k.H)(v.compileModuleAsync(M))),(0,Be.T)(M=>{_&&_(h);let A,V,ce=!1;return Array.isArray(M)?(V=M,!0):(A=M.create(p).injector,V=A.get(Lt,[],{optional:!0,self:!0}).flat()),{routes:V.map(ht),injector:A}}))}(_,this.compiler,p,this.onLoadEndListener).pipe((0,De.j)(()=>{this.childrenLoaders.delete(_)})),V=new Re.G(A,()=>new Fe.B).pipe((0,$e.B)());return this.childrenLoaders.set(_,V),V}static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})();function Vc(h){return function Lc(h){return h&&"object"==typeof h&&"default"in h}(h)?h.default:h}let _a=(()=>{class h{static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:()=>(0,a.WQX)(Ca),providedIn:"root"})}}return h})(),Ca=(()=>{class h{shouldProcessUrl(p){return!0}extract(p){return p}merge(p,_){return p}static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})();const Rt=new a.nKC(""),$s=new a.nKC("");function El(h,v,p){const _=h.get($s),M=h.get(Ke.qQ);return h.get(a.SKi).runOutsideAngular(()=>{if(!M.startViewTransition||_.skipNextTransition)return _.skipNextTransition=!1,new Promise(Ve=>setTimeout(Ve));let A;const V=new Promise(Ve=>{A=Ve}),ce=M.startViewTransition(()=>(A(),function Yr(h){return new Promise(v=>{(0,a.mal)({read:()=>setTimeout(v)},{injector:h})})}(h))),{onViewTransitionCreated:te}=_;return te&&(0,a.N4e)(h,()=>te({transition:ce,from:v,to:p})),V})}const ms=new a.nKC("");let wa=(()=>{class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Fe.B,this.transitionAbortSubject=new Fe.B,this.configLoader=(0,a.WQX)(wl),this.environmentInjector=(0,a.WQX)(a.uvJ),this.urlSerializer=(0,a.WQX)(Hn),this.rootContexts=(0,a.WQX)(Ki),this.location=(0,a.WQX)(Ke.aZ),this.inputBindingEnabled=null!==(0,a.WQX)(Yi,{optional:!0}),this.titleStrategy=(0,a.WQX)(ki),this.options=(0,a.WQX)(zr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,a.WQX)(_a),this.createViewTransition=(0,a.WQX)(Rt,{optional:!0}),this.navigationErrorHandler=(0,a.WQX)(ms,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,H.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=M=>this.events.next(new Kt(M)),this.configLoader.onLoadStartListener=M=>this.events.next(new qt(M))}complete(){this.transitions?.complete()}handleNavigationRequest(p){const _=++this.navigationId;this.transitions?.next({...this.transitions.value,...p,id:_})}setupNavigations(p,_,M){return this.transitions=new W.t({id:0,currentUrlTree:_,currentRawUrl:_,extractedUrl:this.urlHandlingStrategy.extract(_),urlAfterRedirects:this.urlHandlingStrategy.extract(_),rawUrl:_,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Br,restoredState:null,currentSnapshot:M.snapshot,targetSnapshot:null,currentRouterState:M,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,It.p)(A=>0!==A.id),(0,Be.T)(A=>({...A,extractedUrl:this.urlHandlingStrategy.extract(A.rawUrl)})),(0,qe.n)(A=>{let V=!1,ce=!1;return(0,H.of)(A).pipe((0,qe.n)(te=>{if(this.navigationId>A.id)return this.cancelNavigationTransition(A,"",xn.SupersededByNewNavigation),Se.w;this.currentTransition=A,this.currentNavigation={id:te.id,initialUrl:te.rawUrl,extractedUrl:te.extractedUrl,targetBrowserUrl:"string"==typeof te.extras.browserUrl?this.urlSerializer.parse(te.extras.browserUrl):te.extras.browserUrl,trigger:te.source,extras:te.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Ve=!p.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Ve&&"reload"!==(te.extras.onSameUrlNavigation??p.onSameUrlNavigation)){const St="";return this.events.next(new j(te.id,this.urlSerializer.serialize(te.rawUrl),St,x.IgnoredSameUrlNavigation)),te.resolve(!1),Se.w}if(this.urlHandlingStrategy.shouldProcessUrl(te.rawUrl))return(0,H.of)(te).pipe((0,qe.n)(St=>{const wn=this.transitions?.getValue();return this.events.next(new ai(St.id,this.urlSerializer.serialize(St.extractedUrl),St.source,St.restoredState)),wn!==this.transitions?.getValue()?Se.w:Promise.resolve(St)}),function Fi(h,v,p,_,M,A){return(0,pt.Z)(V=>function Ri(h,v,p,_,M,A,V="emptyOnly"){return new Zo(h,v,p,_,M,V,A).recognize()}(h,v,p,_,V.extractedUrl,M,A).pipe((0,Be.T)(({state:ce,tree:te})=>({...V,targetSnapshot:ce,urlAfterRedirects:te}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,p.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Qe.M)(St=>{A.targetSnapshot=St.targetSnapshot,A.urlAfterRedirects=St.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:St.urlAfterRedirects};const wn=new we(St.id,this.urlSerializer.serialize(St.extractedUrl),this.urlSerializer.serialize(St.urlAfterRedirects),St.targetSnapshot);this.events.next(wn)}));if(Ve&&this.urlHandlingStrategy.shouldProcessUrl(te.currentRawUrl)){const{id:St,extractedUrl:wn,source:oo,restoredState:Jr,extras:ts}=te,wi=new ai(St,this.urlSerializer.serialize(wn),oo,Jr);this.events.next(wi);const Ns=Po(this.rootComponentType).snapshot;return this.currentTransition=A={...te,targetSnapshot:Ns,urlAfterRedirects:wn,extras:{...ts,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=wn,(0,H.of)(A)}{const St="";return this.events.next(new j(te.id,this.urlSerializer.serialize(te.extractedUrl),St,x.IgnoredByUrlHandlingStrategy)),te.resolve(!1),Se.w}}),(0,Qe.M)(te=>{const Ve=new Te(te.id,this.urlSerializer.serialize(te.extractedUrl),this.urlSerializer.serialize(te.urlAfterRedirects),te.targetSnapshot);this.events.next(Ve)}),(0,Be.T)(te=>(this.currentTransition=A={...te,guards:to(te.targetSnapshot,te.currentSnapshot,this.rootContexts)},A)),function va(h,v){return(0,pt.Z)(p=>{const{targetSnapshot:_,currentSnapshot:M,guards:{canActivateChecks:A,canDeactivateChecks:V}}=p;return 0===V.length&&0===A.length?(0,H.of)({...p,guardsResult:!0}):function Bs(h,v,p,_){return(0,k.H)(h).pipe((0,pt.Z)(M=>function u(h,v,p,_,M){const A=v&&v.routeConfig?v.routeConfig.canDeactivate:null;if(!A||0===A.length)return(0,H.of)(!0);const V=A.map(ce=>{const te=Ii(v)??M,Ve=_r(ce,te);return zt(function Os(h){return h&&_o(h.canDeactivate)}(Ve)?Ve.canDeactivate(h,v,p,_):(0,a.N4e)(te,()=>Ve(h,v,p,_))).pipe((0,gt.$)())});return(0,H.of)(V).pipe(yi())}(M.component,M.route,p,v,_)),(0,gt.$)(M=>!0!==M,!0))}(V,_,M,h).pipe((0,pt.Z)(ce=>ce&&function $t(h){return"boolean"==typeof h}(ce)?function N(h,v,p,_){return(0,k.H)(v).pipe((0,Ht.H)(M=>(0,ie.x)(function y(h,v){return null!==h&&v&&v(new P(h)),(0,H.of)(!0)}(M.route.parent,_),function f(h,v){return null!==h&&v&&v(new I(h)),(0,H.of)(!0)}(M.route,_),function d(h,v,p){const _=v[v.length-1],A=v.slice(0,v.length-1).reverse().map(V=>function Ts(h){const v=h.routeConfig?h.routeConfig.canActivateChild:null;return v&&0!==v.length?{node:h,guards:v}:null}(V)).filter(V=>null!==V).map(V=>(0,he.v)(()=>{const ce=V.guards.map(te=>{const Ve=Ii(V.node)??p,ft=_r(te,Ve);return zt(function ps(h){return h&&_o(h.canActivateChild)}(ft)?ft.canActivateChild(_,h):(0,a.N4e)(Ve,()=>ft(_,h))).pipe((0,gt.$)())});return(0,H.of)(ce).pipe(yi())}));return(0,H.of)(A).pipe(yi())}(h,M.path,p),function l(h,v,p){const _=v.routeConfig?v.routeConfig.canActivate:null;if(!_||0===_.length)return(0,H.of)(!0);const M=_.map(A=>(0,he.v)(()=>{const V=Ii(v)??p,ce=_r(A,V);return zt(function Rn(h){return h&&_o(h.canActivate)}(ce)?ce.canActivate(v,h):(0,a.N4e)(V,()=>ce(v,h))).pipe((0,gt.$)())}));return(0,H.of)(M).pipe(yi())}(h,M.route,p))),(0,gt.$)(M=>!0!==M,!0))}(_,A,h,v):(0,H.of)(ce)),(0,Be.T)(ce=>({...p,guardsResult:ce})))})}(this.environmentInjector,te=>this.events.next(te)),(0,Qe.M)(te=>{if(A.guardsResult=te.guardsResult,te.guardsResult&&"boolean"!=typeof te.guardsResult)throw $r(0,te.guardsResult);const Ve=new Oe(te.id,this.urlSerializer.serialize(te.extractedUrl),this.urlSerializer.serialize(te.urlAfterRedirects),te.targetSnapshot,!!te.guardsResult);this.events.next(Ve)}),(0,It.p)(te=>!!te.guardsResult||(this.cancelNavigationTransition(te,"",xn.GuardRejected),!1)),Sn(te=>{if(te.guards.canActivateChecks.length)return(0,H.of)(te).pipe((0,Qe.M)(Ve=>{const ft=new Ye(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),this.urlSerializer.serialize(Ve.urlAfterRedirects),Ve.targetSnapshot);this.events.next(ft)}),(0,qe.n)(Ve=>{let ft=!1;return(0,H.of)(Ve).pipe(function Zr(h,v){return(0,pt.Z)(p=>{const{targetSnapshot:_,guards:{canActivateChecks:M}}=p;if(!M.length)return(0,H.of)(p);const A=new Set(M.map(te=>te.route)),V=new Set;for(const te of A)if(!V.has(te))for(const Ve of ro(te))V.add(Ve);let ce=0;return(0,k.H)(V).pipe((0,Ht.H)(te=>A.has(te)?function cn(h,v,p,_){const M=h.routeConfig,A=h._resolve;return void 0!==M?.title&&!Xi(M)&&(A[Pn]=M.title),function Co(h,v,p,_){const M=hr(h);if(0===M.length)return(0,H.of)({});const A={};return(0,k.H)(M).pipe((0,pt.Z)(V=>function gs(h,v,p,_){const M=Ii(v)??_,A=_r(h,M);return zt(A.resolve?A.resolve(v,p):(0,a.N4e)(M,()=>A(v,p)))}(h[V],v,p,_).pipe((0,gt.$)(),(0,Qe.M)(ce=>{if(ce instanceof eo)throw $r(new jt,ce);A[V]=ce}))),(0,re.o)(1),(0,ve.u)(A),(0,J.W)(V=>xi(V)?Se.w:(0,ue.$)(V)))}(A,h,v,_).pipe((0,Be.T)(V=>(h._resolvedData=V,h.data=Qr(h,h.parent,p).resolve,null)))}(te,_,h,v):(te.data=Qr(te,te.parent,h).resolve,(0,H.of)(void 0))),(0,Qe.M)(()=>ce++),(0,re.o)(1),(0,pt.Z)(te=>ce===V.size?(0,H.of)(p):Se.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Qe.M)({next:()=>ft=!0,complete:()=>{ft||this.cancelNavigationTransition(Ve,"",xn.NoDataFromResolver)}}))}),(0,Qe.M)(Ve=>{const ft=new We(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),this.urlSerializer.serialize(Ve.urlAfterRedirects),Ve.targetSnapshot);this.events.next(ft)}))}),Sn(te=>{const Ve=ft=>{const St=[];ft.routeConfig?.loadComponent&&!ft.routeConfig._loadedComponent&&St.push(this.configLoader.loadComponent(ft.routeConfig).pipe((0,Qe.M)(wn=>{ft.component=wn}),(0,Be.T)(()=>{})));for(const wn of ft.children)St.push(...Ve(wn));return St};return(0,X.z)(Ve(te.targetSnapshot.root)).pipe((0,nt.U)(null),(0,Je.s)(1))}),Sn(()=>this.afterPreactivation()),(0,qe.n)(()=>{const{currentSnapshot:te,targetSnapshot:Ve}=A,ft=this.createViewTransition?.(this.environmentInjector,te.root,Ve.root);return ft?(0,k.H)(ft).pipe((0,Be.T)(()=>A)):(0,H.of)(A)}),(0,Be.T)(te=>{const Ve=function qo(h,v,p){const _=Kn(h,v._root,p?p._root:void 0);return new go(_,v)}(p.routeReuseStrategy,te.targetSnapshot,te.currentRouterState);return this.currentTransition=A={...te,targetRouterState:Ve},this.currentNavigation.targetRouterState=Ve,A}),(0,Qe.M)(()=>{this.events.next(new Ge)}),((h,v,p,_)=>(0,Be.T)(M=>(new li(v,M.targetRouterState,M.currentRouterState,p,_).activate(h),M)))(this.rootContexts,p.routeReuseStrategy,te=>this.events.next(te),this.inputBindingEnabled),(0,Je.s)(1),(0,Qe.M)({next:te=>{V=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new qn(te.id,this.urlSerializer.serialize(te.extractedUrl),this.urlSerializer.serialize(te.urlAfterRedirects))),this.titleStrategy?.updateTitle(te.targetRouterState.snapshot),te.resolve(!0)},complete:()=>{V=!0}}),(0,it.Q)(this.transitionAbortSubject.pipe((0,Qe.M)(te=>{throw te}))),(0,De.j)(()=>{!V&&!ce&&this.cancelNavigationTransition(A,"",xn.SupersededByNewNavigation),this.currentTransition?.id===A.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,J.W)(te=>{if(ce=!0,Ko(te))this.events.next(new $(A.id,this.urlSerializer.serialize(A.extractedUrl),te.message,te.cancellationCode)),function Ai(h){return Ko(h)&&Nt(h.url)}(te)?this.events.next(new ct(te.url,te.navigationBehaviorOptions)):A.resolve(!1);else{const Ve=new le(A.id,this.urlSerializer.serialize(A.extractedUrl),te,A.targetSnapshot??void 0);try{const ft=(0,a.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Ve));if(ft instanceof eo){const{message:St,cancellationCode:wn}=$r(0,ft);this.events.next(new $(A.id,this.urlSerializer.serialize(A.extractedUrl),St,wn)),this.events.next(new ct(ft.redirectTo,ft.navigationBehaviorOptions))}else{this.events.next(Ve);const St=p.errorHandler(te);A.resolve(!!St)}}catch(ft){this.options.resolveNavigationPromiseOnError?A.resolve(!1):A.reject(ft)}}return Se.w}))}))}cancelNavigationTransition(p,_,M){const A=new $(p.id,this.urlSerializer.serialize(p.extractedUrl),_,M);this.events.next(A),p.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const p=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),_=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return p.toString()!==_?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})();function Hs(h){return h!==Br}let Ps=(()=>{class h{static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:()=>(0,a.WQX)(m),providedIn:"root"})}}return h})();class Ea{shouldDetach(v){return!1}store(v,p){}shouldAttach(v){return!1}retrieve(v){return null}shouldReuseRoute(v,p){return v.routeConfig===p.routeConfig}}let m=(()=>{class h extends Ea{static{this.\u0275fac=(()=>{let p;return function(M){return(p||(p=a.xGo(h)))(M||h)}})()}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})(),T=(()=>{class h{static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:()=>(0,a.WQX)(C),providedIn:"root"})}}return h})(),C=(()=>{class h extends T{constructor(){super(...arguments),this.location=(0,a.WQX)(Ke.aZ),this.urlSerializer=(0,a.WQX)(Hn),this.options=(0,a.WQX)(zr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,a.WQX)(_a),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new An,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Po(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(p){return this.location.subscribe(_=>{"popstate"===_.type&&p(_.url,_.state)})}handleRouterEvent(p,_){if(p instanceof ai)this.stateMemento=this.createStateMemento();else if(p instanceof j)this.rawUrlTree=_.initialUrl;else if(p instanceof we){if("eager"===this.urlUpdateStrategy&&!_.extras.skipLocationChange){const M=this.urlHandlingStrategy.merge(_.finalUrl,_.initialUrl);this.setBrowserUrl(_.targetBrowserUrl??M,_)}}else p instanceof Ge?(this.currentUrlTree=_.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(_.finalUrl,_.initialUrl),this.routerState=_.targetRouterState,"deferred"===this.urlUpdateStrategy&&!_.extras.skipLocationChange&&this.setBrowserUrl(_.targetBrowserUrl??this.rawUrlTree,_)):p instanceof $&&(p.code===xn.GuardRejected||p.code===xn.NoDataFromResolver)?this.restoreHistory(_):p instanceof le?this.restoreHistory(_,!0):p instanceof qn&&(this.lastSuccessfulId=p.id,this.currentPageId=this.browserPageId)}setBrowserUrl(p,_){const M=p instanceof An?this.urlSerializer.serialize(p):p;if(this.location.isCurrentPathEqualTo(M)||_.extras.replaceUrl){const V={..._.extras.state,...this.generateNgRouterState(_.id,this.browserPageId)};this.location.replaceState(M,"",V)}else{const A={..._.extras.state,...this.generateNgRouterState(_.id,this.browserPageId+1)};this.location.go(M,"",A)}}restoreHistory(p,_=!1){if("computed"===this.canceledNavigationResolution){const A=this.currentPageId-this.browserPageId;0!==A?this.location.historyGo(A):this.currentUrlTree===p.finalUrl&&0===A&&(this.resetState(p),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(_&&this.resetState(p),this.resetUrlToCurrentUrlTree())}resetState(p){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,p.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(p,_){return"computed"===this.canceledNavigationResolution?{navigationId:p,\u0275routerPageId:_}:{navigationId:p}}static{this.\u0275fac=(()=>{let p;return function(M){return(p||(p=a.xGo(h)))(M||h)}})()}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})();var b=function(h){return h[h.COMPLETE=0]="COMPLETE",h[h.FAILED=1]="FAILED",h[h.REDIRECTING=2]="REDIRECTING",h}(b||{});function L(h,v){h.events.pipe((0,It.p)(p=>p instanceof qn||p instanceof $||p instanceof le||p instanceof j),(0,Be.T)(p=>p instanceof qn||p instanceof j?b.COMPLETE:p instanceof $&&(p.code===xn.Redirect||p.code===xn.SupersededByNewNavigation)?b.REDIRECTING:b.FAILED),(0,It.p)(p=>p!==b.REDIRECTING),(0,Je.s)(1)).subscribe(()=>{v()})}function ae(h){throw h}const Ee={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},He={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Vt=(()=>{class h{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,a.WQX)(a.H3F),this.stateManager=(0,a.WQX)(T),this.options=(0,a.WQX)(zr,{optional:!0})||{},this.pendingTasks=(0,a.WQX)(a.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,a.WQX)(wa),this.urlSerializer=(0,a.WQX)(Hn),this.location=(0,a.WQX)(Ke.aZ),this.urlHandlingStrategy=(0,a.WQX)(_a),this._events=new Fe.B,this.errorHandler=this.options.errorHandler||ae,this.navigated=!1,this.routeReuseStrategy=(0,a.WQX)(Ps),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,a.WQX)(Lt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,a.WQX)(Yi,{optional:!0}),this.eventsSubscription=new je.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:p=>{this.console.warn(p)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const p=this.navigationTransitions.events.subscribe(_=>{try{const M=this.navigationTransitions.currentTransition,A=this.navigationTransitions.currentNavigation;if(null!==M&&null!==A)if(this.stateManager.handleRouterEvent(_,A),_ instanceof $&&_.code!==xn.Redirect&&_.code!==xn.SupersededByNewNavigation)this.navigated=!0;else if(_ instanceof qn)this.navigated=!0;else if(_ instanceof ct){const V=_.navigationBehaviorOptions,ce=this.urlHandlingStrategy.merge(_.url,M.currentRawUrl),te={browserUrl:M.extras.browserUrl,info:M.extras.info,skipLocationChange:M.extras.skipLocationChange,replaceUrl:M.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Hs(M.source),...V};this.scheduleNavigation(ce,Br,null,te,{resolve:M.resolve,reject:M.reject,promise:M.promise})}(function en(h){return!(h instanceof Ge||h instanceof ct)})(_)&&this._events.next(_)}catch(M){this.navigationTransitions.transitionAbortSubject.next(M)}});this.eventsSubscription.add(p)}resetRootComponentType(p){this.routerState.root.component=p,this.navigationTransitions.rootComponentType=p}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Br,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((p,_)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(p,"popstate",_)},0)})}navigateToSyncWithBrowser(p,_,M){const A={replaceUrl:!0},V=M?.navigationId?M:null;if(M){const te={...M};delete te.navigationId,delete te.\u0275routerPageId,0!==Object.keys(te).length&&(A.state=te)}const ce=this.parseUrl(p);this.scheduleNavigation(ce,_,V,A)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(p){this.config=p.map(ht),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(p,_={}){const{relativeTo:M,queryParams:A,fragment:V,queryParamsHandling:ce,preserveFragment:te}=_,Ve=te?this.currentUrlTree.fragment:V;let St,ft=null;switch(ce??this.options.defaultQueryParamsHandling){case"merge":ft={...this.currentUrlTree.queryParams,...A};break;case"preserve":ft=this.currentUrlTree.queryParams;break;default:ft=A||null}null!==ft&&(ft=this.removeEmptyProps(ft));try{St=Bt(M?M.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof p[0]||"/"!==p[0][0])&&(p=[]),St=this.currentUrlTree.root}return gr(St,p,ft,Ve??null)}navigateByUrl(p,_={skipLocationChange:!1}){const M=Nt(p)?p:this.parseUrl(p),A=this.urlHandlingStrategy.merge(M,this.rawUrlTree);return this.scheduleNavigation(A,Br,null,_)}navigate(p,_={skipLocationChange:!1}){return function bt(h){for(let v=0;v<h.length;v++)if(null==h[v])throw new a.wOt(4008,!1)}(p),this.navigateByUrl(this.createUrlTree(p,_),_)}serializeUrl(p){return this.urlSerializer.serialize(p)}parseUrl(p){try{return this.urlSerializer.parse(p)}catch{return this.urlSerializer.parse("/")}}isActive(p,_){let M;if(M=!0===_?{...Ee}:!1===_?{...He}:_,Nt(p))return _n(this.currentUrlTree,p,M);const A=this.parseUrl(p);return _n(this.currentUrlTree,A,M)}removeEmptyProps(p){return Object.entries(p).reduce((_,[M,A])=>(null!=A&&(_[M]=A),_),{})}scheduleNavigation(p,_,M,A,V){if(this.disposed)return Promise.resolve(!1);let ce,te,Ve;V?(ce=V.resolve,te=V.reject,Ve=V.promise):Ve=new Promise((St,wn)=>{ce=St,te=wn});const ft=this.pendingTasks.add();return L(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ft))}),this.navigationTransitions.handleNavigationRequest({source:_,restoredState:M,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:p,extras:A,resolve:ce,reject:te,promise:Ve,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ve.catch(St=>Promise.reject(St))}static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})();class Cn{}let Yo=(()=>{class h{constructor(p,_,M,A,V){this.router=p,this.injector=M,this.preloadingStrategy=A,this.loader=V}setUpPreloading(){this.subscription=this.router.events.pipe((0,It.p)(p=>p instanceof qn),(0,Ht.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(p,_){const M=[];for(const A of _){A.providers&&!A._injector&&(A._injector=(0,a.Ol2)(A.providers,p,`Route: ${A.path}`));const V=A._injector??p,ce=A._loadedInjector??V;(A.loadChildren&&!A._loadedRoutes&&void 0===A.canLoad||A.loadComponent&&!A._loadedComponent)&&M.push(this.preloadConfig(V,A)),(A.children||A._loadedRoutes)&&M.push(this.processRoutes(ce,A.children??A._loadedRoutes))}return(0,k.H)(M).pipe((0,Gt.U)())}preloadConfig(p,_){return this.preloadingStrategy.preload(_,()=>{let M;M=_.loadChildren&&void 0===_.canLoad?this.loader.loadChildren(p,_):(0,H.of)(null);const A=M.pipe((0,pt.Z)(V=>null===V?(0,H.of)(void 0):(_._loadedRoutes=V.routes,_._loadedInjector=V.injector,this.processRoutes(V.injector??p,V.routes))));if(_.loadComponent&&!_._loadedComponent){const V=this.loader.loadComponent(_);return(0,k.H)([A,V]).pipe((0,Gt.U)())}return A})}static{this.\u0275fac=function(_){return new(_||h)(a.KVO(Vt),a.KVO(a.Ql9),a.KVO(a.uvJ),a.KVO(Cn),a.KVO(wl))}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})();const Li=new a.nKC("");let vi=(()=>{class h{constructor(p,_,M,A,V={}){this.urlSerializer=p,this.transitions=_,this.viewportScroller=M,this.zone=A,this.options=V,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},V.scrollPositionRestoration||="disabled",V.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof ai?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=p.navigationTrigger,this.restoredId=p.restoredState?p.restoredState.navigationId:0):p instanceof qn?(this.lastId=p.id,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.urlAfterRedirects).fragment)):p instanceof j&&p.code===x.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof ne&&(p.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(p.position):p.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(p.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(p,_){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ne(p,"popstate"===this.lastSource?this.store[this.restoredId]:null,_))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(_){a.QTQ()}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac})}}return h})();function ui(h,v){return{\u0275kind:h,\u0275providers:v}}function Dl(){const h=(0,a.WQX)(a.zZn);return v=>{const p=h.get(a.o8S);if(v!==p.components[0])return;const _=h.get(Vt),M=h.get(zs);1===h.get(As)&&_.initialNavigation(),h.get(Ld,null,a.$GK.Optional)?.setUpPreloading(),h.get(Li,null,a.$GK.Optional)?.init(),_.resetRootComponentType(p.componentTypes[0]),M.closed||(M.next(),M.complete(),M.unsubscribe())}}const zs=new a.nKC("",{factory:()=>new Fe.B}),As=new a.nKC("",{providedIn:"root",factory:()=>1}),Ld=new a.nKC("");function Ci(h){return ui(0,[{provide:Ld,useExisting:Yo},{provide:Cn,useExisting:h}])}function wo(h){return ui(9,[{provide:Rt,useValue:El},{provide:$s,useValue:{skipNextTransition:!!h?.skipInitialTransition,...h}}])}const Ui=new a.nKC("ROUTER_FORROOT_GUARD"),Bc=[Ke.aZ,{provide:Hn,useClass:jt},Vt,Ki,{provide:rn,useFactory:function Vi(h){return h.routerState.root},deps:[Vt]},wl,[]];let bl=(()=>{class h{constructor(p){}static forRoot(p,_){return{ngModule:h,providers:[Bc,[],{provide:Lt,multi:!0,useValue:p},{provide:Ui,useFactory:es,deps:[[Vt,new a.Xx1,new a.kdw]]},{provide:zr,useValue:_||{}},_?.useHash?{provide:Ke.hb,useClass:Ke.fw}:{provide:Ke.hb,useClass:Ke.Sm},{provide:Li,useFactory:()=>{const h=(0,a.WQX)(Ke.Xr),v=(0,a.WQX)(a.SKi),p=(0,a.WQX)(zr),_=(0,a.WQX)(wa),M=(0,a.WQX)(Hn);return p.scrollOffset&&h.setOffset(p.scrollOffset),new vi(M,_,h,v,p)}},_?.preloadingStrategy?Ci(_.preloadingStrategy).\u0275providers:[],_?.initialNavigation?Vd(_):[],_?.bindToComponentInputs?ui(8,[Wo,{provide:Yi,useExisting:Wo}]).\u0275providers:[],_?.enableViewTransitions?wo().\u0275providers:[],[{provide:ba,useFactory:Dl},{provide:a.iLQ,multi:!0,useExisting:ba}]]}}static forChild(p){return{ngModule:h,providers:[{provide:Lt,multi:!0,useValue:p}]}}static{this.\u0275fac=function(_){return new(_||h)(a.KVO(Ui,8))}}static{this.\u0275mod=a.$C({type:h})}static{this.\u0275inj=a.G2t({})}}return h})();function es(h){return"guarded"}function Vd(h){return["disabled"===h.initialNavigation?ui(3,[{provide:a.hnV,multi:!0,useFactory:()=>{const v=(0,a.WQX)(Vt);return()=>{v.setUpLocationChangeListener()}}},{provide:As,useValue:2}]).\u0275providers:[],"enabledBlocking"===h.initialNavigation?ui(2,[{provide:As,useValue:0},{provide:a.hnV,multi:!0,deps:[a.zZn],useFactory:v=>{const p=v.get(Ke.hj,Promise.resolve());return()=>p.then(()=>new Promise(_=>{const M=v.get(Vt),A=v.get(zs);L(M,()=>{_(!0)}),v.get(wa).afterPreactivation=()=>(_(!0),A.closed?(0,H.of)(void 0):A),M.initialNavigation()}))}}]).\u0275providers:[]]}const ba=new a.nKC("")},4355:(ye,Q,F)=>{"use strict";F.d(Q,{gB:()=>fe});var a=F(3953),O=F(1562),k=F(6354),H=F(7343),W=F(6884);const Z={80:"other",443:"other",2082:"cpanel",2083:"cpanel",2086:"whostmgr",2087:"whostmgr",2095:"webmail",2096:"webmail",9876:"unittest",9877:"unittest",9878:"unittest",9879:"unittest",frontend:"cpanel",webmail:"webmail"};class ue{constructor(ve){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=ve.protocol;let De=ve.port;De||(function X(re){return/^https:$/i.test(re)}(this.protocol)?De="443":function de(re){return/^http:$/i.test(re)}(this.protocol)&&(De="80")),this.domain=ve.hostname,this.port=parseInt(De,10),this.path=ve.pathname;const $e=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?Z[2087]:/^cpanel\./.test(this.domain)?Z[2083]:/^webmail\./.test(this.domain)?Z[2095]:Z[De.toString()]||Z[$e[2]]||"whostmgr",this.securityToken=$e[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Gt=this.path.split("/");this.theme=Gt[3]}this.themePath="";let it=this.securityToken+"/";this.isUnprotected?it="/":this.isCpanel?it+="frontend/"+this.theme+"/":this.isWebmail?it+="webmail/"+this.theme+"/":this.isOther&&(it="/"),this.themePath=it,this.rootUrl=this.protocol+"//"+this.domain+":"+this.port}get isOther(){return/other/i.test(this.applicationName)}get isUnprotected(){return!this.securityToken&&-1!==this.unprotectedPaths.indexOf(function ie(re){return re&&re.replace(/\/?$/,"")}(this.applicationPath))}get isCpanel(){return/cpanel/i.test(this.applicationName)}get isWhm(){return/whostmgr/i.test(this.applicationName)}get isWebmail(){return/webmail/i.test(this.applicationName)}buildPath(ve){return this.themePath+ve}buildFullPath(ve){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(ve)}buildTokenPath(ve){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+ve}}class Se{get pathname(){return window.location.pathname}get port(){return window.location.port}get hostname(){return window.location.hostname}get protocol(){return window.location.protocol}}var Re=F(3971),Fe=F.n(Re),je=F(6062),Ke=F.n(je),Be=function(re){return re[re.Error=0]="Error",re[re.Warning=1]="Warning",re[re.Information=2]="Information",re[re.Unknown=3]="Unknown",re}(Be||{});const qe={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Ct{constructor(ve,De){if(this.status=0,this.messages=[],this.meta=function Je(re){return JSON.parse(JSON.stringify(re))}(qe),this.options={keepUnprocessedResponse:!1},Fe()(ve)||Ke()(ve))throw new Error("The response was unexpectedly undefined or null");De&&(this.options=De),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(ve)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(ve){return this.messages.filter(De=>De.type===ve)}get errors(){return this._getMessages(Be.Error)}get warnings(){return this._getMessages(Be.Warning)}get infoMessages(){return this._getMessages(Be.Information)}_hasMessages(ve){return this.messages.filter(De=>De.type===ve).length>0}get hasErrors(){return this._hasMessages(Be.Error)}get hasWarnings(){return this._hasMessages(Be.Warning)}get hasInfoMessages(){return this._hasMessages(Be.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class It{constructor(ve){this.isPaged=!1,this.record=0,this.page=0,this.pageSize=0,this.totalRecords=0,this.totalPages=0,this.isFiltered=!1,this.recordsBeforeFilter=0,this.batch=!1,this.properties={},ve.chunk&&(this.isPaged=!0,this.record=parseInt(ve.chunk.start,10)||0,this.page=parseInt(ve.chunk.current,10)||0,this.pageSize=parseInt(ve.chunk.size,10)||0,this.totalPages=parseInt(ve.chunk.chunks,10)||0,this.totalRecords=parseInt(ve.chunk.records,10)||0),ve.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(ve.filter.filtered,10)||0);const De=new Set(["paginate","filter"]);Object.keys(ve).filter($e=>!De.has($e)).forEach($e=>{this.properties[$e]=ve[$e]})}}class pt extends Ct{_parseStatus(ve){if(this.status=0,typeof ve.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(ve.result,10)}_parseMessages(ve){if(!ve.result){const De=[ve.reason];De&&De.length&&De.forEach($e=>{this.messages.push({type:Be.Error,message:$e})})}}_reduce_list_data(ve){if("object"==typeof ve&&!(ve instanceof Array)){const De=Object.keys(ve);if(1===De.length){const $e=ve[De[0]];$e?$e instanceof Array&&(ve=$e):ve=[]}}return ve}constructor(ve,De){if(super(ve,De),!ve)throw new Error("Response object should be defined.");ve.metadata&&(this._parseStatus(ve.metadata),this._parseMessages(ve.metadata),this.meta=new It(ve.metadata)),this.data=this._reduce_list_data(ve.data)}}let fe=(()=>{class re{constructor(De){this.http=De}get(De){const $e=De.generate({verb:H.o.GET,encoder:new W.CY}),it=this.packageUrl($e);return this.http.get(it,{headers:this.packageHeaders($e)}).pipe((0,k.T)(this.packageResponseHandler(it)))}post(De){const $e=De.generate(),it=this.packageUrl($e);return this.http.post(it,$e.body,{headers:this.packageHeaders($e)}).pipe((0,k.T)(this.packageResponseHandler(it)))}packageHeaders(De){const $e={};return De.headers.forEach(it=>{$e[it.name]=it.value}),new O.Lr($e)}packageUrl(De){return new ue(new Se).buildTokenPath(De.url)}packageResponseHandler(De){return $e=>{const it=new pt($e);return it.meta.properties.url=De,it}}static{this.\u0275fac=function($e){return new($e||re)(a.KVO(O.Qq))}}static{this.\u0275prov=a.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}}return re})()},8658:(ye,Q,F)=>{"use strict";F.d(Q,{B:()=>W});var a=F(3953),O=F(6381);const k=new a.nKC("window"),H=X=>new O.h(X.CLDR,X.LEXICON);let W=(()=>{class X{static{this.\u0275fac=function(he){return new(he||X)}}static{this.\u0275mod=a.$C({type:X})}static{this.\u0275inj=a.G2t({providers:[{provide:k,useValue:window},{provide:O.h,useFactory:H,deps:[k]}]})}}return X})()},9490:(ye,Q,F)=>{"use strict";F.d(Q,{Ab:()=>Dr,C7:()=>Ln,CK:()=>Vr,GV:()=>Ue,H7:()=>nn,Jr:()=>mr,NB:()=>U,Sy:()=>Wn,Wp:()=>oe,Zi:()=>hn,ho:()=>Ti,jM:()=>at,kj:()=>Nt,kl:()=>Dt,pt:()=>Bt,pv:()=>gr,rY:()=>se,sb:()=>Ur,tq:()=>jr,uE:()=>Gn,ys:()=>q});var a=F(3953),O=F(177),k=F(1413),H=F(5964),W=F(6977),X=F(152),de=F(3294),ie=F(9417),he=F(8658),Z=F(6381),ue=F(9969),Se=F(728);const Re=["*"];function Fe(P,Me){if(1&P&&(a.j41(0,"span",7),a.SdG(1),a.k0s()),2&P){const I=a.XpG(2);a.BMQ("id",I.infoBlockID)}}function je(P,Me){if(1&P){const I=a.RV6();a.qex(0),a.j41(1,"a",3),a.bIt("click",function(){a.eBV(I);const ne=a.XpG();return a.Njj(ne.toggleInfoBlock())}),a.nrm(2,"span",4)(3,"span",5),a.k0s(),a.DNE(4,Fe,2,1,"span",6),a.bVm()}if(2&P){const I=a.XpG();a.R7$(),a.BMQ("id",I.infoIconID)("title",I.toggleActionTitle),a.R7$(2),a.Y8G("innerHtml",I.toggleActionTitle,a.npT),a.R7$(),a.Y8G("ngIf",I.showInfoBlock)}}function Ke(P,Me){if(1&P&&a.EFF(0),2&P){const I=a.XpG();a.SpI(" ",I.locale.maketext("Loading \u2026"),"\n")}}function Be(P,Me){1&P&&a.eu8(0)}const qe=["header"],Je=[[["","callout-heading",""]],"*"],Ct=["[callout-heading]","*"];function It(P,Me){if(1&P){const I=a.RV6();a.j41(0,"button",4),a.bIt("click",function(){a.eBV(I);const ne=a.XpG();return a.Njj(ne.closeClicked())}),a.nrm(1,"i",5),a.k0s()}if(2&P){const I=a.XpG();a.BMQ("id",I.buttonID)}}function pt(P,Me){if(1&P&&(a.j41(0,"li",3),a.nrm(1,"i",4)(2,"span",5),a.k0s()),2&P){const I=Me.$implicit;a.BMQ("id",I.id),a.R7$(2),a.Y8G("innerHtml",I.message,a.npT)}}function gt(P,Me){if(1&P&&(a.j41(0,"ul",1),a.DNE(1,pt,3,2,"li",2),a.k0s()),2&P){const I=a.XpG();a.R7$(),a.Y8G("ngForOf",I.getFieldErrors())}}const Ht=P=>({visibility:P}),Qe=(P,Me,I)=>({"switch-on":P,"switch-off":Me,disabled:I}),J=P=>({disabled:P}),be=(P,Me)=>({"switch-on":P,"switch-off":Me});function nt(P,Me){if(1&P&&(a.j41(0,"label",10)(1,"span",11),a.EFF(2),a.k0s()()),2&P){const I=a.XpG();a.FS9("for",I.toggleID),a.BMQ("aria-label",I.labelValue),a.R7$(),a.BMQ("id",I.onTextID),a.R7$(),a.SpI(" ",I.isToggleOff?I.offText:I.onText," ")}}function fe(P,Me){if(1&P&&a.nrm(0,"i",12),2&P){const I=a.XpG();a.BMQ("id",I.leftSpinnerID)}}function re(P,Me){if(1&P&&(a.j41(0,"label",13)(1,"span",14),a.EFF(2),a.k0s()()),2&P){const I=a.XpG();a.FS9("for",I.toggleID),a.BMQ("aria-label",I.labelValue),a.R7$(),a.BMQ("id",I.offTextID),a.R7$(),a.SpI(" ",I.isToggleOff?I.offText:I.onText," ")}}function ve(P,Me){if(1&P&&a.nrm(0,"i",15),2&P){const I=a.XpG();a.BMQ("id",I.rightSpinnerID)}}function De(P,Me){if(1&P){const I=a.RV6();a.j41(0,"button",9),a.bIt("click",function(){a.eBV(I);const ne=a.XpG(2);return a.Njj(ne.fireClose())}),a.j41(1,"span"),a.EFF(2,"\xd7"),a.k0s()()}if(2&P){const I=a.XpG(2);a.Y8G("id",I.closeButtonID)("title",I.closeLabel),a.BMQ("aria-label",I.closeLabel),a.R7$(),a.BMQ("aria-hidden",!0)}}function $e(P,Me){if(1&P){const I=a.RV6();a.j41(0,"button",10),a.bIt("click",function(){a.eBV(I);const ne=a.XpG(2);return a.Njj(ne.fireToggleMore())}),a.EFF(1),a.k0s()}if(2&P){const I=a.XpG(2);a.Y8G("id",I.moreButtonID),a.R7$(),a.SpI(" ",I.moreLabel," ")}}function it(P,Me){if(1&P&&(a.j41(0,"strong",11),a.EFF(1),a.k0s()),2&P){const I=a.XpG(2);a.R7$(),a.JRh(I.label)}}function Gt(P,Me){if(1&P&&(a.j41(0,"span",12),a.EFF(1),a.k0s()),2&P){const I=a.XpG(2);a.Y8G("id",I.textMessageID),a.R7$(),a.SpI(" ",I.message," ")}}function gn(P,Me){if(1&P&&(a.j41(0,"li")(1,"span",12),a.EFF(2),a.k0s()()),2&P){const I=Me.$implicit,z=Me.index,ne=a.XpG(3);a.R7$(),a.FS9("id",ne.textListID+"_"+z),a.R7$(),a.SpI(" ",I," ")}}function tt(P,Me){if(1&P&&(a.j41(0,"ul",13),a.DNE(1,gn,3,2,"li",14),a.k0s()),2&P){const I=a.XpG(2);a.R7$(),a.Y8G("ngForOf",I.alert.list)}}function Pn(P,Me){if(1&P&&(a.j41(0,"div",1),a.DNE(1,De,3,4,"button",2)(2,$e,2,2,"button",3),a.nrm(3,"span"),a.j41(4,"div",4),a.DNE(5,it,2,1,"strong",5),a.j41(6,"span",6),a.DNE(7,Gt,2,2,"span",7),a.k0s(),a.DNE(8,tt,2,1,"ul",8),a.k0s()()),2&P){const I=a.XpG();a.ZvI("alert alert-",I.type," ng-hide"),a.Y8G("@openClose",I.animationClass),a.R7$(),a.Y8G("ngIf",I.showCloseButton),a.R7$(),a.Y8G("ngIf",I.showMoreButton),a.R7$(),a.HbH(I.icon),a.BMQ("aria-hidden",!0),a.R7$(2),a.Y8G("ngIf",I.hasLabel),a.R7$(2),a.Y8G("ngIf",I.message),a.R7$(),a.Y8G("ngIf",I.alert&&I.alert.list&&I.alert.list.length)}}function Rr(P,Me){if(1&P){const I=a.RV6();a.j41(0,"div",6)(1,"cp-alert",7),a.bIt("close",function(){const ne=a.eBV(I).$implicit,Ge=a.XpG();return a.Njj(Ge.alertClosed(ne))}),a.k0s()()}if(2&P){const I=Me.$implicit;a.R7$(),a.Y8G("alert",I)}}function un(P,Me){if(1&P&&a.nrm(0,"div",8),2&P){const I=a.XpG();a.Y8G("ngClass",I.positionClasses)}}const dn=["searchInput"];function $n(P,Me){if(1&P&&(a.j41(0,"span",6),a.EFF(1),a.k0s()),2&P){const I=a.XpG();a.R7$(),a.JRh(I.clearIconLabel)}}class Hn{static{this.defaultShowMore=!1}static{this.defaultAutoClosePeriod=0}static{this.defaultOptions={autoClosePeriod:Hn.defaultAutoClosePeriod,list:[]}}constructor(Me,I,z=Hn.defaultOptions){this._message=Me,this._type=I;const ne=z.id?z.id:Math.random().toString(36).substr(2,9);this._id=ne,this._closable=null==z.isCloseable||z.isCloseable,this._autoClosePeriod=z.autoClosePeriod,this._list=z.list,this._showMore=z.showMore||Hn.defaultShowMore,this._ts=null==z.createdOn?Date.now():z.createdOn}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(Me){const{message:I,type:z,...ne}=Me;return new Hn(I,z,ne)}}var jt=function(P){return P[P.error=0]="error",P[P.success=1]="success",P[P.warning=2]="warning",P[P.information=3]="information",P}(jt||{}),mn=function(P){return P.add="add",P.remove="remove",P.clear="clear",P}(mn||{});let Gn=(()=>{class P{static{this.defaultGroup="__DEFAULT__"}static{this.defaultSuccessOptions={autoClosePeriod:1e4}}constructor(){this._alertEventsSource=new k.B,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(I,z=P.defaultGroup){this._alerts[z]||(this._alerts[z]=[]);const ne=I instanceof Hn?I:Hn.makeAlert(I);if(this.list(z).push(ne),this._alertEventsSource.next({type:mn.add,group:z,alert:ne}),(0,a.naY)())switch(ne.type){case jt.error:console.error(ne.message,ne);break;case jt.warning:console.warn(ne.message,ne);break;default:console.log(ne.message,ne)}return ne}success(I,z=P.defaultGroup){return this.add(new Hn(I,jt.success,P.defaultSuccessOptions),z)}error(I,z=P.defaultGroup){return this.add({message:I,type:jt.error},z)}info(I,z=P.defaultGroup){return this.add({message:I,type:jt.information},z)}warn(I,z=P.defaultGroup){return this.add({message:I,type:jt.warning},z)}removeById(I,z=P.defaultGroup){const ne=this.list(z),Ge=ne.findIndex(ct=>ct.id===I,0);if(-1!==Ge){const ct=ne[Ge];ne.splice(Ge,1),this._alertEventsSource.next({type:mn.remove,group:z,alert:ct})}}clear(I=P.defaultGroup){this._alerts[I]=[],this._alertEventsSource.next({type:mn.clear,group:I})}list(I=P.defaultGroup){return null==this._alerts[I]&&(this._alerts[I]=[]),this._alerts[I]}static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275prov=a.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}}return P})(),hn=(()=>{class P{static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275mod=a.$C({type:P})}static{this.\u0275inj=a.G2t({providers:[Gn],imports:[O.MD]})}}return P})();var Nn=function(P){return P.inline="inline",P.topLeft="top-left",P.topMiddle="top-middle",P.topRight="top-right",P.bottomLeft="bottom-left",P.bottomMiddle="bottom-middle",P.bottomRight="bottom-right",P.middleLeft="middle-left",P.middleMiddle="middle-middle",P.middleRight="middle-right",P}(Nn||{});const Wr=Nn.topRight,Et=Nn.topLeft;let oe=(()=>{class P{constructor(I){this.locale=I,this.showInfoToggle=!0,this.toggleActionTitleExpand=I.maketext("Expand"),this.toggleActionTitleCollapse=I.maketext("Collapse")}toggleInfoBlock(){this.showInfoBlock=!this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-form-label`");this.labelID=`${this.id}_label`,this.infoIconID=`${this.id}_infoIcon`,this.infoBlockID=`${this.id}_infoBlock`,this.showInfoBlock=(!0===this.showInfoBlock||!1===this.showInfoBlock)&&this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}updateToggleActionTitle(I){this.toggleActionTitle=I?this.toggleActionTitleCollapse:this.toggleActionTitleExpand}static{this.\u0275fac=function(z){return new(z||P)(a.rXU(Z.h))}}static{this.\u0275cmp=a.VBU({type:P,selectors:[["cp-form-label"]],inputs:{id:"id",for:"for",showInfoBlock:"showInfoBlock",labelText:"labelText",showInfoToggle:"showInfoToggle"},ngContentSelectors:Re,decls:4,vars:4,consts:[[1,"toggle-info-label-container"],[3,"innerHtml"],[4,"ngIf"],["href","javascript:void(0)",1,"text-primary","form-info-sign",3,"click"],["aria-hidden","true",1,"far","fa-question-circle","text-primary"],[1,"sr-only",3,"innerHtml"],["class","info-block",4,"ngIf"],[1,"info-block"]],template:function(z,ne){1&z&&(a.NAR(),a.j41(0,"div",0),a.nrm(1,"label",1),a.EFF(2," \xa0 "),a.DNE(3,je,5,4,"ng-container",2),a.k0s()),2&z&&(a.R7$(),a.Y8G("innerHtml",ne.labelText,a.npT),a.BMQ("id",ne.labelID)("for",ne.for),a.R7$(2),a.Y8G("ngIf",ne.showInfoToggle))},dependencies:[O.bT],styles:["label[_ngcontent-%COMP%]{margin:0 0 5px}.info-block[_ngcontent-%COMP%]{color:#737373;display:block;margin:0 0 5px;font-weight:400;font-size:13px}"]})}}return P})(),se=(()=>{class P{static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275mod=a.$C({type:P})}static{this.\u0275inj=a.G2t({imports:[O.MD,he.B]})}}return P})(),U=(()=>{class P{constructor(I){this.locale=I,this.containerId="",this.spinnerId="",this.messageId=""}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-loading-spinner`");this.containerId=this.id+"_loadingSpinnerContainer",this.spinnerId=this.id+"_loadingSpinner",this.messageId=this.id+"_loadingMessage"}static{this.\u0275fac=function(z){return new(z||P)(a.rXU(Z.h))}}static{this.\u0275cmp=a.VBU({type:P,selectors:[["cp-loading-spinner"]],inputs:{loadingTemplate:"loadingTemplate",id:"id"},decls:6,vars:4,consts:[["defaultLoadingTemplate",""],["aria-busy","true","aria-live","polite",1,"loading-spinner-container"],[1,"fas","fa-spinner","fa-spin","spinner"],[1,"loading-spinner-message"],[4,"ngTemplateOutlet"]],template:function(z,ne){if(1&z&&(a.DNE(0,Ke,1,1,"ng-template",null,0,a.C5r),a.j41(2,"div",1),a.nrm(3,"i",2),a.j41(4,"div",3),a.DNE(5,Be,1,0,"ng-container",4),a.k0s()()),2&z){const Ge=a.sdS(1);a.R7$(2),a.BMQ("id",ne.containerId),a.R7$(),a.BMQ("id",ne.spinnerId),a.R7$(),a.BMQ("id",ne.messageId),a.R7$(),a.Y8G("ngTemplateOutlet",ne.loadingTemplate?ne.loadingTemplate:Ge)}},dependencies:[O.T3],styles:['.loading-spinner-container[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7;border-radius:2px;margin-bottom:20px;box-shadow:inset 41px 0 #179bd7}html[dir="ltr"][_nghost-%COMP%]   .loading-spinner-container[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset 40px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%]   .loading-spinner-container[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset -40px 0 #179bd7}.spinner[_ngcontent-%COMP%]{color:#d7edf9;font-size:20px;display:inline-block;padding:10px}.loading-spinner-message[_ngcontent-%COMP%]{color:#333;display:inline-block;overflow-wrap:break-word;word-wrap:break-word}.loading-spinner-message[_ngcontent-%COMP%]     a{text-decoration:underline;color:#255783}html[dir="ltr"][_nghost-%COMP%]   .loading-spinner-message[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .loading-spinner-message[_ngcontent-%COMP%]{margin:0 0 0 10px}html[dir="rtl"][_nghost-%COMP%]   .loading-spinner-message[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .loading-spinner-message[_ngcontent-%COMP%]{margin:0 10px 0 0}']})}}return P})(),q=(()=>{class P{static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275mod=a.$C({type:P})}static{this.\u0275inj=a.G2t({imports:[O.MD,he.B]})}}return P})();var me=function(P){return P.warnings="warnings",P.danger="danger",P.info="info",P.default="info",P}(me||{});let Ue=(()=>{class P{constructor(){this.calloutType=me.default,this.closeable=!1,this.close=new a.bkB}closeClicked(){this.close.emit(null)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-callout`");this.buttonID=`${this.id}_button`,this.headingID=`${this.id}_heading`,this.contentID=`${this.id}_content`}ngAfterViewInit(){0===this.header.nativeElement.children.length&&this.header.nativeElement.classList.add("hidden")}static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275cmp=a.VBU({type:P,selectors:[["cp-callout"]],viewQuery:function(z,ne){if(1&z&&a.GBs(qe,5),2&z){let Ge;a.mGM(Ge=a.lsd())&&(ne.header=Ge.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:Ct,decls:7,vars:7,consts:[["header",""],["role","alert"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[1,"callout-heading"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true",1,"fas","fa-sm","fa-times"]],template:function(z,ne){1&z&&(a.NAR(Je),a.j41(0,"div",1),a.DNE(1,It,2,1,"button",2),a.j41(2,"div",3,0),a.SdG(4),a.k0s(),a.j41(5,"div"),a.SdG(6,1),a.k0s()()),2&z&&(a.ZvI("callout callout-",ne.calloutType,""),a.BMQ("aria-label",ne.calloutType),a.R7$(),a.Y8G("ngIf",ne.closeable),a.R7$(),a.BMQ("id",ne.headingID),a.R7$(3),a.BMQ("id",ne.contentID))},dependencies:[O.bT],styles:['.callout[_ngcontent-%COMP%]{border-left-width:3px;border-left-style:solid;border-left-color:#eee;margin:15px 0;padding:15px}.callout-danger[_ngcontent-%COMP%]{background-color:#f2dede;border-left-color:#d03f00}.callout-success[_ngcontent-%COMP%]{background-color:#dff2d5;border-left-color:#83b655}.callout-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border-left-color:#f6c342}.callout-info[_ngcontent-%COMP%]{background-color:#d7edf9;border-left-color:#179bd7}.callout-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:15px;font-family:inherit;font-weight:600;line-height:1.1;color:inherit;text-transform:capitalize}html[dir="rtl"][_nghost-%COMP%]   .callout[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .callout[_ngcontent-%COMP%]{border-left-width:0;border-left-style:none;border-left-color:transparent;border-right-width:3px;border-right-style:solid;border-right-color:#eee}html[dir="rtl"][_nghost-%COMP%]   .callout-danger[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .callout-danger[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#d03f00}html[dir="rtl"][_nghost-%COMP%]   .callout-success[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .callout-success[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#83b655}html[dir="rtl"][_nghost-%COMP%]   .callout-warning[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .callout-warning[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#f6c342}html[dir="rtl"][_nghost-%COMP%]   .callout-info[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .callout-info[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#179bd7}']})}}return P})(),at=(()=>{class P{static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275mod=a.$C({type:P})}static{this.\u0275inj=a.G2t({imports:[O.MD]})}}return P})(),Dt=(()=>{class P{constructor(){}hasErrors(){return this.control&&!this.control.valid}hasChanged(){return this.control&&(this.control.dirty||this.control.touched)}getFieldErrors(){return this.control?Object.keys(this.control.errors).map(I=>(this.control.errors[I].id=`${this.id}_${I}`,this.control.errors[I].key=I,this.control.errors[I])):[]}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-validation-container`")}static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275cmp=a.VBU({type:P,selectors:[["cp-validation-container"]],inputs:{control:"control",id:"id"},decls:1,vars:1,consts:[["class","validation-container",4,"ngIf"],[1,"validation-container"],["class","validation validation-error ng-hide",4,"ngFor","ngForOf"],[1,"validation","validation-error","ng-hide"],[1,"fas","fa-exclamation-circle"],[1,"validation-message",3,"innerHtml"]],template:function(z,ne){1&z&&a.DNE(0,gt,2,1,"ul",0),2&z&&a.Y8G("ngIf",ne.hasErrors()&&ne.hasChanged())},dependencies:[O.Sq,O.bT],styles:['.validation-container[_ngcontent-%COMP%]{background-color:#f8c9c4;border:1px solid #a94442;padding:5px;border-radius:2px;list-style:none;margin-bottom:0;margin-top:5px}.validation-error[_ngcontent-%COMP%]{position:relative;line-height:20px}.validation-error[_ngcontent-%COMP%] > .fas[_ngcontent-%COMP%]{color:#a94442;display:inline-block;position:absolute;top:4px}.validation-message[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-left:20px}html[dir="rtl"][_nghost-%COMP%]   .validation-message[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .validation-message[_ngcontent-%COMP%]{margin-right:20px;margin-left:0}']})}}return P})(),nn=(()=>{class P{static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275mod=a.$C({type:P})}static{this.\u0275inj=a.G2t({imports:[O.MD]})}}return P})();var Nt=function(P){return P.loading="loading",P.disabled="disabled",P.enabled="enabled",P}(Nt||{});let Ln=(()=>{class P{constructor(){this.click=new a.bkB,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(I){switch(I){case Nt.enabled:this.setToEnabled();break;case Nt.loading:this.setToLoading();break;case Nt.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(I){I.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275cmp=a.VBU({type:P,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:Re,decls:3,vars:10,consts:[[1,"btn","action-button",3,"click","id","type","ngClass","disabled"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(z,ne){1&z&&(a.NAR(),a.j41(0,"button",0),a.bIt("click",function(ct){return ne.onClick(ct)}),a.nrm(1,"i",1),a.SdG(2),a.k0s()),2&z&&(a.Mz_("id","",ne.id,"-button"),a.FS9("type",ne.type),a.Y8G("ngClass",ne.buttonClass)("disabled",ne.isDisabled),a.R7$(),a.Mz_("id","",ne.id,"-spinner"),a.Y8G("ngStyle",a.eq3(8,Ht,ne.showSpinner?"visible":"hidden")))},dependencies:[O.YU,O.B3],styles:['.action-button[_ngcontent-%COMP%]{padding:6px 26px 6px 12px}html[dir="rtl"][_nghost-%COMP%]   .action-button[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .action-button[_ngcontent-%COMP%]{padding:6px 12px 6px 26px}']})}}return P})(),Bt=(()=>{class P{static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275mod=a.$C({type:P})}static{this.\u0275inj=a.G2t({imports:[O.MD]})}}return P})();var gr=function(P){return P.toggleOn="toggleSwitchOn",P.toggleOff="toggleSwitchOff",P.toggleUpdating="toggleSwitchUpdating",P}(gr||{}),mr=function(P){return P.left="left",P.right="right",P}(mr||{});let Vr=(()=>{class P{constructor(I){this.locale=I,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new a.bkB,this._isToggleUpdating=!1,this._hasSpinner=!1}get isToggleOff(){return this._isToggleOffStatus}get hasSpinner(){return this._hasSpinner}get isToggleUpdating(){return this._isToggleUpdating}get labelValue(){return this.isDisabled?"disabled":this.isToggleOff?this.offText:this.onText}get leftLabelPosition(){return mr.left}get rightLabelPosition(){return mr.right}get isLTR(){return this.locale.isLtr}set toggleState(I){switch(this._toggleState=I,I){case gr.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case gr.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case gr.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle(I){this.isDisabled||this._isToggleUpdating||("click"===I.type?this.toggleStatus.emit(I):"keyup"===I.type&&((13===I.keyCode||32===I.keyCode)&&this.toggleStatus.emit(I),this.isLTR?37!==I.keyCode||this._isToggleOffStatus?39===I.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit(I):this.toggleStatus.emit(I):(37===I.keyCode&&this._isToggleOffStatus||39===I.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit(I)))}isLabelVisible(I){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||I!==this.labelPosition)||void 0)}isSpinnerVisible(I){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||I!==this.labelPosition)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-toggle-switch`");this.toggleID=`${this.id}_toggle`,this.onTextID=`${this.id}_on_text`,this.offTextID=`${this.id}_off_text`,this.leftSpinnerID=`${this.id}_left_spinner`,this.rightSpinnerID=`${this.id}_right_spinner`}static{this.\u0275fac=function(z){return new(z||P)(a.rXU(Z.h))}}static{this.\u0275cmp=a.VBU({type:P,selectors:[["cp-toggle-switch"]],inputs:{id:"id",onText:"onText",offText:"offText",labelPosition:"labelPosition",isDisabled:"isDisabled",toggleState:"toggleState"},outputs:{toggleStatus:"toggleStatus"},decls:10,vars:19,consts:[["role","switch","tabindex","0",1,"toggle-switch-wrapper",3,"click","keyup","ngClass"],["class","toggle-switch-label-left",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-left",4,"ngIf"],["attr.aria-label","toggle",1,"toggle-switch",3,"ngClass"],[1,"toggle-switch-animate",3,"ngClass"],[1,"switch-left"],[1,"knob"],[1,"switch-right"],["class","toggle-switch-label-right",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-right",4,"ngIf"],[1,"toggle-switch-label-left",3,"for"],[1,"toggle-switch-text","toggle-switch-text-left"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-left"],[1,"toggle-switch-label-right",3,"for"],[1,"toggle-switch-text","toggle-switch-text-right"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-right"]],template:function(z,ne){1&z&&(a.j41(0,"div",0),a.bIt("click",function(ct){return ne.checkToggle(ct)})("keyup",function(ct){return ne.checkToggle(ct)}),a.DNE(1,nt,3,4,"label",1)(2,fe,1,1,"i",2),a.j41(3,"div",3)(4,"div",4),a.nrm(5,"span",5)(6,"span",6)(7,"span",7),a.k0s()(),a.DNE(8,re,3,4,"label",8)(9,ve,1,1,"i",9),a.k0s()),2&z&&(a.Y8G("ngClass",a.sMw(10,Qe,!ne.isToggleOff,ne.isToggleOff,ne.isDisabled||ne.isToggleUpdating)),a.BMQ("id",ne.toggleID)("value",ne.labelValue)("aria-checked",!ne.isToggleOff),a.R7$(),a.Y8G("ngIf",ne.isLabelVisible(ne.leftLabelPosition)),a.R7$(),a.Y8G("ngIf",ne.isSpinnerVisible(ne.leftLabelPosition)),a.R7$(),a.Y8G("ngClass",a.eq3(14,J,ne.isDisabled||ne.isToggleUpdating)),a.R7$(),a.Y8G("ngClass",a.l_i(16,be,!ne.isToggleOff,ne.isToggleOff)),a.R7$(4),a.Y8G("ngIf",ne.isLabelVisible(ne.rightLabelPosition)),a.R7$(),a.Y8G("ngIf",ne.isSpinnerVisible(ne.rightLabelPosition)))},dependencies:[O.YU,O.bT],styles:['.toggle-switch-wrapper[_ngcontent-%COMP%]{height:28px;cursor:pointer;border-radius:5px;padding:4px 4px 4px 20px;display:inline-block;margin-left:-20px}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]{min-width:35px;vertical-align:middle;height:12px;display:inline-block;overflow:visible;border-radius:6px;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]   .toggle-switch-animate[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;transition:left .5s;-o-transition:left .5s;-moz-transition:left .5s;-webkit-transition:left .5s}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]   .toggle-switch-animate[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-5px;border-radius:50%;display:inline-block;position:relative;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-left[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-right:4px}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-right[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-left:4px}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]{background-color:#428bca}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{background-color:#428bca;left:50%;z-index:99}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]{background-color:#ccc}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{left:0%;background-color:#ccc}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]   .toggle-switch-text[_ngcontent-%COMP%]{opacity:.75;font-style:italic}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]   .toggle-switch.disabled[_ngcontent-%COMP%]{cursor:not-allowed;background-color:#aaa}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]   .toggle-switch.disabled[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{background-color:#aaa}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-left[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-left[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-right[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-right[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{background-color:#428bca;left:-50%;z-index:99}']})}}return P})(),Ti=(()=>{class P{static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275mod=a.$C({type:P})}static{this.\u0275inj=a.G2t({imports:[O.MD,he.B]})}}return P})();var Vn=function(P){return P.new="new",P.closed="closed",P.open="open",P}(Vn||{});let ir=(()=>{class P{constructor(I){this.locale=I,this.close=new a.bkB,this.toggleMore=new a.bkB,this.animationClass=Vn.new}get icon(){switch(this.alert.type){case jt.error:return"type-icon fas fa-times-circle";case jt.warning:return"type-icon fas fa-exclamation-triangle";case jt.information:return"type-icon fas fa-info-circle";case jt.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case jt.error:return"danger";case jt.warning:return"warning";case jt.information:return"info";case jt.success:return"success"}}get hasLabel(){const I=this.label;return null!==I&&""!==I}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}ngOnInit(){if(this._showMore=!1,this._closed=!1,this.moreButtonID=this._buildID("btnMore",this.type,this.alert.id),this.closeButtonID=this._buildID("btnClose",this.type,this.alert.id),this.textMessageID=this._buildID("txtMessage",this.type,this.alert.id),this.textListID=this._buildID("txtList",this.type,this.alert.id),!this.label)switch(this.alert.type){case jt.success:this.label=this.locale.maketext("Success:");break;case jt.error:this.label=this.locale.maketext("Error:");break;case jt.information:this.label=this.locale.maketext("Information:");break;case jt.warning:this.label=this.locale.maketext("Warning:")}this.moreLabel||(this.moreLabel=this.locale.maketext("More")),this.closeLabel||(this.closeLabel=this.locale.maketext("Close")),setTimeout(()=>{this.animationClass=Vn.open},.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}fireToggleMore(){this._showMore=!this._showMore,this.toggleMore.emit({alert:this.alert,showMore:this._showMore,component:this})}fireClose(){this._timeout&&this.clearTimer(),this.animationClass=Vn.closed,setTimeout(()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0},250)}fireTimeout(){this.fireClose(),this.clearTimer()}startTimer(){this._timeout=setTimeout(()=>this.fireTimeout(),this.autoClosePeriod)}clearTimer(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}_buildID(...I){return I.join("_")}static{this.\u0275fac=function(z){return new(z||P)(a.rXU(Z.h))}}static{this.\u0275cmp=a.VBU({type:P,selectors:[["cp-alert"]],inputs:{alert:"alert",label:"label",closeLabel:"closeLabel",moreLabel:"moreLabel"},outputs:{close:"close",toggleMore:"toggleMore"},decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],["type","button","class","close",3,"id","title","click",4,"ngIf"],["type","button","class","btn btn-more btn-link pull-right flip",3,"id","click",4,"ngIf"],[1,"alert-message"],["class","alert-title",4,"ngIf"],[1,"alert-body"],[3,"id",4,"ngIf"],["class","alert-list",4,"ngIf"],["type","button",1,"close",3,"click","id","title"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"click","id"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(z,ne){1&z&&a.DNE(0,Pn,9,13,"div",0),2&z&&a.Y8G("ngIf",!ne.isClosed)},dependencies:[O.Sq,O.bT],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%]   .alert[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%]   .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[(0,ue.hZ)("openClose",[(0,ue.wk)(Vn.new,(0,ue.iF)({opacity:0})),(0,ue.wk)(Vn.open,(0,ue.iF)({opacity:1})),(0,ue.wk)(Vn.closed,(0,ue.iF)({opacity:0,transform:"translateX(25%)"})),(0,ue.kY)(`${Vn.open} => ${Vn.closed}`,[(0,ue.i0)("0.25s")]),(0,ue.kY)(`${Vn.new} => ${Vn.open}`,[(0,ue.i0)("0.25s")]),(0,ue.kY)(`${Vn.closed} => ${Vn.open}`,[(0,ue.i0)("0.25s")])])]}})}}return P})(),qr=(()=>{class P{static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275mod=a.$C({type:P})}static{this.\u0275inj=a.G2t({imports:[O.MD,Se.wb,he.B]})}}return P})(),zn=(()=>{class P{constructor(I){this.locale=I}get position(){return this.locale.isLtr?Wr:Et}static{this.\u0275fac=function(z){return new(z||P)(a.KVO(Z.h))}}static{this.\u0275prov=a.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}}return P})(),Dr=(()=>{class P{static{this.positionPrefix="position-"}constructor(I,z){this._alertService=I,this._positionService=z,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?P.positionPrefix+Nn.inline.toString():P.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(I){this._position=((P,Me=Nn.topRight)=>{if(P){const I=(P=>{const Me=Object.keys(Nn),z=Object.values(Nn).indexOf(P);return-1!==z?Me[z]:(console.warn("Invalid alertList.position set. It must be one of: top-left, top-middle, top-right, bottom-left, bottom-middle, bottom-right, middle-left, middle-middle, middle-right"),null)})(P);if(I)return Nn[I]}return Me})(I)}alertClosed(I){this._alertService.removeById(I.id,this.group)}ngOnInit(){this.group||(this.group=Gn.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(z=>this._addAlert(z)),this._groupEvents=this._alertService.alertEvents.pipe((0,H.p)(z=>z.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(I){return this.alerts.findIndex(z=>z.id===I)}_addAlert(I){return this.alerts.push(I),this.alerts}_removeAlert(I){const z=this._findAlertIndexById(I.id);return z>-1&&(this.alerts.splice(z,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(I){switch(I.type){case mn.add:this._addAlert(I.alert);break;case mn.clear:this._clearAlerts();break;case mn.remove:this._removeAlert(I.alert)}}static{this.\u0275fac=function(z){return new(z||P)(a.rXU(Gn),a.rXU(zn))}}static{this.\u0275cmp=a.VBU({type:P,selectors:[["cp-alert-list"]],inputs:{alerts:"alerts",group:"group",inline:"inline",position:"position"},decls:7,vars:3,consts:[["container",""],["list",""],[1,"alert-list-container",3,"ngClass"],[1,"alert-list"],["class","alert-container",4,"ngFor","ngForOf"],["class","alert-list-backdrop",3,"ngClass",4,"ngIf"],[1,"alert-container"],[3,"close","alert"],[1,"alert-list-backdrop",3,"ngClass"]],template:function(z,ne){1&z&&(a.j41(0,"div")(1,"div",2,0)(3,"div",3,1),a.DNE(5,Rr,2,1,"div",4),a.k0s()(),a.DNE(6,un,1,1,"div",5),a.k0s()),2&z&&(a.R7$(),a.Y8G("ngClass",ne.positionClasses),a.R7$(4),a.Y8G("ngForOf",ne.alerts),a.R7$(),a.Y8G("ngIf",ne.hasAlerts))},dependencies:[O.YU,O.Sq,O.bT,ir],styles:[".alert-list-container.position-inline[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}@media (min-width: 768px){.alert-list-container.position-inline[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-top-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-middle-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-backdrop.position-middle-middle[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:899;overflow:hidden;outline:0;background-color:#000;opacity:.5}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-middle-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]   .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}@media (max-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){position:fixed;z-index:900;min-width:25%;padding-left:1px;padding-right:1px;inset:0 auto auto 0;transform:none;max-width:100%;min-width:100%;width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%]{width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar{overflow-y:scroll}.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert[_ngcontent-%COMP%]{margin-bottom:5px}}@media (max-width: 768px) and (max-width: 768px){.whostmgr.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   .whostmgr[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   .whostmgr   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   .whostmgr[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   .whostmgr   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 218px)}}@media (max-width: 768px) and (max-width: 768px){.cpanel.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .cpanel[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr   .cpanel   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel   .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail   .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 50px)}}@media (max-width: 768px) and (min-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .whostmgr   [_nghost-%COMP%]:not(.nav-collapsed)   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .cpanel   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%], .webmail   [_nghost-%COMP%]   .alert-list-container[_ngcontent-%COMP%]:not(.position-inline)   .alert-list[_ngcontent-%COMP%]{max-width:500px}}"]})}}return P})(),Ur=(()=>{class P{static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275mod=a.$C({type:P})}static{this.\u0275inj=a.G2t({imports:[O.MD,qr]})}}return P})(),Wn=(()=>{class P{constructor(I){this.locale=I,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new a.bkB,this._searchSubject=new k.B,this._unsubscribe=new k.B,delete this.label,delete this.placeholder}get value(){return this._value}set value(I){this._value=I,this._searchSubject.next(I)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-search`");this.clearIconLabel=this.locale.maketext("Clear Input"),this.label||(this.label=this.locale.maketext("Search")),this.placeholder||(this.placeholder=this.locale.maketext("Search")),this._searchSubject.pipe((0,W.Q)(this._unsubscribe),(0,X.B)(this.debounce),(0,de.F)()).subscribe(I=>{this.valueChange.emit(I)})}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}static{this.\u0275fac=function(z){return new(z||P)(a.rXU(Z.h))}}static{this.\u0275cmp=a.VBU({type:P,selectors:[["cp-search"]],viewQuery:function(z,ne){if(1&z&&a.GBs(dn,5),2&z){let Ge;a.mGM(Ge=a.lsd())&&(ne.searchInput=Ge.first)}},inputs:{autofocus:"autofocus",debounce:"debounce",disabled:"disabled",id:"id",label:"label",placeholder:"placeholder",list:"list",value:"value"},outputs:{valueChange:"valueChange"},decls:6,vars:14,consts:[["searchInput",""],["role","search",1,"input-group"],["data-test","input","type","search",1,"form-control",3,"ngModelChange","keyup.esc","ngModel","disabled","id","placeholder","title"],["data-test","addon",1,"input-group-addon",3,"click","id"],["aria-hidden","true","data-test","icon",3,"ngClass","id"],["class","sr-only",4,"ngIf"],[1,"sr-only"]],template:function(z,ne){if(1&z){const Ge=a.RV6();a.j41(0,"div",1)(1,"input",2,0),a.mxI("ngModelChange",function(Qt){return a.eBV(Ge),a.DH7(ne.value,Qt)||(ne.value=Qt),a.Njj(Qt)}),a.bIt("keyup.esc",function(){return a.eBV(Ge),a.Njj(ne.clearValue())}),a.k0s(),a.j41(3,"span",3),a.bIt("click",function(){return a.eBV(Ge),a.Njj(ne.clearValue())}),a.nrm(4,"span",4),a.DNE(5,$n,2,1,"span",5),a.k0s()()}2&z&&(a.R7$(),a.Mz_("id","",ne.id,"-search-input"),a.R50("ngModel",ne.value),a.Y8G("disabled",ne.disabled)("placeholder",ne.placeholder)("title",ne.label),a.BMQ("aria-label",ne.label)("list",ne.list),a.R7$(2),a.Mz_("id","",ne.id,"-search-input-addon"),a.R7$(),a.Mz_("id","",ne.id,"-search-input-icon"),a.Y8G("ngClass",(null==ne.value?null:ne.value.length)>0?"fas fa-times":"fas fa-search"),a.R7$(),a.Y8G("ngIf",(null==ne.value?null:ne.value.length)>0))},dependencies:[O.YU,O.bT,ie.me,ie.BC,ie.vS],changeDetection:0})}}return P})(),jr=(()=>{class P{static{this.\u0275fac=function(z){return new(z||P)}}static{this.\u0275mod=a.$C({type:P})}static{this.\u0275inj=a.G2t({imports:[O.MD,ie.YN,he.B]})}}return P})()}}]);
Back to Directory