Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/account-enhancements/vendor-c0d76f48.js

(self.webpackChunkaccount_enhancements=self.webpackChunkaccount_enhancements||[]).push([[128],{7343:(ye,q,F)=>{"use strict";F.d(q,{o:()=>a});var a=function(x){return x[x.GET=0]="GET",x[x.HEAD=1]="HEAD",x[x.POST=2]="POST",x[x.PUT=3]="PUT",x[x.DELETE=4]="DELETE",x[x.CONNECT=5]="CONNECT",x[x.OPTIONS=6]="OPTIONS",x[x.TRACE=7]="TRACE",x[x.PATCH=8]="PATCH",x}(a||{})},6802:(ye,q,F)=>{"use strict";F.d(q,{e:()=>x}),F(2584);class x{constructor(W,Z){if(!W)throw new Error("You must provide a name when creating a name/value argument");this.name=W,this.value=Z}}},6884:(ye,q,F)=>{"use strict";F.d(q,{uM:()=>Ke,CY:()=>ze});var a=F(3971),x=F.n(a),k=F(6062),H=F.n(k),W=F(227),Z=F.n(W),he=F(7642),ie=F.n(he),fe=F(9706),Y=F.n(fe),ue=F(1622),be=F.n(ue),Ne=F(4968),Re=F.n(Ne);function ke(Ge){if(x()(Ge)||H()(Ge)||Z()(Ge)||ie()(Ge)||Y()(Ge))return!0;if(!Re()(Ge)&&!be()(Ge))return!1;for(const Pt in Ge)if(!ke(Ge[Pt]))return!1;return!0}class ze{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Pt,At,at){if(!Pt)throw new Error("Name must have a non-empty value");return`${Pt}=${encodeURIComponent(At.toString())}`+(at?"":this.recordSeparator)}}class Ke{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Pt,At,at){if(!Pt)throw new Error("Name must have a non-empty value");if(!ke(At))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Pt)+":"+JSON.stringify(At)+(at?"":this.recordSeparator)}}},8391:(ye,q,F)=>{"use strict";F.d(q,{d:()=>x,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 x{constructor(H,W,Z){if(!H)throw new Error("You must define a non-empty column name.");this.column=H,this.operator=W,this.value=Z}}},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:()=>x});var a=function(H){return H[H.Ascending=0]="Ascending",H[H.Descending=1]="Descending",H}(a||{}),x=function(H){return H[H.Lexicographic=0]="Lexicographic",H[H.Ipv4=1]="Ipv4",H[H.Numeric=2]="Numeric",H[H.NumericZeroAsMax=3]="NumericZeroAsMax",H}(x||{});class k{constructor(W,Z=a.Ascending,he=x.Lexicographic){if(!W)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=W,this.direction=Z,this.type=he}}},7609:(ye,q,F)=>{"use strict";F.d(q,{m:()=>vt,R:()=>rt});var a=F(4667),x=F.n(a),k=F(2584),H=F(6153),W=F(8391),Z=F(6802);const ie=Number.POSITIVE_INFINITY;class fe{constructor(re=1,ee=20){if(re<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(ee<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=re,this.pageSize=ee}all(){return this.pageSize===ie}}class Y{constructor(re=[]){this.headers=re}push(re){this.headers.push(re)}forEach(re,ee){this.headers.forEach(re,ee)}toArray(){const re=[];return this.headers.forEach(ee=>re.push({name:ee.name,value:ee.value})),re}toObject(){return this.headers.reduce((re,ee)=>(re[ee.name]=ee.value,re),{})}}class ue{constructor(re){this._header=re}get name(){return this._header.name}get value(){return this._header.value}}class be extends Error{constructor(re){super(re),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,be.prototype)}}class Ne extends Error{constructor(re){super(re),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,Ne.prototype)}}class Re extends ue{constructor(re,ee){if(!re)throw new be("You must pass a valid token to the constructor.");if(!ee&&!/^.+[:]/.test(re))throw new be("You must pass a cPanel username associated with the cPanel API token.");if(!ee&&!/[:].+$/.test(re))throw new be("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${ee?ee+":":""}${re}`})}}Error,Error;class Ke{get usePager(){return this._usePager}constructor(re){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new fe,this.headers=new Y,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,re&&(this.method=re.method,re.namespace&&(this.namespace=re.namespace),re.arguments&&re.arguments.forEach(ee=>{this.addArgument(ee)}),re.sorts&&re.sorts.forEach(ee=>{this.addSort(ee)}),re.filters&&re.filters.forEach(ee=>{this.addFilter(ee)}),re.columns&&re.columns.forEach(ee=>this.addColumn(ee)),re.pager&&this.paginate(re.pager),this.config=re.config?re.config:this.defaultConfig,re.headers&&re.headers.forEach(ee=>{this.addHeader(ee)}))}addArgument(re){return this.arguments.push(re instanceof Z.e?re:new Z.e(re.name,re.value)),this}addSort(re){return this.sorts.push(re instanceof H.FU?re:new H.FU(re.column,re.direction,re.type)),this}addFilter(re){return this.filters.push(re instanceof W.d?re:new W.d(re.column,re.operator,re.value)),this}addColumn(re){return this.columns.push(re),this}addHeader(re){return this.headers.push(re instanceof ue?re:new ue(re)),this}paginate(re){return this.pager=re instanceof fe?re:new fe(re.page,re.pageSize||20),this._usePager=!0,this}}var Ge=F(7343);const At=new class Pt{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Ge.o.GET,Ge.o.DELETE,Ge.o.HEAD].forEach(re=>{const ee=Ge.o[re].toString();this.map[ee]={verb:ee,dataInBody:!1}}),[Ge.o.POST,Ge.o.PUT,Ge.o.PATCH].forEach(re=>{const ee=Ge.o[re].toString();this.map[ee]={verb:ee,dataInBody:!0}})}getRule(re){const ee="string"==typeof re?re:Ge.o[re].toString();let X=this.map[ee];return X||(X=this.map.DEFAULT),X}};var at=F(6884),Et=F(6860),zt=F.n(Et),rt=function(Ye){return Ye.JsonApi="json-api",Ye.XmlApi="xml-api",Ye}(rt||{});class vt extends Ke{addHeader(re){if(re instanceof Re)throw new Ne("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(re),this}_build(re,ee){let X="";return re.forEach((pe,Me,je)=>{X+=ee.encode(pe.name,pe.value,Me===je.length-1)}),ee.separatorStart+X+ee.separatorEnd}_make_whm_api_fieldspec_from_number(re){return zt()("",Math.floor(re/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(re%26)}_generateArguments(re){re.push({name:"api.version",value:1}),this.arguments.forEach(X=>re.push(X))}_generateSorts(re){this.sorts.forEach((ee,X)=>{0===X&&re.push({name:"api.sort.enable",value:k.x(!0)});const pe=`api.sort.${this._make_whm_api_fieldspec_from_number(X)}`;re.push({name:`${pe}.field`,value:ee.column}),re.push({name:`${pe}.reverse`,value:k.x(ee.direction!==H.UE.Ascending)}),re.push({name:`${pe}.method`,value:x()(H.r3[ee.type])})})}_lookupFilterOperator(re){switch(re){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[re]} for WHM API 1`)}}_generateFilters(re){this.filters.forEach((ee,X)=>{0===X&&(re.push({name:"api.filter.enable",value:k.x(!0)}),re.push({name:"api.filter.verbose",value:k.x(!0)}));const pe=`api.filter.${this._make_whm_api_fieldspec_from_number(X)}`;re.push({name:`${pe}.field`,value:ee.column}),re.push({name:`${pe}.type`,value:this._lookupFilterOperator(ee.operator)}),re.push({name:`${pe}.arg0`,value:ee.value})})}_translatePageToStart(re){return(re.page-1)*re.pageSize+1}_generatePagination(re){if(!this.usePager)return;const ee=this.pager.all();re.push({name:"api.chunk.enable",value:k.x(!0)}),re.push({name:"api.chunk.verbose",value:k.x(!0)}),re.push({name:"api.chunk.start",value:ee?-1:this._translatePageToStart(this.pager)}),ee||re.push({name:"api.chunk.size",value:this.pager.pageSize})}constructor(re,ee){if(super(ee),this.apiType=rt.JsonApi,re!=rt.JsonApi&&re!=rt.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=re,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}generate(re){re||(re={verb:Ge.o.POST,encoder:this.config.json?new at.uM:new at.CY}),re.encoder||(re.encoder=this.config.json?new at.uM:new at.CY);const ee=At.getRule(re.verb),X={headers:new Y([{name:"Content-Type",value:re.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},pe=[];this._generateArguments(pe),this._generateSorts(pe),this._generateFilters(pe),this._generatePagination(pe);const Me=this._build(pe,re.encoder);return ee.dataInBody?X.body=Me:X.url+=re.verb===Ge.o.GET?`?${Me}`:Me,this.headers.forEach(je=>{X.headers.push({name:je.name,value:je.value})}),X}}},914:(ye,q,F)=>{var a=F(2286);ye.exports=a.Symbol},9655:ye=>{ye.exports=function q(F,a){for(var x=-1,k=null==F?0:F.length,H=Array(k);++x<k;)H[x]=a(F[x],x,F);return H}},8859:ye=>{ye.exports=function q(F,a,x,k){var H=-1,W=null==F?0:F.length;for(k&&W&&(x=F[++H]);++H<W;)x=a(x,F[H],H,F);return x}},8058:(ye,q,F)=>{var x=F(6010)("length");ye.exports=x},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),x=F(6710),k=F(3533),Z=a?a.toStringTag:void 0;ye.exports=function he(ie){return null==ie?void 0===ie?"[object Undefined]":"[object Null]":Z&&Z in Object(ie)?x(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(x,k){var H="";if(!x||k<1||k>9007199254740991)return H;do{k%2&&(H+=x),(k=F(k/2))&&(x+=x)}while(k);return H}},3597:ye=>{ye.exports=function q(F,a,x){var k=-1,H=F.length;a<0&&(a=-a>H?0:H+a),(x=x>H?H:x)<0&&(x+=H),H=a>x?0:x-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),x=F(9655),k=F(1622),H=F(3443),W=1/0,Z=a?a.prototype:void 0,he=Z?Z.toString:void 0;ye.exports=function ie(fe){if("string"==typeof fe)return fe;if(k(fe))return x(fe,ie)+"";if(H(fe))return he?he.call(fe):"";var Y=fe+"";return"0"==Y&&1/fe==-W?"-0":Y}},8851:(ye,q,F)=>{var a=F(5649),x=/^\s+/;ye.exports=function k(H){return H&&H.slice(0,a(H)+1).replace(x,"")}},643:(ye,q,F)=>{var a=F(3597);ye.exports=function x(k,H,W){var Z=k.length;return W=void 0===W?Z:W,!H&&W>=Z?k:a(k,H,W)}},9064:(ye,q,F)=>{var a=F(8859),x=F(2473),k=F(2922),W=RegExp("['\u2019]","g");ye.exports=function Z(he){return function(ie){return a(k(x(ie).replace(W,"")),he,"")}}},2297:(ye,q,F)=>{var a=F(7364),x=F(5299),k=F(643),H=F(7817),W=F(706),Z=F(7917),he=Math.ceil;ye.exports=function ie(fe,Y){var ue=(Y=void 0===Y?" ":x(Y)).length;if(ue<2)return ue?a(Y,fe):Y;var be=a(Y,he(fe/W(Y)));return H(Y)?k(Z(be),0,fe).join(""):be.slice(0,fe)}},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 x=F(9478)(Object.getPrototypeOf,Object);ye.exports=x},6710:(ye,q,F)=>{var a=F(914),x=Object.prototype,k=x.hasOwnProperty,H=x.toString,W=a?a.toStringTag:void 0;ye.exports=function Z(he){var ie=k.call(he,W),fe=he[W];try{he[W]=void 0;var Y=!0}catch{}var ue=H.call(he);return Y&&(ie?he[W]=fe:delete he[W]),ue}},7817:ye=>{var Z=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");ye.exports=function he(ie){return Z.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(x){return F.call(x)}},9478:ye=>{ye.exports=function q(F,a){return function(x){return F(a(x))}}},2286:(ye,q,F)=>{var a=F(7111),x="object"==typeof self&&self&&self.Object===Object&&self,k=a||x||Function("return this")();ye.exports=k},706:(ye,q,F)=>{var a=F(8058),x=F(7817),k=F(7954);ye.exports=function H(W){return x(W)?k(W):a(W)}},7917:(ye,q,F)=>{var a=F(5077),x=F(7817),k=F(1773);ye.exports=function H(W){return x(W)?k(W):a(W)}},5649:ye=>{var q=/\s/;ye.exports=function F(a){for(var x=a.length;x--&&q.test(a.charAt(x)););return x}},7954:ye=>{var q="\\ud800-\\udfff",W="["+q+"]",Z="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",he="\\ud83c[\\udffb-\\udfff]",fe="[^"+q+"]",Y="(?:\\ud83c[\\udde6-\\uddff]){2}",ue="[\\ud800-\\udbff][\\udc00-\\udfff]",Ne="(?:"+Z+"|"+he+")?",Re="[\\ufe0e\\ufe0f]?",qe=Re+Ne+"(?:\\u200d(?:"+[fe,Y,ue].join("|")+")"+Re+Ne+")*",ze="(?:"+[fe+Z+"?",Z,Y,ue,W].join("|")+")",Ke=RegExp(he+"(?="+he+")|"+ze+qe,"g");ye.exports=function Ge(Pt){for(var At=Ke.lastIndex=0;Ke.test(Pt);)++At;return At}},1773:ye=>{var q="\\ud800-\\udfff",W="["+q+"]",Z="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",he="\\ud83c[\\udffb-\\udfff]",fe="[^"+q+"]",Y="(?:\\ud83c[\\udde6-\\uddff]){2}",ue="[\\ud800-\\udbff][\\udc00-\\udfff]",Ne="(?:"+Z+"|"+he+")?",Re="[\\ufe0e\\ufe0f]?",qe=Re+Ne+"(?:\\u200d(?:"+[fe,Y,ue].join("|")+")"+Re+Ne+")*",ze="(?:"+[fe+Z+"?",Z,Y,ue,W].join("|")+")",Ke=RegExp(he+"(?="+he+")|"+ze+qe,"g");ye.exports=function Ge(Pt){return Pt.match(Ke)||[]}},6546:ye=>{var q="\\ud800-\\udfff",H="\\u2700-\\u27bf",W="a-z\\xdf-\\xf6\\xf8-\\xff",Y="A-Z\\xc0-\\xd6\\xd8-\\xde",be="\\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",Re="["+be+"]",qe="\\d+",ze="["+H+"]",Ke="["+W+"]",Ge="[^"+q+be+qe+H+W+Y+"]",Et="(?:\\ud83c[\\udde6-\\uddff]){2}",zt="[\\ud800-\\udbff][\\udc00-\\udfff]",rt="["+Y+"]",Ye="(?:"+Ke+"|"+Ge+")",re="(?:"+rt+"|"+Ge+")",ee="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",X="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",pe="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Me="[\\ufe0e\\ufe0f]?",mn=Me+pe+"(?:\\u200d(?:"+["[^"+q+"]",Et,zt].join("|")+")"+Me+pe+")*",et="(?:"+[ze,Et,zt].join("|")+")"+mn,An=RegExp([rt+"?"+Ke+"+"+ee+"(?="+[Re,rt,"$"].join("|")+")",re+"+"+X+"(?="+[Re,rt+Ye,"$"].join("|")+")",rt+"?"+Ye+"+"+ee,rt+"+"+X,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",qe,et].join("|"),"g");ye.exports=function Or(un){return un.match(An)||[]}},2473:(ye,q,F)=>{var a=F(1392),x=F(1339),k=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fe=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");ye.exports=function Y(ue){return(ue=x(ue))&&ue.replace(k,a).replace(fe,"")}},1622:ye=>{ye.exports=Array.isArray},227:(ye,q,F)=>{var a=F(2307),x=F(7571);ye.exports=function H(W){return!0===W||!1===W||x(W)&&"[object Boolean]"==a(W)}},6062:ye=>{ye.exports=function q(F){return null===F}},7642:(ye,q,F)=>{var a=F(2307),x=F(7571);ye.exports=function H(W){return"number"==typeof W||x(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),x=F(4352),k=F(7571),he=Function.prototype.toString,ie=Object.prototype.hasOwnProperty,fe=he.call(Object);ye.exports=function Y(ue){if(!k(ue)||"[object Object]"!=a(ue))return!1;var be=x(ue);if(null===be)return!0;var Ne=ie.call(be,"constructor")&&be.constructor;return"function"==typeof Ne&&Ne instanceof Ne&&he.call(Ne)==fe}},9706:(ye,q,F)=>{var a=F(2307),x=F(1622),k=F(7571);ye.exports=function W(Z){return"string"==typeof Z||!x(Z)&&k(Z)&&"[object String]"==a(Z)}},3443:(ye,q,F)=>{var a=F(2307),x=F(7571);ye.exports=function H(W){return"symbol"==typeof W||x(W)&&"[object Symbol]"==a(W)}},3971:ye=>{ye.exports=function q(F){return void 0===F}},6860:(ye,q,F)=>{var a=F(2297),x=F(706),k=F(6394),H=F(1339);ye.exports=function W(Z,he,ie){Z=H(Z);var fe=(he=k(he))?x(Z):0;return he&&fe<he?a(he-fe,ie)+Z:Z}},4667:(ye,q,F)=>{var x=F(9064)(function(k,H,W){return k+(W?"_":"")+H.toLowerCase()});ye.exports=x},4661:(ye,q,F)=>{var a=F(2419),x=1/0;ye.exports=function H(W){return W?(W=a(W))===x||W===-x?17976931348623157e292*(W<0?-1:1):W==W?W:0:0===W?W:0}},6394:(ye,q,F)=>{var a=F(4661);ye.exports=function x(k){var H=a(k),W=H%1;return H==H?W?H-W:H:0}},2419:(ye,q,F)=>{var a=F(8851),x=F(9052),k=F(3443),W=/^[-+]0x[0-9a-f]+$/i,Z=/^0b[01]+$/i,he=/^0o[0-7]+$/i,ie=parseInt;ye.exports=function fe(Y){if("number"==typeof Y)return Y;if(k(Y))return NaN;if(x(Y)){var ue="function"==typeof Y.valueOf?Y.valueOf():Y;Y=x(ue)?ue+"":ue}if("string"!=typeof Y)return 0===Y?Y:+Y;Y=a(Y);var be=Z.test(Y);return be||he.test(Y)?ie(Y.slice(2),be?2:8):W.test(Y)?NaN:+Y}},1339:(ye,q,F)=>{var a=F(5299);ye.exports=function x(k){return null==k?"":a(k)}},2922:(ye,q,F)=>{var a=F(8906),x=F(725),k=F(1339),H=F(6546);ye.exports=function W(Z,he,ie){return Z=k(Z),void 0===(he=ie?void 0:he)?x(Z)?H(Z):a(Z):Z.match(he)||[]}},6381:(ye,q,F)=>{"use strict";q.h=void 0;const x=F(2623);Object.defineProperty(q,"h",{enumerable:!0,get:function(){return x.Locale}})},7268:(ye,q)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.CLDR=void 0,q.CLDR=class F{constructor(x){this.rawData=x,this.validateCLDR(this.rawData)}validateCLDR(x){if(!x)throw new Error("CLDR data cannot be null");if(!x.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(x,"functions")||Object.prototype.hasOwnProperty.call(x,"get_plural_form")||"function"!=typeof x.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(x,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(x,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(x.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(x.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(x.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(x.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(x,...k){return(0,this.rawData.functions.get_plural_form)(x,...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),x=F(5736),k=F(8994),H=F(3365),W=F(7268);q.Locale=class Z{constructor(ie,fe={}){this.lexicon=fe,this._cldr=new W.CLDR(ie)}maketext(ie,...fe){return(0,a.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:ie,args:fe})}localDatetime(ie,fe){return this._datetimeWrapper(x.local_datetime,ie,fe)}datetime(ie,fe){return this._datetimeWrapper(x.datetime,ie,fe)}_datetimeWrapper(ie,fe,Y){return ie({cldr:this._cldr,args:[fe,Y]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(ie,fe){return this._formatNumber(k.numf,ie,fe)}format_bytes(ie,fe){return this._formatNumber(k.format_bytes,ie,fe)}_formatNumber(ie,...fe){return this._callCLDRFunc(ie,fe)}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,fe){return ie({cldr:this._cldr,args:fe})}}},6049:(ye,q,F)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.asis=void 0;const a=F(2500);q.asis=function x({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,Z){return a.functions.chr(Number(Z))})).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,x,k,H]}){if(null==x||0===x.length||null==k||0===k.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof a<"u"&&a?x: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),x=function(Y){const ue=Y.getUTCDay()-1;return ue<0?6:ue},k=[7,1,2,3,4,5,6];function H(Y,ue){return(k[Y.getUTCDay()]+7-ue)%7+1}q.dateToLocalDayNum=H;const W=function(Y,ue,be){let Ne="",Re=0;return ue=ue||0,be=String(void 0===be?" ":be),Re=ue-String(Y).length,Re>0&&(Ne=[...Array(Re)].map(String.prototype.valueOf,be).join("")),Ne+Y};function Z({cldr:Y,args:[ue=new Date,be],tzString:Ne="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(!(Y instanceof a.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Re=Y.getDateTimeInfo();return"string"==typeof be&&/^(?:date|time|datetime|special)_format_/.test(be)&&(be=Re[be]),be||(be=Re.date_format_long),be.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(ke,qe,ze){return qe?function he(Y){return Y.substr(1,Y.length-2)}(qe):function ie(Y,ue,be,Ne){switch(be){case"yy":return Math.abs(Y.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(Y.getUTCFullYear()));case"MMMMM":return ue.month_format_narrow[Y.getUTCMonth()];case"LLLLL":return ue.month_stand_alone_narrow[Y.getUTCMonth()];case"MMMM":return ue.month_format_wide[Y.getUTCMonth()];case"LLLL":return ue.month_stand_alone_wide[Y.getUTCMonth()];case"MMM":return ue.month_format_abbreviated[Y.getUTCMonth()];case"LLL":return ue.month_stand_alone_abbreviated[Y.getUTCMonth()];case"MM":case"LL":return W((Y.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(Y.getUTCMonth()+1);case"EEEE":return ue.day_format_wide[x(Y)];case"EEE":case"EE":case"E":return ue.day_format_abbreviated[x(Y)];case"EEEEE":return ue.day_format_narrow[x(Y)];case"cccc":return ue.day_stand_alone_wide[x(Y)];case"ccc":return ue.day_stand_alone_abbreviated[x(Y)];case"cc":case"c":return String(H(Y,Number(ue.first_day_of_week)));case"ccccc":return ue.day_stand_alone_narrow[x(Y)];case"dd":return W(Y.getUTCDate().toString(),2,"0");case"d":return String(Y.getUTCDate());case"h":case"hh":{let Re=Y.getUTCHours();Re>12&&(Re-=12),0===Re&&(Re=12);const ke="hh"===be?W(Re.toString(),2,"0"):Re;return String(ke)}case"H":return String(Y.getUTCHours());case"HH":return W(Y.getUTCHours().toString(),2,"0");case"m":return String(Y.getUTCMinutes());case"mm":return W(Y.getUTCMinutes().toString(),2,"0");case"s":return String(Y.getUTCSeconds());case"ss":return W(Y.getUTCSeconds().toString(),2,"0");case"a":return Y.getUTCHours()<12?ue.am_pm_abbreviated[0]:ue.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Ne;case"G":case"GG":case"GGG":return ue.era_abbreviated[Y.getUTCFullYear()<0?0:1];case"GGGGG":return ue.era_narrow[Y.getUTCFullYear()<0?0:1];case"GGGG":return ue.era_wide[Y.getUTCFullYear()<0?0:1]}return be}(ue,Re,ze,Ne)})}q.datetime=Z,q.local_datetime=function fe({cldr:Y,args:[ue=new Date,be]}){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(!(Y instanceof a.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Ne=ue.getTimezoneOffset();(ue=new Date(ue)).setMinutes(ue.getMinutes()-Ne);const Re=Ne>0?"-":"+",ke=Math.floor(Math.abs(Ne)/60),qe=Math.abs(Ne%60);return Z({cldr:Y,args:[ue,be],tzString:"GMT"+Re+W(ke.toString(),2,"0")+W(qe.toString(),2,"0")})}},6397:(ye,q,F)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.functions=void 0;const a=F(6049),x=F(2500),k=F(5496),H=F(6073),W=F(8994),Z=F(5736),he=F(3365);q.functions={asis:a.asis,output:x.output,comment:k.comment,boolean:H.boolean,numf:W.numf,numerate:W.numerate,quant:W.quant,format_bytes:W.format_bytes,datetime:Z.datetime,local_datetime:Z.local_datetime,list_and:he.list_and,list_or:he.list_or,list_or_quoted:he.list_or_quoted,list_and_quoted:he.list_and_quoted}},3365:(ye,q)=>{"use strict";function a(he,ie,...fe){let Y=fe.slice();switch(1===Y.length&&Array.isArray(Y[0])&&(Y=Y[0].slice()),(typeof Y>"u"||0===Y.length)&&(Y=[""]),Y=Y.map(ue=>function F(he,ie){const fe=he.getDelimiters();return fe&&Object.prototype.hasOwnProperty.call(fe,"quotation_start")&&Object.prototype.hasOwnProperty.call(fe,"quotation_end")?fe.quotation_start+ie+fe.quotation_end:ie}(he,ue)),ie){case"list_and":return W({cldr:he,args:Y});case"list_or":return Z({cldr:he,args:Y});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function H(he,ie,...fe){let Y=fe.slice();1===Y.length&&Array.isArray(Y[0])&&(Y=Y[0].slice());const ue=Y.length;let be,Ne,Re,ke;try{be=he.getFormats()[ie]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const qe=function(ze,Ke){switch(Ke){case"0":return Re;case"1":return Y[ke++]}};switch(ue){case 0:return"";case 1:return String(Y[0]);default:if(Re=2===ue?be[2]:be.start,Re=Re.replace(/\{([01])\}/g,function(ze,Ke){return Y[Ke]}),2===ue)return Re;for(ke=2;ke<ue;)Ne=be[ke===ue-1?"end":"middle"],Re=Ne.replace(/\{([01])\}/g,qe);return Re}}function W({cldr:he,args:[...ie]}){return H(he,"list",...ie)}function Z({cldr:he,args:[...ie]}){return H(he,"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 x({cldr:he,args:[...ie]}){return a(he,"list_and",...ie)},q.list_or_quoted=function k({cldr:he,args:[...ie]}){return a(he,"list_or",...ie)},q.list_and=W,q.list_or=Z},2500:(ye,q,F)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.functions=q.output=void 0;const a=F(9546),x=F(2353);q.output=function k({args:[H,...W]}){if(W&&"string"==typeof W[0]&&(W[0]=W[0].replace(/chr\((\d+)\)/g,function(Z,he){return q.functions.chr(Number(he))}),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 Z,he;if("object"==typeof W[W.length-1])if(Z=W[W.length-1],2===W.length){if(Z.html)throw new Error("Cannot provide both text and configuration with html attribute");he=W[0]}else Z&&Z.html?(he=Z.html,delete Z.html):he=H;else W.length%2==0?(Z=(0,x.listToObject)(...W),Z&&"html"in Z&&""!==Z.html?(he=Z.html,delete Z.html):he=H):(he=W.shift(),Z=(0,x.listToObject)(...W));"_type"in Z&&"offsite"===Z._type&&(Z.class="offsite",Z.target="_blank",delete Z._type);let ie=`<a href="${H}"`;if("object"==typeof Z)for(const fe in Z)Object.prototype.hasOwnProperty.call(Z,fe)&&(ie+=` ${fe}="${Z[fe]}"`);return ie+=`>${he}</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:he,args:[ie,...fe]}){if(!(he instanceof a.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let Y,ue=3;ie instanceof Array?(ue=ie[1],Y=ie[0]):Y=ie;const be=he.getPluralForm(Y,...fe),Ne=be[0]?be[0]:fe[fe.length-1];if(be&&be.length>=2&&be[1])return Ne;const ke=W({cldr:he,args:[Y,ue]});return-1!==Ne.indexOf("%s")?Ne.replace(/%s/g,ke):he.isRtl()?Ne+" "+ke:ke+" "+Ne}function W({cldr:he,args:[ie,fe=6]}){if(!(he 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:Y,decimalGroup:ue,decimalDecimal:be}=function H(he){const ie={},fe=he.getFormats();return Object.prototype.hasOwnProperty.call(fe,"decimal")&&(ie.decimalFormat=fe.decimal),Object.prototype.hasOwnProperty.call(fe,"_decimal_format_group")&&(ie.decimalGroup=fe._decimal_format_group),Object.prototype.hasOwnProperty.call(fe,"_decimal_format_decimal")&&(ie.decimalDecimal=fe._decimal_format_decimal),ie}(he);if(!Y||!ue||!be)throw new Error("CLDR Data is missing information related to formatting decimals.");const Ne=ie<0;ie=Math.abs(ie);let ke,qe,Re=Math.floor(ie);/(?!')\.(?!')/.test(ie.toString())&&(ke=String(ie).replace(/^[^.]+/,"0"),ke=Number(ke).toFixed(fe),/^1/.test(ke)?(Re++,ie=Re,ke=void 0):ke=ke.replace(/^.*\./,"").replace(/0+$/,"")),qe=/(?!');(?!')/.test(Y)?Y.split(/(?!');(?!')/)[Ne?1:0]:(Ne?"-":"")+Y;const Ge=qe.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Pt;1===Ge.length?Pt="":(Ge.pop(),Pt=ue);const At=String(Re).split("").reverse(),at=[];let Et;const zt=function(vt){switch(vt){case"#":return At.shift()||"";case"0":return At.shift()||"0"}};for(;At.length;){Ge.length&&(Et=Ge.shift());const vt=Et.replace(/(?!')[0#]|[0#](?!')/g,zt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");at.push(vt)}const rt=at.join(Pt).split("").reverse().join("")+(ke?be+ke:"");return qe.replace(/[0#].*[0#]/,rt)}q.numerate=function x({cldr:he,args:[ie,...fe]}){if(!(he instanceof a.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const Y=he.getPluralForm(ie,...fe);return Y?Y[0]:fe[fe.length-1]},q.quant=k,q.numf=W,q.format_bytes=function Z({cldr:he,args:[ie,fe=2]}){if(!(he instanceof a.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const Y=["KB","MB","GB","TB","PB","EB","ZB","YB"],be=ie&&Math.min(Math.floor(Math.log(ie)/Math.log(1024)),Y.length);return be?W({cldr:he,args:[ie/Math.pow(1024,be),fe]})+"\xa0"+Y[be-1]:k({cldr:he,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(Z,he){const ie=[];let fe=!1,Y=!1;return Z.forEach(ue=>{if("_"===ue.charAt(0))if("_*"===ue){if(Y)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";ie.push(...he),fe=!0}else{const be=ue.match(q.config.underscoreDigitRe);if(be){if(fe)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Ne,Re]=be,ke=Number(Re)-1;if(!(ke in he))throw`The "${Ne}" substitution argument was not passed to the maketext function.`;ie.push(he[ke]),Y=!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:Z,lexicon:he,template:ie,args:fe}){if("string"!=typeof ie)throw"You must pass a string template to the maketext function.";if(-1===(ie=he&&he[ie]||ie).indexOf("["))return ie;const Y=ie.match(q.config.bracketRe)||[],ue=[];let be=!1,Ne="";if(Y.forEach(Re=>{if("["===Re){if(be)throw Error(`Invalid maketext string: ${ie} \nThe string contains nested brackets.`);be=!0}else if("]"===Re){if(!be)throw Error(`Invalid maketext string: ${ie} \nThe string contains an unmatched closing bracket character (]).`);if(!Ne)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 ke;be=!1;try{ke=function H(Z,he,ie){let fe=he.split(",");if(fe=fe.map(be=>be.replace(q.config.fauxCommaRe,",")),1===fe.length){if(!q.config.underscoreDigitRe.test(fe[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[be]=W(fe,ie);return String(be)}const Y=fe.shift();if(!Y||"function"!=typeof q.functions[Y])throw`Invalid function "${Y}" in maketext string.`;const ue=W(fe,ie);return q.functions[Y]({cldr:Z,args:ue})}(Z,Ne,fe)}catch(qe){throw Error(`Invalid maketext string: ${ie} \n${qe}`)}Ne="",ue.push(ke)}else if("~"===Re.charAt(0)){const ke=Re.charAt(1)||"~";be?Ne+=","===ke?q.config.fauxComma:ke:q.config.tildeChars.has(ke)?ue.push(ke):ue.push(Re)}else be?Ne+=Re:ue.push(Re)}),be)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,x=>q.entityMap[x])}},2353:(ye,q)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.listToObject=void 0,q.listToObject=function x(...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,Z=k.length;W<Z;W+=2){const he=k[W];if("string"!=typeof he||""===he)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 he,ie,Z=0;for(;Z<H;)he=k[Z],ie=k[++Z],W[he]=ie,Z++;return W}(k)),H}},9969:(ye,q,F)=>{"use strict";F.d(q,{FX:()=>re,If:()=>k,K2:()=>ie,S6:()=>Ke,hZ:()=>W,i0:()=>Z,iF:()=>fe,kY:()=>be,kp:()=>H,sf:()=>vt,ui:()=>Ye,wk:()=>Y});var a=F(177),x=F(3953),k=function(ee){return ee[ee.State=0]="State",ee[ee.Transition=1]="Transition",ee[ee.Sequence=2]="Sequence",ee[ee.Group=3]="Group",ee[ee.Animate=4]="Animate",ee[ee.Keyframes=5]="Keyframes",ee[ee.Style=6]="Style",ee[ee.Trigger=7]="Trigger",ee[ee.Reference=8]="Reference",ee[ee.AnimateChild=9]="AnimateChild",ee[ee.AnimateRef=10]="AnimateRef",ee[ee.Query=11]="Query",ee[ee.Stagger=12]="Stagger",ee}(k||{});const H="*";function W(ee,X){return{type:k.Trigger,name:ee,definitions:X,options:{}}}function Z(ee,X=null){return{type:k.Animate,styles:X,timings:ee}}function ie(ee,X=null){return{type:k.Sequence,steps:ee,options:X}}function fe(ee){return{type:k.Style,styles:ee,offset:null}}function Y(ee,X,pe){return{type:k.State,name:ee,styles:X,options:pe}}function be(ee,X,pe=null){return{type:k.Transition,expr:ee,animation:X,options:pe}}let Ke=(()=>{class ee{static{this.\u0275fac=function(Me){return new(Me||ee)}}static{this.\u0275prov=x.jDH({token:ee,factory:()=>(0,x.WQX)(Pt),providedIn:"root"})}}return ee})();class Ge{}let Pt=(()=>{class ee extends Ke{constructor(pe,Me){if(super(),this.animationModuleType=(0,x.WQX)(x.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=pe.createRenderer(Me.body,{id:"0",encapsulation:x.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function rt(ee){const X=ee.\u0275type;return 0===X||1===X}(this._renderer))throw new x.wOt(3600,!1)}build(pe){const Me=this._nextAnimationId;this._nextAnimationId++;const je=Array.isArray(pe)?ie(pe):pe;return Et(this._renderer,null,Me,"register",[je]),new At(Me,this._renderer)}static{this.\u0275fac=function(Me){return new(Me||ee)(x.KVO(x._9s),x.KVO(a.qQ))}}static{this.\u0275prov=x.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}}return ee})();class At extends Ge{constructor(X,pe){super(),this._id=X,this._renderer=pe}create(X,pe){return new at(this._id,X,pe||{},this._renderer)}}class at{constructor(X,pe,Me,je){this.id=X,this.element=pe,this._renderer=je,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Me)}_listen(X,pe){return this._renderer.listen(this.element,`@@${this.id}:${X}`,pe)}_command(X,...pe){Et(this._renderer,this.element,this.id,X,pe)}onDone(X){this._listen("done",X)}onStart(X){this._listen("start",X)}onDestroy(X){this._listen("destroy",X)}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(X){this._command("setPosition",X)}getPosition(){return function zt(ee){const X=ee.\u0275type;return 0===X?ee:1===X?ee.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function Et(ee,X,pe,Me,je){ee.setProperty(X,`@@${pe}:${Me}`,je)}class vt{constructor(X=0,pe=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=X+pe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}onStart(X){this._originalOnStartFns.push(X),this._onStartFns.push(X)}onDone(X){this._originalOnDoneFns.push(X),this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(X=>X()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(X){this._position=this.totalTime?X*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(X){const pe="start"==X?this._onStartFns:this._onDoneFns;pe.forEach(Me=>Me()),pe.length=0}}class Ye{constructor(X){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=X;let pe=0,Me=0,je=0;const tt=this.players.length;0==tt?queueMicrotask(()=>this._onFinish()):this.players.forEach(Gt=>{Gt.onDone(()=>{++pe==tt&&this._onFinish()}),Gt.onDestroy(()=>{++Me==tt&&this._onDestroy()}),Gt.onStart(()=>{++je==tt&&this._onStart()})}),this.totalTime=this.players.reduce((Gt,mn)=>Math.max(Gt,mn.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}init(){this.players.forEach(X=>X.init())}onStart(X){this._onStartFns.push(X)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(X=>X()),this._onStartFns=[])}onDone(X){this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(X=>X.play())}pause(){this.players.forEach(X=>X.pause())}restart(){this.players.forEach(X=>X.restart())}finish(){this._onFinish(),this.players.forEach(X=>X.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(X=>X.destroy()),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this.players.forEach(X=>X.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(X){const pe=X*this.totalTime;this.players.forEach(Me=>{const je=Me.totalTime?Math.min(1,pe/Me.totalTime):1;Me.setPosition(je)})}getPosition(){const X=this.players.reduce((pe,Me)=>null===pe||Me.totalTime>pe.totalTime?Me:pe,null);return null!=X?X.getPosition():0}beforeDestroy(){this.players.forEach(X=>{X.beforeDestroy&&X.beforeDestroy()})}triggerCallback(X){const pe="start"==X?this._onStartFns:this._onDoneFns;pe.forEach(Me=>Me()),pe.length=0}}const re="!"},177:(ye,q,F)=>{"use strict";F.d(q,{AJ:()=>pi,B3:()=>z,MD:()=>zo,N0:()=>po,QT:()=>k,Sm:()=>qe,Sq:()=>$,T3:()=>de,UE:()=>Xi,VF:()=>W,Vy:()=>Zi,Xr:()=>fo,YU:()=>Wr,ZD:()=>H,_b:()=>Fr,aZ:()=>Ke,bT:()=>we,fw:()=>ze,hb:()=>Re,hj:()=>fe,kB:()=>ke,qQ:()=>he});var a=F(3953);let x=null;function k(){return x}function H(m){x??=m}class W{}const he=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)(Y),providedIn:"platform"})}}return m})();const fe=new a.nKC("");let Y=(()=>{class m extends ie{constructor(){super(),this._doc=(0,a.WQX)(he),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 be(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 Ne(m){return m&&"?"!==m[0]?"?"+m:m}let Re=(()=>{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)(qe),providedIn:"root"})}}return m})();const ke=new a.nKC("");let qe=(()=>{class m extends Re{constructor(C,b){super(),this._platformLocation=C,this._removeListenerFns=[],this._baseHref=b??this._platformLocation.getBaseHrefFromDOM()??(0,a.WQX)(he).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+Ne(this._platformLocation.search),L=this._platformLocation.hash;return L&&C?`${b}${L}`:b}pushState(C,b,L,ae){const De=this.prepareExternalUrl(L+Ne(ae));this._platformLocation.pushState(C,b,De)}replaceState(C,b,L,ae){const De=this.prepareExternalUrl(L+Ne(ae));this._platformLocation.replaceState(C,b,De)}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(ke,8))}}static{this.\u0275prov=a.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})(),ze=(()=>{class m extends Re{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 De=this.prepareExternalUrl(L+Ne(ae));0==De.length&&(De=this._platformLocation.pathname),this._platformLocation.pushState(C,b,De)}replaceState(C,b,L,ae){let De=this.prepareExternalUrl(L+Ne(ae));0==De.length&&(De=this._platformLocation.pathname),this._platformLocation.replaceState(C,b,De)}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(ke,8))}}static{this.\u0275prov=a.jDH({token:m,factory:m.\u0275fac})}}return m})(),Ke=(()=>{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 at(m){if(new RegExp("^(https?:)?//").test(m)){const[,C]=m.split(/\/\/[^\/]+/);return C}return m}(be(At(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+Ne(b))}normalize(C){return m.stripTrailingSlash(function Pt(m,T){if(!m||!T.startsWith(m))return T;const C=T.substring(m.length);return""===C||["/",";","?","#"].includes(C[0])?C:T}(this._basePath,At(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+Ne(b)),L)}replaceState(C,b="",L=null){this._locationStrategy.replaceState(L,"",C,b),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+Ne(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=Ne}static{this.joinWithSlash=ue}static{this.stripTrailingSlash=be}static{this.\u0275fac=function(b){return new(b||m)(a.KVO(Re))}}static{this.\u0275prov=a.jDH({token:m,factory:()=>function Ge(){return new Ke((0,a.KVO)(Re))}(),providedIn:"root"})}}return m})();function At(m){return m.replace(/\/index.html$/,"")}function Fr(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 pt=/\s+/,fn=[];let Wr=(()=>{class m{constructor(C,b){this._ngEl=C,this._renderer=b,this.initialClasses=fn,this.stateMap=new Map}set klass(C){this.initialClasses=null!=C?C.trim().split(pt):fn}set ngClass(C){this.rawClass="string"==typeof C?C.trim().split(pt):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(pt).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 A{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,De)=>{if(null==L.previousIndex)b.createEmbeddedView(this._template,new A(L.item,this._ngForOf,-1,-1),null===De?void 0:De);else if(null==De)b.remove(null===ae?void 0:ae);else if(null!==ae){const Be=b.get(ae);b.move(Be,De),U(Be,L)}});for(let L=0,ae=b.length;L<ae;L++){const Be=b.get(L).context;Be.index=L,Be.count=ae,Be.ngForOf=this._ngForOf}C.forEachIdentityChange(L=>{U(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 U(m,T){m.context.$implicit=T.item}let we=(()=>{class m{constructor(C,b){this._viewContainer=C,this._context=new Se,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){Ie("ngIfThen",C),this._thenTemplateRef=C,this._thenViewRef=null,this._updateView()}set ngIfElse(C){Ie("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 Se{constructor(){this.$implicit=null,this.ngIf=null}}function Ie(m,T){if(T&&!T.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,a.Tbb)(T)}'.`)}let z=(()=>{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("."),De=-1===L.indexOf("-")?void 0:a.czy.DashCase;null!=b?this._renderer.setStyle(this._ngEl.nativeElement,L,ae?`${b}${ae}`:b,De):this._renderer.removeStyle(this._ngEl.nativeElement,L,De)}_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})(),de=(()=>{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 pi="browser",Io="server";function Xi(m){return m===pi}function Zi(m){return m===Io}let fo=(()=>{class m{static{this.\u0275prov=(0,a.jDH)({token:m,providedIn:"root",factory:()=>Xi((0,a.WQX)(a.Agw))?new Go((0,a.WQX)(he),window):new Wn})}}return m})();class Go{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 Wo(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 De=ae.getElementById(T)||ae.querySelector(`[name="${T}"]`);if(De)return De}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 Wn{setOffset(T){}getScrollPosition(){return[0,0]}scrollToPosition(T){}scrollToAnchor(T){}setHistoryScrollRestoration(T){}}class po{}},1562:(ye,q,F)=>{"use strict";function a(A,$,U,se,we,Se,Ie){try{var Qe=A[Se](Ie),He=Qe.value}catch(qt){return void U(qt)}Qe.done?$(He):Promise.resolve(He).then(se,we)}function x(A){return function(){var $=this,U=arguments;return new Promise(function(se,we){var Se=A.apply($,U);function Ie(He){a(Se,se,we,Ie,Qe,"next",He)}function Qe(He){a(Se,se,we,Ie,Qe,"throw",He)}Ie(void 0)})}}F.d(q,{Qq:()=>dn,q1:()=>$i,Lr:()=>ke});var k=F(3953),H=F(7673),W=F(1985),Z=F(6648),he=F(274),ie=F(5964),fe=F(6354),Y=F(980),ue=F(5558),be=F(177);class Ne{}class Re{}class ke{constructor($){this.normalizedNames=new Map,this.lazyUpdate=null,$?"string"==typeof $?this.lazyInit=()=>{this.headers=new Map,$.split("\n").forEach(U=>{const se=U.indexOf(":");if(se>0){const we=U.slice(0,se),Se=we.toLowerCase(),Ie=U.slice(se+1).trim();this.maybeSetNormalizedName(we,Se),this.headers.has(Se)?this.headers.get(Se).push(Ie):this.headers.set(Se,[Ie])}})}:typeof Headers<"u"&&$ instanceof Headers?(this.headers=new Map,$.forEach((U,se)=>{this.setHeaderEntries(se,U)})):this.lazyInit=()=>{this.headers=new Map,Object.entries($).forEach(([U,se])=>{this.setHeaderEntries(U,se)})}:this.headers=new Map}has($){return this.init(),this.headers.has($.toLowerCase())}get($){this.init();const U=this.headers.get($.toLowerCase());return U&&U.length>0?U[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll($){return this.init(),this.headers.get($.toLowerCase())||null}append($,U){return this.clone({name:$,value:U,op:"a"})}set($,U){return this.clone({name:$,value:U,op:"s"})}delete($,U){return this.clone({name:$,value:U,op:"d"})}maybeSetNormalizedName($,U){this.normalizedNames.has(U)||this.normalizedNames.set(U,$)}init(){this.lazyInit&&(this.lazyInit instanceof ke?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(U=>{this.headers.set(U,$.headers.get(U)),this.normalizedNames.set(U,$.normalizedNames.get(U))})}clone($){const U=new ke;return U.lazyInit=this.lazyInit&&this.lazyInit instanceof ke?this.lazyInit:this,U.lazyUpdate=(this.lazyUpdate||[]).concat([$]),U}applyUpdate($){const U=$.name.toLowerCase();switch($.op){case"a":case"s":let se=$.value;if("string"==typeof se&&(se=[se]),0===se.length)return;this.maybeSetNormalizedName($.name,U);const we=("a"===$.op?this.headers.get(U):void 0)||[];we.push(...se),this.headers.set(U,we);break;case"d":const Se=$.value;if(Se){let Ie=this.headers.get(U);if(!Ie)return;Ie=Ie.filter(Qe=>-1===Se.indexOf(Qe)),0===Ie.length?(this.headers.delete(U),this.normalizedNames.delete(U)):this.headers.set(U,Ie)}else this.headers.delete(U),this.normalizedNames.delete(U)}}setHeaderEntries($,U){const se=(Array.isArray(U)?U:[U]).map(Se=>Se.toString()),we=$.toLowerCase();this.headers.set(we,se),this.maybeSetNormalizedName($,we)}forEach($){this.init(),Array.from(this.normalizedNames.keys()).forEach(U=>$(this.normalizedNames.get(U),this.headers.get(U)))}}class ze{encodeKey($){return At($)}encodeValue($){return At($)}decodeKey($){return decodeURIComponent($)}decodeValue($){return decodeURIComponent($)}}const Ge=/%(\d[a-f0-9])/gi,Pt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function At(A){return encodeURIComponent(A).replace(Ge,($,U)=>Pt[U]??$)}function at(A){return`${A}`}class Et{constructor($={}){if(this.updates=null,this.cloneFrom=null,this.encoder=$.encoder||new ze,$.fromString){if($.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ke(A,$){const U=new Map;return A.length>0&&A.replace(/^\?/,"").split("&").forEach(we=>{const Se=we.indexOf("="),[Ie,Qe]=-1==Se?[$.decodeKey(we),""]:[$.decodeKey(we.slice(0,Se)),$.decodeValue(we.slice(Se+1))],He=U.get(Ie)||[];He.push(Qe),U.set(Ie,He)}),U}($.fromString,this.encoder)}else $.fromObject?(this.map=new Map,Object.keys($.fromObject).forEach(U=>{const se=$.fromObject[U],we=Array.isArray(se)?se.map(at):[at(se)];this.map.set(U,we)})):this.map=null}has($){return this.init(),this.map.has($)}get($){this.init();const U=this.map.get($);return U?U[0]:null}getAll($){return this.init(),this.map.get($)||null}keys(){return this.init(),Array.from(this.map.keys())}append($,U){return this.clone({param:$,value:U,op:"a"})}appendAll($){const U=[];return Object.keys($).forEach(se=>{const we=$[se];Array.isArray(we)?we.forEach(Se=>{U.push({param:se,value:Se,op:"a"})}):U.push({param:se,value:we,op:"a"})}),this.clone(U)}set($,U){return this.clone({param:$,value:U,op:"s"})}delete($,U){return this.clone({param:$,value:U,op:"d"})}toString(){return this.init(),this.keys().map($=>{const U=this.encoder.encodeKey($);return this.map.get($).map(se=>U+"="+this.encoder.encodeValue(se)).join("&")}).filter($=>""!==$).join("&")}clone($){const U=new Et({encoder:this.encoder});return U.cloneFrom=this.cloneFrom||this,U.updates=(this.updates||[]).concat($),U}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 U=("a"===$.op?this.map.get($.param):void 0)||[];U.push(at($.value)),this.map.set($.param,U);break;case"d":if(void 0===$.value){this.map.delete($.param);break}{let se=this.map.get($.param)||[];const we=se.indexOf(at($.value));-1!==we&&se.splice(we,1),se.length>0?this.map.set($.param,se):this.map.delete($.param)}}}),this.cloneFrom=this.updates=null)}}class rt{constructor(){this.map=new Map}set($,U){return this.map.set($,U),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 Ye(A){return typeof ArrayBuffer<"u"&&A instanceof ArrayBuffer}function re(A){return typeof Blob<"u"&&A instanceof Blob}function ee(A){return typeof FormData<"u"&&A instanceof FormData}class pe{constructor($,U,se,we){let Se;if(this.url=U,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=$.toUpperCase(),function vt(A){switch(A){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||we?(this.body=void 0!==se?se:null,Se=we):Se=se,Se&&(this.reportProgress=!!Se.reportProgress,this.withCredentials=!!Se.withCredentials,Se.responseType&&(this.responseType=Se.responseType),Se.headers&&(this.headers=Se.headers),Se.context&&(this.context=Se.context),Se.params&&(this.params=Se.params),this.transferCache=Se.transferCache),this.headers??=new ke,this.context??=new rt,this.params){const Ie=this.params.toString();if(0===Ie.length)this.urlWithParams=U;else{const Qe=U.indexOf("?");this.urlWithParams=U+(-1===Qe?"?":Qe<U.length-1?"&":"")+Ie}}else this.params=new Et,this.urlWithParams=U}serializeBody(){return null===this.body?null:"string"==typeof this.body||Ye(this.body)||re(this.body)||ee(this.body)||function X(A){return typeof URLSearchParams<"u"&&A instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Et?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||ee(this.body)?null:re(this.body)?this.body.type||null:Ye(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Et?"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 U=$.method||this.method,se=$.url||this.url,we=$.responseType||this.responseType,Se=$.transferCache??this.transferCache,Ie=void 0!==$.body?$.body:this.body,Qe=$.withCredentials??this.withCredentials,He=$.reportProgress??this.reportProgress;let qt=$.headers||this.headers,Qt=$.params||this.params;const Xt=$.context??this.context;return void 0!==$.setHeaders&&(qt=Object.keys($.setHeaders).reduce((R,Ee)=>R.set(Ee,$.setHeaders[Ee]),qt)),$.setParams&&(Qt=Object.keys($.setParams).reduce((R,Ee)=>R.set(Ee,$.setParams[Ee]),Qt)),new pe(U,se,Ie,{params:Qt,headers:qt,context:Xt,reportProgress:He,responseType:we,withCredentials:Qe,transferCache:Se})}}var Me=function(A){return A[A.Sent=0]="Sent",A[A.UploadProgress=1]="UploadProgress",A[A.ResponseHeader=2]="ResponseHeader",A[A.DownloadProgress=3]="DownloadProgress",A[A.Response=4]="Response",A[A.User=5]="User",A}(Me||{});class je{constructor($,U=200,se="OK"){this.headers=$.headers||new ke,this.status=void 0!==$.status?$.status:U,this.statusText=$.statusText||se,this.url=$.url||null,this.ok=this.status>=200&&this.status<300}}class tt extends je{constructor($={}){super($),this.type=Me.ResponseHeader}clone($={}){return new tt({headers:$.headers||this.headers,status:void 0!==$.status?$.status:this.status,statusText:$.statusText||this.statusText,url:$.url||this.url||void 0})}}class Gt extends je{constructor($={}){super($),this.type=Me.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 mn extends je{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(A,$){return{body:$,headers:A.headers,context:A.context,observe:A.observe,params:A.params,reportProgress:A.reportProgress,responseType:A.responseType,withCredentials:A.withCredentials,transferCache:A.transferCache}}let dn=(()=>{class A{constructor(U){this.handler=U}request(U,se,we={}){let Se;if(U instanceof pe)Se=U;else{let He,qt;He=we.headers instanceof ke?we.headers:new ke(we.headers),we.params&&(qt=we.params instanceof Et?we.params:new Et({fromObject:we.params})),Se=new pe(U,se,void 0!==we.body?we.body:null,{headers:He,context:we.context,params:qt,reportProgress:we.reportProgress,responseType:we.responseType||"json",withCredentials:we.withCredentials,transferCache:we.transferCache})}const Ie=(0,H.of)(Se).pipe((0,he.H)(He=>this.handler.handle(He)));if(U instanceof pe||"events"===we.observe)return Ie;const Qe=Ie.pipe((0,ie.p)(He=>He instanceof Gt));switch(we.observe||"body"){case"body":switch(Se.responseType){case"arraybuffer":return Qe.pipe((0,fe.T)(He=>{if(null!==He.body&&!(He.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return He.body}));case"blob":return Qe.pipe((0,fe.T)(He=>{if(null!==He.body&&!(He.body instanceof Blob))throw new Error("Response is not a Blob.");return He.body}));case"text":return Qe.pipe((0,fe.T)(He=>{if(null!==He.body&&"string"!=typeof He.body)throw new Error("Response is not a string.");return He.body}));default:return Qe.pipe((0,fe.T)(He=>He.body))}case"response":return Qe;default:throw new Error(`Unreachable: unhandled observe type ${we.observe}}`)}}delete(U,se={}){return this.request("DELETE",U,se)}get(U,se={}){return this.request("GET",U,se)}head(U,se={}){return this.request("HEAD",U,se)}jsonp(U,se){return this.request("JSONP",U,{params:(new Et).append(se,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(U,se={}){return this.request("OPTIONS",U,se)}patch(U,se,we={}){return this.request("PATCH",U,un(we,se))}post(U,se,we={}){return this.request("POST",U,un(we,se))}put(U,se,we={}){return this.request("PUT",U,un(we,se))}static{this.\u0275fac=function(se){return new(se||A)(k.KVO(Ne))}}static{this.\u0275prov=k.jDH({token:A,factory:A.\u0275fac})}}return A})();const $n=/^\)\]\}',?\n/;function cr(A){if(A.url)return A.url;const $="X-Request-URL".toLocaleLowerCase();return A.headers.get($)}let ur=(()=>{class A{constructor(){this.fetchImpl=(0,k.WQX)(nr,{optional:!0})?.fetch??((...U)=>globalThis.fetch(...U)),this.ngZone=(0,k.WQX)(k.SKi)}handle(U){return new W.c(se=>{const we=new AbortController;return this.doRequest(U,we.signal,se).then($t,Se=>se.error(new mn({error:Se}))),()=>we.abort()})}doRequest(U,se,we){var Se=this;return x(function*(){const Ie=Se.createRequestInit(U);let Qe;try{const I=Se.ngZone.runOutsideAngular(()=>Se.fetchImpl(U.urlWithParams,{signal:se,...Ie}));(function ni(A){A.then($t,$t)})(I),we.next({type:Me.Sent}),Qe=yield I}catch(I){return void we.error(new mn({error:I,status:I.status??0,statusText:I.statusText,url:U.urlWithParams,headers:I.headers}))}const He=new ke(Qe.headers),qt=Qe.statusText,Qt=cr(Qe)??U.urlWithParams;let Xt=Qe.status,R=null;if(U.reportProgress&&we.next(new tt({headers:He,status:Xt,statusText:qt,url:Qt})),Qe.body){const I=Qe.headers.get("content-length"),z=[],de=Qe.body.getReader();let gt,wt,We=0;const Jn=typeof Zone<"u"&&Zone.current;yield Se.ngZone.runOutsideAngular(x(function*(){for(;;){const{done:fi,value:Wi}=yield de.read();if(fi)break;if(z.push(Wi),We+=Wi.length,U.reportProgress){wt="text"===U.responseType?(wt??"")+(gt??=new TextDecoder).decode(Wi,{stream:!0}):void 0;const Ki=()=>we.next({type:Me.DownloadProgress,total:I?+I:void 0,loaded:We,partialText:wt});Jn?Jn.run(Ki):Ki()}}}));const lo=Se.concatChunks(z,We);try{const fi=Qe.headers.get("Content-Type")??"";R=Se.parseBody(U,lo,fi)}catch(fi){return void we.error(new mn({error:fi,headers:new ke(Qe.headers),status:Qe.status,statusText:Qe.statusText,url:cr(Qe)??U.urlWithParams}))}}0===Xt&&(Xt=R?200:0),Xt>=200&&Xt<300?(we.next(new Gt({body:R,headers:He,status:Xt,statusText:qt,url:Qt})),we.complete()):we.error(new mn({error:R,headers:He,status:Xt,statusText:qt,url:Qt}))})()}parseBody(U,se,we){switch(U.responseType){case"json":const Se=(new TextDecoder).decode(se).replace($n,"");return""===Se?null:JSON.parse(Se);case"text":return(new TextDecoder).decode(se);case"blob":return new Blob([se],{type:we});case"arraybuffer":return se.buffer}}createRequestInit(U){const se={},we=U.withCredentials?"include":void 0;if(U.headers.forEach((Se,Ie)=>se[Se]=Ie.join(",")),U.headers.has("Accept")||(se.Accept="application/json, text/plain, */*"),!U.headers.has("Content-Type")){const Se=U.detectContentTypeHeader();null!==Se&&(se["Content-Type"]=Se)}return{body:U.serializeBody(),method:U.method,headers:se,credentials:we}}concatChunks(U,se){const we=new Uint8Array(se);let Se=0;for(const Ie of U)we.set(Ie,Se),Se+=Ie.length;return we}static{this.\u0275fac=function(se){return new(se||A)}}static{this.\u0275prov=k.jDH({token:A,factory:A.\u0275fac})}}return A})();class nr{}function $t(){}function nn(A,$){return $(A)}function _n(A,$){return(U,se)=>$.intercept(U,{handle:we=>A(we,se)})}const sn=new k.nKC(""),yr=new k.nKC(""),qn=new k.nKC(""),jr=new k.nKC("",{providedIn:"root",factory:()=>!0});function dr(){let A=null;return($,U)=>{null===A&&(A=((0,k.WQX)(sn,{optional:!0})??[]).reduceRight(_n,nn));const se=(0,k.WQX)(k.TgB);if((0,k.WQX)(jr)){const Se=se.add();return A($,U).pipe((0,Y.j)(()=>se.remove(Se)))}return A($,U)}}let hr=(()=>{class A extends Ne{constructor(U,se){super(),this.backend=U,this.injector=se,this.chain=null,this.pendingTasks=(0,k.WQX)(k.TgB),this.contributeToStability=(0,k.WQX)(jr)}handle(U){if(null===this.chain){const se=Array.from(new Set([...this.injector.get(yr),...this.injector.get(qn,[])]));this.chain=se.reduceRight((we,Se)=>function ri(A,$,U){return(se,we)=>(0,k.N4e)(U,()=>$(se,Se=>A(Se,we)))}(we,Se,this.injector),nn)}if(this.contributeToStability){const se=this.pendingTasks.add();return this.chain(U,we=>this.backend.handle(we)).pipe((0,Y.j)(()=>this.pendingTasks.remove(se)))}return this.chain(U,se=>this.backend.handle(se))}static{this.\u0275fac=function(se){return new(se||A)(k.KVO(Re),k.KVO(k.uvJ))}}static{this.\u0275prov=k.jDH({token:A,factory:A.\u0275fac})}}return A})();const Ct=/^\)\]\}',?\n/;let Fn=(()=>{class A{constructor(U){this.xhrFactory=U}handle(U){if("JSONP"===U.method)throw new k.wOt(-2800,!1);const se=this.xhrFactory;return(se.\u0275loadImpl?(0,Z.H)(se.\u0275loadImpl()):(0,H.of)(null)).pipe((0,ue.n)(()=>new W.c(Se=>{const Ie=se.build();if(Ie.open(U.method,U.urlWithParams),U.withCredentials&&(Ie.withCredentials=!0),U.headers.forEach((z,de)=>Ie.setRequestHeader(z,de.join(","))),U.headers.has("Accept")||Ie.setRequestHeader("Accept","application/json, text/plain, */*"),!U.headers.has("Content-Type")){const z=U.detectContentTypeHeader();null!==z&&Ie.setRequestHeader("Content-Type",z)}if(U.responseType){const z=U.responseType.toLowerCase();Ie.responseType="json"!==z?z:"text"}const Qe=U.serializeBody();let He=null;const qt=()=>{if(null!==He)return He;const z=Ie.statusText||"OK",de=new ke(Ie.getAllResponseHeaders()),We=function Rt(A){return"responseURL"in A&&A.responseURL?A.responseURL:/^X-Request-URL:/m.test(A.getAllResponseHeaders())?A.getResponseHeader("X-Request-URL"):null}(Ie)||U.url;return He=new tt({headers:de,status:Ie.status,statusText:z,url:We}),He},Qt=()=>{let{headers:z,status:de,statusText:We,url:gt}=qt(),wt=null;204!==de&&(wt=typeof Ie.response>"u"?Ie.responseText:Ie.response),0===de&&(de=wt?200:0);let Jn=de>=200&&de<300;if("json"===U.responseType&&"string"==typeof wt){const lo=wt;wt=wt.replace(Ct,"");try{wt=""!==wt?JSON.parse(wt):null}catch(fi){wt=lo,Jn&&(Jn=!1,wt={error:fi,text:wt})}}Jn?(Se.next(new Gt({body:wt,headers:z,status:de,statusText:We,url:gt||void 0})),Se.complete()):Se.error(new mn({error:wt,headers:z,status:de,statusText:We,url:gt||void 0}))},Xt=z=>{const{url:de}=qt(),We=new mn({error:z,status:Ie.status||0,statusText:Ie.statusText||"Unknown Error",url:de||void 0});Se.error(We)};let R=!1;const Ee=z=>{R||(Se.next(qt()),R=!0);let de={type:Me.DownloadProgress,loaded:z.loaded};z.lengthComputable&&(de.total=z.total),"text"===U.responseType&&Ie.responseText&&(de.partialText=Ie.responseText),Se.next(de)},I=z=>{let de={type:Me.UploadProgress,loaded:z.loaded};z.lengthComputable&&(de.total=z.total),Se.next(de)};return Ie.addEventListener("load",Qt),Ie.addEventListener("error",Xt),Ie.addEventListener("timeout",Xt),Ie.addEventListener("abort",Xt),U.reportProgress&&(Ie.addEventListener("progress",Ee),null!==Qe&&Ie.upload&&Ie.upload.addEventListener("progress",I)),Ie.send(Qe),Se.next({type:Me.Sent}),()=>{Ie.removeEventListener("error",Xt),Ie.removeEventListener("abort",Xt),Ie.removeEventListener("load",Qt),Ie.removeEventListener("timeout",Xt),U.reportProgress&&(Ie.removeEventListener("progress",Ee),null!==Qe&&Ie.upload&&Ie.upload.removeEventListener("progress",I)),Ie.readyState!==Ie.DONE&&Ie.abort()}})))}static{this.\u0275fac=function(se){return new(se||A)(k.KVO(be.N0))}}static{this.\u0275prov=k.jDH({token:A,factory:A.\u0275fac})}}return A})();const Qn=new k.nKC(""),Pr=new k.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Dn=new k.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class hn{}let le=(()=>{class A{constructor(U,se,we){this.doc=U,this.platform=se,this.cookieName=we,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const U=this.doc.cookie||"";return U!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,be._b)(U,this.cookieName),this.lastCookieString=U),this.lastToken}static{this.\u0275fac=function(se){return new(se||A)(k.KVO(be.qQ),k.KVO(k.Agw),k.KVO(Pr))}}static{this.\u0275prov=k.jDH({token:A,factory:A.\u0275fac})}}return A})();function oe(A,$){const U=A.url.toLowerCase();if(!(0,k.WQX)(Qn)||"GET"===A.method||"HEAD"===A.method||U.startsWith("http://")||U.startsWith("https://"))return $(A);const se=(0,k.WQX)(hn).getToken(),we=(0,k.WQX)(Dn);return null!=se&&!A.headers.has(we)&&(A=A.clone({headers:A.headers.set(we,se)})),$(A)}var Q=function(A){return A[A.Interceptors=0]="Interceptors",A[A.LegacyInterceptors=1]="LegacyInterceptors",A[A.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",A[A.NoXsrfProtection=3]="NoXsrfProtection",A[A.JsonpSupport=4]="JsonpSupport",A[A.RequestsMadeViaParent=5]="RequestsMadeViaParent",A[A.Fetch=6]="Fetch",A}(Q||{});function ve(A,$){return{\u0275kind:A,\u0275providers:$}}function Ue(...A){const $=[dn,Fn,hr,{provide:Ne,useExisting:hr},{provide:Re,useFactory:()=>(0,k.WQX)(ur,{optional:!0})??(0,k.WQX)(Fn)},{provide:yr,useValue:oe,multi:!0},{provide:Qn,useValue:!0},{provide:hn,useClass:le}];for(const U of A)$.push(...U.\u0275providers);return(0,k.EmA)($)}const It=new k.nKC("");let $i=(()=>{class A{static{this.\u0275fac=function(se){return new(se||A)}}static{this.\u0275mod=k.$C({type:A})}static{this.\u0275inj=k.G2t({providers:[Ue(ve(Q.LegacyInterceptors,[{provide:It,useFactory:dr},{provide:yr,useExisting:It,multi:!0}]))]})}}return A})()},3953:(ye,q,F)=>{"use strict";function a(e,t){return Object.is(e,t)}F.d(q,{bc$:()=>g0,iLQ:()=>Ed,sZ2:()=>yu,hnV:()=>vE,Hbi:()=>$x,o8S:()=>ds,BIS:()=>m0,gRc:()=>RE,Ql9:()=>ux,OM3:()=>uc,Ocv:()=>yx,Z63:()=>Li,aKT:()=>Ll,uvJ:()=>_o,zcH:()=>ws,bkB:()=>ss,$GK:()=>kt,nKC:()=>ot,zZn:()=>ti,_q3:()=>ng,MKu:()=>rg,xe9:()=>Qp,Co$:()=>v_,Vns:()=>ua,SKi:()=>Bn,Xx1:()=>yi,Agw:()=>vu,PLl:()=>Gm,sFG:()=>aT,_9s:()=>Ff,czy:()=>Au,kdw:()=>ki,C4Q:()=>tc,NYb:()=>rx,giA:()=>mE,RxE:()=>lE,c1b:()=>qu,gXe:()=>Yo,mal:()=>nd,L39:()=>_N,EWP:()=>wN,Ol2:()=>Zf,w6W:()=>YT,oH4:()=>PE,SmG:()=>Tx,Rfq:()=>Ai,WQX:()=>Te,naY:()=>Sx,QuC:()=>xs,EmA:()=>Ml,fpN:()=>Bx,HJs:()=>IN,N4e:()=>ID,vPA:()=>e_,O8t:()=>EN,H3F:()=>cE,zAP:()=>oD,H8p:()=>Hd,KH2:()=>gl,TgB:()=>na,wOt:()=>Fe,WHO:()=>pE,e01:()=>gE,H5H:()=>Mp,Zy3:()=>kr,mq5:()=>MC,JZv:()=>Mn,LfX:()=>Ao,plB:()=>ks,jNT:()=>Gp,zjR:()=>yE,TL$:()=>f0,Tbb:()=>Ln,Vt3:()=>qf,GFd:()=>y_,OA$:()=>Jd,Jv_:()=>Nw,aNF:()=>Rw,R7$:()=>By,BMQ:()=>up,HbH:()=>cC,ZvI:()=>mC,AVh:()=>mp,wni:()=>ow,VBU:()=>ro,FsC:()=>Hc,jDH:()=>ct,G2t:()=>yn,$C:()=>Ci,EJ8:()=>Ks,rXU:()=>za,nrm:()=>wp,eu8:()=>Ep,bVm:()=>dd,qex:()=>ud,k0s:()=>cd,j41:()=>ld,RV6:()=>EC,xGo:()=>cm,Mr5:()=>Dp,KVO:()=>Mt,kS0:()=>du,QTQ:()=>Hy,bIt:()=>Tp,lsd:()=>lw,XpG:()=>QC,SdG:()=>ZC,NAR:()=>XC,Y8G:()=>pp,FS9:()=>Op,Mz_:()=>md,FCK:()=>Pp,lJ4:()=>Lw,eq3:()=>Vw,l_i:()=>Uw,sMw:()=>jw,mGM:()=>aw,sdS:()=>cw,Njj:()=>kg,eBV:()=>Fg,n$t:()=>yy,DNE:()=>Jf,C5r:()=>Ww,EFF:()=>_w,JRh:()=>xp,SpI:()=>yd,DH7:()=>Ow,mxI:()=>Rp,R50:()=>Np,GBs:()=>sw});let x=null,k=!1,H=1;const W=Symbol("SIGNAL");function Z(e){const t=x;return x=e,t}const Y={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===x)return;x.consumerOnSignalRead(e);const t=x.nextProducerIndex++;zt(x),t<x.producerNode.length&&x.producerNode[t]!==e&&Et(x)&&at(x.producerNode[t],x.producerIndexOfThis[t]),x.producerNode[t]!==e&&(x.producerNode[t]=e,x.producerIndexOfThis[t]=Et(x)?At(e,x,t):0),x.producerLastReadVersion[t]=e.version}function Ne(e){if((!Et(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==H)){if(!e.producerMustRecompute(e)&&!Ge(e))return e.dirty=!1,void(e.lastCleanEpoch=H);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=H}}function Re(e){if(void 0===e.liveConsumerNode)return;const t=k;k=!0;try{for(const n of e.liveConsumerNode)n.dirty||qe(n)}finally{k=t}}function ke(){return!1!==x?.consumerAllowSignalWrites}function qe(e){e.dirty=!0,Re(e),e.consumerMarkedDirty?.(e)}function ze(e){return e&&(e.nextProducerIndex=0),Z(e)}function Ke(e,t){if(Z(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Et(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)at(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ge(e){zt(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ne(n),r!==n.version))return!0}return!1}function Pt(e){if(zt(e),Et(e))for(let t=0;t<e.producerNode.length;t++)at(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 At(e,t,n){if(rt(e),0===e.liveConsumerNode.length&&vt(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=At(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function at(e,t){if(rt(e),1===e.liveConsumerNode.length&&vt(e))for(let r=0;r<e.producerNode.length;r++)at(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];zt(i),i.producerIndexOfThis[r]=t}}function Et(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function zt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function rt(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function vt(e){return void 0!==e.producerNode}const re=Symbol("UNSET"),ee=Symbol("COMPUTING"),X=Symbol("ERRORED"),pe={...Y,value:re,dirty:!0,error:null,equal:a,producerMustRecompute:e=>e.value===re||e.value===ee,producerRecomputeValue(e){if(e.value===ee)throw new Error("Detected cycle in computations.");const t=e.value;e.value=ee;const n=ze(e);let r;try{r=e.computation()}catch(i){r=X,e.error=i}finally{Ke(e,n)}t!==re&&t!==X&&r!==X&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let je=function Me(){throw new Error};function tt(){je()}let mn=null;function un(e,t){ke()||tt(),e.equal(e.value,t)||(e.value=t,function cr(e){e.version++,function be(){H++}(),Re(e),mn?.()}(e))}const xn={...Y,equal:a,value:void 0};var nn=F(4412),_n=F(1413),ri=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 Po="https://g.co/ng/security#xss";class Fe extends Error{constructor(t,n){super(kr(t,n)),this.code=t}}function kr(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ai(e){return{toString:e}.toString()}const fr="__parameters__";function wr(e,t,n){return ai(()=>{const r=function pr(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 N=g.hasOwnProperty(fr)?g[fr]:Object.defineProperty(g,fr,{value:[]})[fr];for(;N.length<=D;)N.push(null);return(N[D]=N[D]||[]).push(s),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const Mn=globalThis;function jt(e){for(let t in e)if(e[t]===jt)return t;throw Error("Could not find renamed property on target object.")}function Ts(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ln(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ln).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 fs(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Qo=jt({__forward_ref__:jt});function Ai(e){return e.__forward_ref__=Ai,e.toString=function(){return Ln(this())},e}function Je(e){return mi(e)?e():e}function mi(e){return"function"==typeof e&&e.hasOwnProperty(Qo)&&e.__forward_ref__===Ai}function ct(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 Sn(e){return Lr(e,Vr)||Lr(e,xo)}function Ao(e){return null!==Sn(e)}function Lr(e,t){return e.hasOwnProperty(t)?e[t]:null}function tr(e){return e&&(e.hasOwnProperty(eo)||e.hasOwnProperty(xi))?e[eo]:null}const Vr=jt({\u0275prov:jt}),eo=jt({\u0275inj:jt}),xo=jt({ngInjectableDef:jt}),xi=jt({ngInjectorDef:jt});class ot{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=ct({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 yo=jt({\u0275cmp:jt}),ps=jt({\u0275dir:jt}),Tn=jt({\u0275pipe:jt}),Ri=jt({\u0275mod:jt}),In=jt({\u0275fac:jt}),Ur=jt({__NG_ELEMENT_ID__:jt}),Ro=jt({__NG_ENV_ID__:jt});function dt(e){return"string"==typeof e?e:null==e?"":String(e)}function va(e,t){throw new Fe(-201,!1)}var kt=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}(kt||{});let $s;function Cl(){return $s}function Xr(e){const t=$s;return $s=e,t}function gs(e,t,n){const r=Sn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&kt.Optional?null:void 0!==t?t:void va()}const Os={},Ca="__NG_DI_FLAG__",m="ngTempTokenPath",C=/\n/gm,L="__source";let ae;function Be(e){const t=ae;return ae=e,t}function Bt(e,t=kt.Default){if(void 0===ae)throw new Fe(-203,!1);return null===ae?gs(e,void 0,t):ae.get(e,t&kt.Optional?null:void 0,t)}function Mt(e,t=kt.Default){return(Cl()||Bt)(Je(e),t)}function Te(e,t=kt.Default){return Mt(e,pn(t))}function pn(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Zt(e){const t=[];for(let n=0;n<e.length;n++){const r=Je(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Fe(900,!1);let i,o=kt.Default;for(let s=0;s<r.length;s++){const c=r[s],g=Fo(c);"number"==typeof g?-1===g?i=c.token:o|=g:i=c}t.push(Mt(i,o))}else t.push(Mt(r))}return t}function Cn(e,t){return e[Ca]=t,e.prototype[Ca]=t,e}function Fo(e){return e[Ca]}const yi=Cn(wr("Optional"),8),ki=Cn(wr("SkipSelf"),4);function ms(e,t){return e.hasOwnProperty(In)?e[In]:null}function zs(e,t){e.forEach(n=>Array.isArray(n)?zs(n,t):t(n))}function wl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Gs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _i(e,t,n){let r=Ws(e,t);return r>=0?e[1|r]=n:(r=~r,function Rd(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 Vc(e,t){const n=Ws(e,t);if(n>=0)return e[1|n]}function Ws(e,t){return function Uc(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 vo={},Yt=[],Li=new ot(""),jc=new ot("",-1),Dl=new ot("");class wa{get(t,n=Os){if(n===Os){const r=new Error(`NullInjectorError: No provider for ${Ln(t)}!`);throw r.name="NullInjectorError",r}return n}}var Ea=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ea||{}),Yo=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Yo||{}),Jo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Jo||{});function kd(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 Da(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];Ld(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function Bc(e){return 3===e||4===e||6===e}function Ld(e){return 64===e.charCodeAt(0)}function Ma(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||Vd(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Vd(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 Ud="ng-template";function cg(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==kd(t[i+1].toLowerCase(),n,0))return!0}else if($c(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 $c(e){return 4===e.type&&e.value!==Ud}function h(e,t,n){return t===(4!==e.type||n?e.value:Ud)}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(Bc(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||!cg(e,i,g,n)){if(p(r))return!1;s=!0}}else{const E=t[++c],D=_(g,i,$c(e),n);if(-1===D){if(p(r))return!1;s=!0;continue}if(""!==E){let N;if(N=D>o?"":i[D+1].toLowerCase(),2&r&&E!==N){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 ne(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 ht(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 ro(e){return ai(()=>{const t=ug(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ea.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Yo.Emulated,styles:e.styles||Yt,_:null,schemas:e.schemas||null,tView:null,id:""};dg(n);const r=e.dependencies;return n.directiveDefs=zc(r,!1),n.pipeDefs=zc(r,!0),n.id=function vD(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 Zr(e){return Ut(e)||Dr(e)}function es(e){return null!==e}function Ci(e){return ai(()=>({type:e.type,bootstrap:e.bootstrap||Yt,declarations:e.declarations||Yt,imports:e.imports||Yt,exports:e.exports||Yt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function As(e,t){if(null==e)return vo;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,s,c=Jo.None;Array.isArray(i)?(c=i[0],o=i[1],s=i[2]??o):(o=i,s=i),t?(n[o]=c!==Jo.None?[r,c]:r,t[o]=s):n[o]=r}return n}function Hc(e){return ai(()=>{const t=ug(e);return dg(t),t})}function Ks(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[yo]||null}function Dr(e){return e[ps]||null}function Yr(e){return e[Tn]||null}function xs(e){const t=Ut(e)||Dr(e)||Yr(e);return null!==t&&t.standalone}function ui(e,t){const n=e[Ri]||null;if(!n&&!0===t)throw new Error(`Type ${Ln(e)} does not have '\u0275mod' property.`);return n}function ug(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||vo,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Yt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:As(e.inputs,t),outputs:As(e.outputs),debugInfo:null}}function dg(e){e.features?.forEach(t=>t(e))}function zc(e,t){if(!e)return null;const n=t?Yr:Zr;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(es)}function Ml(e){return{\u0275providers:e}}function _D(...e){return{\u0275providers:jd(0,e),\u0275fromNgModule:!0}}function jd(e,...t){const n=[],r=new Set;let i;const o=s=>{n.push(s)};return zs(t,s=>{const c=s;Gc(c,o,[],r)&&(i||=[],i.push(c))}),void 0!==i&&hg(i,o),n}function hg(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Bd(i,o=>{t(o,r)})}}function Gc(e,t,n,r){if(!(e=Je(e)))return!1;let i=null,o=tr(e);const s=!o&&Ut(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const g=e.ngModule;if(o=tr(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)Gc(E,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!c){let E;r.add(i);try{zs(o.imports,D=>{Gc(D,t,n,r)&&(E||=[],E.push(D))})}finally{}void 0!==E&&hg(E,t)}if(!c){const E=ms(i)||(()=>new i);t({provide:i,useFactory:E,deps:Yt},i),t({provide:Dl,useValue:i,multi:!0},i),t({provide:Li,useValue:()=>Mt(i),multi:!0},i)}const g=o.providers;if(null!=g&&!c){const E=e;Bd(g,D=>{t(D,E)})}}}return i!==e&&void 0!==e.providers}function Bd(e,t){for(let n of e)cn(n)&&(n=n.\u0275providers),Array.isArray(n)?Bd(n,t):t(n)}const CD=jt({provide:String,useValue:jt});function $d(e){return null!==e&&"object"==typeof e&&CD in e}function qs(e){return"function"==typeof e}const Hd=new ot(""),Wc={},ED={};let zd;function Kc(){return void 0===zd&&(zd=new wa),zd}class _o{}class ba extends _o{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,Wd(t,s=>this.processProvider(s)),this.records.set(jc,Sa(void 0,this)),i.has("environment")&&this.records.set(_o,Sa(void 0,this));const o=this.records.get(Hd);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Dl,Yt,kt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=Z(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(),Z(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Be(this),r=Xr(void 0);try{return t()}finally{Be(n),Xr(r)}}get(t,n=Os,r=kt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ro))return t[Ro](this);r=pn(r);const o=Be(this),s=Xr(void 0);try{if(!(r&kt.SkipSelf)){let g=this.records.get(t);if(void 0===g){const E=function TD(e){return"function"==typeof e||"object"==typeof e&&e instanceof ot}(t)&&Sn(t);g=E&&this.injectableDefInScope(E)?Sa(Gd(t),Wc):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&kt.Self?Kc():this.parent).get(t,n=r&kt.Optional&&n===Os?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[m]=c[m]||[]).unshift(Ln(t)),o)throw c;return function no(e,t,n,r){const i=e[m];throw t[L]&&i.unshift(t[L]),e.message=function Zo(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Ln(t);if(Array.isArray(t))i=t.map(Ln).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):Ln(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{Xr(s),Be(o)}}resolveInjectorInitializers(){const t=Z(null),n=Be(this),r=Xr(void 0);try{const o=this.get(Li,Yt,kt.Self);for(const s of o)s()}finally{Be(n),Xr(r),Z(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ln(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Fe(205,!1)}processProvider(t){let n=qs(t=Je(t))?t:Je(t&&t.provide);const r=function MD(e){return $d(e)?Sa(void 0,e.useValue):Sa(gg(e),Wc)}(t);if(!qs(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Sa(void 0,Wc,!0),i.factory=()=>Zt(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=Z(null);try{return n.value===Wc&&(n.value=ED,n.value=n.factory()),"object"==typeof n.value&&n.value&&function SD(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Z(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Je(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 Gd(e){const t=Sn(e),n=null!==t?t.factory:ms(e);if(null!==n)return n;if(e instanceof ot)throw new Fe(204,!1);if(e instanceof Function)return function DD(e){if(e.length>0)throw new Fe(204,!1);const n=function er(e){return e&&(e[Vr]||e[xo])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Fe(204,!1)}function gg(e,t,n){let r;if(qs(e)){const i=Je(e);return ms(i)||Gd(i)}if($d(e))r=()=>Je(e.useValue);else if(function pg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Zt(e.deps||[]));else if(function fg(e){return!(!e||!e.useExisting)}(e))r=()=>Mt(Je(e.useExisting));else{const i=Je(e&&(e.useClass||e.provide));if(!function bD(e){return!!e.deps}(e))return ms(i)||Gd(i);r=()=>new i(...Zt(e.deps))}return r}function Sa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Wd(e,t){for(const n of e)Array.isArray(n)?Wd(n,t):n&&cn(n)?Wd(n.\u0275providers,t):t(n)}function ID(e,t){e instanceof ba&&e.assertNotDestroyed();const r=Be(e),i=Xr(void 0);try{return t()}finally{Be(r),Xr(i)}}function mg(){return void 0!==Cl()||null!=function De(){return ae}()}const Un=0,Ae=1,it=2,gr=3,Lo=4,Jr=5,wi=6,Ia=7,On=8,mr=9,ts=10,mt=11,Sl=12,vg=13,Oa=14,jn=15,Qs=16,Pa=17,ys=18,Aa=19,_g=20,Ns=21,Qc=22,Co=23,Ze=25,Qd=1,ns=7,xa=9,ir=10;var Zc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Zc||{});function br(e){return Array.isArray(e)&&"object"==typeof e[Qd]}function di(e){return Array.isArray(e)&&!0===e[Qd]}function Xd(e){return!!(4&e.flags)}function Xs(e){return e.componentOffset>-1}function Yc(e){return!(1&~e.flags)}function Vo(e){return!!e.template}function Il(e){return!!(512&e[it])}class jD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Mg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function Jd(){return bg}function bg(e){return e.type.prototype.ngOnChanges&&(e.setInput=$D),BD}function BD(){const e=Tg(this),t=e?.current;if(t){const n=e.previous;if(n===vo)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $D(e,t,n,r,i){const o=this.declaredInputs[r],s=Tg(e)||function HD(e,t){return e[Sg]=t}(e,{previous:vo,current:null}),c=s.current||(s.current={}),g=s.previous,E=g[o];c[o]=new jD(E&&E.currentValue,n,g===vo),Mg(e,t,i,n)}Jd.ngInherit=!0;const Sg="__ngSimpleChanges__";function Tg(e){return e[Sg]||null}const rs=function(e,t,n){};function en(e){for(;Array.isArray(e);)e=e[Un];return e}function Ol(e,t){return en(t[e])}function Ei(e,t){return en(t[e.index])}function Pl(e,t){return e.data[t]}function io(e,t){const n=t[e];return br(n)?n:n[Un]}function nh(e){return!(128&~e[it])}function wo(e,t){return null==t?null:e[t]}function Pg(e){e[Pa]=0}function Ag(e){1024&e[it]||(e[it]|=1024,nh(e)&&eu(e))}function Jc(e){return!!(9216&e[it]||e[Co]?.dirty)}function rh(e){e[ts].changeDetectionScheduler?.notify(8),64&e[it]&&(e[it]|=1024),Jc(e)&&eu(e)}function eu(e){e[ts].changeDetectionScheduler?.notify(0);let t=vs(e);for(;null!==t&&!(8192&t[it])&&(t[it]|=8192,nh(t));)t=vs(t)}function tu(e,t){if(!(256&~e[it]))throw new Fe(911,!1);null===e[Ns]&&(e[Ns]=[]),e[Ns].push(t)}function vs(e){const t=e[gr];return di(t)?t[gr]:t}const yt={lFrame:Wg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ng=!1;function Rg(){return yt.bindingsEnabled}function Ys(){return null!==yt.skipHydrationRootTNode}function me(){return yt.lFrame.lView}function Lt(){return yt.lFrame.tView}function Fg(e){return yt.lFrame.contextLView=e,e[On]}function kg(e){return yt.lFrame.contextLView=null,e}function gn(){let e=Lg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Lg(){return yt.lFrame.currentTNode}function Uo(e,t){const n=yt.lFrame;n.currentTNode=e,n.isParent=t}function sh(){return yt.lFrame.isParent}function ah(){yt.lFrame.isParent=!1}function jg(){return Ng}function Bg(e){Ng=e}function Di(){const e=yt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function jo(){return yt.lFrame.bindingIndex++}function Cs(e){const t=yt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function rM(e,t){const n=yt.lFrame;n.bindingIndex=n.bindingRootIndex=e,lh(t)}function lh(e){yt.lFrame.currentDirectiveIndex=e}function uh(){return yt.lFrame.currentQueryIndex}function ru(e){yt.lFrame.currentQueryIndex=e}function oM(e){const t=e[Ae];return 2===t.type?t.declTNode:1===t.type?e[Jr]:null}function zg(e,t,n){if(n&kt.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&kt.Host||(i=oM(o),null===i||(o=o[Oa],10&i.type))););if(null===i)return!1;t=i,e=o}const r=yt.lFrame=Gg();return r.currentTNode=t,r.lView=e,!0}function dh(e){const t=Gg(),n=e[Ae];yt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Gg(){const e=yt.lFrame,t=null===e?null:e.child;return null===t?Wg(e):t}function Wg(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 Kg(){const e=yt.lFrame;return yt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const qg=Kg;function hh(){const e=Kg();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 ei(){return yt.lFrame.selectedIndex}function Js(e){yt.lFrame.selectedIndex=e}function Pn(){const e=yt.lFrame;return Pl(e.tView,e.selectedIndex)}let Xg=!0;function xl(){return Xg}function is(e){Xg=e}function iu(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 ou(e,t,n){Zg(e,t,3,n)}function su(e,t,n,r){(3&e[it])===n&&Zg(e,t,n,r)}function fh(e,t){let n=e[it];(3&n)===t&&(n&=16383,n+=1,e[it]=n)}function Zg(e,t,n,r){const o=r??-1,s=t.length-1;let c=0;for(let g=void 0!==r?65535&e[Pa]:0;g<s;g++)if("number"==typeof t[g+1]){if(c=t[g],null!=r&&c>=r)break}else t[g]<0&&(e[Pa]+=65536),(c<o||-1==o)&&(hM(e,n,t,g),e[Pa]=(4294901760&e[Pa])+g+2),g++}function Yg(e,t){rs(4,e,t);const n=Z(null);try{t.call(e)}finally{Z(n),rs(5,e,t)}}function hM(e,t,n,r){const i=n[r]<0,o=n[r+1],c=e[i?-n[r]:n[r]];i?e[it]>>14<e[Pa]>>16&&(3&e[it])===t&&(e[it]+=16384,Yg(c,o)):Yg(c,o)}const Na=-1;class Nl{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const gh={};class ea{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=pn(r);const i=this.injector.get(t,gh,r);return i!==gh||n===gh?i:this.parentInjector.get(t,n,r)}}function mh(e){return e!==Na}function Rl(e){return 32767&e}function Fl(e,t){let n=function yM(e){return e>>16}(e),r=t;for(;n>0;)r=r[Oa],n--;return r}let yh=!0;function au(e){const t=yh;return yh=e,t}const em=255,tm=5;let _M=0;const os={};function lu(e,t){const n=nm(e,t);if(-1!==n)return n;const r=t[Ae];r.firstCreatePass&&(e.injectorIndex=t.length,vh(r.data,e),vh(t,null),vh(r.blueprint,null));const i=cu(e,t),o=e.injectorIndex;if(mh(i)){const s=Rl(i),c=Fl(i,t),g=c[Ae].data;for(let E=0;E<8;E++)t[o+E]=c[s+E]|g[s+E]}return t[o+8]=i,o}function vh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function cu(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=um(i),null===r)return Na;if(n++,i=i[Oa],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Na}function _h(e,t,n){!function CM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ur)&&(r=n[Ur]),null==r&&(r=n[Ur]=_M++);const i=r&em;t.data[e+(i>>tm)]|=1<<i}(e,t,n)}function rm(e,t,n){if(n&kt.Optional||void 0!==e)return e;va()}function im(e,t,n,r){if(n&kt.Optional&&void 0===r&&(r=null),!(n&(kt.Self|kt.Host))){const i=e[mr],o=Xr(void 0);try{return i?i.get(t,r,n&kt.Optional):gs(t,r,n&kt.Optional)}finally{Xr(o)}}return rm(r,0,n)}function om(e,t,n,r=kt.Default,i){if(null!==e){if(2048&t[it]&&!(r&kt.Self)){const s=function bM(e,t,n,r,i){let o=e,s=t;for(;null!==o&&null!==s&&2048&s[it]&&!(512&s[it]);){const c=sm(o,s,n,r|kt.Self,os);if(c!==os)return c;let g=o.parent;if(!g){const E=s[_g];if(E){const D=E.get(n,os,r);if(D!==os)return D}g=um(s),s=s[Oa]}o=g}return i}(e,t,n,r,os);if(s!==os)return s}const o=sm(e,t,n,r,os);if(o!==os)return o}return im(t,n,r,i)}function sm(e,t,n,r,i){const o=function DM(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ur)?e[Ur]:void 0;return"number"==typeof t?t>=0?t&em:MM:t}(n);if("function"==typeof o){if(!zg(t,e,r))return r&kt.Host?rm(i,0,r):im(t,n,r,i);try{let s;if(s=o(r),null!=s||r&kt.Optional)return s;va()}finally{qg()}}else if("number"==typeof o){let s=null,c=nm(e,t),g=Na,E=r&kt.Host?t[jn][Jr]:null;for((-1===c||r&kt.SkipSelf)&&(g=-1===c?cu(e,t):t[c+8],g!==Na&&lm(r,!1)?(s=t[Ae],c=Rl(g),t=Fl(g,t)):c=-1);-1!==c;){const D=t[Ae];if(am(o,c,D.data)){const N=EM(c,t,n,s,r,E);if(N!==os)return N}g=t[c+8],g!==Na&&lm(r,t[Ae].data[c+8]===E)&&am(o,c,t)?(s=D,c=Rl(g),t=Fl(g,t)):c=-1}}return i}function EM(e,t,n,r,i,o){const s=t[Ae],c=s.data[e+8],D=uu(c,s,n,null==r?Xs(c)&&yh:r!=s&&!!(3&c.type),i&kt.Host&&o===c);return null!==D?ta(t,s,D,c):os}function uu(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 J=s[G];if(G<g&&n===J||G>=g&&J.type===n)return G}if(i){const G=s[g];if(G&&Vo(G)&&G.type===n)return g}return null}function ta(e,t,n,r){let i=e[n];const o=t.data;if(function fM(e){return e instanceof Nl}(i)){const s=i;s.resolving&&function kc(e,t){throw t&&t.join(" > "),new Fe(-200,e)}(function Vt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():dt(e)}(o[n]));const c=au(s.canSeeViewProviders);s.resolving=!0;const E=s.injectImpl?Xr(s.injectImpl):null;zg(e,r,kt.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function dM(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=bg(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&&Xr(E),au(c),s.resolving=!1,qg()}}return i}function am(e,t,n){return!!(n[t+(e>>tm)]&1<<e)}function lm(e,t){return!(e&kt.Self||e&kt.Host&&t)}class Sr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return om(this._tNode,this._lView,t,pn(r),n)}}function MM(){return new Sr(gn(),me())}function cm(e){return ai(()=>{const t=e.prototype.constructor,n=t[In]||Ch(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[In]||Ch(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ch(e){return mi(e)?()=>{const t=Ch(Je(e));return t&&t()}:ms(e)}function um(e){const t=e[Ae],n=t.type;return 2===n?t.declTNode:1===n?e[Jr]:null}function du(e){return function wM(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(Bc(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}(gn(),e)}function gm(e,t=null,n=null,r){const i=mm(e,t,n,r);return i.resolveInjectorInitializers(),i}function mm(e,t=null,n=null,r,i=new Set){const o=[n||Yt,_D(e)];return r=r||("object"==typeof e?void 0:Ln(e)),new ba(o,t||Kc(),r||null,i)}class ti{static{this.THROW_IF_NOT_FOUND=Os}static{this.NULL=new wa}static create(t,n){if(Array.isArray(t))return gm({name:""},n,t,"");{const r=t.name??"";return gm({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=ct({token:ti,providedIn:"any",factory:()=>Mt(jc)})}static{this.__NG_ELEMENT_ID__=-1}}new ot("").__NG_ELEMENT_ID__=e=>{const t=gn();if(null===t)throw new Fe(204,!1);if(2&t.type)return t.value;if(e&kt.Optional)return null;throw new Fe(204,!1)};function Eh(e){return e.ngOriginalError}const vm=!0;let kl=(()=>{class e{static{this.__NG_ELEMENT_ID__=FM}static{this.__NG_ENV_ID__=n=>n}}return e})();class RM extends kl{constructor(t){super(),this._lView=t}onDestroy(t){return tu(this._lView,t),()=>function ih(e,t){if(null===e[Ns])return;const n=e[Ns].indexOf(t);-1!==n&&e[Ns].splice(n,1)}(this._lView,t)}}function FM(){return new RM(me())}let na=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new nn.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=ct({token:e,providedIn:"root",factory:()=>new e})}}return e})();const ss=class kM extends _n.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,mg()&&(this.destroyRef=Te(kl,{optional:!0})??void 0,this.pendingTasks=Te(na,{optional:!0})??void 0)}emit(t){const n=Z(null);try{super.next(t)}finally{Z(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 ri.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 fu(...e){}function _m(e){let t,n;function r(){e=fu;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 Cm(e){return queueMicrotask(()=>e()),()=>{e=fu}}const Dh="isAngularZone",pu=Dh+"_ID";let LM=0;class Bn{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ss(!1),this.onMicrotaskEmpty=new ss(!1),this.onStable=new ss(!1),this.onError=new ss(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=vm}=t;if(typeof Zone>"u")throw new Fe(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 jM(e){const t=()=>{!function UM(e){function t(){_m(()=>{e.callbackScheduled=!1,bh(e),e.isCheckStableRunning=!0,Mh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),bh(e))}(e)},n=LM++;e._inner=e._inner.fork({name:"angular",properties:{[Dh]:!0,[pu]:n,[pu+n]:!0},onInvokeTask:(r,i,o,s,c,g)=>{if(function BM(e){return Dm(e,"__ignore_ng_zone__")}(g))return r.invokeTask(o,s,c,g);try{return wm(e),r.invokeTask(o,s,c,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Em(e)}},onInvoke:(r,i,o,s,c,g,E)=>{try{return wm(e),r.invoke(o,s,c,g,E)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function $M(e){return Dm(e,"__scheduler_tick__")}(g)&&t(),Em(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,bh(e),Mh(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(Dh)}static assertInAngularZone(){if(!Bn.isInAngularZone())throw new Fe(909,!1)}static assertNotInAngularZone(){if(Bn.isInAngularZone())throw new Fe(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,VM,fu,fu);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 VM={};function Mh(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 bh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function wm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Em(e){e._nesting--,Mh(e)}class Sh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ss,this.onMicrotaskEmpty=new ss,this.onStable=new ss,this.onError=new ss}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 Dm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class ws{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&&Eh(t);for(;n&&Eh(n);)n=Eh(n);return n||null}}const zM=new ot("",{providedIn:"root",factory:()=>{const e=Te(Bn),t=Te(ws);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function GM(){return ka(gn(),me())}function ka(e,t){return new Ll(Ei(e,t))}let Ll=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=GM}}return e})();function bm(e){return e instanceof Ll?e.nativeElement:e}function WM(){return this._results[Symbol.iterator]()}class Th{get changes(){return this._changes??=new ss}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=Th.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=WM)}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 vi(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function ag(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 Ul(e){return!(128&~e.flags)}const Oh=new Map;let qM=0;function Ph(e){Oh.delete(e[Aa])}const gu="__ngContext__";function hi(e,t){br(t)?(e[gu]=t[Aa],function XM(e){Oh.set(e[Aa],e)}(t)):e[gu]=t}function Fm(e){return Lm(e[Sl])}function km(e){return Lm(e[Lo])}function Lm(e){for(;null!==e&&!di(e);)e=e[Lo];return e}let xh;function f0(e){xh=e}const yu=new ot("",{providedIn:"root",factory:()=>p0}),p0="ng",Gm=new ot(""),vu=new ot("",{providedIn:"platform",factory:()=>"unknown"}),g0=new ot(""),m0=new ot("",{providedIn:"root",factory:()=>function Rs(){if(void 0!==xh)return xh;if(typeof document<"u")return document;throw new Fe(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Wm=()=>null;function Uh(e,t,n=!1){return Wm(e,t,n)}const ey=new ot("",{providedIn:"root",factory:()=>!1});let Tu;function oy(e){return function Gh(){if(void 0===Tu&&(Tu=null,Mn.trustedTypes))try{Tu=Mn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Tu}()?.createScriptURL(e)||e}class sy{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Po})`}}function Fs(e){return e instanceof sy?e.changingThisBreaksApplicationSecurity:e}function Wl(e,t){const n=function F0(e){return e instanceof sy&&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 ${Po})`)}return n===t}const U0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Ba=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}(Ba||{});function gy(e){const t=ql();return t?t.sanitize(Ba.URL,e)||"":Wl(e,"URL")?Fs(e):function Wh(e){return(e=String(e)).match(U0)?e:"unsafe:"+e}(dt(e))}function my(e){const t=ql();if(t)return oy(t.sanitize(Ba.RESOURCE_URL,e)||"");if(Wl(e,"ResourceURL"))return oy(Fs(e));throw new Fe(904,!1)}function yy(e,t,n){return function eb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?my:gy}(t,n)(e)}function ql(){const e=me();return e&&e[ts].sanitizer}const tb=/^>|^->|<!--|-->|--!>|<!-$/g,nb=/(<|>)/g,rb="\u200b$1\u200b";function oo(e){return e instanceof Function?e():e}var Au=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Au||{});let Yh;function Jh(e,t){return Yh(e,t)}function Ha(e,t,n,r,i){if(null!=r){let o,s=!1;di(r)?o=r:br(r)&&(s=!0,r=r[Un]);const c=en(r);0===e&&null!==n?null==i?Py(t,n,c):ia(t,n,c,i||null,!0):1===e&&null!==n?ia(t,n,c,i||null,!0):2===e?function Xl(e,t,n){e.removeChild(null,t,n)}(t,c,s):3===e&&t.destroyNode(c),null!=o&&function Db(e,t,n,r,i){const o=n[ns];o!==en(n)&&Ha(t,e,r,o,i);for(let c=ir;c<n.length;c++){const g=n[c];Fu(g[Ae],g,e,t,r,o)}}(t,e,o,n,i)}}function tf(e,t){return e.createComment(function vy(e){return e.replace(tb,t=>t.replace(nb,rb))}(t))}function xu(e,t,n){return e.createElement(t,n)}function Ty(e,t){t[ts].changeDetectionScheduler?.notify(9),Fu(e,t,t[mt],2,null,null)}function Iy(e,t){const n=e[xa],r=t[gr];(br(r)||t[jn]!==r[gr][jn])&&(e[it]|=Zc.HasTransplantedViews),null===n?e[xa]=[t]:n.push(t)}function nf(e,t){const n=e[xa],r=n.indexOf(t);n.splice(r,1)}function Ql(e,t){if(e.length<=ir)return;const n=ir+t,r=e[n];if(r){const i=r[Qs];null!==i&&i!==e&&nf(i,r),t>0&&(e[n-1][Lo]=r[Lo]);const o=Gs(e,ir+t);!function gb(e,t){Ty(e,t),t[Un]=null,t[Jr]=null}(r[Ae],r);const s=o[ys];null!==s&&s.detachView(o[Ae]),r[gr]=null,r[Lo]=null,r[it]&=-129}return r}function Nu(e,t){if(!(256&t[it])){const n=t[mt];n.destroyNode&&Fu(e,t,n,3,null,null),function yb(e){let t=e[Sl];if(!t)return rf(e[Ae],e);for(;t;){let n=null;if(br(t))n=t[Sl];else{const r=t[ir];r&&(n=r)}if(!n){for(;t&&!t[Lo]&&t!==e;)br(t)&&rf(t[Ae],t),t=t[gr];null===t&&(t=e),br(t)&&rf(t[Ae],t),n=t&&t[Lo]}t=n}}(t)}}function rf(e,t){if(256&t[it])return;const n=Z(null);try{t[it]&=-129,t[it]|=256,t[Co]&&Pt(t[Co]),function Cb(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 Nl)){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];rs(4,c,g);try{g.call(c)}finally{rs(5,c,g)}}else{rs(4,i,o);try{o.call(i)}finally{rs(5,i,o)}}}}}(e,t),function _b(e,t){const n=e.cleanup,r=t[Ia];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[Ia]=null);const i=t[Ns];if(null!==i){t[Ns]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,t),1===t[Ae].type&&t[mt].destroy();const r=t[Qs];if(null!==r&&di(t[gr])){r!==t[gr]&&nf(r,t);const i=t[ys];null!==i&&i.detachView(e)}Ph(t)}finally{Z(n)}}function sf(e,t,n){return function Oy(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===Yo.None||o===Yo.Emulated)return null}return Ei(r,n)}}(e,t.parent,n)}function ia(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Py(e,t,n){e.appendChild(t,n)}function Ay(e,t,n,r,i){null!==r?ia(e,t,n,r,i):Py(e,t,n)}function af(e,t){return e.parentNode(t)}function xy(e,t,n){return Ry(e,t,n)}let lf,Ry=function Ny(e,t,n){return 40&e.type?Ei(e,n):null};function Ru(e,t,n,r){const i=sf(e,r,t),o=t[mt],c=xy(r.parent||t[Jr],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)Ay(o,i,n[g],c,!1);else Ay(o,i,n,c,!1);void 0!==lf&&lf(o,r,t,n,i)}function oa(e,t){if(null!==t){const n=t.type;if(3&n)return Ei(t,e);if(4&n)return cf(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return oa(e,r);{const i=e[t.index];return di(i)?cf(-1,i):en(i)}}if(128&n)return oa(e,t.next);if(32&n)return Jh(t,e)()||en(e[t.index]);{const r=ky(e,t);return null!==r?Array.isArray(r)?r[0]:oa(vs(e[jn]),r):oa(e,t.next)}}return null}function ky(e,t){return null!==t?e[jn][Jr].projection[t.projection]:null}function cf(e,t){const n=ir+e+1;if(n<t.length){const r=t[n],i=r[Ae].firstChild;if(null!==i)return oa(r,i)}return t[ns]}function uf(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&&hi(en(c),r),n.flags|=2),32&~n.flags)if(8&g)uf(e,t,n.child,r,i,o,!1),Ha(t,e,i,c,o);else if(32&g){const E=Jh(n,r);let D;for(;D=E();)Ha(t,e,i,D,o);Ha(t,e,i,c,o)}else 16&g?Vy(e,t,r,n,i,o):Ha(t,e,i,c,o);n=s?n.projectionNext:n.next}}function Fu(e,t,n,r,i,o){uf(n,r,e.firstChild,t,i,o,!1)}function Vy(e,t,n,r,i,o){const s=n[jn],g=s[Jr].projection[r.projection];if(Array.isArray(g))for(let E=0;E<g.length;E++)Ha(t,e,i,g[E],o);else{let E=g;const D=s[gr];Ul(r)&&(E.flags|=128),uf(e,t,E,D,i,o,!0)}}function Uy(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function jy(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&Da(e,t,r),null!==i&&Uy(e,t,i),null!==o&&function bb(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}const Ot={};function By(e=1){$y(Lt(),me(),ei()+e,!1)}function $y(e,t,n,r){if(!r)if(3&~t[it]){const o=e.preOrderHooks;null!==o&&su(t,o,0,n)}else{const o=e.preOrderCheckHooks;null!==o&&ou(t,o,n)}Js(n)}function za(e,t=kt.Default){const n=me();return null===n?Mt(e,t):om(gn(),n,Je(e),t)}function Hy(){throw new Error("invalid")}function zy(e,t,n,r,i,o){const s=Z(null);try{let c=null;i&Jo.SignalBased&&(c=t[r][W]),null!==c&&void 0!==c.transformFn&&(o=c.transformFn(o)),i&Jo.HasDecoratorInputTransform&&(o=e.inputTransforms[r].call(t,o)),null!==e.setInput?e.setInput(t,c,o,n,r):Mg(t,c,r,o)}finally{Z(s)}}function ku(e,t,n,r,i,o,s,c,g,E,D){const N=t.blueprint.slice();return N[Un]=i,N[it]=204|r,(null!==E||e&&2048&e[it])&&(N[it]|=2048),Pg(N),N[gr]=N[Oa]=e,N[On]=n,N[ts]=s||e&&e[ts],N[mt]=c||e&&e[mt],N[mr]=g||e&&e[mr]||null,N[Jr]=o,N[Aa]=function QM(){return qM++}(),N[wi]=D,N[_g]=E,N[jn]=2==t.type?e[jn]:N,N}function sa(e,t,n,r,i){let o=e.data[t];if(null===o)o=function df(e,t,n,r,i){const o=Lg(),s=sh(),g=e.data[t]=function Nb(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 nM(){return yt.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function Al(){const e=yt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Uo(o,!0),o}function Zl(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 Gy(e,t,n,r,i){const o=ei(),s=2&r;try{Js(-1),s&&t.length>Ze&&$y(e,t,Ze,!1),rs(s?2:0,i),n(r,i)}finally{Js(o),rs(s?3:1,i)}}function hf(e,t,n){if(Xd(t)){const r=Z(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{Z(r)}}}function ff(e,t,n){Rg()&&(function jb(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;Xs(n)&&function Kb(e,t,n){const r=Ei(t,e),i=Wy(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const c=Lu(e,ku(e,i,null,s,r,t,null,e[ts].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=c}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||lu(n,t),hi(r,t);const s=n.initialInputs;for(let c=i;c<o;c++){const g=e.data[c],E=ta(t,e,c,n);hi(E,t),null!==s&&qb(0,c-i,E,g,0,s),Vo(g)&&(io(n.index,t)[On]=ta(t,e,c,n))}}(e,t,n,Ei(n,t)),!(64&~n.flags)&&Zy(e,t,n))}function pf(e,t,n=Ei){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 Wy(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=gf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function gf(e,t,n,r,i,o,s,c,g,E,D){const N=Ze+r,B=N+i,G=function Tb(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ot);return n}(N,B),J="function"==typeof E?E():E;return G[Ae]={type:e,blueprint:G,template:n,queries:null,viewQuery:c,declTNode:t,data:G.slice().fill(null,N),bindingStartIndex:N,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:J,incompleteFirstPass:!1,ssrId:D}}let Ky=()=>null;function qy(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=Jo.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?Qy(r,n,E,c,g):Qy(r,n,E,c)}return r}function Qy(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 Ui(e,t,n,r,i,o,s,c){const g=Ei(t,n);let D,E=t.inputs;!c&&null!=E&&(D=E[r])?(Cf(e,n,D,r,i),Xs(t)&&function kb(e,t){const n=io(t,e);16&n[it]||(n[it]|=64)}(n,t.index)):3&t.type&&(r=function Fb(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 mf(e,t,n,r){if(Rg()){const i=null===r?null:{"":-1},o=function $b(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=[]),Vo(s))if(null!==s.findHostDirectiveDefs){const c=[];i=i||new Map,s.findHostDirectiveDefs(s,c,i),r.unshift(...c,s),yf(e,t,c.length)}else r.unshift(s),yf(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&&Xy(e,t,n,s,i,c),i&&function Hb(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 Fe(-301,!1);r.push(t[i],o)}}}(n,r,i)}n.mergedAttrs=Ma(n.mergedAttrs,n.attrs)}function Xy(e,t,n,r,i,o){for(let E=0;E<r.length;E++)_h(lu(n,t),e,r[E].type);!function Gb(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=Zl(e,t,r.length,null);for(let E=0;E<r.length;E++){const D=r[E];n.mergedAttrs=Ma(n.mergedAttrs,D.hostAttrs),Wb(e,n,t,g,D),zb(g,D,i),null!==D.contentQueries&&(n.flags|=4),(null!==D.hostBindings||null!==D.hostAttrs||0!==D.hostVars)&&(n.flags|=64);const N=D.type.prototype;!s&&(N.ngOnChanges||N.ngOnInit||N.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!c&&(N.ngOnChanges||N.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),c=!0),g++}!function Rb(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 N=o[D],B=n?n.get(N):null,J=B?B.outputs:null;g=qy(0,N.inputs,D,g,B?B.inputs:null),E=qy(1,N.outputs,D,E,J);const _e=null===g||null===s||$c(t)?null:Qb(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 Zy(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,s=function iM(){return yt.lFrame.currentDirectiveIndex}();try{Js(o);for(let c=r;c<i;c++){const g=e.data[c],E=t[c];lh(c),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&Bb(g,E)}}finally{Js(-1),lh(s)}}function Bb(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function yf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function zb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Vo(t)&&(n[""]=e)}}function Wb(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=ms(i.type)),s=new Nl(o,Vo(i),za);e.blueprint[r]=s,n[r]=s,function Vb(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 Ub(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,Zl(e,n,i.hostVars,Ot),i)}function as(e,t,n,r,i,o){const s=Ei(e,t);!function vf(e,t,n,r,i,o,s){if(null==o)e.removeAttribute(t,i,n);else{const c=null==s?dt(o):s(o,r||"",i);e.setAttribute(t,i,c,n)}}(t[mt],s,o,e.value,n,r,i)}function qb(e,t,n,r,i,o){const s=o[t];if(null!==s)for(let c=0;c<s.length;)zy(r,n,s[c++],s[c++],s[c++],s[c++])}function Qb(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 Yy(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Jy(e,t){const n=e.contentQueries;if(null!==n){const r=Z(null);try{for(let i=0;i<n.length;i+=2){const s=n[i+1];if(-1!==s){const c=e.data[s];ru(n[i]),c.contentQueries(2,t[s],s)}}}finally{Z(r)}}}function Lu(e,t){return e[Sl]?e[vg][Lo]=t:e[Sl]=t,e[vg]=t,t}function _f(e,t,n){ru(0);const r=Z(null);try{t(e,n)}finally{Z(r)}}function ev(e){return e[Ia]??=[]}function tv(e){return e.cleanup??=[]}function Vu(e,t){const n=e[mr],r=n?n.get(ws,null):null;r&&r.handleError(t)}function Cf(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],c=n[o++],g=n[o++];zy(e.data[s],t[s],r,c,g,i)}}function Xb(e,t){const n=io(t,e),r=n[Ae];!function Zb(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[wi]&&(n[wi]=Uh(i,n[mr])),wf(r,n,n[On])}function wf(e,t,n){dh(t);try{const r=e.viewQuery;null!==r&&_f(1,r,n);const i=e.template;null!==i&&Gy(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ys]?.finishViewCreation(e),e.staticContentQueries&&Jy(e,t),e.staticViewQueries&&_f(2,e.viewQuery,n);const o=e.components;null!==o&&function Yb(e,t){for(let n=0;n<t.length;n++)Xb(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[it]&=-5,hh()}}function Ga(e,t,n,r){const i=Z(null);try{const o=t.tView,g=ku(e,o,n,4096&e[it]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);g[Qs]=e[t.index];const D=e[ys];return null!==D&&(g[ys]=D.createEmbeddedView(o)),wf(o,g,n),g}finally{Z(i)}}function aa(e,t){return!t||null===t.firstChild||Ul(e)}function Wa(e,t,n,r=!0){const i=t[Ae];if(function vb(e,t,n,r){const i=ir+r,o=n.length;r>0&&(n[i-1][Lo]=t),r<o-ir?(t[Lo]=n[i],wl(n,ir+r,t)):(n.push(t),t[Lo]=null),t[gr]=n;const s=t[Qs];null!==s&&n!==s&&Iy(s,t);const c=t[ys];null!==c&&c.insertView(e),rh(t),t[it]|=128}(i,t,e,n),r){const s=cf(n,e),c=t[mt],g=af(c,e[ns]);null!==g&&function mb(e,t,n,r,i,o){r[Un]=i,r[Jr]=t,Fu(e,r,n,1,i,o)}(i,e[Jr],c,t,g,s)}const o=t[wi];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function Yl(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(en(o)),di(o)&&iv(o,r);const s=n.type;if(8&s)Yl(e,t,n.child,r);else if(32&s){const c=Jh(n,t);let g;for(;g=c();)r.push(g)}else if(16&s){const c=ky(t,n);if(Array.isArray(c))r.push(...c);else{const g=vs(t[jn]);Yl(g[Ae],g,c,r,!0)}}n=i?n.projectionNext:n.next}return r}function iv(e,t){for(let n=ir;n<e.length;n++){const r=e[n],i=r[Ae].firstChild;null!==i&&Yl(r[Ae],r,i,t)}e[ns]!==e[Un]&&t.push(e[ns])}let ov=[];const nS={...Y,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{eu(e.lView)},consumerOnSignalRead(){this.lView[Co]=this}},iS={...Y,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=vs(e.lView);for(;t&&!sv(t[Ae]);)t=vs(t);t&&Ag(t)},consumerOnSignalRead(){this.lView[Co]=this}};function sv(e){return 2!==e.type}const oS=100;function Uu(e,t=!0,n=0){const r=e[ts],i=r.rendererFactory;i.begin?.();try{!function sS(e,t){const n=jg();try{Bg(!0),Df(e,t);let r=0;for(;Jc(e);){if(r===oS)throw new Fe(103,!1);r++,Df(e,1)}}finally{Bg(n)}}(e,n)}catch(s){throw t&&Vu(e,s),s}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function aS(e,t,n,r){const i=t[it];if(!(256&~i))return;t[ts].inlineEffectRunner?.flush(),dh(t);let c=!0,g=null,E=null;sv(e)?(E=function Jb(e){return e[Co]??function eS(e){const t=ov.pop()??Object.create(nS);return t.lView=e,t}(e)}(t),g=ze(E)):null===function he(){return x}()?(c=!1,E=function rS(e){const t=e[Co]??Object.create(iS);return t.lView=e,t}(t),g=ze(E)):t[Co]&&(Pt(t[Co]),t[Co]=null);try{Pg(t),function $g(e){return yt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Gy(e,t,n,2,r);const D=!(3&~i);if(D){const G=e.preOrderCheckHooks;null!==G&&ou(t,G,null)}else{const G=e.preOrderHooks;null!==G&&su(t,G,0,null),fh(t,0)}if(function lS(e){for(let t=Fm(e);null!==t;t=km(t)){if(!(t[it]&Zc.HasTransplantedViews))continue;const n=t[xa];for(let r=0;r<n.length;r++)Ag(n[r])}}(t),lv(t,0),null!==e.contentQueries&&Jy(e,t),D){const G=e.contentCheckHooks;null!==G&&ou(t,G)}else{const G=e.contentHooks;null!==G&&su(t,G,1),fh(t,1)}!function Sb(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];rM(s,o),c(2,t[o])}}}finally{Js(-1)}}(e,t);const N=e.components;null!==N&&uv(t,N,0);const B=e.viewQuery;if(null!==B&&_f(2,B,r),D){const G=e.viewCheckHooks;null!==G&&ou(t,G)}else{const G=e.viewHooks;null!==G&&su(t,G,2),fh(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Qc]){for(const G of t[Qc])G();t[Qc]=null}t[it]&=-73}catch(D){throw eu(t),D}finally{null!==E&&(Ke(E,g),c&&function tS(e){e.lView[Co]!==e&&(e.lView=null,ov.push(e))}(E)),hh()}}function lv(e,t){for(let n=Fm(e);null!==n;n=km(n))for(let r=ir;r<n.length;r++)cv(n[r],t)}function cS(e,t,n){cv(io(t,e),n)}function cv(e,t){nh(e)&&Df(e,t)}function Df(e,t){const r=e[Ae],i=e[it],o=e[Co];let s=!!(0===t&&16&i);if(s||=!!(64&i&&0===t),s||=!!(1024&i),s||=!(!o?.dirty||!Ge(o)),s||=!1,o&&(o.dirty=!1),e[it]&=-9217,s)aS(r,e,r.template,e[On]);else if(8192&i){lv(e,1);const c=r.components;null!==c&&uv(e,c,1)}}function uv(e,t,n){for(let r=0;r<t.length;r++)cS(e,t[r],n)}function Jl(e,t){const n=jg()?64:1088;for(e[ts].changeDetectionScheduler?.notify(t);e;){e[it]|=n;const r=vs(e);if(Il(e)&&!r)return e;e=r}return null}class ec{get rootNodes(){const t=this._lView,n=t[Ae];return Yl(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[On]}set context(t){this._lView[On]=t}get destroyed(){return!(256&~this._lView[it])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[gr];if(di(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ql(t,r),Gs(n,r))}this._attachedToViewContainer=!1}Nu(this._lView[Ae],this._lView)}onDestroy(t){tu(this._lView,t)}markForCheck(){Jl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[it]&=-129}reattach(){rh(this._lView),this._lView[it]|=128}detectChanges(){this._lView[it]|=1024,Uu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Fe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Il(this._lView),n=this._lView[Qs];null!==n&&!t&&nf(n,this._lView),Ty(this._lView[Ae],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Fe(902,!1);this._appRef=t;const n=Il(this._lView),r=this._lView[Qs];null!==r&&!n&&Iy(r,this._lView),rh(this._lView)}}let tc=(()=>{class e{static{this.__NG_ELEMENT_ID__=hS}}return e})();const uS=tc,dS=class extends uS{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=Ga(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new ec(i)}};function hS(){return ju(gn(),me())}function ju(e,t){return 4&e.type?new dS(t,e,ka(e,t)):null}let Av=()=>null;function ca(e,t){return Av(e,t)}class qa{}const cc=new ot("",{providedIn:"root",factory:()=>!1}),xv=new ot(""),Rf=new ot("");class iT{}class Nv{}class sT{resolveComponentFactory(t){throw function oT(e){const t=Error(`No component factory found for ${Ln(e)}.`);return t.ngComponent=e,t}(t)}}class uc{static{this.NULL=new sT}}class Ff{}let aT=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function lT(){const e=me(),n=io(gn().index,e);return(br(n)?n:e)[mt]}()}}return e})(),cT=(()=>{class e{static{this.\u0275prov=ct({token:e,providedIn:"root",factory:()=>null})}}return e})();function ks(e){return!!ui(e)}function Ku(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=fs(i,c):2==o&&(r=fs(r,c+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class Lv extends uc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ut(t);return new fc(n,this.ngModule)}}function Vv(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]:Jo.None)&Jo.SignalBased)}:{propName:s,templateName:r})}return n}class fc extends Nv{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Vv(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 Vv(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function bt(e){return e.map(ht).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const o=Z(null);try{let s=(i=i||this.ngModule)instanceof _o?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(Ff,null);if(null===g)throw new Fe(407,!1);const N={rendererFactory:g,sanitizer:c.get(cT,null),inlineEffectRunner:null,changeDetectionScheduler:c.get(qa,null)},B=g.createRenderer(null,this.componentDef),G=this.componentDef.selectors[0][0]||"div",J=r?function Ib(e,t,n,r){const o=r.get(ey,!1)||n===Yo.ShadowDom,s=e.selectRootElement(t,o);return function Ob(e){Ky(e)}(s),s}(B,r,this.componentDef.encapsulation,c):xu(B,G,function hT(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!==J&&(xe=Uh(J,c,!0));const Le=gf(0,null,null,1,0,null,null,null,null,null,null),Ce=ku(null,Le,null,_e,null,null,N,B,c,null,xe);dh(Ce);let St,Kt,vn=null;try{const lr=this.componentDef;let Bi,vl=null;lr.findHostDirectiveDefs?(Bi=[],vl=new Map,lr.findHostDirectiveDefs(lr,Bi,vl),Bi.push(lr)):Bi=[lr];const gD=function pT(e,t){const n=e[Ae],r=Ze;return e[r]=t,sa(n,r,2,"#host",null)}(Ce,J);vn=function gT(e,t,n,r,i,o,s){const c=i[Ae];!function mT(e,t,n,r){for(const i of e)t.mergedAttrs=Ma(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Ku(t,t.mergedAttrs,!0),null!==n&&jy(r,n,t))}(r,e,t,s);let g=null;null!==t&&(g=Uh(t,i[mr]));const E=o.rendererFactory.createRenderer(t,n);let D=16;n.signals?D=4096:n.onPush&&(D=64);const N=ku(i,Wy(n),null,D,i[e.index],e,o,E,null,null,g);return c.firstCreatePass&&yf(c,e,r.length-1),Lu(i,N),i[e.index]=N}(gD,J,lr,Bi,Ce,N,B),Kt=Pl(Le,Ze),J&&function vT(e,t,n,r){if(r)Da(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&&Da(e,n,i),o&&o.length>0&&Uy(e,n,o.join(" "))}}(B,lr,J,r),void 0!==n&&function _T(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)}}(Kt,this.ngContentSelectors,n),St=function yT(e,t,n,r,i,o){const s=gn(),c=i[Ae],g=Ei(s,i);Xy(c,i,s,n,null,r);for(let D=0;D<n.length;D++)hi(ta(i,c,s.directiveStart+D,s),i);Zy(c,i,s),g&&hi(g,i);const E=ta(i,c,s.directiveStart+s.componentOffset,s);if(e[On]=i[On]=E,null!==o)for(const D of o)D(E,t);return hf(c,s,i),E}(vn,lr,Bi,vl,Ce,[CT]),wf(Le,Ce,null)}catch(lr){throw null!==vn&&Ph(vn),Ph(Ce),lr}finally{hh()}return new fT(this.componentType,St,ka(Kt,Ce),Ce,Kt)}finally{Z(o)}}}class fT extends iT{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 ec(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;Cf(o[Ae],o,i,t,n),this.previousInputValues.set(t,n),Jl(io(this._tNode.index,o),1)}}get injector(){return new Sr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function CT(){const e=gn();iu(me()[Ae],e)}let qu=(()=>{class e{static{this.__NG_ELEMENT_ID__=wT}}return e})();function wT(){return Bv(gn(),me())}const ET=qu,Uv=class extends ET{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ka(this._hostTNode,this._hostLView)}get injector(){return new Sr(this._hostTNode,this._hostLView)}get parentInjector(){const t=cu(this._hostTNode,this._hostLView);if(mh(t)){const n=Fl(t,this._hostLView),r=Rl(t);return new Sr(n[Ae].data[r+8],n)}return new Sr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=jv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ir}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=ca(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(c,i,aa(this._hostTNode,s)),c}createComponent(t,n,r,i,o){const s=t&&!function bl(e){return"function"==typeof e}(t);let c;if(s)c=n;else{const J=n||{};c=J.index,r=J.injector,i=J.projectableNodes,o=J.environmentInjector||J.ngModuleRef}const g=s?t:new fc(Ut(t)),E=r||this.parentInjector;if(!o&&null==g.ngModule){const _e=(s?E:this.parentInjector).get(_o,null);_e&&(o=_e)}const D=Ut(g.componentType??{}),N=ca(this._lContainer,D?.id??null),G=g.create(E,i,N?.firstChild??null,o);return this.insertImpl(G.hostView,c,aa(this._hostTNode,N)),G}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function KD(e){return di(e[gr])}(i)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const g=i[gr],E=new Uv(g,g[Jr],g[gr]);E.detach(E.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;return Wa(s,i,o,r),t.attachToViewContainerRef(),wl(Vf(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=jv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ql(this._lContainer,n);r&&(Gs(Vf(this._lContainer),n),Nu(r[Ae],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ql(this._lContainer,n);return r&&null!=Gs(Vf(this._lContainer),n)?new ec(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function jv(e){return e[8]}function Vf(e){return e[8]||(e[8]=[])}function Bv(e,t){let n;const r=t[e.index];return di(r)?n=r:(n=Yy(r,t,null,e),t[e.index]=n,Lu(t,n)),$v(n,t,e,r),new Uv(n,e,t)}let $v=function zv(e,t,n,r){if(e[ns])return;let i;i=8&n.type?en(r):function DT(e,t){const n=e[mt],r=n.createComment(""),i=Ei(t,e);return ia(n,af(n,i),r,function wb(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[ns]=i},Uf=()=>!1;class jf{constructor(t){this.queryList=t,this.matches=null}clone(){return new jf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Bf{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 Bf(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!==Wf(t,n).matches&&this.queries[n].setDirty()}}class Gv{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function AT(e){return e.split(",").map(t=>t.trim())}(t):t}}class $f{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 $f(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 Hf{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 Hf(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,TT(n,o)),this.matchTNodeWithReadOption(t,n,uu(n,t,o,!1,!1))}else r===tc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,uu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Ll||i===qu||i===tc&&4&n.type)this.addMatch(n.index,-2);else{const o=uu(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 TT(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 OT(e,t,n,r){return-1===n?function IT(e,t){return 11&e.type?ka(e,t):4&e.type?ju(e,t):null}(t,e):-2===n?function PT(e,t,n){return n===Ll?ka(t,e):n===tc?ju(t,e):n===qu?Bv(t,e):void 0}(e,t,r):ta(e,e[Ae],n,t)}function Wv(e,t,n,r){const i=t[ys].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:OT(t,o[E],s[g+1],n.metadata.read))}i.matches=c}return i.matches}function zf(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const s=Wv(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 N=ir;N<D.length;N++){const B=D[N];B[Qs]===B[gr]&&zf(B[Ae],B,E,r)}if(null!==D[xa]){const N=D[xa];for(let B=0;B<N.length;B++){const G=N[B];zf(G[Ae],G,E,r)}}}}}return r}function Kv(e,t,n){const r=new Th(!(4&~n));return function xb(e,t,n,r){const i=ev(t);i.push(n),e.firstCreatePass&&tv(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[ys]??=new Bf).queries.push(new jf(r))-1}function Xv(e,t,n){null===e.queries&&(e.queries=new $f),e.queries.track(new Hf(t,n))}function Wf(e,t){return e.queries.getByIndex(t)}function Zv(e,t){const n=e[Ae],r=Wf(n,t);return r.crossesNgTemplate?zf(n,e,t,[]):Wv(n,e,r,t)}const Yv=new Set;function Mi(e){Yv.has(e)||(Yv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function e_(e,t){Mi("NgSignals");const n=function et(e){const t=Object.create(xn);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){ke()||tt(),un(e,t(e.value))}(r,i),n.asReadonly=t_.bind(n),n}function t_(){const e=this[W];if(void 0===e.readonlyFn){const t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}function n_(e){return function Jv(e){return"function"==typeof e&&void 0!==e[W]}(e)&&"function"==typeof e.set}function qf(e){let t=function f_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Vo(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Fe(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const s=e;s.inputs=Xu(e.inputs),s.inputTransforms=Xu(e.inputTransforms),s.declaredInputs=Xu(e.declaredInputs),s.outputs=Xu(e.outputs);const c=i.hostBindings;c&&WT(e,c);const g=i.viewQuery,E=i.contentQueries;if(g&&zT(e,g),E&&GT(e,E),$T(e,i),Ts(e.outputs,i.outputs),Vo(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===qf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function HT(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=Ma(i.hostAttrs,n=Ma(n,i.hostAttrs))}}(r)}function $T(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 Xu(e){return e===vo?{}:e===Yt?[]:e}function zT(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function GT(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function WT(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function y_(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 ua{}class v_{}function YT(e,t){return new Qf(e,t??null,[])}class Qf extends ua{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Lv(this);const o=ui(t);this._bootstrapComponents=oo(o.bootstrap),this._r3Injector=mm(t,n,[{provide:ua,useValue:this},{provide:uc,useValue:this.componentFactoryResolver},...r],Ln(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 Xf extends v_{constructor(t){super(),this.moduleType=t}create(t){return new Qf(this.moduleType,t,[])}}class __ extends ua{constructor(t){super(),this.componentFactoryResolver=new Lv(this),this.instance=null;const n=new ba([...t.providers,{provide:ua,useValue:this},{provide:uc,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 Zf(e,t,n=null){return new __({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Zu(e){return!!Yf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Yf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ls(e,t,n){return e[t]=n}function or(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function da(e,t,n,r){const i=or(e,t,n);return or(e,t+1,r)||i}function mc(e,t,n,r,i,o,s,c,g,E){const D=n+Ze,N=t.firstCreatePass?function iI(e,t,n,r,i,o,s,c,g){const E=t.consts,D=sa(t,e,4,s||null,c||null);mf(t,n,D,wo(E,g)),iu(t,D);const N=D.tView=gf(2,D,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E,null);return null!==t.queries&&(t.queries.template(t,D),N.queries=t.queries.embeddedTView(D)),D}(D,t,e,r,i,o,s,c,g):t.data[D];Uo(N,!1);const B=C_(t,e,N,n);xl()&&Ru(t,e,B,N),hi(B,e);const G=Yy(B,e,B,N);return e[D]=G,Lu(e,G),function Hv(e,t,n){return Uf(e,t,n)}(G,N,e),Yc(N)&&ff(t,e,N),null!=g&&pf(e,N,E),N}function Jf(e,t,n,r,i,o,s,c){const g=me(),E=Lt();return mc(g,E,e,t,n,r,i,wo(E.consts,o),s,c),Jf}let C_=function w_(e,t,n,r){return is(!0),t[mt].createComment("")};var Ya=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ya||{});let T_=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=ct({token:e,providedIn:"root",factory:()=>new e})}}return e})();class _c{constructor(){this.ngZone=Te(Bn),this.scheduler=Te(qa),this.errorHandler=Te(ws,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Ya.EarlyRead,Ya.Write,Ya.MixedReadWrite,Ya.Read]}execute(){this.executing=!0;for(const t of _c.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=ct({token:_c,providedIn:"root",factory:()=>new _c})}}class lI{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 nd(e,t){!t?.injector&&function Kd(e){if(!mg())throw new Fe(-203,!1)}();const n=t?.injector??Te(ti);return function so(e){return"browser"===(e??Te(ti)).get(vu)}(n)?(Mi("NgAfterNextRender"),function I_(e,t,n,r){const i=t.get(T_);i.impl??=t.get(_c);const s=new lI(i.impl,function uI(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??Ya.MixedReadWrite),r,t.get(kl));return i.impl.register(s),s}(e,n,t,!0)):O_}const O_={destroy(){}};function up(e,t,n,r){const i=me();return or(i,jo(),t)&&(Lt(),as(Pn(),i,e,t,n,r)),up}function ol(e,t,n,r){return or(e,jo(),n)?t+dt(n)+r:Ot}function sl(e,t,n,r,i,o){const c=da(e,function _s(){return yt.lFrame.bindingIndex}(),n,i);return Cs(2),c?t+dt(n)+r+dt(i)+o:Ot}function od(e,t){return e<<17|t<<2}function Us(e){return e>>17&32767}function dp(e){return 2|e}function fa(e){return(131068&e)>>2}function hp(e,t){return-131069&e|t<<2}function fp(e){return 1|e}function tC(e,t,n,r){const i=e[n+1],o=null===t;let s=r?Us(i):fa(i),c=!1;for(;0!==s&&(!1===c||o);){const E=e[s+1];WI(e[s],t)&&(c=!0,e[s+1]=r?fp(E):dp(E)),s=r?Us(E):fa(E)}c&&(e[n+1]=r?dp(i):fp(i))}function WI(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 Tr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nC(e){return e.substring(Tr.key,Tr.keyEnd)}function rC(e,t){const n=Tr.textEnd;return n===t?-1:(t=Tr.keyEnd=function XI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Tr.key=t,n),fl(e,t,n))}function fl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function pp(e,t,n){const r=me();return or(r,jo(),t)&&Ui(Lt(),Pn(),r,e,t,r[mt],n,!1),pp}function gp(e,t,n,r,i){const s=i?"class":"style";Cf(e,n,t.inputs[s],s,r)}function mp(e,t){return function Bo(e,t,n,r){const i=me(),o=Lt(),s=Cs(2);o.firstUpdatePass&&dC(o,e,s,r),t!==Ot&&or(i,s,t)&&fC(o,o.data[ei()],i,i[mt],e,i[s+1]=function aO(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ln(Fs(e)))),e}(t,n),r,s)}(e,t,null,!0),mp}function cC(e){$o(oO,us,e,!0)}function us(e,t){for(let n=function qI(e){return function oC(e){Tr.key=0,Tr.keyEnd=0,Tr.value=0,Tr.valueEnd=0,Tr.textEnd=e.length}(e),rC(e,fl(e,0,Tr.textEnd))}(t);n>=0;n=rC(t,n))_i(e,nC(t),!0)}function $o(e,t,n,r){const i=Lt(),o=Cs(2);i.firstUpdatePass&&dC(i,null,o,r);const s=me();if(n!==Ot&&or(s,o,n)){const c=i.data[ei()];if(gC(c,r)&&!uC(i,o)){let g=r?c.classesWithoutHost:c.stylesWithoutHost;null!==g&&(n=fs(g,n||"")),gp(i,c,s,n,r)}else!function sO(e,t,n,r,i,o,s,c){i===Ot&&(i=Yt);let g=0,E=0,D=0<i.length?i[0]:null,N=0<o.length?o[0]:null;for(;null!==D||null!==N;){const B=g<i.length?i[g+1]:void 0,G=E<o.length?o[E+1]:void 0;let _e,J=null;D===N?(g+=2,E+=2,B!==G&&(J=N,_e=G)):null===N||null!==D&&D<N?(g+=2,J=D):(E+=2,J=N,_e=G),null!==J&&fC(e,t,n,r,J,_e,s,c),D=g<i.length?i[g]:null,N=E<o.length?o[E]:null}}(i,c,s,s[mt],s[o+1],s[o+1]=function iO(e,t,n){if(null==n||""===n)return Yt;const r=[],i=Fs(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 uC(e,t){return t>=e.expandoStartIndex}function dC(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[ei()],s=uC(e,n);gC(o,r)&&null===t&&!s&&(t=!1),t=function eO(e,t,n,r){const i=function ch(e){const t=yt.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=wc(n=yp(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=yp(i,e,t,n,r),null===o){let g=function tO(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==fa(r))return e[Us(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=yp(null,e,t,g[1],r),g=wc(g,t.attrs,r),function nO(e,t,n,r){e[Us(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else o=function rO(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=wc(r,e[o].hostAttrs,n);return wc(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function zI(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,c=Us(s),g=fa(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]=od(B,c),0!==B&&(e[B+1]=hp(e[B+1],r)),e[c+1]=function $I(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=od(c,0),0!==c&&(e[c+1]=hp(e[c+1],r)),c=r;else e[r+1]=od(g,0),0===c?c=r:e[g+1]=hp(e[g+1],r),g=r;E&&(e[r+1]=dp(e[r+1])),tC(e,D,r,!0),tC(e,D,r,!1),function GI(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Ws(o,t)>=0&&(n[r+1]=fp(n[r+1]))}(t,D,e,r,o),s=od(c,g),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function yp(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=wc(r,o.hostAttrs,i),o!==e);)c++;return null!==e&&(n.directiveStylingLast=c),r}function wc(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]),_i(e,s,!!n||t[++o]))}return void 0===e?null:e}function oO(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&_i(e,r,n)}function fC(e,t,n,r,i,o,s,c){if(!(3&t.type))return;const g=e.data,E=g[c+1],D=function HI(e){return!(1&~e)}(E)?pC(g,t,n,i,fa(E),s):void 0;sd(D)||(sd(o)||function BI(e){return!(2&~e)}(E)&&(o=pC(g,null,n,i,c,s)),function Mb(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:Au.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Au.Important),e.setStyle(n,r,i,o))}}(r,s,Ol(ei(),n),i,o))}function pC(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,N=null===D;let B=n[i+1];B===Ot&&(B=N?Yt:void 0);let G=N?Vc(B,r):D===r?B:void 0;if(E&&!sd(G)&&(G=Vc(g,r)),sd(G)&&(c=G,s))return c;const J=e[i+1];i=s?Us(J):fa(J)}if(null!==t){let g=o?t.residualClasses:t.residualStyles;null!=g&&(c=Vc(g,r))}return c}function sd(e){return void 0!==e}function gC(e,t){return!!(e.flags&(t?8:16))}function mC(e,t,n){$o(_i,us,ol(me(),e,t,n),!0)}function ld(e,t,n,r){const i=me(),o=Lt(),s=Ze+e,c=i[mt],g=o.firstCreatePass?function OO(e,t,n,r,i,o){const s=t.consts,g=sa(t,e,2,r,wo(s,i));return mf(t,n,g,wo(s,o)),null!==g.attrs&&Ku(g,g.attrs,!1),null!==g.mergedAttrs&&Ku(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(s,o,i,t,n,r):o.data[s],E=CC(o,i,g,c,t,e);i[s]=E;const D=Yc(g);return Uo(g,!0),jy(c,E,g),!function Xa(e){return!(32&~e.flags)}(g)&&xl()&&Ru(o,i,E,g),0===function qD(){return yt.lFrame.elementDepthCount}()&&hi(E,i),function QD(){yt.lFrame.elementDepthCount++}(),D&&(ff(o,i,g),hf(o,g,i)),null!==r&&pf(i,g),ld}function cd(){let e=gn();sh()?ah():(e=e.parent,Uo(e,!1));const t=e;(function ZD(e){return yt.skipHydrationRootTNode===e})(t)&&function tM(){yt.skipHydrationRootTNode=null}(),function XD(){yt.lFrame.elementDepthCount--}();const n=Lt();return n.firstCreatePass&&(iu(n,e),Xd(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function gM(e){return!!(8&e.flags)}(t)&&gp(n,t,me(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function mM(e){return!!(16&e.flags)}(t)&&gp(n,t,me(),t.stylesWithoutHost,!1),cd}function wp(e,t,n,r){return ld(e,t,n,r),cd(),wp}let CC=(e,t,n,r,i,o)=>(is(!0),xu(r,i,function Qg(){return yt.lFrame.currentNamespace}()));function ud(e,t,n){const r=me(),i=Lt(),o=e+Ze,s=i.firstCreatePass?function xO(e,t,n,r,i){const o=t.consts,s=wo(o,r),c=sa(t,e,8,"ng-container",s);return null!==s&&Ku(c,s,!0),mf(t,n,c,wo(o,i)),null!==t.queries&&t.queries.elementStart(t,c),c}(o,i,r,t,n):i.data[o];Uo(s,!0);const c=wC(i,r,s,e);return r[o]=c,xl()&&Ru(i,r,c,s),hi(c,r),Yc(s)&&(ff(i,r,s),hf(i,s,r)),null!=n&&pf(r,s),ud}function dd(){let e=gn();const t=Lt();return sh()?ah():(e=e.parent,Uo(e,!1)),t.firstCreatePass&&(iu(t,e),Xd(e)&&t.queries.elementEnd(e)),dd}function Ep(e,t,n){return ud(e,t,n),dd(),Ep}let wC=(e,t,n,r)=>(is(!0),tf(t[mt],""));function EC(){return me()}function Dp(e,t,n){const r=me();return or(r,jo(),t)&&Ui(Lt(),Pn(),r,e,t,r[mt],n,!0),Dp}const pa=void 0;var kO=["en",[["a","p"],["AM","PM"],pa],[["AM","PM"],pa,pa],[["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"]],pa,[["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"]],pa,[["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}",pa,"{1} 'at' {0}",pa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FO(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let pl={};function Mp(e){const t=function LO(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=bC(t);if(n)return n;const r=t.split("-")[0];if(n=bC(r),n)return n;if("en"===r)return kO;throw new Fe(701,!1)}function MC(e){return Mp(e)[gl.PluralCase]}function bC(e){return e in pl||(pl[e]=Mn.ng&&Mn.ng.common&&Mn.ng.common.locales&&Mn.ng.common.locales[e]),pl[e]}var gl=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}(gl||{});const hd="en-US";let SC=hd,zC=(e,t,n)=>{};function Tp(e,t,n,r){const i=me(),o=Lt(),s=gn();return Ip(o,i,i[mt],s,e,t,r),Tp}function Ip(e,t,n,r,i,o,s){const c=Yc(r),E=e.firstCreatePass&&tv(e),D=t[On],N=ev(t);let B=!0;if(3&r.type||s){const _e=Ei(r,t),xe=s?s(_e):_e,Le=N.length,Ce=s?Kt=>s(en(Kt[r.index])):r.index;let St=null;if(!s&&c&&(St=function bP(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[Ia],g=i[o+2];return c.length>g?c[g]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==St)(St.__ngLastListenerFn__||St).__ngNextListenerFn__=o,St.__ngLastListenerFn__=o,B=!1;else{o=qC(r,t,D,o),zC(_e,i,o);const Kt=n.listen(xe,i,o);N.push(o,Kt),E&&E.push(i,Ce,Le,Le+1)}}else o=qC(r,t,D,o);const G=r.outputs;let J;if(B&&null!==G&&(J=G[i])){const _e=J.length;if(_e)for(let xe=0;xe<_e;xe+=2){const vn=t[J[xe]][J[xe+1]].subscribe(o),lr=N.length;N.push(o,vn),E&&E.push(i,r.index,lr,-(lr+1))}}}function KC(e,t,n,r){const i=Z(null);try{return rs(6,t,n),!1!==n(r)}catch(o){return Vu(e,o),!1}finally{rs(7,t,n),Z(i)}}function qC(e,t,n,r){return function i(o){if(o===Function)return r;Jl(e.componentOffset>-1?io(e.index,t):t,5);let c=KC(t,n,r,o),g=i.__ngNextListenerFn__;for(;g;)c=KC(t,n,g,o)&&c,g=g.__ngNextListenerFn__;return c}}function QC(e=1){return function sM(e){return(yt.lFrame.contextLView=function xg(e,t){for(;e>0;)t=t[Oa],e--;return t}(e,yt.lFrame.contextLView))[On]}(e)}function SP(e,t){let n=null;const r=function O(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):ne(r,o))return i}else n=i}return n}function XC(e){const t=me()[jn][Jr];if(!t.projection){const r=t.projection=function Ps(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?SP(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}}function ZC(e,t=0,n,r,i,o){const s=me(),c=Lt(),g=r?e+1:null;null!==g&&mc(s,c,g,r,i,o,null,n);const E=sa(c,Ze+e,16,null,n||null);null===E.projection&&(E.projection=t),ah();const N=!s[wi]||Ys();null===s[jn][Jr].projection[E.projection]&&null!==g?function TP(e,t,n){const r=Ze+n,i=t.data[r],o=e[r],s=ca(o,i.tView.ssrId);Wa(o,Ga(e,i,void 0,{dehydratedView:s}),0,aa(i,s))}(s,c,g):N&&32&~E.flags&&function Eb(e,t,n){Vy(t[mt],0,t,n,sf(e,n,t),xy(n.parent||t[Jr],n,t))}(c,s,E)}function Op(e,t,n){return md(e,"",t,"",n),Op}function md(e,t,n,r,i){const o=me(),s=ol(o,t,n,r);return s!==Ot&&Ui(Lt(),Pn(),o,e,s,o[mt],i,!1),md}function Pp(e,t,n,r,i,o,s){const c=me(),g=sl(c,t,n,r,i,o);return g!==Ot&&Ui(Lt(),Pn(),c,e,g,c[mt],s,!1),Pp}function ow(e,t,n,r){!function Qv(e,t,n,r){const i=Lt();if(i.firstCreatePass){const o=gn();Xv(i,new Gv(t,n,r),o.index),function xT(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 Kv(i,me(),n)}(e,t,n,r)}function sw(e,t,n){!function qv(e,t,n){const r=Lt();return r.firstCreatePass&&(Xv(r,new Gv(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),Kv(r,me(),t)}(e,t,n)}function aw(e){const t=me(),n=Lt(),r=uh();ru(r+1);const i=Wf(n,r);if(e.dirty&&function WD(e){return!(4&~e[it])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const o=Zv(t,r);e.reset(o,bm),e.notifyOnChanges()}return!0}return!1}function lw(){return function Gf(e,t){return e[ys].queries[t].queryList}(me(),uh())}function cw(e){return function Zs(e,t){return e[t]}(function Vg(){return yt.lFrame.contextLView}(),Ze+e)}function _w(e,t=""){const n=me(),r=Lt(),i=e+Ze,o=r.firstCreatePass?sa(r,i,1,t,null):r.data[i],s=Cw(r,n,o,t,e);n[i]=s,xl()&&Ru(r,n,s,o),Uo(o,!1)}let Cw=(e,t,n,r,i)=>(is(!0),function ef(e,t){return e.createText(t)}(t[mt],r));function xp(e){return yd("",e,""),xp}function yd(e,t,n){const r=me(),i=ol(r,e,t,n);return i!==Ot&&function Ds(e,t,n){const r=Ol(t,e);!function Sy(e,t,n){e.setValue(t,n)}(e[mt],r,n)}(r,ei(),i),yd}function Np(e,t,n){n_(t)&&(t=t());const r=me();return or(r,jo(),t)&&Ui(Lt(),Pn(),r,e,t,r[mt],n,!1),Np}function Ow(e,t){const n=n_(e);return n&&e.set(t),n}function Rp(e,t){const n=me(),r=Lt(),i=gn();return Ip(r,n,n[mt],i,e,t),Rp}function Fp(e,t,n,r,i){if(e=Je(e),Array.isArray(e))for(let o=0;o<e.length;o++)Fp(e[o],t,n,r,i);else{const o=Lt(),s=me(),c=gn();let g=qs(e)?e:Je(e.provide);const E=gg(e),D=1048575&c.providerIndexes,N=c.directiveStart,B=c.providerIndexes>>20;if(qs(e)||!e.multi){const G=new Nl(E,i,za),J=Lp(g,t,i?D:D+B,N);-1===J?(_h(lu(c,s),o,g),kp(o,e,t.length),t.push(g),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(G),s.push(G)):(n[J]=G,s[J]=G)}else{const G=Lp(g,t,D+B,N),J=Lp(g,t,D,D+B),xe=J>=0&&n[J];if(i&&!xe||!i&&!(G>=0&&n[G])){_h(lu(c,s),o,g);const Le=function KP(e,t,n,r,i){const o=new Nl(e,n,za);return o.multi=[],o.index=t,o.componentProviders=0,xw(o,i,r&&!n),o}(i?WP:GP,n.length,i,r,E);!i&&xe&&(n[J].providerFactory=Le),kp(o,e,t.length,0),t.push(g),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(Le),s.push(Le)}else kp(o,e,G>-1?G:J,xw(n[i?J:G],E,!i&&r));!i&&r&&xe&&n[J].componentProviders++}}}function kp(e,t,n,r){const i=qs(t),o=function wD(e){return!!e.useClass}(t);if(i||o){const g=(o?Je(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 xw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Lp(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function GP(e,t,n,r){return Vp(this.multi,[])}function WP(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,c=ta(n,n[Ae],this.providerFactory.index,r);o=c.slice(0,s),Vp(i,o);for(let g=s;g<c.length;g++)o.push(c[g])}else o=[],Vp(i,o);return o}function Vp(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Nw(e,t=[]){return n=>{n.providersResolver=(r,i)=>function zP(e,t,n){const r=Lt();if(r.firstCreatePass){const i=Vo(e);Fp(n,r.data,r.blueprint,i,!0),Fp(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let qP=(()=>{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=jd(0,n.type),i=r.length>0?Zf([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=ct({token:e,providedIn:"environment",factory:()=>new e(Mt(_o))})}}return e})();function Rw(e){Mi("NgStandalone"),e.getStandaloneInjector=t=>t.get(qP).getOrCreateStandaloneInjector(e)}function Lw(e,t,n){const r=Di()+e,i=me();return i[r]===Ot?ls(i,r,n?t.call(n):t()):function gc(e,t){return e[t]}(i,r)}function Vw(e,t,n,r){return function Bw(e,t,n,r,i,o){const s=t+n;return or(e,s,i)?ls(e,s+1,o?r.call(o,i):r(i)):Tc(e,s+1)}(me(),Di(),e,t,n,r)}function Uw(e,t,n,r,i){return function $w(e,t,n,r,i,o,s){const c=t+n;return da(e,c,i,o)?ls(e,c+2,s?r.call(s,i,o):r(i,o)):Tc(e,c+2)}(me(),Di(),e,t,n,r,i)}function jw(e,t,n,r,i,o){return function Hw(e,t,n,r,i,o,s,c){const g=t+n;return function Yu(e,t,n,r,i){const o=da(e,t,n,r);return or(e,t+2,i)||o}(e,g,i,o,s)?ls(e,g+3,c?r.call(c,i,o,s):r(i,o,s)):Tc(e,g+3)}(me(),Di(),e,t,n,r,i,o)}function Tc(e,t){const n=e[t];return n===Ot?void 0:n}function Ww(e,t){return ju(e,t)}class lE{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let cE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const pE=new ot(""),gE=new ot("");let zp,rx=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,zp||(function ix(e){zp=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)(Mt(Bn),Mt(mE),Mt(gE))}}static{this.\u0275prov=ct({token:e,factory:e.\u0275fac})}}return e})(),mE=(()=>{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 zp?.findTestabilityInTree(this,n,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function Gp(e){return!!e&&"function"==typeof e.then}function yE(e){return!!e&&"function"==typeof e.subscribe}const vE=new ot("");let _E=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=Te(vE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=i();if(Gp(o))n.push(o);else if(yE(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=ct({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Ed=new ot("");function wE(e,t){return Array.isArray(t)?t.reduce(wE,e):{...e,...t}}let ds=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Te(zM),this.afterRenderManager=Te(T_),this.zonelessEnabled=Te(cc),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=Te(na).hasPendingTasks.pipe((0,sn.T)(n=>!n)),this._injector=Te(_o)}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 Nv;if(!this._injector.get(_E).done)throw!i&&xs(n),new Fe(405,!1);let s;s=i?n:this._injector.get(uc).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const c=function ox(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ua),E=s.create(ti.NULL,[],r||s.selector,c),D=E.location.nativeElement,N=E.injector.get(pE,null);return N?.registerApplication(D),E.onDestroy(()=>{this.detachView(E.hostView),Dd(this.components,E),N?.unregisterApplication(D)}),this._loadComponent(E),E}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Fe(101,!1);const n=Z(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,Z(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Ff,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)lx(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})=>Jc(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Dd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Ed,[]);[...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),()=>Dd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Fe(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=ct({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Dd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function lx(e,t,n,r){(n||Jc(e))&&Uu(e,t,n&&!r?0:1)}class cx{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let ux=(()=>{class e{compileModuleSync(n){return new Xf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=oo(ui(n).declarations).reduce((s,c)=>{const g=Ut(c);return g&&s.push(new fc(g)),s},[]);return new cx(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=ct({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),fx=(()=>{class e{constructor(){this.zone=Te(Bn),this.changeDetectionScheduler=Te(qa),this.applicationRef=Te(ds)}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=ct({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Wp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Bn({...Kp(),scheduleInRootZone:n}),[{provide:Bn,useFactory:e},{provide:Li,multi:!0,useFactory:()=>{const r=Te(fx,{optional:!0});return()=>r.initialize()}},{provide:Li,multi:!0,useFactory:()=>{const r=Te(gx);return()=>{r.initialize()}}},!0===t?{provide:xv,useValue:!0}:[],{provide:Rf,useValue:n??vm}]}function Kp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let gx=(()=>{class e{constructor(){this.subscription=new ri.yU,this.initialized=!1,this.zone=Te(Bn),this.pendingTasks=Te(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=ct({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Ac=(()=>{class e{constructor(){this.appRef=Te(ds),this.taskService=Te(na),this.ngZone=Te(Bn),this.zonelessEnabled=Te(cc),this.disableScheduling=Te(xv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ri.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(pu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Te(Rf,{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 Sh||!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?Cm:_m;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(pu+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,Cm(()=>{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=ct({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Qp=new ot("",{providedIn:"root",factory:()=>Te(Qp,kt.Optional|kt.SkipSelf)||function mx(){return typeof $localize<"u"&&$localize.locale||hd}()}),yx=new ot("",{providedIn:"root",factory:()=>"USD"}),Xp=new ot("");function bd(e){return!!e.platformInjector}let IE=(()=>{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=[Wp({ngZoneFactory:()=>function HM(e="zone.js",t){return"noop"===e?new Sh:"zone.js"===e?new Bn(t):e}(r?.ngZone,{...Kp({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:s}),{provide:qa,useExisting:Ac}],g=function JT(e,t,n){return new Qf(e,t,n,!1)}(n.moduleType,this.injector,c);return function TE(e){const t=bd(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Bn);return n.run(()=>{bd(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(ws,null);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),bd(e)){const o=()=>t.destroy(),s=e.platformInjector.get(Xp);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else e.moduleRef.onDestroy(()=>{Dd(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return function ax(e,t,n){try{const r=n();return Gp(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(_E);return o.runInitializers(),o.donePromise.then(()=>{if(function BO(e){"string"==typeof e&&(SC=e.toLowerCase().replace(/_/g,"-"))}(t.get(Qp,hd)||hd),bd(e)){const c=t.get(ds);return void 0!==e.rootComponent&&c.bootstrap(e.rootComponent),c}return function Ex(e,t){const n=e.injector.get(ds);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new Fe(-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=wE({},r);return function hx(e,t,n){const r=new Xf(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 Fe(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Xp,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)(Mt(ti))}}static{this.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),js=null;const OE=new ot("");function PE(e,t,n=[]){const r=`Platform: ${t}`,i=new ot(r);return(o=[])=>{let s=Zp();if(!s||s.injector.get(OE,!1)){const c=[...n,...o,{provide:i,useValue:!0}];e?e(c):function Dx(e){if(js&&!js.get(OE,!1))throw new Fe(400,!1);(function CE(){!function Gt(e){je=e}(()=>{throw new Fe(600,!1)})})(),js=e;const t=e.get(IE);(function xE(e){e.get(Gm,null)?.forEach(n=>n())})(e)}(function AE(e=[],t){return ti.create({name:t,providers:[{provide:Hd,useValue:"platform"},{provide:Xp,useValue:new Set([()=>js=null])},...e]})}(c,r))}return function Mx(){const t=Zp();if(!t)throw new Fe(401,!1);return t}()}}function Zp(){return js?.get(IE)??null}function Sx(){return!1}function Tx(){}let RE=(()=>{class e{static{this.__NG_ELEMENT_ID__=Ix}}return e})();function Ix(e){return function Ox(e,t,n){if(Xs(e)&&!n){const r=io(e.index,t);return new ec(r,r)}return 175&e.type?new ec(t[jn],t):null}(gn(),me(),!(16&~e))}class VE{constructor(){}supports(t){return Zu(t)}create(t){return new Rx(t)}}const Nx=(e,t)=>t;class Rx{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||Nx}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<jE(r,i,o)?n:r,c=jE(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,J=G+B;D<=J&&J<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=[]),!Zu(t))throw new Fe(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 nI(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 Fx(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 UE),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 UE),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 Fx{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 kx{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 UE{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new kx,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 jE(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 BE{constructor(){}supports(t){return t instanceof Map||Yf(t)}create(){return new Lx}}class Lx{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||Yf(t)))throw new Fe(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 Vx(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 Vx{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 $E(){return new ng([new VE])}let ng=(()=>{class e{static{this.\u0275prov=ct({token:e,providedIn:"root",factory:$E})}constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||$E()),deps:[[e,new ki,new yi]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Fe(901,!1)}}return e})();function HE(){return new rg([new BE])}let rg=(()=>{class e{static{this.\u0275prov=ct({token:e,providedIn:"root",factory:HE})}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||HE()),deps:[[e,new ki,new yi]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Fe(901,!1)}}return e})();const Bx=PE(null,"core",[]);let $x=(()=>{class e{constructor(n){}static{this.\u0275fac=function(r){return new(r||e)(Mt(ds))}}static{this.\u0275mod=Ci({type:e})}static{this.\u0275inj=yn({})}}return e})();const oD=new ot("");function _N(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function wN(e,t){Mi("NgSignals");const n=function Ye(e){const t=Object.create(pe);t.computation=e;const n=()=>{if(Ne(t),ue(t),t.value===X)throw t.error;return t.value};return n[W]=t,n}(e);return t?.equal&&(n[W].equal=t.equal),n}function EN(e){const t=Z(null);try{return e()}finally{Z(t)}}function IN(e){const t=Ut(e);if(!t)return null;const n=new fc(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:()=>qn,YN:()=>f,kq:()=>fe,me:()=>ke,vS:()=>Mo});var a=F(3953),x=F(177),k=F(6648),H=F(7468),W=F(1413),Z=F(6354);let he=(()=>{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 he{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 fe=new a.nKC(""),be={provide:fe,useExisting:(0,a.Rfq)(()=>ke),multi:!0},Re=new a.nKC("");let ke=(()=>{class l extends he{constructor(u,w,S){super(u,w),this._compositionMode=S,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Ne(){const l=(0,x.QT)()?(0,x.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(Re,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(te){return S._handleInput(te.target.value)})("blur",function(){return S.onTouched()})("compositionstart",function(){return S._compositionStart()})("compositionend",function(te){return S._compositionEnd(te.target.value)})},features:[a.Jv_([be]),a.Vt3]})}}return l})();const Ke=new a.nKC(""),Ge=new a.nKC("");function pe(l){return null!=l}function Me(l){return(0,a.jNT)(l)?(0,k.H)(l):l}function je(l){let d={};return l.forEach(u=>{d=null!=u?{...d,...u}:d}),0===Object.keys(d).length?null:d}function tt(l,d){return d.map(u=>u(l))}function mn(l){return l.map(d=>function Gt(l){return!l.validate}(d)?d:u=>d.validate(u))}function An(l){return null!=l?function et(l){if(!l)return null;const d=l.filter(pe);return 0==d.length?null:function(u){return je(tt(u,d))}}(mn(l)):null}function un(l){return null!=l?function Or(l){if(!l)return null;const d=l.filter(pe);return 0==d.length?null:function(u){const w=tt(u,d).map(Me);return(0,H.p)(w).pipe((0,Z.T)(je))}}(mn(l)):null}function dn(l,d){return null===l?[d]:Array.isArray(l)?[...l,d]:[l,d]}function cr(l){return l?Array.isArray(l)?l:[l]:[]}function ur(l,d){return Array.isArray(l)?l.includes(d):l===d}function nr(l,d){const u=cr(d);return cr(l).forEach(S=>{ur(u,S)||u.push(S)}),u}function $t(l,d){return cr(d).filter(u=>!ur(l,u))}class ni{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=An(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 nn extends ni{get formDirective(){return null}get path(){return null}}class _n extends ni{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ri{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 qn=(()=>{class l extends ri{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})();const Qn="VALID",Xn="INVALID",Pr="PENDING",Ar="DISABLED";class Dn{}class hn extends Dn{constructor(d,u){super(),this.value=d,this.source=u}}class le extends Dn{constructor(d,u){super(),this.pristine=d,this.source=u}}class oe extends Dn{constructor(d,u){super(),this.touched=d,this.source=u}}class j extends Dn{constructor(d,u){super(),this.status=d,this.source=u}}function Wt(l){return null!=l&&!Array.isArray(l)&&"object"==typeof l}class si{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===Qn}get invalid(){return this.status===Xn}get pending(){return this.status==Pr}get disabled(){return this.status===Ar}get enabled(){return this.status!==Ar}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($t(d,this._rawValidators))}removeAsyncValidators(d){this.setAsyncValidators($t(d,this._rawAsyncValidators))}hasValidator(d){return ur(this._rawValidators,d)}hasAsyncValidator(d){return ur(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 oe(!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 oe(!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 le(!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 le(!0,w))}markAsPending(d={}){this.status=Pr;const u=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new j(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=Ar,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 hn(this.value,w)),this._events.next(new j(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=Qn,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===Qn||this.status===Pr)&&this._runAsyncValidator(w,d.emitEvent)}const u=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new hn(this.value,u)),this._events.next(new j(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()?Ar:Qn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(d,u){if(this.asyncValidator){this.status=Pr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==u};const w=Me(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 j(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()?Ar:this.errors?Xn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Pr)?Pr:this._anyControlsHaveStatus(Xn)?Xn:Qn}_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 le(this.pristine,u))}_updateTouched(d={},u){this.touched=this._anyControlsTouched(),this._events.next(new oe(this.touched,u)),this._parent&&!d.onlySelf&&this._parent._updateTouched(d,u)}_registerOnCollectionChange(d){this._onCollectionChange=d}_setUpdateStrategy(d){Wt(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 lt(l){return Array.isArray(l)?An(l):l||null}(this._rawValidators)}_assignAsyncValidators(d){this._rawAsyncValidators=Array.isArray(d)?d.slice():d,this._composedAsyncValidatorFn=function an(l){return Array.isArray(l)?un(l):l||null}(this._rawAsyncValidators)}}const Jt=new a.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>zr}),zr="always";function vr(l,d,u=zr){(function Zn(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 xn(l){return l._rawAsyncValidators}(l);null!==d.asyncValidator?l.setAsyncValidators(dn(w,d.asyncValidator)):"function"==typeof w&&l.setAsyncValidators([w]);const S=()=>l.updateValueAndValidity();Gn(d._rawValidators,S),Gn(d._rawAsyncValidators,S)})(l,d),d.valueAccessor.writeValue(l.value),(l.disabled||"always"===u)&&d.valueAccessor.setDisabledState?.(l.disabled),function zi(l,d){d.valueAccessor.registerOnChange(u=>{l._pendingValue=u,l._pendingChange=!0,l._pendingDirty=!0,"change"===l.updateOn&&Fr(l,d)})}(l,d),function pt(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 Gi(l,d){d.valueAccessor.registerOnTouched(()=>{l._pendingTouched=!0,"blur"===l.updateOn&&l._pendingChange&&Fr(l,d),"submit"!==l.updateOn&&l.markAsTouched()})}(l,d),function Rr(l,d){if(d.valueAccessor.setDisabledState){const u=w=>{d.valueAccessor.setDisabledState(w)};l.registerOnDisabledChange(u),d._registerOnDestroy(()=>{l._unregisterOnDisabledChange(u)})}}(l,d)}function Gn(l,d){l.forEach(u=>{u.registerOnValidatorChange&&u.registerOnValidatorChange(d)})}function Fr(l,d){l._pendingDirty&&l.markAsDirty(),l.setValue(l._pendingValue,{emitModelToViewChange:!1}),d.viewToModelUpdate(l._pendingValue),l._pendingChange=!1}function R(l,d){const u=l.indexOf(d);u>-1&&l.splice(u,1)}function Ee(l){return"object"==typeof l&&null!==l&&2===Object.keys(l).length&&"value"in l&&"disabled"in l}Promise.resolve();const I=class extends si{constructor(d=null,u,w){super(function Ue(l){return(Wt(l)?l.validators:l)||null}(u),function It(l,d){return(Wt(d)?d.asyncValidators:l)||null}(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}),Wt(u)&&(u.nonNullable||u.initialValueIsDefault)&&(this.defaultValue=Ee(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){R(this._onChange,d)}registerOnDisabledChange(d){this._onDisabledChange.push(d)}_unregisterOnDisabledChange(d){R(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){Ee(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}},Ki={provide:_n,useExisting:(0,a.Rfq)(()=>Mo)},Do=Promise.resolve();let Mo=(()=>{class l extends _n{constructor(u,w,S,K,te,Oe){super(),this._changeDetectorRef=te,this.callSetDisabledState=Oe,this.control=new I,this._registered=!1,this.name="",this.update=new a.bkB,this._parent=u,this._setValidators(w),this._setAsyncValidators(S),this.valueAccessor=function Ie(l,d){if(!d)return null;let u,w,S;return Array.isArray(d),d.forEach(K=>{K.constructor===ke?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 se(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(){vr(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){Do.then(()=>{this.control.setValue(u,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(u){const w=u.isDisabled.currentValue,S=0!==w&&(0,a.L39)(w);Do.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(nn,9),a.rXU(Ke,10),a.rXU(Ge,10),a.rXU(fe,10),a.rXU(a.gRc,8),a.rXU(Jt,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_([Ki]),a.Vt3,a.OA$]})}}return l})(),Is=(()=>{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:Jt,useValue:u.callSetDisabledState??zr}]}}static{this.\u0275fac=function(w){return new(w||l)}}static{this.\u0275mod=a.$C({type:l})}static{this.\u0275inj=a.G2t({imports:[Is]})}}return l})()},728:(ye,q,F)=>{"use strict";F.d(q,{wb:()=>mi});var a=F(3953),x=F(345),k=F(9969);function W(P){return new a.wOt(3e3,!1)}function $n(P){switch(P.length){case 0:return new k.sf;case 1:return P[0];default:return new k.ui(P)}}function xn(P,f,y=new Map,l=new Map){const d=[],u=[];let w=-1,S=null;if(f.forEach(K=>{const te=K.get("offset"),Oe=te==w,ge=Oe&&S||new Map;K.forEach((xt,Dt)=>{let nt=Dt,ut=xt;if("offset"!==Dt)switch(nt=P.normalizePropertyName(nt,d),ut){case k.FX:ut=y.get(Dt);break;case k.kp:ut=l.get(Dt);break;default:ut=P.normalizeStyleValue(Dt,nt,ut,d)}ge.set(nt,ut)}),Oe||u.push(ge),S=ge,w=te}),d.length)throw function ee(){return new a.wOt(3502,!1)}();return u}function cr(P,f,y,l){switch(f){case"start":P.onStart(()=>l(y&&ur(y,"start",P)));break;case"done":P.onDone(()=>l(y&&ur(y,"done",P)));break;case"destroy":P.onDestroy(()=>l(y&&ur(y,"destroy",P)))}}function ur(P,f,y){const u=nr(P.element,P.triggerName,P.fromState,P.toState,f||P.phaseName,y.totalTime??P.totalTime,!!y.disabled),w=P._data;return null!=w&&(u._data=w),u}function nr(P,f,y,l,d="",u=0,w){return{element:P,triggerName:f,fromState:y,toState:l,phaseName:d,totalTime:u,disabled:!!w}}function $t(P,f,y){let l=P.get(f);return l||P.set(f,l=y),l}function ni(P){const f=P.indexOf(":");return[P.substring(1,f),P.slice(f+1)]}const nn=typeof document>"u"?null:document.documentElement;function _n(P){const f=P.parentNode||P.host||null;return f===nn?null:f}let sn=null,yr=!1;function Nn(P,f){for(;f;){if(f===P)return!0;f=_n(f)}return!1}function _t(P,f,y){if(y)return Array.from(P.querySelectorAll(f));const l=P.querySelector(f);return l?[l]:[]}let Hn=(()=>{class P{validateStyleProperty(y){return function qn(P){sn||(sn=function dr(){return typeof document<"u"?document.body:null}()||{},yr=!!sn.style&&"WebkitAppearance"in sn.style);let f=!0;return sn.style&&!function ri(P){return"ebkit"==P.substring(1,6)}(P)&&(f=P in sn.style,!f&&yr&&(f="Webkit"+P.charAt(0).toUpperCase()+P.slice(1)in sn.style)),f}(y)}containsElement(y,l){return Nn(y,l)}getParentElement(y){return _n(y)}query(y,l,d){return _t(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||P)}}static{this.\u0275prov=a.jDH({token:P,factory:P.\u0275fac})}}return P})();class ft{static{this.NOOP=new Hn}}class Pe{}const Rn=1e3,rn="ng-enter",Br="ng-leave",Tt="ng-trigger",oi=".ng-trigger",Ct="ng-animating",Rt=".ng-animating";function Fn(P){if("number"==typeof P)return P;const f=P.match(/^(-?[\.\d]+)(m?s)/);return!f||f.length<2?0:Qn(parseFloat(f[1]),f[2])}function Qn(P,f){return"s"===f?P*Rn:P}function Xn(P,f,y){return P.hasOwnProperty("duration")?P:function Pr(P,f,y){let d,u=0,w="";if("string"==typeof P){const S=P.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=Qn(parseFloat(S[1]),S[2]);const K=S[3];null!=K&&(u=Qn(parseFloat(K),S[4]));const te=S[5];te&&(w=te)}else d=P;if(!y){let S=!1,K=f.length;d<0&&(f.push(function Z(){return new a.wOt(3100,!1)}()),S=!0),u<0&&(f.push(function he(){return new a.wOt(3101,!1)}()),S=!0),S&&f.splice(K,0,W())}return{duration:d,delay:u,easing:w}}(P,f,y)}function hn(P,f,y){f.forEach((l,d)=>{const u=It(d);y&&!y.has(d)&&y.set(d,P.style[u]),P.style[u]=l})}function le(P,f){f.forEach((y,l)=>{const d=It(l);P.style[d]=""})}function oe(P){return Array.isArray(P)?1==P.length?P[0]:(0,k.K2)(P):P}const Q=new RegExp("{{\\s*(.+?)\\s*}}","g");function ve(P){let f=[];if("string"==typeof P){let y;for(;y=Q.exec(P);)f.push(y[1]);Q.lastIndex=0}return f}function Ue(P,f,y){const l=`${P}`,d=l.replace(Q,(u,w)=>{let S=f[w];return null==S&&(y.push(function fe(){return new a.wOt(3003,!1)}()),S=""),S.toString()});return d==l?P:d}const lt=/-+([a-z0-9])/g;function It(P){return P.replace(lt,(...f)=>f[1].toUpperCase())}function Ht(P,f,y){switch(f.type){case k.If.Trigger:return P.visitTrigger(f,y);case k.If.State:return P.visitState(f,y);case k.If.Transition:return P.visitTransition(f,y);case k.If.Sequence:return P.visitSequence(f,y);case k.If.Group:return P.visitGroup(f,y);case k.If.Animate:return P.visitAnimate(f,y);case k.If.Keyframes:return P.visitKeyframes(f,y);case k.If.Style:return P.visitStyle(f,y);case k.If.Reference:return P.visitReference(f,y);case k.If.AnimateChild:return P.visitAnimateChild(f,y);case k.If.AnimateRef:return P.visitAnimateRef(f,y);case k.If.Query:return P.visitQuery(f,y);case k.If.Stagger:return P.visitStagger(f,y);default:throw function Y(){return new a.wOt(3004,!1)}()}}function si(P,f){return window.getComputedStyle(P)[f]}const $r=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 xr extends Pe{normalizePropertyName(f,y){return It(f)}normalizeStyleValue(f,y,l,d){let u="";const w=l.toString().trim();if($r.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 Rr=new Set(["true","1"]),Zn=new Set(["false","0"]);function Gr(P,f){const y=Rr.has(P)||Zn.has(P),l=Rr.has(f)||Zn.has(f);return(d,u)=>{let w=P==zn||P==d,S=f==zn||f==u;return!w&&y&&"boolean"==typeof d&&(w=d?Rr.has(P):Zn.has(P)),!S&&l&&"boolean"==typeof u&&(S=u?Rr.has(f):Zn.has(f)),w&&S}}const Gi=new RegExp("s*:selfs*,?","g");function Fr(P,f,y,l){return new fn(P).build(f,y,l)}class fn{constructor(f){this._driver=f}build(f,y,l){const d=new kn(y);return this._resetContextStyleTimingState(d),Ht(this,oe(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 be(){return new a.wOt(3006,!1)}()),f.definitions.forEach(S=>{if(this._resetContextStyleTimingState(y),S.type==k.If.State){const K=S,te=K.name;te.toString().split(/\s*,\s*/).forEach(Oe=>{K.name=Oe,u.push(this.visitState(K,y))}),K.name=te}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 Ne(){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=>{ve(K).forEach(te=>{w.hasOwnProperty(te)||u.add(te)})})}),u.size&&y.errors.push(function Re(){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=Ht(this,oe(f.animation),y),d=function vr(P,f){const y=[];return"string"==typeof P?P.split(/\s*,\s*/).forEach(l=>function Nr(P,f,y){if(":"==P[0]){const K=function Gn(P,f){switch(P){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 rt(){return new a.wOt(3016,!1)}()),"* => *"}}(P,y);if("function"==typeof K)return void f.push(K);P=K}const l=P.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return y.push(function zt(){return new a.wOt(3015,!1)}()),f;const d=l[1],u=l[2],w=l[3];f.push(Gr(d,w)),"<"==u[0]&&(d!=zn||w!=zn)&&f.push(Gr(w,d))}(l,y,f)):y.push(P),y}(f.expr,y.errors);return{type:k.If.Transition,matchers:d,animation:l,queryCount:y.queryCount,depCount:y.depCount,options:U(f.options)}}visitSequence(f,y){return{type:k.If.Sequence,steps:f.steps.map(l=>Ht(this,l,y)),options:U(f.options)}}visitGroup(f,y){const l=y.currentTime;let d=0;const u=f.steps.map(w=>{y.currentTime=l;const S=Ht(this,w,y);return d=Math.max(d,y.currentTime),S});return y.currentTime=d,{type:k.If.Group,steps:u,options:U(f.options)}}visitAnimate(f,y){const l=function $(P,f){if(P.hasOwnProperty("duration"))return P;if("number"==typeof P)return se(Xn(P,f).duration,0,"");const y=P;if(y.split(/\s+/).some(u=>"{"==u.charAt(0)&&"{"==u.charAt(1))){const u=se(0,0,"");return u.dynamic=!0,u.strValue=y,u}const d=Xn(y,f);return se(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 te={};l.easing&&(te.easing=l.easing),w=(0,k.iF)(te)}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 te=y.collectedStyles.get(y.currentQuerySelector),Oe=te.get(K);let ge=!0;Oe&&(u!=d&&u>=Oe.startTime&&d<=Oe.endTime&&(y.errors.push(function ze(){return new a.wOt(3010,!1)}()),ge=!1),u=Oe.startTime),ge&&te.set(K,{startTime:u,endTime:d}),y.options&&function j(P,f,y){const l=f.params||{},d=ve(P);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 Ke(){return new a.wOt(3011,!1)}()),l;let u=0;const w=[];let S=!1,K=!1,te=0;const Oe=f.steps.map(ct=>{const bn=this._makeStyleAst(ct,y);let yn=null!=bn.offset?bn.offset:function A(P){if("string"==typeof P)return null;let f=null;if(Array.isArray(P))P.forEach(y=>{if(y instanceof Map&&y.has("offset")){const l=y;f=parseFloat(l.get("offset")),l.delete("offset")}});else if(P instanceof Map&&P.has("offset")){const y=P;f=parseFloat(y.get("offset")),y.delete("offset")}return f}(bn.styles),Sn=0;return null!=yn&&(u++,Sn=bn.offset=yn),K=K||Sn<0||Sn>1,S=S||Sn<te,te=Sn,w.push(Sn),bn});K&&y.errors.push(function Ge(){return new a.wOt(3012,!1)}()),S&&y.errors.push(function Pt(){return new a.wOt(3200,!1)}());const ge=f.steps.length;let xt=0;u>0&&u<ge?y.errors.push(function At(){return new a.wOt(3202,!1)}()):0==u&&(xt=1/(ge-1));const Dt=ge-1,nt=y.currentTime,ut=y.currentAnimateTimings,on=ut.duration;return Oe.forEach((ct,bn)=>{const yn=xt>0?bn==Dt?1:xt*bn:w[bn],Sn=yn*on;y.currentTime=nt+ut.delay+Sn,ut.duration=Sn,this._validateStyleAst(ct,y),ct.offset=yn,l.styles.push(ct)}),l}visitReference(f,y){return{type:k.If.Reference,animation:Ht(this,oe(f.animation),y),options:U(f.options)}}visitAnimateChild(f,y){return y.depCount++,{type:k.If.AnimateChild,options:U(f.options)}}visitAnimateRef(f,y){return{type:k.If.AnimateRef,animation:this.visitReference(f.animation,y),options:U(f.options)}}visitQuery(f,y){const l=y.currentQuerySelector,d=f.options||{};y.queryCount++,y.currentQuery=f;const[u,w]=function Wr(P){const f=!!P.split(/\s*,\s*/).find(y=>":self"==y);return f&&(P=P.replace(Gi,"")),P=P.replace(/@\*/g,oi).replace(/@\w+/g,y=>oi+"-"+y.slice(1)).replace(/:animating/g,Rt),[P,f]}(f.selector);y.currentQuerySelector=l.length?l+" "+u:u,$t(y.collectedStyles,y.currentQuerySelector,new Map);const S=Ht(this,oe(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:U(f.options)}}visitStagger(f,y){y.currentQuery||y.errors.push(function at(){return new a.wOt(3013,!1)}());const l="full"===f.timings?{duration:0,delay:0,easing:"full"}:Xn(f.timings,y.errors,!0);return{type:k.If.Stagger,animation:Ht(this,oe(f.animation),y),timings:l,options:null}}}class kn{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 U(P){return P?(P={...P}).params&&(P.params=function Yn(P){return P?{...P}:null}(P.params)):P={},P}function se(P,f,y){return{duration:P,delay:f,easing:y}}function we(P,f,y,l,d,u,w=null,S=!1){return{type:1,element:P,keyframes:f,preStyleProps:y,postStyleProps:l,duration:d,delay:u,totalTime:d+u,easing:w,subTimeline:S}}class Se{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 He=new RegExp(":enter","g"),Qt=new RegExp(":leave","g");function Xt(P,f,y,l,d,u=new Map,w=new Map,S,K,te=[]){return(new R).buildKeyframes(P,f,y,l,d,u,w,S,K,te)}class R{buildKeyframes(f,y,l,d,u,w,S,K,te,Oe=[]){te=te||new Se;const ge=new I(f,y,te,d,u,Oe,[]);ge.options=K;const xt=K.delay?Fn(K.delay):0;ge.currentTimeline.delayNextStep(xt),ge.currentTimeline.setStyles([w],null,ge.errors,K),Ht(this,l,ge);const Dt=ge.timelines.filter(nt=>nt.containsAnimation());if(Dt.length&&S.size){let nt;for(let ut=Dt.length-1;ut>=0;ut--){const on=Dt[ut];if(on.element===y){nt=on;break}}nt&&!nt.allowOnlyTimelineStyles()&&nt.setStyles([S],null,ge.errors,K)}return Dt.length?Dt.map(nt=>nt.buildKeyframes()):[we(y,[],[],[],0,xt,"",!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:Fn(Ue(u,d?.params??{},y.errors));l.delayNextStep(w)}}}_visitSubInstructions(f,y,l){let u=y.currentTimeline.currentTime;const w=null!=l.duration?Fn(l.duration):null,S=null!=l.delay?Fn(l.delay):null;return 0!==w&&f.forEach(K=>{const te=y.appendInstructionToTimeline(K,w,S);u=Math.max(u,te.duration+te.delay)}),u}visitReference(f,y){y.updateOptions(f.options,!0),Ht(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=Ee);const w=Fn(u.delay);d.delayNextStep(w)}f.steps.length&&(f.steps.forEach(w=>Ht(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?Fn(f.options.delay):0;f.steps.forEach(w=>{const S=y.createSubContext(f.options);u&&S.delayNextStep(u),Ht(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 Xn(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?Fn(d.delay):0;u&&(y.previousNode.type===k.If.Style||0==l&&y.currentTimeline.hasCurrentStyleProperties())&&(y.currentTimeline.snapshotCurrentStyles(),y.previousNode=Ee);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((te,Oe)=>{y.currentQueryIndex=Oe;const ge=y.createSubContext(f.options,te);u&&ge.delayNextStep(u),te===y.element&&(K=ge.currentTimeline),Ht(this,f.animation,ge),ge.currentTimeline.applyStylesToKeyframe(),w=Math.max(w,ge.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 Oe=y.currentTimeline;K&&Oe.delayNextStep(K);const ge=Oe.currentTime;Ht(this,f.animation,y),y.previousNode=f,l.currentStaggerTime=d.currentTime-ge+(d.startTime-l.currentTimeline.startTime)}}const Ee={};class I{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=Ee,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=K||new z(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=Fn(l.duration)),null!=l.delay&&(d.delay=Fn(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 I(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=Ee,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 de(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(He,"."+this._enterClassName)).replace(Qt,"."+this._leaveClassName);let te=this._driver.query(this.element,f,1!=l);0!==l&&(te=l<0?te.slice(te.length+l,te.length):te.slice(0,l)),S.push(...te)}return!u&&0==S.length&&w.push(function Et(){return new a.wOt(3014,!1)}()),S}}class z{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 z(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 gt(P,f){const y=new Map;let l;return P.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 te=Ue(K,u,l);this._pendingStyles.set(S,te),this._localTimelineStyles.has(S)||this._backFill.set(S,this._globalTimelineStyles.get(S)??k.kp),this._updateStyle(S,te)}}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 te=new Map([...this._backFill,...S]);te.forEach((Oe,ge)=>{Oe===k.FX?f.add(ge):Oe===k.kp&&y.add(ge)}),l||te.set("offset",K/this.duration),d.push(te)});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 de extends z{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 te=new Map(f[0]);te.set("offset",We(S)),u.push(te);const Oe=f.length-1;for(let ge=1;ge<=Oe;ge++){let xt=new Map(f[ge]);const Dt=xt.get("offset");xt.set("offset",We((y+Dt*l)/w)),u.push(xt)}l=w,y=0,d="",f=u}return we(this.element,f,this.preStyleProps,this.postStyleProps,l,y,d,!0)}}function We(P,f=3){const y=Math.pow(10,f-1);return Math.round(P*y)/y}function wt(P,f,y,l,d,u,w,S,K,te,Oe,ge,xt){return{type:0,element:P,triggerName:f,isRemovalTransition:d,fromState:y,fromStyles:u,toState:l,toStyles:w,timelines:S,queriedElements:K,preStyleProps:te,postStyleProps:Oe,totalTime:ge,errors:xt}}const Jn={};class lo{constructor(f,y,l){this._triggerName=f,this.ast=y,this._stateStyles=l}match(f,y,l,d){return function Wi(P,f,y,l,d){return P.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,te,Oe){const ge=[],xt=this.ast.options&&this.ast.options.params||Jn,nt=this.buildStyles(l,S&&S.params||Jn,ge),ut=K&&K.params||Jn,on=this.buildStyles(d,ut,ge),ct=new Set,bn=new Map,yn=new Map,Sn="void"===d,Ao={params:Ki(ut,xt),delay:this.ast.options?.delay},Lr=Oe?[]:Xt(f,y,this.ast.animation,u,w,nt,on,Ao,te,ge);let er=0;return Lr.forEach(tr=>{er=Math.max(tr.duration+tr.delay,er)}),ge.length?wt(y,this._triggerName,l,d,Sn,nt,on,[],[],bn,yn,er,ge):(Lr.forEach(tr=>{const Vr=tr.element,eo=$t(bn,Vr,new Set);tr.preStyleProps.forEach(xi=>eo.add(xi));const xo=$t(yn,Vr,new Set);tr.postStyleProps.forEach(xi=>xo.add(xi)),Vr!==y&&ct.add(Vr)}),wt(y,this._triggerName,l,d,Sn,nt,on,Lr,[...ct.values()],bn,yn,er))}}function Ki(P,f){const y={...f};return Object.entries(P).forEach(([l,d])=>{null!=d&&(y[l]=d)}),y}class Do{constructor(f,y,l){this.styles=f,this.defaultParams=y,this.normalizer=l}buildStyles(f,y){const l=new Map,d=Ki(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 Ms{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 Do(d.style,d.options&&d.options.params||{},l))}),Ho(this.states,"true","1"),Ho(this.states,"false","0"),y.transitions.forEach(d=>{this.transitionFactories.push(new lo(f,d,this.states))}),this.fallbackTransition=function _r(P,f){return new lo(P,{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 Ho(P,f,y){P.has(f)?P.has(y)||P.set(y,P.get(f)):P.has(y)&&P.set(f,P.get(y))}const Si=new Se;class bs{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=Fr(this._driver,y,l,[]);if(l.length)throw function X(){return new a.wOt(3503,!1)}();this._animations.set(f,u)}_buildPlayer(f,y,l){const d=f.element,u=xn(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=Xt(this._driver,y,u,rn,Br,new Map,new Map,l,Si,d),w.forEach(Oe=>{const ge=$t(S,Oe.element,new Map);Oe.postStyleProps.forEach(xt=>ge.set(xt,null))})):(d.push(function pe(){return new a.wOt(3300,!1)}()),w=[]),d.length)throw function Me(){return new a.wOt(3504,!1)}();S.forEach((Oe,ge)=>{Oe.forEach((xt,Dt)=>{Oe.set(Dt,this._driver.computeStyle(ge,Dt,k.kp))})});const te=$n(w.map(Oe=>{const ge=S.get(Oe.element);return this._buildPlayer(Oe,new Map,ge)}));return this._playersById.set(f,te),te.onDestroy(()=>this.destroy(f)),this.players.push(te),te}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 je(){return new a.wOt(3301,!1)}();return y}listen(f,y,l,d){const u=nr(y,"","","");return cr(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 qi="ng-animate-queued",co="ng-animate-disabled",ho=[],So={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},To={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ln="__ng_removed";class Kr{get params(){return this.options.params}constructor(f,y=""){this.namespaceId=y;const l=f&&f.hasOwnProperty("value");if(this.value=function Xi(P){return P??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 qr="void",Ii=new Kr(qr);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,Wn(y,this._hostClassName)}listen(f,y,l,d){if(!this._triggers.has(y))throw function tt(){return new a.wOt(3302,!1)}();if(null==l||0==l.length)throw function Gt(){return new a.wOt(3303,!1)}();if(!function Oo(P){return"start"==P||"done"==P}(l))throw function mn(){return new a.wOt(3400,!1)}();const u=$t(this._elementListeners,f,[]),w={name:y,phase:l,callback:d};u.push(w);const S=$t(this._engine.statesByElement,f,new Map);return S.has(y)||(Wn(f,Tt),Wn(f,Tt+"-"+y),S.set(y,Ii)),()=>{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 et(){return new a.wOt(3401,!1)}();return y}trigger(f,y,l,d=!0){const u=this._getTrigger(y),w=new pi(this.id,y,f);let S=this._engine.statesByElement.get(f);S||(Wn(f,Tt),Wn(f,Tt+"-"+y),this._engine.statesByElement.set(f,S=new Map));let K=S.get(y);const te=new Kr(l,this.id);if(!(l&&l.hasOwnProperty("value"))&&K&&te.absorbOptions(K.options),S.set(y,te),K||(K=Ii),te.value!==qr&&K.value===te.value){if(!function kr(P,f){const y=Object.keys(P),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)||P[u]!==f[u])return!1}return!0}(K.params,te.params)){const ut=[],on=u.matchStyles(K.value,K.params,ut),ct=u.matchStyles(te.value,te.params,ut);ut.length?this._engine.reportError(ut):this._engine.afterFlush(()=>{le(f,on),hn(f,ct)})}return}const xt=$t(this._engine.playersByElement,f,[]);xt.forEach(ut=>{ut.namespaceId==this.id&&ut.triggerName==y&&ut.queued&&ut.destroy()});let Dt=u.matchTransition(K.value,te.value,f,te.params),nt=!1;if(!Dt){if(!d)return;Dt=u.fallbackTransition,nt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:y,transition:Dt,fromState:K,toState:te,player:w,isFallbackTransition:nt}),nt||(Wn(f,qi),w.onStart(()=>{po(f,qi)})),w.onDone(()=>{let ut=this.players.indexOf(w);ut>=0&&this.players.splice(ut,1);const on=this._engine.playersByElement.get(f);if(on){let ct=on.indexOf(w);ct>=0&&on.splice(ct,1)}}),this.players.push(w),xt.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,oi,!0);l.forEach(d=>{if(d[ln])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,te)=>{if(w.set(te,K.value),this._triggers.has(te)){const Oe=this.trigger(f,te,qr,d);Oe&&S.push(Oe)}}),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,te=l.get(w)||Ii,Oe=new Kr(qr),ge=new pi(this.id,w,f);this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:w,transition:K,fromState:te,toState:Oe,player:ge,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[ln];(!u||u===So)&&(l.afterFlush(()=>this.clearElementCache(f)),l.destroyInnerAnimations(f),l._onRemovalComplete(f,y))}}insertNode(f,y){Wn(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,cr(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 te=l.indexOf(K);l.splice(te+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[ln];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),Wn(f,co)):this.disabledNodes.has(f)&&(this.disabledNodes.delete(f),po(f,co))}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[ln]={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,oi,!0);y.forEach(l=>this.destroyActiveAnimationsForElement(l)),0!=this.playersByQueriedElement.size&&(y=this.driver.query(f,Rt,!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[ln];if(y&&y.setForRemoval){if(f[ln]=So,y.namespaceId){this.destroyInnerAnimations(f);const l=this._fetchNamespace(y.namespaceId);l&&l.clearElementCache(f)}this._onRemovalComplete(f,y.setForRemoval)}f.classList?.contains(co)&&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++)Wn(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 An(){return new a.wOt(3402,!1)}()}_flushAnimations(f,y){const l=new Se,d=[],u=new Map,w=[],S=new Map,K=new Map,te=new Map,Oe=new Set;this.disabledNodes.forEach($e=>{Oe.add($e);const Xe=this.driver.query($e,".ng-animate-queued",!0);for(let st=0;st<Xe.length;st++)Oe.add(Xe[st])});const ge=this.bodyNode,xt=Array.from(this.statesByElement.keys()),Dt=Wo(xt,this.collectedEnterElements),nt=new Map;let ut=0;Dt.forEach(($e,Xe)=>{const st=rn+ut++;nt.set(Xe,st),$e.forEach(Ft=>Wn(Ft,st))});const on=[],ct=new Set,bn=new Set;for(let $e=0;$e<this.collectedLeaveElements.length;$e++){const Xe=this.collectedLeaveElements[$e],st=Xe[ln];st&&st.setForRemoval&&(on.push(Xe),ct.add(Xe),st.hasAnimation?this.driver.query(Xe,".ng-star-inserted",!0).forEach(Ft=>ct.add(Ft)):bn.add(Xe))}const yn=new Map,Sn=Wo(xt,Array.from(ct));Sn.forEach(($e,Xe)=>{const st=Br+ut++;yn.set(Xe,st),$e.forEach(Ft=>Wn(Ft,st))}),f.push(()=>{Dt.forEach(($e,Xe)=>{const st=nt.get(Xe);$e.forEach(Ft=>po(Ft,st))}),Sn.forEach(($e,Xe)=>{const st=yn.get(Xe);$e.forEach(Ft=>po(Ft,st))}),on.forEach($e=>{this.processLeaveNode($e)})});const Ao=[],Lr=[];for(let $e=this._namespaceList.length-1;$e>=0;$e--)this._namespaceList[$e].drainQueuedTransitions(y).forEach(st=>{const Ft=st.player,Kn=st.element;if(Ao.push(Ft),this.collectedEnterElements.length){const Tn=Kn[ln];if(Tn&&Tn.setForMove){if(Tn.previousTriggersValues&&Tn.previousTriggersValues.has(st.triggerName)){const Ri=Tn.previousTriggersValues.get(st.triggerName),In=this.statesByElement.get(st.element);if(In&&In.has(st.triggerName)){const Ur=In.get(st.triggerName);Ur.value=Ri,In.set(st.triggerName,Ur)}}return void Ft.destroy()}}const Ni=!ge||!this.driver.containsElement(ge,Kn),Qr=yn.get(Kn),to=nt.get(Kn),cn=this._buildInstruction(st,l,to,Qr,Ni);if(cn.errors&&cn.errors.length)return void Lr.push(cn);if(Ni)return Ft.onStart(()=>le(Kn,cn.fromStyles)),Ft.onDestroy(()=>hn(Kn,cn.toStyles)),void d.push(Ft);if(st.isFallbackTransition)return Ft.onStart(()=>le(Kn,cn.fromStyles)),Ft.onDestroy(()=>hn(Kn,cn.toStyles)),void d.push(Ft);const yo=[];cn.timelines.forEach(Tn=>{Tn.stretchStartingKeyframe=!0,this.disabledNodes.has(Tn.element)||yo.push(Tn)}),cn.timelines=yo,l.append(Kn,cn.timelines),w.push({instruction:cn,player:Ft,element:Kn}),cn.queriedElements.forEach(Tn=>$t(S,Tn,[]).push(Ft)),cn.preStyleProps.forEach((Tn,Ri)=>{if(Tn.size){let In=K.get(Ri);In||K.set(Ri,In=new Set),Tn.forEach((Ur,Ro)=>In.add(Ro))}}),cn.postStyleProps.forEach((Tn,Ri)=>{let In=te.get(Ri);In||te.set(Ri,In=new Set),Tn.forEach((Ur,Ro)=>In.add(Ro))})});if(Lr.length){const $e=[];Lr.forEach(Xe=>{$e.push(function un(){return new a.wOt(3505,!1)}())}),Ao.forEach(Xe=>Xe.destroy()),this.reportError($e)}const er=new Map,tr=new Map;w.forEach($e=>{const Xe=$e.element;l.has(Xe)&&(tr.set(Xe,Xe),this._beforeAnimationBuild($e.player.namespaceId,$e.instruction,er))}),d.forEach($e=>{const Xe=$e.element;this._getPreviousPlayers(Xe,!1,$e.namespaceId,$e.triggerName,null).forEach(Ft=>{$t(er,Xe,[]).push(Ft),Ft.destroy()})});const Vr=on.filter($e=>rr($e,K,te)),eo=new Map;Go(eo,this.driver,bn,te,k.kp).forEach($e=>{rr($e,K,te)&&Vr.push($e)});const xi=new Map;Dt.forEach(($e,Xe)=>{Go(xi,this.driver,new Set($e),K,k.FX)}),Vr.forEach($e=>{const Xe=eo.get($e),st=xi.get($e);eo.set($e,new Map([...Xe?.entries()??[],...st?.entries()??[]]))});const ot=[],Xo=[],No={};w.forEach($e=>{const{element:Xe,player:st,instruction:Ft}=$e;if(l.has(Xe)){if(Oe.has(Xe))return st.onDestroy(()=>hn(Xe,Ft.toStyles)),st.disabled=!0,st.overrideTotalTime(Ft.totalTime),void d.push(st);let Kn=No;if(tr.size>1){let Qr=Xe;const to=[];for(;Qr=Qr.parentNode;){const cn=tr.get(Qr);if(cn){Kn=cn;break}to.push(Qr)}to.forEach(cn=>tr.set(cn,Kn))}const Ni=this._buildAnimation(st.namespaceId,Ft,er,u,xi,eo);if(st.setRealPlayer(Ni),Kn===No)ot.push(st);else{const Qr=this.playersByElement.get(Kn);Qr&&Qr.length&&(st.parentPlayer=$n(Qr)),d.push(st)}}else le(Xe,Ft.fromStyles),st.onDestroy(()=>hn(Xe,Ft.toStyles)),Xo.push(st),Oe.has(Xe)&&d.push(st)}),Xo.forEach($e=>{const Xe=u.get($e.element);if(Xe&&Xe.length){const st=$n(Xe);$e.setRealPlayer(st)}}),d.forEach($e=>{$e.parentPlayer?$e.syncPlayerEvents($e.parentPlayer):$e.destroy()});for(let $e=0;$e<on.length;$e++){const Xe=on[$e],st=Xe[ln];if(po(Xe,Br),st&&st.hasAnimation)continue;let Ft=[];if(S.size){let Ni=S.get(Xe);Ni&&Ni.length&&Ft.push(...Ni);let Qr=this.driver.query(Xe,Rt,!0);for(let to=0;to<Qr.length;to++){let cn=S.get(Qr[to]);cn&&cn.length&&Ft.push(...cn)}}const Kn=Ft.filter(Ni=>!Ni.destroyed);Kn.length?Yi(this,Xe,Kn):this.processLeaveNode(Xe)}return on.length=0,ot.forEach($e=>{this.players.push($e),$e.onDone(()=>{$e.destroy();const Xe=this.players.indexOf($e);this.players.splice(Xe,1)}),$e.play()}),ot}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==qr;S.forEach(te=>{te.queued||!K&&te.triggerName!=d||w.push(te)})}}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 te=K.element,Oe=te!==u,ge=$t(l,te,[]);this._getPreviousPlayers(te,Oe,w,S,y.toState).forEach(Dt=>{const nt=Dt.getRealPlayer();nt.beforeDestroy&&nt.beforeDestroy(),Dt.destroy(),ge.push(Dt)})}le(u,y.fromStyles)}_buildAnimation(f,y,l,d,u,w){const S=y.triggerName,K=y.element,te=[],Oe=new Set,ge=new Set,xt=y.timelines.map(nt=>{const ut=nt.element;Oe.add(ut);const on=ut[ln];if(on&&on.removedBeforeQueried)return new k.sf(nt.duration,nt.delay);const ct=ut!==K,bn=function Po(P){const f=[];return Fe(P,f),f}((l.get(ut)||ho).map(er=>er.getRealPlayer())).filter(er=>!!er.element&&er.element===ut),yn=u.get(ut),Sn=w.get(ut),Ao=xn(this._normalizer,nt.keyframes,yn,Sn),Lr=this._buildPlayer(nt,Ao,bn);if(nt.subTimeline&&d&&ge.add(ut),ct){const er=new pi(f,S,ut);er.setRealPlayer(Lr),te.push(er)}return Lr});te.forEach(nt=>{$t(this.playersByQueriedElement,nt.element,[]).push(nt),nt.onDone(()=>function Io(P,f,y){let l=P.get(f);if(l){if(l.length){const d=l.indexOf(y);l.splice(d,1)}0==l.length&&P.delete(f)}return l}(this.playersByQueriedElement,nt.element,nt))}),Oe.forEach(nt=>Wn(nt,Ct));const Dt=$n(xt);return Dt.onDestroy(()=>{Oe.forEach(nt=>po(nt,Ct)),hn(K,y.toStyles)}),ge.forEach(nt=>{$t(d,nt,[]).push(Dt)}),Dt}_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 pi{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=>cr(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){$t(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(P){return P&&1===P.nodeType}function fo(P,f){const y=P.style.display;return P.style.display=f??"none",y}function Go(P,f,y,l,d){const u=[];y.forEach(K=>u.push(fo(K)));const w=[];l.forEach((K,te)=>{const Oe=new Map;K.forEach(ge=>{const xt=f.computeStyle(te,ge,d);Oe.set(ge,xt),(!xt||0==xt.length)&&(te[ln]=To,w.push(te))}),P.set(te,Oe)});let S=0;return y.forEach(K=>fo(K,u[S++])),w}function Wo(P,f){const y=new Map;if(P.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 te=S.parentNode;return K=y.has(te)?te:d.has(te)?1:w(te),u.set(S,K),K}return f.forEach(S=>{const K=w(S);1!==K&&y.get(K).push(S)}),y}function Wn(P,f){P.classList?.add(f)}function po(P,f){P.classList?.remove(f)}function Yi(P,f,y){$n(y).onDone(()=>P.processLeaveNode(f))}function Fe(P,f){for(let y=0;y<P.length;y++){const l=P[y];l instanceof k.ui?Fe(l.players,f):f.push(l)}}function rr(P,f,y){const l=y.get(P);if(!l)return!1;let d=f.get(P);return d?l.forEach(u=>d.add(u)):f.set(P,l),y.delete(P),!0}class Oi{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 bs(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=[],Oe=Fr(this._driver,u,K,[]);if(K.length)throw function re(){return new a.wOt(3404,!1)}();S=function Mo(P,f,y){return new Ms(P,f,y)}(d,Oe,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]=ni(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]=ni(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 gi{static{this.initialStylesByElement=new WeakMap}constructor(f,y,l){this._element=f,this._startStyles=y,this._endStyles=l,this._state=0;let d=gi.initialStylesByElement.get(f);d||gi.initialStylesByElement.set(f,d=new Map),this._initialStyles=d}start(){this._state<1&&(this._startStyles&&hn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(hn(this._element,this._initialStyles),this._endStyles&&(hn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(gi.initialStylesByElement.delete(this._element),this._startStyles&&(le(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(le(this._element,this._endStyles),this._endStyles=null),hn(this._element,this._initialStyles),this._state=3)}}function Pi(P){let f=null;return P.forEach((y,l)=>{(function ai(P){return"display"===P||"position"===P})(l)&&(f=f||new Map,f.set(l,y))}),f}class li{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:si(this.element,d))}),this.currentSnapshot=f}triggerCallback(f){const y="start"===f?this._onStartFns:this._onDoneFns;y.forEach(l=>l()),y.length=0}}class fr{validateStyleProperty(f){return!0}validateAnimatableStyleProperty(f){return!0}containsElement(f,y){return Nn(f,y)}getParentElement(f){return _n(f)}query(f,y,l){return _t(f,y,l)}computeStyle(f,y,l){return si(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 te=new Map,Oe=w.filter(Dt=>Dt instanceof li);(function Wt(P,f){return 0===P||0===f})(l,d)&&Oe.forEach(Dt=>{Dt.currentSnapshot.forEach((nt,ut)=>te.set(ut,nt))});let ge=function Ar(P){return P.length?P[0]instanceof Map?P:P.map(f=>new Map(Object.entries(f))):[]}(y).map(Dt=>new Map(Dt));ge=function Vn(P,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,si(P,S)))}}return f}(f,ge,te);const xt=function Ko(P,f){let y=null,l=null;return Array.isArray(f)&&f.length?(y=Pi(f[0]),f.length>1&&(l=Pi(f[f.length-1]))):f instanceof Map&&(y=Pi(f)),y||l?new gi(P,y,l):null}(f,ge);return new li(f,ge,K,xt)}}const wr="@.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==wr?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 Mn 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==wr?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 go(P){switch(P){case"body":return document.body;case"document":return document;case"window":return window;default:return P}}(f);let u=y.slice(1),w="";return"@"!=u.charAt(0)&&([u,w]=function mo(P){const f=P.indexOf(".");return[P.substring(0,f),P.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 jt{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 te=this._rendererCache;let Oe=te.get(d);return Oe||(Oe=new qo("",d,this.engine,()=>te.delete(d)),te.set(d,Oe)),Oe}const u=y.id,w=y.id+"-"+this._currentId;this._currentId++,this.engine.register(w,f);const S=te=>{Array.isArray(te)?te.forEach(S):this.engine.registerTrigger(u,w,f,te.name,te)};return y.data.animation.forEach(S),new Mn(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 Ts=F(177);const Qo=[{provide:Pe,useFactory:function fs(){return new xr}},{provide:Oi,useClass:(()=>{class P extends Oi{constructor(y,l,d){super(y,l,d)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(l){return new(l||P)(a.KVO(Ts.qQ),a.KVO(ft),a.KVO(Pe))}}static{this.\u0275prov=a.jDH({token:P,factory:P.\u0275fac})}}return P})()},{provide:a._9s,useFactory:function Is(P,f,y){return new jt(P,f,y)},deps:[x.B7,Oi,a.SKi]}],Ai=[{provide:ft,useFactory:()=>new fr},{provide:a.bc$,useValue:"BrowserAnimations"},...Qo],Je=[{provide:ft,useClass:Hn},{provide:a.bc$,useValue:"NoopAnimations"},...Qo];let mi=(()=>{class P{static withConfig(y){return{ngModule:P,providers:y.disableAnimations?Je:Ai}}static{this.\u0275fac=function(l){return new(l||P)}}static{this.\u0275mod=a.$C({type:P})}static{this.\u0275inj=a.G2t({providers:Ai,imports:[x.Bb]})}}return P})()},345:(ye,q,F)=>{"use strict";F.d(q,{B7:()=>rt,Bb:()=>ri,hE:()=>qn,sG:()=>$t});var a=F(177),x=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(oe,j,Q){return oe.addEventListener(j,Q),()=>{oe.removeEventListener(j,Q)}}dispatchEvent(oe,j){oe.dispatchEvent(j)}remove(oe){oe.remove()}createElement(oe,j){return(j=j||this.getDefaultDocument()).createElement(oe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(oe){return oe.nodeType===Node.ELEMENT_NODE}isShadowRoot(oe){return oe instanceof DocumentFragment}getGlobalEventTarget(oe,j){return"window"===j?window:"document"===j?oe:"body"===j?oe.body:null}getBaseHref(oe){const j=function Z(){return W=W||document.querySelector("base"),W?W.getAttribute("href"):null}();return null==j?null:function he(le){return new URL(le,document.baseURI).pathname}(j)}resetBaseElement(){W=null}getUserAgent(){return window.navigator.userAgent}getCookie(oe){return(0,a._b)(document.cookie,oe)}}let W=null,fe=(()=>{class le{build(){return new XMLHttpRequest}static{this.\u0275fac=function(Q){return new(Q||le)}}static{this.\u0275prov=x.jDH({token:le,factory:le.\u0275fac})}}return le})();const Y=new x.nKC("");let ue=(()=>{class le{constructor(j,Q){this._zone=Q,this._eventNameToPlugin=new Map,j.forEach(ve=>{ve.manager=this}),this._plugins=j.slice().reverse()}addEventListener(j,Q,ve){return this._findPluginFor(Q).addEventListener(j,Q,ve)}getZone(){return this._zone}_findPluginFor(j){let Q=this._eventNameToPlugin.get(j);if(Q)return Q;if(Q=this._plugins.find(Ue=>Ue.supports(j)),!Q)throw new x.wOt(5101,!1);return this._eventNameToPlugin.set(j,Q),Q}static{this.\u0275fac=function(Q){return new(Q||le)(x.KVO(Y),x.KVO(x.SKi))}}static{this.\u0275prov=x.jDH({token:le,factory:le.\u0275fac})}}return le})();class be{constructor(oe){this._doc=oe}}const Ne="ng-app-id";let Re=(()=>{class le{constructor(j,Q,ve,Ue={}){this.doc=j,this.appId=Q,this.nonce=ve,this.platformId=Ue,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,a.Vy)(Ue),this.resetHostNodes()}addStyles(j){for(const Q of j)1===this.changeUsageCount(Q,1)&&this.onStyleAdded(Q)}removeStyles(j){for(const Q of j)this.changeUsageCount(Q,-1)<=0&&this.onStyleRemoved(Q)}ngOnDestroy(){const j=this.styleNodesInDOM;j&&(j.forEach(Q=>Q.remove()),j.clear());for(const Q of this.getAllStyles())this.onStyleRemoved(Q);this.resetHostNodes()}addHost(j){this.hostNodes.add(j);for(const Q of this.getAllStyles())this.addStyleToHost(j,Q)}removeHost(j){this.hostNodes.delete(j)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(j){for(const Q of this.hostNodes)this.addStyleToHost(Q,j)}onStyleRemoved(j){const Q=this.styleRef;Q.get(j)?.elements?.forEach(ve=>ve.remove()),Q.delete(j)}collectServerRenderedStyles(){const j=this.doc.head?.querySelectorAll(`style[${Ne}="${this.appId}"]`);if(j?.length){const Q=new Map;return j.forEach(ve=>{null!=ve.textContent&&Q.set(ve.textContent,ve)}),Q}return null}changeUsageCount(j,Q){const ve=this.styleRef;if(ve.has(j)){const Ue=ve.get(j);return Ue.usage+=Q,Ue.usage}return ve.set(j,{usage:Q,elements:[]}),Q}getStyleElement(j,Q){const ve=this.styleNodesInDOM,Ue=ve?.get(Q);if(Ue?.parentNode===j)return ve.delete(Q),Ue.removeAttribute(Ne),Ue;{const lt=this.doc.createElement("style");return this.nonce&&lt.setAttribute("nonce",this.nonce),lt.textContent=Q,this.platformIsServer&&lt.setAttribute(Ne,this.appId),j.appendChild(lt),lt}}addStyleToHost(j,Q){const ve=this.getStyleElement(j,Q),Ue=this.styleRef,lt=Ue.get(Q)?.elements;lt?lt.push(ve):Ue.set(Q,{elements:[ve],usage:1})}resetHostNodes(){const j=this.hostNodes;j.clear(),j.add(this.doc.head)}static{this.\u0275fac=function(Q){return new(Q||le)(x.KVO(a.qQ),x.KVO(x.sZ2),x.KVO(x.BIS,8),x.KVO(x.Agw))}}static{this.\u0275prov=x.jDH({token:le,factory:le.\u0275fac})}}return le})();const ke={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"},qe=/%COMP%/g,At=new x.nKC("",{providedIn:"root",factory:()=>!0});function zt(le,oe){return oe.map(j=>j.replace(qe,le))}let rt=(()=>{class le{constructor(j,Q,ve,Ue,lt,It,an,Wt=null){this.eventManager=j,this.sharedStylesHost=Q,this.appId=ve,this.removeStylesOnCompDestroy=Ue,this.doc=lt,this.platformId=It,this.ngZone=an,this.nonce=Wt,this.rendererByCompId=new Map,this.platformIsServer=(0,a.Vy)(It),this.defaultRenderer=new vt(j,lt,an,this.platformIsServer)}createRenderer(j,Q){if(!j||!Q)return this.defaultRenderer;this.platformIsServer&&Q.encapsulation===x.gXe.ShadowDom&&(Q={...Q,encapsulation:x.gXe.Emulated});const ve=this.getOrCreateRenderer(j,Q);return ve instanceof Me?ve.applyToHost(j):ve instanceof pe&&ve.applyStyles(),ve}getOrCreateRenderer(j,Q){const ve=this.rendererByCompId;let Ue=ve.get(Q.id);if(!Ue){const lt=this.doc,It=this.ngZone,an=this.eventManager,Wt=this.sharedStylesHost,Vn=this.removeStylesOnCompDestroy,Ht=this.platformIsServer;switch(Q.encapsulation){case x.gXe.Emulated:Ue=new Me(an,Wt,Q,this.appId,Vn,lt,It,Ht);break;case x.gXe.ShadowDom:return new X(an,Wt,j,Q,lt,It,this.nonce,Ht);default:Ue=new pe(an,Wt,Q,Vn,lt,It,Ht)}ve.set(Q.id,Ue)}return Ue}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(Q){return new(Q||le)(x.KVO(ue),x.KVO(Re),x.KVO(x.sZ2),x.KVO(At),x.KVO(a.qQ),x.KVO(x.Agw),x.KVO(x.SKi),x.KVO(x.BIS))}}static{this.\u0275prov=x.jDH({token:le,factory:le.\u0275fac})}}return le})();class vt{constructor(oe,j,Q,ve){this.eventManager=oe,this.doc=j,this.ngZone=Q,this.platformIsServer=ve,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(oe,j){return j?this.doc.createElementNS(ke[j]||j,oe):this.doc.createElement(oe)}createComment(oe){return this.doc.createComment(oe)}createText(oe){return this.doc.createTextNode(oe)}appendChild(oe,j){(ee(oe)?oe.content:oe).appendChild(j)}insertBefore(oe,j,Q){oe&&(ee(oe)?oe.content:oe).insertBefore(j,Q)}removeChild(oe,j){j.remove()}selectRootElement(oe,j){let Q="string"==typeof oe?this.doc.querySelector(oe):oe;if(!Q)throw new x.wOt(-5104,!1);return j||(Q.textContent=""),Q}parentNode(oe){return oe.parentNode}nextSibling(oe){return oe.nextSibling}setAttribute(oe,j,Q,ve){if(ve){j=ve+":"+j;const Ue=ke[ve];Ue?oe.setAttributeNS(Ue,j,Q):oe.setAttribute(j,Q)}else oe.setAttribute(j,Q)}removeAttribute(oe,j,Q){if(Q){const ve=ke[Q];ve?oe.removeAttributeNS(ve,j):oe.removeAttribute(`${Q}:${j}`)}else oe.removeAttribute(j)}addClass(oe,j){oe.classList.add(j)}removeClass(oe,j){oe.classList.remove(j)}setStyle(oe,j,Q,ve){ve&(x.czy.DashCase|x.czy.Important)?oe.style.setProperty(j,Q,ve&x.czy.Important?"important":""):oe.style[j]=Q}removeStyle(oe,j,Q){Q&x.czy.DashCase?oe.style.removeProperty(j):oe.style[j]=""}setProperty(oe,j,Q){null!=oe&&(oe[j]=Q)}setValue(oe,j){oe.nodeValue=j}listen(oe,j,Q){if("string"==typeof oe&&!(oe=(0,a.QT)().getGlobalEventTarget(this.doc,oe)))throw new Error(`Unsupported event target ${oe} for event ${j}`);return this.eventManager.addEventListener(oe,j,this.decoratePreventDefault(Q))}decoratePreventDefault(oe){return j=>{if("__ngUnwrap__"===j)return oe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>oe(j)):oe(j))&&j.preventDefault()}}}function ee(le){return"TEMPLATE"===le.tagName&&void 0!==le.content}class X extends vt{constructor(oe,j,Q,ve,Ue,lt,It,an){super(oe,Ue,lt,an),this.sharedStylesHost=j,this.hostEl=Q,this.shadowRoot=Q.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Wt=zt(ve.id,ve.styles);for(const Vn of Wt){const Ht=document.createElement("style");It&&Ht.setAttribute("nonce",It),Ht.textContent=Vn,this.shadowRoot.appendChild(Ht)}}nodeOrShadowRoot(oe){return oe===this.hostEl?this.shadowRoot:oe}appendChild(oe,j){return super.appendChild(this.nodeOrShadowRoot(oe),j)}insertBefore(oe,j,Q){return super.insertBefore(this.nodeOrShadowRoot(oe),j,Q)}removeChild(oe,j){return super.removeChild(null,j)}parentNode(oe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(oe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class pe extends vt{constructor(oe,j,Q,ve,Ue,lt,It,an){super(oe,Ue,lt,It),this.sharedStylesHost=j,this.removeStylesOnCompDestroy=ve,this.styles=an?zt(an,Q.styles):Q.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Me extends pe{constructor(oe,j,Q,ve,Ue,lt,It,an){const Wt=ve+"-"+Q.id;super(oe,j,Q,Ue,lt,It,an,Wt),this.contentAttr=function at(le){return"_ngcontent-%COMP%".replace(qe,le)}(Wt),this.hostAttr=function Et(le){return"_nghost-%COMP%".replace(qe,le)}(Wt)}applyToHost(oe){this.applyStyles(),this.setAttribute(oe,this.hostAttr,"")}createElement(oe,j){const Q=super.createElement(oe,j);return super.setAttribute(Q,this.contentAttr,""),Q}}let je=(()=>{class le extends be{constructor(j){super(j)}supports(j){return!0}addEventListener(j,Q,ve){return j.addEventListener(Q,ve,!1),()=>this.removeEventListener(j,Q,ve)}removeEventListener(j,Q,ve){return j.removeEventListener(Q,ve)}static{this.\u0275fac=function(Q){return new(Q||le)(x.KVO(a.qQ))}}static{this.\u0275prov=x.jDH({token:le,factory:le.\u0275fac})}}return le})(),tt=(()=>{class le extends be{constructor(j){super(j),this.delegate=(0,x.WQX)(x.zAP,{optional:!0})}supports(j){return!!this.delegate&&this.delegate.supports(j)}addEventListener(j,Q,ve){return this.delegate.addEventListener(j,Q,ve)}removeEventListener(j,Q,ve){return this.delegate.removeEventListener(j,Q,ve)}static{this.\u0275fac=function(Q){return new(Q||le)(x.KVO(a.qQ))}}static{this.\u0275prov=x.jDH({token:le,factory:le.\u0275fac})}}return le})();const Gt=["alt","control","meta","shift"],mn={"\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"},et={alt:le=>le.altKey,control:le=>le.ctrlKey,meta:le=>le.metaKey,shift:le=>le.shiftKey};let An=(()=>{class le extends be{constructor(j){super(j)}supports(j){return null!=le.parseEventName(j)}addEventListener(j,Q,ve){const Ue=le.parseEventName(Q),lt=le.eventCallback(Ue.fullKey,ve,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.QT)().onAndCancel(j,Ue.domEventName,lt))}static parseEventName(j){const Q=j.toLowerCase().split("."),ve=Q.shift();if(0===Q.length||"keydown"!==ve&&"keyup"!==ve)return null;const Ue=le._normalizeKey(Q.pop());let lt="",It=Q.indexOf("code");if(It>-1&&(Q.splice(It,1),lt="code."),Gt.forEach(Wt=>{const Vn=Q.indexOf(Wt);Vn>-1&&(Q.splice(Vn,1),lt+=Wt+".")}),lt+=Ue,0!=Q.length||0===Ue.length)return null;const an={};return an.domEventName=ve,an.fullKey=lt,an}static matchEventFullKeyCode(j,Q){let ve=mn[j.key]||j.key,Ue="";return Q.indexOf("code.")>-1&&(ve=j.code,Ue="code."),!(null==ve||!ve)&&(ve=ve.toLowerCase()," "===ve?ve="space":"."===ve&&(ve="dot"),Gt.forEach(lt=>{lt!==ve&&(0,et[lt])(j)&&(Ue+=lt+".")}),Ue+=ve,Ue===Q)}static eventCallback(j,Q,ve){return Ue=>{le.matchEventFullKeyCode(Ue,j)&&ve.runGuarded(()=>Q(Ue))}}static _normalizeKey(j){return"esc"===j?"escape":j}static{this.\u0275fac=function(Q){return new(Q||le)(x.KVO(a.qQ))}}static{this.\u0275prov=x.jDH({token:le,factory:le.\u0275fac})}}return le})();const $t=(0,x.oH4)(x.fpN,"browser",[{provide:x.Agw,useValue:a.AJ},{provide:x.PLl,useValue:function xn(){H.makeCurrent()},multi:!0},{provide:a.qQ,useFactory:function ur(){return(0,x.TL$)(document),document},deps:[]}]),ni=new x.nKC(""),nn=[{provide:x.e01,useClass:class ie{addToWindow(oe){x.JZv.getAngularTestability=(Q,ve=!0)=>{const Ue=oe.findTestabilityInTree(Q,ve);if(null==Ue)throw new x.wOt(5103,!1);return Ue},x.JZv.getAllAngularTestabilities=()=>oe.getAllTestabilities(),x.JZv.getAllAngularRootElements=()=>oe.getAllRootElements(),x.JZv.frameworkStabilizers||(x.JZv.frameworkStabilizers=[]),x.JZv.frameworkStabilizers.push(Q=>{const ve=x.JZv.getAllAngularTestabilities();let Ue=ve.length;const lt=function(){Ue--,0==Ue&&Q()};ve.forEach(It=>{It.whenStable(lt)})})}findTestabilityInTree(oe,j,Q){return null==j?null:oe.getTestability(j)??(Q?(0,a.QT)().isShadowRoot(j)?this.findTestabilityInTree(oe,j.host,!0):this.findTestabilityInTree(oe,j.parentElement,!0):null)}},deps:[]},{provide:x.WHO,useClass:x.NYb,deps:[x.SKi,x.giA,x.e01]},{provide:x.NYb,useClass:x.NYb,deps:[x.SKi,x.giA,x.e01]}],_n=[{provide:x.H8p,useValue:"root"},{provide:x.zcH,useFactory:function cr(){return new x.zcH},deps:[]},{provide:Y,useClass:je,multi:!0,deps:[a.qQ,x.SKi,x.Agw]},{provide:Y,useClass:An,multi:!0,deps:[a.qQ]},{provide:Y,useClass:tt,multi:!0},rt,Re,ue,{provide:x._9s,useExisting:rt},{provide:a.N0,useClass:fe,deps:[]},[]];let ri=(()=>{class le{constructor(j){}static withServerTransition(j){return{ngModule:le,providers:[{provide:x.sZ2,useValue:j.appId}]}}static{this.\u0275fac=function(Q){return new(Q||le)(x.KVO(ni,12))}}static{this.\u0275mod=x.$C({type:le})}static{this.\u0275inj=x.G2t({providers:[..._n,...nn],imports:[a.MD,x.Hbi]})}}return le})(),qn=(()=>{class le{constructor(j){this._doc=j}getTitle(){return this._doc.title}setTitle(j){this._doc.title=j||""}static{this.\u0275fac=function(Q){return new(Q||le)(x.KVO(a.qQ))}}static{this.\u0275prov=x.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}}return le})()},7901:(ye,q,F)=>{"use strict";F.d(q,{Wk:()=>Te,iI:()=>Dl,n3:()=>Zi});var a=F(3953),x=F(4402),k=F(6648),H=F(7673),W=F(4412),Z=F(4572),he=F(9350),ie=F(8793),fe=F(9030),Y=F(1203),ue=F(8810),be=F(983),Ne=F(17),Re=F(1413),ke=F(8359),qe=F(177),ze=F(6354),Ke=F(5558),Ge=F(6697),Pt=F(9172),At=F(5964),at=F(1397),Et=F(1594),zt=F(274),rt=F(8141),vt=F(9437),Ye=F(2816),re=F(9901),ee=F(7018),X=F(5109),pe=F(3703),Me=F(980),je=F(9898),tt=F(6977),Gt=F(6365),mn=F(345);const et="primary",An=Symbol("RouteTitle");class Or{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 Or(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 O=0;O<_.length;O++){const V=_[O],ce=h[O];if(":"===V[0])M[V.substring(1)]=ce;else if(V!==ce.path)return null}return{consumed:h.slice(0,_.length),posParams:M}}function xn(h,v){const p=h?cr(h):void 0,_=v?cr(v):void 0;if(!p||!_||p.length!=_.length)return!1;let M;for(let O=0;O<p.length;O++)if(M=p[O],!ur(h[M],v[M]))return!1;return!0}function cr(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}function ur(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,O)=>_[O]===M)}return h===v}function nr(h){return h.length>0?h[h.length-1]:null}function $t(h){return(0,x.A)(h)?h:(0,a.jNT)(h)?(0,k.H)(Promise.resolve(h)):(0,H.of)(h)}const ni={exact:function sn(h,v,p){if(!ft(h.segments,v.segments)||!dr(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:qn},nn={exact:function ri(h,v){return xn(h,v)},subset:function yr(h,v){return Object.keys(v).length<=Object.keys(h).length&&Object.keys(v).every(p=>ur(h[p],v[p]))},ignored:()=>!0};function _n(h,v,p){return ni[p.paths](h.root,v.root,p.matrixParams)&&nn[p.queryParams](h.queryParams,v.queryParams)&&!("exact"===p.fragment&&h.fragment!==v.fragment)}function qn(h,v,p){return jr(h,v,v.segments,p)}function jr(h,v,p,_){if(h.segments.length>p.length){const M=h.segments.slice(0,p.length);return!(!ft(M,p)||v.hasChildren()||!dr(M,p,_))}if(h.segments.length===p.length){if(!ft(h.segments,p)||!dr(h.segments,p,_))return!1;for(const M in v.children)if(!h.children[M]||!qn(h.children[M],v.children[M],_))return!1;return!0}{const M=p.slice(0,h.segments.length),O=p.slice(h.segments.length);return!!(ft(h.segments,M)&&dr(h.segments,M,_)&&h.children[et])&&jr(h.children[et],v,O,_)}}function dr(h,v,p){return v.every((_,M)=>nn[p](h[M].parameters,_.parameters))}class Nn{constructor(v=new _t([],{}),p={},_=null){this.root=v,this.queryParams=p,this.fragment=_}get queryParamMap(){return this._queryParamMap??=un(this.queryParams),this._queryParamMap}toString(){return Nt.serialize(this)}}class _t{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 En(this)}}class hr{constructor(v,p){this.path=v,this.parameters=p}get parameterMap(){return this._parameterMap??=un(this.parameters),this._parameterMap}toString(){return Qn(this)}}function ft(h,v){return h.length===v.length&&h.every((p,_)=>p.path===v[_].path)}let ii=(()=>{class h{static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:()=>new Rn,providedIn:"root"})}}return h})();class Rn{parse(v){const p=new Ue(v);return new Nn(p.parseRootSegment(),p.parseQueryParams(),p.parseFragment())}serialize(v){const p=`/${rn(v.root,!0)}`,_=function Pr(h){const v=Object.entries(h).map(([p,_])=>Array.isArray(_)?_.map(M=>`${Tt(p)}=${Tt(M)}`).join("&"):`${Tt(p)}=${Tt(_)}`).filter(p=>p);return v.length?`?${v.join("&")}`:""}(v.queryParams);return`${p}${_}${"string"==typeof v.fragment?`#${function oi(h){return encodeURI(h)}(v.fragment)}`:""}`}}const Nt=new Rn;function En(h){return h.segments.map(v=>Qn(v)).join("/")}function rn(h,v){if(!h.hasChildren())return En(h);if(v){const p=h.children[et]?rn(h.children[et],!1):"",_=[];return Object.entries(h.children).forEach(([M,O])=>{M!==et&&_.push(`${M}:${rn(O,!1)}`)}),_.length>0?`${p}(${_.join("//")})`:p}{const p=function Pe(h,v){let p=[];return Object.entries(h.children).forEach(([_,M])=>{_===et&&(p=p.concat(v(M,_)))}),Object.entries(h.children).forEach(([_,M])=>{_!==et&&(p=p.concat(v(M,_)))}),p}(h,(_,M)=>M===et?[rn(h.children[et],!1)]:[`${M}:${rn(_,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[et]?`${En(h)}/${p[0]}`:`${En(h)}/(${p.join("//")})`}}function Br(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Tt(h){return Br(h).replace(/%3B/gi,";")}function Ct(h){return Br(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Rt(h){return decodeURIComponent(h)}function Fn(h){return Rt(h.replace(/\+/g,"%20"))}function Qn(h){return`${Ct(h.path)}${function Xn(h){return Object.entries(h).map(([v,p])=>`;${Ct(v)}=${Ct(p)}`).join("")}(h.parameters)}`}const Ar=/^[^\/()?;#]+/;function Dn(h){const v=h.match(Ar);return v?v[0]:""}const hn=/^[^\/()?;=#]+/,oe=/^[^=?&#]+/,Q=/^[^&#]+/;class Ue{constructor(v){this.url=v,this.remaining=v}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _t([],{}):new _t([],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)&&(_[et]=new _t(v,p)),_}parseSegment(){const v=Dn(this.remaining);if(""===v&&this.peekStartsWith(";"))throw new a.wOt(4009,!1);return this.capture(v),new hr(Rt(v),this.parseMatrixParams())}parseMatrixParams(){const v={};for(;this.consumeOptional(";");)this.parseParam(v);return v}parseParam(v){const p=function le(h){const v=h.match(hn);return v?v[0]:""}(this.remaining);if(!p)return;this.capture(p);let _="";if(this.consumeOptional("=")){const M=Dn(this.remaining);M&&(_=M,this.capture(_))}v[Rt(p)]=Rt(_)}parseQueryParam(v){const p=function j(h){const v=h.match(oe);return v?v[0]:""}(this.remaining);if(!p)return;this.capture(p);let _="";if(this.consumeOptional("=")){const V=function ve(h){const v=h.match(Q);return v?v[0]:""}(this.remaining);V&&(_=V,this.capture(_))}const M=Fn(p),O=Fn(_);if(v.hasOwnProperty(M)){let V=v[M];Array.isArray(V)||(V=[V],v[M]=V),V.push(O)}else v[M]=O}parseParens(v){const p={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=Dn(this.remaining),M=this.remaining[_.length];if("/"!==M&&")"!==M&&";"!==M)throw new a.wOt(4010,!1);let O;_.indexOf(":")>-1?(O=_.slice(0,_.indexOf(":")),this.capture(O),this.capture(":")):v&&(O=et);const V=this.parseChildren();p[O]=1===Object.keys(V).length?V[et]:new _t([],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 lt(h){return h.segments.length>0?new _t([],{[et]:h}):h}function It(h){const v={};for(const[_,M]of Object.entries(h.children)){const O=It(M);if(_===et&&0===O.segments.length&&O.hasChildren())for(const[V,ce]of Object.entries(O.children))v[V]=ce;else(O.segments.length>0||O.hasChildren())&&(v[_]=O)}return function an(h){if(1===h.numberOfChildren&&h.children[et]){const v=h.children[et];return new _t(h.segments.concat(v.segments),v.children)}return h}(new _t(h.segments,v))}function Wt(h){return h instanceof Nn}function Ht(h){let v;const M=lt(function p(O){const V={};for(const ne of O.children){const Ve=p(ne);V[ne.outlet]=Ve}const ce=new _t(O.url,V);return O===h&&(v=ce),ce}(h.root));return v??M}function si(h,v,p,_){let M=h;for(;M.parent;)M=M.parent;if(0===v.length)return $i(M,M,M,p,_);const O=function Hi(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new Hr(!0,0,h);let v=0,p=!1;const _=h.reduce((M,O,V)=>{if("object"==typeof O&&null!=O){if(O.outlets){const ce={};return Object.entries(O.outlets).forEach(([ne,Ve])=>{ce[ne]="string"==typeof Ve?Ve.split("/"):Ve}),[...M,{outlets:ce}]}if(O.segmentPath)return[...M,O.segmentPath]}return"string"!=typeof O?[...M,O]:0===V?(O.split("/").forEach((ce,ne)=>{0==ne&&"."===ce||(0==ne&&""===ce?p=!0:".."===ce?v++:""!=ce&&M.push(ce))}),M):[...M,O]},[]);return new Hr(p,v,_)}(v);if(O.toRoot())return $i(M,M,new _t([],{}),p,_);const V=function zr(h,v,p){if(h.isAbsolute)return new Jt(v,!0,0);if(!p)return new Jt(v,!1,NaN);if(null===p.parent)return new Jt(p,!0,0);const _=$r(h.commands[0])?0:1;return function zn(h,v,p){let _=h,M=v,O=p;for(;O>M;){if(O-=M,_=_.parent,!_)throw new a.wOt(4005,!1);M=_.segments.length}return new Jt(_,!1,M-O)}(p,p.segments.length-1+_,h.numberOfDoubleDots)}(O,M,h),ce=V.processChildren?Gn(V.segmentGroup,V.index,O.commands):Nr(V.segmentGroup,V.index,O.commands);return $i(M,V.segmentGroup,ce,p,_)}function $r(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function xr(h){return"object"==typeof h&&null!=h&&h.outlets}function $i(h,v,p,_,M){let V,O={};_&&Object.entries(_).forEach(([ne,Ve])=>{O[ne]=Array.isArray(Ve)?Ve.map(ht=>`${ht}`):`${Ve}`}),V=h===v?p:hs(h,v,p);const ce=lt(It(V));return new Nn(ce,O,M)}function hs(h,v,p){const _={};return Object.entries(h.children).forEach(([M,O])=>{_[M]=O===v?p:hs(O,v,p)}),new _t(h.segments,_)}class Hr{constructor(v,p,_){if(this.isAbsolute=v,this.numberOfDoubleDots=p,this.commands=_,v&&_.length>0&&$r(_[0]))throw new a.wOt(4003,!1);const M=_.find(xr);if(M&&M!==nr(_))throw new a.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Jt{constructor(v,p,_){this.segmentGroup=v,this.processChildren=p,this.index=_}}function Nr(h,v,p){if(h??=new _t([],{}),0===h.segments.length&&h.hasChildren())return Gn(h,v,p);const _=function Rr(h,v,p){let _=0,M=v;const O={match:!1,pathIndex:0,commandIndex:0};for(;M<h.segments.length;){if(_>=p.length)return O;const V=h.segments[M],ce=p[_];if(xr(ce))break;const ne=`${ce}`,Ve=_<p.length-1?p[_+1]:null;if(M>0&&void 0===ne)break;if(ne&&Ve&&"object"==typeof Ve&&void 0===Ve.outlets){if(!Gi(ne,Ve,V))return O;_+=2}else{if(!Gi(ne,{},V))return O;_++}M++}return{match:!0,pathIndex:M,commandIndex:_}}(h,v,p),M=p.slice(_.commandIndex);if(_.match&&_.pathIndex<h.segments.length){const O=new _t(h.segments.slice(0,_.pathIndex),{});return O.children[et]=new _t(h.segments.slice(_.pathIndex),h.children),Gn(O,0,M)}return _.match&&0===M.length?new _t(h.segments,{}):_.match&&!h.hasChildren()?Zn(h,v,p):_.match?Gn(h,0,M):Zn(h,v,p)}function Gn(h,v,p){if(0===p.length)return new _t(h.segments,{});{const _=function vr(h){return xr(h[0])?h[0].outlets:{[et]:h}}(p),M={};if(Object.keys(_).some(O=>O!==et)&&h.children[et]&&1===h.numberOfChildren&&0===h.children[et].segments.length){const O=Gn(h.children[et],v,p);return new _t(h.segments,O.children)}return Object.entries(_).forEach(([O,V])=>{"string"==typeof V&&(V=[V]),null!==V&&(M[O]=Nr(h.children[O],v,V))}),Object.entries(h.children).forEach(([O,V])=>{void 0===_[O]&&(M[O]=V)}),new _t(h.segments,M)}}function Zn(h,v,p){const _=h.segments.slice(0,v);let M=0;for(;M<p.length;){const O=p[M];if(xr(O)){const ne=Gr(O.outlets);return new _t(_,ne)}if(0===M&&$r(p[0])){_.push(new hr(h.segments[v].path,zi(p[0]))),M++;continue}const V=xr(O)?O.outlets[et]:`${O}`,ce=M<p.length-1?p[M+1]:null;V&&ce&&$r(ce)?(_.push(new hr(V,zi(ce))),M+=2):(_.push(new hr(V,{})),M++)}return new _t(_,{})}function Gr(h){const v={};return Object.entries(h).forEach(([p,_])=>{"string"==typeof _&&(_=[_]),null!==_&&(v[p]=Zn(new _t([],{}),0,_))}),v}function zi(h){const v={};return Object.entries(h).forEach(([p,_])=>v[p]=`${_}`),v}function Gi(h,v,p){return h==p.path&&xn(v,p.parameters)}const Fr="imperative";var pt=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}(pt||{});class fn{constructor(v,p){this.id=v,this.url=p}}class Wr extends fn{constructor(v,p,_="imperative",M=null){super(v,p),this.type=pt.NavigationStart,this.navigationTrigger=_,this.restoredState=M}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Yn extends fn{constructor(v,p,_){super(v,p),this.urlAfterRedirects=_,this.type=pt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var kn=function(h){return h[h.Redirect=0]="Redirect",h[h.SupersededByNewNavigation=1]="SupersededByNewNavigation",h[h.NoDataFromResolver=2]="NoDataFromResolver",h[h.GuardRejected=3]="GuardRejected",h}(kn||{}),A=function(h){return h[h.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",h[h.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",h}(A||{});class $ extends fn{constructor(v,p,_,M){super(v,p),this.reason=_,this.code=M,this.type=pt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class U extends fn{constructor(v,p,_,M){super(v,p),this.reason=_,this.code=M,this.type=pt.NavigationSkipped}}class se extends fn{constructor(v,p,_,M){super(v,p),this.error=_,this.target=M,this.type=pt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class we extends fn{constructor(v,p,_,M){super(v,p),this.urlAfterRedirects=_,this.state=M,this.type=pt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Se extends fn{constructor(v,p,_,M){super(v,p),this.urlAfterRedirects=_,this.state=M,this.type=pt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ie extends fn{constructor(v,p,_,M,O){super(v,p),this.urlAfterRedirects=_,this.state=M,this.shouldActivate=O,this.type=pt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Qe extends fn{constructor(v,p,_,M){super(v,p),this.urlAfterRedirects=_,this.state=M,this.type=pt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class He extends fn{constructor(v,p,_,M){super(v,p),this.urlAfterRedirects=_,this.state=M,this.type=pt.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=pt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Qt{constructor(v){this.route=v,this.type=pt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Xt{constructor(v){this.snapshot=v,this.type=pt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class R{constructor(v){this.snapshot=v,this.type=pt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ee{constructor(v){this.snapshot=v,this.type=pt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class I{constructor(v){this.snapshot=v,this.type=pt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class z{constructor(v,p,_){this.routerEvent=v,this.position=p,this.anchor=_,this.type=pt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class de{}class We{constructor(v,p){this.url=v,this.navigationBehaviorOptions=p}}function _r(h){return h.outlet||et}function Si(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 bs{get injector(){return Si(this.route?.snapshot)??this.rootInjector}set injector(v){}constructor(v){this.rootInjector=v,this.outlet=null,this.route=null,this.children=new qi(this.rootInjector),this.attachRef=null}}let qi=(()=>{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 bs(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 bo{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=co(v,this._root);return p?p.children.map(_=>_.value):[]}firstChild(v){const p=co(v,this._root);return p&&p.children.length>0?p.children[0].value:null}siblings(v){const p=uo(v,this._root);return p.length<2?[]:p[p.length-2].children.map(M=>M.value).filter(M=>M!==v)}pathFromRoot(v){return uo(v,this._root).map(p=>p.value)}}function co(h,v){if(h===v.value)return v;for(const p of v.children){const _=co(h,p);if(_)return _}return null}function uo(h,v){if(h===v.value)return[v];for(const p of v.children){const _=uo(h,p);if(_.length)return _.unshift(v),_}return[]}class Cr{constructor(v,p){this.value=v,this.children=p}toString(){return`TreeNode(${this.value})`}}function Ti(h){const v={};return h&&h.children.forEach(p=>v[p.value.outlet]=p),v}class ho extends bo{constructor(v,p){super(v),this.snapshot=p,Qi(this,v)}toString(){return this.snapshot.toString()}}function So(h){const v=function To(h){const O=new qr([],{},{},"",{},et,h,null,{});return new Ii("",new Cr(O,[]))}(h),p=new W.t([new hr("",{})]),_=new W.t({}),M=new W.t({}),O=new W.t({}),V=new W.t(""),ce=new ln(p,_,O,V,M,et,h,v.root);return ce.snapshot=v.root,new ho(new Cr(ce,[]),v)}class ln{constructor(v,p,_,M,O,V,ce,ne){this.urlSubject=v,this.paramsSubject=p,this.queryParamsSubject=_,this.fragmentSubject=M,this.dataSubject=O,this.outlet=V,this.component=ce,this._futureSnapshot=ne,this.title=this.dataSubject?.pipe((0,ze.T)(Ve=>Ve[An]))??(0,H.of)(void 0),this.url=v,this.params=p,this.queryParams=_,this.fragment=M,this.data=O}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,ze.T)(v=>un(v))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,ze.T)(v=>un(v))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Kr(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[An]=M.title),_}class qr{get title(){return this.data?.[An]}constructor(v,p,_,M,O,V,ce,ne,Ve){this.url=v,this.params=p,this.queryParams=_,this.fragment=M,this.data=O,this.outlet=V,this.component=ce,this.routeConfig=ne,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 Ii extends bo{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 pi(h){if(h.snapshot){const v=h.snapshot,p=h._futureSnapshot;h.snapshot=p,xn(v.queryParams,p.queryParams)||h.queryParamsSubject.next(p.queryParams),v.fragment!==p.fragment&&h.fragmentSubject.next(p.fragment),xn(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(!xn(h[p],v[p]))return!1;return!0}(v.url,p.url)||h.urlSubject.next(p.url),xn(v.data,p.data)||h.dataSubject.next(p.data)}else h.snapshot=h._futureSnapshot,h.dataSubject.next(h._futureSnapshot.data)}function Io(h,v){const p=xn(h.params,v.params)&&function Hn(h,v){return ft(h,v)&&h.every((p,_)=>xn(p.parameters,v[_].parameters))}(h.url,v.url);return p&&!(!h.parent!=!v.parent)&&(!h.parent||Io(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=et,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)(qi),this.location=(0,a.WQX)(a.c1b),this.changeDetector=(0,a.WQX)(a.gRc),this.inputBinder=(0,a.WQX)(fo,{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,ne=new Oo(p,ce,M.injector);this.activated=M.createComponent(V,{index:M.length,injector:ne,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 Oo{__ngOutletInjector(v){return new Oo(this.route,this.childContexts,v)}constructor(v,p,_){this.route=v,this.childContexts=p,this.parent=_}get(v,p){return v===ln?this.route:v===qi?this.childContexts:this.parent.get(v,p)}}const fo=new a.nKC("");let Go=(()=>{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,Z.z)([_.queryParams,_.params,_.data]).pipe((0,Ke.n)(([O,V,ce],ne)=>(ce={...O,...V,...ce},0===ne?(0,H.of)(ce):Promise.resolve(ce)))).subscribe(O=>{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,O[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 Wn(h,v,p){if(p&&h.shouldReuseRoute(v.value,p.value.snapshot)){const _=p.value;_._futureSnapshot=v.value;const M=function po(h,v,p){return v.children.map(_=>{for(const M of p.children)if(h.shouldReuseRoute(_.value,M.value.snapshot))return Wn(h,_,M);return Wn(h,_)})}(h,v,p);return new Cr(_,M)}{if(h.shouldAttach(v.value)){const O=h.retrieve(v.value);if(null!==O){const V=O.route;return V.value._futureSnapshot=v.value,V.children=v.children.map(ce=>Wn(h,ce)),V}}const _=function Yi(h){return new ln(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(O=>Wn(h,O));return new Cr(_,M)}}class Po{constructor(v,p){this.redirectTo=v,this.navigationBehaviorOptions=p}}const Fe="ngNavigationCancelingError";function kr(h,v){const{redirectTo:p,navigationBehaviorOptions:_}=Wt(v)?{redirectTo:v,navigationBehaviorOptions:void 0}:v,M=rr(!1,kn.Redirect);return M.url=p,M.navigationBehaviorOptions=_,M}function rr(h,v){const p=new Error(`NavigationCancelingError: ${h||""}`);return p[Fe]=!0,p.cancellationCode=v,p}function Ko(h){return!!h&&h[Fe]}class ai{constructor(v,p,_,M,O){this.routeReuseStrategy=v,this.futureState=p,this.currState=_,this.forwardEvent=M,this.inputBindingEnabled=O}activate(v){const p=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(p,_,v),pi(this.futureState.root),this.activateChildRoutes(p,_,v)}deactivateChildRoutes(v,p,_){const M=Ti(p);v.children.forEach(O=>{const V=O.value.outlet;this.deactivateRoutes(O,M[V],_),delete M[V]}),Object.values(M).forEach(O=>{this.deactivateRouteAndItsChildren(O,_)})}deactivateRoutes(v,p,_){const M=v.value,O=p?p.value:null;if(M===O)if(M.component){const V=_.getContext(M.outlet);V&&this.deactivateChildRoutes(v,p,V.children)}else this.deactivateChildRoutes(v,p,_);else O&&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,O=Ti(v);for(const V of Object.values(O))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,O=Ti(v);for(const V of Object.values(O))this.deactivateRouteAndItsChildren(V,M);_&&(_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated()),_.attachRef=null,_.route=null)}activateChildRoutes(v,p,_){const M=Ti(p);v.children.forEach(O=>{this.activateRoutes(O,M[O.value.outlet],_),this.forwardEvent(new I(O.value.snapshot))}),v.children.length&&this.forwardEvent(new R(v.value.snapshot))}activateRoutes(v,p,_){const M=v.value,O=p?p.value:null;if(pi(M),M===O)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),pi(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 li{constructor(v){this.path=v,this.route=this.path[this.path.length-1]}}class fr{constructor(v,p){this.component=v,this.route=p}}function Ji(h,v,p){const _=h._root;return wr(_,v?v._root:null,p,[_.value])}function pr(h,v){const p=Symbol(),_=v.get(h,p);return _===p?"function"!=typeof h||(0,a.LfX)(h)?v.get(h):h:_}function wr(h,v,p,_,M={canDeactivateChecks:[],canActivateChecks:[]}){const O=Ti(v);return h.children.forEach(V=>{(function qo(h,v,p,_,M={canDeactivateChecks:[],canActivateChecks:[]}){const O=h.value,V=v?v.value:null,ce=p?p.getContext(h.value.outlet):null;if(V&&O.routeConfig===V.routeConfig){const ne=function Mn(h,v,p){if("function"==typeof p)return p(h,v);switch(p){case"pathParamsChange":return!ft(h.url,v.url);case"pathParamsOrQueryParamsChange":return!ft(h.url,v.url)||!xn(h.queryParams,v.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Io(h,v)||!xn(h.queryParams,v.queryParams);default:return!Io(h,v)}}(V,O,O.routeConfig.runGuardsAndResolvers);ne?M.canActivateChecks.push(new li(_)):(O.data=V.data,O._resolvedData=V._resolvedData),wr(h,v,O.component?ce?ce.children:null:p,_,M),ne&&ce&&ce.outlet&&ce.outlet.isActivated&&M.canDeactivateChecks.push(new fr(ce.outlet.component,V))}else V&&go(v,ce,M),M.canActivateChecks.push(new li(_)),wr(h,null,O.component?ce?ce.children:null:p,_,M)})(V,O[V.value.outlet],p,_.concat([V.value]),M),delete O[V.value.outlet]}),Object.entries(O).forEach(([V,ce])=>go(ce,p.getContext(V),M)),M}function go(h,v,p){const _=Ti(h),M=h.value;Object.entries(_).forEach(([O,V])=>{go(V,M.component?v?v.children.getContext(O):null:v,p)}),p.canDeactivateChecks.push(new fr(M.component&&v&&v.outlet&&v.outlet.isActivated?v.outlet.component:null,M))}function mo(h){return"function"==typeof h}function Ai(h){return h instanceof he.G||"EmptyError"===h?.name}const Je=Symbol("INITIAL_VALUE");function mi(){return(0,Ke.n)(h=>(0,Z.z)(h.map(v=>v.pipe((0,Ge.s)(1),(0,Pt.Z)(Je)))).pipe((0,ze.T)(v=>{for(const p of v)if(!0!==p){if(p===Je)return Je;if(!1===p||Er(p))return p}return!0}),(0,At.p)(v=>v!==Je),(0,Ge.s)(1)))}function Er(h){return Wt(h)||h instanceof Po}function S(h){return(0,Y.F)((0,rt.M)(v=>{if("boolean"!=typeof v)throw kr(0,v)}),(0,ze.T)(v=>!0===v))}class te{constructor(v){this.segmentGroup=v||null}}class Oe extends Error{constructor(v){super(),this.urlTree=v}}function ge(h){return(0,ue.$)(new te(h))}class ut{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[et])return(0,ue.$)(new a.wOt(4e3,!1));M=M.children[et]}}applyRedirectCommands(v,p,_,M,O){if("string"!=typeof p){const ce=p,{queryParams:ne,fragment:Ve,routeConfig:ht,url:bt,outlet:wn,params:ro,data:Zr,title:es}=M,Ci=(0,a.N4e)(O,()=>ce({params:ro,data:Zr,queryParams:ne,fragment:Ve,routeConfig:ht,url:bt,outlet:wn,title:es}));if(Ci instanceof Nn)throw new Oe(Ci);p=Ci}const V=this.applyRedirectCreateUrlTree(p,this.urlSerializer.parse(p),v,_);if("/"===p[0])throw new Oe(V);return V}applyRedirectCreateUrlTree(v,p,_,M){const O=this.createSegmentGroup(v,p.root,_,M);return new Nn(O,this.createQueryParams(p.queryParams,this.urlTree.queryParams),p.fragment)}createQueryParams(v,p){const _={};return Object.entries(v).forEach(([M,O])=>{if("string"==typeof O&&":"===O[0]){const ce=O.substring(1);_[M]=p[ce]}else _[M]=O}),_}createSegmentGroup(v,p,_,M){const O=this.createSegments(v,p.segments,_,M);let V={};return Object.entries(p.children).forEach(([ce,ne])=>{V[ce]=this.createSegmentGroup(v,ne,_,M)}),new _t(O,V)}createSegments(v,p,_,M){return p.map(O=>":"===O.path[0]?this.findPosParam(v,O,M):this.findOrReturn(O,_))}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 ct(h,v,p,_,M){const O=bn(h,v,p);return O.matched?(_=function wt(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 O=M.map(V=>{const ce=pr(V,h);return $t(function Qo(h){return h&&mo(h.canMatch)}(ce)?ce.canMatch(v,p):(0,a.N4e)(h,()=>ce(v,p)))});return(0,H.of)(O).pipe(mi(),S())}(_,v,p).pipe((0,ze.T)(V=>!0===V?O:{...on}))):(0,H.of)(O)}function bn(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 O={};Object.entries(M.posParams??{}).forEach(([ce,ne])=>{O[ce]=ne.path});const V=M.consumed.length>0?{...O,...M.consumed[M.consumed.length-1].parameters}:O;return{matched:!0,consumedSegments:M.consumed,remainingSegments:p.slice(M.consumed.length),parameters:V,positionalParamSegments:M.posParams??{}}}function Sn(h,v,p,_){return p.length>0&&function er(h,v,p){return p.some(_=>Vr(h,v,_)&&_r(_)!==et)}(h,p,_)?{segmentGroup:new _t(v,Lr(_,new _t(p,h.children))),slicedSegments:[]}:0===p.length&&function tr(h,v,p){return p.some(_=>Vr(h,v,_))}(h,p,_)?{segmentGroup:new _t(h.segments,Ao(h,p,_,h.children)),slicedSegments:p}:{segmentGroup:new _t(h.segments,h.children),slicedSegments:p}}function Ao(h,v,p,_){const M={};for(const O of p)if(Vr(h,v,O)&&!_[_r(O)]){const V=new _t([],{});M[_r(O)]=V}return{..._,...M}}function Lr(h,v){const p={};p[et]=v;for(const _ of h)if(""===_.path&&_r(_)!==et){const M=new _t([],{});p[_r(_)]=M}return p}function Vr(h,v,p){return(!(h.hasChildren()||v.length>0)||"full"!==p.pathMatch)&&""===p.path}class xo{}class Xo{constructor(v,p,_,M,O,V,ce){this.injector=v,this.configLoader=p,this.rootComponentType=_,this.config=M,this.urlTree=O,this.paramsInheritanceStrategy=V,this.urlSerializer=ce,this.applyRedirects=new ut(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(v){return new a.wOt(4002,`'${v.segmentGroup}'`)}recognize(){const v=Sn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(v).pipe((0,ze.T)(({children:p,rootSnapshot:_})=>{const M=new Cr(_,p),O=new Ii("",M),V=function Vn(h,v,p=null,_=null){return si(Ht(h),v,p,_)}(_,[],this.urlTree.queryParams,this.urlTree.fragment);return V.queryParams=this.urlTree.queryParams,O.url=this.urlSerializer.serialize(V),{state:O,tree:V}}))}match(v){const p=new qr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),et,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,v,et,p).pipe((0,ze.T)(_=>({children:_,rootSnapshot:p})),(0,vt.W)(_=>{if(_ instanceof Oe)return this.urlTree=_.urlTree,this.match(_.urlTree.root);throw _ instanceof te?this.noMatchError(_):_}))}processSegmentGroup(v,p,_,M,O){return 0===_.segments.length&&_.hasChildren()?this.processChildren(v,p,_,O):this.processSegment(v,p,_,_.segments,M,!0,O).pipe((0,ze.T)(V=>V instanceof Cr?[V]:[]))}processChildren(v,p,_,M){const O=[];for(const V of Object.keys(_.children))"primary"===V?O.unshift(V):O.push(V);return(0,k.H)(O).pipe((0,zt.H)(V=>{const ce=_.children[V],ne=function Ho(h,v){const p=h.filter(_=>_r(_)===v);return p.push(...h.filter(_=>_r(_)!==v)),p}(p,V);return this.processSegmentGroup(v,ne,ce,V,M)}),(0,Ye.S)((V,ce)=>(V.push(...ce),V)),(0,re.U)(null),(0,ee.H)(),(0,at.Z)(V=>{if(null===V)return ge(_);const ce=Xe(V);return function No(h){h.sort((v,p)=>v.value.outlet===et?-1:p.value.outlet===et?1:v.value.outlet.localeCompare(p.value.outlet))}(ce),(0,H.of)(ce)}))}processSegment(v,p,_,M,O,V,ce){return(0,k.H)(p).pipe((0,zt.H)(ne=>this.processSegmentAgainstRoute(ne._injector??v,p,ne,_,M,O,V,ce).pipe((0,vt.W)(Ve=>{if(Ve instanceof te)return(0,H.of)(null);throw Ve}))),(0,Et.$)(ne=>!!ne),(0,vt.W)(ne=>{if(Ai(ne))return function eo(h,v,p){return 0===v.length&&!h.children[p]}(_,M,O)?(0,H.of)(new xo):ge(_);throw ne}))}processSegmentAgainstRoute(v,p,_,M,O,V,ce,ne){return _r(_)===V||V!==et&&Vr(M,O,_)?void 0===_.redirectTo?this.matchSegmentAgainstRoute(v,M,_,O,V,ne):this.allowRedirects&&ce?this.expandSegmentAgainstRouteUsingRedirect(v,M,p,_,O,V,ne):ge(M):ge(M)}expandSegmentAgainstRouteUsingRedirect(v,p,_,M,O,V,ce){const{matched:ne,parameters:Ve,consumedSegments:ht,positionalParamSegments:bt,remainingSegments:wn}=bn(p,M,O);if(!ne)return ge(p);"string"==typeof M.redirectTo&&"/"===M.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const ro=new qr(O,Ve,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ft(M),_r(M),M.component??M._loadedComponent??null,M,Kn(M)),Zr=Kr(ro,ce,this.paramsInheritanceStrategy);ro.params=Object.freeze(Zr.params),ro.data=Object.freeze(Zr.data);const es=this.applyRedirects.applyRedirectCommands(ht,M.redirectTo,bt,ro,v);return this.applyRedirects.lineralizeSegments(M,es).pipe((0,at.Z)(Ci=>this.processSegment(v,_,p,Ci.concat(wn),V,!1,ce)))}matchSegmentAgainstRoute(v,p,_,M,O,V){const ce=ct(p,_,M,v);return"**"===_.path&&(p.children={}),ce.pipe((0,Ke.n)(ne=>ne.matched?this.getChildConfig(v=_._injector??v,_,M).pipe((0,Ke.n)(({routes:Ve})=>{const ht=_._loadedInjector??v,{parameters:bt,consumedSegments:wn,remainingSegments:ro}=ne,Zr=new qr(wn,bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ft(_),_r(_),_.component??_._loadedComponent??null,_,Kn(_)),es=Kr(Zr,V,this.paramsInheritanceStrategy);Zr.params=Object.freeze(es.params),Zr.data=Object.freeze(es.data);const{segmentGroup:Ci,slicedSegments:As}=Sn(p,wn,ro,Ve);if(0===As.length&&Ci.hasChildren())return this.processChildren(ht,Ve,Ci,Zr).pipe((0,ze.T)(Ks=>new Cr(Zr,Ks)));if(0===Ve.length&&0===As.length)return(0,H.of)(new Cr(Zr,[]));const Hc=_r(_)===O;return this.processSegment(ht,Ve,Ci,As,Hc?et:O,!0,Zr).pipe((0,ze.T)(Ks=>new Cr(Zr,Ks instanceof Cr?[Ks]:[])))})):ge(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 O=M.map(V=>{const ce=pr(V,h);return $t(function Ts(h){return h&&mo(h.canLoad)}(ce)?ce.canLoad(v,p):(0,a.N4e)(h,()=>ce(v,p)))});return(0,H.of)(O).pipe(mi(),S())}(v,p,_).pipe((0,at.Z)(M=>M?this.configLoader.loadChildren(v,p).pipe((0,rt.M)(O=>{p._loadedRoutes=O.routes,p._loadedInjector=O.injector})):function nt(){return(0,ue.$)(rr(!1,kn.GuardRejected))}())):(0,H.of)({routes:[],injector:v})}}function $e(h){const v=h.value.routeConfig;return v&&""===v.path}function Xe(h){const v=[],p=new Set;for(const _ of h){if(!$e(_)){v.push(_);continue}const M=v.find(O=>_.value.routeConfig===O.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 Cr(_.value,M))}return v.filter(_=>!p.has(_))}function Ft(h){return h.data||{}}function Kn(h){return h.resolve||{}}function to(h){const v=h.children.map(p=>to(p)).flat();return[h,...v]}function Tn(h){return(0,Ke.n)(v=>{const p=h(v);return p?(0,k.H)(p).pipe((0,ze.T)(()=>v)):(0,H.of)(v)})}let Ri=(()=>{class h{buildTitle(p){let _,M=p.root;for(;void 0!==M;)_=this.getResolvedTitleForRoute(M)??_,M=M.children.find(O=>O.outlet===et);return _}getResolvedTitleForRoute(p){return p.data[An]}static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:()=>(0,a.WQX)(In),providedIn:"root"})}}return h})(),In=(()=>{class h extends Ri{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(mn.hE))}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})();const Ur=new a.nKC("",{providedIn:"root",factory:()=>({})});let Ro=(()=>{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 dt(h){const v=h.children&&h.children.map(dt),p=v?{...h,children:v}:{...h};return!p.component&&!p.loadComponent&&(v||p.loadChildren)&&p.outlet&&p.outlet!==et&&(p.component=Ro),p}const Vt=new a.nKC("");let _l=(()=>{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 _=$t(p.loadComponent()).pipe((0,ze.T)(Lc),(0,rt.M)(O=>{this.onLoadEndListener&&this.onLoadEndListener(p),p._loadedComponent=O}),(0,Me.j)(()=>{this.componentLoaders.delete(p)})),M=new Ne.G(_,()=>new Re.B).pipe((0,je.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 O=function Fc(h,v,p,_){return $t(h.loadChildren()).pipe((0,ze.T)(Lc),(0,at.Z)(M=>M instanceof a.Co$||Array.isArray(M)?(0,H.of)(M):(0,k.H)(v.compileModuleAsync(M))),(0,ze.T)(M=>{_&&_(h);let O,V,ce=!1;return Array.isArray(M)?(V=M,!0):(O=M.create(p).injector,V=O.get(Vt,[],{optional:!0,self:!0}).flat()),{routes:V.map(dt),injector:O}}))}(_,this.compiler,p,this.onLoadEndListener).pipe((0,Me.j)(()=>{this.childrenLoaders.delete(_)})),V=new Ne.G(O,()=>new Re.B).pipe((0,je.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 Lc(h){return function kc(h){return h&&"object"==typeof h&&"default"in h}(h)?h.default:h}let ya=(()=>{class h{static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:()=>(0,a.WQX)(va),providedIn:"root"})}}return h})(),va=(()=>{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 kt=new a.nKC(""),$s=new a.nKC("");function Cl(h,v,p){const _=h.get($s),M=h.get(qe.qQ);return h.get(a.SKi).runOutsideAngular(()=>{if(!M.startViewTransition||_.skipNextTransition)return _.skipNextTransition=!1,new Promise(Ve=>setTimeout(Ve));let O;const V=new Promise(Ve=>{O=Ve}),ce=M.startViewTransition(()=>(O(),function Xr(h){return new Promise(v=>{(0,a.mal)({read:()=>setTimeout(v)},{injector:h})})}(h))),{onViewTransitionCreated:ne}=_;return ne&&(0,a.N4e)(h,()=>ne({transition:ce,from:v,to:p})),V})}const gs=new a.nKC("");let _a=(()=>{class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Re.B,this.transitionAbortSubject=new Re.B,this.configLoader=(0,a.WQX)(_l),this.environmentInjector=(0,a.WQX)(a.uvJ),this.urlSerializer=(0,a.WQX)(ii),this.rootContexts=(0,a.WQX)(qi),this.location=(0,a.WQX)(qe.aZ),this.inputBindingEnabled=null!==(0,a.WQX)(fo,{optional:!0}),this.titleStrategy=(0,a.WQX)(Ri),this.options=(0,a.WQX)(Ur,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,a.WQX)(ya),this.createViewTransition=(0,a.WQX)(kt,{optional:!0}),this.navigationErrorHandler=(0,a.WQX)(gs,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,H.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=M=>this.events.next(new Qt(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:Fr,restoredState:null,currentSnapshot:M.snapshot,targetSnapshot:null,currentRouterState:M,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,At.p)(O=>0!==O.id),(0,ze.T)(O=>({...O,extractedUrl:this.urlHandlingStrategy.extract(O.rawUrl)})),(0,Ke.n)(O=>{let V=!1,ce=!1;return(0,H.of)(O).pipe((0,Ke.n)(ne=>{if(this.navigationId>O.id)return this.cancelNavigationTransition(O,"",kn.SupersededByNewNavigation),be.w;this.currentTransition=O,this.currentNavigation={id:ne.id,initialUrl:ne.rawUrl,extractedUrl:ne.extractedUrl,targetBrowserUrl:"string"==typeof ne.extras.browserUrl?this.urlSerializer.parse(ne.extras.browserUrl):ne.extras.browserUrl,trigger:ne.source,extras:ne.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Ve=!p.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Ve&&"reload"!==(ne.extras.onSameUrlNavigation??p.onSameUrlNavigation)){const bt="";return this.events.next(new U(ne.id,this.urlSerializer.serialize(ne.rawUrl),bt,A.IgnoredSameUrlNavigation)),ne.resolve(!1),be.w}if(this.urlHandlingStrategy.shouldProcessUrl(ne.rawUrl))return(0,H.of)(ne).pipe((0,Ke.n)(bt=>{const wn=this.transitions?.getValue();return this.events.next(new Wr(bt.id,this.urlSerializer.serialize(bt.extractedUrl),bt.source,bt.restoredState)),wn!==this.transitions?.getValue()?be.w:Promise.resolve(bt)}),function Ni(h,v,p,_,M,O){return(0,at.Z)(V=>function xi(h,v,p,_,M,O,V="emptyOnly"){return new Xo(h,v,p,_,M,V,O).recognize()}(h,v,p,_,V.extractedUrl,M,O).pipe((0,ze.T)(({state:ce,tree:ne})=>({...V,targetSnapshot:ce,urlAfterRedirects:ne}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,p.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,rt.M)(bt=>{O.targetSnapshot=bt.targetSnapshot,O.urlAfterRedirects=bt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:bt.urlAfterRedirects};const wn=new we(bt.id,this.urlSerializer.serialize(bt.extractedUrl),this.urlSerializer.serialize(bt.urlAfterRedirects),bt.targetSnapshot);this.events.next(wn)}));if(Ve&&this.urlHandlingStrategy.shouldProcessUrl(ne.currentRawUrl)){const{id:bt,extractedUrl:wn,source:ro,restoredState:Zr,extras:es}=ne,Ci=new Wr(bt,this.urlSerializer.serialize(wn),ro,Zr);this.events.next(Ci);const As=So(this.rootComponentType).snapshot;return this.currentTransition=O={...ne,targetSnapshot:As,urlAfterRedirects:wn,extras:{...es,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=wn,(0,H.of)(O)}{const bt="";return this.events.next(new U(ne.id,this.urlSerializer.serialize(ne.extractedUrl),bt,A.IgnoredByUrlHandlingStrategy)),ne.resolve(!1),be.w}}),(0,rt.M)(ne=>{const Ve=new Se(ne.id,this.urlSerializer.serialize(ne.extractedUrl),this.urlSerializer.serialize(ne.urlAfterRedirects),ne.targetSnapshot);this.events.next(Ve)}),(0,ze.T)(ne=>(this.currentTransition=O={...ne,guards:Ji(ne.targetSnapshot,ne.currentSnapshot,this.rootContexts)},O)),function ma(h,v){return(0,at.Z)(p=>{const{targetSnapshot:_,currentSnapshot:M,guards:{canActivateChecks:O,canDeactivateChecks:V}}=p;return 0===V.length&&0===O.length?(0,H.of)({...p,guardsResult:!0}):function Bs(h,v,p,_){return(0,k.H)(h).pipe((0,at.Z)(M=>function u(h,v,p,_,M){const O=v&&v.routeConfig?v.routeConfig.canDeactivate:null;if(!O||0===O.length)return(0,H.of)(!0);const V=O.map(ce=>{const ne=Si(v)??M,Ve=pr(ce,ne);return $t(function Is(h){return h&&mo(h.canDeactivate)}(Ve)?Ve.canDeactivate(h,v,p,_):(0,a.N4e)(ne,()=>Ve(h,v,p,_))).pipe((0,Et.$)())});return(0,H.of)(V).pipe(mi())}(M.component,M.route,p,v,_)),(0,Et.$)(M=>!0!==M,!0))}(V,_,M,h).pipe((0,at.Z)(ce=>ce&&function jt(h){return"boolean"==typeof h}(ce)?function P(h,v,p,_){return(0,k.H)(v).pipe((0,zt.H)(M=>(0,ie.x)(function y(h,v){return null!==h&&v&&v(new Xt(h)),(0,H.of)(!0)}(M.route.parent,_),function f(h,v){return null!==h&&v&&v(new Ee(h)),(0,H.of)(!0)}(M.route,_),function d(h,v,p){const _=v[v.length-1],O=v.slice(0,v.length-1).reverse().map(V=>function Ss(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,fe.v)(()=>{const ce=V.guards.map(ne=>{const Ve=Si(V.node)??p,ht=pr(ne,Ve);return $t(function fs(h){return h&&mo(h.canActivateChild)}(ht)?ht.canActivateChild(_,h):(0,a.N4e)(Ve,()=>ht(_,h))).pipe((0,Et.$)())});return(0,H.of)(ce).pipe(mi())}));return(0,H.of)(O).pipe(mi())}(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(O=>(0,fe.v)(()=>{const V=Si(v)??p,ce=pr(O,V);return $t(function Ln(h){return h&&mo(h.canActivate)}(ce)?ce.canActivate(v,h):(0,a.N4e)(V,()=>ce(v,h))).pipe((0,Et.$)())}));return(0,H.of)(M).pipe(mi())}(h,M.route,p))),(0,Et.$)(M=>!0!==M,!0))}(_,O,h,v):(0,H.of)(ce)),(0,ze.T)(ce=>({...p,guardsResult:ce})))})}(this.environmentInjector,ne=>this.events.next(ne)),(0,rt.M)(ne=>{if(O.guardsResult=ne.guardsResult,ne.guardsResult&&"boolean"!=typeof ne.guardsResult)throw kr(0,ne.guardsResult);const Ve=new Ie(ne.id,this.urlSerializer.serialize(ne.extractedUrl),this.urlSerializer.serialize(ne.urlAfterRedirects),ne.targetSnapshot,!!ne.guardsResult);this.events.next(Ve)}),(0,At.p)(ne=>!!ne.guardsResult||(this.cancelNavigationTransition(ne,"",kn.GuardRejected),!1)),Tn(ne=>{if(ne.guards.canActivateChecks.length)return(0,H.of)(ne).pipe((0,rt.M)(Ve=>{const ht=new Qe(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),this.urlSerializer.serialize(Ve.urlAfterRedirects),Ve.targetSnapshot);this.events.next(ht)}),(0,Ke.n)(Ve=>{let ht=!1;return(0,H.of)(Ve).pipe(function Qr(h,v){return(0,at.Z)(p=>{const{targetSnapshot:_,guards:{canActivateChecks:M}}=p;if(!M.length)return(0,H.of)(p);const O=new Set(M.map(ne=>ne.route)),V=new Set;for(const ne of O)if(!V.has(ne))for(const Ve of to(ne))V.add(Ve);let ce=0;return(0,k.H)(V).pipe((0,zt.H)(ne=>O.has(ne)?function cn(h,v,p,_){const M=h.routeConfig,O=h._resolve;return void 0!==M?.title&&!Xi(M)&&(O[An]=M.title),function yo(h,v,p,_){const M=cr(h);if(0===M.length)return(0,H.of)({});const O={};return(0,k.H)(M).pipe((0,at.Z)(V=>function ps(h,v,p,_){const M=Si(v)??_,O=pr(h,M);return $t(O.resolve?O.resolve(v,p):(0,a.N4e)(M,()=>O(v,p)))}(h[V],v,p,_).pipe((0,Et.$)(),(0,rt.M)(ce=>{if(ce instanceof Po)throw kr(new Rn,ce);O[V]=ce}))),(0,X.o)(1),(0,pe.u)(O),(0,vt.W)(V=>Ai(V)?be.w:(0,ue.$)(V)))}(O,h,v,_).pipe((0,ze.T)(V=>(h._resolvedData=V,h.data=Kr(h,h.parent,p).resolve,null)))}(ne,_,h,v):(ne.data=Kr(ne,ne.parent,h).resolve,(0,H.of)(void 0))),(0,rt.M)(()=>ce++),(0,X.o)(1),(0,at.Z)(ne=>ce===V.size?(0,H.of)(p):be.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,rt.M)({next:()=>ht=!0,complete:()=>{ht||this.cancelNavigationTransition(Ve,"",kn.NoDataFromResolver)}}))}),(0,rt.M)(Ve=>{const ht=new He(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),this.urlSerializer.serialize(Ve.urlAfterRedirects),Ve.targetSnapshot);this.events.next(ht)}))}),Tn(ne=>{const Ve=ht=>{const bt=[];ht.routeConfig?.loadComponent&&!ht.routeConfig._loadedComponent&&bt.push(this.configLoader.loadComponent(ht.routeConfig).pipe((0,rt.M)(wn=>{ht.component=wn}),(0,ze.T)(()=>{})));for(const wn of ht.children)bt.push(...Ve(wn));return bt};return(0,Z.z)(Ve(ne.targetSnapshot.root)).pipe((0,re.U)(null),(0,Ge.s)(1))}),Tn(()=>this.afterPreactivation()),(0,Ke.n)(()=>{const{currentSnapshot:ne,targetSnapshot:Ve}=O,ht=this.createViewTransition?.(this.environmentInjector,ne.root,Ve.root);return ht?(0,k.H)(ht).pipe((0,ze.T)(()=>O)):(0,H.of)(O)}),(0,ze.T)(ne=>{const Ve=function Wo(h,v,p){const _=Wn(h,v._root,p?p._root:void 0);return new ho(_,v)}(p.routeReuseStrategy,ne.targetSnapshot,ne.currentRouterState);return this.currentTransition=O={...ne,targetRouterState:Ve},this.currentNavigation.targetRouterState=Ve,O}),(0,rt.M)(()=>{this.events.next(new de)}),((h,v,p,_)=>(0,ze.T)(M=>(new ai(v,M.targetRouterState,M.currentRouterState,p,_).activate(h),M)))(this.rootContexts,p.routeReuseStrategy,ne=>this.events.next(ne),this.inputBindingEnabled),(0,Ge.s)(1),(0,rt.M)({next:ne=>{V=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Yn(ne.id,this.urlSerializer.serialize(ne.extractedUrl),this.urlSerializer.serialize(ne.urlAfterRedirects))),this.titleStrategy?.updateTitle(ne.targetRouterState.snapshot),ne.resolve(!0)},complete:()=>{V=!0}}),(0,tt.Q)(this.transitionAbortSubject.pipe((0,rt.M)(ne=>{throw ne}))),(0,Me.j)(()=>{!V&&!ce&&this.cancelNavigationTransition(O,"",kn.SupersededByNewNavigation),this.currentTransition?.id===O.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,vt.W)(ne=>{if(ce=!0,Ko(ne))this.events.next(new $(O.id,this.urlSerializer.serialize(O.extractedUrl),ne.message,ne.cancellationCode)),function Oi(h){return Ko(h)&&Wt(h.url)}(ne)?this.events.next(new We(ne.url,ne.navigationBehaviorOptions)):O.resolve(!1);else{const Ve=new se(O.id,this.urlSerializer.serialize(O.extractedUrl),ne,O.targetSnapshot??void 0);try{const ht=(0,a.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Ve));if(ht instanceof Po){const{message:bt,cancellationCode:wn}=kr(0,ht);this.events.next(new $(O.id,this.urlSerializer.serialize(O.extractedUrl),bt,wn)),this.events.next(new We(ht.redirectTo,ht.navigationBehaviorOptions))}else{this.events.next(Ve);const bt=p.errorHandler(ne);O.resolve(!!bt)}}catch(ht){this.options.resolveNavigationPromiseOnError?O.resolve(!1):O.reject(ht)}}return be.w}))}))}cancelNavigationTransition(p,_,M){const O=new $(p.id,this.urlSerializer.serialize(p.extractedUrl),_,M);this.events.next(O),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!==Fr}let Os=(()=>{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 Ca{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 Ca{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)(qe.aZ),this.urlSerializer=(0,a.WQX)(ii),this.options=(0,a.WQX)(Ur,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,a.WQX)(ya),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Nn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=So(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 Wr)this.stateMemento=this.createStateMemento();else if(p instanceof U)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 de?(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===kn.GuardRejected||p.code===kn.NoDataFromResolver)?this.restoreHistory(_):p instanceof se?this.restoreHistory(_,!0):p instanceof Yn&&(this.lastSuccessfulId=p.id,this.currentPageId=this.browserPageId)}setBrowserUrl(p,_){const M=p instanceof Nn?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 O={..._.extras.state,...this.generateNgRouterState(_.id,this.browserPageId+1)};this.location.go(M,"",O)}}restoreHistory(p,_=!1){if("computed"===this.canceledNavigationResolution){const O=this.currentPageId-this.browserPageId;0!==O?this.location.historyGo(O):this.currentUrlTree===p.finalUrl&&0===O&&(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,At.p)(p=>p instanceof Yn||p instanceof $||p instanceof se||p instanceof U),(0,ze.T)(p=>p instanceof Yn||p instanceof U?b.COMPLETE:p instanceof $&&(p.code===kn.Redirect||p.code===kn.SupersededByNewNavigation)?b.REDIRECTING:b.FAILED),(0,At.p)(p=>p!==b.REDIRECTING),(0,Ge.s)(1)).subscribe(()=>{v()})}function ae(h){throw h}const De={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Be={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Bt=(()=>{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)(Ur,{optional:!0})||{},this.pendingTasks=(0,a.WQX)(a.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,a.WQX)(_a),this.urlSerializer=(0,a.WQX)(ii),this.location=(0,a.WQX)(qe.aZ),this.urlHandlingStrategy=(0,a.WQX)(ya),this._events=new Re.B,this.errorHandler=this.options.errorHandler||ae,this.navigated=!1,this.routeReuseStrategy=(0,a.WQX)(Os),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,a.WQX)(Vt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,a.WQX)(fo,{optional:!0}),this.eventsSubscription=new ke.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,O=this.navigationTransitions.currentNavigation;if(null!==M&&null!==O)if(this.stateManager.handleRouterEvent(_,O),_ instanceof $&&_.code!==kn.Redirect&&_.code!==kn.SupersededByNewNavigation)this.navigated=!0;else if(_ instanceof Yn)this.navigated=!0;else if(_ instanceof We){const V=_.navigationBehaviorOptions,ce=this.urlHandlingStrategy.merge(_.url,M.currentRawUrl),ne={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,Fr,null,ne,{resolve:M.resolve,reject:M.reject,promise:M.promise})}(function tn(h){return!(h instanceof de||h instanceof We)})(_)&&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),Fr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((p,_)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(p,"popstate",_)},0)})}navigateToSyncWithBrowser(p,_,M){const O={replaceUrl:!0},V=M?.navigationId?M:null;if(M){const ne={...M};delete ne.navigationId,delete ne.\u0275routerPageId,0!==Object.keys(ne).length&&(O.state=ne)}const ce=this.parseUrl(p);this.scheduleNavigation(ce,_,V,O)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(p){this.config=p.map(dt),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:O,fragment:V,queryParamsHandling:ce,preserveFragment:ne}=_,Ve=ne?this.currentUrlTree.fragment:V;let bt,ht=null;switch(ce??this.options.defaultQueryParamsHandling){case"merge":ht={...this.currentUrlTree.queryParams,...O};break;case"preserve":ht=this.currentUrlTree.queryParams;break;default:ht=O||null}null!==ht&&(ht=this.removeEmptyProps(ht));try{bt=Ht(M?M.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof p[0]||"/"!==p[0][0])&&(p=[]),bt=this.currentUrlTree.root}return si(bt,p,ht,Ve??null)}navigateByUrl(p,_={skipLocationChange:!1}){const M=Wt(p)?p:this.parseUrl(p),O=this.urlHandlingStrategy.merge(M,this.rawUrlTree);return this.scheduleNavigation(O,Fr,null,_)}navigate(p,_={skipLocationChange:!1}){return function Mt(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===_?{...De}:!1===_?{...Be}:_,Wt(p))return _n(this.currentUrlTree,p,M);const O=this.parseUrl(p);return _n(this.currentUrlTree,O,M)}removeEmptyProps(p){return Object.entries(p).reduce((_,[M,O])=>(null!=O&&(_[M]=O),_),{})}scheduleNavigation(p,_,M,O,V){if(this.disposed)return Promise.resolve(!1);let ce,ne,Ve;V?(ce=V.resolve,ne=V.reject,Ve=V.promise):Ve=new Promise((bt,wn)=>{ce=bt,ne=wn});const ht=this.pendingTasks.add();return L(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ht))}),this.navigationTransitions.handleNavigationRequest({source:_,restoredState:M,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:p,extras:O,resolve:ce,reject:ne,promise:Ve,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ve.catch(bt=>Promise.reject(bt))}static{this.\u0275fac=function(_){return new(_||h)}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})(),Te=(()=>{class h{constructor(p,_,M,O,V,ce){this.router=p,this.route=_,this.tabIndexAttribute=M,this.renderer=O,this.el=V,this.locationStrategy=ce,this.href=null,this.onChanges=new Re.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const ne=V.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ne||"area"===ne,this.isAnchorElement?this.subscription=p.events.subscribe(Ve=>{Ve instanceof Yn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(p){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",p)}ngOnChanges(p){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(p){null==p?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=Wt(p)||Array.isArray(p)?p:[p],this.setTabIndexIfNotOnNativeEl("0"))}onClick(p,_,M,O,V){const ce=this.urlTree;return!!(null===ce||this.isAnchorElement&&(0!==p||_||M||O||V||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(ce,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const p=this.urlTree;this.href=null!==p&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(p)):null;const _=null===this.href?null:(0,a.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",_)}applyAttributeValue(p,_){const M=this.renderer,O=this.el.nativeElement;null!==_?M.setAttribute(O,p,_):M.removeAttribute(O,p)}get urlTree(){return null===this.routerLinkInput?null:Wt(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(_){return new(_||h)(a.rXU(Bt),a.rXU(ln),a.kS0("tabindex"),a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(qe.hb))}}static{this.\u0275dir=a.FsC({type:h,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(_,M){1&_&&a.bIt("click",function(V){return M.onClick(V.button,V.ctrlKey,V.shiftKey,V.altKey,V.metaKey)}),2&_&&a.BMQ("target",M.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",a.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",a.L39],replaceUrl:[2,"replaceUrl","replaceUrl",a.L39],routerLink:"routerLink"},standalone:!0,features:[a.GFd,a.OA$]})}}return h})();class Cn{}let Zo=(()=>{class h{constructor(p,_,M,O,V){this.router=p,this.injector=M,this.preloadingStrategy=O,this.loader=V}setUpPreloading(){this.subscription=this.router.events.pipe((0,At.p)(p=>p instanceof Yn),(0,zt.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 O of _){O.providers&&!O._injector&&(O._injector=(0,a.Ol2)(O.providers,p,`Route: ${O.path}`));const V=O._injector??p,ce=O._loadedInjector??V;(O.loadChildren&&!O._loadedRoutes&&void 0===O.canLoad||O.loadComponent&&!O._loadedComponent)&&M.push(this.preloadConfig(V,O)),(O.children||O._loadedRoutes)&&M.push(this.processRoutes(ce,O.children??O._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 O=M.pipe((0,at.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)([O,V]).pipe((0,Gt.U)())}return O})}static{this.\u0275fac=function(_){return new(_||h)(a.KVO(Bt),a.KVO(a.Ql9),a.KVO(a.uvJ),a.KVO(Cn),a.KVO(_l))}}static{this.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})();const Fi=new a.nKC("");let yi=(()=>{class h{constructor(p,_,M,O,V={}){this.urlSerializer=p,this.transitions=_,this.viewportScroller=M,this.zone=O,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 Wr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=p.navigationTrigger,this.restoredId=p.restoredState?p.restoredState.navigationId:0):p instanceof Yn?(this.lastId=p.id,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.urlAfterRedirects).fragment)):p instanceof U&&p.code===A.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 z&&(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 z(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 ci(h,v){return{\u0275kind:h,\u0275providers:v}}function wl(){const h=(0,a.WQX)(a.zZn);return v=>{const p=h.get(a.o8S);if(v!==p.components[0])return;const _=h.get(Bt),M=h.get(Gs);1===h.get(Ps)&&_.initialNavigation(),h.get(Fd,null,a.$GK.Optional)?.setUpPreloading(),h.get(Fi,null,a.$GK.Optional)?.init(),_.resetRootComponentType(p.componentTypes[0]),M.closed||(M.next(),M.complete(),M.unsubscribe())}}const Gs=new a.nKC("",{factory:()=>new Re.B}),Ps=new a.nKC("",{providedIn:"root",factory:()=>1}),Fd=new a.nKC("");function _i(h){return ci(0,[{provide:Fd,useExisting:Zo},{provide:Cn,useExisting:h}])}function vo(h){return ci(9,[{provide:kt,useValue:Cl},{provide:$s,useValue:{skipNextTransition:!!h?.skipInitialTransition,...h}}])}const Li=new a.nKC("ROUTER_FORROOT_GUARD"),jc=[qe.aZ,{provide:ii,useClass:Rn},Bt,qi,{provide:ln,useFactory:function ki(h){return h.routerState.root},deps:[Bt]},_l,[]];let Dl=(()=>{class h{constructor(p){}static forRoot(p,_){return{ngModule:h,providers:[jc,[],{provide:Vt,multi:!0,useValue:p},{provide:Li,useFactory:Jo,deps:[[Bt,new a.Xx1,new a.kdw]]},{provide:Ur,useValue:_||{}},_?.useHash?{provide:qe.hb,useClass:qe.fw}:{provide:qe.hb,useClass:qe.Sm},{provide:Fi,useFactory:()=>{const h=(0,a.WQX)(qe.Xr),v=(0,a.WQX)(a.SKi),p=(0,a.WQX)(Ur),_=(0,a.WQX)(_a),M=(0,a.WQX)(ii);return p.scrollOffset&&h.setOffset(p.scrollOffset),new yi(M,_,h,v,p)}},_?.preloadingStrategy?_i(_.preloadingStrategy).\u0275providers:[],_?.initialNavigation?kd(_):[],_?.bindToComponentInputs?ci(8,[Go,{provide:fo,useExisting:Go}]).\u0275providers:[],_?.enableViewTransitions?vo().\u0275providers:[],[{provide:Da,useFactory:wl},{provide:a.iLQ,multi:!0,useExisting:Da}]]}}static forChild(p){return{ngModule:h,providers:[{provide:Vt,multi:!0,useValue:p}]}}static{this.\u0275fac=function(_){return new(_||h)(a.KVO(Li,8))}}static{this.\u0275mod=a.$C({type:h})}static{this.\u0275inj=a.G2t({})}}return h})();function Jo(h){return"guarded"}function kd(h){return["disabled"===h.initialNavigation?ci(3,[{provide:a.hnV,multi:!0,useFactory:()=>{const v=(0,a.WQX)(Bt);return()=>{v.setUpLocationChangeListener()}}},{provide:Ps,useValue:2}]).\u0275providers:[],"enabledBlocking"===h.initialNavigation?ci(2,[{provide:Ps,useValue:0},{provide:a.hnV,multi:!0,deps:[a.zZn],useFactory:v=>{const p=v.get(qe.hj,Promise.resolve());return()=>p.then(()=>new Promise(_=>{const M=v.get(Bt),O=v.get(Gs);L(M,()=>{_(!0)}),v.get(_a).afterPreactivation=()=>(_(!0),O.closed?(0,H.of)(void 0):O),M.initialNavigation()}))}}]).\u0275providers:[]]}const Da=new a.nKC("")},4355:(ye,q,F)=>{"use strict";F.d(q,{gB:()=>ee});var a=F(3953),x=F(1562),k=F(6354),H=F(7343),W=F(6884);const Y={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(pe){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=pe.protocol;let Me=pe.port;Me||(function Z(X){return/^https:$/i.test(X)}(this.protocol)?Me="443":function he(X){return/^http:$/i.test(X)}(this.protocol)&&(Me="80")),this.domain=pe.hostname,this.port=parseInt(Me,10),this.path=pe.pathname;const je=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?Y[2087]:/^cpanel\./.test(this.domain)?Y[2083]:/^webmail\./.test(this.domain)?Y[2095]:Y[Me.toString()]||Y[je[2]]||"whostmgr",this.securityToken=je[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 tt=this.securityToken+"/";this.isUnprotected?tt="/":this.isCpanel?tt+="frontend/"+this.theme+"/":this.isWebmail?tt+="webmail/"+this.theme+"/":this.isOther&&(tt="/"),this.themePath=tt,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(X){return X&&X.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(pe){return this.themePath+pe}buildFullPath(pe){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(pe)}buildTokenPath(pe){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+pe}}class be{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 Ne=F(3971),Re=F.n(Ne),ke=F(6062),qe=F.n(ke),ze=function(X){return X[X.Error=0]="Error",X[X.Warning=1]="Warning",X[X.Information=2]="Information",X[X.Unknown=3]="Unknown",X}(ze||{});const Ke={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Pt{constructor(pe,Me){if(this.status=0,this.messages=[],this.meta=function Ge(X){return JSON.parse(JSON.stringify(X))}(Ke),this.options={keepUnprocessedResponse:!1},Re()(pe)||qe()(pe))throw new Error("The response was unexpectedly undefined or null");Me&&(this.options=Me),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(pe)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(pe){return this.messages.filter(Me=>Me.type===pe)}get errors(){return this._getMessages(ze.Error)}get warnings(){return this._getMessages(ze.Warning)}get infoMessages(){return this._getMessages(ze.Information)}_hasMessages(pe){return this.messages.filter(Me=>Me.type===pe).length>0}get hasErrors(){return this._hasMessages(ze.Error)}get hasWarnings(){return this._hasMessages(ze.Warning)}get hasInfoMessages(){return this._hasMessages(ze.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class At{constructor(pe){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={},pe.chunk&&(this.isPaged=!0,this.record=parseInt(pe.chunk.start,10)||0,this.page=parseInt(pe.chunk.current,10)||0,this.pageSize=parseInt(pe.chunk.size,10)||0,this.totalPages=parseInt(pe.chunk.chunks,10)||0,this.totalRecords=parseInt(pe.chunk.records,10)||0),pe.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(pe.filter.filtered,10)||0);const Me=new Set(["paginate","filter"]);Object.keys(pe).filter(je=>!Me.has(je)).forEach(je=>{this.properties[je]=pe[je]})}}class at extends Pt{_parseStatus(pe){if(this.status=0,typeof pe.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(pe.result,10)}_parseMessages(pe){if(!pe.result){const Me=[pe.reason];Me&&Me.length&&Me.forEach(je=>{this.messages.push({type:ze.Error,message:je})})}}_reduce_list_data(pe){if("object"==typeof pe&&!(pe instanceof Array)){const Me=Object.keys(pe);if(1===Me.length){const je=pe[Me[0]];je?je instanceof Array&&(pe=je):pe=[]}}return pe}constructor(pe,Me){if(super(pe,Me),!pe)throw new Error("Response object should be defined.");pe.metadata&&(this._parseStatus(pe.metadata),this._parseMessages(pe.metadata),this.meta=new At(pe.metadata)),this.data=this._reduce_list_data(pe.data)}}let ee=(()=>{class X{constructor(Me){this.http=Me}get(Me){const je=Me.generate({verb:H.o.GET,encoder:new W.CY}),tt=this.packageUrl(je);return this.http.get(tt,{headers:this.packageHeaders(je)}).pipe((0,k.T)(this.packageResponseHandler(tt)))}post(Me){const je=Me.generate(),tt=this.packageUrl(je);return this.http.post(tt,je.body,{headers:this.packageHeaders(je)}).pipe((0,k.T)(this.packageResponseHandler(tt)))}packageHeaders(Me){const je={};return Me.headers.forEach(tt=>{je[tt.name]=tt.value}),new x.Lr(je)}packageUrl(Me){return new ue(new be).buildTokenPath(Me.url)}packageResponseHandler(Me){return je=>{const tt=new at(je);return tt.meta.properties.url=Me,tt}}static{this.\u0275fac=function(je){return new(je||X)(a.KVO(x.Qq))}}static{this.\u0275prov=a.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}}return X})()},8658:(ye,q,F)=>{"use strict";F.d(q,{B:()=>W});var a=F(3953),x=F(6381);const k=new a.nKC("window"),H=Z=>new x.h(Z.CLDR,Z.LEXICON);let W=(()=>{class Z{static{this.\u0275fac=function(fe){return new(fe||Z)}}static{this.\u0275mod=a.$C({type:Z})}static{this.\u0275inj=a.G2t({providers:[{provide:k,useValue:window},{provide:x.h,useFactory:H,deps:[k]}]})}}return Z})()},9490:(ye,q,F)=>{"use strict";F.d(q,{Ab:()=>Nr,Qg:()=>Ie,Sy:()=>Rr,br:()=>Se,eK:()=>Qe,pt:()=>si,sb:()=>Gn,tq:()=>Zn,uE:()=>rn,x6:()=>He});var a=F(3953),x=F(177),k=F(1413),H=F(5964),W=F(6977),Z=F(3366),he=F(3294),ie=F(9417),fe=F(8658),Y=F(6381),ue=F(9969),be=F(728),Ne=F(3400);function je(R,Ee){if(1&R){const I=a.RV6();a.j41(0,"button",9),a.bIt("click",function(){a.eBV(I);const de=a.XpG(2);return a.Njj(de.fireClose())}),a.j41(1,"span"),a.EFF(2,"\xd7"),a.k0s()()}if(2&R){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 tt(R,Ee){if(1&R){const I=a.RV6();a.j41(0,"button",10),a.bIt("click",function(){a.eBV(I);const de=a.XpG(2);return a.Njj(de.fireToggleMore())}),a.EFF(1),a.k0s()}if(2&R){const I=a.XpG(2);a.Y8G("id",I.moreButtonID),a.R7$(),a.SpI(" ",I.moreLabel," ")}}function Gt(R,Ee){if(1&R&&(a.j41(0,"strong",11),a.EFF(1),a.k0s()),2&R){const I=a.XpG(2);a.R7$(),a.JRh(I.label)}}function mn(R,Ee){if(1&R&&(a.j41(0,"span",12),a.EFF(1),a.k0s()),2&R){const I=a.XpG(2);a.Y8G("id",I.textMessageID),a.R7$(),a.SpI(" ",I.message," ")}}function et(R,Ee){if(1&R&&(a.j41(0,"li")(1,"span",12),a.EFF(2),a.k0s()()),2&R){const I=Ee.$implicit,z=Ee.index,de=a.XpG(3);a.R7$(),a.FS9("id",de.textListID+"_"+z),a.R7$(),a.SpI(" ",I," ")}}function An(R,Ee){if(1&R&&(a.j41(0,"ul",13),a.DNE(1,et,3,2,"li",14),a.k0s()),2&R){const I=a.XpG(2);a.R7$(),a.Y8G("ngForOf",I.alert.list)}}function Or(R,Ee){if(1&R&&(a.j41(0,"div",1),a.DNE(1,je,3,4,"button",2)(2,tt,2,2,"button",3),a.nrm(3,"span"),a.j41(4,"div",4),a.DNE(5,Gt,2,1,"strong",5),a.j41(6,"span",6),a.DNE(7,mn,2,2,"span",7),a.k0s(),a.DNE(8,An,2,1,"ul",8),a.k0s()()),2&R){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 un(R,Ee){if(1&R){const I=a.RV6();a.j41(0,"div",6)(1,"cp-alert",7),a.bIt("close",function(){const de=a.eBV(I).$implicit,We=a.XpG();return a.Njj(We.alertClosed(de))}),a.k0s()()}if(2&R){const I=Ee.$implicit;a.R7$(),a.Y8G("alert",I)}}function dn(R,Ee){if(1&R&&a.nrm(0,"div",8),2&R){const I=a.XpG();a.Y8G("ngClass",I.positionClasses)}}const $n=["searchInput"];function xn(R,Ee){if(1&R&&(a.j41(0,"span",6),a.EFF(1),a.k0s()),2&R){const I=a.XpG();a.R7$(),a.JRh(I.clearIconLabel)}}function hr(R,Ee){if(1&R){const I=a.RV6();a.j41(0,"button",3),a.bIt("click",function(){const de=a.eBV(I).$implicit,We=a.XpG();return a.Njj(We.onOptionClicked(de))}),a.k0s()}if(2&R){const I=Ee.$implicit,z=a.XpG();a.Y8G("disabled",z.disabled)("selected",z.isOptionSelected(I))("value",I)}}function Hn(R,Ee){1&R&&a.EFF(0," >\n")}function ft(R,Ee){1&R&&a.EFF(0," <\n")}function Pe(R,Ee){1&R&&a.EFF(0," >>\n")}function ii(R,Ee){1&R&&a.EFF(0," <<\n")}class Rn{static{this.defaultShowMore=!1}static{this.defaultAutoClosePeriod=0}static{this.defaultOptions={autoClosePeriod:Rn.defaultAutoClosePeriod,list:[]}}constructor(Ee,I,z=Rn.defaultOptions){this._message=Ee,this._type=I;const de=z.id?z.id:Math.random().toString(36).substr(2,9);this._id=de,this._closable=null==z.isCloseable||z.isCloseable,this._autoClosePeriod=z.autoClosePeriod,this._list=z.list,this._showMore=z.showMore||Rn.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(Ee){const{message:I,type:z,...de}=Ee;return new Rn(I,z,de)}}var Nt=function(R){return R[R.error=0]="error",R[R.success=1]="success",R[R.warning=2]="warning",R[R.information=3]="information",R}(Nt||{}),En=function(R){return R.add="add",R.remove="remove",R.clear="clear",R}(En||{});let rn=(()=>{class R{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=R.defaultGroup){this._alerts[z]||(this._alerts[z]=[]);const de=I instanceof Rn?I:Rn.makeAlert(I);if(this.list(z).push(de),this._alertEventsSource.next({type:En.add,group:z,alert:de}),(0,a.naY)())switch(de.type){case Nt.error:console.error(de.message,de);break;case Nt.warning:console.warn(de.message,de);break;default:console.log(de.message,de)}return de}success(I,z=R.defaultGroup){return this.add(new Rn(I,Nt.success,R.defaultSuccessOptions),z)}error(I,z=R.defaultGroup){return this.add({message:I,type:Nt.error},z)}info(I,z=R.defaultGroup){return this.add({message:I,type:Nt.information},z)}warn(I,z=R.defaultGroup){return this.add({message:I,type:Nt.warning},z)}removeById(I,z=R.defaultGroup){const de=this.list(z),We=de.findIndex(gt=>gt.id===I,0);if(-1!==We){const gt=de[We];de.splice(We,1),this._alertEventsSource.next({type:En.remove,group:z,alert:gt})}}clear(I=R.defaultGroup){this._alerts[I]=[],this._alertEventsSource.next({type:En.clear,group:I})}list(I=R.defaultGroup){return null==this._alerts[I]&&(this._alerts[I]=[]),this._alerts[I]}static{this.\u0275fac=function(z){return new(z||R)}}static{this.\u0275prov=a.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})();var Tt=function(R){return R.inline="inline",R.topLeft="top-left",R.topMiddle="top-middle",R.topRight="top-right",R.bottomLeft="bottom-left",R.bottomMiddle="bottom-middle",R.bottomRight="bottom-right",R.middleLeft="middle-left",R.middleMiddle="middle-middle",R.middleRight="middle-right",R}(Tt||{});const Ct=Tt.topRight,Rt=Tt.topLeft;let si=(()=>{class R{static{this.\u0275fac=function(z){return new(z||R)}}static{this.\u0275mod=a.$C({type:R})}static{this.\u0275inj=a.G2t({imports:[x.MD]})}}return R})();var Jt=function(R){return R.new="new",R.closed="closed",R.open="open",R}(Jt||{});let zr=(()=>{class R{constructor(I){this.locale=I,this.close=new a.bkB,this.toggleMore=new a.bkB,this.animationClass=Jt.new}get icon(){switch(this.alert.type){case Nt.error:return"type-icon fas fa-times-circle";case Nt.warning:return"type-icon fas fa-exclamation-triangle";case Nt.information:return"type-icon fas fa-info-circle";case Nt.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Nt.error:return"danger";case Nt.warning:return"warning";case Nt.information:return"info";case Nt.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 Nt.success:this.label=this.locale.maketext("Success:");break;case Nt.error:this.label=this.locale.maketext("Error:");break;case Nt.information:this.label=this.locale.maketext("Information:");break;case Nt.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=Jt.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=Jt.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||R)(a.rXU(Y.h))}}static{this.\u0275cmp=a.VBU({type:R,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,de){1&z&&a.DNE(0,Or,9,13,"div",0),2&z&&a.Y8G("ngIf",!de.isClosed)},dependencies:[x.Sq,x.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)(Jt.new,(0,ue.iF)({opacity:0})),(0,ue.wk)(Jt.open,(0,ue.iF)({opacity:1})),(0,ue.wk)(Jt.closed,(0,ue.iF)({opacity:0,transform:"translateX(25%)"})),(0,ue.kY)(`${Jt.open} => ${Jt.closed}`,[(0,ue.i0)("0.25s")]),(0,ue.kY)(`${Jt.new} => ${Jt.open}`,[(0,ue.i0)("0.25s")]),(0,ue.kY)(`${Jt.closed} => ${Jt.open}`,[(0,ue.i0)("0.25s")])])]}})}}return R})(),zn=(()=>{class R{static{this.\u0275fac=function(z){return new(z||R)}}static{this.\u0275mod=a.$C({type:R})}static{this.\u0275inj=a.G2t({imports:[x.MD,be.wb,fe.B]})}}return R})(),vr=(()=>{class R{constructor(I){this.locale=I}get position(){return this.locale.isLtr?Ct:Rt}static{this.\u0275fac=function(z){return new(z||R)(a.KVO(Y.h))}}static{this.\u0275prov=a.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})(),Nr=(()=>{class R{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?R.positionPrefix+Tt.inline.toString():R.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(I){this._position=((R,Ee=Tt.topRight)=>{if(R){const I=(R=>{const Ee=Object.keys(Tt),z=Object.values(Tt).indexOf(R);return-1!==z?Ee[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)})(R);if(I)return Tt[I]}return Ee})(I)}alertClosed(I){this._alertService.removeById(I.id,this.group)}ngOnInit(){this.group||(this.group=rn.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 En.add:this._addAlert(I.alert);break;case En.clear:this._clearAlerts();break;case En.remove:this._removeAlert(I.alert)}}static{this.\u0275fac=function(z){return new(z||R)(a.rXU(rn),a.rXU(vr))}}static{this.\u0275cmp=a.VBU({type:R,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,de){1&z&&(a.j41(0,"div")(1,"div",2,0)(3,"div",3,1),a.DNE(5,un,2,1,"div",4),a.k0s()(),a.DNE(6,dn,1,1,"div",5),a.k0s()),2&z&&(a.R7$(),a.Y8G("ngClass",de.positionClasses),a.R7$(4),a.Y8G("ngForOf",de.alerts),a.R7$(),a.Y8G("ngIf",de.hasAlerts))},dependencies:[x.YU,x.Sq,x.bT,zr],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 R})(),Gn=(()=>{class R{static{this.\u0275fac=function(z){return new(z||R)}}static{this.\u0275mod=a.$C({type:R})}static{this.\u0275inj=a.G2t({imports:[x.MD,zn]})}}return R})(),Rr=(()=>{class R{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,Z.B)(this.debounce),(0,he.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||R)(a.rXU(Y.h))}}static{this.\u0275cmp=a.VBU({type:R,selectors:[["cp-search"]],viewQuery:function(z,de){if(1&z&&a.GBs($n,5),2&z){let We;a.mGM(We=a.lsd())&&(de.searchInput=We.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,de){if(1&z){const We=a.RV6();a.j41(0,"div",1)(1,"input",2,0),a.mxI("ngModelChange",function(wt){return a.eBV(We),a.DH7(de.value,wt)||(de.value=wt),a.Njj(wt)}),a.bIt("keyup.esc",function(){return a.eBV(We),a.Njj(de.clearValue())}),a.k0s(),a.j41(3,"span",3),a.bIt("click",function(){return a.eBV(We),a.Njj(de.clearValue())}),a.nrm(4,"span",4),a.DNE(5,xn,2,1,"span",5),a.k0s()()}2&z&&(a.R7$(),a.Mz_("id","",de.id,"-search-input"),a.R50("ngModel",de.value),a.Y8G("disabled",de.disabled)("placeholder",de.placeholder)("title",de.label),a.BMQ("aria-label",de.label)("list",de.list),a.R7$(2),a.Mz_("id","",de.id,"-search-input-addon"),a.R7$(),a.Mz_("id","",de.id,"-search-input-icon"),a.Y8G("ngClass",(null==de.value?null:de.value.length)>0?"fas fa-times":"fas fa-search"),a.R7$(),a.Y8G("ngIf",(null==de.value?null:de.value.length)>0))},dependencies:[x.YU,x.bT,ie.me,ie.BC,ie.vS],changeDetection:0})}}return R})(),Zn=(()=>{class R{static{this.\u0275fac=function(z){return new(z||R)}}static{this.\u0275mod=a.$C({type:R})}static{this.\u0275inj=a.G2t({imports:[x.MD,ie.YN,fe.B]})}}return R})(),$=(()=>{class R{constructor(I,z=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(z),this.selectorName=I.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach(I=>{if(!this[I])throw new Error(`"${I}" must be defined for "${this.selectorName}"`)}),this._initiate()}_initiate(){}static{this.\u0275fac=function(z){a.QTQ()}}static{this.\u0275dir=a.FsC({type:R,inputs:{id:"id"}})}}return R})();var U=function(R){return R[R.all=-1]="all",R}(U||{});const se="pageSizeOption";let we=(()=>{class R{constructor(I){this.locale=I,this.id="",this.cssClasses="",this.description="",this.ariaPressed=!1,this.selected=!1,this._baseCSSClasses="btn btn-default btn-sm no-validation-border",this._activeClass="active"}ngOnChanges(){this.value===U.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${se}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${se}_${this.value.toString()}`),this.selected?(this.cssClasses=`${this._baseCSSClasses} ${this._activeClass}`,this.ariaPressed=!0):(this.cssClasses=this._baseCSSClasses,this.ariaPressed=!1)}ngOnInit(){this.ngOnChanges()}static{this.\u0275fac=function(z){return new(z||R)(a.rXU(Y.h))}}static{this.\u0275dir=a.FsC({type:R,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(z,de){2&z&&(a.Mr5("id",de.id)("innerText",de.label),a.BMQ("aria-label",de.description)("aria-pressed",de.ariaPressed),a.HbH(de.cssClasses))},inputs:{value:"value",selected:"selected"},features:[a.OA$]})}}return R})(),Se=(()=>{class R extends ${static{this.defaultPageSizeOptions=[20,50,100,500]}static{this.defaultPageSize=20}constructor(I,z){super(I),this.locale=z,this.selectedPageSize=R.defaultPageSize,this.pageSizeOptions=R.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new a.bkB,this.displayedPageSizeOptions=[]}isOptionSelected(I){return I===this.selectedPageSize}onOptionClicked(I){this._dispatchChange(I)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const I=this.pageSizeOptions.slice(0).sort((de,We)=>de-We);this.showOptionAll&&I.push(U.all),-1!==I.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=I:this._dispatchChange(I[0])}_dispatchChange(I){this.optionSelected.emit(I)}static{this.\u0275fac=function(z){return new(z||R)(a.rXU(a.aKT),a.rXU(Y.h))}}static{this.\u0275cmp=a.VBU({type:R,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[a.Vt3,a.OA$],decls:5,vars:2,consts:[[1,"text-small","text-uppercase"],["role","group",1,"btn-group","page-size-buttons"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click",4,"ngFor","ngForOf"],["cpPageSizeOption","","type","button",3,"click","disabled","selected","value"]],template:function(z,de){1&z&&(a.j41(0,"div")(1,"div",0),a.EFF(2),a.k0s(),a.j41(3,"div",1),a.DNE(4,hr,1,3,"button",2),a.k0s()()),2&z&&(a.R7$(2),a.SpI(" ",de.locale.maketext("Entries Per Page")," "),a.R7$(2),a.Y8G("ngForOf",de.displayedPageSizeOptions))},dependencies:[x.Sq,we],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]})}}return R})(),Ie=(()=>{class R{static{this.\u0275fac=function(z){return new(z||R)}}static{this.\u0275mod=a.$C({type:R})}static{this.\u0275inj=a.G2t({imports:[x.MD,fe.B]})}}return R})(),Qe=(()=>{class R extends ${static{this.defaultMaxPagesVisible=5}static{this.firstPageIndex=1}constructor(I,z){super(I),this.locale=z,this.maxPagesVisible=R.defaultMaxPagesVisible,this.selectedPage=R.firstPageIndex,this.pageSize=Se.defaultPageSize,this.disabled=!1,this.pageChanged=new a.bkB}onPageChanged(I){this._dispatchChange(I)}onNumPagesChanged(I){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(I){const z=this.pageSize*(I-1),de=Math.min(z+this.pageSize,this.totalItems);this.pageChanged.emit({page:I,firstItem:z,lastItem:de}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",z+1,de,this.totalItems)}static{this.\u0275fac=function(z){return new(z||R)(a.rXU(a.aKT),a.rXU(Y.h))}}static{this.\u0275cmp=a.VBU({type:R,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[a.Vt3],decls:12,vars:14,consts:[["nextTemplate",""],["prevTemplate",""],["lastTemplate",""],["firstTemplate",""],[3,"id"],[3,"ngModelChange","pageChanged","numPages","id","totalItems","maxSize","disabled","itemsPerPage","ngModel","boundaryLinks","customFirstTemplate","customLastTemplate","customPreviousTemplate","customNextTemplate"],[1,"pagination-item-details","text-small","text-right","flip"]],template:function(z,de){if(1&z){const We=a.RV6();a.j41(0,"div",4)(1,"pagination",5),a.mxI("ngModelChange",function(wt){return a.eBV(We),a.DH7(de.selectedPage,wt)||(de.selectedPage=wt),a.Njj(wt)}),a.bIt("pageChanged",function(wt){return a.eBV(We),a.Njj(de.onPageChanged(wt.page))})("numPages",function(wt){return a.eBV(We),a.Njj(de.onNumPagesChanged(wt))}),a.k0s(),a.j41(2,"p",6),a.EFF(3),a.k0s()(),a.DNE(4,Hn,1,0,"ng-template",null,0,a.C5r)(6,ft,1,0,"ng-template",null,1,a.C5r)(8,Pe,1,0,"ng-template",null,2,a.C5r)(10,ii,1,0,"ng-template",null,3,a.C5r)}if(2&z){const We=a.sdS(5),gt=a.sdS(7),wt=a.sdS(9),Jn=a.sdS(11);a.Y8G("id",de.id),a.R7$(),a.Mz_("id","",de.id,"_ngx_paginator"),a.Y8G("totalItems",de.totalItems)("maxSize",de.maxPagesVisible)("disabled",de.disabled)("itemsPerPage",de.pageSize),a.R50("ngModel",de.selectedPage),a.Y8G("boundaryLinks",!0)("customFirstTemplate",Jn)("customLastTemplate",wt)("customPreviousTemplate",gt)("customNextTemplate",We),a.R7$(2),a.SpI(" ",de.itemsDetails," ")}},dependencies:[ie.BC,ie.vS,Ne.eK],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]})}}return R})(),He=(()=>{class R{static{this.\u0275fac=function(z){return new(z||R)}}static{this.\u0275mod=a.$C({type:R})}static{this.\u0275inj=a.G2t({imports:[x.MD,ie.YN,Ne.x6.forRoot(),fe.B]})}}return R})()}}]);
Back to Directory