Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/web-log-retention/vendor-c0d76f48.4e8f6ae31c44bf27.js

(self.webpackChunkweb_log_retention=self.webpackChunkweb_log_retention||[]).push([[128],{7343:(pe,K,O)=>{"use strict";O.d(K,{o:()=>r});var r=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}(r||{})},6884:(pe,K,O)=>{"use strict";O.d(K,{uM:()=>He,CY:()=>Te});var r=O(3971),x=O.n(r),V=O(6062),L=O.n(V),B=O(227),H=O.n(B),q=O(7642),z=O.n(q),te=O(9706),Y=O.n(te),ie=O(1622),ge=O.n(ie),Oe=O(4968),Ee=O.n(Oe);function Ce(Xe){if(x()(Xe)||L()(Xe)||H()(Xe)||z()(Xe)||Y()(Xe))return!0;if(!Ee()(Xe)&&!ge()(Xe))return!1;for(const bt in Xe)if(!Ce(Xe[bt]))return!1;return!0}class Te{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(bt,xt,Je){if(!bt)throw new Error("Name must have a non-empty value");return`${bt}=${encodeURIComponent(xt.toString())}`+(Je?"":this.recordSeparator)}}class He{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(bt,xt,Je){if(!bt)throw new Error("Name must have a non-empty value");if(!Ce(xt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(bt)+":"+JSON.stringify(xt)+(Je?"":this.recordSeparator)}}},8391:(pe,K,O)=>{"use strict";O.d(K,{d:()=>x,t:()=>r});var r=function(V){return V[V.Contains=0]="Contains",V[V.Begins=1]="Begins",V[V.Ends=2]="Ends",V[V.Matches=3]="Matches",V[V.Equal=4]="Equal",V[V.NotEqual=5]="NotEqual",V[V.LessThan=6]="LessThan",V[V.LessThanUnlimited=7]="LessThanUnlimited",V[V.GreaterThan=8]="GreaterThan",V[V.GreaterThanUnlimited=9]="GreaterThanUnlimited",V[V.Defined=10]="Defined",V[V.Undefined=11]="Undefined",V}(r||{});class x{constructor(L,B,H){if(!L)throw new Error("You must define a non-empty column name.");this.column=L,this.operator=B,this.value=H}}},6153:(pe,K,O)=>{"use strict";O.d(K,{FU:()=>V,UE:()=>r,r3:()=>x});var r=function(L){return L[L.Ascending=0]="Ascending",L[L.Descending=1]="Descending",L}(r||{}),x=function(L){return L[L.Lexicographic=0]="Lexicographic",L[L.Ipv4=1]="Ipv4",L[L.Numeric=2]="Numeric",L[L.NumericZeroAsMax=3]="NumericZeroAsMax",L}(x||{});class V{constructor(B,H=r.Ascending,q=x.Lexicographic){if(!B)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=B,this.direction=H,this.type=q}}},2312:(pe,K,O)=>{"use strict";O.d(K,{m:()=>pt,R:()=>It});var r=O(4667),x=O.n(r);function V(Le){return Le?"1":"0"}var H=O(6153),q=O(8391);class z{constructor(j,se){if(!j)throw new Error("You must provide a name when creating a name/value argument");this.name=j,this.value=se}}const ie=Number.POSITIVE_INFINITY;class ge{constructor(j=1,se=20){if(j<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(se<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=j,this.pageSize=se}all(){return this.pageSize===ie}}class Oe{constructor(j=[]){this.headers=j}push(j){this.headers.push(j)}forEach(j,se){this.headers.forEach(j,se)}toArray(){const j=[];return this.headers.forEach(se=>j.push({name:se.name,value:se.value})),j}toObject(){return this.headers.reduce((j,se)=>(j[se.name]=se.value,j),{})}}class Ee{constructor(j){this._header=j}get name(){return this._header.name}get value(){return this._header.value}}class Ce extends Error{constructor(j){super(j),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,Ce.prototype)}}class Fe extends Error{constructor(j){super(j),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,Fe.prototype)}}class Te extends Ee{constructor(j,se){if(!j)throw new Ce("You must pass a valid token to the constructor.");if(!se&&!/^.+[:]/.test(j))throw new Ce("You must pass a cPanel username associated with the cPanel API token.");if(!se&&!/[:].+$/.test(j))throw new Ce("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${se?se+":":""}${j}`})}}Error,Error;class xt{get usePager(){return this._usePager}constructor(j){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ge,this.headers=new Oe,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,j&&(this.method=j.method,j.namespace&&(this.namespace=j.namespace),j.arguments&&j.arguments.forEach(se=>{this.addArgument(se)}),j.sorts&&j.sorts.forEach(se=>{this.addSort(se)}),j.filters&&j.filters.forEach(se=>{this.addFilter(se)}),j.columns&&j.columns.forEach(se=>this.addColumn(se)),j.pager&&this.paginate(j.pager),this.config=j.config?j.config:this.defaultConfig,j.headers&&j.headers.forEach(se=>{this.addHeader(se)}))}addArgument(j){return this.arguments.push(j instanceof z?j:new z(j.name,j.value)),this}addSort(j){return this.sorts.push(j instanceof H.FU?j:new H.FU(j.column,j.direction,j.type)),this}addFilter(j){return this.filters.push(j instanceof q.d?j:new q.d(j.column,j.operator,j.value)),this}addColumn(j){return this.columns.push(j),this}addHeader(j){return this.headers.push(j instanceof Ee?j:new Ee(j)),this}paginate(j){return this.pager=j instanceof ge?j:new ge(j.page,j.pageSize||20),this._usePager=!0,this}}var Je=O(7343);const Ht=new class vt{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Je.o.GET,Je.o.DELETE,Je.o.HEAD].forEach(j=>{const se=Je.o[j].toString();this.map[se]={verb:se,dataInBody:!1}}),[Je.o.POST,Je.o.PUT,Je.o.PATCH].forEach(j=>{const se=Je.o[j].toString();this.map[se]={verb:se,dataInBody:!0}})}getRule(j){const se="string"==typeof j?j:Je.o[j].toString();let Se=this.map[se];return Se||(Se=this.map.DEFAULT),Se}};var nt=O(6884),dt=O(6860),lt=O.n(dt),It=function(Le){return Le.JsonApi="json-api",Le.XmlApi="xml-api",Le}(It||{});class pt extends xt{addHeader(j){if(j instanceof Te)throw new Fe("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(j),this}_build(j,se){let Se="";return j.forEach((Re,ot,ut)=>{Se+=se.encode(Re.name,Re.value,ot===ut.length-1)}),se.separatorStart+Se+se.separatorEnd}_make_whm_api_fieldspec_from_number(j){return lt()("",Math.floor(j/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(j%26)}_generateArguments(j){j.push({name:"api.version",value:1}),this.arguments.forEach(Se=>j.push(Se))}_generateSorts(j){this.sorts.forEach((se,Se)=>{0===Se&&j.push({name:"api.sort.enable",value:V(!0)});const Re=`api.sort.${this._make_whm_api_fieldspec_from_number(Se)}`;j.push({name:`${Re}.field`,value:se.column}),j.push({name:`${Re}.reverse`,value:V(se.direction!==H.UE.Ascending)}),j.push({name:`${Re}.method`,value:x()(H.r3[se.type])})})}_lookupFilterOperator(j){switch(j){case q.t.GreaterThanUnlimited:return"gt_handle_unlimited";case q.t.GreaterThan:return"gt";case q.t.LessThanUnlimited:return"lt_handle_unlimited";case q.t.LessThan:return"lt";case q.t.Equal:return"eq";case q.t.Begins:return"begins";case q.t.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${q.t[j]} for WHM API 1`)}}_generateFilters(j){this.filters.forEach((se,Se)=>{0===Se&&(j.push({name:"api.filter.enable",value:V(!0)}),j.push({name:"api.filter.verbose",value:V(!0)}));const Re=`api.filter.${this._make_whm_api_fieldspec_from_number(Se)}`;j.push({name:`${Re}.field`,value:se.column}),j.push({name:`${Re}.type`,value:this._lookupFilterOperator(se.operator)}),j.push({name:`${Re}.arg0`,value:se.value})})}_translatePageToStart(j){return(j.page-1)*j.pageSize+1}_generatePagination(j){if(!this.usePager)return;const se=this.pager.all();j.push({name:"api.chunk.enable",value:V(!0)}),j.push({name:"api.chunk.verbose",value:V(!0)}),j.push({name:"api.chunk.start",value:se?-1:this._translatePageToStart(this.pager)}),se||j.push({name:"api.chunk.size",value:this.pager.pageSize})}constructor(j,se){if(super(se),this.apiType=It.JsonApi,j!=It.JsonApi&&j!=It.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=j,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}generate(j){j||(j={verb:Je.o.POST,encoder:this.config.json?new nt.uM:new nt.CY}),j.encoder||(j.encoder=this.config.json?new nt.uM:new nt.CY);const se=Ht.getRule(j.verb),Se={headers:new Oe([{name:"Content-Type",value:j.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},Re=[];this._generateArguments(Re),this._generateSorts(Re),this._generateFilters(Re),this._generatePagination(Re);const ot=this._build(Re,j.encoder);return se.dataInBody?Se.body=ot:Se.url+=j.verb===Je.o.GET?`?${ot}`:ot,this.headers.forEach(ut=>{Se.headers.push({name:ut.name,value:ut.value})}),Se}}},914:(pe,K,O)=>{var r=O(2286);pe.exports=r.Symbol},9655:pe=>{pe.exports=function K(O,r){for(var x=-1,V=null==O?0:O.length,L=Array(V);++x<V;)L[x]=r(O[x],x,O);return L}},8859:pe=>{pe.exports=function K(O,r,x,V){var L=-1,B=null==O?0:O.length;for(V&&B&&(x=O[++L]);++L<B;)x=r(x,O[L],L,O);return x}},8058:(pe,K,O)=>{var x=O(6010)("length");pe.exports=x},5077:pe=>{pe.exports=function K(O){return O.split("")}},8906:pe=>{var K=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;pe.exports=function O(r){return r.match(K)||[]}},2307:(pe,K,O)=>{var r=O(914),x=O(6710),V=O(3533),H=r?r.toStringTag:void 0;pe.exports=function q(z){return null==z?void 0===z?"[object Undefined]":"[object Null]":H&&H in Object(z)?x(z):V(z)}},6010:pe=>{pe.exports=function K(O){return function(r){return r?.[O]}}},8571:pe=>{pe.exports=function K(O){return function(r){return O?.[r]}}},7364:pe=>{var O=Math.floor;pe.exports=function r(x,V){var L="";if(!x||V<1||V>9007199254740991)return L;do{V%2&&(L+=x),(V=O(V/2))&&(x+=x)}while(V);return L}},3597:pe=>{pe.exports=function K(O,r,x){var V=-1,L=O.length;r<0&&(r=-r>L?0:L+r),(x=x>L?L:x)<0&&(x+=L),L=r>x?0:x-r>>>0,r>>>=0;for(var B=Array(L);++V<L;)B[V]=O[V+r];return B}},5299:(pe,K,O)=>{var r=O(914),x=O(9655),V=O(1622),L=O(3443),B=1/0,H=r?r.prototype:void 0,q=H?H.toString:void 0;pe.exports=function z(te){if("string"==typeof te)return te;if(V(te))return x(te,z)+"";if(L(te))return q?q.call(te):"";var Y=te+"";return"0"==Y&&1/te==-B?"-0":Y}},8851:(pe,K,O)=>{var r=O(5649),x=/^\s+/;pe.exports=function V(L){return L&&L.slice(0,r(L)+1).replace(x,"")}},643:(pe,K,O)=>{var r=O(3597);pe.exports=function x(V,L,B){var H=V.length;return B=void 0===B?H:B,!L&&B>=H?V:r(V,L,B)}},9064:(pe,K,O)=>{var r=O(8859),x=O(2473),V=O(2922),B=RegExp("['\u2019]","g");pe.exports=function H(q){return function(z){return r(V(x(z).replace(B,"")),q,"")}}},2297:(pe,K,O)=>{var r=O(7364),x=O(5299),V=O(643),L=O(7817),B=O(706),H=O(7917),q=Math.ceil;pe.exports=function z(te,Y){var ie=(Y=void 0===Y?" ":x(Y)).length;if(ie<2)return ie?r(Y,te):Y;var ge=r(Y,q(te/B(Y)));return L(Y)?V(H(ge),0,te).join(""):ge.slice(0,te)}},1392:(pe,K,O)=>{var V=O(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"});pe.exports=V},7111:pe=>{var K="object"==typeof global&&global&&global.Object===Object&&global;pe.exports=K},4352:(pe,K,O)=>{var x=O(9478)(Object.getPrototypeOf,Object);pe.exports=x},6710:(pe,K,O)=>{var r=O(914),x=Object.prototype,V=x.hasOwnProperty,L=x.toString,B=r?r.toStringTag:void 0;pe.exports=function H(q){var z=V.call(q,B),te=q[B];try{q[B]=void 0;var Y=!0}catch{}var ie=L.call(q);return Y&&(z?q[B]=te:delete q[B]),ie}},7817:pe=>{var H=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");pe.exports=function q(z){return H.test(z)}},725:pe=>{var K=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;pe.exports=function O(r){return K.test(r)}},3533:pe=>{var O=Object.prototype.toString;pe.exports=function r(x){return O.call(x)}},9478:pe=>{pe.exports=function K(O,r){return function(x){return O(r(x))}}},2286:(pe,K,O)=>{var r=O(7111),x="object"==typeof self&&self&&self.Object===Object&&self,V=r||x||Function("return this")();pe.exports=V},706:(pe,K,O)=>{var r=O(8058),x=O(7817),V=O(7954);pe.exports=function L(B){return x(B)?V(B):r(B)}},7917:(pe,K,O)=>{var r=O(5077),x=O(7817),V=O(1773);pe.exports=function L(B){return x(B)?V(B):r(B)}},5649:pe=>{var K=/\s/;pe.exports=function O(r){for(var x=r.length;x--&&K.test(r.charAt(x)););return x}},7954:pe=>{var K="\\ud800-\\udfff",B="["+K+"]",H="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",q="\\ud83c[\\udffb-\\udfff]",te="[^"+K+"]",Y="(?:\\ud83c[\\udde6-\\uddff]){2}",ie="[\\ud800-\\udbff][\\udc00-\\udfff]",Oe="(?:"+H+"|"+q+")?",Ee="[\\ufe0e\\ufe0f]?",Fe=Ee+Oe+"(?:\\u200d(?:"+[te,Y,ie].join("|")+")"+Ee+Oe+")*",Te="(?:"+[te+H+"?",H,Y,ie,B].join("|")+")",He=RegExp(q+"(?="+q+")|"+Te+Fe,"g");pe.exports=function Xe(bt){for(var xt=He.lastIndex=0;He.test(bt);)++xt;return xt}},1773:pe=>{var K="\\ud800-\\udfff",B="["+K+"]",H="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",q="\\ud83c[\\udffb-\\udfff]",te="[^"+K+"]",Y="(?:\\ud83c[\\udde6-\\uddff]){2}",ie="[\\ud800-\\udbff][\\udc00-\\udfff]",Oe="(?:"+H+"|"+q+")?",Ee="[\\ufe0e\\ufe0f]?",Fe=Ee+Oe+"(?:\\u200d(?:"+[te,Y,ie].join("|")+")"+Ee+Oe+")*",Te="(?:"+[te+H+"?",H,Y,ie,B].join("|")+")",He=RegExp(q+"(?="+q+")|"+Te+Fe,"g");pe.exports=function Xe(bt){return bt.match(He)||[]}},6546:pe=>{var K="\\ud800-\\udfff",L="\\u2700-\\u27bf",B="a-z\\xdf-\\xf6\\xf8-\\xff",Y="A-Z\\xc0-\\xd6\\xd8-\\xde",ge="\\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",Ee="["+ge+"]",Fe="\\d+",Te="["+L+"]",He="["+B+"]",Xe="[^"+K+ge+Fe+L+B+Y+"]",vt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ht="[\\ud800-\\udbff][\\udc00-\\udfff]",nt="["+Y+"]",lt="(?:"+He+"|"+Xe+")",It="(?:"+nt+"|"+Xe+")",pt="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Le="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",j="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",se="[\\ufe0e\\ufe0f]?",ut=se+j+"(?:\\u200d(?:"+["[^"+K+"]",vt,Ht].join("|")+")"+se+j+")*",We="(?:"+[Te,vt,Ht].join("|")+")"+ut,Bt=RegExp([nt+"?"+He+"+"+pt+"(?="+[Ee,nt,"$"].join("|")+")",It+"+"+Le+"(?="+[Ee,nt+lt,"$"].join("|")+")",nt+"?"+lt+"+"+pt,nt+"+"+Le,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fe,We].join("|"),"g");pe.exports=function Kt(Rt){return Rt.match(Bt)||[]}},2473:(pe,K,O)=>{var r=O(1392),x=O(1339),V=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,te=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");pe.exports=function Y(ie){return(ie=x(ie))&&ie.replace(V,r).replace(te,"")}},1622:pe=>{pe.exports=Array.isArray},227:(pe,K,O)=>{var r=O(2307),x=O(7571);pe.exports=function L(B){return!0===B||!1===B||x(B)&&"[object Boolean]"==r(B)}},6062:pe=>{pe.exports=function K(O){return null===O}},7642:(pe,K,O)=>{var r=O(2307),x=O(7571);pe.exports=function L(B){return"number"==typeof B||x(B)&&"[object Number]"==r(B)}},9052:pe=>{pe.exports=function K(O){var r=typeof O;return null!=O&&("object"==r||"function"==r)}},7571:pe=>{pe.exports=function K(O){return null!=O&&"object"==typeof O}},4968:(pe,K,O)=>{var r=O(2307),x=O(4352),V=O(7571),q=Function.prototype.toString,z=Object.prototype.hasOwnProperty,te=q.call(Object);pe.exports=function Y(ie){if(!V(ie)||"[object Object]"!=r(ie))return!1;var ge=x(ie);if(null===ge)return!0;var Oe=z.call(ge,"constructor")&&ge.constructor;return"function"==typeof Oe&&Oe instanceof Oe&&q.call(Oe)==te}},9706:(pe,K,O)=>{var r=O(2307),x=O(1622),V=O(7571);pe.exports=function B(H){return"string"==typeof H||!x(H)&&V(H)&&"[object String]"==r(H)}},3443:(pe,K,O)=>{var r=O(2307),x=O(7571);pe.exports=function L(B){return"symbol"==typeof B||x(B)&&"[object Symbol]"==r(B)}},3971:pe=>{pe.exports=function K(O){return void 0===O}},6860:(pe,K,O)=>{var r=O(2297),x=O(706),V=O(6394),L=O(1339);pe.exports=function B(H,q,z){H=L(H);var te=(q=V(q))?x(H):0;return q&&te<q?r(q-te,z)+H:H}},4667:(pe,K,O)=>{var x=O(9064)(function(V,L,B){return V+(B?"_":"")+L.toLowerCase()});pe.exports=x},4661:(pe,K,O)=>{var r=O(2419),x=1/0;pe.exports=function L(B){return B?(B=r(B))===x||B===-x?17976931348623157e292*(B<0?-1:1):B==B?B:0:0===B?B:0}},6394:(pe,K,O)=>{var r=O(4661);pe.exports=function x(V){var L=r(V),B=L%1;return L==L?B?L-B:L:0}},2419:(pe,K,O)=>{var r=O(8851),x=O(9052),V=O(3443),B=/^[-+]0x[0-9a-f]+$/i,H=/^0b[01]+$/i,q=/^0o[0-7]+$/i,z=parseInt;pe.exports=function te(Y){if("number"==typeof Y)return Y;if(V(Y))return NaN;if(x(Y)){var ie="function"==typeof Y.valueOf?Y.valueOf():Y;Y=x(ie)?ie+"":ie}if("string"!=typeof Y)return 0===Y?Y:+Y;Y=r(Y);var ge=H.test(Y);return ge||q.test(Y)?z(Y.slice(2),ge?2:8):B.test(Y)?NaN:+Y}},1339:(pe,K,O)=>{var r=O(5299);pe.exports=function x(V){return null==V?"":r(V)}},2922:(pe,K,O)=>{var r=O(8906),x=O(725),V=O(1339),L=O(6546);pe.exports=function B(H,q,z){return H=V(H),void 0===(q=z?void 0:q)?x(H)?L(H):r(H):H.match(q)||[]}},6381:(pe,K,O)=>{"use strict";K.h=void 0;const x=O(2623);Object.defineProperty(K,"h",{enumerable:!0,get:function(){return x.Locale}})},7268:(pe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.CLDR=void 0,K.CLDR=class O{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,...V){return(0,this.rawData.functions.get_plural_form)(x,...V)}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:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.Locale=void 0;const r=O(7367),x=O(5736),V=O(8994),L=O(3365),B=O(7268);K.Locale=class H{constructor(z,te={}){this.lexicon=te,this._cldr=new B.CLDR(z)}maketext(z,...te){return(0,r.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:z,args:te})}localDatetime(z,te){return this._datetimeWrapper(x.local_datetime,z,te)}datetime(z,te){return this._datetimeWrapper(x.datetime,z,te)}_datetimeWrapper(z,te,Y){return z({cldr:this._cldr,args:[te,Y]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(z,te){return this._formatNumber(V.numf,z,te)}format_bytes(z,te){return this._formatNumber(V.format_bytes,z,te)}_formatNumber(z,...te){return this._callCLDRFunc(z,te)}list_and(...z){return this._callCLDRFunc(L.list_and,z)}list_and_quoted(...z){return this._callCLDRFunc(L.list_and_quoted,z)}list_or(...z){return this._callCLDRFunc(L.list_or,z)}list_or_quoted(...z){return this._callCLDRFunc(L.list_or_quoted,z)}_callCLDRFunc(z,te){return z({cldr:this._cldr,args:te})}}},6049:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.asis=void 0;const r=O(2500);K.asis=function x({args:[V,...L]}){if(!V||L.length>0||"string"!=typeof V)throw new Error("asis function accepts one non translatable string.");return(V=V.replace(/chr\((\d+)\)/g,function(B,H){return r.functions.chr(Number(H))})).replace(/amp\(\)/g,function(){return r.functions.amp()})}},6073:(pe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.boolean=void 0,K.boolean=function O({args:[r,x,V,L]}){if(null==x||0===x.length||null==V||0===V.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof r<"u"&&r?x:L&&null==r?L:V)}},5496:(pe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.comment=void 0,K.comment=function O({args:[r]}){return""}},5736:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.local_datetime=K.datetime=K.dateToLocalDayNum=void 0;const r=O(7268),x=function(Y){const ie=Y.getUTCDay()-1;return ie<0?6:ie},V=[7,1,2,3,4,5,6];function L(Y,ie){return(V[Y.getUTCDay()]+7-ie)%7+1}K.dateToLocalDayNum=L;const B=function(Y,ie,ge){let Oe="",Ee=0;return ie=ie||0,ge=String(void 0===ge?" ":ge),Ee=ie-String(Y).length,Ee>0&&(Oe=[...Array(Ee)].map(String.prototype.valueOf,ge).join("")),Oe+Y};function H({cldr:Y,args:[ie=new Date,ge],tzString:Oe="UTC"}){if("number"==typeof ie&&/^-?\d+$/.test(ie.toString())&&(ie=new Date(1e3*ie)),!(ie instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(Y instanceof r.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Ee=Y.getDateTimeInfo();return"string"==typeof ge&&/^(?:date|time|datetime|special)_format_/.test(ge)&&(ge=Ee[ge]),ge||(ge=Ee.date_format_long),ge.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(Ce,Fe,Te){return Fe?function q(Y){return Y.substr(1,Y.length-2)}(Fe):function z(Y,ie,ge,Oe){switch(ge){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 ie.month_format_narrow[Y.getUTCMonth()];case"LLLLL":return ie.month_stand_alone_narrow[Y.getUTCMonth()];case"MMMM":return ie.month_format_wide[Y.getUTCMonth()];case"LLLL":return ie.month_stand_alone_wide[Y.getUTCMonth()];case"MMM":return ie.month_format_abbreviated[Y.getUTCMonth()];case"LLL":return ie.month_stand_alone_abbreviated[Y.getUTCMonth()];case"MM":case"LL":return B((Y.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(Y.getUTCMonth()+1);case"EEEE":return ie.day_format_wide[x(Y)];case"EEE":case"EE":case"E":return ie.day_format_abbreviated[x(Y)];case"EEEEE":return ie.day_format_narrow[x(Y)];case"cccc":return ie.day_stand_alone_wide[x(Y)];case"ccc":return ie.day_stand_alone_abbreviated[x(Y)];case"cc":case"c":return String(L(Y,Number(ie.first_day_of_week)));case"ccccc":return ie.day_stand_alone_narrow[x(Y)];case"dd":return B(Y.getUTCDate().toString(),2,"0");case"d":return String(Y.getUTCDate());case"h":case"hh":{let Ee=Y.getUTCHours();Ee>12&&(Ee-=12),0===Ee&&(Ee=12);const Ce="hh"===ge?B(Ee.toString(),2,"0"):Ee;return String(Ce)}case"H":return String(Y.getUTCHours());case"HH":return B(Y.getUTCHours().toString(),2,"0");case"m":return String(Y.getUTCMinutes());case"mm":return B(Y.getUTCMinutes().toString(),2,"0");case"s":return String(Y.getUTCSeconds());case"ss":return B(Y.getUTCSeconds().toString(),2,"0");case"a":return Y.getUTCHours()<12?ie.am_pm_abbreviated[0]:ie.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Oe;case"G":case"GG":case"GGG":return ie.era_abbreviated[Y.getUTCFullYear()<0?0:1];case"GGGGG":return ie.era_narrow[Y.getUTCFullYear()<0?0:1];case"GGGG":return ie.era_wide[Y.getUTCFullYear()<0?0:1]}return ge}(ie,Ee,Te,Oe)})}K.datetime=H,K.local_datetime=function te({cldr:Y,args:[ie=new Date,ge]}){if("number"==typeof ie&&/^-?\d+$/.test(ie.toString())&&(ie=new Date(1e3*ie)),!(ie instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(Y instanceof r.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Oe=ie.getTimezoneOffset();(ie=new Date(ie)).setMinutes(ie.getMinutes()-Oe);const Ee=Oe>0?"-":"+",Ce=Math.floor(Math.abs(Oe)/60),Fe=Math.abs(Oe%60);return H({cldr:Y,args:[ie,ge],tzString:"GMT"+Ee+B(Ce.toString(),2,"0")+B(Fe.toString(),2,"0")})}},6397:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.functions=void 0;const r=O(6049),x=O(2500),V=O(5496),L=O(6073),B=O(8994),H=O(5736),q=O(3365);K.functions={asis:r.asis,output:x.output,comment:V.comment,boolean:L.boolean,numf:B.numf,numerate:B.numerate,quant:B.quant,format_bytes:B.format_bytes,datetime:H.datetime,local_datetime:H.local_datetime,list_and:q.list_and,list_or:q.list_or,list_or_quoted:q.list_or_quoted,list_and_quoted:q.list_and_quoted}},3365:(pe,K)=>{"use strict";function r(q,z,...te){let Y=te.slice();switch(1===Y.length&&Array.isArray(Y[0])&&(Y=Y[0].slice()),(typeof Y>"u"||0===Y.length)&&(Y=[""]),Y=Y.map(ie=>function O(q,z){const te=q.getDelimiters();return te&&Object.prototype.hasOwnProperty.call(te,"quotation_start")&&Object.prototype.hasOwnProperty.call(te,"quotation_end")?te.quotation_start+z+te.quotation_end:z}(q,ie)),z){case"list_and":return B({cldr:q,args:Y});case"list_or":return H({cldr:q,args:Y});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function L(q,z,...te){let Y=te.slice();1===Y.length&&Array.isArray(Y[0])&&(Y=Y[0].slice());const ie=Y.length;let ge,Oe,Ee,Ce;try{ge=q.getFormats()[z]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Fe=function(Te,He){switch(He){case"0":return Ee;case"1":return Y[Ce++]}};switch(ie){case 0:return"";case 1:return String(Y[0]);default:if(Ee=2===ie?ge[2]:ge.start,Ee=Ee.replace(/\{([01])\}/g,function(Te,He){return Y[He]}),2===ie)return Ee;for(Ce=2;Ce<ie;)Oe=ge[Ce===ie-1?"end":"middle"],Ee=Oe.replace(/\{([01])\}/g,Fe);return Ee}}function B({cldr:q,args:[...z]}){return L(q,"list",...z)}function H({cldr:q,args:[...z]}){return L(q,"list_or",...z)}Object.defineProperty(K,"__esModule",{value:!0}),K.list_or=K.list_and=K.list_or_quoted=K.list_and_quoted=void 0,K.list_and_quoted=function x({cldr:q,args:[...z]}){return r(q,"list_and",...z)},K.list_or_quoted=function V({cldr:q,args:[...z]}){return r(q,"list_or",...z)},K.list_and=B,K.list_or=H},2500:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.functions=K.output=void 0;const r=O(9546),x=O(2353);K.output=function V({args:[L,...B]}){if(B&&"string"==typeof B[0]&&(B[0]=B[0].replace(/chr\((\d+)\)/g,function(H,q){return K.functions.chr(Number(q))}),B[0]=B[0].replace(/amp\(\)/g,function(){return K.functions.amp()})),"function"==typeof K.functions[L])return K.functions[L](...B);throw new Error(`Locale output function '${L}' is not implemented.`)},K.functions={amp:()=>(0,r.htmlEscape)("&"),apos:()=>(0,r.htmlEscape)("'"),quot:()=>(0,r.htmlEscape)('"'),underline:L=>`<u>${L}</u>`,strong:L=>`<strong>${L}</strong>`,em:L=>`<em>${L}</em>`,abbr:(L,B)=>`<abbr title="${B}">${L}</abbr>`,acronym:(L,B)=>`<abbr title="${B}" class="initialism">${L}</abbr>`,class:(L,...B)=>`<span class="${B.join(" ")}">${L}</span>`,chr(L){if("string"==typeof L&&(L=Number(L)),"number"!=typeof L||isNaN(L))throw new Error("chr needs a number as argument");return(0,r.htmlEscape)(String.fromCharCode(L))},url(L,...B){let H,q;if("object"==typeof B[B.length-1])if(H=B[B.length-1],2===B.length){if(H.html)throw new Error("Cannot provide both text and configuration with html attribute");q=B[0]}else H&&H.html?(q=H.html,delete H.html):q=L;else B.length%2==0?(H=(0,x.listToObject)(...B),H&&"html"in H&&""!==H.html?(q=H.html,delete H.html):q=L):(q=B.shift(),H=(0,x.listToObject)(...B));"_type"in H&&"offsite"===H._type&&(H.class="offsite",H.target="_blank",delete H._type);let z=`<a href="${L}"`;if("object"==typeof H)for(const te in H)Object.prototype.hasOwnProperty.call(H,te)&&(z+=` ${te}="${H[te]}"`);return z+=`>${q}</a>`,z}}},8994:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.format_bytes=K.numf=K.quant=K.numerate=void 0;const r=O(7268);function V({cldr:q,args:[z,...te]}){if(!(q instanceof r.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let Y,ie=3;z instanceof Array?(ie=z[1],Y=z[0]):Y=z;const ge=q.getPluralForm(Y,...te),Oe=ge[0]?ge[0]:te[te.length-1];if(ge&&ge.length>=2&&ge[1])return Oe;const Ce=B({cldr:q,args:[Y,ie]});return-1!==Oe.indexOf("%s")?Oe.replace(/%s/g,Ce):q.isRtl()?Oe+" "+Ce:Ce+" "+Oe}function B({cldr:q,args:[z,te=6]}){if(!(q instanceof r.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(z.toString()))return String(z);const{decimalFormat:Y,decimalGroup:ie,decimalDecimal:ge}=function L(q){const z={},te=q.getFormats();return Object.prototype.hasOwnProperty.call(te,"decimal")&&(z.decimalFormat=te.decimal),Object.prototype.hasOwnProperty.call(te,"_decimal_format_group")&&(z.decimalGroup=te._decimal_format_group),Object.prototype.hasOwnProperty.call(te,"_decimal_format_decimal")&&(z.decimalDecimal=te._decimal_format_decimal),z}(q);if(!Y||!ie||!ge)throw new Error("CLDR Data is missing information related to formatting decimals.");const Oe=z<0;z=Math.abs(z);let Ce,Fe,Ee=Math.floor(z);/(?!')\.(?!')/.test(z.toString())&&(Ce=String(z).replace(/^[^.]+/,"0"),Ce=Number(Ce).toFixed(te),/^1/.test(Ce)?(Ee++,z=Ee,Ce=void 0):Ce=Ce.replace(/^.*\./,"").replace(/0+$/,"")),Fe=/(?!');(?!')/.test(Y)?Y.split(/(?!');(?!')/)[Oe?1:0]:(Oe?"-":"")+Y;const Xe=Fe.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let bt;1===Xe.length?bt="":(Xe.pop(),bt=ie);const xt=String(Ee).split("").reverse(),Je=[];let vt;const Ht=function(dt){switch(dt){case"#":return xt.shift()||"";case"0":return xt.shift()||"0"}};for(;xt.length;){Xe.length&&(vt=Xe.shift());const dt=vt.replace(/(?!')[0#]|[0#](?!')/g,Ht).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");Je.push(dt)}const nt=Je.join(bt).split("").reverse().join("")+(Ce?ge+Ce:"");return Fe.replace(/[0#].*[0#]/,nt)}K.numerate=function x({cldr:q,args:[z,...te]}){if(!(q instanceof r.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const Y=q.getPluralForm(z,...te);return Y?Y[0]:te[te.length-1]},K.quant=V,K.numf=B,K.format_bytes=function H({cldr:q,args:[z,te=2]}){if(!(q instanceof r.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"],ge=z&&Math.min(Math.floor(Math.log(z)/Math.log(1024)),Y.length);return ge?B({cldr:q,args:[z/Math.pow(1024,ge),te]})+"\xa0"+Y[ge-1]:V({cldr:q,args:[z,"%s\xa0byte","%s\xa0bytes"]})}},7367:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.maketext=K.functions=K.config=void 0;const r=O(6397);function B(H,q){const z=[];let te=!1,Y=!1;return H.forEach(ie=>{if("_"===ie.charAt(0))if("_*"===ie){if(Y)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";z.push(...q),te=!0}else{const ge=ie.match(K.config.underscoreDigitRe);if(ge){if(te)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Oe,Ee]=ge,Ce=Number(Ee)-1;if(!(Ce in q))throw`The "${Oe}" substitution argument was not passed to the maketext function.`;z.push(q[Ce]),Y=!0}}else z.push(ie)}),z}K.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},K.functions={...r.functions},K.maketext=function V({cldr:H,lexicon:q,template:z,args:te}){if("string"!=typeof z)throw"You must pass a string template to the maketext function.";if(-1===(z=q&&q[z]||z).indexOf("["))return z;const Y=z.match(K.config.bracketRe)||[],ie=[];let ge=!1,Oe="";if(Y.forEach(Ee=>{if("["===Ee){if(ge)throw Error(`Invalid maketext string: ${z} \nThe string contains nested brackets.`);ge=!0}else if("]"===Ee){if(!ge)throw Error(`Invalid maketext string: ${z} \nThe string contains an unmatched closing bracket character (]).`);if(!Oe)throw Error(`Invalid maketext string: ${z} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let Ce;ge=!1;try{Ce=function L(H,q,z){let te=q.split(",");if(te=te.map(ge=>ge.replace(K.config.fauxCommaRe,",")),1===te.length){if(!K.config.underscoreDigitRe.test(te[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[ge]=B(te,z);return String(ge)}const Y=te.shift();if(!Y||"function"!=typeof K.functions[Y])throw`Invalid function "${Y}" in maketext string.`;const ie=B(te,z);return K.functions[Y]({cldr:H,args:ie})}(H,Oe,te)}catch(Fe){throw Error(`Invalid maketext string: ${z} \n${Fe}`)}Oe="",ie.push(Ce)}else if("~"===Ee.charAt(0)){const Ce=Ee.charAt(1)||"~";ge?Oe+=","===Ce?K.config.fauxComma:Ce:K.config.tildeChars.has(Ce)?ie.push(Ce):ie.push(Ee)}else ge?Oe+=Ee:ie.push(Ee)}),ge)throw Error(`Invalid maketext string: ${z} \nThe string contains an unmatched opening bracket character ([).`);return ie.join("")}},9546:(pe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.htmlEscape=K.entityMap=void 0,K.entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},K.htmlEscape=function O(r){return String(r).replace(/[&<>"'\/]/g,x=>K.entityMap[x])}},2353:(pe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.listToObject=void 0,K.listToObject=function x(...V){let L={};return function O(V){if(V.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let B=0,H=V.length;B<H;B+=2){const q=V[B];if("string"!=typeof q||""===q)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(V)&&(L=function r(V){const L=V.length,B={};let q,z,H=0;for(;H<L;)q=V[H],z=V[++H],B[q]=z,H++;return B}(V)),L}},7773:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.commonValidators=void 0;const r=O(5839);K.commonValidators=new class x extends r.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(L){const B=L||this.locale.maketext("This field is required.");return H=>{let q={},z=H.value;return z&&(z=z.toString()),z&&z.length?null:(q=this.addError(q,"required",B),q)}}requiredTrue(L){const B=L||this.locale.maketext("This control's value should be true.");return H=>{let q={};return!0!==H.value?(q=this.addError(q,"requiredTrue",B),q):null}}startsWithLetter(L){return B=>{let H={};return B.value&&!this.STARTS_WITH_LETTER.test(B.value)?(H=this.addError(H,"doesNotStartWithLetter",L),H):null}}containsSpaces(L){return B=>{let H={};return B.value&&!this.CONTAINS_SPACES.test(B.value)?(H=this.addError(H,"containsSpace",L),H):null}}minLength(L,B){return H=>{let q={};return H.value&&H.value.length<B?(q=this.addError(q,"minLength",L),q):null}}maxLength(L,B){return H=>{let q={};return H.value&&H.value.length>B?(q=this.addError(q,"maxLength",L),q):null}}min(L,B){return H=>{let q={};return H.value&&H.value<B?(q=this.addError(q,"min",L),q):null}}max(L,B){return H=>{let q={};return H.value&&H.value>B?(q=this.addError(q,"max",L),q):null}}}},4304:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.cPUserNoteValidators=void 0;const r=O(5839),x=O(2185),L=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;K.cPUserNoteValidators=new class B extends r.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(q=250,z=""){return te=>{let Y=x.stringValidators.validUnicode()(te);if(!Y){const ie=this.locale.maketext("This note is too long.");Y=x.stringValidators.maxCharacterLength(ie)(q,te)}if(!Y){const ie=te.match(L);if(ie){Y={};const ge=ie.index,Oe=ie[0].codePointAt(0);this.addError(Y,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",Oe,1+ge))}}return Y}}}},3046:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.cpanelUsernameValidators=void 0;const r=O(5839);K.cpanelUsernameValidators=new class x extends r.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(L){const B=L||this.locale.maketext("This is not a valid username.");return H=>{let q={};return H.value&&!this.VALID_USERNAME.test(H.value)?(q=this.addError(q,"invalidUsername",B),q):null}}}},3481:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.databaseValidators=void 0;const r=O(5839),x=O(3322);K.databaseValidators=new class V extends r.BaseValidator{constructor(){super(...arguments),this.prefix="databases",this._dbPrefix="",this.DATABASE_NAME_LENGTH_LIMIT=64,this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII=/[^\u0020-\u007e]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS=/[`'"\/\\]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST=["'",'"',"`","/","\\"],this.MYSQL_DB_NAME_WILDCARDS=/(_|%|\\)/g,this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS=50116,this.MYSQL_STARTED_ALLOWING_LONG_USERNAMES=1e5}get dbPrefix(){return this._dbPrefix}validateDatabaseName(B,H,q){return z=>B===x.DatabaseType.MySQL?(this._dbPrefix=H||"",this.validateMySQLDatabaseName(z.value,q||"")):null}validateMySQLDatabaseName(B,H){const q=this._performMySqlDatabaseNameValidation(B,H);let z={};return q?(z=this.addError(z,"databaseName",q),z):null}_performMySqlDatabaseNameValidation(B,H){let q=null;return q=this._verifyNameLengthLimit(B),null!==q||(q=this._verifyDatabaseNameIgnoreLength(B),null!==q)||(q=this._verifyDatabaseName(B,H)),q}_verifyNameLengthLimit(B){let H=null,q=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(q-=this._dbPrefix.length+1);const z=unescape(encodeURIComponent(B)).length-q;return z>0&&(H={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",z,q)}),H}_verifyDatabaseNameIgnoreLength(B){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(B)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(B)?{message:this.locale.maketext("This system prohibits the following [numerate,_1,character,characters] in database names: [list_or,_2]",3,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST)}:null}_verifyDatabaseName(B,H){if(null!==B&&B.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const q=this._verifySpecialWildcardsInDatabaseNames(B);return null!==q?q:H&&this._convertVersionStringToNumber(H)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(B)?{message:this.locale.maketext("This system\u2019s [asis,MySQL] version ([_1]) prohibits the character \u201c[_2]\u201d in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",H,".")}:null}_convertVersionStringToNumber(B){return B.match(/mariadb/i)&&(B=B.replace(/^[^-]+-/,"")),parseInt(B.replace(/-.*/,"").split(/\./).map(function(H){return H.padStart(2,"0")}).join(""),10)}_verifySpecialWildcardsInDatabaseNames(B){if(null===B)return null;const H=B.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let q=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(q-=this._dbPrefix.length+1);const z=H-q;return z>0?{message:this.locale.maketext("This database name has too many wildcard-sensitive characters ([list_and_quoted,_1]). The system stores each of these as two characters internally, up to a limit of [quant,_2,character,characters]. This name would take up [quant,_3,character,characters] of internal storage, which is [numf,_4] too many.",["\\","_","%"],q,H,z)}:null}}},9044:function(pe,K,O){"use strict";var r=this&&this.__importDefault||function(q){return q&&q.__esModule?q:{default:q}};Object.defineProperty(K,"__esModule",{value:!0}),K.domainValidators=void 0;const x=O(2706),V=r(O(2159)),L=r(O(9488)),B=O(5839);K.domainValidators=new class H extends B.BaseValidator{constructor(){super(...arguments),this.prefix="domains",this.VALID_TLD_REGEX=/^[.][a-zA-Z0-9]+$/,this.VALID_IDN_TLD_REGEX=/^[.]xn--[a-zA-Z0-9-]+$/,this.MAX_DOMAIN_BYTES=254,this.MAX_LABEL_BYTES=63,this.UNICODE_ASCII_CUTOFF=127,this.NONINITIAL_LABEL_REGEX=/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$/,this.IPv4_REGEX=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,this.IPv6_REGEX=/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/}_getNonASCII(z){const te=[],Y=V.default.ucs2.decode(z);for(let ie=0;ie<Y.length;ie++)Y[ie]>this.UNICODE_ASCII_CUTOFF&&te.push(V.default.ucs2.encode([Y[ie]]));return(0,L.default)(te)}_validateLabelBasics(){return z=>{let te={};if(z.value&&0!==z.value.length){if(z.value.length>this.MAX_LABEL_BYTES)te=this.addError(te,"length",{message:this.locale.maketext("A label must not exceed [quant,_1,character,characters].",this.MAX_LABEL_BYTES),MAX_LABEL_BYTES:this.MAX_LABEL_BYTES});else if("-"===z.value[0])te=this.addError(te,"charCondition",this.locale.maketext("A label must not begin with \u201c[_1]\u201d.","-"));else if("-"===z.value[z.value.length-1])te=this.addError(te,"charCondition",this.locale.maketext("A label must not end with \u201c[_1]\u201d.","-"));else if(V.default.toASCII(z.value).length>this.MAX_LABEL_BYTES){const Y=this._getNonASCII(z.value);te=this.addError(te,"length",this.locale.maketext("The label\u2019s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,Y[0]))}}else te=this.addError(te,"length",this.locale.maketext("A label must not be empty."));return te}}validDomainLength(){return z=>{let te={};if(z.value.length>this.MAX_DOMAIN_BYTES)return te=this.addError(te,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),te;if(V.default.toASCII(z.value).length>this.MAX_DOMAIN_BYTES){const ie=this._getNonASCII(z.value);return te=this.addError(te,"length",this.locale.maketext("The domain name\u2019s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,ie[0])),te}return null}}validateLabel(){return z=>(0,x.runValidationGroup)(z,[this._validateLabelBasics(),te=>{let Y={};return this.NONINITIAL_LABEL_REGEX.test(te.value)||(Y=this.addError(Y,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),Y}])}validateTLD(){return z=>{let te={};return!this.VALID_TLD_REGEX.test(z.value)&&!this.VALID_IDN_TLD_REGEX.test(z.value)&&(te=this.addError(te,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),te}}fqdn(){return z=>{const te=z.value.split("."),Y=te[te.length-1],ie=te[0],ge=z.value,Oe=[()=>{let Ee={};const Ce=this.IPv4_REGEX.test(ge),Fe=this.IPv6_REGEX.test(ge);return Ce||Fe?Ee=this.addError(Ee,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):te.length<2?Ee=this.addError(Ee,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:ie}),this.validateTLD().bind(this,{value:"."+Y})];return te.forEach(Ee=>{Oe.push(this.validateLabel().bind(this,{value:Ee}))}),(0,x.runValidationGroup)(z,Oe)}}fqdnOrIP(){return z=>{const te=(0,x.runValidationGroup)(z,[this.anyIP()]),Y=z.value.split("."),ie=Y[Y.length-1],ge=Y[0],Oe=[Ce=>{let Fe={};return Y.length<2&&(Fe=this.addError(Fe,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),Fe},this.validDomainLength(),this.validateLabel().bind(this,{value:ge}),this.validateTLD().bind(this,{value:"."+ie})];Y.forEach(Ce=>{Oe.push(this.validateLabel().bind(this,{value:Ce}))});const Ee=(0,x.runValidationGroup)(z,Oe);return te&&Ee?{...te,...Ee}:null}}ipv4(){return z=>{let te={};return z.value&&!this.IPv4_REGEX.test(z.value)?(te=this.addError(te,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),te):null}}ipv6(){return z=>{let te={};return z.value&&!this.IPv6_REGEX.test(z.value)?(te=this.addError(te,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),te):null}}anyIP(){return z=>{let te={};return!z.value||this.IPv4_REGEX.test(z.value)||this.IPv6_REGEX.test(z.value)?null:(te=this.addError(te,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),te)}}}},9978:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.emailValidators=void 0;const r=O(5839);K.emailValidators=new class x extends r.BaseValidator{constructor(){super(...arguments),this.prefix="email",this.VALID_EMAIL=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}validateEmail(L){const B=L||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return H=>{let q={};return H.value&&!this.VALID_EMAIL.test(H.value)?(q=this.addError(q,"invalidEmail",B),q):null}}}},7324:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.equalityValidators=void 0;const r=O(5839);K.equalityValidators=new class x extends r.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(L,B,H){return q=>{const z=q.get(B).value;let Y={};return z===q.get(H).value&&""!==z?(Y=this.addError(Y,"equalFields",L),Y):null}}}},7410:(pe,K,O)=>{"use strict";O(7773),O(9044),O(5839),O(3481),O(3322),O(3046),O(9978),O(7324),O(4304),O(2185)},5839:(pe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.BaseValidator=void 0;let O,r=!0;K.BaseValidator=class V{constructor(){this.prefix="",O={maketext:B=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(B){O=B}get locale(){return O}_buildKey(B){return r?`cpanel.${this.prefix}.${B}`:B}static disablePrefixing(){r=!1}static enablePrefixing(){r=!0}addError(B={},H,q){return"string"==typeof q&&(q={message:q}),B[this._buildKey(H)]=q,B}}},3322:(pe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.DatabaseType=void 0;var O=function(r){return r.MySQL="MySQL",r.PostgreSQL="PostgreSQL",r}(O||(K.DatabaseType=O={}))},7945:(pe,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.characterLength=function L(B,H){let q=0;for(let z=0;z<B.length;z++){q++;const te=B.charCodeAt(z);if((te&x)===O){if(z++,z===B.length)throw new Error(H.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",V(te)));const Y=B.charCodeAt(z);if((Y&x)!==r)throw new Error(H.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[te,Y].map(V),z))}}return q};const O=55296,r=56320,x=64512;function V(B){return"0x"+B.toString(16)}},2706:function(pe,K,O){"use strict";var r=this&&this.__importDefault||function(L){return L&&L.__esModule?L:{default:L}};Object.defineProperty(K,"__esModule",{value:!0}),K.runValidationGroup=function V(L,B){const H={};return B.forEach(q=>{(0,x.default)(H,q(L))}),Object.keys(H).length?H:null};const x=r(O(1281))},2185:(pe,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.stringValidators=void 0;const r=O(5839),x=O(7945);K.stringValidators=new class L extends r.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return H=>{try{(0,x.characterLength)(H,this.locale)}catch(q){const z={};return q instanceof Error&&this.addError(z,"unicode",q.message),z}return null}}maxCharacterLength(H){return(q,z)=>{if((0,x.characterLength)(z,this.locale)>q){const Y={};return this.addError(Y,"length",H),Y}return null}}maxUTF8Length(H){return(q,z)=>{if(function V(B){return unescape(encodeURIComponent(B)).length}(z)>q){const te={};return this.addError(te,"length",H),te}return null}}}},2159:(pe,K,O)=>{"use strict";O.r(K),O.d(K,{decode:()=>nt,default:()=>Le,encode:()=>dt,toASCII:()=>It,toUnicode:()=>lt,ucs2decode:()=>bt,ucs2encode:()=>xt});const r=2147483647,x=36,Y=/^xn--/,ie=/[^\0-\x7F]/,ge=/[\x2E\u3002\uFF0E\uFF61]/g,Oe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ce=Math.floor,Fe=String.fromCharCode;function Te(j){throw new RangeError(Oe[j])}function Xe(j,se){const Se=j.split("@");let Re="";Se.length>1&&(Re=Se[0]+"@",j=Se[1]);const ut=function He(j,se){const Se=[];let Re=j.length;for(;Re--;)Se[Re]=se(j[Re]);return Se}((j=j.replace(ge,".")).split("."),se).join(".");return Re+ut}function bt(j){const se=[];let Se=0;const Re=j.length;for(;Se<Re;){const ot=j.charCodeAt(Se++);if(ot>=55296&&ot<=56319&&Se<Re){const ut=j.charCodeAt(Se++);56320==(64512&ut)?se.push(((1023&ot)<<10)+(1023&ut)+65536):(se.push(ot),Se--)}else se.push(ot)}return se}const xt=j=>String.fromCodePoint(...j),Je=function(j){return j>=48&&j<58?j-48+26:j>=65&&j<91?j-65:j>=97&&j<123?j-97:x},vt=function(j,se){return j+22+75*(j<26)-((0!=se)<<5)},Ht=function(j,se,Se){let Re=0;for(j=Se?Ce(j/700):j>>1,j+=Ce(j/se);j>455;Re+=x)j=Ce(j/35);return Ce(Re+36*j/(j+38))},nt=function(j){const se=[],Se=j.length;let Re=0,ot=128,ut=72,We=j.lastIndexOf("-");We<0&&(We=0);for(let Bt=0;Bt<We;++Bt)j.charCodeAt(Bt)>=128&&Te("not-basic"),se.push(j.charCodeAt(Bt));for(let Bt=We>0?We+1:0;Bt<Se;){const Kt=Re;for(let gt=1,Mn=x;;Mn+=x){Bt>=Se&&Te("invalid-input");const on=Je(j.charCodeAt(Bt++));on>=x&&Te("invalid-input"),on>Ce((r-Re)/gt)&&Te("overflow"),Re+=on*gt;const dn=Mn<=ut?1:Mn>=ut+26?26:Mn-ut;if(on<dn)break;const _n=x-dn;gt>Ce(r/_n)&&Te("overflow"),gt*=_n}const Rt=se.length+1;ut=Ht(Re-Kt,Rt,0==Kt),Ce(Re/Rt)>r-ot&&Te("overflow"),ot+=Ce(Re/Rt),Re%=Rt,se.splice(Re++,0,ot)}return String.fromCodePoint(...se)},dt=function(j){const se=[],Se=(j=bt(j)).length;let Re=128,ot=0,ut=72;for(const Kt of j)Kt<128&&se.push(Fe(Kt));const We=se.length;let Bt=We;for(We&&se.push("-");Bt<Se;){let Kt=r;for(const gt of j)gt>=Re&&gt<Kt&&(Kt=gt);const Rt=Bt+1;Kt-Re>Ce((r-ot)/Rt)&&Te("overflow"),ot+=(Kt-Re)*Rt,Re=Kt;for(const gt of j)if(gt<Re&&++ot>r&&Te("overflow"),gt===Re){let Mn=ot;for(let on=x;;on+=x){const dn=on<=ut?1:on>=ut+26?26:on-ut;if(Mn<dn)break;const _n=Mn-dn,Un=x-dn;se.push(Fe(vt(dn+_n%Un,0))),Mn=Ce(_n/Un)}se.push(Fe(vt(Mn,0))),ut=Ht(ot,Rt,Bt===We),ot=0,++Bt}++ot,++Re}return se.join("")},lt=function(j){return Xe(j,function(se){return Y.test(se)?nt(se.slice(4).toLowerCase()):se})},It=function(j){return Xe(j,function(se){return ie.test(se)?"xn--"+dt(se):se})},Le={version:"2.3.1",ucs2:{decode:bt,encode:xt},decode:nt,encode:dt,toASCII:It,toUnicode:lt}},177:(pe,K,O)=>{"use strict";O.d(K,{AJ:()=>xo,MD:()=>Or,N0:()=>Ea,QT:()=>V,Sm:()=>Fe,Sq:()=>Z,T3:()=>Ge,UE:()=>To,VF:()=>B,Vy:()=>ms,Xr:()=>qo,YU:()=>to,ZD:()=>L,_b:()=>eo,aZ:()=>He,bT:()=>be,fw:()=>Te,hb:()=>Ee,hj:()=>te,kB:()=>Ce,qQ:()=>q});var r=O(3953);let x=null;function V(){return x}function L(f){x??=f}class B{}const q=new r.nKC("");let z=(()=>{class f{historyGo(v){throw new Error("")}static{this.\u0275fac=function(E){return new(E||f)}}static{this.\u0275prov=r.jDH({token:f,factory:()=>(0,r.WQX)(Y),providedIn:"platform"})}}return f})();const te=new r.nKC("");let Y=(()=>{class f extends z{constructor(){super(),this._doc=(0,r.WQX)(q),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return V().getBaseHref(this._doc)}onPopState(v){const E=V().getGlobalEventTarget(this._doc,"window");return E.addEventListener("popstate",v,!1),()=>E.removeEventListener("popstate",v)}onHashChange(v){const E=V().getGlobalEventTarget(this._doc,"window");return E.addEventListener("hashchange",v,!1),()=>E.removeEventListener("hashchange",v)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(v){this._location.pathname=v}pushState(v,E,U){this._history.pushState(v,E,U)}replaceState(v,E,U){this._history.replaceState(v,E,U)}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}static{this.\u0275fac=function(E){return new(E||f)}}static{this.\u0275prov=r.jDH({token:f,factory:()=>new f,providedIn:"platform"})}}return f})();function ie(f,S){if(0==f.length)return S;if(0==S.length)return f;let v=0;return f.endsWith("/")&&v++,S.startsWith("/")&&v++,2==v?f+S.substring(1):1==v?f+S:f+"/"+S}function ge(f){const S=f.match(/#|\?|$/),v=S&&S.index||f.length;return f.slice(0,v-("/"===f[v-1]?1:0))+f.slice(v)}function Oe(f){return f&&"?"!==f[0]?"?"+f:f}let Ee=(()=>{class f{historyGo(v){throw new Error("")}static{this.\u0275fac=function(E){return new(E||f)}}static{this.\u0275prov=r.jDH({token:f,factory:()=>(0,r.WQX)(Fe),providedIn:"root"})}}return f})();const Ce=new r.nKC("");let Fe=(()=>{class f extends Ee{constructor(v,E){super(),this._platformLocation=v,this._removeListenerFns=[],this._baseHref=E??this._platformLocation.getBaseHrefFromDOM()??(0,r.WQX)(q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}prepareExternalUrl(v){return ie(this._baseHref,v)}path(v=!1){const E=this._platformLocation.pathname+Oe(this._platformLocation.search),U=this._platformLocation.hash;return U&&v?`${E}${U}`:E}pushState(v,E,U,ce){const De=this.prepareExternalUrl(U+Oe(ce));this._platformLocation.pushState(v,E,De)}replaceState(v,E,U,ce){const De=this.prepareExternalUrl(U+Oe(ce));this._platformLocation.replaceState(v,E,De)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static{this.\u0275fac=function(E){return new(E||f)(r.KVO(z),r.KVO(Ce,8))}}static{this.\u0275prov=r.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})(),Te=(()=>{class f extends Ee{constructor(v,E){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=E&&(this._baseHref=E)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}path(v=!1){const E=this._platformLocation.hash??"#";return E.length>0?E.substring(1):E}prepareExternalUrl(v){const E=ie(this._baseHref,v);return E.length>0?"#"+E:E}pushState(v,E,U,ce){let De=this.prepareExternalUrl(U+Oe(ce));0==De.length&&(De=this._platformLocation.pathname),this._platformLocation.pushState(v,E,De)}replaceState(v,E,U,ce){let De=this.prepareExternalUrl(U+Oe(ce));0==De.length&&(De=this._platformLocation.pathname),this._platformLocation.replaceState(v,E,De)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static{this.\u0275fac=function(E){return new(E||f)(r.KVO(z),r.KVO(Ce,8))}}static{this.\u0275prov=r.jDH({token:f,factory:f.\u0275fac})}}return f})(),He=(()=>{class f{constructor(v){this._subject=new r.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=v;const E=this._locationStrategy.getBaseHref();this._basePath=function Je(f){if(new RegExp("^(https?:)?//").test(f)){const[,v]=f.split(/\/\/[^\/]+/);return v}return f}(ge(xt(E))),this._locationStrategy.onPopState(U=>{this._subject.emit({url:this.path(!0),pop:!0,state:U.state,type:U.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(v=!1){return this.normalize(this._locationStrategy.path(v))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(v,E=""){return this.path()==this.normalize(v+Oe(E))}normalize(v){return f.stripTrailingSlash(function bt(f,S){if(!f||!S.startsWith(f))return S;const v=S.substring(f.length);return""===v||["/",";","?","#"].includes(v[0])?v:S}(this._basePath,xt(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._locationStrategy.prepareExternalUrl(v)}go(v,E="",U=null){this._locationStrategy.pushState(U,"",v,E),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+Oe(E)),U)}replaceState(v,E="",U=null){this._locationStrategy.replaceState(U,"",v,E),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+Oe(E)),U)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(v=0){this._locationStrategy.historyGo?.(v)}onUrlChange(v){return this._urlChangeListeners.push(v),this._urlChangeSubscription??=this.subscribe(E=>{this._notifyUrlChangeListeners(E.url,E.state)}),()=>{const E=this._urlChangeListeners.indexOf(v);this._urlChangeListeners.splice(E,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(v="",E){this._urlChangeListeners.forEach(U=>U(v,E))}subscribe(v,E,U){return this._subject.subscribe({next:v,error:E,complete:U})}static{this.normalizeQueryParams=Oe}static{this.joinWithSlash=ie}static{this.stripTrailingSlash=ge}static{this.\u0275fac=function(E){return new(E||f)(r.KVO(Ee))}}static{this.\u0275prov=r.jDH({token:f,factory:()=>function Xe(){return new He((0,r.KVO)(Ee))}(),providedIn:"root"})}}return f})();function xt(f){return f.replace(/\/index.html$/,"")}function eo(f,S){S=encodeURIComponent(S);for(const v of f.split(";")){const E=v.indexOf("="),[U,ce]=-1==E?[v,""]:[v.slice(0,E),v.slice(E+1)];if(U.trim()===S)return decodeURIComponent(ce)}return null}const mt=/\s+/,cn=[];let to=(()=>{class f{constructor(v,E){this._ngEl=v,this._renderer=E,this.initialClasses=cn,this.stateMap=new Map}set klass(v){this.initialClasses=null!=v?v.trim().split(mt):cn}set ngClass(v){this.rawClass="string"==typeof v?v.trim().split(mt):v}ngDoCheck(){for(const E of this.initialClasses)this._updateState(E,!0);const v=this.rawClass;if(Array.isArray(v)||v instanceof Set)for(const E of v)this._updateState(E,!0);else if(null!=v)for(const E of Object.keys(v))this._updateState(E,!!v[E]);this._applyStateDiff()}_updateState(v,E){const U=this.stateMap.get(v);void 0!==U?(U.enabled!==E&&(U.changed=!0,U.enabled=E),U.touched=!0):this.stateMap.set(v,{enabled:E,changed:!0,touched:!0})}_applyStateDiff(){for(const v of this.stateMap){const E=v[0],U=v[1];U.changed?(this._toggleClass(E,U.enabled),U.changed=!1):U.touched||(U.enabled&&this._toggleClass(E,!1),this.stateMap.delete(E)),U.touched=!1}}_toggleClass(v,E){(v=v.trim()).length>0&&v.split(mt).forEach(U=>{E?this._renderer.addClass(this._ngEl.nativeElement,U):this._renderer.removeClass(this._ngEl.nativeElement,U)})}static{this.\u0275fac=function(E){return new(E||f)(r.rXU(r.aKT),r.rXU(r.sFG))}}static{this.\u0275dir=r.FsC({type:f,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return f})();class N{constructor(S,v,E,U){this.$implicit=S,this.ngForOf=v,this.index=E,this.count=U}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 Z=(()=>{class f{set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}constructor(v,E,U){this._viewContainer=v,this._template=E,this._differs=U,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(v){v&&(this._template=v)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const v=this._ngForOf;!this._differ&&v&&(this._differ=this._differs.find(v).create(this.ngForTrackBy))}if(this._differ){const v=this._differ.diff(this._ngForOf);v&&this._applyChanges(v)}}_applyChanges(v){const E=this._viewContainer;v.forEachOperation((U,ce,De)=>{if(null==U.previousIndex)E.createEmbeddedView(this._template,new N(U.item,this._ngForOf,-1,-1),null===De?void 0:De);else if(null==De)E.remove(null===ce?void 0:ce);else if(null!==ce){const $e=E.get(ce);E.move($e,De),X($e,U)}});for(let U=0,ce=E.length;U<ce;U++){const $e=E.get(U).context;$e.index=U,$e.count=ce,$e.ngForOf=this._ngForOf}v.forEachIdentityChange(U=>{X(E.get(U.currentIndex),U)})}static ngTemplateContextGuard(v,E){return!0}static{this.\u0275fac=function(E){return new(E||f)(r.rXU(r.c1b),r.rXU(r.C4Q),r.rXU(r._q3))}}static{this.\u0275dir=r.FsC({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return f})();function X(f,S){f.context.$implicit=S.item}let be=(()=>{class f{constructor(v,E){this._viewContainer=v,this._context=new xe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=E}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){Ie("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){Ie("ngIfElse",v),this._elseTemplateRef=v,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(v,E){return!0}static{this.\u0275fac=function(E){return new(E||f)(r.rXU(r.c1b),r.rXU(r.C4Q))}}static{this.\u0275dir=r.FsC({type:f,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return f})();class xe{constructor(){this.$implicit=null,this.ngIf=null}}function Ie(f,S){if(S&&!S.createEmbeddedView)throw new Error(`${f} must be a TemplateRef, but received '${(0,r.Tbb)(S)}'.`)}let Ge=(()=>{class f{constructor(v){this._viewContainerRef=v,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(v){if(this._shouldRecreateView(v)){const E=this._viewContainerRef;if(this._viewRef&&E.remove(E.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const U=this._createContextForwardProxy();this._viewRef=E.createEmbeddedView(this.ngTemplateOutlet,U,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(v){return!!v.ngTemplateOutlet||!!v.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(v,E,U)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,E,U),get:(v,E,U)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,E,U)}})}static{this.\u0275fac=function(E){return new(E||f)(r.rXU(r.c1b))}}static{this.\u0275dir=r.FsC({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[r.OA$]})}}return f})(),Or=(()=>{class f{static{this.\u0275fac=function(E){return new(E||f)}}static{this.\u0275mod=r.$C({type:f})}static{this.\u0275inj=r.G2t({})}}return f})();const xo="browser",Pr="server";function To(f){return f===xo}function ms(f){return f===Pr}let qo=(()=>{class f{static{this.\u0275prov=(0,r.jDH)({token:f,providedIn:"root",factory:()=>To((0,r.WQX)(r.Agw))?new qr((0,r.WQX)(q),window):new Ko})}}return f})();class qr{constructor(S,v){this.document=S,this.window=v,this.offset=()=>[0,0]}setOffset(S){this.offset=Array.isArray(S)?()=>S:S}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(S){this.window.scrollTo(S[0],S[1])}scrollToAnchor(S){const v=function Kr(f,S){const v=f.getElementById(S)||f.getElementsByName(S)[0];if(v)return v;if("function"==typeof f.createTreeWalker&&f.body&&"function"==typeof f.body.attachShadow){const E=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let U=E.currentNode;for(;U;){const ce=U.shadowRoot;if(ce){const De=ce.getElementById(S)||ce.querySelector(`[name="${S}"]`);if(De)return De}U=E.nextNode()}}return null}(this.document,S);v&&(this.scrollToElement(v),v.focus())}setHistoryScrollRestoration(S){this.window.history.scrollRestoration=S}scrollToElement(S){const v=S.getBoundingClientRect(),E=v.left+this.window.pageXOffset,U=v.top+this.window.pageYOffset,ce=this.offset();this.window.scrollTo(E-ce[0],U-ce[1])}}class Ko{setOffset(S){}getScrollPosition(){return[0,0]}scrollToPosition(S){}scrollToAnchor(S){}setHistoryScrollRestoration(S){}}class Ea{}},1562:(pe,K,O)=>{"use strict";function r(N,Z,X,ue,be,xe,Ie){try{var et=N[xe](Ie),ze=et.value}catch(Gt){return void X(Gt)}et.done?Z(ze):Promise.resolve(ze).then(ue,be)}function x(N){return function(){var Z=this,X=arguments;return new Promise(function(ue,be){var xe=N.apply(Z,X);function Ie(ze){r(xe,ue,be,Ie,et,"next",ze)}function et(ze){r(xe,ue,be,Ie,et,"throw",ze)}Ie(void 0)})}}O.d(K,{Qq:()=>gt,q1:()=>mo,Lr:()=>Ce,$R:()=>Ue,Sx:()=>kt});var V=O(3953),L=O(7673),B=O(1985),H=O(6648),q=O(274),z=O(5964),te=O(6354),Y=O(980),ie=O(5558),ge=O(177);class Oe{}class Ee{}class Ce{constructor(Z){this.normalizedNames=new Map,this.lazyUpdate=null,Z?"string"==typeof Z?this.lazyInit=()=>{this.headers=new Map,Z.split("\n").forEach(X=>{const ue=X.indexOf(":");if(ue>0){const be=X.slice(0,ue),xe=be.toLowerCase(),Ie=X.slice(ue+1).trim();this.maybeSetNormalizedName(be,xe),this.headers.has(xe)?this.headers.get(xe).push(Ie):this.headers.set(xe,[Ie])}})}:typeof Headers<"u"&&Z instanceof Headers?(this.headers=new Map,Z.forEach((X,ue)=>{this.setHeaderEntries(ue,X)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Z).forEach(([X,ue])=>{this.setHeaderEntries(X,ue)})}:this.headers=new Map}has(Z){return this.init(),this.headers.has(Z.toLowerCase())}get(Z){this.init();const X=this.headers.get(Z.toLowerCase());return X&&X.length>0?X[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Z){return this.init(),this.headers.get(Z.toLowerCase())||null}append(Z,X){return this.clone({name:Z,value:X,op:"a"})}set(Z,X){return this.clone({name:Z,value:X,op:"s"})}delete(Z,X){return this.clone({name:Z,value:X,op:"d"})}maybeSetNormalizedName(Z,X){this.normalizedNames.has(X)||this.normalizedNames.set(X,Z)}init(){this.lazyInit&&(this.lazyInit instanceof Ce?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Z=>this.applyUpdate(Z)),this.lazyUpdate=null))}copyFrom(Z){Z.init(),Array.from(Z.headers.keys()).forEach(X=>{this.headers.set(X,Z.headers.get(X)),this.normalizedNames.set(X,Z.normalizedNames.get(X))})}clone(Z){const X=new Ce;return X.lazyInit=this.lazyInit&&this.lazyInit instanceof Ce?this.lazyInit:this,X.lazyUpdate=(this.lazyUpdate||[]).concat([Z]),X}applyUpdate(Z){const X=Z.name.toLowerCase();switch(Z.op){case"a":case"s":let ue=Z.value;if("string"==typeof ue&&(ue=[ue]),0===ue.length)return;this.maybeSetNormalizedName(Z.name,X);const be=("a"===Z.op?this.headers.get(X):void 0)||[];be.push(...ue),this.headers.set(X,be);break;case"d":const xe=Z.value;if(xe){let Ie=this.headers.get(X);if(!Ie)return;Ie=Ie.filter(et=>-1===xe.indexOf(et)),0===Ie.length?(this.headers.delete(X),this.normalizedNames.delete(X)):this.headers.set(X,Ie)}else this.headers.delete(X),this.normalizedNames.delete(X)}}setHeaderEntries(Z,X){const ue=(Array.isArray(X)?X:[X]).map(xe=>xe.toString()),be=Z.toLowerCase();this.headers.set(be,ue),this.maybeSetNormalizedName(Z,be)}forEach(Z){this.init(),Array.from(this.normalizedNames.keys()).forEach(X=>Z(this.normalizedNames.get(X),this.headers.get(X)))}}class Te{encodeKey(Z){return xt(Z)}encodeValue(Z){return xt(Z)}decodeKey(Z){return decodeURIComponent(Z)}decodeValue(Z){return decodeURIComponent(Z)}}const Xe=/%(\d[a-f0-9])/gi,bt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xt(N){return encodeURIComponent(N).replace(Xe,(Z,X)=>bt[X]??Z)}function Je(N){return`${N}`}class vt{constructor(Z={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Z.encoder||new Te,Z.fromString){if(Z.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function He(N,Z){const X=new Map;return N.length>0&&N.replace(/^\?/,"").split("&").forEach(be=>{const xe=be.indexOf("="),[Ie,et]=-1==xe?[Z.decodeKey(be),""]:[Z.decodeKey(be.slice(0,xe)),Z.decodeValue(be.slice(xe+1))],ze=X.get(Ie)||[];ze.push(et),X.set(Ie,ze)}),X}(Z.fromString,this.encoder)}else Z.fromObject?(this.map=new Map,Object.keys(Z.fromObject).forEach(X=>{const ue=Z.fromObject[X],be=Array.isArray(ue)?ue.map(Je):[Je(ue)];this.map.set(X,be)})):this.map=null}has(Z){return this.init(),this.map.has(Z)}get(Z){this.init();const X=this.map.get(Z);return X?X[0]:null}getAll(Z){return this.init(),this.map.get(Z)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Z,X){return this.clone({param:Z,value:X,op:"a"})}appendAll(Z){const X=[];return Object.keys(Z).forEach(ue=>{const be=Z[ue];Array.isArray(be)?be.forEach(xe=>{X.push({param:ue,value:xe,op:"a"})}):X.push({param:ue,value:be,op:"a"})}),this.clone(X)}set(Z,X){return this.clone({param:Z,value:X,op:"s"})}delete(Z,X){return this.clone({param:Z,value:X,op:"d"})}toString(){return this.init(),this.keys().map(Z=>{const X=this.encoder.encodeKey(Z);return this.map.get(Z).map(ue=>X+"="+this.encoder.encodeValue(ue)).join("&")}).filter(Z=>""!==Z).join("&")}clone(Z){const X=new vt({encoder:this.encoder});return X.cloneFrom=this.cloneFrom||this,X.updates=(this.updates||[]).concat(Z),X}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Z=>this.map.set(Z,this.cloneFrom.map.get(Z))),this.updates.forEach(Z=>{switch(Z.op){case"a":case"s":const X=("a"===Z.op?this.map.get(Z.param):void 0)||[];X.push(Je(Z.value)),this.map.set(Z.param,X);break;case"d":if(void 0===Z.value){this.map.delete(Z.param);break}{let ue=this.map.get(Z.param)||[];const be=ue.indexOf(Je(Z.value));-1!==be&&ue.splice(be,1),ue.length>0?this.map.set(Z.param,ue):this.map.delete(Z.param)}}}),this.cloneFrom=this.updates=null)}}class nt{constructor(){this.map=new Map}set(Z,X){return this.map.set(Z,X),this}get(Z){return this.map.has(Z)||this.map.set(Z,Z.defaultValue()),this.map.get(Z)}delete(Z){return this.map.delete(Z),this}has(Z){return this.map.has(Z)}keys(){return this.map.keys()}}function lt(N){return typeof ArrayBuffer<"u"&&N instanceof ArrayBuffer}function It(N){return typeof Blob<"u"&&N instanceof Blob}function pt(N){return typeof FormData<"u"&&N instanceof FormData}class j{constructor(Z,X,ue,be){let xe;if(this.url=X,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Z.toUpperCase(),function dt(N){switch(N){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||be?(this.body=void 0!==ue?ue:null,xe=be):xe=ue,xe&&(this.reportProgress=!!xe.reportProgress,this.withCredentials=!!xe.withCredentials,xe.responseType&&(this.responseType=xe.responseType),xe.headers&&(this.headers=xe.headers),xe.context&&(this.context=xe.context),xe.params&&(this.params=xe.params),this.transferCache=xe.transferCache),this.headers??=new Ce,this.context??=new nt,this.params){const Ie=this.params.toString();if(0===Ie.length)this.urlWithParams=X;else{const et=X.indexOf("?");this.urlWithParams=X+(-1===et?"?":et<X.length-1?"&":"")+Ie}}else this.params=new vt,this.urlWithParams=X}serializeBody(){return null===this.body?null:"string"==typeof this.body||lt(this.body)||It(this.body)||pt(this.body)||function Le(N){return typeof URLSearchParams<"u"&&N instanceof URLSearchParams}(this.body)?this.body:this.body instanceof vt?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||pt(this.body)?null:It(this.body)?this.body.type||null:lt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof vt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Z={}){const X=Z.method||this.method,ue=Z.url||this.url,be=Z.responseType||this.responseType,xe=Z.transferCache??this.transferCache,Ie=void 0!==Z.body?Z.body:this.body,et=Z.withCredentials??this.withCredentials,ze=Z.reportProgress??this.reportProgress;let Gt=Z.headers||this.headers,Xt=Z.params||this.params;const F=Z.context??this.context;return void 0!==Z.setHeaders&&(Gt=Object.keys(Z.setHeaders).reduce((Me,I)=>Me.set(I,Z.setHeaders[I]),Gt)),Z.setParams&&(Xt=Object.keys(Z.setParams).reduce((Me,I)=>Me.set(I,Z.setParams[I]),Xt)),new j(X,ue,Ie,{params:Xt,headers:Gt,context:F,reportProgress:ze,responseType:be,withCredentials:et,transferCache:xe})}}var se=function(N){return N[N.Sent=0]="Sent",N[N.UploadProgress=1]="UploadProgress",N[N.ResponseHeader=2]="ResponseHeader",N[N.DownloadProgress=3]="DownloadProgress",N[N.Response=4]="Response",N[N.User=5]="User",N}(se||{});class Se{constructor(Z,X=200,ue="OK"){this.headers=Z.headers||new Ce,this.status=void 0!==Z.status?Z.status:X,this.statusText=Z.statusText||ue,this.url=Z.url||null,this.ok=this.status>=200&&this.status<300}}class Re extends Se{constructor(Z={}){super(Z),this.type=se.ResponseHeader}clone(Z={}){return new Re({headers:Z.headers||this.headers,status:void 0!==Z.status?Z.status:this.status,statusText:Z.statusText||this.statusText,url:Z.url||this.url||void 0})}}class ot extends Se{constructor(Z={}){super(Z),this.type=se.Response,this.body=void 0!==Z.body?Z.body:null}clone(Z={}){return new ot({body:void 0!==Z.body?Z.body:this.body,headers:Z.headers||this.headers,status:void 0!==Z.status?Z.status:this.status,statusText:Z.statusText||this.statusText,url:Z.url||this.url||void 0})}}class ut extends Se{constructor(Z){super(Z,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Z.url||"(unknown url)"}`:`Http failure response for ${Z.url||"(unknown url)"}: ${Z.status} ${Z.statusText}`,this.error=Z.error||null}}function Rt(N,Z){return{body:Z,headers:N.headers,context:N.context,observe:N.observe,params:N.params,reportProgress:N.reportProgress,responseType:N.responseType,withCredentials:N.withCredentials,transferCache:N.transferCache}}let gt=(()=>{class N{constructor(X){this.handler=X}request(X,ue,be={}){let xe;if(X instanceof j)xe=X;else{let ze,Gt;ze=be.headers instanceof Ce?be.headers:new Ce(be.headers),be.params&&(Gt=be.params instanceof vt?be.params:new vt({fromObject:be.params})),xe=new j(X,ue,void 0!==be.body?be.body:null,{headers:ze,context:be.context,params:Gt,reportProgress:be.reportProgress,responseType:be.responseType||"json",withCredentials:be.withCredentials,transferCache:be.transferCache})}const Ie=(0,L.of)(xe).pipe((0,q.H)(ze=>this.handler.handle(ze)));if(X instanceof j||"events"===be.observe)return Ie;const et=Ie.pipe((0,z.p)(ze=>ze instanceof ot));switch(be.observe||"body"){case"body":switch(xe.responseType){case"arraybuffer":return et.pipe((0,te.T)(ze=>{if(null!==ze.body&&!(ze.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ze.body}));case"blob":return et.pipe((0,te.T)(ze=>{if(null!==ze.body&&!(ze.body instanceof Blob))throw new Error("Response is not a Blob.");return ze.body}));case"text":return et.pipe((0,te.T)(ze=>{if(null!==ze.body&&"string"!=typeof ze.body)throw new Error("Response is not a string.");return ze.body}));default:return et.pipe((0,te.T)(ze=>ze.body))}case"response":return et;default:throw new Error(`Unreachable: unhandled observe type ${be.observe}}`)}}delete(X,ue={}){return this.request("DELETE",X,ue)}get(X,ue={}){return this.request("GET",X,ue)}head(X,ue={}){return this.request("HEAD",X,ue)}jsonp(X,ue){return this.request("JSONP",X,{params:(new vt).append(ue,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(X,ue={}){return this.request("OPTIONS",X,ue)}patch(X,ue,be={}){return this.request("PATCH",X,Rt(be,ue))}post(X,ue,be={}){return this.request("POST",X,Rt(be,ue))}put(X,ue,be={}){return this.request("PUT",X,Rt(be,ue))}static{this.\u0275fac=function(ue){return new(ue||N)(V.KVO(Oe))}}static{this.\u0275prov=V.jDH({token:N,factory:N.\u0275fac})}}return N})();const Mn=/^\)\]\}',?\n/;function dn(N){if(N.url)return N.url;const Z="X-Request-URL".toLocaleLowerCase();return N.headers.get(Z)}let _n=(()=>{class N{constructor(){this.fetchImpl=(0,V.WQX)(Un,{optional:!0})?.fetch??((...X)=>globalThis.fetch(...X)),this.ngZone=(0,V.WQX)(V.SKi)}handle(X){return new B.c(ue=>{const be=new AbortController;return this.doRequest(X,be.signal,ue).then(Vn,xe=>ue.error(new ut({error:xe}))),()=>be.abort()})}doRequest(X,ue,be){var xe=this;return x(function*(){const Ie=xe.createRequestInit(X);let et;try{const oe=xe.ngZone.runOutsideAngular(()=>xe.fetchImpl(X.urlWithParams,{signal:ue,...Ie}));(function go(N){N.then(Vn,Vn)})(oe),be.next({type:se.Sent}),et=yield oe}catch(oe){return void be.error(new ut({error:oe,status:oe.status??0,statusText:oe.statusText,url:X.urlWithParams,headers:oe.headers}))}const ze=new Ce(et.headers),Gt=et.statusText,Xt=dn(et)??X.urlWithParams;let F=et.status,Me=null;if(X.reportProgress&&be.next(new Re({headers:ze,status:F,statusText:Gt,url:Xt})),et.body){const oe=et.headers.get("content-length"),_e=[],Ge=et.body.getReader();let Jt,an,_t=0;const Ei=typeof Zone<"u"&&Zone.current;yield xe.ngZone.runOutsideAngular(x(function*(){for(;;){const{done:no,value:zo}=yield Ge.read();if(no)break;if(_e.push(zo),_t+=zo.length,X.reportProgress){an="text"===X.responseType?(an??"")+(Jt??=new TextDecoder).decode(zo,{stream:!0}):void 0;const or=()=>be.next({type:se.DownloadProgress,total:oe?+oe:void 0,loaded:_t,partialText:an});Ei?Ei.run(or):or()}}}));const Mr=xe.concatChunks(_e,_t);try{const no=et.headers.get("Content-Type")??"";Me=xe.parseBody(X,Mr,no)}catch(no){return void be.error(new ut({error:no,headers:new Ce(et.headers),status:et.status,statusText:et.statusText,url:dn(et)??X.urlWithParams}))}}0===F&&(F=Me?200:0),F>=200&&F<300?(be.next(new ot({body:Me,headers:ze,status:F,statusText:Gt,url:Xt})),be.complete()):be.error(new ut({error:Me,headers:ze,status:F,statusText:Gt,url:Xt}))})()}parseBody(X,ue,be){switch(X.responseType){case"json":const xe=(new TextDecoder).decode(ue).replace(Mn,"");return""===xe?null:JSON.parse(xe);case"text":return(new TextDecoder).decode(ue);case"blob":return new Blob([ue],{type:be});case"arraybuffer":return ue.buffer}}createRequestInit(X){const ue={},be=X.withCredentials?"include":void 0;if(X.headers.forEach((xe,Ie)=>ue[xe]=Ie.join(",")),X.headers.has("Accept")||(ue.Accept="application/json, text/plain, */*"),!X.headers.has("Content-Type")){const xe=X.detectContentTypeHeader();null!==xe&&(ue["Content-Type"]=xe)}return{body:X.serializeBody(),method:X.method,headers:ue,credentials:be}}concatChunks(X,ue){const be=new Uint8Array(ue);let xe=0;for(const Ie of X)be.set(Ie,xe),xe+=Ie.length;return be}static{this.\u0275fac=function(ue){return new(ue||N)}}static{this.\u0275prov=V.jDH({token:N,factory:N.\u0275fac})}}return N})();class Un{}function Vn(){}function sn(N,Z){return Z(N)}function bn(N,Z){return(X,ue)=>Z.intercept(X,{handle:be=>N(be,ue)})}const In=new V.nKC(""),yi=new V.nKC(""),Zn=new V.nKC(""),Ii=new V.nKC("",{providedIn:"root",factory:()=>!0});function si(){let N=null;return(Z,X)=>{null===N&&(N=((0,V.WQX)(In,{optional:!0})??[]).reduceRight(bn,sn));const ue=(0,V.WQX)(V.TgB);if((0,V.WQX)(Ii)){const xe=ue.add();return N(Z,X).pipe((0,Y.j)(()=>ue.remove(xe)))}return N(Z,X)}}let ai=(()=>{class N extends Oe{constructor(X,ue){super(),this.backend=X,this.injector=ue,this.chain=null,this.pendingTasks=(0,V.WQX)(V.TgB),this.contributeToStability=(0,V.WQX)(Ii)}handle(X){if(null===this.chain){const ue=Array.from(new Set([...this.injector.get(yi),...this.injector.get(Zn,[])]));this.chain=ue.reduceRight((be,xe)=>function zi(N,Z,X){return(ue,be)=>(0,V.N4e)(X,()=>Z(ue,xe=>N(xe,be)))}(be,xe,this.injector),sn)}if(this.contributeToStability){const ue=this.pendingTasks.add();return this.chain(X,be=>this.backend.handle(be)).pipe((0,Y.j)(()=>this.pendingTasks.remove(ue)))}return this.chain(X,ue=>this.backend.handle(ue))}static{this.\u0275fac=function(ue){return new(ue||N)(V.KVO(Ee),V.KVO(V.uvJ))}}static{this.\u0275prov=V.jDH({token:N,factory:N.\u0275fac})}}return N})();const St=/^\)\]\}',?\n/;let Ri=(()=>{class N{constructor(X){this.xhrFactory=X}handle(X){if("JSONP"===X.method)throw new V.wOt(-2800,!1);const ue=this.xhrFactory;return(ue.\u0275loadImpl?(0,H.H)(ue.\u0275loadImpl()):(0,L.of)(null)).pipe((0,ie.n)(()=>new B.c(xe=>{const Ie=ue.build();if(Ie.open(X.method,X.urlWithParams),X.withCredentials&&(Ie.withCredentials=!0),X.headers.forEach((_e,Ge)=>Ie.setRequestHeader(_e,Ge.join(","))),X.headers.has("Accept")||Ie.setRequestHeader("Accept","application/json, text/plain, */*"),!X.headers.has("Content-Type")){const _e=X.detectContentTypeHeader();null!==_e&&Ie.setRequestHeader("Content-Type",_e)}if(X.responseType){const _e=X.responseType.toLowerCase();Ie.responseType="json"!==_e?_e:"text"}const et=X.serializeBody();let ze=null;const Gt=()=>{if(null!==ze)return ze;const _e=Ie.statusText||"OK",Ge=new Ce(Ie.getAllResponseHeaders()),_t=function jt(N){return"responseURL"in N&&N.responseURL?N.responseURL:/^X-Request-URL:/m.test(N.getAllResponseHeaders())?N.getResponseHeader("X-Request-URL"):null}(Ie)||X.url;return ze=new Re({headers:Ge,status:Ie.status,statusText:_e,url:_t}),ze},Xt=()=>{let{headers:_e,status:Ge,statusText:_t,url:Jt}=Gt(),an=null;204!==Ge&&(an=typeof Ie.response>"u"?Ie.responseText:Ie.response),0===Ge&&(Ge=an?200:0);let Ei=Ge>=200&&Ge<300;if("json"===X.responseType&&"string"==typeof an){const Mr=an;an=an.replace(St,"");try{an=""!==an?JSON.parse(an):null}catch(no){an=Mr,Ei&&(Ei=!1,an={error:no,text:an})}}Ei?(xe.next(new ot({body:an,headers:_e,status:Ge,statusText:_t,url:Jt||void 0})),xe.complete()):xe.error(new ut({error:an,headers:_e,status:Ge,statusText:_t,url:Jt||void 0}))},F=_e=>{const{url:Ge}=Gt(),_t=new ut({error:_e,status:Ie.status||0,statusText:Ie.statusText||"Unknown Error",url:Ge||void 0});xe.error(_t)};let Me=!1;const I=_e=>{Me||(xe.next(Gt()),Me=!0);let Ge={type:se.DownloadProgress,loaded:_e.loaded};_e.lengthComputable&&(Ge.total=_e.total),"text"===X.responseType&&Ie.responseText&&(Ge.partialText=Ie.responseText),xe.next(Ge)},oe=_e=>{let Ge={type:se.UploadProgress,loaded:_e.loaded};_e.lengthComputable&&(Ge.total=_e.total),xe.next(Ge)};return Ie.addEventListener("load",Xt),Ie.addEventListener("error",F),Ie.addEventListener("timeout",F),Ie.addEventListener("abort",F),X.reportProgress&&(Ie.addEventListener("progress",I),null!==et&&Ie.upload&&Ie.upload.addEventListener("progress",oe)),Ie.send(et),xe.next({type:se.Sent}),()=>{Ie.removeEventListener("error",F),Ie.removeEventListener("abort",F),Ie.removeEventListener("load",Xt),Ie.removeEventListener("timeout",F),X.reportProgress&&(Ie.removeEventListener("progress",I),null!==et&&Ie.upload&&Ie.upload.removeEventListener("progress",oe)),Ie.readyState!==Ie.DONE&&Ie.abort()}})))}static{this.\u0275fac=function(ue){return new(ue||N)(V.KVO(ge.N0))}}static{this.\u0275prov=V.jDH({token:N,factory:N.\u0275fac})}}return N})();const Yn=new V.nKC(""),wi=new V.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),En=new V.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Jn{}let he=(()=>{class N{constructor(X,ue,be){this.doc=X,this.platform=ue,this.cookieName=be,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const X=this.doc.cookie||"";return X!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ge._b)(X,this.cookieName),this.lastCookieString=X),this.lastToken}static{this.\u0275fac=function(ue){return new(ue||N)(V.KVO(ge.qQ),V.KVO(V.Agw),V.KVO(wi))}}static{this.\u0275prov=V.jDH({token:N,factory:N.\u0275fac})}}return N})();function le(N,Z){const X=N.url.toLowerCase();if(!(0,V.WQX)(Yn)||"GET"===N.method||"HEAD"===N.method||X.startsWith("http://")||X.startsWith("https://"))return Z(N);const ue=(0,V.WQX)(Jn).getToken(),be=(0,V.WQX)(En);return null!=ue&&!N.headers.has(be)&&(N=N.clone({headers:N.headers.set(be,ue)})),Z(N)}var ne=function(N){return N[N.Interceptors=0]="Interceptors",N[N.LegacyInterceptors=1]="LegacyInterceptors",N[N.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",N[N.NoXsrfProtection=3]="NoXsrfProtection",N[N.JsonpSupport=4]="JsonpSupport",N[N.RequestsMadeViaParent=5]="RequestsMadeViaParent",N[N.Fetch=6]="Fetch",N}(ne||{});function Ue(...N){const Z=[gt,Ri,ai,{provide:Oe,useExisting:ai},{provide:Ee,useFactory:()=>(0,V.WQX)(_n,{optional:!0})??(0,V.WQX)(Ri)},{provide:yi,useValue:le,multi:!0},{provide:Yn,useValue:!0},{provide:Jn,useClass:he}];for(const X of N)Z.push(...X.\u0275providers);return(0,V.EmA)(Z)}const Pt=new V.nKC("");function kt(){return function ve(N,Z){return{\u0275kind:N,\u0275providers:Z}}(ne.LegacyInterceptors,[{provide:Pt,useFactory:si},{provide:yi,useExisting:Pt,multi:!0}])}let mo=(()=>{class N{static{this.\u0275fac=function(ue){return new(ue||N)}}static{this.\u0275mod=V.$C({type:N})}static{this.\u0275inj=V.G2t({providers:[Ue(kt())]})}}return N})()},3953:(pe,K,O)=>{"use strict";function r(e,t){return Object.is(e,t)}O.d(K,{bc$:()=>mD,iLQ:()=>Id,sZ2:()=>Eu,hnV:()=>ww,Hbi:()=>zI,o8S:()=>zr,BIS:()=>_D,gRc:()=>Lw,Ql9:()=>fI,Ocv:()=>yI,abz:()=>Ua,Z63:()=>p,aKT:()=>Wl,uvJ:()=>Jo,zcH:()=>fs,bkB:()=>Br,$GK:()=>Tt,nKC:()=>st,zZn:()=>Hi,_q3:()=>rg,MKu:()=>sg,xe9:()=>Yp,Co$:()=>wv,Vns:()=>va,SKi:()=>Ln,Xx1:()=>xi,Agw:()=>Su,PLl:()=>qm,sFG:()=>lS,_9s:()=>Vf,czy:()=>Bu,kdw:()=>Xi,C4Q:()=>uc,NYb:()=>sI,giA:()=>vw,RxE:()=>dw,c1b:()=>id,gXe:()=>Q,mal:()=>dd,Af3:()=>tu,tdH:()=>cO,L39:()=>wR,EWP:()=>bR,Ol2:()=>ep,w6W:()=>JS,oH4:()=>Nw,QZP:()=>CM,Rfq:()=>Zo,WQX:()=>Pe,naY:()=>xI,QuC:()=>Fs,EmA:()=>Al,fpN:()=>HI,HJs:()=>xR,N4e:()=>IM,vPA:()=>iv,O8t:()=>DR,H3F:()=>hw,zAP:()=>lM,H8p:()=>qd,KH2:()=>wl,TgB:()=>da,wOt:()=>Ve,WHO:()=>_w,e01:()=>Cw,H5H:()=>Op,Zy3:()=>ki,mq5:()=>Py,JZv:()=>vn,LfX:()=>Ol,plB:()=>js,jNT:()=>Kp,zjR:()=>yw,TL$:()=>pD,Tbb:()=>xn,Vt3:()=>Zf,GFd:()=>yv,OA$:()=>nh,Jv_:()=>V0,aNF:()=>B0,R7$:()=>z_,BMQ:()=>fp,HbH:()=>dy,ZvI:()=>Cy,AVh:()=>yp,vxM:()=>My,wni:()=>d0,VBU:()=>Fo,FsC:()=>Qc,jDH:()=>en,G2t:()=>Ro,$C:()=>lo,EJ8:()=>na,rXU:()=>Qa,nrm:()=>Ep,eu8:()=>Sp,bVm:()=>yd,qex:()=>vd,k0s:()=>Cd,j41:()=>_d,RV6:()=>Ey,xGo:()=>dm,KVO:()=>Ct,kS0:()=>vu,QTQ:()=>W_,bIt:()=>Tp,lsd:()=>p0,qSk:()=>Qg,XpG:()=>Jy,SdG:()=>t0,NAR:()=>e0,Y8G:()=>_p,FS9:()=>Rp,Mz_:()=>Ed,eq3:()=>$0,sMw:()=>H0,mGM:()=>f0,sdS:()=>g0,Njj:()=>Lg,eBV:()=>Fg,npT:()=>__,n$t:()=>y_,xc7:()=>vp,DNE:()=>np,C5r:()=>X0,EFF:()=>E0,JRh:()=>Ap,SpI:()=>Sd,Lme:()=>kp,DH7:()=>A0,mxI:()=>Lp,R50:()=>Fp,GBs:()=>h0});let x=null,V=!1,L=1;const B=Symbol("SIGNAL");function H(e){const t=x;return x=e,t}function q(){return x}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 ie(e){if(V)throw new Error("");if(null===x)return;x.consumerOnSignalRead(e);const t=x.nextProducerIndex++;Ht(x),t<x.producerNode.length&&x.producerNode[t]!==e&&vt(x)&&Je(x.producerNode[t],x.producerIndexOfThis[t]),x.producerNode[t]!==e&&(x.producerNode[t]=e,x.producerIndexOfThis[t]=vt(x)?xt(e,x,t):0),x.producerLastReadVersion[t]=e.version}function Oe(e){if((!vt(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==L)){if(!e.producerMustRecompute(e)&&!Xe(e))return e.dirty=!1,void(e.lastCleanEpoch=L);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=L}}function Ee(e){if(void 0===e.liveConsumerNode)return;const t=V;V=!0;try{for(const n of e.liveConsumerNode)n.dirty||Fe(n)}finally{V=t}}function Ce(){return!1!==x?.consumerAllowSignalWrites}function Fe(e){e.dirty=!0,Ee(e),e.consumerMarkedDirty?.(e)}function Te(e){return e&&(e.nextProducerIndex=0),H(e)}function He(e,t){if(H(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(vt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Je(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Xe(e){Ht(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(Oe(n),i!==n.version))return!0}return!1}function bt(e){if(Ht(e),vt(e))for(let t=0;t<e.producerNode.length;t++)Je(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 xt(e,t,n){if(nt(e),0===e.liveConsumerNode.length&&dt(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=xt(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Je(e,t){if(nt(e),1===e.liveConsumerNode.length&&dt(e))for(let i=0;i<e.producerNode.length;i++)Je(e.producerNode[i],e.producerIndexOfThis[i]);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 i=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Ht(o),o.producerIndexOfThis[i]=t}}function vt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ht(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function nt(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function dt(e){return void 0!==e.producerNode}const It=Symbol("UNSET"),pt=Symbol("COMPUTING"),Le=Symbol("ERRORED"),j={...Y,value:It,dirty:!0,error:null,equal:r,producerMustRecompute:e=>e.value===It||e.value===pt,producerRecomputeValue(e){if(e.value===pt)throw new Error("Detected cycle in computations.");const t=e.value;e.value=pt;const n=Te(e);let i;try{i=e.computation()}catch(o){i=Le,e.error=o}finally{He(e,n)}t!==It&&t!==Le&&i!==Le&&e.equal(t,i)?e.value=t:(e.value=i,e.version++)}};let Se=function se(){throw new Error};function Re(){Se()}let ut=null;function Rt(e,t){Ce()||Re(),e.equal(e.value,t)||(e.value=t,function dn(e){e.version++,function ge(){L++}(),Ee(e),ut?.()}(e))}const on={...Y,equal:r,value:void 0};const Un=()=>{},Vn={...Y,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Un};var sn=O(4412),bn=O(1413),zi=O(8359),In=O(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 cr="https://g.co/ng/security#xss";class Ve extends Error{constructor(t,n){super(ki(t,n)),this.code=t}}function ki(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function qi(e){return{toString:e}.toString()}const hi="__parameters__";function Pi(e,t,n){return qi(()=>{const i=function Fi(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...s){if(this instanceof o)return i.apply(this,s),this;const a=new o(...s);return c.annotation=a,c;function c(h,y,b){const k=h.hasOwnProperty(hi)?h[hi]:Object.defineProperty(h,hi,{value:[]})[hi];for(;k.length<=b;)k.push(null);return(k[b]=k[b]||[]).push(a),h}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const vn=globalThis;function Ut(e){for(let t in e)if(e[t]===Ut)return t;throw Error("Could not find renamed property on target object.")}function _s(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function xn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(xn).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 Jr(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const es=Ut({__forward_ref__:Ut});function Zo(e){return e.__forward_ref__=Zo,e.toString=function(){return xn(this())},e}function tt(e){return so(e)?e():e}function so(e){return"function"==typeof e&&e.hasOwnProperty(es)&&e.__forward_ref__===Zo}function en(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ro(e){return{providers:e.providers||[],imports:e.imports||[]}}function ts(e){return bs(e,dr)||bs(e,_o)}function Ol(e){return null!==ts(e)}function bs(e,t){return e.hasOwnProperty(t)?e[t]:null}function Es(e){return e&&(e.hasOwnProperty(Qs)||e.hasOwnProperty(Ss))?e[Qs]:null}const dr=Ut({\u0275prov:Ut}),Qs=Ut({\u0275inj:Ut}),_o=Ut({ngInjectableDef:Ut}),Ss=Ut({ngInjectorDef:Ut});class st{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=en({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Zs(e){return e&&!!e.\u0275providers}const Tr=Ut({\u0275cmp:Ut}),xs=Ut({\u0275dir:Ut}),Ir=Ut({\u0275pipe:Ut}),Ys=Ut({\u0275mod:Ut}),Co=Ut({\u0275fac:Ut}),vo=Ut({__NG_ELEMENT_ID__:Ut}),Ts=Ut({__NG_ENV_ID__:Ut});function at(e){return"string"==typeof e?e:null==e?"":String(e)}function Js(e,t){throw new Ve(-201,!1)}var Tt=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}(Tt||{});let Is;function hr(){return Is}function fn(e){const t=Is;return Is=e,t}function fr(e,t,n){const i=ts(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Tt.Optional?null:void 0!==t?t:void Js()}const ss={},ea="__NG_DI_FLAG__",f="ngTempTokenPath",v=/\n/gm,U="__source";let ce;function $e(e){const t=ce;return ce=e,t}function Lt(e,t=Tt.Default){if(void 0===ce)throw new Ve(-203,!1);return null===ce?fr(e,void 0,t):ce.get(e,t&Tt.Optional?null:void 0,t)}function Ct(e,t=Tt.Default){return(hr()||Lt)(tt(e),t)}function Pe(e,t=Tt.Default){return Ct(e,ln(t))}function ln(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Qt(e){const t=[];for(let n=0;n<e.length;n++){const i=tt(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Ve(900,!1);let o,s=Tt.Default;for(let a=0;a<i.length;a++){const c=i[a],h=No(c);"number"==typeof h?-1===h?o=c.token:s|=h:o=c}t.push(Ct(o,s))}else t.push(Ct(i))}return t}function pn(e,t){return e[ea]=t,e.prototype[ea]=t,e}function No(e){return e[ea]}const xi=pn(Pi("Optional"),8),Xi=pn(Pi("SkipSelf"),4);function pr(e,t){return e.hasOwnProperty(Co)?e[Co]:null}function as(e,t){e.forEach(n=>Array.isArray(n)?as(n,t):t(n))}function ta(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ns(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Qi(e,t,n){let i=As(e,t);return i>=0?e[1|i]=n:(i=~i,function qc(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Rl(e,t){const n=As(e,t);if(n>=0)return e[1|n]}function As(e,t){return function Nl(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const s=i+(o-i>>1),a=e[s<<n];if(t===a)return s<<n;a>t?o=s:i=s+1}return~(o<<n)}(e,t,1)}const ko={},Zt=[],p=new st(""),A=new st("",-1),l=new st("");class g{get(t,n=ss){if(n===ss){const i=new Error(`NullInjectorError: No provider for ${xn(t)}!`);throw i.name="NullInjectorError",i}return n}}var P=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(P||{}),Q=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Q||{}),fe=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(fe||{});function qe(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const s=t.length;if(o+s===i||e.charCodeAt(o+s)<=32)return o}n=o+1}}function Ye(e,t,n){let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],c=n[i++];e.setAttribute(t,a,c,s)}else{const s=o,a=n[++i];Wt(s)?e.setProperty(t,s,a):e.setAttribute(t,s,a),i++}}return i}function $t(e){return 3===e||4===e||6===e}function Wt(e){return 64===e.charCodeAt(0)}function Tn(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?n=o:0===n||yo(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function yo(e,t,n,i,o){let s=0,a=e.length;if(-1===t)a=-1;else for(;s<e.length;){const c=e[s++];if("number"==typeof c){if(c===t){a=-1;break}if(c>t){a=s-1;break}}}for(;s<e.length;){const c=e[s];if("number"==typeof c)break;if(c===n){if(null===i)return void(null!==o&&(e[s+1]=o));if(i===e[s+1])return void(e[s+2]=o)}s++,null!==i&&s++,null!==o&&s++}-1!==a&&(e.splice(a,0,t),s=a+1),e.splice(s++,0,n),null!==i&&e.splice(s++,0,i),null!==o&&e.splice(s++,0,o)}const gr="ng-template";function Xc(e,t,n,i){let o=0;if(i){for(;o<t.length&&"string"==typeof t[o];o+=2)if("class"===t[o]&&-1!==qe(t[o+1].toLowerCase(),n,0))return!0}else if(Rr(e))return!1;if(o=t.indexOf(1,o),o>-1){let s;for(;++o<t.length&&"string"==typeof(s=t[o]);)if(s.toLowerCase()===n)return!0}return!1}function Rr(e){return 4===e.type&&e.value!==gr}function u(e,t,n){return t===(4!==e.type||n?e.value:gr)}function m(e,t,n){let i=4;const o=e.attrs,s=null!==o?function $(e){for(let t=0;t<e.length;t++)if($t(e[t]))return t;return e.length}(o):0;let a=!1;for(let c=0;c<t.length;c++){const h=t[c];if("number"!=typeof h){if(!a)if(4&i){if(i=2|1&i,""!==h&&!u(e,h,n)||""===h&&1===t.length){if(d(i))return!1;a=!0}}else if(8&i){if(null===o||!Xc(e,o,h,n)){if(d(i))return!1;a=!0}}else{const y=t[++c],b=_(h,o,Rr(e),n);if(-1===b){if(d(i))return!1;a=!0;continue}if(""!==y){let k;if(k=b>s?"":o[b+1].toLowerCase(),2&i&&y!==k){if(d(i))return!1;a=!0}}}}else{if(!a&&!d(i)&&!d(h))return!1;if(a&&d(h))continue;a=!1,i=h|1&i}}return d(i)||a}function d(e){return!(1&e)}function _(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let s=!1;for(;o<t.length;){const a=t[o];if(a===e)return o;if(3===a||6===a)s=!0;else{if(1===a||2===a){let c=t[++o];for(;"string"==typeof c;)c=t[++o];continue}if(4===a)break;if(0===a){o+=4;continue}}o+=s?1:2}return-1}return function de(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function D(e,t,n=!1){for(let i=0;i<t.length;i++)if(m(e,t[i],n))return!0;return!1}function ae(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function je(e,t){return e?":not("+t.trim()+")":t}function ct(e){let t=e[0],n=1,i=2,o="",s=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&i){const c=e[++n];o+="["+a+(c.length>0?'="'+c+'"':"")+"]"}else 8&i?o+="."+a:4&i&&(o+=" "+a);else""!==o&&!d(a)&&(t+=je(s,o),o=""),i=a,s=s||!d(i);n++}return""!==o&&(t+=je(s,o)),t}function Fo(e){return qi(()=>{const t=dg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===P.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Q.Emulated,styles:e.styles||Zt,_:null,schemas:e.schemas||null,tView:null,id:""};hg(n);const i=e.dependencies;return n.directiveDefs=Zc(i,!1),n.pipeDefs=Zc(i,!0),n.id=function wM(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 o of n)t=Math.imul(31,t)+o.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Bi(e){return Vt(e)||pi(e)}function Nr(e){return null!==e}function lo(e){return qi(()=>({type:e.type,bootstrap:e.bootstrap||Zt,declarations:e.declarations||Zt,imports:e.imports||Zt,exports:e.exports||Zt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ks(e,t){if(null==e)return ko;const n={};for(const i in e)if(e.hasOwnProperty(i)){const o=e[i];let s,a,c=fe.None;Array.isArray(o)?(c=o[0],s=o[1],a=o[2]??s):(s=o,a=o),t?(n[s]=c!==fe.None?[i,c]:i,t[s]=a):n[s]=i}return n}function Qc(e){return qi(()=>{const t=dg(e);return hg(t),t})}function na(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 Vt(e){return e[Tr]||null}function pi(e){return e[xs]||null}function ji(e){return e[Ir]||null}function Fs(e){const t=Vt(e)||pi(e)||ji(e);return null!==t&&t.standalone}function Zi(e,t){const n=e[Ys]||null;if(!n&&!0===t)throw new Error(`Type ${xn(e)} does not have '\u0275mod' property.`);return n}function dg(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||ko,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Zt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ks(e.inputs,t),outputs:ks(e.outputs),debugInfo:null}}function hg(e){e.features?.forEach(t=>t(e))}function Zc(e,t){if(!e)return null;const n=t?ji:Bi;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(Nr)}function Al(e){return{\u0275providers:e}}function MM(...e){return{\u0275providers:zd(0,e),\u0275fromNgModule:!0}}function zd(e,...t){const n=[],i=new Set;let o;const s=a=>{n.push(a)};return as(t,a=>{const c=a;Yc(c,s,[],i)&&(o||=[],o.push(c))}),void 0!==o&&fg(o,s),n}function fg(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:o}=e[n];Gd(o,s=>{t(s,i)})}}function Yc(e,t,n,i){if(!(e=tt(e)))return!1;let o=null,s=Es(e);const a=!s&&Vt(e);if(s||a){if(a&&!a.standalone)return!1;o=e}else{const h=e.ngModule;if(s=Es(h),!s)return!1;o=h}const c=i.has(o);if(a){if(c)return!1;if(i.add(o),a.dependencies){const h="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const y of h)Yc(y,t,n,i)}}else{if(!s)return!1;{if(null!=s.imports&&!c){let y;i.add(o);try{as(s.imports,b=>{Yc(b,t,n,i)&&(y||=[],y.push(b))})}finally{}void 0!==y&&fg(y,t)}if(!c){const y=pr(o)||(()=>new o);t({provide:o,useFactory:y,deps:Zt},o),t({provide:l,useValue:o,multi:!0},o),t({provide:p,useValue:()=>Ct(o),multi:!0},o)}const h=s.providers;if(null!=h&&!c){const y=e;Gd(h,b=>{t(b,y)})}}}return o!==e&&void 0!==e.providers}function Gd(e,t){for(let n of e)Zs(n)&&(n=n.\u0275providers),Array.isArray(n)?Gd(n,t):t(n)}const bM=Ut({provide:String,useValue:Ut});function Wd(e){return null!==e&&"object"==typeof e&&bM in e}function ia(e){return"function"==typeof e}const qd=new st(""),Jc={},EM={};let Kd;function eu(){return void 0===Kd&&(Kd=new g),Kd}class Jo{}class Ta extends Jo{get destroyed(){return this._destroyed}constructor(t,n,i,o){super(),this.parent=n,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Qd(t,a=>this.processProvider(a)),this.records.set(A,Ia(void 0,this)),o.has("environment")&&this.records.set(Jo,Ia(void 0,this));const s=this.records.get(qd);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(l,Zt,Tt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=H(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),H(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=$e(this),i=fn(void 0);try{return t()}finally{$e(n),fn(i)}}get(t,n=ss,i=Tt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ts))return t[Ts](this);i=ln(i);const s=$e(this),a=fn(void 0);try{if(!(i&Tt.SkipSelf)){let h=this.records.get(t);if(void 0===h){const y=function TM(e){return"function"==typeof e||"object"==typeof e&&e instanceof st}(t)&&ts(t);h=y&&this.injectableDefInScope(y)?Ia(Xd(t),Jc):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(i&Tt.Self?eu():this.parent).get(t,n=i&Tt.Optional&&n===ss?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[f]=c[f]||[]).unshift(xn(t)),s)throw c;return function ao(e,t,n,i){const o=e[f];throw t[U]&&o.unshift(t[U]),e.message=function Yo(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=xn(t);if(Array.isArray(t))o=t.map(xn).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let c=t[a];s.push(a+":"+("string"==typeof c?JSON.stringify(c):xn(c)))}o=`{${s.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(v,"\n  ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[f]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{fn(a),$e(s)}}resolveInjectorInitializers(){const t=H(null),n=$e(this),i=fn(void 0);try{const s=this.get(p,Zt,Tt.Self);for(const a of s)a()}finally{$e(n),fn(i),H(t)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(xn(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ve(205,!1)}processProvider(t){let n=ia(t=tt(t))?t:tt(t&&t.provide);const i=function OM(e){return Wd(e)?Ia(void 0,e.useValue):Ia(mg(e),Jc)}(t);if(!ia(t)&&!0===t.multi){let o=this.records.get(n);o||(o=Ia(void 0,Jc,!0),o.factory=()=>Qt(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,i)}hydrate(t,n){const i=H(null);try{return n.value===Jc&&(n.value=EM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function xM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{H(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=tt(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 Xd(e){const t=ts(e),n=null!==t?t.factory:pr(e);if(null!==n)return n;if(e instanceof st)throw new Ve(204,!1);if(e instanceof Function)return function SM(e){if(e.length>0)throw new Ve(204,!1);const n=function Ds(e){return e&&(e[dr]||e[_o])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ve(204,!1)}function mg(e,t,n){let i;if(ia(e)){const o=tt(e);return pr(o)||Xd(o)}if(Wd(e))i=()=>tt(e.useValue);else if(function gg(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Qt(e.deps||[]));else if(function pg(e){return!(!e||!e.useExisting)}(e))i=()=>Ct(tt(e.useExisting));else{const o=tt(e&&(e.useClass||e.provide));if(!function PM(e){return!!e.deps}(e))return pr(o)||Xd(o);i=()=>new o(...Qt(e.deps))}return i}function Ia(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qd(e,t){for(const n of e)Array.isArray(n)?Qd(n,t):n&&Zs(n)?Qd(n.\u0275providers,t):t(n)}function IM(e,t){e instanceof Ta&&e.assertNotDestroyed();const i=$e(e),o=fn(void 0);try{return t()}finally{$e(i),fn(o)}}function _g(){return void 0!==hr()||null!=function De(){return ce}()}function tu(e){if(!_g())throw new Ve(-203,!1)}const kn=0,Ae=1,rt=2,oi=3,mr=4,Ui=5,co=6,Na=7,yn=8,ri=9,Ar=10,ht=11,Fl=12,vg=13,Aa=14,Fn=15,oa=16,ka=17,cs=18,Fa=19,yg=20,Ls=21,iu=22,er=23,Ze=25,Yd=1,kr=7,La=9,Wn=10;var ru=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ru||{});function mi(e){return Array.isArray(e)&&"object"==typeof e[Yd]}function Yi(e){return Array.isArray(e)&&!0===e[Yd]}function Jd(e){return!!(4&e.flags)}function ra(e){return e.componentOffset>-1}function su(e){return!(1&~e.flags)}function _r(e){return!!e.template}function Vl(e){return!!(512&e[rt])}class HM{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Eg(e,t,n,i){null!==t?t.applyValueToInputSignal(t,i):e[n]=i}function nh(){return Sg}function Sg(e){return e.type.prototype.ngOnChanges&&(e.setInput=GM),zM}function zM(){const e=Pg(this),t=e?.current;if(t){const n=e.previous;if(n===ko)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function GM(e,t,n,i,o){const s=this.declaredInputs[i],a=Pg(e)||function WM(e,t){return e[Og]=t}(e,{previous:ko,current:null}),c=a.current||(a.current={}),h=a.previous,y=h[s];c[s]=new HM(y&&y.currentValue,n,h===ko),Eg(e,t,o,n)}nh.ngInherit=!0;const Og="__ngSimpleChanges__";function Pg(e){return e[Og]||null}const Fr=function(e,t,n){},xg="svg";function nn(e){for(;Array.isArray(e);)e=e[kn];return e}function Bl(e,t){return nn(t[e])}function uo(e,t){return nn(t[e.index])}function jl(e,t){return e.data[t]}function Lo(e,t){const n=t[e];return mi(n)?n:n[kn]}function rh(e){return!(128&~e[rt])}function tr(e,t){return null==t?null:e[t]}function Ig(e){e[ka]=0}function Rg(e){1024&e[rt]||(e[rt]|=1024,rh(e)&&lu(e))}function au(e){return!!(9216&e[rt]||e[er]?.dirty)}function sh(e){e[Ar].changeDetectionScheduler?.notify(8),64&e[rt]&&(e[rt]|=1024),au(e)&&lu(e)}function lu(e){e[Ar].changeDetectionScheduler?.notify(0);let t=us(e);for(;null!==t&&!(8192&t[rt])&&(t[rt]|=8192,rh(t));)t=us(t)}function cu(e,t){if(!(256&~e[rt]))throw new Ve(911,!1);null===e[Ls]&&(e[Ls]=[]),e[Ls].push(t)}function us(e){const t=e[oi];return Yi(t)?t[oi]:t}const ft={lFrame:qg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ag=!1;function kg(){return ft.bindingsEnabled}function aa(){return null!==ft.skipHydrationRootTNode}function me(){return ft.lFrame.lView}function At(){return ft.lFrame.tView}function Fg(e){return ft.lFrame.contextLView=e,e[yn]}function Lg(e){return ft.lFrame.contextLView=null,e}function un(){let e=Vg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vg(){return ft.lFrame.currentTNode}function Cr(e,t){const n=ft.lFrame;n.currentTNode=e,n.isParent=t}function ch(){return ft.lFrame.isParent}function uh(){ft.lFrame.isParent=!1}function Ug(){return Ag}function $g(e){Ag=e}function ho(){const e=ft.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vr(){return ft.lFrame.bindingIndex++}function hs(e){const t=ft.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function sb(e,t){const n=ft.lFrame;n.bindingIndex=n.bindingRootIndex=e,dh(t)}function dh(e){ft.lFrame.currentDirectiveIndex=e}function fh(){return ft.lFrame.currentQueryIndex}function du(e){ft.lFrame.currentQueryIndex=e}function lb(e){const t=e[Ae];return 2===t.type?t.declTNode:1===t.type?e[Ui]:null}function Gg(e,t,n){if(n&Tt.SkipSelf){let o=t,s=e;for(;!(o=o.parent,null!==o||n&Tt.Host||(o=lb(s),null===o||(s=s[Aa],10&o.type))););if(null===o)return!1;t=o,e=s}const i=ft.lFrame=Wg();return i.currentTNode=t,i.lView=e,!0}function ph(e){const t=Wg(),n=e[Ae];ft.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Wg(){const e=ft.lFrame,t=null===e?null:e.child;return null===t?qg(e):t}function qg(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=ft.lFrame;return ft.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Xg=Kg;function gh(){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 $i(){return ft.lFrame.selectedIndex}function la(e){ft.lFrame.selectedIndex=e}function wn(){const e=ft.lFrame;return jl(e.tView,e.selectedIndex)}function Qg(){ft.lFrame.currentNamespace=xg}let Yg=!0;function $l(){return Yg}function Lr(e){Yg=e}function hu(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:c,ngAfterViewInit:h,ngAfterViewChecked:y,ngOnDestroy:b}=s;a&&(e.contentHooks??=[]).push(-n,a),c&&((e.contentHooks??=[]).push(n,c),(e.contentCheckHooks??=[]).push(n,c)),h&&(e.viewHooks??=[]).push(-n,h),y&&((e.viewHooks??=[]).push(n,y),(e.viewCheckHooks??=[]).push(n,y)),null!=b&&(e.destroyHooks??=[]).push(n,b)}}function fu(e,t,n){Jg(e,t,3,n)}function pu(e,t,n,i){(3&e[rt])===n&&Jg(e,t,n,i)}function mh(e,t){let n=e[rt];(3&n)===t&&(n&=16383,n+=1,e[rt]=n)}function Jg(e,t,n,i){const s=i??-1,a=t.length-1;let c=0;for(let h=void 0!==i?65535&e[ka]:0;h<a;h++)if("number"==typeof t[h+1]){if(c=t[h],null!=i&&c>=i)break}else t[h]<0&&(e[ka]+=65536),(c<s||-1==s)&&(pb(e,n,t,h),e[ka]=(4294901760&e[ka])+h+2),h++}function em(e,t){Fr(4,e,t);const n=H(null);try{t.call(e)}finally{H(n),Fr(5,e,t)}}function pb(e,t,n,i){const o=n[i]<0,s=n[i+1],c=e[o?-n[i]:n[i]];o?e[rt]>>14<e[ka]>>16&&(3&e[rt])===t&&(e[rt]+=16384,em(c,s)):em(c,s)}const Va=-1;class Hl{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}const Ch={};class ca{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=ln(i);const o=this.injector.get(t,Ch,i);return o!==Ch||n===Ch?o:this.parentInjector.get(t,n,i)}}function vh(e){return e!==Va}function zl(e){return 32767&e}function Gl(e,t){let n=function vb(e){return e>>16}(e),i=t;for(;n>0;)i=i[Aa],n--;return i}let yh=!0;function gu(e){const t=yh;return yh=e,t}const nm=255,im=5;let wb=0;const Vr={};function mu(e,t){const n=om(e,t);if(-1!==n)return n;const i=t[Ae];i.firstCreatePass&&(e.injectorIndex=t.length,wh(i.data,e),wh(t,null),wh(i.blueprint,null));const o=_u(e,t),s=e.injectorIndex;if(vh(o)){const a=zl(o),c=Gl(o,t),h=c[Ae].data;for(let y=0;y<8;y++)t[s+y]=c[a+y]|h[a+y]}return t[s+8]=o,s}function wh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function om(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function _u(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){if(i=hm(o),null===i)return Va;if(n++,o=o[Aa],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return Va}function Mh(e,t,n){!function Mb(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(vo)&&(i=n[vo]),null==i&&(i=n[vo]=wb++);const o=i&nm;t.data[e+(o>>im)]|=1<<o}(e,t,n)}function rm(e,t,n){if(n&Tt.Optional||void 0!==e)return e;Js()}function sm(e,t,n,i){if(n&Tt.Optional&&void 0===i&&(i=null),!(n&(Tt.Self|Tt.Host))){const o=e[ri],s=fn(void 0);try{return o?o.get(t,i,n&Tt.Optional):fr(t,i,n&Tt.Optional)}finally{fn(s)}}return rm(i,0,n)}function am(e,t,n,i=Tt.Default,o){if(null!==e){if(2048&t[rt]&&!(i&Tt.Self)){const a=function Ob(e,t,n,i,o){let s=e,a=t;for(;null!==s&&null!==a&&2048&a[rt]&&!(512&a[rt]);){const c=lm(s,a,n,i|Tt.Self,Vr);if(c!==Vr)return c;let h=s.parent;if(!h){const y=a[yg];if(y){const b=y.get(n,Vr,i);if(b!==Vr)return b}h=hm(a),a=a[Aa]}s=h}return o}(e,t,n,i,Vr);if(a!==Vr)return a}const s=lm(e,t,n,i,Vr);if(s!==Vr)return s}return sm(t,n,i,o)}function lm(e,t,n,i,o){const s=function Eb(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(vo)?e[vo]:void 0;return"number"==typeof t?t>=0?t&nm:Sb:t}(n);if("function"==typeof s){if(!Gg(t,e,i))return i&Tt.Host?rm(o,0,i):sm(t,n,i,o);try{let a;if(a=s(i),null!=a||i&Tt.Optional)return a;Js()}finally{Xg()}}else if("number"==typeof s){let a=null,c=om(e,t),h=Va,y=i&Tt.Host?t[Fn][Ui]:null;for((-1===c||i&Tt.SkipSelf)&&(h=-1===c?_u(e,t):t[c+8],h!==Va&&um(i,!1)?(a=t[Ae],c=zl(h),t=Gl(h,t)):c=-1);-1!==c;){const b=t[Ae];if(cm(s,c,b.data)){const k=Db(c,t,n,a,i,y);if(k!==Vr)return k}h=t[c+8],h!==Va&&um(i,t[Ae].data[c+8]===y)&&cm(s,c,t)?(a=b,c=zl(h),t=Gl(h,t)):c=-1}}return o}function Db(e,t,n,i,o,s){const a=t[Ae],c=a.data[e+8],b=Cu(c,a,n,null==i?ra(c)&&yh:i!=a&&!!(3&c.type),o&Tt.Host&&s===c);return null!==b?ua(t,a,b,c):Vr}function Cu(e,t,n,i,o){const s=e.providerIndexes,a=t.data,c=1048575&s,h=e.directiveStart,b=s>>20,W=o?c+b:e.directiveEnd;for(let ee=i?c:c+b;ee<W;ee++){const re=a[ee];if(ee<h&&n===re||ee>=h&&re.type===n)return ee}if(o){const ee=a[h];if(ee&&_r(ee)&&ee.type===n)return h}return null}function ua(e,t,n,i){let o=e[n];const s=t.data;if(function gb(e){return e instanceof Hl}(o)){const a=o;a.resolving&&function Il(e,t){throw t&&t.join(" > "),new Ve(-200,e)}(function Nt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():at(e)}(s[n]));const c=gu(a.canSeeViewProviders);a.resolving=!0;const y=a.injectImpl?fn(a.injectImpl):null;Gg(e,i,Tt.Default);try{o=e[n]=a.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function fb(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(i){const a=Sg(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}o&&(n.preOrderHooks??=[]).push(0-e,o),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==y&&fn(y),gu(c),a.resolving=!1,Xg()}}return o}function cm(e,t,n){return!!(n[t+(e>>im)]&1<<e)}function um(e,t){return!(e&Tt.Self||e&Tt.Host&&t)}class _i{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return am(this._tNode,this._lView,t,ln(i),n)}}function Sb(){return new _i(un(),me())}function dm(e){return qi(()=>{const t=e.prototype.constructor,n=t[Co]||bh(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const s=o[Co]||bh(o);if(s&&s!==n)return s;o=Object.getPrototypeOf(o)}return s=>new s})}function bh(e){return so(e)?()=>{const t=bh(tt(e));return t&&t()}:pr(e)}function hm(e){const t=e[Ae],n=t.type;return 2===n?t.declTNode:1===n?e[Ui]:null}function vu(e){return function bb(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let o=0;for(;o<i;){const s=n[o];if($t(s))break;if(0===s)o+=2;else if("number"==typeof s)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(s===t)return n[o+1];o+=2}}}return null}(un(),e)}function _m(e,t=null,n=null,i){const o=Cm(e,t,n,i);return o.resolveInjectorInitializers(),o}function Cm(e,t=null,n=null,i,o=new Set){const s=[n||Zt,MM(e)];return i=i||("object"==typeof e?void 0:xn(e)),new Ta(s,t||eu(),i||null,o)}class Hi{static{this.THROW_IF_NOT_FOUND=ss}static{this.NULL=new g}static create(t,n){if(Array.isArray(t))return _m({name:""},n,t,"");{const i=t.name??"";return _m({name:i},t.parent,t.providers,i)}}static{this.\u0275prov=en({token:Hi,providedIn:"any",factory:()=>Ct(A)})}static{this.__NG_ELEMENT_ID__=-1}}new st("").__NG_ELEMENT_ID__=e=>{const t=un();if(null===t)throw new Ve(204,!1);if(2&t.type)return t.value;if(e&Tt.Optional)return null;throw new Ve(204,!1)};function Eh(e){return e.ngOriginalError}const ym=!0;let Ua=(()=>{class e{static{this.__NG_ELEMENT_ID__=Lb}static{this.__NG_ENV_ID__=n=>n}}return e})();class Fb extends Ua{constructor(t){super(),this._lView=t}onDestroy(t){return cu(this._lView,t),()=>function ah(e,t){if(null===e[Ls])return;const n=e[Ls].indexOf(t);-1!==n&&e[Ls].splice(n,1)}(this._lView,t)}}function Lb(){return new Fb(me())}let da=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new sn.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=en({token:e,providedIn:"root",factory:()=>new e})}}return e})();const Br=class Vb extends bn.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,_g()&&(this.destroyRef=Pe(Ua,{optional:!0})??void 0,this.pendingTasks=Pe(da,{optional:!0})??void 0)}emit(t){const n=H(null);try{super.next(t)}finally{H(n)}}subscribe(t,n,i){let o=t,s=n||(()=>null),a=i;if(t&&"object"==typeof t){const h=t;o=h.next?.bind(h),s=h.error?.bind(h),a=h.complete?.bind(h)}this.__isAsync&&(s=this.wrapInTimeout(s),o&&(o=this.wrapInTimeout(o)),a&&(a=this.wrapInTimeout(a)));const c=super.subscribe({next:o,error:s,complete:a});return t instanceof zi.yU&&t.add(c),c}wrapInTimeout(t){return n=>{const i=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==i&&this.pendingTasks?.remove(i)})}}};function wu(...e){}function wm(e){let t,n;function i(){e=wu;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Mm(e){return queueMicrotask(()=>e()),()=>{e=wu}}const Sh="isAngularZone",Mu=Sh+"_ID";let Bb=0;class Ln{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Br(!1),this.onMicrotaskEmpty=new Br(!1),this.onStable=new Br(!1),this.onError=new Br(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:s=ym}=t;if(typeof Zone>"u")throw new Ve(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&i,a.shouldCoalesceRunChangeDetection=o,a.callbackScheduled=!1,a.scheduleInRootZone=s,function $b(e){const t=()=>{!function Ub(e){function t(){wm(()=>{e.callbackScheduled=!1,Ph(e),e.isCheckStableRunning=!0,Oh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ph(e))}(e)},n=Bb++;e._inner=e._inner.fork({name:"angular",properties:{[Sh]:!0,[Mu]:n,[Mu+n]:!0},onInvokeTask:(i,o,s,a,c,h)=>{if(function Hb(e){return Em(e,"__ignore_ng_zone__")}(h))return i.invokeTask(s,a,c,h);try{return bm(e),i.invokeTask(s,a,c,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Dm(e)}},onInvoke:(i,o,s,a,c,h,y)=>{try{return bm(e),i.invoke(s,a,c,h,y)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function zb(e){return Em(e,"__scheduler_tick__")}(h)&&t(),Dm(e)}},onHasTask:(i,o,s,a)=>{i.hasTask(s,a),o===s&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Ph(e),Oh(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,o,s,a)=>(i.handleError(s,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Sh)}static assertInAngularZone(){if(!Ln.isInAngularZone())throw new Ve(909,!1)}static assertNotInAngularZone(){if(Ln.isInAngularZone())throw new Ve(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+o,t,jb,wu,wu);try{return s.runTask(a,n,i)}finally{s.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const jb={};function Oh(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 Ph(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function bm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dm(e){e._nesting--,Oh(e)}class xh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Br,this.onMicrotaskEmpty=new Br,this.onStable=new Br,this.onError=new Br}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,o){return t.apply(n,i)}}function Em(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class fs{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 Wb=new st("",{providedIn:"root",factory:()=>{const e=Pe(Ln),t=Pe(fs);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function qb(){return $a(un(),me())}function $a(e,t){return new Wl(uo(e,t))}let Wl=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=qb}}return e})();function Om(e){return e instanceof Wl?e.nativeElement:e}function Kb(){return this._results[Symbol.iterator]()}class Th{get changes(){return this._changes??=new Br}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]=Kb)}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 i=function Vi(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Wc(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],s=t[i];if(n&&(o=n(o),s=n(s)),s!==o)return!1}return!0}(this._results,i,n))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[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 Kl(e){return!(128&~e.flags)}const Rh=new Map;let Qb=0;function Nh(e){Rh.delete(e[Fa])}const bu="__ngContext__";function Ji(e,t){mi(t)?(e[bu]=t[Fa],function Yb(e){Rh.set(e[Fa],e)}(t)):e[bu]=t}function Lm(e){return Bm(e[Fl])}function Vm(e){return Bm(e[mr])}function Bm(e){for(;null!==e&&!Yi(e);)e=e[mr];return e}let kh;function pD(e){kh=e}function Vs(){if(void 0!==kh)return kh;if(typeof document<"u")return document;throw new Ve(210,!1)}const Eu=new st("",{providedIn:"root",factory:()=>gD}),gD="ng",qm=new st(""),Su=new st("",{providedIn:"platform",factory:()=>"unknown"}),mD=new st(""),_D=new st("",{providedIn:"root",factory:()=>Vs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Km=()=>null;function $h(e,t,n=!1){return Km(e,t,n)}const n_=new st("",{providedIn:"root",factory:()=>!1});let Au,ku;function Wa(e){return function qh(){if(void 0===Au&&(Au=null,vn.trustedTypes))try{Au=vn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Au}()?.createHTML(e)||e}function Kh(){if(void 0===ku&&(ku=null,vn.trustedTypes))try{ku=vn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ku}function r_(e){return Kh()?.createHTML(e)||e}function a_(e){return Kh()?.createScriptURL(e)||e}class l_{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cr})`}}function Bs(e){return e instanceof l_?e.changingThisBreaksApplicationSecurity:e}function tc(e,t){const n=function FD(e){return e instanceof l_&&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 ${cr})`)}return n===t}class LD{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Wa(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class VD{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Wa(t),n}}const jD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xh(e){return(e=String(e)).match(jD)?e:"unsafe:"+e}function ps(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function nc(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const u_=ps("area,br,col,hr,img,wbr"),d_=ps("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),h_=ps("rp,rt"),Qh=nc(u_,nc(d_,ps("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),nc(h_,ps("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),nc(h_,d_)),Zh=ps("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),f_=nc(Zh,ps("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ps("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),UD=ps("script,style,template");class $D{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0,o=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)o.push(n),n=GD(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=zD(n);if(s){n=s;break}n=o.pop()}return this.buf.join("")}startElement(t){const n=p_(t).toLowerCase();if(!Qh.hasOwnProperty(n))return this.sanitizedSomething=!0,!UD.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let o=0;o<i.length;o++){const s=i.item(o),a=s.name,c=a.toLowerCase();if(!f_.hasOwnProperty(c)){this.sanitizedSomething=!0;continue}let h=s.value;Zh[c]&&(h=Xh(h)),this.buf.push(" ",a,'="',m_(h),'"')}return this.buf.push(">"),!0}endElement(t){const n=p_(t).toLowerCase();Qh.hasOwnProperty(n)&&!u_.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(m_(t))}}function zD(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw g_(t);return t}function GD(e){const t=e.firstChild;if(t&&function HD(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw g_(t);return t}function p_(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function g_(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const WD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qD=/([^\#-~ |!])/g;function m_(e){return e.replace(/&/g,"&amp;").replace(WD,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qD,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Fu;function Yh(e){return"content"in e&&function XD(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var qa=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}(qa||{});function __(e){const t=ic();return t?r_(t.sanitize(qa.HTML,e)||""):tc(e,"HTML")?r_(Bs(e)):function KD(e,t){let n=null;try{Fu=Fu||function c_(e){const t=new VD(e);return function BD(){try{return!!(new window.DOMParser).parseFromString(Wa(""),"text/html")}catch{return!1}}()?new LD(t):t}(e);let i=t?String(t):"";n=Fu.getInertBodyElement(i);let o=5,s=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=s,s=n.innerHTML,n=Fu.getInertBodyElement(i)}while(i!==s);return Wa((new $D).sanitizeChildren(Yh(n)||n))}finally{if(n){const i=Yh(n)||n;for(;i.firstChild;)i.firstChild.remove()}}}(Vs(),at(e))}function C_(e){const t=ic();return t?t.sanitize(qa.URL,e)||"":tc(e,"URL")?Bs(e):Xh(at(e))}function v_(e){const t=ic();if(t)return a_(t.sanitize(qa.RESOURCE_URL,e)||"");if(tc(e,"ResourceURL"))return a_(Bs(e));throw new Ve(904,!1)}function y_(e,t,n){return function eE(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?v_:C_}(t,n)(e)}function ic(){const e=me();return e&&e[Ar].sanitizer}const tE=/^>|^->|<!--|-->|--!>|<!-$/g,nE=/(<|>)/g,iE="\u200b$1\u200b";function Vo(e){return e instanceof Function?e():e}var Bu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Bu||{});let tf;function nf(e,t){return tf(e,t)}function Xa(e,t,n,i,o){if(null!=i){let s,a=!1;Yi(i)?s=i:mi(i)&&(a=!0,i=i[kn]);const c=nn(i);0===e&&null!==n?null==o?N_(t,n,c):fa(t,n,c,o||null,!0):1===e&&null!==n?fa(t,n,c,o||null,!0):2===e?function rc(e,t,n){e.removeChild(null,t,n)}(t,c,a):3===e&&t.destroyNode(c),null!=s&&function bE(e,t,n,i,o){const s=n[kr];s!==nn(n)&&Xa(t,e,i,s,o);for(let c=Wn;c<n.length;c++){const h=n[c];Hu(h[Ae],h,e,t,i,s)}}(t,e,s,n,o)}}function sf(e,t){return e.createComment(function w_(e){return e.replace(tE,t=>t.replace(nE,iE))}(t))}function ju(e,t,n){return e.createElement(t,n)}function T_(e,t){t[Ar].changeDetectionScheduler?.notify(9),Hu(e,t,t[ht],2,null,null)}function I_(e,t){const n=e[La],i=t[oi];(mi(i)||t[Fn]!==i[oi][Fn])&&(e[rt]|=ru.HasTransplantedViews),null===n?e[La]=[t]:n.push(t)}function af(e,t){const n=e[La],i=n.indexOf(t);n.splice(i,1)}function oc(e,t){if(e.length<=Wn)return;const n=Wn+t,i=e[n];if(i){const o=i[oa];null!==o&&o!==e&&af(o,i),t>0&&(e[n-1][mr]=i[mr]);const s=Ns(e,Wn+t);!function gE(e,t){T_(e,t),t[kn]=null,t[Ui]=null}(i[Ae],i);const a=s[cs];null!==a&&a.detachView(s[Ae]),i[oi]=null,i[mr]=null,i[rt]&=-129}return i}function Uu(e,t){if(!(256&t[rt])){const n=t[ht];n.destroyNode&&Hu(e,t,n,3,null,null),function _E(e){let t=e[Fl];if(!t)return lf(e[Ae],e);for(;t;){let n=null;if(mi(t))n=t[Fl];else{const i=t[Wn];i&&(n=i)}if(!n){for(;t&&!t[mr]&&t!==e;)mi(t)&&lf(t[Ae],t),t=t[oi];null===t&&(t=e),mi(t)&&lf(t[Ae],t),n=t&&t[mr]}t=n}}(t)}}function lf(e,t){if(256&t[rt])return;const n=H(null);try{t[rt]&=-129,t[rt]|=256,t[er]&&bt(t[er]),function yE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const o=t[n[i]];if(!(o instanceof Hl)){const s=n[i+1];if(Array.isArray(s))for(let a=0;a<s.length;a+=2){const c=o[s[a]],h=s[a+1];Fr(4,c,h);try{h.call(c)}finally{Fr(5,c,h)}}else{Fr(4,o,s);try{s.call(o)}finally{Fr(5,o,s)}}}}}(e,t),function vE(e,t){const n=e.cleanup,i=t[Na];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?i[a]():i[-a].unsubscribe(),s+=2}else n[s].call(i[n[s+1]]);null!==i&&(t[Na]=null);const o=t[Ls];if(null!==o){t[Ls]=null;for(let s=0;s<o.length;s++)(0,o[s])()}}(e,t),1===t[Ae].type&&t[ht].destroy();const i=t[oa];if(null!==i&&Yi(t[oi])){i!==t[oi]&&af(i,t);const o=t[cs];null!==o&&o.detachView(e)}Nh(t)}finally{H(n)}}function cf(e,t,n){return function R_(e,t,n){let i=t;for(;null!==i&&168&i.type;)i=(t=i).parent;if(null===i)return n[kn];{const{componentOffset:o}=i;if(o>-1){const{encapsulation:s}=e.data[i.directiveStart+o];if(s===Q.None||s===Q.Emulated)return null}return uo(i,n)}}(e,t.parent,n)}function fa(e,t,n,i,o){e.insertBefore(t,n,i,o)}function N_(e,t,n){e.appendChild(t,n)}function A_(e,t,n,i,o){null!==i?fa(e,t,n,i,o):N_(e,t,n)}function uf(e,t){return e.parentNode(t)}function k_(e,t,n){return L_(e,t,n)}let df,L_=function F_(e,t,n){return 40&e.type?uo(e,n):null};function $u(e,t,n,i){const o=cf(e,i,t),s=t[ht],c=k_(i.parent||t[Ui],i,t);if(null!=o)if(Array.isArray(n))for(let h=0;h<n.length;h++)A_(s,o,n[h],c,!1);else A_(s,o,n,c,!1);void 0!==df&&df(s,i,t,n,o)}function pa(e,t){if(null!==t){const n=t.type;if(3&n)return uo(t,e);if(4&n)return hf(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return pa(e,i);{const o=e[t.index];return Yi(o)?hf(-1,o):nn(o)}}if(128&n)return pa(e,t.next);if(32&n)return nf(t,e)()||nn(e[t.index]);{const i=B_(e,t);return null!==i?Array.isArray(i)?i[0]:pa(us(e[Fn]),i):pa(e,t.next)}}return null}function B_(e,t){return null!==t?e[Fn][Ui].projection[t.projection]:null}function hf(e,t){const n=Wn+e+1;if(n<t.length){const i=t[n],o=i[Ae].firstChild;if(null!==o)return pa(i,o)}return t[kr]}function ff(e,t,n,i,o,s,a){for(;null!=n;){if(128===n.type){n=n.next;continue}const c=i[n.index],h=n.type;if(a&&0===t&&(c&&Ji(nn(c),i),n.flags|=2),32&~n.flags)if(8&h)ff(e,t,n.child,i,o,s,!1),Xa(t,e,o,c,s);else if(32&h){const y=nf(n,i);let b;for(;b=y();)Xa(t,e,o,b,s);Xa(t,e,o,c,s)}else 16&h?U_(e,t,i,n,o,s):Xa(t,e,o,c,s);n=a?n.projectionNext:n.next}}function Hu(e,t,n,i,o,s){ff(n,i,e.firstChild,t,o,s,!1)}function U_(e,t,n,i,o,s){const a=n[Fn],h=a[Ui].projection[i.projection];if(Array.isArray(h))for(let y=0;y<h.length;y++)Xa(t,e,o,h[y],s);else{let y=h;const b=a[oi];Kl(i)&&(y.flags|=128),ff(e,t,y,b,o,s,!0)}}function $_(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function H_(e,t,n){const{mergedAttrs:i,classes:o,styles:s}=n;null!==i&&Ye(e,t,i),null!==o&&$_(e,t,o),null!==s&&function EE(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}const Ot={};function z_(e=1){G_(At(),me(),$i()+e,!1)}function G_(e,t,n,i){if(!i)if(3&~t[rt]){const s=e.preOrderHooks;null!==s&&pu(t,s,0,n)}else{const s=e.preOrderCheckHooks;null!==s&&fu(t,s,n)}la(n)}function Qa(e,t=Tt.Default){const n=me();return null===n?Ct(e,t):am(un(),n,tt(e),t)}function W_(){throw new Error("invalid")}function q_(e,t,n,i,o,s){const a=H(null);try{let c=null;o&fe.SignalBased&&(c=t[i][B]),null!==c&&void 0!==c.transformFn&&(s=c.transformFn(s)),o&fe.HasDecoratorInputTransform&&(s=e.inputTransforms[i].call(t,s)),null!==e.setInput?e.setInput(t,c,s,n,i):Eg(t,c,i,s)}finally{H(a)}}function zu(e,t,n,i,o,s,a,c,h,y,b){const k=t.blueprint.slice();return k[kn]=o,k[rt]=204|i,(null!==y||e&&2048&e[rt])&&(k[rt]|=2048),Ig(k),k[oi]=k[Aa]=e,k[yn]=n,k[Ar]=a||e&&e[Ar],k[ht]=c||e&&e[ht],k[ri]=h||e&&e[ri]||null,k[Ui]=s,k[Fa]=function Zb(){return Qb++}(),k[co]=b,k[yg]=y,k[Fn]=2==t.type?e[Fn]:k,k}function ga(e,t,n,i,o){let s=e.data[t];if(null===s)s=function pf(e,t,n,i,o){const s=Vg(),a=ch(),h=e.data[t]=function NE(e,t,n,i,o,s){let a=t?t.injectorIndex:-1,c=0;return aa()&&(c|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:o,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?s:s&&s.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=h),null!==s&&(a?null==s.child&&null!==h.parent&&(s.child=h):null===s.next&&(s.next=h,h.prev=s)),h}(e,t,n,i,o),function rb(){return ft.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=i,s.attrs=o;const a=function Ul(){const e=ft.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return Cr(s,!0),s}function sc(e,t,n,i){if(0===n)return-1;const o=t.length;for(let s=0;s<n;s++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function K_(e,t,n,i,o){const s=$i(),a=2&i;try{la(-1),a&&t.length>Ze&&G_(e,t,Ze,!1),Fr(a?2:0,o),n(i,o)}finally{la(s),Fr(a?3:1,o)}}function gf(e,t,n){if(Jd(t)){const i=H(null);try{const s=t.directiveEnd;for(let a=t.directiveStart;a<s;a++){const c=e.data[a];c.contentQueries&&c.contentQueries(1,n[a],a)}}finally{H(i)}}}function mf(e,t,n){kg()&&(function jE(e,t,n,i){const o=n.directiveStart,s=n.directiveEnd;ra(n)&&function qE(e,t,n){const i=uo(t,e),o=X_(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const c=Gu(e,zu(e,o,null,a,i,t,null,e[Ar].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=c}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||mu(n,t),Ji(i,t);const a=n.initialInputs;for(let c=o;c<s;c++){const h=e.data[c],y=ua(t,e,c,n);Ji(y,t),null!==a&&KE(0,c-o,y,h,0,a),_r(h)&&(Lo(n.index,t)[yn]=ua(t,e,c,n))}}(e,t,n,uo(n,t)),!(64&~n.flags)&&eC(e,t,n))}function _f(e,t,n=uo){const i=t.localNames;if(null!==i){let o=t.index+1;for(let s=0;s<i.length;s+=2){const a=i[s+1],c=-1===a?n(t,e):e[a];e[o++]=c}}}function X_(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Cf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Cf(e,t,n,i,o,s,a,c,h,y,b){const k=Ze+i,W=k+o,ee=function OE(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Ot);return n}(k,W),re="function"==typeof y?y():y;return ee[Ae]={type:e,blueprint:ee,template:n,queries:null,viewQuery:c,declTNode:t,data:ee.slice().fill(null,k),bindingStartIndex:k,expandoStartIndex:W,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:h,consts:re,incompleteFirstPass:!1,ssrId:b}}let Q_=()=>null;function Z_(e,t,n,i,o){for(let s in t){if(!t.hasOwnProperty(s))continue;const a=t[s];if(void 0===a)continue;i??={};let c,h=fe.None;Array.isArray(a)?(c=a[0],h=a[1]):c=a;let y=s;if(null!==o){if(!o.hasOwnProperty(s))continue;y=o[s]}0===e?Y_(i,n,y,c,h):Y_(i,n,y,c)}return i}function Y_(e,t,n,i,o){let s;e.hasOwnProperty(n)?(s=e[n]).push(t,i):s=e[n]=[t,i],void 0!==o&&s.push(o)}function Mo(e,t,n,i,o,s,a,c){const h=uo(t,n);let b,y=t.inputs;!c&&null!=y&&(b=y[i])?(bf(e,n,b,i,o),ra(t)&&function FE(e,t){const n=Lo(t,e);16&n[rt]||(n[rt]|=64)}(n,t.index)):3&t.type&&(i=function kE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=a?a(o,t.value||"",i):o,s.setProperty(h,i,o))}function vf(e,t,n,i){if(kg()){const o=null===i?null:{"":-1},s=function $E(e,t){const n=e.directiveRegistry;let i=null,o=null;if(n)for(let s=0;s<n.length;s++){const a=n[s];if(D(t,a.selectors,!1))if(i||(i=[]),_r(a))if(null!==a.findHostDirectiveDefs){const c=[];o=o||new Map,a.findHostDirectiveDefs(a,c,o),i.unshift(...c,a),yf(e,t,c.length)}else i.unshift(a),yf(e,t,0);else o=o||new Map,a.findHostDirectiveDefs?.(a,i,o),i.push(a)}return null===i?null:[i,o]}(e,n);let a,c;null===s?a=c=null:[a,c]=s,null!==a&&J_(e,t,n,a,o,c),o&&function HE(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const s=n[t[o+1]];if(null==s)throw new Ve(-301,!1);i.push(t[o],s)}}}(n,i,o)}n.mergedAttrs=Tn(n.mergedAttrs,n.attrs)}function J_(e,t,n,i,o,s){for(let y=0;y<i.length;y++)Mh(mu(n,t),e,i[y].type);!function GE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let y=0;y<i.length;y++){const b=i[y];b.providersResolver&&b.providersResolver(b)}let a=!1,c=!1,h=sc(e,t,i.length,null);for(let y=0;y<i.length;y++){const b=i[y];n.mergedAttrs=Tn(n.mergedAttrs,b.hostAttrs),WE(e,n,t,h,b),zE(h,b,o),null!==b.contentQueries&&(n.flags|=4),(null!==b.hostBindings||null!==b.hostAttrs||0!==b.hostVars)&&(n.flags|=64);const k=b.type.prototype;!a&&(k.ngOnChanges||k.ngOnInit||k.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!c&&(k.ngOnChanges||k.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),c=!0),h++}!function AE(e,t,n){const o=t.directiveEnd,s=e.data,a=t.attrs,c=[];let h=null,y=null;for(let b=t.directiveStart;b<o;b++){const k=s[b],W=n?n.get(k):null,re=W?W.outputs:null;h=Z_(0,k.inputs,b,h,W?W.inputs:null),y=Z_(1,k.outputs,b,y,re);const ye=null===h||null===a||Rr(t)?null:XE(h,b,a);c.push(ye)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=8),h.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=c,t.inputs=h,t.outputs=y}(e,n,s)}function eC(e,t,n){const i=n.directiveStart,o=n.directiveEnd,s=n.index,a=function ab(){return ft.lFrame.currentDirectiveIndex}();try{la(s);for(let c=i;c<o;c++){const h=e.data[c],y=t[c];dh(c),(null!==h.hostBindings||0!==h.hostVars||null!==h.hostAttrs)&&UE(h,y)}}finally{la(-1),dh(a)}}function UE(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function yf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function zE(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;_r(t)&&(n[""]=e)}}function WE(e,t,n,i,o){e.data[i]=o;const s=o.factory||(o.factory=pr(o.type)),a=new Hl(s,_r(o),Qa);e.blueprint[i]=a,n[i]=a,function VE(e,t,n,i,o){const s=o.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const c=~t.index;(function BE(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=c&&a.push(c),a.push(n,i,s)}}(e,t,i,sc(e,n,o.hostVars,Ot),o)}function jr(e,t,n,i,o,s){const a=uo(e,t);!function wf(e,t,n,i,o,s,a){if(null==s)e.removeAttribute(t,o,n);else{const c=null==a?at(s):a(s,i||"",o);e.setAttribute(t,o,c,n)}}(t[ht],a,s,e.value,n,i,o)}function KE(e,t,n,i,o,s){const a=s[t];if(null!==a)for(let c=0;c<a.length;)q_(i,n,a[c++],a[c++],a[c++],a[c++])}function XE(e,t,n){let i=null,o=0;for(;o<n.length;){const s=n[o];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===i&&(i=[]);const a=e[s];for(let c=0;c<a.length;c+=3)if(a[c]===t){i.push(s,a[c+1],a[c+2],n[o+1]);break}}o+=2}else o+=2;else o+=4}return i}function tC(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function nC(e,t){const n=e.contentQueries;if(null!==n){const i=H(null);try{for(let o=0;o<n.length;o+=2){const a=n[o+1];if(-1!==a){const c=e.data[a];du(n[o]),c.contentQueries(2,t[a],a)}}}finally{H(i)}}}function Gu(e,t){return e[Fl]?e[vg][mr]=t:e[Fl]=t,e[vg]=t,t}function Mf(e,t,n){du(0);const i=H(null);try{t(e,n)}finally{H(i)}}function iC(e){return e[Na]??=[]}function oC(e){return e.cleanup??=[]}function Wu(e,t){const n=e[ri],i=n?n.get(fs,null):null;i&&i.handleError(t)}function bf(e,t,n,i,o){for(let s=0;s<n.length;){const a=n[s++],c=n[s++],h=n[s++];q_(e.data[a],t[a],i,c,h,o)}}function gs(e,t,n){const i=Bl(t,e);!function x_(e,t,n){e.setValue(t,n)}(e[ht],i,n)}function QE(e,t){const n=Lo(t,e),i=n[Ae];!function ZE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const o=n[kn];null!==o&&null===n[co]&&(n[co]=$h(o,n[ri])),Df(i,n,n[yn])}function Df(e,t,n){ph(t);try{const i=e.viewQuery;null!==i&&Mf(1,i,n);const o=e.template;null!==o&&K_(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[cs]?.finishViewCreation(e),e.staticContentQueries&&nC(e,t),e.staticViewQueries&&Mf(2,e.viewQuery,n);const s=e.components;null!==s&&function YE(e,t){for(let n=0;n<t.length;n++)QE(e,t[n])}(t,s)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[rt]&=-5,gh()}}function Za(e,t,n,i){const o=H(null);try{const s=t.tView,h=zu(e,s,n,4096&e[rt]?4096:16,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);h[oa]=e[t.index];const b=e[cs];return null!==b&&(h[cs]=b.createEmbeddedView(s)),Df(s,h,n),h}finally{H(o)}}function ma(e,t){return!t||null===t.firstChild||Kl(e)}function Ya(e,t,n,i=!0){const o=t[Ae];if(function CE(e,t,n,i){const o=Wn+i,s=n.length;i>0&&(n[o-1][mr]=t),i<s-Wn?(t[mr]=n[o],ta(n,Wn+i,t)):(n.push(t),t[mr]=null),t[oi]=n;const a=t[oa];null!==a&&n!==a&&I_(a,t);const c=t[cs];null!==c&&c.insertView(e),sh(t),t[rt]|=128}(o,t,e,n),i){const a=hf(n,e),c=t[ht],h=uf(c,e[kr]);null!==h&&function mE(e,t,n,i,o,s){i[kn]=o,i[Ui]=t,Hu(e,i,n,1,o,s)}(o,e[Ui],c,t,h,a)}const s=t[co];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function ac(e,t,n,i,o=!1){for(;null!==n;){if(128===n.type){n=o?n.projectionNext:n.next;continue}const s=t[n.index];null!==s&&i.push(nn(s)),Yi(s)&&aC(s,i);const a=n.type;if(8&a)ac(e,t,n.child,i);else if(32&a){const c=nf(n,t);let h;for(;h=c();)i.push(h)}else if(16&a){const c=B_(t,n);if(Array.isArray(c))i.push(...c);else{const h=us(t[Fn]);ac(h[Ae],h,c,i,!0)}}n=o?n.projectionNext:n.next}return i}function aC(e,t){for(let n=Wn;n<e.length;n++){const i=e[n],o=i[Ae].firstChild;null!==o&&ac(i[Ae],i,o,t)}e[kr]!==e[kn]&&t.push(e[kr])}let lC=[];const n1={...Y,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{lu(e.lView)},consumerOnSignalRead(){this.lView[er]=this}},r1={...Y,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=us(e.lView);for(;t&&!cC(t[Ae]);)t=us(t);t&&Rg(t)},consumerOnSignalRead(){this.lView[er]=this}};function cC(e){return 2!==e.type}const s1=100;function qu(e,t=!0,n=0){const i=e[Ar],o=i.rendererFactory;o.begin?.();try{!function a1(e,t){const n=Ug();try{$g(!0),Sf(e,t);let i=0;for(;au(e);){if(i===s1)throw new Ve(103,!1);i++,Sf(e,1)}}finally{$g(n)}}(e,n)}catch(a){throw t&&Wu(e,a),a}finally{o.end?.(),i.inlineEffectRunner?.flush()}}function l1(e,t,n,i){const o=t[rt];if(!(256&~o))return;t[Ar].inlineEffectRunner?.flush(),ph(t);let c=!0,h=null,y=null;cC(e)?(y=function JE(e){return e[er]??function e1(e){const t=lC.pop()??Object.create(n1);return t.lView=e,t}(e)}(t),h=Te(y)):null===q()?(c=!1,y=function o1(e){const t=e[er]??Object.create(r1);return t.lView=e,t}(t),h=Te(y)):t[er]&&(bt(t[er]),t[er]=null);try{Ig(t),function Hg(e){return ft.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&K_(e,t,n,2,i);const b=!(3&~o);if(b){const ee=e.preOrderCheckHooks;null!==ee&&fu(t,ee,null)}else{const ee=e.preOrderHooks;null!==ee&&pu(t,ee,0,null),mh(t,0)}if(function c1(e){for(let t=Lm(e);null!==t;t=Vm(t)){if(!(t[rt]&ru.HasTransplantedViews))continue;const n=t[La];for(let i=0;i<n.length;i++)Rg(n[i])}}(t),dC(t,0),null!==e.contentQueries&&nC(e,t),b){const ee=e.contentCheckHooks;null!==ee&&fu(t,ee)}else{const ee=e.contentHooks;null!==ee&&pu(t,ee,1),mh(t,1)}!function SE(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)la(~o);else{const s=o,a=n[++i],c=n[++i];sb(a,s),c(2,t[s])}}}finally{la(-1)}}(e,t);const k=e.components;null!==k&&fC(t,k,0);const W=e.viewQuery;if(null!==W&&Mf(2,W,i),b){const ee=e.viewCheckHooks;null!==ee&&fu(t,ee)}else{const ee=e.viewHooks;null!==ee&&pu(t,ee,2),mh(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[iu]){for(const ee of t[iu])ee();t[iu]=null}t[rt]&=-73}catch(b){throw lu(t),b}finally{null!==y&&(He(y,h),c&&function t1(e){e.lView[er]!==e&&(e.lView=null,lC.push(e))}(y)),gh()}}function dC(e,t){for(let n=Lm(e);null!==n;n=Vm(n))for(let i=Wn;i<n.length;i++)hC(n[i],t)}function u1(e,t,n){hC(Lo(t,e),n)}function hC(e,t){rh(e)&&Sf(e,t)}function Sf(e,t){const i=e[Ae],o=e[rt],s=e[er];let a=!!(0===t&&16&o);if(a||=!!(64&o&&0===t),a||=!!(1024&o),a||=!(!s?.dirty||!Xe(s)),a||=!1,s&&(s.dirty=!1),e[rt]&=-9217,a)l1(i,e,i.template,e[yn]);else if(8192&o){dC(e,1);const c=i.components;null!==c&&fC(e,c,1)}}function fC(e,t,n){for(let i=0;i<t.length;i++)u1(e,t[i],n)}function lc(e,t){const n=Ug()?64:1088;for(e[Ar].changeDetectionScheduler?.notify(t);e;){e[rt]|=n;const i=us(e);if(Vl(e)&&!i)return e;e=i}return null}class cc{get rootNodes(){const t=this._lView,n=t[Ae];return ac(n,t,n.firstChild,[])}constructor(t,n,i=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[yn]}set context(t){this._lView[yn]=t}get destroyed(){return!(256&~this._lView[rt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[oi];if(Yi(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(oc(t,i),Ns(n,i))}this._attachedToViewContainer=!1}Uu(this._lView[Ae],this._lView)}onDestroy(t){cu(this._lView,t)}markForCheck(){lc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[rt]&=-129}reattach(){sh(this._lView),this._lView[rt]|=128}detectChanges(){this._lView[rt]|=1024,qu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ve(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Vl(this._lView),n=this._lView[oa];null!==n&&!t&&af(n,this._lView),T_(this._lView[Ae],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ve(902,!1);this._appRef=t;const n=Vl(this._lView),i=this._lView[oa];null!==i&&!n&&I_(i,this._lView),sh(this._lView)}}let uc=(()=>{class e{static{this.__NG_ELEMENT_ID__=f1}}return e})();const d1=uc,h1=class extends d1{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const o=Za(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:i});return new cc(o)}};function f1(){return Ku(un(),me())}function Ku(e,t){return 4&e.type?new h1(t,e,$a(e,t)):null}let AC=()=>null;function Ca(e,t){return AC(e,t)}class el{}const Cc=new st("",{providedIn:"root",factory:()=>!1}),kC=new st(""),Lf=new st("");class rS{}class FC{}class aS{resolveComponentFactory(t){throw function sS(e){const t=Error(`No component factory found for ${xn(e)}.`);return t.ngComponent=e,t}(t)}}class ed{static{this.NULL=new aS}}class Vf{}let lS=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function cS(){const e=me(),n=Lo(un().index,e);return(mi(n)?n:e)[ht]}()}}return e})(),uS=(()=>{class e{static{this.\u0275prov=en({token:e,providedIn:"root",factory:()=>null})}}return e})();function js(e){return!!Zi(e)}function nd(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,s=0;if(null!==t)for(let a=0;a<t.length;a++){const c=t[a];"number"==typeof c?s=c:1==s?o=Jr(o,c):2==s&&(i=Jr(i,c+": "+t[++a]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}class jC extends ed{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Vt(t);return new wc(n,this.ngModule)}}function UC(e,t){const n=[];for(const i in e){if(!e.hasOwnProperty(i))continue;const o=e[i];if(void 0===o)continue;const s=Array.isArray(o),a=s?o[0]:o;n.push(t?{propName:a,templateName:i,isSignal:!!((s?o[1]:fe.None)&fe.SignalBased)}:{propName:a,templateName:i})}return n}class wc extends FC{get inputs(){const t=this.componentDef,n=t.inputTransforms,i=UC(t.inputs,!0);if(null!==n)for(const o of i)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return i}get outputs(){return UC(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function wt(e){return e.map(ct).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,o){const s=H(null);try{let a=(o=o||this.ngModule)instanceof Jo?o:o?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const c=a?new ca(t,a):t,h=c.get(Vf,null);if(null===h)throw new Ve(407,!1);const k={rendererFactory:h,sanitizer:c.get(uS,null),inlineEffectRunner:null,changeDetectionScheduler:c.get(el,null)},W=h.createRenderer(null,this.componentDef),ee=this.componentDef.selectors[0][0]||"div",re=i?function PE(e,t,n,i){const s=i.get(n_,!1)||n===Q.ShadowDom,a=e.selectRootElement(t,s);return function xE(e){Q_(e)}(a),a}(W,i,this.componentDef.encapsulation,c):ju(W,ee,function fS(e){const t=e.toLowerCase();return"svg"===t?xg:"math"===t?"math":null}(ee));let ye=512;this.componentDef.signals?ye|=4096:this.componentDef.onPush||(ye|=16);let ke=null;null!==re&&(ke=$h(re,c,!0));const Be=Cf(0,null,null,1,0,null,null,null,null,null,null),we=zu(null,Be,null,ye,null,null,k,W,c,null,ke);ph(we);let Mt,qt,gn=null;try{const Qn=this.componentDef;let Do,Dl=null;Qn.findHostDirectiveDefs?(Do=[],Dl=new Map,Qn.findHostDirectiveDefs(Qn,Do,Dl),Do.push(Qn)):Do=[Qn];const vM=function gS(e,t){const n=e[Ae],i=Ze;return e[i]=t,ga(n,i,2,"#host",null)}(we,re);gn=function mS(e,t,n,i,o,s,a){const c=o[Ae];!function _S(e,t,n,i){for(const o of e)t.mergedAttrs=Tn(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(nd(t,t.mergedAttrs,!0),null!==n&&H_(i,n,t))}(i,e,t,a);let h=null;null!==t&&(h=$h(t,o[ri]));const y=s.rendererFactory.createRenderer(t,n);let b=16;n.signals?b=4096:n.onPush&&(b=64);const k=zu(o,X_(n),null,b,o[e.index],e,s,y,null,null,h);return c.firstCreatePass&&yf(c,e,i.length-1),Gu(o,k),o[e.index]=k}(vM,re,Qn,Do,we,k,W),qt=jl(Be,Ze),re&&function vS(e,t,n,i){if(i)Ye(e,n,["ng-version","18.2.5"]);else{const{attrs:o,classes:s}=function mn(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let s=e[i];if("string"==typeof s)2===o?""!==s&&t.push(s,e[++i]):8===o&&n.push(s);else{if(!d(o))break;o=s}i++}return{attrs:t,classes:n}}(t.selectors[0]);o&&Ye(e,n,o),s&&s.length>0&&$_(e,n,s.join(" "))}}(W,Qn,re,i),void 0!==n&&function yS(e,t,n){const i=e.projection=[];for(let o=0;o<t.length;o++){const s=n[o];i.push(null!=s?Array.from(s):null)}}(qt,this.ngContentSelectors,n),Mt=function CS(e,t,n,i,o,s){const a=un(),c=o[Ae],h=uo(a,o);J_(c,o,a,n,null,i);for(let b=0;b<n.length;b++)Ji(ua(o,c,a.directiveStart+b,a),o);eC(c,o,a),h&&Ji(h,o);const y=ua(o,c,a.directiveStart+a.componentOffset,a);if(e[yn]=o[yn]=y,null!==s)for(const b of s)b(y,t);return gf(c,a,o),y}(gn,Qn,Do,Dl,we,[wS]),Df(Be,we,null)}catch(Qn){throw null!==gn&&Nh(gn),Nh(we),Qn}finally{gh()}return new pS(this.componentType,Mt,$a(qt,we),we,qt)}finally{H(s)}}}class pS extends rS{constructor(t,n,i,o,s){super(),this.location=i,this._rootLView=o,this._tNode=s,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new cc(o,void 0,!1),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;bf(s[Ae],s,o,t,n),this.previousInputValues.set(t,n),lc(Lo(this._tNode.index,s),1)}}get injector(){return new _i(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function wS(){const e=un();hu(me()[Ae],e)}let id=(()=>{class e{static{this.__NG_ELEMENT_ID__=MS}}return e})();function MS(){return zC(un(),me())}const bS=id,$C=class extends bS{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return $a(this._hostTNode,this._hostLView)}get injector(){return new _i(this._hostTNode,this._hostLView)}get parentInjector(){const t=_u(this._hostTNode,this._hostLView);if(vh(t)){const n=Gl(t,this._hostLView),i=zl(t);return new _i(n[Ae].data[i+8],n)}return new _i(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=HC(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Wn}createEmbeddedView(t,n,i){let o,s;"number"==typeof i?o=i:null!=i&&(o=i.index,s=i.injector);const a=Ca(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},s,a);return this.insertImpl(c,o,ma(this._hostTNode,a)),c}createComponent(t,n,i,o,s){const a=t&&!function kl(e){return"function"==typeof e}(t);let c;if(a)c=n;else{const re=n||{};c=re.index,i=re.injector,o=re.projectableNodes,s=re.environmentInjector||re.ngModuleRef}const h=a?t:new wc(Vt(t)),y=i||this.parentInjector;if(!s&&null==h.ngModule){const ye=(a?y:this.parentInjector).get(Jo,null);ye&&(s=ye)}const b=Vt(h.componentType??{}),k=Ca(this._lContainer,b?.id??null),ee=h.create(y,o,k?.firstChild??null,s);return this.insertImpl(ee.hostView,c,ma(this._hostTNode,k)),ee}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){const o=t._lView;if(function QM(e){return Yi(e[oi])}(o)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const h=o[oi],y=new $C(h,h[Ui],h[oi]);y.detach(y.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return Ya(a,o,s,i),t.attachToViewContainerRef(),ta(Uf(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=HC(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=oc(this._lContainer,n);i&&(Ns(Uf(this._lContainer),n),Uu(i[Ae],i))}detach(t){const n=this._adjustIndex(t,-1),i=oc(this._lContainer,n);return i&&null!=Ns(Uf(this._lContainer),n)?new cc(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function HC(e){return e[8]}function Uf(e){return e[8]||(e[8]=[])}function zC(e,t){let n;const i=t[e.index];return Yi(i)?n=i:(n=tC(i,t,null,e),t[e.index]=n,Gu(t,n)),GC(n,t,e,i),new $C(n,e,t)}let GC=function qC(e,t,n,i){if(e[kr])return;let o;o=8&n.type?nn(i):function DS(e,t){const n=e[ht],i=n.createComment(""),o=uo(t,e);return fa(n,uf(n,o),i,function wE(e,t){return e.nextSibling(t)}(n,o),!1),i}(t,n),e[kr]=o},$f=()=>!1;class Hf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Hf(this.queryList)}setDirty(){this.queryList.setDirty()}}class zf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let s=0;s<i;s++){const a=n.getByIndex(s);o.push(this.queries[a.indexInDeclarationView].clone())}return new zf(o)}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!==Xf(t,n).matches&&this.queries[n].setDirty()}}class KC{constructor(t,n,i=null){this.flags=n,this.read=i,this.predicate="string"==typeof t?function RS(e){return e.split(",").map(t=>t.trim())}(t):t}}class Gf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){const o=null!==n?n.length:0,s=this.getByIndex(i).embeddedTView(t,o);s&&(s.indexInDeclarationView=i,null!==n?n.push(s):n=[s])}return null!==n?new Gf(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Wf{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Wf(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const s=i[o];this.matchTNodeWithReadOption(t,n,PS(n,s)),this.matchTNodeWithReadOption(t,n,Cu(n,t,s,!1,!1))}else i===uc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Cu(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Wl||o===id||o===uc&&4&n.type)this.addMatch(n.index,-2);else{const s=Cu(n,t,o,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function PS(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function TS(e,t,n,i){return-1===n?function xS(e,t){return 11&e.type?$a(e,t):4&e.type?Ku(e,t):null}(t,e):-2===n?function IS(e,t,n){return n===Wl?$a(t,e):n===uc?Ku(t,e):n===id?zC(t,e):void 0}(e,t,i):ua(e,e[Ae],n,t)}function XC(e,t,n,i){const o=t[cs].queries[i];if(null===o.matches){const s=e.data,a=n.matches,c=[];for(let h=0;null!==a&&h<a.length;h+=2){const y=a[h];c.push(y<0?null:TS(t,s[y],a[h+1],n.metadata.read))}o.matches=c}return o.matches}function qf(e,t,n,i){const o=e.queries.getByIndex(n),s=o.matches;if(null!==s){const a=XC(e,t,o,n);for(let c=0;c<s.length;c+=2){const h=s[c];if(h>0)i.push(a[c/2]);else{const y=s[c+1],b=t[-h];for(let k=Wn;k<b.length;k++){const W=b[k];W[oa]===W[oi]&&qf(W[Ae],W,y,i)}if(null!==b[La]){const k=b[La];for(let W=0;W<k.length;W++){const ee=k[W];qf(ee[Ae],ee,y,i)}}}}}return i}function QC(e,t,n){const i=new Th(!(4&~n));return function RE(e,t,n,i){const o=iC(t);o.push(n),e.firstCreatePass&&oC(e).push(i,o.length-1)}(e,t,i,i.destroy),(t[cs]??=new zf).queries.push(new Hf(i))-1}function JC(e,t,n){null===e.queries&&(e.queries=new Gf),e.queries.track(new Wf(t,n))}function Xf(e,t){return e.queries.getByIndex(t)}function ev(e,t){const n=e[Ae],i=Xf(n,t);return i.crossesNgTemplate?qf(n,e,t,[]):XC(n,e,i,t)}const tv=new Set;function fo(e){tv.has(e)||(tv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function iv(e,t){fo("NgSignals");const n=function We(e){const t=Object.create(on);t.value=e;const n=()=>(ie(t),t.value);return n[B]=t,n}(e),i=n[B];return t?.equal&&(i.equal=t.equal),n.set=o=>Rt(i,o),n.update=o=>function gt(e,t){Ce()||Re(),Rt(e,t(e.value))}(i,o),n.asReadonly=ov.bind(n),n}function ov(){const e=this[B];if(void 0===e.readonlyFn){const t=()=>this();t[B]=e,e.readonlyFn=t}return e.readonlyFn}function rv(e){return function nv(e){return"function"==typeof e&&void 0!==e[B]}(e)&&"function"==typeof e.set}function Zf(e){let t=function mv(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(_r(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ve(903,!1);o=t.\u0275dir}if(o){if(n){i.push(o);const a=e;a.inputs=rd(e.inputs),a.inputTransforms=rd(e.inputTransforms),a.declaredInputs=rd(e.declaredInputs),a.outputs=rd(e.outputs);const c=o.hostBindings;c&&qS(e,c);const h=o.viewQuery,y=o.contentQueries;if(h&&GS(e,h),y&&WS(e,y),HS(e,o),_s(e.outputs,o.outputs),_r(o)&&o.data.animation){const b=e.data;b.animation=(b.animation||[]).concat(o.data.animation)}}const s=o.features;if(s)for(let a=0;a<s.length;a++){const c=s[a];c&&c.ngInherit&&c(e),c===Zf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function zS(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=Tn(o.hostAttrs,n=Tn(n,o.hostAttrs))}}(i)}function HS(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const i=t.inputs[n];if(void 0!==i&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(i)?i[0]:i;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function rd(e){return e===ko?{}:e===Zt?[]:e}function GS(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function WS(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,s)=>{t(i,o,s),n(i,o,s)}:t}function qS(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}function yv(e){const t=e.inputConfig,n={};for(const i in t)if(t.hasOwnProperty(i)){const o=t[i];Array.isArray(o)&&o[3]&&(n[i]=o[3])}e.inputTransforms=n}class va{}class wv{}function JS(e,t){return new Yf(e,t??null,[])}class Yf extends va{constructor(t,n,i,o=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new jC(this);const s=Zi(t);this._bootstrapComponents=Vo(s.bootstrap),this._r3Injector=Cm(t,n,[{provide:va,useValue:this},{provide:ed,useValue:this.componentFactoryResolver},...i],xn(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Jf extends wv{constructor(t){super(),this.moduleType=t}create(t){return new Yf(this.moduleType,t,[])}}class Mv extends va{constructor(t){super(),this.componentFactoryResolver=new jC(this),this.instance=null;const n=new Ta([...t.providers,{provide:va,useValue:this},{provide:ed,useValue:this.componentFactoryResolver}],t.parent||eu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ep(e,t,n=null){return new Mv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function sd(e){return!!tp(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function tp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ur(e,t,n){return e[t]=n}function qn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ya(e,t,n,i){const o=qn(e,t,n);return qn(e,t+1,i)||o}function Dc(e,t,n,i,o,s,a,c,h,y){const b=n+Ze,k=t.firstCreatePass?function rO(e,t,n,i,o,s,a,c,h){const y=t.consts,b=ga(t,e,4,a||null,c||null);vf(t,n,b,tr(y,h)),hu(t,b);const k=b.tView=Cf(2,b,i,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,y,null);return null!==t.queries&&(t.queries.template(t,b),k.queries=t.queries.embeddedTView(b)),b}(b,t,e,i,o,s,a,c,h):t.data[b];Cr(k,!1);const W=bv(t,e,k,n);$l()&&$u(t,e,W,k),Ji(W,e);const ee=tC(W,e,W,k);return e[b]=ee,Gu(e,ee),function WC(e,t,n){return $f(e,t,n)}(ee,k,e),su(k)&&mf(t,e,k),null!=h&&_f(e,k,y),k}function np(e,t,n,i,o,s,a,c){const h=me(),y=At();return Dc(h,y,e,t,n,i,o,tr(y.consts,s),a,c),np}let bv=function Dv(e,t,n,i){return Lr(!0),t[ht].createComment("")};function cO(e,t){if(null!==q())throw new Ve(-602,!1)}var ol=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ol||{});let Tv=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=en({token:e,providedIn:"root",factory:()=>new e})}}return e})();class Oc{constructor(){this.ngZone=Pe(Ln),this.scheduler=Pe(el),this.errorHandler=Pe(fs,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[ol.EarlyRead,ol.Write,ol.MixedReadWrite,ol.Read]}execute(){this.executing=!0;for(const t of Oc.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(i){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}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=en({token:Oc,providedIn:"root",factory:()=>new Oc})}}class uO{constructor(t,n,i,o){this.impl=t,this.hooks=n,this.once=i,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy()}}function dd(e,t){!t?.injector&&tu();const n=t?.injector??Pe(Hi);return function Bo(e){return"browser"===(e??Pe(Hi)).get(Su)}(n)?(fo("NgAfterNextRender"),function Iv(e,t,n,i){const o=t.get(Tv);o.impl??=t.get(Oc);const a=new uO(o.impl,function hO(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??ol.MixedReadWrite),i,t.get(Ua));return o.impl.register(a),a}(e,n,t,!0)):Rv}const Rv={destroy(){}};function fp(e,t,n,i){const o=me();return qn(o,vr(),t)&&(At(),jr(wn(),o,e,t,n,i)),fp}function dl(e,t,n,i){return qn(e,vr(),n)?t+at(n)+i:Ot}function hl(e,t,n,i,o,s){const c=ya(e,function ds(){return ft.lFrame.bindingIndex}(),n,o);return hs(2),c?t+at(n)+i+at(o)+s:Ot}function pd(e,t){return e<<17|t<<2}function Hs(e){return e>>17&32767}function pp(e){return 2|e}function Ma(e){return(131068&e)>>2}function gp(e,t){return-131069&e|t<<2}function mp(e){return 1|e}function oy(e,t,n,i){const o=e[n+1],s=null===t;let a=i?Hs(o):Ma(o),c=!1;for(;0!==a&&(!1===c||s);){const y=e[a+1];KO(e[a],t)&&(c=!0,e[a+1]=i?mp(y):pp(y)),a=i?Hs(y):Ma(y)}c&&(e[n+1]=i?pp(o):mp(o))}function KO(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&As(e,t)>=0}const Ci={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ry(e){return e.substring(Ci.key,Ci.keyEnd)}function sy(e,t){const n=Ci.textEnd;return n===t?-1:(t=Ci.keyEnd=function YO(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ci.key=t,n),vl(e,t,n))}function vl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function _p(e,t,n){const i=me();return qn(i,vr(),t)&&Mo(At(),wn(),i,e,t,i[ht],n,!1),_p}function Cp(e,t,n,i,o){const a=o?"class":"style";bf(e,n,t.inputs[a],a,i)}function vp(e,t,n){return yr(e,t,n,!1),vp}function yp(e,t){return yr(e,t,null,!0),yp}function dy(e){wr(aP,Hr,e,!0)}function Hr(e,t){for(let n=function QO(e){return function ly(e){Ci.key=0,Ci.keyEnd=0,Ci.value=0,Ci.valueEnd=0,Ci.textEnd=e.length}(e),sy(e,vl(e,0,Ci.textEnd))}(t);n>=0;n=sy(t,n))Qi(e,ry(t),!0)}function yr(e,t,n,i){const o=me(),s=At(),a=hs(2);s.firstUpdatePass&&fy(s,e,a,i),t!==Ot&&qn(o,a,t)&&gy(s,s.data[$i()],o,o[ht],e,o[a+1]=function cP(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=xn(Bs(e)))),e}(t,n),i,a)}function wr(e,t,n,i){const o=At(),s=hs(2);o.firstUpdatePass&&fy(o,null,s,i);const a=me();if(n!==Ot&&qn(a,s,n)){const c=o.data[$i()];if(_y(c,i)&&!hy(o,s)){let h=i?c.classesWithoutHost:c.stylesWithoutHost;null!==h&&(n=Jr(h,n||"")),Cp(o,c,a,n,i)}else!function lP(e,t,n,i,o,s,a,c){o===Ot&&(o=Zt);let h=0,y=0,b=0<o.length?o[0]:null,k=0<s.length?s[0]:null;for(;null!==b||null!==k;){const W=h<o.length?o[h+1]:void 0,ee=y<s.length?s[y+1]:void 0;let ye,re=null;b===k?(h+=2,y+=2,W!==ee&&(re=k,ye=ee)):null===k||null!==b&&b<k?(h+=2,re=b):(y+=2,re=k,ye=ee),null!==re&&gy(e,t,n,i,re,ye,a,c),b=h<o.length?o[h]:null,k=y<s.length?s[y]:null}}(o,c,a,a[ht],a[s+1],a[s+1]=function sP(e,t,n){if(null==n||""===n)return Zt;const i=[],o=Bs(n);if(Array.isArray(o))for(let s=0;s<o.length;s++)e(i,o[s],!0);else if("object"==typeof o)for(const s in o)o.hasOwnProperty(s)&&e(i,s,o[s]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,s)}}function hy(e,t){return t>=e.expandoStartIndex}function fy(e,t,n,i){const o=e.data;if(null===o[n+1]){const s=o[$i()],a=hy(e,n);_y(s,i)&&null===t&&!a&&(t=!1),t=function nP(e,t,n,i){const o=function hh(e){const t=ft.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=xc(n=wp(null,e,t,n,i),t.attrs,i),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==o)if(n=wp(o,e,t,n,i),null===s){let h=function iP(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Ma(i))return e[Hs(i)]}(e,t,i);void 0!==h&&Array.isArray(h)&&(h=wp(null,e,t,h[1],i),h=xc(h,t.attrs,i),function oP(e,t,n,i){e[Hs(n?t.classBindings:t.styleBindings)]=i}(e,t,i,h))}else s=function rP(e,t,n){let i;const o=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<o;s++)i=xc(i,e[s].hostAttrs,n);return xc(i,t.attrs,n)}(e,t,i)}return void 0!==s&&(i?t.residualClasses=s:t.residualStyles=s),n}(o,s,t,i),function WO(e,t,n,i,o,s){let a=s?t.classBindings:t.styleBindings,c=Hs(a),h=Ma(a);e[i]=n;let b,y=!1;if(Array.isArray(n)?(b=n[1],(null===b||As(n,b)>0)&&(y=!0)):b=n,o)if(0!==h){const W=Hs(e[c+1]);e[i+1]=pd(W,c),0!==W&&(e[W+1]=gp(e[W+1],i)),e[c+1]=function zO(e,t){return 131071&e|t<<17}(e[c+1],i)}else e[i+1]=pd(c,0),0!==c&&(e[c+1]=gp(e[c+1],i)),c=i;else e[i+1]=pd(h,0),0===c?c=i:e[h+1]=gp(e[h+1],i),h=i;y&&(e[i+1]=pp(e[i+1])),oy(e,b,i,!0),oy(e,b,i,!1),function qO(e,t,n,i,o){const s=o?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&As(s,t)>=0&&(n[i+1]=mp(n[i+1]))}(t,b,e,i,s),a=pd(c,h),s?t.classBindings=a:t.styleBindings=a}(o,s,t,n,a,i)}}function wp(e,t,n,i,o){let s=null;const a=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c<a&&(s=t[c],i=xc(i,s.hostAttrs,o),s!==e);)c++;return null!==e&&(n.directiveStylingLast=c),i}function xc(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Qi(e,a,!!n||t[++s]))}return void 0===e?null:e}function aP(e,t,n){const i=String(t);""!==i&&!i.includes(" ")&&Qi(e,i,n)}function gy(e,t,n,i,o,s,a,c){if(!(3&t.type))return;const h=e.data,y=h[c+1],b=function GO(e){return!(1&~e)}(y)?my(h,t,n,o,Ma(y),a):void 0;gd(b)||(gd(s)||function HO(e){return!(2&~e)}(y)&&(s=my(h,null,n,o,c,a)),function DE(e,t,n,i,o){if(t)o?e.addClass(n,i):e.removeClass(n,i);else{let s=-1===i.indexOf("-")?void 0:Bu.DashCase;null==o?e.removeStyle(n,i,s):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),s|=Bu.Important),e.setStyle(n,i,o,s))}}(i,a,Bl($i(),n),o,s))}function my(e,t,n,i,o,s){const a=null===t;let c;for(;o>0;){const h=e[o],y=Array.isArray(h),b=y?h[1]:h,k=null===b;let W=n[o+1];W===Ot&&(W=k?Zt:void 0);let ee=k?Rl(W,i):b===i?W:void 0;if(y&&!gd(ee)&&(ee=Rl(h,i)),gd(ee)&&(c=ee,a))return c;const re=e[o+1];o=a?Hs(re):Ma(re)}if(null!==t){let h=s?t.residualClasses:t.residualStyles;null!=h&&(c=Rl(h,i))}return c}function gd(e){return void 0!==e}function _y(e,t){return!!(e.flags&(t?8:16))}function Cy(e,t,n){wr(Qi,Hr,dl(me(),e,t,n),!0)}function My(e,t){fo("NgControlFlow");const n=me(),i=vr(),o=n[i]!==Ot?n[i]:-1,s=-1!==o?md(n,Ze+o):void 0;if(qn(n,i,e)){const c=H(null);try{if(void 0!==s&&function Ef(e,t){const n=oc(e,t);return void 0!==n&&Uu(n[Ae],n),n}(s,0),-1!==e){const h=Ze+e,y=md(n,h),b=function Dp(e,t){return jl(e,t)}(n[Ae],h),k=Ca(y,b.tView.ssrId);Ya(y,Za(n,b,t,{dehydratedView:k}),0,ma(b,k))}}finally{H(c)}}else if(void 0!==s){const c=function sC(e,t){const n=Wn+t;if(n<e.length)return e[n]}(s,0);void 0!==c&&(c[yn]=t)}}function md(e,t){return e[t]}function _d(e,t,n,i){const o=me(),s=At(),a=Ze+e,c=o[ht],h=s.firstCreatePass?function TP(e,t,n,i,o,s){const a=t.consts,h=ga(t,e,2,i,tr(a,o));return vf(t,n,h,tr(a,s)),null!==h.attrs&&nd(h,h.attrs,!1),null!==h.mergedAttrs&&nd(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(a,s,o,t,n,i):s.data[a],y=by(s,o,h,c,t,e);o[a]=y;const b=su(h);return Cr(h,!0),H_(c,y,h),!function nl(e){return!(32&~e.flags)}(h)&&$l()&&$u(s,o,y,h),0===function ZM(){return ft.lFrame.elementDepthCount}()&&Ji(y,o),function YM(){ft.lFrame.elementDepthCount++}(),b&&(mf(s,o,h),gf(s,h,o)),null!==i&&_f(o,h),_d}function Cd(){let e=un();ch()?uh():(e=e.parent,Cr(e,!1));const t=e;(function eb(e){return ft.skipHydrationRootTNode===e})(t)&&function ob(){ft.skipHydrationRootTNode=null}(),function JM(){ft.lFrame.elementDepthCount--}();const n=At();return n.firstCreatePass&&(hu(n,e),Jd(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _b(e){return!!(8&e.flags)}(t)&&Cp(n,t,me(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Cb(e){return!!(16&e.flags)}(t)&&Cp(n,t,me(),t.stylesWithoutHost,!1),Cd}function Ep(e,t,n,i){return _d(e,t,n,i),Cd(),Ep}let by=(e,t,n,i,o,s)=>(Lr(!0),ju(i,o,function Zg(){return ft.lFrame.currentNamespace}()));function vd(e,t,n){const i=me(),o=At(),s=e+Ze,a=o.firstCreatePass?function NP(e,t,n,i,o){const s=t.consts,a=tr(s,i),c=ga(t,e,8,"ng-container",a);return null!==a&&nd(c,a,!0),vf(t,n,c,tr(s,o)),null!==t.queries&&t.queries.elementStart(t,c),c}(s,o,i,t,n):o.data[s];Cr(a,!0);const c=Dy(o,i,a,e);return i[s]=c,$l()&&$u(o,i,c,a),Ji(c,i),su(a)&&(mf(o,i,a),gf(o,a,i)),null!=n&&_f(i,a),vd}function yd(){let e=un();const t=At();return ch()?uh():(e=e.parent,Cr(e,!1)),t.firstCreatePass&&(hu(t,e),Jd(e)&&t.queries.elementEnd(e)),yd}function Sp(e,t,n){return vd(e,t,n),yd(),Sp}let Dy=(e,t,n,i)=>(Lr(!0),sf(t[ht],""));function Ey(){return me()}const ba=void 0;var LP=["en",[["a","p"],["AM","PM"],ba],[["AM","PM"],ba,ba],[["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"]],ba,[["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"]],ba,[["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}",ba,"{1} 'at' {0}",ba],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FP(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let yl={};function Op(e){const t=function VP(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=xy(t);if(n)return n;const i=t.split("-")[0];if(n=xy(i),n)return n;if("en"===i)return LP;throw new Ve(701,!1)}function Py(e){return Op(e)[wl.PluralCase]}function xy(e){return e in yl||(yl[e]=vn.ng&&vn.ng.common&&vn.ng.common.locales&&vn.ng.common.locales[e]),yl[e]}var wl=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}(wl||{});const wd="en-US";let Ty=wd,Ky=(e,t,n)=>{};function Tp(e,t,n,i){const o=me(),s=At(),a=un();return Ip(s,o,o[ht],a,e,t,i),Tp}function Ip(e,t,n,i,o,s,a){const c=su(i),y=e.firstCreatePass&&oC(e),b=t[yn],k=iC(t);let W=!0;if(3&i.type||a){const ye=uo(i,t),ke=a?a(ye):ye,Be=k.length,we=a?qt=>a(nn(qt[i.index])):i.index;let Mt=null;if(!a&&c&&(Mt=function Sx(e,t,n,i){const o=e.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const a=o[s];if(a===n&&o[s+1]===i){const c=t[Na],h=o[s+2];return c.length>h?c[h]:null}"string"==typeof a&&(s+=2)}return null}(e,t,o,i.index)),null!==Mt)(Mt.__ngLastListenerFn__||Mt).__ngNextListenerFn__=s,Mt.__ngLastListenerFn__=s,W=!1;else{s=Yy(i,t,b,s),Ky(ye,o,s);const qt=n.listen(ke,o,s);k.push(s,qt),y&&y.push(o,we,Be,Be+1)}}else s=Yy(i,t,b,s);const ee=i.outputs;let re;if(W&&null!==ee&&(re=ee[o])){const ye=re.length;if(ye)for(let ke=0;ke<ye;ke+=2){const gn=t[re[ke]][re[ke+1]].subscribe(s),Qn=k.length;k.push(s,gn),y&&y.push(o,i.index,Qn,-(Qn+1))}}}function Zy(e,t,n,i){const o=H(null);try{return Fr(6,t,n),!1!==n(i)}catch(s){return Wu(e,s),!1}finally{Fr(7,t,n),H(o)}}function Yy(e,t,n,i){return function o(s){if(s===Function)return i;lc(e.componentOffset>-1?Lo(e.index,t):t,5);let c=Zy(t,n,i,s),h=o.__ngNextListenerFn__;for(;h;)c=Zy(t,n,h,s)&&c,h=h.__ngNextListenerFn__;return c}}function Jy(e=1){return function cb(e){return(ft.lFrame.contextLView=function Ng(e,t){for(;e>0;)t=t[Aa],e--;return t}(e,ft.lFrame.contextLView))[yn]}(e)}function Ox(e,t){let n=null;const i=function R(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 o=0;o<t.length;o++){const s=t[o];if("*"!==s){if(null===i?D(e,s,!0):ae(i,s))return o}else n=o}return n}function e0(e){const t=me()[Fn][Ui];if(!t.projection){const i=t.projection=function ls(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}(e?e.length:1,null),o=i.slice();let s=t.child;for(;null!==s;){if(128!==s.type){const a=e?Ox(s,e):0;null!==a&&(o[a]?o[a].projectionNext=s:i[a]=s,o[a]=s)}s=s.next}}}function t0(e,t=0,n,i,o,s){const a=me(),c=At(),h=i?e+1:null;null!==h&&Dc(a,c,h,i,o,s,null,n);const y=ga(c,Ze+e,16,null,n||null);null===y.projection&&(y.projection=t),uh();const k=!a[co]||aa();null===a[Fn][Ui].projection[y.projection]&&null!==h?function Px(e,t,n){const i=Ze+n,o=t.data[i],s=e[i],a=Ca(s,o.tView.ssrId);Ya(s,Za(e,o,void 0,{dehydratedView:a}),0,ma(o,a))}(a,c,h):k&&32&~y.flags&&function ME(e,t,n){U_(t[ht],0,t,n,cf(e,n,t),k_(n.parent||t[Ui],n,t))}(c,a,y)}function Rp(e,t,n){return Ed(e,"",t,"",n),Rp}function Ed(e,t,n,i,o){const s=me(),a=dl(s,t,n,i);return a!==Ot&&Mo(At(),wn(),s,e,a,s[ht],o,!1),Ed}function d0(e,t,n,i){!function YC(e,t,n,i){const o=At();if(o.firstCreatePass){const s=un();JC(o,new KC(t,n,i),s.index),function NS(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),!(2&~n)&&(o.staticContentQueries=!0)}return QC(o,me(),n)}(e,t,n,i)}function h0(e,t,n){!function ZC(e,t,n){const i=At();return i.firstCreatePass&&(JC(i,new KC(e,t,n),-1),!(2&~t)&&(i.staticViewQueries=!0)),QC(i,me(),t)}(e,t,n)}function f0(e){const t=me(),n=At(),i=fh();du(i+1);const o=Xf(n,i);if(e.dirty&&function XM(e){return!(4&~e[rt])}(t)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const s=ev(t,i);e.reset(s,Om),e.notifyOnChanges()}return!0}return!1}function p0(){return function Kf(e,t){return e[cs].queries[t].queryList}(me(),fh())}function g0(e){return function sa(e,t){return e[t]}(function Bg(){return ft.lFrame.contextLView}(),Ze+e)}function E0(e,t=""){const n=me(),i=At(),o=e+Ze,s=i.firstCreatePass?ga(i,o,1,t,null):i.data[o],a=S0(i,n,s,t,e);n[o]=a,$l()&&$u(i,n,a,s),Cr(s,!1)}let S0=(e,t,n,i,o)=>(Lr(!0),function rf(e,t){return e.createText(t)}(t[ht],i));function Ap(e){return Sd("",e,""),Ap}function Sd(e,t,n){const i=me(),o=dl(i,e,t,n);return o!==Ot&&gs(i,$i(),o),Sd}function kp(e,t,n,i,o){const s=me(),a=hl(s,e,t,n,i,o);return a!==Ot&&gs(s,$i(),a),kp}function Fp(e,t,n){rv(t)&&(t=t());const i=me();return qn(i,vr(),t)&&Mo(At(),wn(),i,e,t,i[ht],n,!1),Fp}function A0(e,t){const n=rv(e);return n&&e.set(t),n}function Lp(e,t){const n=me(),i=At(),o=un();return Ip(i,n,n[ht],o,e,t),Lp}function Vp(e,t,n,i,o){if(e=tt(e),Array.isArray(e))for(let s=0;s<e.length;s++)Vp(e[s],t,n,i,o);else{const s=At(),a=me(),c=un();let h=ia(e)?e:tt(e.provide);const y=mg(e),b=1048575&c.providerIndexes,k=c.directiveStart,W=c.providerIndexes>>20;if(ia(e)||!e.multi){const ee=new Hl(y,o,Qa),re=jp(h,t,o?b:b+W,k);-1===re?(Mh(mu(c,a),s,h),Bp(s,e,t.length),t.push(h),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(ee),a.push(ee)):(n[re]=ee,a[re]=ee)}else{const ee=jp(h,t,b+W,k),re=jp(h,t,b,b+W),ke=re>=0&&n[re];if(o&&!ke||!o&&!(ee>=0&&n[ee])){Mh(mu(c,a),s,h);const Be=function Kx(e,t,n,i,o){const s=new Hl(e,n,Qa);return s.multi=[],s.index=t,s.componentProviders=0,L0(s,o,i&&!n),s}(o?qx:Wx,n.length,o,i,y);!o&&ke&&(n[re].providerFactory=Be),Bp(s,e,t.length,0),t.push(h),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(Be),a.push(Be)}else Bp(s,e,ee>-1?ee:re,L0(n[o?re:ee],y,!o&&i));!o&&i&&ke&&n[re].componentProviders++}}}function Bp(e,t,n,i){const o=ia(t),s=function DM(e){return!!e.useClass}(t);if(o||s){const h=(s?tt(t.useClass):t).prototype.ngOnDestroy;if(h){const y=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const b=y.indexOf(n);-1===b?y.push(n,[i,h]):y[b+1].push(i,h)}else y.push(n,h)}}}function L0(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function jp(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function Wx(e,t,n,i){return Up(this.multi,[])}function qx(e,t,n,i){const o=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,c=ua(n,n[Ae],this.providerFactory.index,i);s=c.slice(0,a),Up(o,s);for(let h=a;h<c.length;h++)s.push(c[h])}else s=[],Up(o,s);return s}function Up(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function V0(e,t=[]){return n=>{n.providersResolver=(i,o)=>function Gx(e,t,n){const i=At();if(i.firstCreatePass){const o=_r(e);Vp(n,i.data,i.blueprint,o,!0),Vp(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}let Xx=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=zd(0,n.type),o=i.length>0?ep([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}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=en({token:e,providedIn:"environment",factory:()=>new e(Ct(Jo))})}}return e})();function B0(e){fo("NgStandalone"),e.getStandaloneInjector=t=>t.get(Xx).getOrCreateStandaloneInjector(e)}function $0(e,t,n,i){return function z0(e,t,n,i,o,s){const a=t+n;return qn(e,a,o)?Ur(e,a+1,s?i.call(s,o):i(o)):kc(e,a+1)}(me(),ho(),e,t,n,i)}function H0(e,t,n,i,o,s){return function W0(e,t,n,i,o,s,a,c){const h=t+n;return function ad(e,t,n,i,o){const s=ya(e,t,n,i);return qn(e,t+2,o)||s}(e,h,o,s,a)?Ur(e,h+3,c?i.call(c,o,s,a):i(o,s,a)):kc(e,h+3)}(me(),ho(),e,t,n,i,o,s)}function kc(e,t){const n=e[t];return n===Ot?void 0:n}function X0(e,t){return Ku(e,t)}class dw{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let hw=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const _w=new st(""),Cw=new st("");let qp,sI=(()=>{class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,qp||(function aI(e){qp=e}(o),o.addToWindow(i)),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:()=>{Ln.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(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!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,i,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}static{this.\u0275fac=function(i){return new(i||e)(Ct(Ln),Ct(vw),Ct(Cw))}}static{this.\u0275prov=en({token:e,factory:e.\u0275fac})}}return e})(),vw=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return qp?.findTestabilityInTree(this,n,i)??null}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function Kp(e){return!!e&&"function"==typeof e.then}function yw(e){return!!e&&"function"==typeof e.subscribe}const ww=new st("");let Mw=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=Pe(ww,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const s=o();if(Kp(s))n.push(s);else if(yw(s)){const a=new Promise((c,h)=>{s.subscribe({complete:c,error:h})});n.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Id=new st("");function Dw(e,t){return Array.isArray(t)?t.reduce(Dw,e):{...e,...t}}let zr=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Pe(Wb),this.afterRenderManager=Pe(Tv),this.zonelessEnabled=Pe(Cc),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new bn.B,this.afterTick=new bn.B,this.componentTypes=[],this.components=[],this.isStable=Pe(da).hasPendingTasks.pipe((0,In.T)(n=>!n)),this._injector=Pe(Jo)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){const o=n instanceof FC;if(!this._injector.get(Mw).done)throw!o&&Fs(n),new Ve(405,!1);let a;a=o?n:this._injector.get(ed).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const c=function lI(e){return e.isBoundToModule}(a)?void 0:this._injector.get(va),y=a.create(Hi.NULL,[],i||a.selector,c),b=y.location.nativeElement,k=y.injector.get(_w,null);return k?.registerApplication(b),y.onDestroy(()=>{this.detachView(y.hostView),Rd(this.components,y),k?.unregisterApplication(b)}),this._loadComponent(y),y}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Ve(101,!1);const n=H(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,H(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Vf,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;0!==this.dirtyFlags&&i++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:s}of this._views)dI(o,s,i,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})=>au(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Rd(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Id,[]);[...this._bootstrapListeners,...i].forEach(o=>o(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),()=>Rd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ve(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Rd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function dI(e,t,n,i){(n||au(e))&&qu(e,t,n&&!i?0:1)}class hI{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let fI=(()=>{class e{compileModuleSync(n){return new Jf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),s=Vo(Zi(n).declarations).reduce((a,c)=>{const h=Vt(c);return h&&a.push(new wc(h)),a},[]);return new hI(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),mI=(()=>{class e{constructor(){this.zone=Pe(Ln),this.changeDetectionScheduler=Pe(el),this.applicationRef=Pe(zr)}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(i){return new(i||e)}}static{this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Xp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Ln({...Qp(),scheduleInRootZone:n}),[{provide:Ln,useFactory:e},{provide:p,multi:!0,useFactory:()=>{const i=Pe(mI,{optional:!0});return()=>i.initialize()}},{provide:p,multi:!0,useFactory:()=>{const i=Pe(CI);return()=>{i.initialize()}}},!0===t?{provide:kC,useValue:!0}:[],{provide:Lf,useValue:n??ym}]}function Qp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let CI=(()=>{class e{constructor(){this.subscription=new zi.yU,this.initialized=!1,this.zone=Pe(Ln),this.pendingTasks=Pe(da)}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(()=>{Ln.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ln.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Bc=(()=>{class e{constructor(){this.appRef=Pe(zr),this.taskService=Pe(da),this.ngZone=Pe(Ln),this.zonelessEnabled=Pe(Cc),this.disableScheduling=Pe(kC,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new zi.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Mu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Pe(Lf,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof xh||!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 i=this.useMicrotaskScheduler?Mm:wm;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Mu+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(i){throw this.taskService.remove(n),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Mm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Yp=new st("",{providedIn:"root",factory:()=>Pe(Yp,Tt.Optional|Tt.SkipSelf)||function vI(){return typeof $localize<"u"&&$localize.locale||wd}()}),yI=new st("",{providedIn:"root",factory:()=>"USD"}),Jp=new st("");function Ad(e){return!!e.platformInjector}let Iw=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const o=i?.scheduleInRootZone,a=i?.ignoreChangesOutsideZone,c=[Xp({ngZoneFactory:()=>function Gb(e="zone.js",t){return"noop"===e?new xh:"zone.js"===e?new Ln(t):e}(i?.ngZone,{...Qp({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:o}),ignoreChangesOutsideZone:a}),{provide:el,useExisting:Bc}],h=function eO(e,t,n){return new Yf(e,t,n,!1)}(n.moduleType,this.injector,c);return function Tw(e){const t=Ad(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ln);return n.run(()=>{Ad(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=t.get(fs,null);let o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:s=>{i.handleError(s)}})}),Ad(e)){const s=()=>t.destroy(),a=e.platformInjector.get(Jp);a.add(s),t.onDestroy(()=>{o.unsubscribe(),a.delete(s)})}else e.moduleRef.onDestroy(()=>{Rd(e.allPlatformModules,e.moduleRef),o.unsubscribe()});return function uI(e,t,n){try{const i=n();return Kp(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(i,n,()=>{const s=t.get(Mw);return s.runInitializers(),s.donePromise.then(()=>{if(function $P(e){"string"==typeof e&&(Ty=e.toLowerCase().replace(/_/g,"-"))}(t.get(Yp,wd)||wd),Ad(e)){const c=t.get(zr);return void 0!==e.rootComponent&&c.bootstrap(e.rootComponent),c}return function EI(e,t){const n=e.injector.get(zr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>n.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new Ve(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:h,allPlatformModules:this._modules})}bootstrapModule(n,i=[]){const o=Dw({},i);return function gI(e,t,n){const i=new Jf(n);return Promise.resolve(i)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ve(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Jp,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(i){return new(i||e)(Ct(Hi))}}static{this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),zs=null;const Rw=new st("");function Nw(e,t,n=[]){const i=`Platform: ${t}`,o=new st(i);return(s=[])=>{let a=eg();if(!a||a.injector.get(Rw,!1)){const c=[...n,...s,{provide:o,useValue:!0}];e?e(c):function SI(e){if(zs&&!zs.get(Rw,!1))throw new Ve(400,!1);(function bw(){!function ot(e){Se=e}(()=>{throw new Ve(600,!1)})})(),zs=e;const t=e.get(Iw);(function kw(e){e.get(qm,null)?.forEach(n=>n())})(e)}(function Aw(e=[],t){return Hi.create({name:t,providers:[{provide:qd,useValue:"platform"},{provide:Jp,useValue:new Set([()=>zs=null])},...e]})}(c,i))}return function OI(){const t=eg();if(!t)throw new Ve(401,!1);return t}()}}function eg(){return zs?.get(Iw)??null}function xI(){return!1}let Lw=(()=>{class e{static{this.__NG_ELEMENT_ID__=TI}}return e})();function TI(e){return function II(e,t,n){if(ra(e)&&!n){const i=Lo(e.index,t);return new cc(i,i)}return 175&e.type?new cc(t[Fn],t):null}(un(),me(),!(16&~e))}class Uw{constructor(){}supports(t){return sd(t)}create(t){return new FI(t)}}const kI=(e,t)=>t;class FI{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||kI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,s=null;for(;n||i;){const a=!i||n&&n.currentIndex<Hw(i,o,s)?n:i,c=Hw(a,o,s),h=a.currentIndex;if(a===i)o--,i=i._nextRemoved;else if(n=n._next,null==a.previousIndex)o++;else{s||(s=[]);const y=c-o,b=h-o;if(y!=b){for(let W=0;W<y;W++){const ee=W<s.length?s[W]:s[W]=0,re=ee+W;b<=re&&re<y&&(s[W]=ee+1)}s[a.previousIndex]=b-y}}c!==h&&t(a,c,h)}}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=[]),!sd(t))throw new Ve(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,s,a,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)s=t[c],a=this._trackByFn(c,s),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,s,a,c)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,a,c),i=!0),n=n._next}else o=0,function iO(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,c=>{a=this._trackByFn(o,c),null!==n&&Object.is(n.trackById,a)?(i&&(n=this._verifyReinsertion(n,c,a,o)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,a,o),i=!0),n=n._next,o++}),this.length=o;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,i,o){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,o)):t=this._addAfter(new LI(n,i),s,o),t}_verifyReinsertion(t,n,i,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,s=t._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new $w),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 $w),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 LI{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 VI{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class $w{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new VI,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 Hw(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i<n.length&&(o=n[i]),i+t+o}class zw{constructor(){}supports(t){return t instanceof Map||tp(t)}create(){return new BI}}class BI{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||tp(t)))throw new Ve(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,(i,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 o=this._records.get(t);this._maybeAddToChanges(o,n);const s=o._prev,a=o._next;return s&&(s._next=a),a&&(a._prev=s),o._next=null,o._prev=null,o}const i=new jI(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class jI{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 Gw(){return new rg([new Uw])}let rg=(()=>{class e{static{this.\u0275prov=en({token:e,providedIn:"root",factory:Gw})}constructor(n){this.factories=n}static create(n,i){if(null!=i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Gw()),deps:[[e,new Xi,new xi]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new Ve(901,!1)}}return e})();function Ww(){return new sg([new zw])}let sg=(()=>{class e{static{this.\u0275prov=en({token:e,providedIn:"root",factory:Ww})}constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Ww()),deps:[[e,new Xi,new xi]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(i)return i;throw new Ve(901,!1)}}return e})();const HI=Nw(null,"core",[]);let zI=(()=>{class e{constructor(n){}static{this.\u0275fac=function(i){return new(i||e)(Ct(zr))}}static{this.\u0275mod=lo({type:e})}static{this.\u0275inj=Ro({})}}return e})();const lM=new st("");function wR(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function bR(e,t){fo("NgSignals");const n=function lt(e){const t=Object.create(j);t.computation=e;const n=()=>{if(Oe(t),ie(t),t.value===Le)throw t.error;return t.value};return n[B]=t,n}(e);return t?.equal&&(n[B].equal=t.equal),n}function DR(e){const t=H(null);try{return e()}finally{H(t)}}const ER=new st("",{providedIn:"root",factory:()=>Pe(SR)});let SR=(()=>{class e{static{this.\u0275prov=en({token:e,providedIn:"root",factory:()=>new OR})}}return e})();class OR{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=Pe(da),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){const n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const i=this.queues.get(n);i.has(t)||(this.queuedEffectCount++,i.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}class PR{constructor(t,n,i,o,s,a){this.scheduler=t,this.effectFn=n,this.creationZone=i,this.injector=s,this.watcher=function _n(e,t,n){const i=Object.create(Vn);n&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=t;const o=h=>{i.cleanupFn=h};return i.ref={notify:()=>Fe(i),run:()=>{if(null===i.fn)return;if(function z(){return V}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!Xe(i))return;i.hasRun=!0;const h=Te(i);try{i.cleanupFn(),i.cleanupFn=Un,i.fn(o)}finally{He(i,h)}},cleanup:()=>i.cleanupFn(),destroy:()=>function a(h){(function s(h){return null===h.fn&&null===h.schedule})(h)||(bt(h),h.cleanupFn(),h.fn=null,h.schedule=null,h.cleanupFn=Un)}(i),[B]:i},i.ref}(c=>this.runEffect(c),()=>this.schedule(),a),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(fs,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function CM(e,t){fo("NgSignals"),!t?.injector&&tu();const n=t?.injector??Pe(Hi),i=!0!==t?.manualCleanup?n.get(Ua):null,o=new PR(n.get(ER),e,typeof Zone>"u"?null:Zone.current,i,n,t?.allowSignalWrites??!1),s=n.get(Lw,null,{optional:!0});return s&&8&s._lView[rt]?(s._lView[iu]??=[]).push(o.watcher.notify):o.watcher.notify(),o}function xR(e){const t=Vt(e);if(!t)return null;const n=new wc(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}}}},9079:(pe,K,O)=>{"use strict";O.d(K,{br:()=>q,ot:()=>z});var r=O(3953),x=O(2771);function q(Y,ie){!ie?.injector&&(0,r.Af3)(q);const ge=ie?.injector??(0,r.WQX)(r.zZn),Oe=new x.m(1),Ee=(0,r.QZP)(()=>{let Ce;try{Ce=Y()}catch(Fe){return void(0,r.O8t)(()=>Oe.error(Fe))}(0,r.O8t)(()=>Oe.next(Ce))},{injector:ge,manualCleanup:!0});return ge.get(r.abz).onDestroy(()=>{Ee.destroy(),Oe.complete()}),Oe.asObservable()}function z(Y,ie){const ge=!ie?.manualCleanup;ge&&!ie?.injector&&(0,r.Af3)(z);const Oe=ge?ie?.injector?.get(r.abz)??(0,r.WQX)(r.abz):null,Ee=function te(Y=Object.is){return(ie,ge)=>1===ie.kind&&1===ge.kind&&Y(ie.value,ge.value)}(ie?.equal);let Ce;Ce=(0,r.vPA)(ie?.requireSync?{kind:0}:{kind:1,value:ie?.initialValue},{equal:Ee});const Fe=Y.subscribe({next:Te=>Ce.set({kind:1,value:Te}),error:Te=>{if(ie?.rejectErrors)throw Te;Ce.set({kind:2,error:Te})}});if(ie?.requireSync&&0===Ce().kind)throw new r.wOt(601,!1);return Oe?.onDestroy(Fe.unsubscribe.bind(Fe)),(0,r.EWP)(()=>{const Te=Ce();switch(Te.kind){case 1:return Te.value;case 2:throw Te.error;case 0:throw new r.wOt(601,!1)}},{equal:ie?.equal})}},9417:(pe,K,O)=>{"use strict";O.d(K,{BC:()=>Zn,YN:()=>Li,me:()=>Ce,vS:()=>Dr,wz:()=>Wo,xH:()=>qo,y7:()=>cr});var r=O(3953),x=O(177),V=O(6648),L=O(7468),B=O(1413),H=O(6354);let q=(()=>{class w{constructor(C,T){this._renderer=C,this._elementRef=T,this.onChange=J=>{},this.onTouched=()=>{}}setProperty(C,T){this._renderer.setProperty(this._elementRef.nativeElement,C,T)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}static{this.\u0275fac=function(T){return new(T||w)(r.rXU(r.sFG),r.rXU(r.aKT))}}static{this.\u0275dir=r.FsC({type:w})}}return w})(),z=(()=>{class w extends q{static{this.\u0275fac=(()=>{let C;return function(J){return(C||(C=r.xGo(w)))(J||w)}})()}static{this.\u0275dir=r.FsC({type:w,features:[r.Vt3]})}}return w})();const te=new r.nKC(""),ge={provide:te,useExisting:(0,r.Rfq)(()=>Ce),multi:!0},Ee=new r.nKC("");let Ce=(()=>{class w extends q{constructor(C,T,J){super(C,T),this._compositionMode=J,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Oe(){const w=(0,x.QT)()?(0,x.QT)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(C){this.setProperty("value",C??"")}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}static{this.\u0275fac=function(T){return new(T||w)(r.rXU(r.sFG),r.rXU(r.aKT),r.rXU(Ee,8))}}static{this.\u0275dir=r.FsC({type:w,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(T,J){1&T&&r.bIt("input",function(yt){return J._handleInput(yt.target.value)})("blur",function(){return J.onTouched()})("compositionstart",function(){return J._compositionStart()})("compositionend",function(yt){return J._compositionEnd(yt.target.value)})},features:[r.Jv_([ge]),r.Vt3]})}}return w})();const He=new r.nKC(""),Xe=new r.nKC("");function j(w){return null!=w}function se(w){return(0,r.jNT)(w)?(0,V.H)(w):w}function Se(w){let M={};return w.forEach(C=>{M=null!=C?{...M,...C}:M}),0===Object.keys(M).length?null:M}function Re(w,M){return M.map(C=>C(w))}function ut(w){return w.map(M=>function ot(w){return!w.validate}(M)?M:C=>M.validate(C))}function Bt(w){return null!=w?function We(w){if(!w)return null;const M=w.filter(j);return 0==M.length?null:function(C){return Se(Re(C,M))}}(ut(w)):null}function Rt(w){return null!=w?function Kt(w){if(!w)return null;const M=w.filter(j);return 0==M.length?null:function(C){const T=Re(C,M).map(se);return(0,L.p)(T).pipe((0,H.T)(Se))}}(ut(w)):null}function gt(w,M){return null===w?[M]:Array.isArray(w)?[...w,M]:[w,M]}function dn(w){return w?Array.isArray(w)?w:[w]:[]}function _n(w,M){return Array.isArray(w)?w.includes(M):w===M}function Un(w,M){const C=dn(M);return dn(w).forEach(J=>{_n(C,J)||C.push(J)}),C}function Vn(w,M){return dn(M).filter(C=>!_n(w,C))}class go{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(M){this._rawValidators=M||[],this._composedValidatorFn=Bt(this._rawValidators)}_setAsyncValidators(M){this._rawAsyncValidators=M||[],this._composedAsyncValidatorFn=Rt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(M){this._onDestroyCallbacks.push(M)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(M=>M()),this._onDestroyCallbacks=[]}reset(M=void 0){this.control&&this.control.reset(M)}hasError(M,C){return!!this.control&&this.control.hasError(M,C)}getError(M,C){return this.control?this.control.getError(M,C):null}}class sn extends go{get formDirective(){return null}get path(){return null}}class bn extends go{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class zi{constructor(M){this._cd=M}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 Zn=(()=>{class w extends zi{constructor(C){super(C)}static{this.\u0275fac=function(T){return new(T||w)(r.rXU(bn,2))}}static{this.\u0275dir=r.FsC({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(T,J){2&T&&r.AVh("ng-untouched",J.isUntouched)("ng-touched",J.isTouched)("ng-pristine",J.isPristine)("ng-dirty",J.isDirty)("ng-valid",J.isValid)("ng-invalid",J.isInvalid)("ng-pending",J.isPending)},features:[r.Vt3]})}}return w})();const Yn="VALID",zn="INVALID",wi="PENDING",Mi="DISABLED";class En{}class Jn extends En{constructor(M,C){super(),this.value=M,this.source=C}}class he extends En{constructor(M,C){super(),this.pristine=M,this.source=C}}class le extends En{constructor(M,C){super(),this.touched=M,this.source=C}}class G extends En{constructor(M,C){super(),this.status=M,this.source=C}}function Ft(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}class Gi{constructor(M,C){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,r.EWP)(()=>this.statusReactive()),this.statusReactive=(0,r.vPA)(void 0),this._pristine=(0,r.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,r.vPA)(!0),this._touched=(0,r.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,r.vPA)(!1),this._events=new B.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(M),this._assignAsyncValidators(C)}get validator(){return this._composedValidatorFn}set validator(M){this._rawValidators=this._composedValidatorFn=M}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(M){this._rawAsyncValidators=this._composedAsyncValidatorFn=M}get parent(){return this._parent}get status(){return(0,r.O8t)(this.statusReactive)}set status(M){(0,r.O8t)(()=>this.statusReactive.set(M))}get valid(){return this.status===Yn}get invalid(){return this.status===zn}get pending(){return this.status==wi}get disabled(){return this.status===Mi}get enabled(){return this.status!==Mi}get pristine(){return(0,r.O8t)(this.pristineReactive)}set pristine(M){(0,r.O8t)(()=>this.pristineReactive.set(M))}get dirty(){return!this.pristine}get touched(){return(0,r.O8t)(this.touchedReactive)}set touched(M){(0,r.O8t)(()=>this.touchedReactive.set(M))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(M){this._assignValidators(M)}setAsyncValidators(M){this._assignAsyncValidators(M)}addValidators(M){this.setValidators(Un(M,this._rawValidators))}addAsyncValidators(M){this.setAsyncValidators(Un(M,this._rawAsyncValidators))}removeValidators(M){this.setValidators(Vn(M,this._rawValidators))}removeAsyncValidators(M){this.setAsyncValidators(Vn(M,this._rawAsyncValidators))}hasValidator(M){return _n(this._rawValidators,M)}hasAsyncValidator(M){return _n(this._rawAsyncValidators,M)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(M={}){const C=!1===this.touched;this.touched=!0;const T=M.sourceControl??this;this._parent&&!M.onlySelf&&this._parent.markAsTouched({...M,sourceControl:T}),C&&!1!==M.emitEvent&&this._events.next(new le(!0,T))}markAllAsTouched(M={}){this.markAsTouched({onlySelf:!0,emitEvent:M.emitEvent,sourceControl:this}),this._forEachChild(C=>C.markAllAsTouched(M))}markAsUntouched(M={}){const C=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const T=M.sourceControl??this;this._forEachChild(J=>{J.markAsUntouched({onlySelf:!0,emitEvent:M.emitEvent,sourceControl:T})}),this._parent&&!M.onlySelf&&this._parent._updateTouched(M,T),C&&!1!==M.emitEvent&&this._events.next(new le(!1,T))}markAsDirty(M={}){const C=!0===this.pristine;this.pristine=!1;const T=M.sourceControl??this;this._parent&&!M.onlySelf&&this._parent.markAsDirty({...M,sourceControl:T}),C&&!1!==M.emitEvent&&this._events.next(new he(!1,T))}markAsPristine(M={}){const C=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const T=M.sourceControl??this;this._forEachChild(J=>{J.markAsPristine({onlySelf:!0,emitEvent:M.emitEvent})}),this._parent&&!M.onlySelf&&this._parent._updatePristine(M,T),C&&!1!==M.emitEvent&&this._events.next(new he(!0,T))}markAsPending(M={}){this.status=wi;const C=M.sourceControl??this;!1!==M.emitEvent&&(this._events.next(new G(this.status,C)),this.statusChanges.emit(this.status)),this._parent&&!M.onlySelf&&this._parent.markAsPending({...M,sourceControl:C})}disable(M={}){const C=this._parentMarkedDirty(M.onlySelf);this.status=Mi,this.errors=null,this._forEachChild(J=>{J.disable({...M,onlySelf:!0})}),this._updateValue();const T=M.sourceControl??this;!1!==M.emitEvent&&(this._events.next(new Jn(this.value,T)),this._events.next(new G(this.status,T)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...M,skipPristineCheck:C},this),this._onDisabledChange.forEach(J=>J(!0))}enable(M={}){const C=this._parentMarkedDirty(M.onlySelf);this.status=Yn,this._forEachChild(T=>{T.enable({...M,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:M.emitEvent}),this._updateAncestors({...M,skipPristineCheck:C},this),this._onDisabledChange.forEach(T=>T(!1))}_updateAncestors(M,C){this._parent&&!M.onlySelf&&(this._parent.updateValueAndValidity(M),M.skipPristineCheck||this._parent._updatePristine({},C),this._parent._updateTouched({},C))}setParent(M){this._parent=M}getRawValue(){return this.value}updateValueAndValidity(M={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const T=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yn||this.status===wi)&&this._runAsyncValidator(T,M.emitEvent)}const C=M.sourceControl??this;!1!==M.emitEvent&&(this._events.next(new Jn(this.value,C)),this._events.next(new G(this.status,C)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!M.onlySelf&&this._parent.updateValueAndValidity({...M,sourceControl:C})}_updateTreeValidity(M={emitEvent:!0}){this._forEachChild(C=>C._updateTreeValidity(M)),this.updateValueAndValidity({onlySelf:!0,emitEvent:M.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Mi:Yn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(M,C){if(this.asyncValidator){this.status=wi,this._hasOwnPendingAsyncValidator={emitEvent:!1!==C};const T=se(this.asyncValidator(this));this._asyncValidationSubscription=T.subscribe(J=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(J,{emitEvent:C,shouldHaveEmitted:M})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const M=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,M}return!1}setErrors(M,C={}){this.errors=M,this._updateControlsErrors(!1!==C.emitEvent,this,C.shouldHaveEmitted)}get(M){let C=M;return null==C||(Array.isArray(C)||(C=C.split(".")),0===C.length)?null:C.reduce((T,J)=>T&&T._find(J),this)}getError(M,C){const T=C?this.get(C):this;return T&&T.errors?T.errors[M]:null}hasError(M,C){return!!this.getError(M,C)}get root(){let M=this;for(;M._parent;)M=M._parent;return M}_updateControlsErrors(M,C,T){this.status=this._calculateStatus(),M&&this.statusChanges.emit(this.status),(M||T)&&this._events.next(new G(this.status,C)),this._parent&&this._parent._updateControlsErrors(M,C,T)}_initObservables(){this.valueChanges=new r.bkB,this.statusChanges=new r.bkB}_calculateStatus(){return this._allControlsDisabled()?Mi:this.errors?zn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(wi)?wi:this._anyControlsHaveStatus(zn)?zn:Yn}_anyControlsHaveStatus(M){return this._anyControls(C=>C.status===M)}_anyControlsDirty(){return this._anyControls(M=>M.dirty)}_anyControlsTouched(){return this._anyControls(M=>M.touched)}_updatePristine(M,C){const T=!this._anyControlsDirty(),J=this.pristine!==T;this.pristine=T,this._parent&&!M.onlySelf&&this._parent._updatePristine(M,C),J&&this._events.next(new he(this.pristine,C))}_updateTouched(M={},C){this.touched=this._anyControlsTouched(),this._events.next(new le(this.touched,C)),this._parent&&!M.onlySelf&&this._parent._updateTouched(M,C)}_registerOnCollectionChange(M){this._onCollectionChange=M}_setUpdateStrategy(M){Ft(M)&&null!=M.updateOn&&(this._updateOn=M.updateOn)}_parentMarkedDirty(M){return!M&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(M){return null}_assignValidators(M){this._rawValidators=Array.isArray(M)?M.slice():M,this._composedValidatorFn=function it(w){return Array.isArray(w)?Bt(w):w||null}(this._rawValidators)}_assignAsyncValidators(M){this._rawAsyncValidators=Array.isArray(M)?M.slice():M,this._composedAsyncValidatorFn=function kt(w){return Array.isArray(w)?Rt(w):w||null}(this._rawAsyncValidators)}}const Rn=new r.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>ei}),ei="always";function ti(w,M,C=ei){(function ui(w,M){const C=function Mn(w){return w._rawValidators}(w);null!==M.validator?w.setValidators(gt(C,M.validator)):"function"==typeof C&&w.setValidators([C]);const T=function on(w){return w._rawAsyncValidators}(w);null!==M.asyncValidator?w.setAsyncValidators(gt(T,M.asyncValidator)):"function"==typeof T&&w.setAsyncValidators([T]);const J=()=>w.updateValueAndValidity();Nn(M._rawValidators,J),Nn(M._rawAsyncValidators,J)})(w,M),M.valueAccessor.writeValue(w.value),(w.disabled||"always"===C)&&M.valueAccessor.setDisabledState?.(w.disabled),function ir(w,M){M.valueAccessor.registerOnChange(C=>{w._pendingValue=C,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&eo(w,M)})}(w,M),function mt(w,M){const C=(T,J)=>{M.valueAccessor.writeValue(T),J&&M.viewToModelUpdate(T)};w.registerOnChange(C),M._registerOnDestroy(()=>{w._unregisterOnChange(C)})}(w,M),function Ho(w,M){M.valueAccessor.registerOnTouched(()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&eo(w,M),"submit"!==w.updateOn&&w.markAsTouched()})}(w,M),function Ai(w,M){if(M.valueAccessor.setDisabledState){const C=T=>{M.valueAccessor.setDisabledState(T)};w.registerOnDisabledChange(C),M._registerOnDestroy(()=>{w._unregisterOnDisabledChange(C)})}}(w,M)}function Nn(w,M){w.forEach(C=>{C.registerOnValidatorChange&&C.registerOnValidatorChange(M)})}function eo(w,M){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),M.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function Me(w,M){const C=w.indexOf(M);C>-1&&w.splice(C,1)}function I(w){return"object"==typeof w&&null!==w&&2===Object.keys(w).length&&"value"in w&&"disabled"in w}Promise.resolve();const oe=class extends Gi{constructor(M=null,C,T){super(function Ue(w){return(Ft(w)?w.validators:w)||null}(C),function Pt(w,M){return(Ft(M)?M.asyncValidators:w)||null}(T,C)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(M),this._setUpdateStrategy(C),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ft(C)&&(C.nonNullable||C.initialValueIsDefault)&&(this.defaultValue=I(M)?M.value:M)}setValue(M,C={}){this.value=this._pendingValue=M,this._onChange.length&&!1!==C.emitModelToViewChange&&this._onChange.forEach(T=>T(this.value,!1!==C.emitViewToModelChange)),this.updateValueAndValidity(C)}patchValue(M,C={}){this.setValue(M,C)}reset(M=this.defaultValue,C={}){this._applyFormState(M),this.markAsPristine(C),this.markAsUntouched(C),this.setValue(this.value,C),this._pendingChange=!1}_updateValue(){}_anyControls(M){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(M){this._onChange.push(M)}_unregisterOnChange(M){Me(this._onChange,M)}registerOnDisabledChange(M){this._onDisabledChange.push(M)}_unregisterOnDisabledChange(M){Me(this._onDisabledChange,M)}_forEachChild(M){}_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(M){I(M)?(this.value=this._pendingValue=M.value,M.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=M}},or={provide:bn,useExisting:(0,r.Rfq)(()=>Dr)},br=Promise.resolve();let Dr=(()=>{class w extends bn{constructor(C,T,J,Qe,yt,rn){super(),this._changeDetectorRef=yt,this.callSetDisabledState=rn,this.control=new oe,this._registered=!1,this.name="",this.update=new r.bkB,this._parent=C,this._setValidators(T),this._setAsyncValidators(J),this.valueAccessor=function Ie(w,M){if(!M)return null;let C,T,J;return Array.isArray(M),M.forEach(Qe=>{Qe.constructor===Ce?C=Qe:function be(w){return Object.getPrototypeOf(w.constructor)===z}(Qe)?T=Qe:J=Qe}),J||T||C||null}(0,Qe)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const T=C.name.previousValue;this.formDirective.removeControl({name:T,path:this._getPath(T)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),function ue(w,M){if(!w.hasOwnProperty("model"))return!1;const C=w.model;return!!C.isFirstChange()||!Object.is(M,C.currentValue)}(C,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(C){this.viewModel=C,this.update.emit(C)}_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(){ti(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(C){br.then(()=>{this.control.setValue(C,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(C){const T=C.isDisabled.currentValue,J=0!==T&&(0,r.L39)(T);br.then(()=>{J&&!this.control.disabled?this.control.disable():!J&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(C){return this._parent?function Pn(w,M){return[...M.path,w]}(C,this._parent):[C]}static{this.\u0275fac=function(T){return new(T||w)(r.rXU(sn,9),r.rXU(He,10),r.rXU(Xe,10),r.rXU(te,10),r.rXU(r.gRc,8),r.rXU(Rn,8))}}static{this.\u0275dir=r.FsC({type:w,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:[r.Jv_([or]),r.Vt3,r.OA$]})}}return w})();const Pr={provide:te,useExisting:(0,r.Rfq)(()=>Wo),multi:!0};function To(w,M){return null==w?`${M}`:(M&&"object"==typeof M&&(M="Object"),`${w}: ${M}`.slice(0,50))}let Wo=(()=>{class w extends z{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(C){this._compareWith=C}writeValue(C){this.value=C;const J=To(this._getOptionId(C),C);this.setProperty("value",J)}registerOnChange(C){this.onChange=T=>{this.value=this._getOptionValue(T),C(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(C){for(const T of this._optionMap.keys())if(this._compareWith(this._optionMap.get(T),C))return T;return null}_getOptionValue(C){const T=function ms(w){return w.split(":")[0]}(C);return this._optionMap.has(T)?this._optionMap.get(T):C}static{this.\u0275fac=(()=>{let C;return function(J){return(C||(C=r.xGo(w)))(J||w)}})()}static{this.\u0275dir=r.FsC({type:w,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(T,J){1&T&&r.bIt("change",function(yt){return J.onChange(yt.target.value)})("blur",function(){return J.onTouched()})},inputs:{compareWith:"compareWith"},features:[r.Jv_([Pr]),r.Vt3]})}}return w})(),qo=(()=>{class w{constructor(C,T,J){this._element=C,this._renderer=T,this._select=J,this._select&&(this.id=this._select._registerOption())}set ngValue(C){null!=this._select&&(this._select._optionMap.set(this.id,C),this._setElementValue(To(this.id,C)),this._select.writeValue(this._select.value))}set value(C){this._setElementValue(C),this._select&&this._select.writeValue(this._select.value)}_setElementValue(C){this._renderer.setProperty(this._element.nativeElement,"value",C)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(T){return new(T||w)(r.rXU(r.aKT),r.rXU(r.sFG),r.rXU(Wo,9))}}static{this.\u0275dir=r.FsC({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return w})();const qr={provide:te,useExisting:(0,r.Rfq)(()=>Io),multi:!0};function Kr(w,M){return null==w?`${M}`:("string"==typeof M&&(M=`'${M}'`),M&&"object"==typeof M&&(M="Object"),`${w}: ${M}`.slice(0,50))}let Io=(()=>{class w extends z{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(C){this._compareWith=C}writeValue(C){let T;if(this.value=C,Array.isArray(C)){const J=C.map(Qe=>this._getOptionId(Qe));T=(Qe,yt)=>{Qe._setSelected(J.indexOf(yt.toString())>-1)}}else T=(J,Qe)=>{J._setSelected(!1)};this._optionMap.forEach(T)}registerOnChange(C){this.onChange=T=>{const J=[],Qe=T.selectedOptions;if(void 0!==Qe){const yt=Qe;for(let rn=0;rn<yt.length;rn++){const ys=this._getOptionValue(yt[rn].value);J.push(ys)}}else{const yt=T.options;for(let rn=0;rn<yt.length;rn++){const Ke=yt[rn];if(Ke.selected){const ys=this._getOptionValue(Ke.value);J.push(ys)}}}this.value=J,C(J)}}_registerOption(C){const T=(this._idCounter++).toString();return this._optionMap.set(T,C),T}_getOptionId(C){for(const T of this._optionMap.keys())if(this._compareWith(this._optionMap.get(T)._value,C))return T;return null}_getOptionValue(C){const T=function Ko(w){return w.split(":")[0]}(C);return this._optionMap.has(T)?this._optionMap.get(T)._value:C}static{this.\u0275fac=(()=>{let C;return function(J){return(C||(C=r.xGo(w)))(J||w)}})()}static{this.\u0275dir=r.FsC({type:w,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(T,J){1&T&&r.bIt("change",function(yt){return J.onChange(yt.target)})("blur",function(){return J.onTouched()})},inputs:{compareWith:"compareWith"},features:[r.Jv_([qr]),r.Vt3]})}}return w})(),cr=(()=>{class w{constructor(C,T,J){this._element=C,this._renderer=T,this._select=J,this._select&&(this.id=this._select._registerOption(this))}set ngValue(C){null!=this._select&&(this._value=C,this._setElementValue(Kr(this.id,C)),this._select.writeValue(this._select.value))}set value(C){this._select?(this._value=C,this._setElementValue(Kr(this.id,C)),this._select.writeValue(this._select.value)):this._setElementValue(C)}_setElementValue(C){this._renderer.setProperty(this._element.nativeElement,"value",C)}_setSelected(C){this._renderer.setProperty(this._element.nativeElement,"selected",C)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(T){return new(T||w)(r.rXU(r.aKT),r.rXU(r.sFG),r.rXU(Io,9))}}static{this.\u0275dir=r.FsC({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return w})(),Cs=(()=>{class w{static{this.\u0275fac=function(T){return new(T||w)}}static{this.\u0275mod=r.$C({type:w})}static{this.\u0275inj=r.G2t({})}}return w})(),Li=(()=>{class w{static withConfig(C){return{ngModule:w,providers:[{provide:Rn,useValue:C.callSetDisabledState??ei}]}}static{this.\u0275fac=function(T){return new(T||w)}}static{this.\u0275mod=r.$C({type:w})}static{this.\u0275inj=r.G2t({imports:[Cs]})}}return w})()},9650:(pe,K,O)=>{"use strict";O.d(K,{wb:()=>ie});var r=O(3953),x=O(345),V=O(8008),L=O(177);const z=[{provide:V.Yp,useFactory:function H(){return new V.zT}},{provide:V.O6,useClass:(()=>{class Ce extends V.O6{constructor(Te,He,Xe){super(Te,He,Xe)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(He){return new(He||Ce)(r.KVO(L.qQ),r.KVO(V.Xw),r.KVO(V.Yp))}}static{this.\u0275prov=r.jDH({token:Ce,factory:Ce.\u0275fac})}}return Ce})()},{provide:r._9s,useFactory:function q(Ce,Fe,Te){return new V.R6(Ce,Fe,Te)},deps:[x.B7,V.O6,r.SKi]}],te=[{provide:V.Xw,useFactory:()=>new V.LS},{provide:r.bc$,useValue:"BrowserAnimations"},...z],Y=[{provide:V.Xw,useClass:V.Pw},{provide:r.bc$,useValue:"NoopAnimations"},...z];let ie=(()=>{class Ce{static withConfig(Te){return{ngModule:Ce,providers:Te.disableAnimations?Y:te}}static{this.\u0275fac=function(He){return new(He||Ce)}}static{this.\u0275mod=r.$C({type:Ce})}static{this.\u0275inj=r.G2t({providers:te,imports:[x.Bb]})}}return Ce})()},345:(pe,K,O)=>{"use strict";O.d(K,{B7:()=>nt,Bb:()=>zi,hE:()=>Zn,sG:()=>Vn});var r=O(177),x=O(3953);class V extends r.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class L extends V{static makeCurrent(){(0,r.ZD)(new L)}onAndCancel(le,G,ne){return le.addEventListener(G,ne),()=>{le.removeEventListener(G,ne)}}dispatchEvent(le,G){le.dispatchEvent(G)}remove(le){le.remove()}createElement(le,G){return(G=G||this.getDefaultDocument()).createElement(le)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(le){return le.nodeType===Node.ELEMENT_NODE}isShadowRoot(le){return le instanceof DocumentFragment}getGlobalEventTarget(le,G){return"window"===G?window:"document"===G?le:"body"===G?le.body:null}getBaseHref(le){const G=function H(){return B=B||document.querySelector("base"),B?B.getAttribute("href"):null}();return null==G?null:function q(he){return new URL(he,document.baseURI).pathname}(G)}resetBaseElement(){B=null}getUserAgent(){return window.navigator.userAgent}getCookie(le){return(0,r._b)(document.cookie,le)}}let B=null,te=(()=>{class he{build(){return new XMLHttpRequest}static{this.\u0275fac=function(ne){return new(ne||he)}}static{this.\u0275prov=x.jDH({token:he,factory:he.\u0275fac})}}return he})();const Y=new x.nKC("");let ie=(()=>{class he{constructor(G,ne){this._zone=ne,this._eventNameToPlugin=new Map,G.forEach(ve=>{ve.manager=this}),this._plugins=G.slice().reverse()}addEventListener(G,ne,ve){return this._findPluginFor(ne).addEventListener(G,ne,ve)}getZone(){return this._zone}_findPluginFor(G){let ne=this._eventNameToPlugin.get(G);if(ne)return ne;if(ne=this._plugins.find(Ue=>Ue.supports(G)),!ne)throw new x.wOt(5101,!1);return this._eventNameToPlugin.set(G,ne),ne}static{this.\u0275fac=function(ne){return new(ne||he)(x.KVO(Y),x.KVO(x.SKi))}}static{this.\u0275prov=x.jDH({token:he,factory:he.\u0275fac})}}return he})();class ge{constructor(le){this._doc=le}}const Oe="ng-app-id";let Ee=(()=>{class he{constructor(G,ne,ve,Ue={}){this.doc=G,this.appId=ne,this.nonce=ve,this.platformId=Ue,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,r.Vy)(Ue),this.resetHostNodes()}addStyles(G){for(const ne of G)1===this.changeUsageCount(ne,1)&&this.onStyleAdded(ne)}removeStyles(G){for(const ne of G)this.changeUsageCount(ne,-1)<=0&&this.onStyleRemoved(ne)}ngOnDestroy(){const G=this.styleNodesInDOM;G&&(G.forEach(ne=>ne.remove()),G.clear());for(const ne of this.getAllStyles())this.onStyleRemoved(ne);this.resetHostNodes()}addHost(G){this.hostNodes.add(G);for(const ne of this.getAllStyles())this.addStyleToHost(G,ne)}removeHost(G){this.hostNodes.delete(G)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(G){for(const ne of this.hostNodes)this.addStyleToHost(ne,G)}onStyleRemoved(G){const ne=this.styleRef;ne.get(G)?.elements?.forEach(ve=>ve.remove()),ne.delete(G)}collectServerRenderedStyles(){const G=this.doc.head?.querySelectorAll(`style[${Oe}="${this.appId}"]`);if(G?.length){const ne=new Map;return G.forEach(ve=>{null!=ve.textContent&&ne.set(ve.textContent,ve)}),ne}return null}changeUsageCount(G,ne){const ve=this.styleRef;if(ve.has(G)){const Ue=ve.get(G);return Ue.usage+=ne,Ue.usage}return ve.set(G,{usage:ne,elements:[]}),ne}getStyleElement(G,ne){const ve=this.styleNodesInDOM,Ue=ve?.get(ne);if(Ue?.parentNode===G)return ve.delete(ne),Ue.removeAttribute(Oe),Ue;{const it=this.doc.createElement("style");return this.nonce&&it.setAttribute("nonce",this.nonce),it.textContent=ne,this.platformIsServer&&it.setAttribute(Oe,this.appId),G.appendChild(it),it}}addStyleToHost(G,ne){const ve=this.getStyleElement(G,ne),Ue=this.styleRef,it=Ue.get(ne)?.elements;it?it.push(ve):Ue.set(ne,{elements:[ve],usage:1})}resetHostNodes(){const G=this.hostNodes;G.clear(),G.add(this.doc.head)}static{this.\u0275fac=function(ne){return new(ne||he)(x.KVO(r.qQ),x.KVO(x.sZ2),x.KVO(x.BIS,8),x.KVO(x.Agw))}}static{this.\u0275prov=x.jDH({token:he,factory:he.\u0275fac})}}return he})();const Ce={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"},Fe=/%COMP%/g,xt=new x.nKC("",{providedIn:"root",factory:()=>!0});function Ht(he,le){return le.map(G=>G.replace(Fe,he))}let nt=(()=>{class he{constructor(G,ne,ve,Ue,it,Pt,kt,Ft=null){this.eventManager=G,this.sharedStylesHost=ne,this.appId=ve,this.removeStylesOnCompDestroy=Ue,this.doc=it,this.platformId=Pt,this.ngZone=kt,this.nonce=Ft,this.rendererByCompId=new Map,this.platformIsServer=(0,r.Vy)(Pt),this.defaultRenderer=new dt(G,it,kt,this.platformIsServer)}createRenderer(G,ne){if(!G||!ne)return this.defaultRenderer;this.platformIsServer&&ne.encapsulation===x.gXe.ShadowDom&&(ne={...ne,encapsulation:x.gXe.Emulated});const ve=this.getOrCreateRenderer(G,ne);return ve instanceof se?ve.applyToHost(G):ve instanceof j&&ve.applyStyles(),ve}getOrCreateRenderer(G,ne){const ve=this.rendererByCompId;let Ue=ve.get(ne.id);if(!Ue){const it=this.doc,Pt=this.ngZone,kt=this.eventManager,Ft=this.sharedStylesHost,Sn=this.removeStylesOnCompDestroy,On=this.platformIsServer;switch(ne.encapsulation){case x.gXe.Emulated:Ue=new se(kt,Ft,ne,this.appId,Sn,it,Pt,On);break;case x.gXe.ShadowDom:return new Le(kt,Ft,G,ne,it,Pt,this.nonce,On);default:Ue=new j(kt,Ft,ne,Sn,it,Pt,On)}ve.set(ne.id,Ue)}return Ue}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(ne){return new(ne||he)(x.KVO(ie),x.KVO(Ee),x.KVO(x.sZ2),x.KVO(xt),x.KVO(r.qQ),x.KVO(x.Agw),x.KVO(x.SKi),x.KVO(x.BIS))}}static{this.\u0275prov=x.jDH({token:he,factory:he.\u0275fac})}}return he})();class dt{constructor(le,G,ne,ve){this.eventManager=le,this.doc=G,this.ngZone=ne,this.platformIsServer=ve,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(le,G){return G?this.doc.createElementNS(Ce[G]||G,le):this.doc.createElement(le)}createComment(le){return this.doc.createComment(le)}createText(le){return this.doc.createTextNode(le)}appendChild(le,G){(pt(le)?le.content:le).appendChild(G)}insertBefore(le,G,ne){le&&(pt(le)?le.content:le).insertBefore(G,ne)}removeChild(le,G){G.remove()}selectRootElement(le,G){let ne="string"==typeof le?this.doc.querySelector(le):le;if(!ne)throw new x.wOt(-5104,!1);return G||(ne.textContent=""),ne}parentNode(le){return le.parentNode}nextSibling(le){return le.nextSibling}setAttribute(le,G,ne,ve){if(ve){G=ve+":"+G;const Ue=Ce[ve];Ue?le.setAttributeNS(Ue,G,ne):le.setAttribute(G,ne)}else le.setAttribute(G,ne)}removeAttribute(le,G,ne){if(ne){const ve=Ce[ne];ve?le.removeAttributeNS(ve,G):le.removeAttribute(`${ne}:${G}`)}else le.removeAttribute(G)}addClass(le,G){le.classList.add(G)}removeClass(le,G){le.classList.remove(G)}setStyle(le,G,ne,ve){ve&(x.czy.DashCase|x.czy.Important)?le.style.setProperty(G,ne,ve&x.czy.Important?"important":""):le.style[G]=ne}removeStyle(le,G,ne){ne&x.czy.DashCase?le.style.removeProperty(G):le.style[G]=""}setProperty(le,G,ne){null!=le&&(le[G]=ne)}setValue(le,G){le.nodeValue=G}listen(le,G,ne){if("string"==typeof le&&!(le=(0,r.QT)().getGlobalEventTarget(this.doc,le)))throw new Error(`Unsupported event target ${le} for event ${G}`);return this.eventManager.addEventListener(le,G,this.decoratePreventDefault(ne))}decoratePreventDefault(le){return G=>{if("__ngUnwrap__"===G)return le;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>le(G)):le(G))&&G.preventDefault()}}}function pt(he){return"TEMPLATE"===he.tagName&&void 0!==he.content}class Le extends dt{constructor(le,G,ne,ve,Ue,it,Pt,kt){super(le,Ue,it,kt),this.sharedStylesHost=G,this.hostEl=ne,this.shadowRoot=ne.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ft=Ht(ve.id,ve.styles);for(const Sn of Ft){const On=document.createElement("style");Pt&&On.setAttribute("nonce",Pt),On.textContent=Sn,this.shadowRoot.appendChild(On)}}nodeOrShadowRoot(le){return le===this.hostEl?this.shadowRoot:le}appendChild(le,G){return super.appendChild(this.nodeOrShadowRoot(le),G)}insertBefore(le,G,ne){return super.insertBefore(this.nodeOrShadowRoot(le),G,ne)}removeChild(le,G){return super.removeChild(null,G)}parentNode(le){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(le)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class j extends dt{constructor(le,G,ne,ve,Ue,it,Pt,kt){super(le,Ue,it,Pt),this.sharedStylesHost=G,this.removeStylesOnCompDestroy=ve,this.styles=kt?Ht(kt,ne.styles):ne.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class se extends j{constructor(le,G,ne,ve,Ue,it,Pt,kt){const Ft=ve+"-"+ne.id;super(le,G,ne,Ue,it,Pt,kt,Ft),this.contentAttr=function Je(he){return"_ngcontent-%COMP%".replace(Fe,he)}(Ft),this.hostAttr=function vt(he){return"_nghost-%COMP%".replace(Fe,he)}(Ft)}applyToHost(le){this.applyStyles(),this.setAttribute(le,this.hostAttr,"")}createElement(le,G){const ne=super.createElement(le,G);return super.setAttribute(ne,this.contentAttr,""),ne}}let Se=(()=>{class he extends ge{constructor(G){super(G)}supports(G){return!0}addEventListener(G,ne,ve){return G.addEventListener(ne,ve,!1),()=>this.removeEventListener(G,ne,ve)}removeEventListener(G,ne,ve){return G.removeEventListener(ne,ve)}static{this.\u0275fac=function(ne){return new(ne||he)(x.KVO(r.qQ))}}static{this.\u0275prov=x.jDH({token:he,factory:he.\u0275fac})}}return he})(),Re=(()=>{class he extends ge{constructor(G){super(G),this.delegate=(0,x.WQX)(x.zAP,{optional:!0})}supports(G){return!!this.delegate&&this.delegate.supports(G)}addEventListener(G,ne,ve){return this.delegate.addEventListener(G,ne,ve)}removeEventListener(G,ne,ve){return this.delegate.removeEventListener(G,ne,ve)}static{this.\u0275fac=function(ne){return new(ne||he)(x.KVO(r.qQ))}}static{this.\u0275prov=x.jDH({token:he,factory:he.\u0275fac})}}return he})();const ot=["alt","control","meta","shift"],ut={"\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"},We={alt:he=>he.altKey,control:he=>he.ctrlKey,meta:he=>he.metaKey,shift:he=>he.shiftKey};let Bt=(()=>{class he extends ge{constructor(G){super(G)}supports(G){return null!=he.parseEventName(G)}addEventListener(G,ne,ve){const Ue=he.parseEventName(ne),it=he.eventCallback(Ue.fullKey,ve,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,r.QT)().onAndCancel(G,Ue.domEventName,it))}static parseEventName(G){const ne=G.toLowerCase().split("."),ve=ne.shift();if(0===ne.length||"keydown"!==ve&&"keyup"!==ve)return null;const Ue=he._normalizeKey(ne.pop());let it="",Pt=ne.indexOf("code");if(Pt>-1&&(ne.splice(Pt,1),it="code."),ot.forEach(Ft=>{const Sn=ne.indexOf(Ft);Sn>-1&&(ne.splice(Sn,1),it+=Ft+".")}),it+=Ue,0!=ne.length||0===Ue.length)return null;const kt={};return kt.domEventName=ve,kt.fullKey=it,kt}static matchEventFullKeyCode(G,ne){let ve=ut[G.key]||G.key,Ue="";return ne.indexOf("code.")>-1&&(ve=G.code,Ue="code."),!(null==ve||!ve)&&(ve=ve.toLowerCase()," "===ve?ve="space":"."===ve&&(ve="dot"),ot.forEach(it=>{it!==ve&&(0,We[it])(G)&&(Ue+=it+".")}),Ue+=ve,Ue===ne)}static eventCallback(G,ne,ve){return Ue=>{he.matchEventFullKeyCode(Ue,G)&&ve.runGuarded(()=>ne(Ue))}}static _normalizeKey(G){return"esc"===G?"escape":G}static{this.\u0275fac=function(ne){return new(ne||he)(x.KVO(r.qQ))}}static{this.\u0275prov=x.jDH({token:he,factory:he.\u0275fac})}}return he})();const Vn=(0,x.oH4)(x.fpN,"browser",[{provide:x.Agw,useValue:r.AJ},{provide:x.PLl,useValue:function on(){L.makeCurrent()},multi:!0},{provide:r.qQ,useFactory:function _n(){return(0,x.TL$)(document),document},deps:[]}]),go=new x.nKC(""),sn=[{provide:x.e01,useClass:class z{addToWindow(le){x.JZv.getAngularTestability=(ne,ve=!0)=>{const Ue=le.findTestabilityInTree(ne,ve);if(null==Ue)throw new x.wOt(5103,!1);return Ue},x.JZv.getAllAngularTestabilities=()=>le.getAllTestabilities(),x.JZv.getAllAngularRootElements=()=>le.getAllRootElements(),x.JZv.frameworkStabilizers||(x.JZv.frameworkStabilizers=[]),x.JZv.frameworkStabilizers.push(ne=>{const ve=x.JZv.getAllAngularTestabilities();let Ue=ve.length;const it=function(){Ue--,0==Ue&&ne()};ve.forEach(Pt=>{Pt.whenStable(it)})})}findTestabilityInTree(le,G,ne){return null==G?null:le.getTestability(G)??(ne?(0,r.QT)().isShadowRoot(G)?this.findTestabilityInTree(le,G.host,!0):this.findTestabilityInTree(le,G.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]}],bn=[{provide:x.H8p,useValue:"root"},{provide:x.zcH,useFactory:function dn(){return new x.zcH},deps:[]},{provide:Y,useClass:Se,multi:!0,deps:[r.qQ,x.SKi,x.Agw]},{provide:Y,useClass:Bt,multi:!0,deps:[r.qQ]},{provide:Y,useClass:Re,multi:!0},nt,Ee,ie,{provide:x._9s,useExisting:nt},{provide:r.N0,useClass:te,deps:[]},[]];let zi=(()=>{class he{constructor(G){}static withServerTransition(G){return{ngModule:he,providers:[{provide:x.sZ2,useValue:G.appId}]}}static{this.\u0275fac=function(ne){return new(ne||he)(x.KVO(go,12))}}static{this.\u0275mod=x.$C({type:he})}static{this.\u0275inj=x.G2t({providers:[...bn,...sn],imports:[r.MD,x.Hbi]})}}return he})(),Zn=(()=>{class he{constructor(G){this._doc=G}getTitle(){return this._doc.title}setTitle(G){this._doc.title=G||""}static{this.\u0275fac=function(ne){return new(ne||he)(x.KVO(r.qQ))}}static{this.\u0275prov=x.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}}return he})()},7901:(pe,K,O)=>{"use strict";O.d(K,{iI:()=>l});var r=O(3953),x=O(4402),V=O(6648),L=O(7673),B=O(4412),H=O(4572),q=O(9350),z=O(8793),te=O(9030),Y=O(1203),ie=O(8810),ge=O(983),Oe=O(17),Ee=O(1413),Ce=O(8359),Fe=O(177),Te=O(6354),He=O(5558),Xe=O(6697),bt=O(9172),xt=O(5964),Je=O(1397),vt=O(1594),Ht=O(274),nt=O(8141),dt=O(9437),lt=O(2816),It=O(9901),pt=O(7018),Le=O(5109),j=O(3703),se=O(980),Se=O(9898),Re=O(6977),ot=O(6365),ut=O(345);const We="primary",Bt=Symbol("RouteTitle");class Kt{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d[0]:d}return null}getAll(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function Rt(u){return new Kt(u)}function gt(u,m,d){const _=d.path.split("/");if(_.length>u.length||"full"===d.pathMatch&&(m.hasChildren()||_.length<u.length))return null;const D={};for(let R=0;R<_.length;R++){const $=_[R],de=u[R];if(":"===$[0])D[$.substring(1)]=de;else if($!==de.path)return null}return{consumed:u.slice(0,_.length),posParams:D}}function on(u,m){const d=u?dn(u):void 0,_=m?dn(m):void 0;if(!d||!_||d.length!=_.length)return!1;let D;for(let R=0;R<d.length;R++)if(D=d[R],!_n(u[D],m[D]))return!1;return!0}function dn(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}function _n(u,m){if(Array.isArray(u)&&Array.isArray(m)){if(u.length!==m.length)return!1;const d=[...u].sort(),_=[...m].sort();return d.every((D,R)=>_[R]===D)}return u===m}function Un(u){return u.length>0?u[u.length-1]:null}function Vn(u){return(0,x.A)(u)?u:(0,r.jNT)(u)?(0,V.H)(Promise.resolve(u)):(0,L.of)(u)}const go={exact:function In(u,m,d){if(!Et(u.segments,m.segments)||!si(u.segments,m.segments,d)||u.numberOfChildren!==m.numberOfChildren)return!1;for(const _ in m.children)if(!u.children[_]||!In(u.children[_],m.children[_],d))return!1;return!0},subset:Zn},sn={exact:function zi(u,m){return on(u,m)},subset:function yi(u,m){return Object.keys(m).length<=Object.keys(u).length&&Object.keys(m).every(d=>_n(u[d],m[d]))},ignored:()=>!0};function bn(u,m,d){return go[d.paths](u.root,m.root,d.matrixParams)&&sn[d.queryParams](u.queryParams,m.queryParams)&&!("exact"===d.fragment&&u.fragment!==m.fragment)}function Zn(u,m,d){return Ii(u,m,m.segments,d)}function Ii(u,m,d,_){if(u.segments.length>d.length){const D=u.segments.slice(0,d.length);return!(!Et(D,d)||m.hasChildren()||!si(D,d,_))}if(u.segments.length===d.length){if(!Et(u.segments,d)||!si(u.segments,d,_))return!1;for(const D in m.children)if(!u.children[D]||!Zn(u.children[D],m.children[D],_))return!1;return!0}{const D=d.slice(0,u.segments.length),R=d.slice(u.segments.length);return!!(Et(u.segments,D)&&si(u.segments,D,_)&&u.children[We])&&Ii(u.children[We],m,R,_)}}function si(u,m,d){return m.every((_,D)=>sn[d](u[D].parameters,_.parameters))}class Bn{constructor(m=new Dt([],{}),d={},_=null){this.root=m,this.queryParams=d,this.fragment=_}get queryParamMap(){return this._queryParamMap??=Rt(this.queryParams),this._queryParamMap}toString(){return Cn.serialize(this)}}class Dt{constructor(m,d){this.segments=m,this.children=d,this.parent=null,Object.values(d).forEach(_=>_.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $n(this)}}class ai{constructor(m,d){this.path=m,this.parameters=d}get parameterMap(){return this._parameterMap??=Rt(this.parameters),this._parameterMap}toString(){return Yn(this)}}function Et(u,m){return u.length===m.length&&u.every((d,_)=>d.path===m[_].path)}let jn=(()=>{class u{static{this.\u0275fac=function(_){return new(_||u)}}static{this.\u0275prov=r.jDH({token:u,factory:()=>new zt,providedIn:"root"})}}return u})();class zt{parse(m){const d=new Ue(m);return new Bn(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(m){const d=`/${Dn(m.root,!0)}`,_=function wi(u){const m=Object.entries(u).map(([d,_])=>Array.isArray(_)?_.map(D=>`${Yt(d)}=${Yt(D)}`).join("&"):`${Yt(d)}=${Yt(_)}`).filter(d=>d);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${d}${_}${"string"==typeof m.fragment?`#${function Uo(u){return encodeURI(u)}(m.fragment)}`:""}`}}const Cn=new zt;function $n(u){return u.segments.map(m=>Yn(m)).join("/")}function Dn(u,m){if(!u.hasChildren())return $n(u);if(m){const d=u.children[We]?Dn(u.children[We],!1):"",_=[];return Object.entries(u.children).forEach(([D,R])=>{D!==We&&_.push(`${D}:${Dn(R,!1)}`)}),_.length>0?`${d}(${_.join("//")})`:d}{const d=function Ne(u,m){let d=[];return Object.entries(u.children).forEach(([_,D])=>{_===We&&(d=d.concat(m(D,_)))}),Object.entries(u.children).forEach(([_,D])=>{_!==We&&(d=d.concat(m(D,_)))}),d}(u,(_,D)=>D===We?[Dn(u.children[We],!1)]:[`${D}:${Dn(_,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[We]?`${$n(u)}/${d[0]}`:`${$n(u)}/(${d.join("//")})`}}function Hn(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Yt(u){return Hn(u).replace(/%3B/gi,";")}function St(u){return Hn(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function jt(u){return decodeURIComponent(u)}function Ri(u){return jt(u.replace(/\+/g,"%20"))}function Yn(u){return`${St(u.path)}${function zn(u){return Object.entries(u).map(([m,d])=>`;${St(m)}=${St(d)}`).join("")}(u.parameters)}`}const Mi=/^[^\/()?;#]+/;function En(u){const m=u.match(Mi);return m?m[0]:""}const Jn=/^[^\/()?;=#]+/,le=/^[^=?&#]+/,ne=/^[^&#]+/;class Ue{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dt([],{}):new Dt([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let _={};return this.peekStartsWith("(")&&(_=this.parseParens(!1)),(m.length>0||Object.keys(d).length>0)&&(_[We]=new Dt(m,d)),_}parseSegment(){const m=En(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new r.wOt(4009,!1);return this.capture(m),new ai(jt(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const d=function he(u){const m=u.match(Jn);return m?m[0]:""}(this.remaining);if(!d)return;this.capture(d);let _="";if(this.consumeOptional("=")){const D=En(this.remaining);D&&(_=D,this.capture(_))}m[jt(d)]=jt(_)}parseQueryParam(m){const d=function G(u){const m=u.match(le);return m?m[0]:""}(this.remaining);if(!d)return;this.capture(d);let _="";if(this.consumeOptional("=")){const $=function ve(u){const m=u.match(ne);return m?m[0]:""}(this.remaining);$&&(_=$,this.capture(_))}const D=Ri(d),R=Ri(_);if(m.hasOwnProperty(D)){let $=m[D];Array.isArray($)||($=[$],m[D]=$),$.push(R)}else m[D]=R}parseParens(m){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=En(this.remaining),D=this.remaining[_.length];if("/"!==D&&")"!==D&&";"!==D)throw new r.wOt(4010,!1);let R;_.indexOf(":")>-1?(R=_.slice(0,_.indexOf(":")),this.capture(R),this.capture(":")):m&&(R=We);const $=this.parseChildren();d[R]=1===Object.keys($).length?$[We]:new Dt([],$),this.consumeOptional("//")}return d}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new r.wOt(4011,!1)}}function it(u){return u.segments.length>0?new Dt([],{[We]:u}):u}function Pt(u){const m={};for(const[_,D]of Object.entries(u.children)){const R=Pt(D);if(_===We&&0===R.segments.length&&R.hasChildren())for(const[$,de]of Object.entries(R.children))m[$]=de;else(R.segments.length>0||R.hasChildren())&&(m[_]=R)}return function kt(u){if(1===u.numberOfChildren&&u.children[We]){const m=u.children[We];return new Dt(u.segments.concat(m.segments),m.children)}return u}(new Dt(u.segments,m))}function Ft(u){return u instanceof Bn}function On(u){let m;const D=it(function d(R){const $={};for(const ae of R.children){const je=d(ae);$[ae.outlet]=je}const de=new Dt(R.url,$);return R===u&&(m=de),de}(u.root));return m??D}function Gi(u,m,d,_){let D=u;for(;D.parent;)D=D.parent;if(0===m.length)return mo(D,D,D,d,_);const R=function hn(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new ci(!0,0,u);let m=0,d=!1;const _=u.reduce((D,R,$)=>{if("object"==typeof R&&null!=R){if(R.outlets){const de={};return Object.entries(R.outlets).forEach(([ae,je])=>{de[ae]="string"==typeof je?je.split("/"):je}),[...D,{outlets:de}]}if(R.segmentPath)return[...D,R.segmentPath]}return"string"!=typeof R?[...D,R]:0===$?(R.split("/").forEach((de,ae)=>{0==ae&&"."===de||(0==ae&&""===de?d=!0:".."===de?m++:""!=de&&D.push(de))}),D):[...D,R]},[]);return new ci(d,m,_)}(m);if(R.toRoot())return mo(D,D,new Dt([],{}),d,_);const $=function ei(u,m,d){if(u.isAbsolute)return new Rn(m,!0,0);if(!d)return new Rn(m,!1,NaN);if(null===d.parent)return new Rn(d,!0,0);const _=bi(u.commands[0])?0:1;return function Pn(u,m,d){let _=u,D=m,R=d;for(;R>D;){if(R-=D,_=_.parent,!_)throw new r.wOt(4005,!1);D=_.segments.length}return new Rn(_,!1,D-R)}(d,d.segments.length-1+_,u.numberOfDoubleDots)}(R,D,u),de=$.processChildren?Nn($.segmentGroup,$.index,R.commands):Di($.segmentGroup,$.index,R.commands);return mo(D,$.segmentGroup,de,d,_)}function bi(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Ni(u){return"object"==typeof u&&null!=u&&u.outlets}function mo(u,m,d,_,D){let $,R={};_&&Object.entries(_).forEach(([ae,je])=>{R[ae]=Array.isArray(je)?je.map(ct=>`${ct}`):`${je}`}),$=u===m?d:$o(u,m,d);const de=it(Pt($));return new Bn(de,R,D)}function $o(u,m,d){const _={};return Object.entries(u.children).forEach(([D,R])=>{_[D]=R===m?d:$o(R,m,d)}),new Dt(u.segments,_)}class ci{constructor(m,d,_){if(this.isAbsolute=m,this.numberOfDoubleDots=d,this.commands=_,m&&_.length>0&&bi(_[0]))throw new r.wOt(4003,!1);const D=_.find(Ni);if(D&&D!==Un(_))throw new r.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Rn{constructor(m,d,_){this.segmentGroup=m,this.processChildren=d,this.index=_}}function Di(u,m,d){if(u??=new Dt([],{}),0===u.segments.length&&u.hasChildren())return Nn(u,m,d);const _=function Ai(u,m,d){let _=0,D=m;const R={match:!1,pathIndex:0,commandIndex:0};for(;D<u.segments.length;){if(_>=d.length)return R;const $=u.segments[D],de=d[_];if(Ni(de))break;const ae=`${de}`,je=_<d.length-1?d[_+1]:null;if(D>0&&void 0===ae)break;if(ae&&je&&"object"==typeof je&&void 0===je.outlets){if(!Ho(ae,je,$))return R;_+=2}else{if(!Ho(ae,{},$))return R;_++}D++}return{match:!0,pathIndex:D,commandIndex:_}}(u,m,d),D=d.slice(_.commandIndex);if(_.match&&_.pathIndex<u.segments.length){const R=new Dt(u.segments.slice(0,_.pathIndex),{});return R.children[We]=new Dt(u.segments.slice(_.pathIndex),u.children),Nn(R,0,D)}return _.match&&0===D.length?new Dt(u.segments,{}):_.match&&!u.hasChildren()?ui(u,m,d):_.match?Nn(u,0,D):ui(u,m,d)}function Nn(u,m,d){if(0===d.length)return new Dt(u.segments,{});{const _=function ti(u){return Ni(u[0])?u[0].outlets:{[We]:u}}(d),D={};if(Object.keys(_).some(R=>R!==We)&&u.children[We]&&1===u.numberOfChildren&&0===u.children[We].segments.length){const R=Nn(u.children[We],m,d);return new Dt(u.segments,R.children)}return Object.entries(_).forEach(([R,$])=>{"string"==typeof $&&($=[$]),null!==$&&(D[R]=Di(u.children[R],m,$))}),Object.entries(u.children).forEach(([R,$])=>{void 0===_[R]&&(D[R]=$)}),new Dt(u.segments,D)}}function ui(u,m,d){const _=u.segments.slice(0,m);let D=0;for(;D<d.length;){const R=d[D];if(Ni(R)){const ae=Wi(R.outlets);return new Dt(_,ae)}if(0===D&&bi(d[0])){_.push(new ai(u.segments[m].path,ir(d[0]))),D++;continue}const $=Ni(R)?R.outlets[We]:`${R}`,de=D<d.length-1?d[D+1]:null;$&&de&&bi(de)?(_.push(new ai($,ir(de))),D+=2):(_.push(new ai($,{})),D++)}return new Dt(_,{})}function Wi(u){const m={};return Object.entries(u).forEach(([d,_])=>{"string"==typeof _&&(_=[_]),null!==_&&(m[d]=ui(new Dt([],{}),0,_))}),m}function ir(u){const m={};return Object.entries(u).forEach(([d,_])=>m[d]=`${_}`),m}function Ho(u,m,d){return u==d.path&&on(m,d.parameters)}const eo="imperative";var mt=function(u){return u[u.NavigationStart=0]="NavigationStart",u[u.NavigationEnd=1]="NavigationEnd",u[u.NavigationCancel=2]="NavigationCancel",u[u.NavigationError=3]="NavigationError",u[u.RoutesRecognized=4]="RoutesRecognized",u[u.ResolveStart=5]="ResolveStart",u[u.ResolveEnd=6]="ResolveEnd",u[u.GuardsCheckStart=7]="GuardsCheckStart",u[u.GuardsCheckEnd=8]="GuardsCheckEnd",u[u.RouteConfigLoadStart=9]="RouteConfigLoadStart",u[u.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",u[u.ChildActivationStart=11]="ChildActivationStart",u[u.ChildActivationEnd=12]="ChildActivationEnd",u[u.ActivationStart=13]="ActivationStart",u[u.ActivationEnd=14]="ActivationEnd",u[u.Scroll=15]="Scroll",u[u.NavigationSkipped=16]="NavigationSkipped",u}(mt||{});class cn{constructor(m,d){this.id=m,this.url=d}}class to extends cn{constructor(m,d,_="imperative",D=null){super(m,d),this.type=mt.NavigationStart,this.navigationTrigger=_,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Gn extends cn{constructor(m,d,_){super(m,d),this.urlAfterRedirects=_,this.type=mt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var An=function(u){return u[u.Redirect=0]="Redirect",u[u.SupersededByNewNavigation=1]="SupersededByNewNavigation",u[u.NoDataFromResolver=2]="NoDataFromResolver",u[u.GuardRejected=3]="GuardRejected",u}(An||{}),N=function(u){return u[u.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",u[u.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",u}(N||{});class Z extends cn{constructor(m,d,_,D){super(m,d),this.reason=_,this.code=D,this.type=mt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class X extends cn{constructor(m,d,_,D){super(m,d),this.reason=_,this.code=D,this.type=mt.NavigationSkipped}}class ue extends cn{constructor(m,d,_,D){super(m,d),this.error=_,this.target=D,this.type=mt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class be extends cn{constructor(m,d,_,D){super(m,d),this.urlAfterRedirects=_,this.state=D,this.type=mt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xe extends cn{constructor(m,d,_,D){super(m,d),this.urlAfterRedirects=_,this.state=D,this.type=mt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ie extends cn{constructor(m,d,_,D,R){super(m,d),this.urlAfterRedirects=_,this.state=D,this.shouldActivate=R,this.type=mt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class et extends cn{constructor(m,d,_,D){super(m,d),this.urlAfterRedirects=_,this.state=D,this.type=mt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ze extends cn{constructor(m,d,_,D){super(m,d),this.urlAfterRedirects=_,this.state=D,this.type=mt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gt{constructor(m){this.route=m,this.type=mt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Xt{constructor(m){this.route=m,this.type=mt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class F{constructor(m){this.snapshot=m,this.type=mt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Me{constructor(m){this.snapshot=m,this.type=mt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class I{constructor(m){this.snapshot=m,this.type=mt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oe{constructor(m){this.snapshot=m,this.type=mt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _e{constructor(m,d,_){this.routerEvent=m,this.position=d,this.anchor=_,this.type=mt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ge{}class _t{constructor(m,d){this.url=m,this.navigationBehaviorOptions=d}}function Si(u){return u.outlet||We}function Eo(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let m=u.parent;m;m=m.parent){const d=m.routeConfig;if(d?._loadedInjector)return d._loadedInjector;if(d?._injector)return d._injector}return null}class Ws{get injector(){return Eo(this.route?.snapshot)??this.rootInjector}set injector(m){}constructor(m){this.rootInjector=m,this.outlet=null,this.route=null,this.children=new rr(this.rootInjector),this.attachRef=null}}let rr=(()=>{class u{constructor(d){this.rootInjector=d,this.contexts=new Map}onChildOutletCreated(d,_){const D=this.getOrCreateContext(d);D.outlet=_,this.contexts.set(d,D)}onChildOutletDestroyed(d){const _=this.getContext(d);_&&(_.outlet=null,_.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let _=this.getContext(d);return _||(_=new Ws(this.rootInjector),this.contexts.set(d,_)),_}getContext(d){return this.contexts.get(d)||null}static{this.\u0275fac=function(_){return new(_||u)(r.KVO(r.uvJ))}}static{this.\u0275prov=r.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();class sr{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const d=this.pathFromRoot(m);return d.length>1?d[d.length-2]:null}children(m){const d=Er(m,this._root);return d?d.children.map(_=>_.value):[]}firstChild(m){const d=Er(m,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(m){const d=ar(m,this._root);return d.length<2?[]:d[d.length-2].children.map(D=>D.value).filter(D=>D!==m)}pathFromRoot(m){return ar(m,this._root).map(d=>d.value)}}function Er(u,m){if(u===m.value)return m;for(const d of m.children){const _=Er(u,d);if(_)return _}return null}function ar(u,m){if(u===m.value)return[m];for(const d of m.children){const _=ar(u,d);if(_.length)return _.unshift(m),_}return[]}class Oi{constructor(m,d){this.value=m,this.children=d}toString(){return`TreeNode(${this.value})`}}function So(u){const m={};return u&&u.children.forEach(d=>m[d.value.outlet]=d),m}class lr extends sr{constructor(m,d){super(m),this.snapshot=d,Po(this,m)}toString(){return this.snapshot.toString()}}function Wr(u){const m=function Sr(u){const R=new Oo([],{},{},"",{},We,u,null,{});return new Go("",new Oi(R,[]))}(u),d=new B.t([new ai("",{})]),_=new B.t({}),D=new B.t({}),R=new B.t({}),$=new B.t(""),de=new ni(d,_,R,$,D,We,u,m.root);return de.snapshot=m.root,new lr(new Oi(de,[]),m)}class ni{constructor(m,d,_,D,R,$,de,ae){this.urlSubject=m,this.paramsSubject=d,this.queryParamsSubject=_,this.fragmentSubject=D,this.dataSubject=R,this.outlet=$,this.component=de,this._futureSnapshot=ae,this.title=this.dataSubject?.pipe((0,Te.T)(je=>je[Bt]))??(0,L.of)(void 0),this.url=m,this.params=d,this.queryParams=_,this.fragment=D,this.data=R}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,Te.T)(m=>Rt(m))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Te.T)(m=>Rt(m))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function io(u,m,d="emptyOnly"){let _;const{routeConfig:D}=u;return _=null===m||"always"!==d&&""!==D?.path&&(m.component||m.routeConfig?.loadComponent)?{params:{...u.params},data:{...u.data},resolve:{...u.data,...u._resolvedData??{}}}:{params:{...m.params,...u.params},data:{...m.data,...u.data},resolve:{...u.data,...m.data,...D?.data,...u._resolvedData}},D&&To(D)&&(_.resolve[Bt]=D.title),_}class Oo{get title(){return this.data?.[Bt]}constructor(m,d,_,D,R,$,de,ae,je){this.url=m,this.params=d,this.queryParams=_,this.fragment=D,this.data=R,this.outlet=$,this.component=de,this.routeConfig=ae,this._resolve=je}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??=Rt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Rt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(_=>_.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Go extends sr{constructor(m,d){super(d),this.url=m,Po(this,d)}toString(){return Or(this._root)}}function Po(u,m){m.value._routerState=u,m.children.forEach(d=>Po(u,d))}function Or(u){const m=u.children.length>0?` { ${u.children.map(Or).join(", ")} } `:"";return`${u.value}${m}`}function xo(u){if(u.snapshot){const m=u.snapshot,d=u._futureSnapshot;u.snapshot=d,on(m.queryParams,d.queryParams)||u.queryParamsSubject.next(d.queryParams),m.fragment!==d.fragment&&u.fragmentSubject.next(d.fragment),on(m.params,d.params)||u.paramsSubject.next(d.params),function Mn(u,m){if(u.length!==m.length)return!1;for(let d=0;d<u.length;++d)if(!on(u[d],m[d]))return!1;return!0}(m.url,d.url)||u.urlSubject.next(d.url),on(m.data,d.data)||u.dataSubject.next(d.data)}else u.snapshot=u._futureSnapshot,u.dataSubject.next(u._futureSnapshot.data)}function Pr(u,m){const d=on(u.params,m.params)&&function li(u,m){return Et(u,m)&&u.every((d,_)=>on(d.parameters,m[_].parameters))}(u.url,m.url);return d&&!(!u.parent!=!m.parent)&&(!u.parent||Pr(u.parent,m.parent))}function To(u){return"string"==typeof u.title||null===u.title}let ms=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=We,this.activateEvents=new r.bkB,this.deactivateEvents=new r.bkB,this.attachEvents=new r.bkB,this.detachEvents=new r.bkB,this.parentContexts=(0,r.WQX)(rr),this.location=(0,r.WQX)(r.c1b),this.changeDetector=(0,r.WQX)(r.gRc),this.inputBinder=(0,r.WQX)(qo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(d){if(d.name){const{firstChange:_,previousValue:D}=d.name;if(_)return;this.isTrackedInParentContexts(D)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(D)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(d){return this.parentContexts.getContext(d)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const d=this.parentContexts.getContext(this.name);d?.route&&(d.attachRef?this.attach(d.attachRef,d.route):this.activateWith(d.route,d.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new r.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new r.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new r.wOt(4012,!1);this.location.detach();const d=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(d.instance),d}attach(d,_){this.activated=d,this._activatedRoute=_,this.location.insert(d.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(d.instance)}deactivate(){if(this.activated){const d=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(d)}}activateWith(d,_){if(this.isActivated)throw new r.wOt(4013,!1);this._activatedRoute=d;const D=this.location,$=d.snapshot.component,de=this.parentContexts.getOrCreateContext(this.name).children,ae=new Wo(d,de,D.injector);this.activated=D.createComponent($,{index:D.length,injector:ae,environmentInjector:_}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(_){return new(_||u)}}static{this.\u0275dir=r.FsC({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[r.OA$]})}}return u})();class Wo{__ngOutletInjector(m){return new Wo(this.route,this.childContexts,m)}constructor(m,d,_){this.route=m,this.childContexts=d,this.parent=_}get(m,d){return m===ni?this.route:m===rr?this.childContexts:this.parent.get(m,d)}}const qo=new r.nKC("");let qr=(()=>{class u{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(d){this.unsubscribeFromRouteData(d),this.subscribeToRouteData(d)}unsubscribeFromRouteData(d){this.outletDataSubscriptions.get(d)?.unsubscribe(),this.outletDataSubscriptions.delete(d)}subscribeToRouteData(d){const{activatedRoute:_}=d,D=(0,H.z)([_.queryParams,_.params,_.data]).pipe((0,He.n)(([R,$,de],ae)=>(de={...R,...$,...de},0===ae?(0,L.of)(de):Promise.resolve(de)))).subscribe(R=>{if(!d.isActivated||!d.activatedComponentRef||d.activatedRoute!==_||null===_.component)return void this.unsubscribeFromRouteData(d);const $=(0,r.HJs)(_.component);if($)for(const{templateName:de}of $.inputs)d.activatedComponentRef.setInput(de,R[de]);else this.unsubscribeFromRouteData(d)});this.outletDataSubscriptions.set(d,D)}static{this.\u0275fac=function(_){return new(_||u)}}static{this.\u0275prov=r.jDH({token:u,factory:u.\u0275fac})}}return u})();function Ko(u,m,d){if(d&&u.shouldReuseRoute(m.value,d.value.snapshot)){const _=d.value;_._futureSnapshot=m.value;const D=function Ea(u,m,d){return m.children.map(_=>{for(const D of d.children)if(u.shouldReuseRoute(_.value,D.value.snapshot))return Ko(u,_,D);return Ko(u,_)})}(u,m,d);return new Oi(_,D)}{if(u.shouldAttach(m.value)){const R=u.retrieve(m.value);if(null!==R){const $=R.route;return $.value._futureSnapshot=m.value,$.children=m.children.map(de=>Ko(u,de)),$}}const _=function Io(u){return new ni(new B.t(u.url),new B.t(u.params),new B.t(u.queryParams),new B.t(u.fragment),new B.t(u.data),u.outlet,u.component,u)}(m.value),D=m.children.map(R=>Ko(u,R));return new Oi(_,D)}}class cr{constructor(m,d){this.redirectTo=m,this.navigationBehaviorOptions=d}}const Ve="ngNavigationCancelingError";function ki(u,m){const{redirectTo:d,navigationBehaviorOptions:_}=Ft(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,D=di(!1,An.Redirect);return D.url=d,D.navigationBehaviorOptions=_,D}function di(u,m){const d=new Error(`NavigationCancelingError: ${u||""}`);return d[Ve]=!0,d.cancellationCode=m,d}function Qr(u){return!!u&&u[Ve]}class qi{constructor(m,d,_,D,R){this.routeReuseStrategy=m,this.futureState=d,this.currState=_,this.forwardEvent=D,this.inputBindingEnabled=R}activate(m){const d=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,_,m),xo(this.futureState.root),this.activateChildRoutes(d,_,m)}deactivateChildRoutes(m,d,_){const D=So(d);m.children.forEach(R=>{const $=R.value.outlet;this.deactivateRoutes(R,D[$],_),delete D[$]}),Object.values(D).forEach(R=>{this.deactivateRouteAndItsChildren(R,_)})}deactivateRoutes(m,d,_){const D=m.value,R=d?d.value:null;if(D===R)if(D.component){const $=_.getContext(D.outlet);$&&this.deactivateChildRoutes(m,d,$.children)}else this.deactivateChildRoutes(m,d,_);else R&&this.deactivateRouteAndItsChildren(d,_)}deactivateRouteAndItsChildren(m,d){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,d):this.deactivateRouteAndOutlet(m,d)}detachAndStoreRouteSubtree(m,d){const _=d.getContext(m.value.outlet),D=_&&m.value.component?_.children:d,R=So(m);for(const $ of Object.values(R))this.deactivateRouteAndItsChildren($,D);if(_&&_.outlet){const $=_.outlet.detach(),de=_.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:$,route:m,contexts:de})}}deactivateRouteAndOutlet(m,d){const _=d.getContext(m.value.outlet),D=_&&m.value.component?_.children:d,R=So(m);for(const $ of Object.values(R))this.deactivateRouteAndItsChildren($,D);_&&(_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated()),_.attachRef=null,_.route=null)}activateChildRoutes(m,d,_){const D=So(d);m.children.forEach(R=>{this.activateRoutes(R,D[R.value.outlet],_),this.forwardEvent(new oe(R.value.snapshot))}),m.children.length&&this.forwardEvent(new Me(m.value.snapshot))}activateRoutes(m,d,_){const D=m.value,R=d?d.value:null;if(xo(D),D===R)if(D.component){const $=_.getOrCreateContext(D.outlet);this.activateChildRoutes(m,d,$.children)}else this.activateChildRoutes(m,d,_);else if(D.component){const $=_.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const de=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),$.children.onOutletReAttached(de.contexts),$.attachRef=de.componentRef,$.route=de.route.value,$.outlet&&$.outlet.attach(de.componentRef,de.route.value),xo(de.route.value),this.activateChildRoutes(m,null,$.children)}else $.attachRef=null,$.route=D,$.outlet&&$.outlet.activateWith(D,$.injector),this.activateChildRoutes(m,null,$.children)}else this.activateChildRoutes(m,null,_)}}class oo{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class hi{constructor(m,d){this.component=m,this.route=d}}function ro(u,m,d){const _=u._root;return Pi(_,m?m._root:null,d,[_.value])}function Fi(u,m){const d=Symbol(),_=m.get(u,d);return _===d?"function"!=typeof u||(0,r.LfX)(u)?m.get(u):u:_}function Pi(u,m,d,_,D={canDeactivateChecks:[],canActivateChecks:[]}){const R=So(m);return u.children.forEach($=>{(function Yr(u,m,d,_,D={canDeactivateChecks:[],canActivateChecks:[]}){const R=u.value,$=m?m.value:null,de=d?d.getContext(u.value.outlet):null;if($&&R.routeConfig===$.routeConfig){const ae=function vn(u,m,d){if("function"==typeof d)return d(u,m);switch(d){case"pathParamsChange":return!Et(u.url,m.url);case"pathParamsOrQueryParamsChange":return!Et(u.url,m.url)||!on(u.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Pr(u,m)||!on(u.queryParams,m.queryParams);default:return!Pr(u,m)}}($,R,R.routeConfig.runGuardsAndResolvers);ae?D.canActivateChecks.push(new oo(_)):(R.data=$.data,R._resolvedData=$._resolvedData),Pi(u,m,R.component?de?de.children:null:d,_,D),ae&&de&&de.outlet&&de.outlet.isActivated&&D.canDeactivateChecks.push(new hi(de.outlet.component,$))}else $&&Xo(m,de,D),D.canActivateChecks.push(new oo(_)),Pi(u,null,R.component?de?de.children:null:d,_,D)})($,R[$.value.outlet],d,_.concat([$.value]),D),delete R[$.value.outlet]}),Object.entries(R).forEach(([$,de])=>Xo(de,d.getContext($),D)),D}function Xo(u,m,d){const _=So(u),D=u.value;Object.entries(_).forEach(([R,$])=>{Xo($,D.component?m?m.children.getContext(R):null:m,d)}),d.canDeactivateChecks.push(new hi(D.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,D))}function Qo(u){return"function"==typeof u}function Zo(u){return u instanceof q.G||"EmptyError"===u?.name}const tt=Symbol("INITIAL_VALUE");function so(){return(0,He.n)(u=>(0,H.z)(u.map(m=>m.pipe((0,Xe.s)(1),(0,bt.Z)(tt)))).pipe((0,Te.T)(m=>{for(const d of m)if(!0!==d){if(d===tt)return tt;if(!1===d||ii(d))return d}return!0}),(0,xt.p)(m=>m!==tt),(0,Xe.s)(1)))}function ii(u){return Ft(u)||u instanceof cr}function J(u){return(0,Y.F)((0,nt.M)(m=>{if("boolean"!=typeof m)throw ki(0,m)}),(0,Te.T)(m=>!0===m))}class yt{constructor(m){this.segmentGroup=m||null}}class rn extends Error{constructor(m){super(),this.urlTree=m}}function Ke(u){return(0,ie.$)(new yt(u))}class Xs{constructor(m,d){this.urlSerializer=m,this.urlTree=d}lineralizeSegments(m,d){let _=[],D=d.root;for(;;){if(_=_.concat(D.segments),0===D.numberOfChildren)return(0,L.of)(_);if(D.numberOfChildren>1||!D.children[We])return(0,ie.$)(new r.wOt(4e3,!1));D=D.children[We]}}applyRedirectCommands(m,d,_,D,R){if("string"!=typeof d){const de=d,{queryParams:ae,fragment:je,routeConfig:ct,url:wt,outlet:mn,params:Fo,data:Bi,title:Nr}=D,lo=(0,r.N4e)(R,()=>de({params:Fo,data:Bi,queryParams:ae,fragment:je,routeConfig:ct,url:wt,outlet:mn,title:Nr}));if(lo instanceof Bn)throw new rn(lo);d=lo}const $=this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),m,_);if("/"===d[0])throw new rn($);return $}applyRedirectCreateUrlTree(m,d,_,D){const R=this.createSegmentGroup(m,d.root,_,D);return new Bn(R,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(m,d){const _={};return Object.entries(m).forEach(([D,R])=>{if("string"==typeof R&&":"===R[0]){const de=R.substring(1);_[D]=d[de]}else _[D]=R}),_}createSegmentGroup(m,d,_,D){const R=this.createSegments(m,d.segments,_,D);let $={};return Object.entries(d.children).forEach(([de,ae])=>{$[de]=this.createSegmentGroup(m,ae,_,D)}),new Dt(R,$)}createSegments(m,d,_,D){return d.map(R=>":"===R.path[0]?this.findPosParam(m,R,D):this.findOrReturn(R,_))}findPosParam(m,d,_){const D=_[d.path.substring(1)];if(!D)throw new r.wOt(4001,!1);return D}findOrReturn(m,d){let _=0;for(const D of d){if(D.path===m.path)return d.splice(_),D;_++}return m}}const ws={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function en(u,m,d,_,D){const R=Ms(u,m,d);return R.matched?(_=function an(u,m){return u.providers&&!u._injector&&(u._injector=(0,r.Ol2)(u.providers,m,`Route: ${u.path}`)),u._injector??m}(m,_),function Qe(u,m,d,_){const D=m.canMatch;if(!D||0===D.length)return(0,L.of)(!0);const R=D.map($=>{const de=Fi($,u);return Vn(function es(u){return u&&Qo(u.canMatch)}(de)?de.canMatch(m,d):(0,r.N4e)(u,()=>de(m,d)))});return(0,L.of)(R).pipe(so(),J())}(_,m,d).pipe((0,Te.T)($=>!0===$?R:{...ws}))):(0,L.of)(R)}function Ms(u,m,d){if("**"===m.path)return function Ro(u){return{matched:!0,parameters:u.length>0?Un(u).parameters:{},consumedSegments:u,remainingSegments:[],positionalParamSegments:{}}}(d);if(""===m.path)return"full"===m.pathMatch&&(u.hasChildren()||d.length>0)?{...ws}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const D=(m.matcher||gt)(d,u,m);if(!D)return{...ws};const R={};Object.entries(D.posParams??{}).forEach(([de,ae])=>{R[de]=ae.path});const $=D.consumed.length>0?{...R,...D.consumed[D.consumed.length-1].parameters}:R;return{matched:!0,consumedSegments:D.consumed,remainingSegments:d.slice(D.consumed.length),parameters:$,positionalParamSegments:D.posParams??{}}}function ts(u,m,d,_){return d.length>0&&function Ds(u,m,d){return d.some(_=>dr(u,m,_)&&Si(_)!==We)}(u,d,_)?{segmentGroup:new Dt(m,bs(_,new Dt(d,u.children))),slicedSegments:[]}:0===d.length&&function Es(u,m,d){return d.some(_=>dr(u,m,_))}(u,d,_)?{segmentGroup:new Dt(u.segments,Ol(u,d,_,u.children)),slicedSegments:d}:{segmentGroup:new Dt(u.segments,u.children),slicedSegments:d}}function Ol(u,m,d,_){const D={};for(const R of d)if(dr(u,m,R)&&!_[Si(R)]){const $=new Dt([],{});D[Si(R)]=$}return{..._,...D}}function bs(u,m){const d={};d[We]=m;for(const _ of u)if(""===_.path&&Si(_)!==We){const D=new Dt([],{});d[Si(_)]=D}return d}function dr(u,m,d){return(!(u.hasChildren()||m.length>0)||"full"!==d.pathMatch)&&""===d.path}class _o{}class Os{constructor(m,d,_,D,R,$,de){this.injector=m,this.configLoader=d,this.rootComponentType=_,this.config=D,this.urlTree=R,this.paramsInheritanceStrategy=$,this.urlSerializer=de,this.applyRedirects=new Xs(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(m){return new r.wOt(4002,`'${m.segmentGroup}'`)}recognize(){const m=ts(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(m).pipe((0,Te.T)(({children:d,rootSnapshot:_})=>{const D=new Oi(_,d),R=new Go("",D),$=function Sn(u,m,d=null,_=null){return Gi(On(u),m,d,_)}(_,[],this.urlTree.queryParams,this.urlTree.fragment);return $.queryParams=this.urlTree.queryParams,R.url=this.urlSerializer.serialize($),{state:R,tree:$}}))}match(m){const d=new Oo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),We,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,m,We,d).pipe((0,Te.T)(_=>({children:_,rootSnapshot:d})),(0,dt.W)(_=>{if(_ instanceof rn)return this.urlTree=_.urlTree,this.match(_.urlTree.root);throw _ instanceof yt?this.noMatchError(_):_}))}processSegmentGroup(m,d,_,D,R){return 0===_.segments.length&&_.hasChildren()?this.processChildren(m,d,_,R):this.processSegment(m,d,_,_.segments,D,!0,R).pipe((0,Te.T)($=>$ instanceof Oi?[$]:[]))}processChildren(m,d,_,D){const R=[];for(const $ of Object.keys(_.children))"primary"===$?R.unshift($):R.push($);return(0,V.H)(R).pipe((0,Ht.H)($=>{const de=_.children[$],ae=function Gr(u,m){const d=u.filter(_=>Si(_)===m);return d.push(...u.filter(_=>Si(_)!==m)),d}(d,$);return this.processSegmentGroup(m,ae,de,$,D)}),(0,lt.S)(($,de)=>($.push(...de),$)),(0,It.U)(null),(0,pt.H)(),(0,Je.Z)($=>{if(null===$)return Ke(_);const de=is($);return function ns(u){u.sort((m,d)=>m.value.outlet===We?-1:d.value.outlet===We?1:m.value.outlet.localeCompare(d.value.outlet))}(de),(0,L.of)(de)}))}processSegment(m,d,_,D,R,$,de){return(0,V.H)(d).pipe((0,Ht.H)(ae=>this.processSegmentAgainstRoute(ae._injector??m,d,ae,_,D,R,$,de).pipe((0,dt.W)(je=>{if(je instanceof yt)return(0,L.of)(null);throw je}))),(0,vt.$)(ae=>!!ae),(0,dt.W)(ae=>{if(Zo(ae))return function Qs(u,m,d){return 0===m.length&&!u.children[d]}(_,D,R)?(0,L.of)(new _o):Ke(_);throw ae}))}processSegmentAgainstRoute(m,d,_,D,R,$,de,ae){return Si(_)===$||$!==We&&dr(D,R,_)?void 0===_.redirectTo?this.matchSegmentAgainstRoute(m,D,_,R,$,ae):this.allowRedirects&&de?this.expandSegmentAgainstRouteUsingRedirect(m,D,d,_,R,$,ae):Ke(D):Ke(D)}expandSegmentAgainstRouteUsingRedirect(m,d,_,D,R,$,de){const{matched:ae,parameters:je,consumedSegments:ct,positionalParamSegments:wt,remainingSegments:mn}=Ms(d,D,R);if(!ae)return Ke(d);"string"==typeof D.redirectTo&&"/"===D.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Fo=new Oo(R,je,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ps(D),Si(D),D.component??D._loadedComponent??null,D,Pl(D)),Bi=io(Fo,de,this.paramsInheritanceStrategy);Fo.params=Object.freeze(Bi.params),Fo.data=Object.freeze(Bi.data);const Nr=this.applyRedirects.applyRedirectCommands(ct,D.redirectTo,wt,Fo,m);return this.applyRedirects.lineralizeSegments(D,Nr).pipe((0,Je.Z)(lo=>this.processSegment(m,_,d,lo.concat(mn),$,!1,de)))}matchSegmentAgainstRoute(m,d,_,D,R,$){const de=en(d,_,D,m);return"**"===_.path&&(d.children={}),de.pipe((0,He.n)(ae=>ae.matched?this.getChildConfig(m=_._injector??m,_,D).pipe((0,He.n)(({routes:je})=>{const ct=_._loadedInjector??m,{parameters:wt,consumedSegments:mn,remainingSegments:Fo}=ae,Bi=new Oo(mn,wt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ps(_),Si(_),_.component??_._loadedComponent??null,_,Pl(_)),Nr=io(Bi,$,this.paramsInheritanceStrategy);Bi.params=Object.freeze(Nr.params),Bi.data=Object.freeze(Nr.data);const{segmentGroup:lo,slicedSegments:ks}=ts(d,mn,Fo,je);if(0===ks.length&&lo.hasChildren())return this.processChildren(ct,je,lo,Bi).pipe((0,Te.T)(na=>new Oi(Bi,na)));if(0===je.length&&0===ks.length)return(0,L.of)(new Oi(Bi,[]));const Qc=Si(_)===R;return this.processSegment(ct,je,lo,ks,Qc?We:R,!0,Bi).pipe((0,Te.T)(na=>new Oi(Bi,na instanceof Oi?[na]:[])))})):Ke(d)))}getChildConfig(m,d,_){return d.children?(0,L.of)({routes:d.children,injector:m}):d.loadChildren?void 0!==d._loadedRoutes?(0,L.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):function T(u,m,d,_){const D=m.canLoad;if(void 0===D||0===D.length)return(0,L.of)(!0);const R=D.map($=>{const de=Fi($,u);return Vn(function _s(u){return u&&Qo(u.canLoad)}(de)?de.canLoad(m,d):(0,r.N4e)(u,()=>de(m,d)))});return(0,L.of)(R).pipe(so(),J())}(m,d,_).pipe((0,Je.Z)(D=>D?this.configLoader.loadChildren(m,d).pipe((0,nt.M)(R=>{d._loadedRoutes=R.routes,d._loadedInjector=R.injector})):function Sl(){return(0,ie.$)(di(!1,An.GuardRejected))}())):(0,L.of)({routes:[],injector:m})}}function fi(u){const m=u.value.routeConfig;return m&&""===m.path}function is(u){const m=[],d=new Set;for(const _ of u){if(!fi(_)){m.push(_);continue}const D=m.find(R=>_.value.routeConfig===R.value.routeConfig);void 0!==D?(D.children.push(..._.children),d.add(D)):m.push(_)}for(const _ of d){const D=is(_.children);m.push(new Oi(_.value,D))}return m.filter(_=>!d.has(_))}function Ps(u){return u.data||{}}function Pl(u){return u.resolve||{}}function xl(u){const m=u.children.map(d=>xl(d)).flat();return[u,...m]}function Ir(u){return(0,He.n)(m=>{const d=u(m);return d?(0,V.H)(d).pipe((0,Te.T)(()=>m)):(0,L.of)(m)})}let Ys=(()=>{class u{buildTitle(d){let _,D=d.root;for(;void 0!==D;)_=this.getResolvedTitleForRoute(D)??_,D=D.children.find(R=>R.outlet===We);return _}getResolvedTitleForRoute(d){return d.data[Bt]}static{this.\u0275fac=function(_){return new(_||u)}}static{this.\u0275prov=r.jDH({token:u,factory:()=>(0,r.WQX)(Co),providedIn:"root"})}}return u})(),Co=(()=>{class u extends Ys{constructor(d){super(),this.title=d}updateTitle(d){const _=this.buildTitle(d);void 0!==_&&this.title.setTitle(_)}static{this.\u0275fac=function(_){return new(_||u)(r.KVO(ut.hE))}}static{this.\u0275prov=r.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();const vo=new r.nKC("",{providedIn:"root",factory:()=>({})});let Ts=(()=>{class u{static{this.\u0275fac=function(_){return new(_||u)}}static{this.\u0275cmp=r.VBU({type:u,selectors:[["ng-component"]],standalone:!0,features:[r.aNF],decls:1,vars:0,template:function(_,D){1&_&&r.nrm(0,"router-outlet")},dependencies:[ms],encapsulation:2})}}return u})();function at(u){const m=u.children&&u.children.map(at),d=m?{...u,children:m}:{...u};return!d.component&&!d.loadComponent&&(m||d.loadChildren)&&d.outlet&&d.outlet!==We&&(d.component=Ts),d}const Nt=new r.nKC("");let Oa=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,r.WQX)(r.Ql9)}loadComponent(d){if(this.componentLoaders.get(d))return this.componentLoaders.get(d);if(d._loadedComponent)return(0,L.of)(d._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(d);const _=Vn(d.loadComponent()).pipe((0,Te.T)(Pa),(0,nt.M)(R=>{this.onLoadEndListener&&this.onLoadEndListener(d),d._loadedComponent=R}),(0,se.j)(()=>{this.componentLoaders.delete(d)})),D=new Oe.G(_,()=>new Ee.B).pipe((0,Se.B)());return this.componentLoaders.set(d,D),D}loadChildren(d,_){if(this.childrenLoaders.get(_))return this.childrenLoaders.get(_);if(_._loadedRoutes)return(0,L.of)({routes:_._loadedRoutes,injector:_._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(_);const R=function Tl(u,m,d,_){return Vn(u.loadChildren()).pipe((0,Te.T)(Pa),(0,Je.Z)(D=>D instanceof r.Co$||Array.isArray(D)?(0,L.of)(D):(0,V.H)(m.compileModuleAsync(D))),(0,Te.T)(D=>{_&&_(u);let R,$,de=!1;return Array.isArray(D)?($=D,!0):(R=D.create(d).injector,$=R.get(Nt,[],{optional:!0,self:!0}).flat()),{routes:$.map(at),injector:R}}))}(_,this.compiler,d,this.onLoadEndListener).pipe((0,se.j)(()=>{this.childrenLoaders.delete(_)})),$=new Oe.G(R,()=>new Ee.B).pipe((0,Se.B)());return this.childrenLoaders.set(_,$),$}static{this.\u0275fac=function(_){return new(_||u)}}static{this.\u0275prov=r.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();function Pa(u){return function Il(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let os=(()=>{class u{static{this.\u0275fac=function(_){return new(_||u)}}static{this.\u0275prov=r.jDH({token:u,factory:()=>(0,r.WQX)(Js),providedIn:"root"})}}return u})(),Js=(()=>{class u{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,_){return d}static{this.\u0275fac=function(_){return new(_||u)}}static{this.\u0275prov=r.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();const Tt=new r.nKC(""),Is=new r.nKC("");function hr(u,m,d){const _=u.get(Is),D=u.get(Fe.qQ);return u.get(r.SKi).runOutsideAngular(()=>{if(!D.startViewTransition||_.skipNextTransition)return _.skipNextTransition=!1,new Promise(je=>setTimeout(je));let R;const $=new Promise(je=>{R=je}),de=D.startViewTransition(()=>(R(),function fn(u){return new Promise(m=>{(0,r.mal)({read:()=>setTimeout(m)},{injector:u})})}(u))),{onViewTransitionCreated:ae}=_;return ae&&(0,r.N4e)(u,()=>ae({transition:de,from:m,to:d})),$})}const fr=new r.nKC("");let Rs=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ee.B,this.transitionAbortSubject=new Ee.B,this.configLoader=(0,r.WQX)(Oa),this.environmentInjector=(0,r.WQX)(r.uvJ),this.urlSerializer=(0,r.WQX)(jn),this.rootContexts=(0,r.WQX)(rr),this.location=(0,r.WQX)(Fe.aZ),this.inputBindingEnabled=null!==(0,r.WQX)(qo,{optional:!0}),this.titleStrategy=(0,r.WQX)(Ys),this.options=(0,r.WQX)(vo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,r.WQX)(os),this.createViewTransition=(0,r.WQX)(Tt,{optional:!0}),this.navigationErrorHandler=(0,r.WQX)(fr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,L.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=D=>this.events.next(new Xt(D)),this.configLoader.onLoadStartListener=D=>this.events.next(new Gt(D))}complete(){this.transitions?.complete()}handleNavigationRequest(d){const _=++this.navigationId;this.transitions?.next({...this.transitions.value,...d,id:_})}setupNavigations(d,_,D){return this.transitions=new B.t({id:0,currentUrlTree:_,currentRawUrl:_,extractedUrl:this.urlHandlingStrategy.extract(_),urlAfterRedirects:this.urlHandlingStrategy.extract(_),rawUrl:_,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:eo,restoredState:null,currentSnapshot:D.snapshot,targetSnapshot:null,currentRouterState:D,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,xt.p)(R=>0!==R.id),(0,Te.T)(R=>({...R,extractedUrl:this.urlHandlingStrategy.extract(R.rawUrl)})),(0,He.n)(R=>{let $=!1,de=!1;return(0,L.of)(R).pipe((0,He.n)(ae=>{if(this.navigationId>R.id)return this.cancelNavigationTransition(R,"",An.SupersededByNewNavigation),ge.w;this.currentTransition=R,this.currentNavigation={id:ae.id,initialUrl:ae.rawUrl,extractedUrl:ae.extractedUrl,targetBrowserUrl:"string"==typeof ae.extras.browserUrl?this.urlSerializer.parse(ae.extras.browserUrl):ae.extras.browserUrl,trigger:ae.source,extras:ae.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const je=!d.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!je&&"reload"!==(ae.extras.onSameUrlNavigation??d.onSameUrlNavigation)){const wt="";return this.events.next(new X(ae.id,this.urlSerializer.serialize(ae.rawUrl),wt,N.IgnoredSameUrlNavigation)),ae.resolve(!1),ge.w}if(this.urlHandlingStrategy.shouldProcessUrl(ae.rawUrl))return(0,L.of)(ae).pipe((0,He.n)(wt=>{const mn=this.transitions?.getValue();return this.events.next(new to(wt.id,this.urlSerializer.serialize(wt.extractedUrl),wt.source,wt.restoredState)),mn!==this.transitions?.getValue()?ge.w:Promise.resolve(wt)}),function zc(u,m,d,_,D,R){return(0,Je.Z)($=>function Ss(u,m,d,_,D,R,$="emptyOnly"){return new Os(u,m,d,_,D,$,R).recognize()}(u,m,d,_,$.extractedUrl,D,R).pipe((0,Te.T)(({state:de,tree:ae})=>({...$,targetSnapshot:de,urlAfterRedirects:ae}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,d.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,nt.M)(wt=>{R.targetSnapshot=wt.targetSnapshot,R.urlAfterRedirects=wt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:wt.urlAfterRedirects};const mn=new be(wt.id,this.urlSerializer.serialize(wt.extractedUrl),this.urlSerializer.serialize(wt.urlAfterRedirects),wt.targetSnapshot);this.events.next(mn)}));if(je&&this.urlHandlingStrategy.shouldProcessUrl(ae.currentRawUrl)){const{id:wt,extractedUrl:mn,source:Fo,restoredState:Bi,extras:Nr}=ae,lo=new to(wt,this.urlSerializer.serialize(mn),Fo,Bi);this.events.next(lo);const ks=Wr(this.rootComponentType).snapshot;return this.currentTransition=R={...ae,targetSnapshot:ks,urlAfterRedirects:mn,extras:{...Nr,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=mn,(0,L.of)(R)}{const wt="";return this.events.next(new X(ae.id,this.urlSerializer.serialize(ae.extractedUrl),wt,N.IgnoredByUrlHandlingStrategy)),ae.resolve(!1),ge.w}}),(0,nt.M)(ae=>{const je=new xe(ae.id,this.urlSerializer.serialize(ae.extractedUrl),this.urlSerializer.serialize(ae.urlAfterRedirects),ae.targetSnapshot);this.events.next(je)}),(0,Te.T)(ae=>(this.currentTransition=R={...ae,guards:ro(ae.targetSnapshot,ae.currentSnapshot,this.rootContexts)},R)),function qs(u,m){return(0,Je.Z)(d=>{const{targetSnapshot:_,currentSnapshot:D,guards:{canActivateChecks:R,canDeactivateChecks:$}}=d;return 0===$.length&&0===R.length?(0,L.of)({...d,guardsResult:!0}):function vs(u,m,d,_){return(0,V.H)(u).pipe((0,Je.Z)(D=>function C(u,m,d,_,D){const R=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!R||0===R.length)return(0,L.of)(!0);const $=R.map(de=>{const ae=Eo(m)??D,je=Fi(de,ae);return Vn(function Cs(u){return u&&Qo(u.canDeactivate)}(je)?je.canDeactivate(u,m,d,_):(0,r.N4e)(ae,()=>je(u,m,d,_))).pipe((0,vt.$)())});return(0,L.of)($).pipe(so())}(D.component,D.route,d,m,_)),(0,vt.$)(D=>!0!==D,!0))}($,_,D,u).pipe((0,Je.Z)(de=>de&&function Ut(u){return"boolean"==typeof u}(de)?function Sa(u,m,d,_){return(0,V.H)(m).pipe((0,Ht.H)(D=>(0,z.x)(function Ks(u,m){return null!==u&&m&&m(new F(u)),(0,L.of)(!0)}(D.route.parent,_),function Li(u,m){return null!==u&&m&&m(new I(u)),(0,L.of)(!0)}(D.route,_),function M(u,m,d){const _=m[m.length-1],R=m.slice(0,m.length-1).reverse().map($=>function Zr(u){const m=u.routeConfig?u.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:u,guards:m}:null}($)).filter($=>null!==$).map($=>(0,te.v)(()=>{const de=$.guards.map(ae=>{const je=Eo($.node)??d,ct=Fi(ae,je);return Vn(function Jr(u){return u&&Qo(u.canActivateChild)}(ct)?ct.canActivateChild(_,u):(0,r.N4e)(je,()=>ct(_,u))).pipe((0,vt.$)())});return(0,L.of)(de).pipe(so())}));return(0,L.of)(R).pipe(so())}(u,D.path,d),function w(u,m,d){const _=m.routeConfig?m.routeConfig.canActivate:null;if(!_||0===_.length)return(0,L.of)(!0);const D=_.map(R=>(0,te.v)(()=>{const $=Eo(m)??d,de=Fi(R,$);return Vn(function xn(u){return u&&Qo(u.canActivate)}(de)?de.canActivate(m,u):(0,r.N4e)($,()=>de(m,u))).pipe((0,vt.$)())}));return(0,L.of)(D).pipe(so())}(u,D.route,d))),(0,vt.$)(D=>!0!==D,!0))}(_,R,u,m):(0,L.of)(de)),(0,Te.T)(de=>({...d,guardsResult:de})))})}(this.environmentInjector,ae=>this.events.next(ae)),(0,nt.M)(ae=>{if(R.guardsResult=ae.guardsResult,ae.guardsResult&&"boolean"!=typeof ae.guardsResult)throw ki(0,ae.guardsResult);const je=new Ie(ae.id,this.urlSerializer.serialize(ae.extractedUrl),this.urlSerializer.serialize(ae.urlAfterRedirects),ae.targetSnapshot,!!ae.guardsResult);this.events.next(je)}),(0,xt.p)(ae=>!!ae.guardsResult||(this.cancelNavigationTransition(ae,"",An.GuardRejected),!1)),Ir(ae=>{if(ae.guards.canActivateChecks.length)return(0,L.of)(ae).pipe((0,nt.M)(je=>{const ct=new et(je.id,this.urlSerializer.serialize(je.extractedUrl),this.urlSerializer.serialize(je.urlAfterRedirects),je.targetSnapshot);this.events.next(ct)}),(0,He.n)(je=>{let ct=!1;return(0,L.of)(je).pipe(function Gc(u,m){return(0,Je.Z)(d=>{const{targetSnapshot:_,guards:{canActivateChecks:D}}=d;if(!D.length)return(0,L.of)(d);const R=new Set(D.map(ae=>ae.route)),$=new Set;for(const ae of R)if(!$.has(ae))for(const je of xl(ae))$.add(je);let de=0;return(0,V.H)($).pipe((0,Ht.H)(ae=>R.has(ae)?function Zs(u,m,d,_){const D=u.routeConfig,R=u._resolve;return void 0!==D?.title&&!To(D)&&(R[Bt]=D.title),function Tr(u,m,d,_){const D=dn(u);if(0===D.length)return(0,L.of)({});const R={};return(0,V.H)(D).pipe((0,Je.Z)($=>function xs(u,m,d,_){const D=Eo(m)??_,R=Fi(u,D);return Vn(R.resolve?R.resolve(m,d):(0,r.N4e)(D,()=>R(m,d)))}(u[$],m,d,_).pipe((0,vt.$)(),(0,nt.M)(de=>{if(de instanceof cr)throw ki(new zt,de);R[$]=de}))),(0,Le.o)(1),(0,j.u)(R),(0,dt.W)($=>Zo($)?ge.w:(0,ie.$)($)))}(R,u,m,_).pipe((0,Te.T)($=>(u._resolvedData=$,u.data=io(u,u.parent,d).resolve,null)))}(ae,_,u,m):(ae.data=io(ae,ae.parent,u).resolve,(0,L.of)(void 0))),(0,nt.M)(()=>de++),(0,Le.o)(1),(0,Je.Z)(ae=>de===$.size?(0,L.of)(d):ge.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,nt.M)({next:()=>ct=!0,complete:()=>{ct||this.cancelNavigationTransition(je,"",An.NoDataFromResolver)}}))}),(0,nt.M)(je=>{const ct=new ze(je.id,this.urlSerializer.serialize(je.extractedUrl),this.urlSerializer.serialize(je.urlAfterRedirects),je.targetSnapshot);this.events.next(ct)}))}),Ir(ae=>{const je=ct=>{const wt=[];ct.routeConfig?.loadComponent&&!ct.routeConfig._loadedComponent&&wt.push(this.configLoader.loadComponent(ct.routeConfig).pipe((0,nt.M)(mn=>{ct.component=mn}),(0,Te.T)(()=>{})));for(const mn of ct.children)wt.push(...je(mn));return wt};return(0,H.z)(je(ae.targetSnapshot.root)).pipe((0,It.U)(null),(0,Xe.s)(1))}),Ir(()=>this.afterPreactivation()),(0,He.n)(()=>{const{currentSnapshot:ae,targetSnapshot:je}=R,ct=this.createViewTransition?.(this.environmentInjector,ae.root,je.root);return ct?(0,V.H)(ct).pipe((0,Te.T)(()=>R)):(0,L.of)(R)}),(0,Te.T)(ae=>{const je=function Kr(u,m,d){const _=Ko(u,m._root,d?d._root:void 0);return new lr(_,m)}(d.routeReuseStrategy,ae.targetSnapshot,ae.currentRouterState);return this.currentTransition=R={...ae,targetRouterState:je},this.currentNavigation.targetRouterState=je,R}),(0,nt.M)(()=>{this.events.next(new Ge)}),((u,m,d,_)=>(0,Te.T)(D=>(new qi(m,D.targetRouterState,D.currentRouterState,d,_).activate(u),D)))(this.rootContexts,d.routeReuseStrategy,ae=>this.events.next(ae),this.inputBindingEnabled),(0,Xe.s)(1),(0,nt.M)({next:ae=>{$=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Gn(ae.id,this.urlSerializer.serialize(ae.extractedUrl),this.urlSerializer.serialize(ae.urlAfterRedirects))),this.titleStrategy?.updateTitle(ae.targetRouterState.snapshot),ae.resolve(!0)},complete:()=>{$=!0}}),(0,Re.Q)(this.transitionAbortSubject.pipe((0,nt.M)(ae=>{throw ae}))),(0,se.j)(()=>{!$&&!de&&this.cancelNavigationTransition(R,"",An.SupersededByNewNavigation),this.currentTransition?.id===R.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,dt.W)(ae=>{if(de=!0,Qr(ae))this.events.next(new Z(R.id,this.urlSerializer.serialize(R.extractedUrl),ae.message,ae.cancellationCode)),function Xr(u){return Qr(u)&&Ft(u.url)}(ae)?this.events.next(new _t(ae.url,ae.navigationBehaviorOptions)):R.resolve(!1);else{const je=new ue(R.id,this.urlSerializer.serialize(R.extractedUrl),ae,R.targetSnapshot??void 0);try{const ct=(0,r.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(je));if(ct instanceof cr){const{message:wt,cancellationCode:mn}=ki(0,ct);this.events.next(new Z(R.id,this.urlSerializer.serialize(R.extractedUrl),wt,mn)),this.events.next(new _t(ct.redirectTo,ct.navigationBehaviorOptions))}else{this.events.next(je);const wt=d.errorHandler(ae);R.resolve(!!wt)}}catch(ct){this.options.resolveNavigationPromiseOnError?R.resolve(!1):R.reject(ct)}}return ge.w}))}))}cancelNavigationTransition(d,_,D){const R=new Z(d.id,this.urlSerializer.serialize(d.extractedUrl),_,D);this.events.next(R),d.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const d=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),_=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return d.toString()!==_?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(_){return new(_||u)}}static{this.\u0275prov=r.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();function rs(u){return u!==eo}let ss=(()=>{class u{static{this.\u0275fac=function(_){return new(_||u)}}static{this.\u0275prov=r.jDH({token:u,factory:()=>(0,r.WQX)(f),providedIn:"root"})}}return u})();class ea{shouldDetach(m){return!1}store(m,d){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,d){return m.routeConfig===d.routeConfig}}let f=(()=>{class u extends ea{static{this.\u0275fac=(()=>{let d;return function(D){return(d||(d=r.xGo(u)))(D||u)}})()}static{this.\u0275prov=r.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})(),S=(()=>{class u{static{this.\u0275fac=function(_){return new(_||u)}}static{this.\u0275prov=r.jDH({token:u,factory:()=>(0,r.WQX)(v),providedIn:"root"})}}return u})(),v=(()=>{class u extends S{constructor(){super(...arguments),this.location=(0,r.WQX)(Fe.aZ),this.urlSerializer=(0,r.WQX)(jn),this.options=(0,r.WQX)(vo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,r.WQX)(os),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Bn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Wr(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(d){return this.location.subscribe(_=>{"popstate"===_.type&&d(_.url,_.state)})}handleRouterEvent(d,_){if(d instanceof to)this.stateMemento=this.createStateMemento();else if(d instanceof X)this.rawUrlTree=_.initialUrl;else if(d instanceof be){if("eager"===this.urlUpdateStrategy&&!_.extras.skipLocationChange){const D=this.urlHandlingStrategy.merge(_.finalUrl,_.initialUrl);this.setBrowserUrl(_.targetBrowserUrl??D,_)}}else d instanceof Ge?(this.currentUrlTree=_.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(_.finalUrl,_.initialUrl),this.routerState=_.targetRouterState,"deferred"===this.urlUpdateStrategy&&!_.extras.skipLocationChange&&this.setBrowserUrl(_.targetBrowserUrl??this.rawUrlTree,_)):d instanceof Z&&(d.code===An.GuardRejected||d.code===An.NoDataFromResolver)?this.restoreHistory(_):d instanceof ue?this.restoreHistory(_,!0):d instanceof Gn&&(this.lastSuccessfulId=d.id,this.currentPageId=this.browserPageId)}setBrowserUrl(d,_){const D=d instanceof Bn?this.urlSerializer.serialize(d):d;if(this.location.isCurrentPathEqualTo(D)||_.extras.replaceUrl){const $={..._.extras.state,...this.generateNgRouterState(_.id,this.browserPageId)};this.location.replaceState(D,"",$)}else{const R={..._.extras.state,...this.generateNgRouterState(_.id,this.browserPageId+1)};this.location.go(D,"",R)}}restoreHistory(d,_=!1){if("computed"===this.canceledNavigationResolution){const R=this.currentPageId-this.browserPageId;0!==R?this.location.historyGo(R):this.currentUrlTree===d.finalUrl&&0===R&&(this.resetState(d),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(_&&this.resetState(d),this.resetUrlToCurrentUrlTree())}resetState(d){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,d.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(d,_){return"computed"===this.canceledNavigationResolution?{navigationId:d,\u0275routerPageId:_}:{navigationId:d}}static{this.\u0275fac=(()=>{let d;return function(D){return(d||(d=r.xGo(u)))(D||u)}})()}static{this.\u0275prov=r.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();var E=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(E||{});function U(u,m){u.events.pipe((0,xt.p)(d=>d instanceof Gn||d instanceof Z||d instanceof ue||d instanceof X),(0,Te.T)(d=>d instanceof Gn||d instanceof X?E.COMPLETE:d instanceof Z&&(d.code===An.Redirect||d.code===An.SupersededByNewNavigation)?E.REDIRECTING:E.FAILED),(0,xt.p)(d=>d!==E.REDIRECTING),(0,Xe.s)(1)).subscribe(()=>{m()})}function ce(u){throw u}const De={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},$e={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Lt=(()=>{class u{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,r.WQX)(r.H3F),this.stateManager=(0,r.WQX)(S),this.options=(0,r.WQX)(vo,{optional:!0})||{},this.pendingTasks=(0,r.WQX)(r.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,r.WQX)(Rs),this.urlSerializer=(0,r.WQX)(jn),this.location=(0,r.WQX)(Fe.aZ),this.urlHandlingStrategy=(0,r.WQX)(os),this._events=new Ee.B,this.errorHandler=this.options.errorHandler||ce,this.navigated=!1,this.routeReuseStrategy=(0,r.WQX)(ss),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,r.WQX)(Nt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,r.WQX)(qo,{optional:!0}),this.eventsSubscription=new Ce.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:d=>{this.console.warn(d)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const d=this.navigationTransitions.events.subscribe(_=>{try{const D=this.navigationTransitions.currentTransition,R=this.navigationTransitions.currentNavigation;if(null!==D&&null!==R)if(this.stateManager.handleRouterEvent(_,R),_ instanceof Z&&_.code!==An.Redirect&&_.code!==An.SupersededByNewNavigation)this.navigated=!0;else if(_ instanceof Gn)this.navigated=!0;else if(_ instanceof _t){const $=_.navigationBehaviorOptions,de=this.urlHandlingStrategy.merge(_.url,D.currentRawUrl),ae={browserUrl:D.extras.browserUrl,info:D.extras.info,skipLocationChange:D.extras.skipLocationChange,replaceUrl:D.extras.replaceUrl||"eager"===this.urlUpdateStrategy||rs(D.source),...$};this.scheduleNavigation(de,eo,null,ae,{resolve:D.resolve,reject:D.reject,promise:D.promise})}(function tn(u){return!(u instanceof Ge||u instanceof _t)})(_)&&this._events.next(_)}catch(D){this.navigationTransitions.transitionAbortSubject.next(D)}});this.eventsSubscription.add(d)}resetRootComponentType(d){this.routerState.root.component=d,this.navigationTransitions.rootComponentType=d}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),eo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((d,_)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(d,"popstate",_)},0)})}navigateToSyncWithBrowser(d,_,D){const R={replaceUrl:!0},$=D?.navigationId?D:null;if(D){const ae={...D};delete ae.navigationId,delete ae.\u0275routerPageId,0!==Object.keys(ae).length&&(R.state=ae)}const de=this.parseUrl(d);this.scheduleNavigation(de,_,$,R)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(d){this.config=d.map(at),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(d,_={}){const{relativeTo:D,queryParams:R,fragment:$,queryParamsHandling:de,preserveFragment:ae}=_,je=ae?this.currentUrlTree.fragment:$;let wt,ct=null;switch(de??this.options.defaultQueryParamsHandling){case"merge":ct={...this.currentUrlTree.queryParams,...R};break;case"preserve":ct=this.currentUrlTree.queryParams;break;default:ct=R||null}null!==ct&&(ct=this.removeEmptyProps(ct));try{wt=On(D?D.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof d[0]||"/"!==d[0][0])&&(d=[]),wt=this.currentUrlTree.root}return Gi(wt,d,ct,je??null)}navigateByUrl(d,_={skipLocationChange:!1}){const D=Ft(d)?d:this.parseUrl(d),R=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(R,eo,null,_)}navigate(d,_={skipLocationChange:!1}){return function Ct(u){for(let m=0;m<u.length;m++)if(null==u[m])throw new r.wOt(4008,!1)}(d),this.navigateByUrl(this.createUrlTree(d,_),_)}serializeUrl(d){return this.urlSerializer.serialize(d)}parseUrl(d){try{return this.urlSerializer.parse(d)}catch{return this.urlSerializer.parse("/")}}isActive(d,_){let D;if(D=!0===_?{...De}:!1===_?{...$e}:_,Ft(d))return bn(this.currentUrlTree,d,D);const R=this.parseUrl(d);return bn(this.currentUrlTree,R,D)}removeEmptyProps(d){return Object.entries(d).reduce((_,[D,R])=>(null!=R&&(_[D]=R),_),{})}scheduleNavigation(d,_,D,R,$){if(this.disposed)return Promise.resolve(!1);let de,ae,je;$?(de=$.resolve,ae=$.reject,je=$.promise):je=new Promise((wt,mn)=>{de=wt,ae=mn});const ct=this.pendingTasks.add();return U(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ct))}),this.navigationTransitions.handleNavigationRequest({source:_,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:d,extras:R,resolve:de,reject:ae,promise:je,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),je.catch(wt=>Promise.reject(wt))}static{this.\u0275fac=function(_){return new(_||u)}}static{this.\u0275prov=r.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();class pn{}let Yo=(()=>{class u{constructor(d,_,D,R,$){this.router=d,this.injector=D,this.preloadingStrategy=R,this.loader=$}setUpPreloading(){this.subscription=this.router.events.pipe((0,xt.p)(d=>d instanceof Gn),(0,Ht.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,_){const D=[];for(const R of _){R.providers&&!R._injector&&(R._injector=(0,r.Ol2)(R.providers,d,`Route: ${R.path}`));const $=R._injector??d,de=R._loadedInjector??$;(R.loadChildren&&!R._loadedRoutes&&void 0===R.canLoad||R.loadComponent&&!R._loadedComponent)&&D.push(this.preloadConfig($,R)),(R.children||R._loadedRoutes)&&D.push(this.processRoutes(de,R.children??R._loadedRoutes))}return(0,V.H)(D).pipe((0,ot.U)())}preloadConfig(d,_){return this.preloadingStrategy.preload(_,()=>{let D;D=_.loadChildren&&void 0===_.canLoad?this.loader.loadChildren(d,_):(0,L.of)(null);const R=D.pipe((0,Je.Z)($=>null===$?(0,L.of)(void 0):(_._loadedRoutes=$.routes,_._loadedInjector=$.injector,this.processRoutes($.injector??d,$.routes))));if(_.loadComponent&&!_._loadedComponent){const $=this.loader.loadComponent(_);return(0,V.H)([R,$]).pipe((0,ot.U)())}return R})}static{this.\u0275fac=function(_){return new(_||u)(r.KVO(Lt),r.KVO(r.Ql9),r.KVO(r.uvJ),r.KVO(pn),r.KVO(Oa))}}static{this.\u0275prov=r.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})();const Ki=new r.nKC("");let xi=(()=>{class u{constructor(d,_,D,R,$={}){this.urlSerializer=d,this.transitions=_,this.viewportScroller=D,this.zone=R,this.options=$,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},$.scrollPositionRestoration||="disabled",$.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(d=>{d instanceof to?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof Gn?(this.lastId=d.id,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.urlAfterRedirects).fragment)):d instanceof X&&d.code===N.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof _e&&(d.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(d.position):d.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(d.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(d,_){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new _e(d,"popstate"===this.lastSource?this.store[this.restoredId]:null,_))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(_){r.QTQ()}}static{this.\u0275prov=r.jDH({token:u,factory:u.\u0275fac})}}return u})();function Ti(u,m){return{\u0275kind:u,\u0275providers:m}}function ta(){const u=(0,r.WQX)(r.zZn);return m=>{const d=u.get(r.o8S);if(m!==d.components[0])return;const _=u.get(Lt),D=u.get(Ns);1===u.get(ls)&&_.initialNavigation(),u.get(Kc,null,r.$GK.Optional)?.setUpPreloading(),u.get(Ki,null,r.$GK.Optional)?.init(),_.resetRootComponentType(d.componentTypes[0]),D.closed||(D.next(),D.complete(),D.unsubscribe())}}const Ns=new r.nKC("",{factory:()=>new Ee.B}),ls=new r.nKC("",{providedIn:"root",factory:()=>1}),Kc=new r.nKC("");function Qi(u){return Ti(0,[{provide:Kc,useExisting:Yo},{provide:pn,useExisting:u}])}function ko(u){return Ti(9,[{provide:Tt,useValue:hr},{provide:Is,useValue:{skipNextTransition:!!u?.skipInitialTransition,...u}}])}const p=new r.nKC("ROUTER_FORROOT_GUARD"),A=[Fe.aZ,{provide:jn,useClass:zt},Lt,rr,{provide:ni,useFactory:function Xi(u){return u.routerState.root},deps:[Lt]},Oa,[]];let l=(()=>{class u{constructor(d){}static forRoot(d,_){return{ngModule:u,providers:[A,[],{provide:Nt,multi:!0,useValue:d},{provide:p,useFactory:fe,deps:[[Lt,new r.Xx1,new r.kdw]]},{provide:vo,useValue:_||{}},_?.useHash?{provide:Fe.hb,useClass:Fe.fw}:{provide:Fe.hb,useClass:Fe.Sm},{provide:Ki,useFactory:()=>{const u=(0,r.WQX)(Fe.Xr),m=(0,r.WQX)(r.SKi),d=(0,r.WQX)(vo),_=(0,r.WQX)(Rs),D=(0,r.WQX)(jn);return d.scrollOffset&&u.setOffset(d.scrollOffset),new xi(D,_,u,m,d)}},_?.preloadingStrategy?Qi(_.preloadingStrategy).\u0275providers:[],_?.initialNavigation?qe(_):[],_?.bindToComponentInputs?Ti(8,[qr,{provide:qo,useExisting:qr}]).\u0275providers:[],_?.enableViewTransitions?ko().\u0275providers:[],[{provide:Ye,useFactory:ta},{provide:r.iLQ,multi:!0,useExisting:Ye}]]}}static forChild(d){return{ngModule:u,providers:[{provide:Nt,multi:!0,useValue:d}]}}static{this.\u0275fac=function(_){return new(_||u)(r.KVO(p,8))}}static{this.\u0275mod=r.$C({type:u})}static{this.\u0275inj=r.G2t({})}}return u})();function fe(u){return"guarded"}function qe(u){return["disabled"===u.initialNavigation?Ti(3,[{provide:r.hnV,multi:!0,useFactory:()=>{const m=(0,r.WQX)(Lt);return()=>{m.setUpLocationChangeListener()}}},{provide:ls,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Ti(2,[{provide:ls,useValue:0},{provide:r.hnV,multi:!0,deps:[r.zZn],useFactory:m=>{const d=m.get(Fe.hj,Promise.resolve());return()=>d.then(()=>new Promise(_=>{const D=m.get(Lt),R=m.get(Ns);U(D,()=>{_(!0)}),m.get(Rs).afterPreactivation=()=>(_(!0),R.closed?(0,L.of)(void 0):R),D.initialNavigation()}))}}]).\u0275providers:[]]}const Ye=new r.nKC("")},4355:(pe,K,O)=>{"use strict";O.d(K,{fg:()=>vt,gB:()=>pt});var r=O(3953),x=O(1562),V=O(6354),L=O(7343),B=O(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 ie{constructor(j){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=j.protocol;let se=j.port;se||(function H(Le){return/^https:$/i.test(Le)}(this.protocol)?se="443":function q(Le){return/^http:$/i.test(Le)}(this.protocol)&&(se="80")),this.domain=j.hostname,this.port=parseInt(se,10),this.path=j.pathname;const Se=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[se.toString()]||Y[Se[2]]||"whostmgr",this.securityToken=Se[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const ot=this.path.split("/");this.theme=ot[3]}this.themePath="";let Re=this.securityToken+"/";this.isUnprotected?Re="/":this.isCpanel?Re+="frontend/"+this.theme+"/":this.isWebmail?Re+="webmail/"+this.theme+"/":this.isOther&&(Re="/"),this.themePath=Re,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 z(Le){return Le&&Le.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(j){return this.themePath+j}buildFullPath(j){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(j)}buildTokenPath(j){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+j}}class ge{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 Oe=O(3971),Ee=O.n(Oe),Ce=O(6062),Fe=O.n(Ce),Te=function(Le){return Le[Le.Error=0]="Error",Le[Le.Warning=1]="Warning",Le[Le.Information=2]="Information",Le[Le.Unknown=3]="Unknown",Le}(Te||{});const He={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class bt{constructor(j,se){if(this.status=0,this.messages=[],this.meta=function Xe(Le){return JSON.parse(JSON.stringify(Le))}(He),this.options={keepUnprocessedResponse:!1},Ee()(j)||Fe()(j))throw new Error("The response was unexpectedly undefined or null");se&&(this.options=se),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(j)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(j){return this.messages.filter(se=>se.type===j)}get errors(){return this._getMessages(Te.Error)}get warnings(){return this._getMessages(Te.Warning)}get infoMessages(){return this._getMessages(Te.Information)}_hasMessages(j){return this.messages.filter(se=>se.type===j).length>0}get hasErrors(){return this._hasMessages(Te.Error)}get hasWarnings(){return this._hasMessages(Te.Warning)}get hasInfoMessages(){return this._hasMessages(Te.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class xt{constructor(j){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={},j.chunk&&(this.isPaged=!0,this.record=parseInt(j.chunk.start,10)||0,this.page=parseInt(j.chunk.current,10)||0,this.pageSize=parseInt(j.chunk.size,10)||0,this.totalPages=parseInt(j.chunk.chunks,10)||0,this.totalRecords=parseInt(j.chunk.records,10)||0),j.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(j.filter.filtered,10)||0);const se=new Set(["paginate","filter"]);Object.keys(j).filter(Se=>!se.has(Se)).forEach(Se=>{this.properties[Se]=j[Se]})}}class Je extends bt{_parseStatus(j){if(this.status=0,typeof j.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(j.result,10)}_parseMessages(j){if(!j.result){const se=[j.reason];se&&se.length&&se.forEach(Se=>{this.messages.push({type:Te.Error,message:Se})})}}_reduce_list_data(j){if("object"==typeof j&&!(j instanceof Array)){const se=Object.keys(j);if(1===se.length){const Se=j[se[0]];Se?Se instanceof Array&&(j=Se):j=[]}}return j}constructor(j,se){if(super(j,se),!j)throw new Error("Response object should be defined.");j.metadata&&(this._parseStatus(j.metadata),this._parseMessages(j.metadata),this.meta=new xt(j.metadata)),this.data=this._reduce_list_data(j.data)}}let vt=(()=>{class Le{static{this.\u0275fac=function(Se){return new(Se||Le)}}static{this.\u0275mod=r.$C({type:Le})}static{this.\u0275inj=r.G2t({providers:[(0,x.$R)((0,x.Sx)())]})}}return Le})(),pt=(()=>{class Le{constructor(se){this.http=se}get(se){const Se=se.generate({verb:L.o.GET,encoder:new B.CY}),Re=this.packageUrl(Se);return this.http.get(Re,{headers:this.packageHeaders(Se)}).pipe((0,V.T)(this.packageResponseHandler(Re)))}post(se){const Se=se.generate(),Re=this.packageUrl(Se);return this.http.post(Re,Se.body,{headers:this.packageHeaders(Se)}).pipe((0,V.T)(this.packageResponseHandler(Re)))}packageHeaders(se){const Se={};return se.headers.forEach(Re=>{Se[Re.name]=Re.value}),new x.Lr(Se)}packageUrl(se){return new ie(new ge).buildTokenPath(se.url)}packageResponseHandler(se){return Se=>{const Re=new Je(Se);return Re.meta.properties.url=se,Re}}static{this.\u0275fac=function(Se){return new(Se||Le)(r.KVO(x.Qq))}}static{this.\u0275prov=r.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"})}}return Le})()},8658:(pe,K,O)=>{"use strict";O.d(K,{B:()=>B});var r=O(3953),x=O(6381);const V=new r.nKC("window"),L=H=>new x.h(H.CLDR,H.LEXICON);let B=(()=>{class H{static{this.\u0275fac=function(te){return new(te||H)}}static{this.\u0275mod=r.$C({type:H})}static{this.\u0275inj=r.G2t({providers:[{provide:V,useValue:window},{provide:x.h,useFactory:L,deps:[V]}]})}}return H})()},3373:(pe,K,O)=>{"use strict";O.d(K,{Qp:()=>fr,tm:()=>Rs,w:()=>hr,Ak:()=>fn,VP:()=>Wc,h5:()=>Vi,IP:()=>as,Or:()=>Ki,kj:()=>Ao,bG:()=>Ti});var r=O(3953),x=O(177),V=O(4412),L=O(9417),B=O(6381),H=O(8658),q=O(6153),z=O(9969),te=O(17),Y=O(4402),ie=O(7673),ge=O(1413);class Oe{}function Ee(p){return p&&"function"==typeof p.connect&&!(p instanceof te.G)}var Fe=function(p){return p[p.REPLACED=0]="REPLACED",p[p.INSERTED=1]="INSERTED",p[p.MOVED=2]="MOVED",p[p.REMOVED=3]="REMOVED",p}(Fe||{});const Te=new r.nKC("_ViewRepeater");class He{applyChanges(A,l,g,P,Q){A.forEachOperation((fe,qe,Ye)=>{let $t,Wt;if(null==fe.previousIndex){const Tn=g(fe,qe,Ye);$t=l.createEmbeddedView(Tn.templateRef,Tn.context,Tn.index),Wt=Fe.INSERTED}else null==Ye?(l.remove(qe),Wt=Fe.REMOVED):($t=l.get(qe),l.move($t,Ye),Wt=Fe.MOVED);Q&&Q({context:$t?.context,operation:Wt,record:fe})})}detach(){}}class bt{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(A=!1,l,g=!0,P){this._multiple=A,this._emitChanges=g,this.compareWith=P,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ge.B,l&&l.length&&(A?l.forEach(Q=>this._markSelected(Q)):this._markSelected(l[0]),this._selectedToEmit.length=0)}select(...A){this._verifyValueAssignment(A),A.forEach(g=>this._markSelected(g));const l=this._hasQueuedChanges();return this._emitChangeEvent(),l}deselect(...A){this._verifyValueAssignment(A),A.forEach(g=>this._unmarkSelected(g));const l=this._hasQueuedChanges();return this._emitChangeEvent(),l}setSelection(...A){this._verifyValueAssignment(A);const l=this.selected,g=new Set(A);A.forEach(Q=>this._markSelected(Q)),l.filter(Q=>!g.has(this._getConcreteValue(Q,g))).forEach(Q=>this._unmarkSelected(Q));const P=this._hasQueuedChanges();return this._emitChangeEvent(),P}toggle(A){return this.isSelected(A)?this.deselect(A):this.select(A)}clear(A=!0){this._unmarkAll();const l=this._hasQueuedChanges();return A&&this._emitChangeEvent(),l}isSelected(A){return this._selection.has(this._getConcreteValue(A))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(A){this._multiple&&this.selected&&this._selected.sort(A)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(A){A=this._getConcreteValue(A),this.isSelected(A)||(this._multiple||this._unmarkAll(),this.isSelected(A)||this._selection.add(A),this._emitChanges&&this._selectedToEmit.push(A))}_unmarkSelected(A){A=this._getConcreteValue(A),this.isSelected(A)&&(this._selection.delete(A),this._emitChanges&&this._deselectedToEmit.push(A))}_unmarkAll(){this.isEmpty()||this._selection.forEach(A=>this._unmarkSelected(A))}_verifyValueAssignment(A){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(A,l){if(this.compareWith){l=l??this._selection;for(let g of l)if(this.compareWith(A,g))return g;return A}return A}}const vt=new r.nKC("cdk-dir-doc",{providedIn:"root",factory:function Ht(){return(0,r.WQX)(x.qQ)}}),nt=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Le,lt=(()=>{class p{constructor(l){this.value="ltr",this.change=new r.bkB,l&&(this.value=function dt(p){const A=p?.toLowerCase()||"";return"auto"===A&&typeof navigator<"u"&&navigator?.language?nt.test(navigator.language)?"rtl":"ltr":"rtl"===A?"rtl":"ltr"}((l.body?l.body.dir:null)||(l.documentElement?l.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(g){return new(g||p)(r.KVO(vt,8))}}static{this.\u0275prov=r.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),pt=(()=>{class p{static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275mod=r.$C({type:p})}static{this.\u0275inj=r.G2t({})}}return p})();try{Le=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Le=!1}let j=(()=>{class p{constructor(l){this._platformId=l,this.isBrowser=this._platformId?(0,x.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Le)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(g){return new(g||p)(r.KVO(r.Agw))}}static{this.\u0275prov=r.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();O(536),O(5007);var In=O(5466);let jn=(()=>{class p{constructor(l,g,P){this._platform=l,this._change=new ge.B,this._changeListener=Q=>{this._change.next(Q)},this._document=P,g.runOutsideAngular(()=>{if(l.isBrowser){const Q=this._getWindow();Q.addEventListener("resize",this._changeListener),Q.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const l=this._getWindow();l.removeEventListener("resize",this._changeListener),l.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const l={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),l}getViewportRect(){const l=this.getViewportScrollPosition(),{width:g,height:P}=this.getViewportSize();return{top:l.top,left:l.left,bottom:l.top+P,right:l.left+g,height:P,width:g}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const l=this._document,g=this._getWindow(),P=l.documentElement,Q=P.getBoundingClientRect();return{top:-Q.top||l.body.scrollTop||g.scrollY||P.scrollTop||0,left:-Q.left||l.body.scrollLeft||g.scrollX||P.scrollLeft||0}}change(l=20){return l>0?this._change.pipe((0,In.Z)(l)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const l=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:l.innerWidth,height:l.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(g){return new(g||p)(r.KVO(j),r.KVO(r.SKi),r.KVO(x.qQ,8))}}static{this.\u0275prov=r.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),Ri=(()=>{class p{static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275mod=r.$C({type:p})}static{this.\u0275inj=r.G2t({})}}return p})(),Yn=(()=>{class p{static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275mod=r.$C({type:p})}static{this.\u0275inj=r.G2t({imports:[pt,Ri,pt,Ri]})}}return p})();var zn=O(6977);const wi=[[["caption"]],[["colgroup"],["col"]],"*"],Mi=["caption","colgroup, col","*"];function En(p,A){1&p&&r.SdG(0,2)}function Jn(p,A){1&p&&(r.j41(0,"thead",0),r.eu8(1,1),r.k0s(),r.j41(2,"tbody",0),r.eu8(3,2)(4,3),r.k0s(),r.j41(5,"tfoot",0),r.eu8(6,4),r.k0s())}function he(p,A){1&p&&r.eu8(0,1)(1,2)(2,3)(3,4)}const ne=new r.nKC("CDK_TABLE");let Ue=(()=>{class p{constructor(l){this.template=l}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.C4Q))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","cdkCellDef",""]],standalone:!0})}}return p})(),it=(()=>{class p{constructor(l){this.template=l}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.C4Q))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}}return p})(),Pt=(()=>{class p{constructor(l){this.template=l}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.C4Q))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}}return p})(),kt=(()=>{class p{get name(){return this._name}set name(l){this._setNameInput(l)}get sticky(){return this._sticky}set sticky(l){l!==this._sticky&&(this._sticky=l,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(l){l!==this._stickyEnd&&(this._stickyEnd=l,this._hasStickyChanged=!0)}constructor(l){this._table=l,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){const l=this._hasStickyChanged;return this.resetStickyChanged(),l}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(l){l&&(this._name=l,this.cssClassFriendlyName=l.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(ne,8))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","cdkColumnDef",""]],contentQueries:function(g,P,Q){if(1&g&&(r.wni(Q,Ue,5),r.wni(Q,it,5),r.wni(Q,Pt,5)),2&g){let fe;r.mGM(fe=r.lsd())&&(P.cell=fe.first),r.mGM(fe=r.lsd())&&(P.headerCell=fe.first),r.mGM(fe=r.lsd())&&(P.footerCell=fe.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",r.L39],stickyEnd:[2,"stickyEnd","stickyEnd",r.L39]},standalone:!0,features:[r.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:p}]),r.GFd]})}}return p})();class Ft{constructor(A,l){l.nativeElement.classList.add(...A._columnCssClassName)}}let Sn=(()=>{class p extends Ft{constructor(l,g){super(l,g)}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(kt),r.rXU(r.aKT))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[r.Vt3]})}}return p})(),Gi=(()=>{class p extends Ft{constructor(l,g){super(l,g);const P=l._table?._getCellRole();P&&g.nativeElement.setAttribute("role",P)}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(kt),r.rXU(r.aKT))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[r.Vt3]})}}return p})();class bi{constructor(){this.tasks=[],this.endTasks=[]}}const Ni=new r.nKC("_COALESCED_STYLE_SCHEDULER");let mo=(()=>{class p{constructor(l){this._currentSchedule=null,this._ngZone=(0,r.WQX)(r.SKi)}schedule(l){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(l)}scheduleEnd(l){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(l)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new bi,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const l=this._currentSchedule;this._currentSchedule=new bi;for(const g of l.tasks)g();for(const g of l.endTasks)g()}this._currentSchedule=null})))}static{this.\u0275fac=function(g){return new(g||p)(r.KVO(r.SKi))}}static{this.\u0275prov=r.jDH({token:p,factory:p.\u0275fac})}}return p})(),ci=(()=>{class p{constructor(l,g){this.template=l,this._differs=g}ngOnChanges(l){if(!this._columnsDiffer){const g=l.columns&&l.columns.currentValue||[];this._columnsDiffer=this._differs.find(g).create(),this._columnsDiffer.diff(g)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(l){return this instanceof hn?l.headerCell.template:this instanceof Rn?l.footerCell.template:l.cell.template}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.C4Q),r.rXU(r._q3))}}static{this.\u0275dir=r.FsC({type:p,features:[r.OA$]})}}return p})(),hn=(()=>{class p extends ci{get sticky(){return this._sticky}set sticky(l){l!==this._sticky&&(this._sticky=l,this._hasStickyChanged=!0)}constructor(l,g,P){super(l,g),this._table=P,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(l){super.ngOnChanges(l)}hasStickyChanged(){const l=this._hasStickyChanged;return this.resetStickyChanged(),l}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.C4Q),r.rXU(r._q3),r.rXU(ne,8))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",r.L39]},standalone:!0,features:[r.GFd,r.Vt3,r.OA$]})}}return p})(),Rn=(()=>{class p extends ci{get sticky(){return this._sticky}set sticky(l){l!==this._sticky&&(this._sticky=l,this._hasStickyChanged=!0)}constructor(l,g,P){super(l,g),this._table=P,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(l){super.ngOnChanges(l)}hasStickyChanged(){const l=this._hasStickyChanged;return this.resetStickyChanged(),l}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.C4Q),r.rXU(r._q3),r.rXU(ne,8))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",r.L39]},standalone:!0,features:[r.GFd,r.Vt3,r.OA$]})}}return p})(),ei=(()=>{class p extends ci{constructor(l,g,P){super(l,g),this._table=P}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.C4Q),r.rXU(r._q3),r.rXU(ne,8))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[r.Vt3]})}}return p})(),Pn=(()=>{class p{static{this.mostRecentCellOutlet=null}constructor(l){this._viewContainer=l,p.mostRecentCellOutlet=this}ngOnDestroy(){p.mostRecentCellOutlet===this&&(p.mostRecentCellOutlet=null)}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.c1b))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","cdkCellOutlet",""]],standalone:!0})}}return p})(),ti=(()=>{class p{static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275cmp=r.VBU({type:p,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[r.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(g,P){1&g&&r.eu8(0,0)},dependencies:[Pn],encapsulation:2})}}return p})(),Nn=(()=>{class p{static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275cmp=r.VBU({type:p,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[r.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(g,P){1&g&&r.eu8(0,0)},dependencies:[Pn],encapsulation:2})}}return p})(),Ai=(()=>{class p{constructor(l){this.templateRef=l,this._contentClassName="cdk-no-data-row"}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.C4Q))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}}return p})();const ui=["top","bottom","left","right"];class Wi{constructor(A,l,g,P,Q=!0,fe=!0,qe){this._isNativeHtmlTable=A,this._stickCellCss=l,this.direction=g,this._coalescedStyleScheduler=P,this._isBrowser=Q,this._needsPositionStickyOnElement=fe,this._positionListener=qe,this._cachedCellWidths=[],this._borderCellCss={top:`${l}-border-elem-top`,bottom:`${l}-border-elem-bottom`,left:`${l}-border-elem-left`,right:`${l}-border-elem-right`}}clearStickyPositioning(A,l){const g=[];for(const P of A)if(P.nodeType===P.ELEMENT_NODE){g.push(P);for(let Q=0;Q<P.children.length;Q++)g.push(P.children[Q])}this._coalescedStyleScheduler.schedule(()=>{for(const P of g)this._removeStickyStyle(P,l)})}updateStickyColumns(A,l,g,P=!0){A.length&&this._isBrowser&&(l.some(Q=>Q)||g.some(Q=>Q))?this._coalescedStyleScheduler.schedule(()=>{const Q=A[0],fe=Q.children.length,qe=this._getCellWidths(Q,P),Ye=this._getStickyStartColumnPositions(qe,l),$t=this._getStickyEndColumnPositions(qe,g),Wt=l.lastIndexOf(!0),Tn=g.indexOf(!0),yo="rtl"===this.direction,gr=yo?"right":"left",Xc=yo?"left":"right";for(const Rr of A)for(let u=0;u<fe;u++){const m=Rr.children[u];l[u]&&this._addStickyStyle(m,gr,Ye[u],u===Wt),g[u]&&this._addStickyStyle(m,Xc,$t[u],u===Tn)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Wt?[]:qe.slice(0,Wt+1).map((Rr,u)=>l[u]?Rr:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Tn?[]:qe.slice(Tn).map((Rr,u)=>g[u+Tn]?Rr:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(A,l,g){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const P="bottom"===g?A.slice().reverse():A,Q="bottom"===g?l.slice().reverse():l,fe=[],qe=[],Ye=[];for(let Wt=0,Tn=0;Wt<P.length;Wt++){if(!Q[Wt])continue;fe[Wt]=Tn;const yo=P[Wt];Ye[Wt]=this._isNativeHtmlTable?Array.from(yo.children):[yo];const gr=yo.getBoundingClientRect().height;Tn+=gr,qe[Wt]=gr}const $t=Q.lastIndexOf(!0);for(let Wt=0;Wt<P.length;Wt++){if(!Q[Wt])continue;const Tn=fe[Wt],yo=Wt===$t;for(const gr of Ye[Wt])this._addStickyStyle(gr,g,Tn,yo)}"top"===g?this._positionListener?.stickyHeaderRowsUpdated({sizes:qe,offsets:fe,elements:Ye}):this._positionListener?.stickyFooterRowsUpdated({sizes:qe,offsets:fe,elements:Ye})})}updateStickyFooterContainer(A,l){this._isNativeHtmlTable&&this._coalescedStyleScheduler.schedule(()=>{const g=A.querySelector("tfoot");g&&(l.some(P=>!P)?this._removeStickyStyle(g,["bottom"]):this._addStickyStyle(g,"bottom",0,!1))})}_removeStickyStyle(A,l){for(const P of l)A.style[P]="",A.classList.remove(this._borderCellCss[P]);ui.some(P=>-1===l.indexOf(P)&&A.style[P])?A.style.zIndex=this._getCalculatedZIndex(A):(A.style.zIndex="",this._needsPositionStickyOnElement&&(A.style.position=""),A.classList.remove(this._stickCellCss))}_addStickyStyle(A,l,g,P){A.classList.add(this._stickCellCss),P&&A.classList.add(this._borderCellCss[l]),A.style[l]=`${g}px`,A.style.zIndex=this._getCalculatedZIndex(A),this._needsPositionStickyOnElement&&(A.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(A){const l={top:100,bottom:10,left:1,right:1};let g=0;for(const P of ui)A.style[P]&&(g+=l[P]);return g?`${g}`:""}_getCellWidths(A,l=!0){if(!l&&this._cachedCellWidths.length)return this._cachedCellWidths;const g=[],P=A.children;for(let Q=0;Q<P.length;Q++)g.push(P[Q].getBoundingClientRect().width);return this._cachedCellWidths=g,g}_getStickyStartColumnPositions(A,l){const g=[];let P=0;for(let Q=0;Q<A.length;Q++)l[Q]&&(g[Q]=P,P+=A[Q]);return g}_getStickyEndColumnPositions(A,l){const g=[];let P=0;for(let Q=A.length;Q>0;Q--)l[Q]&&(g[Q]=P,P+=A[Q]);return g}}const N=new r.nKC("CDK_SPL");let X=(()=>{class p{constructor(l,g){this.viewContainer=l,this.elementRef=g;const P=(0,r.WQX)(ne);P._rowOutlet=this,P._outletAssigned()}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.c1b),r.rXU(r.aKT))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","rowOutlet",""]],standalone:!0})}}return p})(),ue=(()=>{class p{constructor(l,g){this.viewContainer=l,this.elementRef=g;const P=(0,r.WQX)(ne);P._headerRowOutlet=this,P._outletAssigned()}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.c1b),r.rXU(r.aKT))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","headerRowOutlet",""]],standalone:!0})}}return p})(),be=(()=>{class p{constructor(l,g){this.viewContainer=l,this.elementRef=g;const P=(0,r.WQX)(ne);P._footerRowOutlet=this,P._outletAssigned()}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.c1b),r.rXU(r.aKT))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","footerRowOutlet",""]],standalone:!0})}}return p})(),xe=(()=>{class p{constructor(l,g){this.viewContainer=l,this.elementRef=g;const P=(0,r.WQX)(ne);P._noDataRowOutlet=this,P._outletAssigned()}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.c1b),r.rXU(r.aKT))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","noDataRowOutlet",""]],standalone:!0})}}return p})(),ze=(()=>{class p{_getCellRole(){if(void 0===this._cellRoleInternal){const l=this._elementRef.nativeElement.getAttribute("role"),g="grid"===l||"treegrid"===l?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===g?null:g}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(l){this._trackByFn=l}get dataSource(){return this._dataSource}set dataSource(l){this._dataSource!==l&&this._switchDataSource(l)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(l){this._multiTemplateDataRows=l,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(l){this._fixedLayout=l,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(l,g,P,Q,fe,qe,Ye,$t,Wt,Tn,yo,gr){this._differs=l,this._changeDetectorRef=g,this._elementRef=P,this._dir=fe,this._platform=Ye,this._viewRepeater=$t,this._coalescedStyleScheduler=Wt,this._viewportRuler=Tn,this._stickyPositioningListener=yo,this._onDestroy=new ge.B,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new r.bkB,this.viewChange=new V.t({start:0,end:Number.MAX_VALUE}),this._injector=(0,r.WQX)(r.zZn),Q||P.nativeElement.setAttribute("role","table"),this._document=qe,this._isServer=!Ye.isBrowser,this._isNativeHtmlTable="TABLE"===P.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((l,g)=>this.trackBy?this.trackBy(g.dataIndex,g.data):g),this._viewportRuler.change().pipe((0,zn.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(l=>{l?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Ee(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const l=this._dataDiffer.diff(this._renderRows);if(!l)return this._updateNoDataRow(),void this.contentChanged.next();const g=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(l,g,(P,Q,fe)=>this._getEmbeddedViewArgs(P.item,fe),P=>P.item.data,P=>{P.operation===Fe.INSERTED&&P.context&&this._renderCellTemplateForItem(P.record.item.rowDef,P.context)}),this._updateRowIndexContext(),l.forEachIdentityChange(P=>{g.get(P.currentIndex).context.$implicit=P.item.data}),this._updateNoDataRow(),(0,r.mal)(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(l){this._customColumnDefs.add(l)}removeColumnDef(l){this._customColumnDefs.delete(l)}addRowDef(l){this._customRowDefs.add(l)}removeRowDef(l){this._customRowDefs.delete(l)}addHeaderRowDef(l){this._customHeaderRowDefs.add(l),this._headerRowDefChanged=!0}removeHeaderRowDef(l){this._customHeaderRowDefs.delete(l),this._headerRowDefChanged=!0}addFooterRowDef(l){this._customFooterRowDefs.add(l),this._footerRowDefChanged=!0}removeFooterRowDef(l){this._customFooterRowDefs.delete(l),this._footerRowDefChanged=!0}setNoDataRow(l){this._customNoDataRow=l}updateStickyHeaderRowStyles(){const l=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const P=Xt(this._headerRowOutlet,"thead");P&&(P.style.display=l.length?"":"none")}const g=this._headerRowDefs.map(P=>P.sticky);this._stickyStyler.clearStickyPositioning(l,["top"]),this._stickyStyler.stickRows(l,g,"top"),this._headerRowDefs.forEach(P=>P.resetStickyChanged())}updateStickyFooterRowStyles(){const l=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const P=Xt(this._footerRowOutlet,"tfoot");P&&(P.style.display=l.length?"":"none")}const g=this._footerRowDefs.map(P=>P.sticky);this._stickyStyler.clearStickyPositioning(l,["bottom"]),this._stickyStyler.stickRows(l,g,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,g),this._footerRowDefs.forEach(P=>P.resetStickyChanged())}updateStickyColumnStyles(){const l=this._getRenderedRows(this._headerRowOutlet),g=this._getRenderedRows(this._rowOutlet),P=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...l,...g,...P],["left","right"]),this._stickyColumnStylesNeedReset=!1),l.forEach((Q,fe)=>{this._addStickyColumnStyles([Q],this._headerRowDefs[fe])}),this._rowDefs.forEach(Q=>{const fe=[];for(let qe=0;qe<g.length;qe++)this._renderRows[qe].rowDef===Q&&fe.push(g[qe]);this._addStickyColumnStyles(fe,Q)}),P.forEach((Q,fe)=>{this._addStickyColumnStyles([Q],this._footerRowDefs[fe])}),Array.from(this._columnDefsByName.values()).forEach(Q=>Q.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const g=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||g,this._forceRecalculateCellWidths=g,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const l=[],g=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let P=0;P<this._data.length;P++){let Q=this._data[P];const fe=this._getRenderRowsForData(Q,P,g.get(Q));this._cachedRenderRowsMap.has(Q)||this._cachedRenderRowsMap.set(Q,new WeakMap);for(let qe=0;qe<fe.length;qe++){let Ye=fe[qe];const $t=this._cachedRenderRowsMap.get(Ye.data);$t.has(Ye.rowDef)?$t.get(Ye.rowDef).push(Ye):$t.set(Ye.rowDef,[Ye]),l.push(Ye)}}return l}_getRenderRowsForData(l,g,P){return this._getRowDefs(l,g).map(fe=>{const qe=P&&P.has(fe)?P.get(fe):[];if(qe.length){const Ye=qe.shift();return Ye.dataIndex=g,Ye}return{data:l,rowDef:fe,dataIndex:g}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Gt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(g=>{this._columnDefsByName.has(g.name),this._columnDefsByName.set(g.name,g)})}_cacheRowDefs(){this._headerRowDefs=Gt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Gt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Gt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const l=this._rowDefs.filter(g=>!g.when);this._defaultRowDef=l[0]}_renderUpdatedColumns(){const l=(fe,qe)=>fe||!!qe.getColumnsDiff(),g=this._rowDefs.reduce(l,!1);g&&this._forceRenderDataRows();const P=this._headerRowDefs.reduce(l,!1);P&&this._forceRenderHeaderRows();const Q=this._footerRowDefs.reduce(l,!1);return Q&&this._forceRenderFooterRows(),g||P||Q}_switchDataSource(l){this._data=[],Ee(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),l||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=l}_observeRenderChanges(){if(!this.dataSource)return;let l;Ee(this.dataSource)?l=this.dataSource.connect(this):(0,Y.A)(this.dataSource)?l=this.dataSource:Array.isArray(this.dataSource)&&(l=(0,ie.of)(this.dataSource)),this._renderChangeSubscription=l.pipe((0,zn.Q)(this._onDestroy)).subscribe(g=>{this._data=g||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((l,g)=>this._renderRow(this._headerRowOutlet,l,g)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((l,g)=>this._renderRow(this._footerRowOutlet,l,g)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(l,g){const P=Array.from(g.columns||[]).map(qe=>this._columnDefsByName.get(qe)),Q=P.map(qe=>qe.sticky),fe=P.map(qe=>qe.stickyEnd);this._stickyStyler.updateStickyColumns(l,Q,fe,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(l){const g=[];for(let P=0;P<l.viewContainer.length;P++){const Q=l.viewContainer.get(P);g.push(Q.rootNodes[0])}return g}_getRowDefs(l,g){if(1==this._rowDefs.length)return[this._rowDefs[0]];let P=[];if(this.multiTemplateDataRows)P=this._rowDefs.filter(Q=>!Q.when||Q.when(g,l));else{let Q=this._rowDefs.find(fe=>fe.when&&fe.when(g,l))||this._defaultRowDef;Q&&P.push(Q)}return P}_getEmbeddedViewArgs(l,g){return{templateRef:l.rowDef.template,context:{$implicit:l.data},index:g}}_renderRow(l,g,P,Q={}){const fe=l.viewContainer.createEmbeddedView(g.template,Q,P);return this._renderCellTemplateForItem(g,Q),fe}_renderCellTemplateForItem(l,g){for(let P of this._getCellTemplates(l))Pn.mostRecentCellOutlet&&Pn.mostRecentCellOutlet._viewContainer.createEmbeddedView(P,g);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const l=this._rowOutlet.viewContainer;for(let g=0,P=l.length;g<P;g++){const fe=l.get(g).context;fe.count=P,fe.first=0===g,fe.last=g===P-1,fe.even=g%2==0,fe.odd=!fe.even,this.multiTemplateDataRows?(fe.dataIndex=this._renderRows[g].dataIndex,fe.renderIndex=g):fe.index=this._renderRows[g].dataIndex}}_getCellTemplates(l){return l&&l.columns?Array.from(l.columns,g=>{const P=this._columnDefsByName.get(g);return l.extractCellTemplate(P)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const l=(g,P)=>g||P.hasStickyChanged();this._headerRowDefs.reduce(l,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(l,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(l,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Wi(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,ie.of)()).pipe((0,zn.Q)(this._onDestroy)).subscribe(g=>{this._stickyStyler.direction=g,this.updateStickyColumnStyles()})}_getOwnDefs(l){return l.filter(g=>!g._table||g._table===this)}_updateNoDataRow(){const l=this._customNoDataRow||this._noDataRow;if(!l)return;const g=0===this._rowOutlet.viewContainer.length;if(g===this._isShowingNoDataRow)return;const P=this._noDataRowOutlet.viewContainer;if(g){const Q=P.createEmbeddedView(l.templateRef),fe=Q.rootNodes[0];1===Q.rootNodes.length&&fe?.nodeType===this._document.ELEMENT_NODE&&(fe.setAttribute("role","row"),fe.classList.add(l._contentClassName))}else P.clear();this._isShowingNoDataRow=g,this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r._q3),r.rXU(r.gRc),r.rXU(r.aKT),r.kS0("role"),r.rXU(lt,8),r.rXU(x.qQ),r.rXU(j),r.rXU(Te),r.rXU(Ni),r.rXU(jn),r.rXU(N,12),r.rXU(r.SKi,8))}}static{this.\u0275cmp=r.VBU({type:p,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(g,P,Q){if(1&g&&(r.wni(Q,Ai,5),r.wni(Q,kt,5),r.wni(Q,ei,5),r.wni(Q,hn,5),r.wni(Q,Rn,5)),2&g){let fe;r.mGM(fe=r.lsd())&&(P._noDataRow=fe.first),r.mGM(fe=r.lsd())&&(P._contentColumnDefs=fe),r.mGM(fe=r.lsd())&&(P._contentRowDefs=fe),r.mGM(fe=r.lsd())&&(P._contentHeaderRowDefs=fe),r.mGM(fe=r.lsd())&&(P._contentFooterRowDefs=fe)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(g,P){2&g&&r.AVh("cdk-table-fixed-layout",P.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",r.L39],fixedLayout:[2,"fixedLayout","fixedLayout",r.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[r.Jv_([{provide:ne,useExisting:p},{provide:Te,useClass:He},{provide:Ni,useClass:mo},{provide:N,useValue:null}]),r.GFd,r.aNF],ngContentSelectors:Mi,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(g,P){1&g&&(r.NAR(wi),r.SdG(0),r.SdG(1,1),r.DNE(2,En,1,0)(3,Jn,7,0)(4,he,4,0)),2&g&&(r.R7$(2),r.vxM(P._isServer?2:-1),r.R7$(),r.vxM(P._isNativeHtmlTable?3:4))},dependencies:[ue,X,xe,be],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}}return p})();function Gt(p,A){return p.concat(Array.from(A))}function Xt(p,A){const l=A.toUpperCase();let g=p.viewContainer.element.nativeElement;for(;g;){const P=1===g.nodeType?g.nodeName:null;if(P===l)return g;if("TABLE"===P)break;g=g.parentNode}return null}let I=(()=>{class p{static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275mod=r.$C({type:p})}static{this.\u0275inj=r.G2t({imports:[Yn]})}}return p})();var _e=O(5992);O(7410),O(7376);const Jt=["*"];function sr(p,A){if(1&p&&(r.j41(0,"span",3),r.nrm(1,"span",4),r.j41(2,"span",5),r.EFF(3),r.k0s()()),2&p){const l=r.XpG();r.Mz_("id","",l.id,"-spinner"),r.R7$(),r.HbH(l.spinnerCssClass),r.R7$(2),r.JRh(l.locale.maketext("Loading \u2026"))}}function Er(p,A){1&p&&r.SdG(0,0,["*ngIf","!showSpinner"])}const qi=[[["","multiactions",""]],[["","empty-table-svg",""]],[["","empty-table-message",""]],[["","empty-search-results-message",""]],[["","empty-table-message",""]],[["","empty-search-results-message",""]]],oo=["[multiactions]","[empty-table-svg]","[empty-table-message]","[empty-search-results-message]","[empty-table-message]","[empty-search-results-message]"],hi=(p,A,l)=>({"table-bulk-actionable":p,"table-actionable":A,"table-expandable":l}),ro=p=>({$implicit:p});function Zr(p,A){if(1&p&&(r.qex(0),r.j41(1,"div",20)(2,"div",21),r.EFF(3),r.k0s(),r.j41(4,"div",22),r.SdG(5),r.k0s()(),r.bVm()),2&p){const l=r.XpG();r.R7$(3),r.Lme(" ",null==l.selection||null==l.selection.selected?null:l.selection.selected.length," ",l.locale.maketext("items selected")," ")}}function Fi(p,A){if(1&p){const l=r.RV6();r.j41(0,"th",23)(1,"input",24),r.bIt("change",function(P){r.eBV(l);const Q=r.XpG();return P&&Q.toggleAllRows(),r.Njj(Q.onSelectionChange())}),r.k0s()()}if(2&p){const l=r.XpG();r.R7$(),r.Y8G("indeterminate",l.selection.hasValue()&&!l.isAllSelected())("checked",l.selection.hasValue()&&l.isAllSelected()),r.BMQ("aria-label",l.checkboxLabel())}}function Pi(p,A){if(1&p){const l=r.RV6();r.j41(0,"td",25)(1,"input",26),r.bIt("click",function(P){return r.eBV(l),r.Njj(P.stopPropagation())})("change",function(P){const Q=r.eBV(l).$implicit,fe=r.XpG();return P&&fe.selection.toggle(Q),r.Njj(fe.onSelectionChange())}),r.k0s()()}if(2&p){const l=A.$implicit,g=r.XpG();r.R7$(),r.Y8G("checked",g.selection.isSelected(l)),r.BMQ("aria-label",g.checkboxLabel(l))}}function Yr(p,A){if(1&p&&(r.j41(0,"th",27)(1,"span",28),r.EFF(2),r.k0s()()),2&p){const l=r.XpG();r.R7$(2),r.JRh(l.locale.maketext("Expand/Collapse"))}}function vn(p,A){if(1&p){const l=r.RV6();r.j41(0,"td",29),r.bIt("click",function(P){const Q=r.eBV(l).$implicit;return r.XpG().expandedRows.toggle(Q),r.Njj(P.stopPropagation())}),r.k0s()}if(2&p){const l=A.$implicit,g=r.XpG();r.BMQ("aria-expanded",g.expandedRows.isSelected(l))}}function Xo(p,A){1&p&&(r.qex(0),r.j41(1,"p")(2,"strong"),r.EFF(3,"Attention Developer"),r.k0s()(),r.j41(4,"p"),r.EFF(5," This table has no defined template for expandable rows. "),r.k0s(),r.j41(6,"p"),r.EFF(7," Either define the row template or set expandableRows to false. "),r.k0s(),r.bVm())}function Qo(p,A){}function Ut(p,A){if(1&p&&r.DNE(0,Qo,0,0,"ng-template",32),2&p){const l=r.XpG().$implicit,g=r.XpG();r.Y8G("ngTemplateOutlet",g.expandContentTemplate)("ngTemplateOutletContext",r.eq3(2,ro,l))}}function _s(p,A){if(1&p&&(r.j41(0,"td",30)(1,"div"),r.DNE(2,Xo,8,0,"ng-container",31)(3,Ut,1,4,"ng-template",null,0,r.C5r),r.k0s()()),2&p){const l=r.sdS(4),g=r.XpG();r.BMQ("colspan",g.displayedColumns.length),r.R7$(2),r.Y8G("ngIf",!g.expandContentTemplate)("ngIfElse",l)}}function xn(p,A){if(1&p&&r.nrm(0,"td",33),2&p){const l=r.XpG();r.BMQ("colspan",l.alignExpandedRowCol)}}function Jr(p,A){if(1&p){const l=r.RV6();r.j41(0,"th",37),r.bIt("click",function(){r.eBV(l);const P=r.XpG().$implicit,Q=r.XpG();return r.Njj(Q.changeSort(P))}),r.j41(1,"span",38),r.EFF(2),r.k0s()()}if(2&p){let l;const g=r.XpG().$implicit,P=r.XpG();r.AVh("table-col-sortable",g.options.isSortable)("table-col-sorted-desc",P.showSortDesc(g))("table-col-sorted-asc",P.showSortAsc(g))("d-none",!g.options.isResponsive)("d-sm-table-cell",!g.options.isResponsive),r.R7$(2),r.SpI("",null!==(l=g.options.displayValue)&&void 0!==l?l:g.value," ")}}function Cs(p,A){if(1&p&&(r.qex(0),r.EFF(1),r.bVm()),2&p){const l=r.XpG().$implicit,g=r.XpG().$implicit;r.R7$(),r.SpI(" ",l[g.value]," ")}}function es(p,A){}function Zo(p,A){if(1&p&&r.DNE(0,es,0,0,"ng-template",32),2&p){const l=r.XpG().$implicit,g=r.XpG().$implicit;r.Y8G("ngTemplateOutlet",g.options.customCellTemplate)("ngTemplateOutletContext",r.eq3(2,ro,l[g.value]))}}function tt(p,A){if(1&p&&(r.j41(0,"td",33),r.DNE(1,Cs,2,1,"ng-container",31)(2,Zo,1,4,"ng-template",null,1,r.C5r),r.k0s()),2&p){const l=r.sdS(3),g=r.XpG().$implicit;r.AVh("d-none",!g.options.isResponsive)("d-sm-table-cell",!g.options.isResponsive),r.R7$(),r.Y8G("ngIf",!g.options.customCellTemplate)("ngIfElse",l)}}function so(p,A){if(1&p&&(r.qex(0)(1,34),r.DNE(2,Jr,3,11,"th",35)(3,tt,4,6,"td",36),r.bVm()()),2&p){const l=A.$implicit;r.R7$(),r.FS9("cdkColumnDef",l.value)}}function ii(p,A){1&p&&r.nrm(0,"tr",39)}function qs(p,A){if(1&p&&r.nrm(0,"tr",40),2&p){const l=A.$implicit,g=r.XpG();r.AVh("selected",g.selection.isSelected(l))("table-row-expandable",g.hasExpandContent)}}function vs(p,A){if(1&p&&r.nrm(0,"tr",42),2&p){const l=A.$implicit,g=r.XpG(2);r.AVh("selected",g.selection.isSelected(l))("is-expanded",g.expandedRows.isSelected(l)),r.Y8G("@expandCollapse",g.expandedRows.isSelected(l)?"expanded":"collapsed")}}function Sa(p,A){if(1&p&&(r.qex(0),r.DNE(1,vs,1,5,"tr",41),r.bVm()),2&p){const l=r.XpG();r.R7$(),r.Y8G("cdkRowDefColumns",l.expandedRowdisplayedColumns)}}function Li(p,A){1&p&&(r.qex(0),r.j41(1,"div",45),r.nrm(2,"cp-empty-table-svg"),r.k0s(),r.bVm())}function Ks(p,A){1&p&&(r.j41(0,"div",48,3),r.SdG(2,2),r.k0s())}function w(p,A){1&p&&(r.j41(0,"div",48,3),r.SdG(2,3),r.k0s())}function M(p,A){1&p&&(r.j41(0,"div",49,3),r.SdG(2,4),r.k0s())}function C(p,A){1&p&&(r.j41(0,"div",48,3),r.SdG(2,5),r.k0s())}function T(p,A){if(1&p&&(r.qex(0),r.j41(1,"div",48),r.EFF(2),r.k0s(),r.bVm()),2&p){const l=r.XpG(3);r.R7$(2),r.SpI(" ",l.localizedEmptyRowMessage," ")}}function J(p,A){if(1&p&&(r.j41(0,"tr")(1,"td")(2,"div",44),r.eu8(3),r.j41(4,"div",45,2),r.SdG(6,1),r.k0s(),r.DNE(7,Li,3,0,"ng-container",5),r.qex(8),r.DNE(9,Ks,3,0,"div",46)(10,w,3,0,"div",46),r.bVm(),r.qex(11),r.DNE(12,M,3,0,"div",47)(13,C,3,0,"div",46),r.bVm(),r.DNE(14,T,3,1,"ng-container",5),r.k0s()()()),2&p){const l=r.sdS(5),g=r.XpG(2);r.R7$(),r.BMQ("colspan",g.displayedColumns.length),r.R7$(6),r.Y8G("ngIf",0===l.childNodes.length),r.R7$(2),r.Y8G("ngIf",!g.searchString),r.R7$(),r.Y8G("ngIf",!!g.searchString),r.R7$(2),r.Y8G("ngIf",!g.searchString),r.R7$(),r.Y8G("ngIf",!!g.searchString),r.R7$(),r.Y8G("ngIf",0===(null==g.emptyMessageRef||null==g.emptyMessageRef.childNodes?null:g.emptyMessageRef.childNodes.length))}}function Qe(p,A){1&p&&r.DNE(0,J,15,7,"ng-template",43)}const yt=[[["","search-component",""]],[["","add-button",""]],[["","table-component",""]],[["","paginator-component",""]]],rn=["[search-component]","[add-button]","[table-component]","[paginator-component]"];function Ke(p,A){if(1&p&&(r.j41(0,"option",13),r.EFF(1),r.k0s()),2&p){const l=A.$implicit;r.Y8G("value",l),r.R7$(),r.SpI(" ",l," ")}}function ys(p,A){if(1&p){const l=r.RV6();r.qex(0),r.j41(1,"div",11)(2,"label",12),r.EFF(3),r.k0s(),r.j41(4,"select",5),r.mxI("ngModelChange",function(P){r.eBV(l);const Q=r.XpG(2);return r.DH7(Q.currentPageSize,P)||(Q.currentPageSize=P),r.Njj(P)}),r.bIt("ngModelChange",function(){r.eBV(l);const P=r.XpG(2);return r.Njj(P.onPageSizeChange())}),r.DNE(5,Ke,2,2,"option",6),r.k0s()(),r.bVm()}if(2&p){const l=r.XpG(2);r.R7$(2),r.Y8G("for",l.itemsPerPageSelectId),r.R7$(),r.SpI(" ",l.pageSizeLabel," "),r.R7$(),r.Mz_("id","",l.id,"_pageSize"),r.R50("ngModel",l.currentPageSize),r.BMQ("disabled",l.pageInputDisabled),r.R7$(),r.Y8G("ngForOf",l.pageSizeOptions)}}function El(p,A){if(1&p&&(r.j41(0,"option",13),r.EFF(1),r.k0s()),2&p){const l=A.$implicit;r.Y8G("value",l),r.R7$(),r.SpI(" ",l," ")}}function Sl(p,A){if(1&p){const l=r.RV6();r.j41(0,"div",1),r.DNE(1,ys,6,7,"ng-container",2),r.j41(2,"div",3),r.EFF(3),r.k0s(),r.j41(4,"div",4)(5,"select",5),r.mxI("ngModelChange",function(P){r.eBV(l);const Q=r.XpG();return r.DH7(Q.currentPage,P)||(Q.currentPage=P),r.Njj(P)}),r.bIt("ngModelChange",function(){r.eBV(l);const P=r.XpG();return r.Njj(P.onPaginationChange())}),r.DNE(6,El,2,2,"option",6),r.k0s(),r.j41(7,"span"),r.EFF(8),r.k0s()(),r.j41(9,"button",7),r.bIt("click",function(){r.eBV(l);const P=r.XpG();return r.Njj(P.setCurrentPageToPrevious())}),r.nrm(10,"i",8),r.k0s(),r.j41(11,"button",9),r.bIt("click",function(){r.eBV(l);const P=r.XpG();return r.Njj(P.setCurrentPageToNext())}),r.nrm(12,"i",10),r.k0s()()}if(2&p){const l=r.XpG();r.FS9("id",l.id),r.R7$(),r.Y8G("ngIf",l.showPageSize),r.R7$(2),r.JRh(l.paginationItemsText),r.R7$(2),r.Mz_("id","",l.id,"_pagination"),r.R50("ngModel",l.currentPage),r.R7$(),r.Y8G("ngForOf",l.pageOptions),r.R7$(2),r.SpI(" ",l.ofLastPagesText," "),r.R7$(),r.BMQ("disabled",l.previousPageDisabled),r.R7$(2),r.Y8G("disabled",l.nextPageDisabled)}}class _o{static{this.truncateText=!0}static{this.defaultAutoClosePeriod=0}static{this.defaultOptions={autoClosePeriod:_o.defaultAutoClosePeriod,list:[]}}constructor(A,l,g=_o.defaultOptions){this._message=A,this._type=l;const P=g.id?g.id:Math.random().toString(36).substr(2,9);this._id=P,this._closable=null==g.isCloseable||g.isCloseable,this._autoClosePeriod=g.autoClosePeriod,this._list=g.list,this._truncateText=null!==g.truncateText?g.truncateText:_o.truncateText,this._ts=null==g.createdOn?Date.now():g.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 truncateText(){return this._truncateText}static makeNotification(A){const{message:l,type:g,...P}=A;return new _o(l,g,P)}}let os=(()=>{class p{constructor(l,g=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(g),this.selectorName=l.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach(l=>{if(!this[l])throw new Error(`"${l}" must be defined for "${this.selectorName}"`)}),this._initiate()}_initiate(){}static{this.\u0275fac=function(g){r.QTQ()}}static{this.\u0275dir=r.FsC({type:p,inputs:{id:"id"}})}}return p})();var hr=function(p){return p.loading="loading",p.disabled="disabled",p.enabled="enabled",p}(hr||{}),fn=function(p){return p.primary="primary",p.secondary="secondary",p.accentPrimary="accent-primary",p.accentSecondary="accent-secondary",p.dangerPrimary="danger-primary",p.dangerSecondary="danger-secondary",p.link="link",p.iconLink="icon-link",p}(fn||{});let fr=(()=>{class p extends os{constructor(l,g){super(g),this.locale=l,this.elementRef=g,this.btnClick=new r.bkB,this.type="button",this.cssClass="",this.spinnerCssClass="spinner-border spinner-border-sm",this.isDisabled=!1,this.showSpinner=!1,this.btnVariantClass="",this.btnVariantClass||(this.btnVariantClass="btn btn-primary")}set buttonState(l){switch(l){case hr.enabled:this.setToEnabled();break;case hr.loading:this.setToLoading();break;case hr.disabled:this.setToDisable()}}set buttonVariant(l){this.setButtonVariant(l)}onClick(l){l.stopPropagation(),this.btnClick.emit()}setButtonVariant(l){switch(this.btnVariantClass="",l){case fn.primary:this.btnVariantClass="btn btn-primary";break;case fn.secondary:this.btnVariantClass="btn btn-outline-primary";break;case fn.accentPrimary:this.btnVariantClass="btn btn-accent";break;case fn.accentSecondary:this.btnVariantClass="btn btn-outline-accent";break;case fn.dangerPrimary:this.btnVariantClass="btn btn-danger";break;case fn.dangerSecondary:this.btnVariantClass="btn btn-outline-danger";break;case fn.link:this.btnVariantClass="btn btn-link";break;case fn.iconLink:this.btnVariantClass="btn icon-btn-link";break;default:this.btnVariantClass="btn btn-primary"}}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0,this.showSpinner=!1}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(B.h),r.rXU(r.aKT))}}static{this.\u0275cmp=r.VBU({type:p,selectors:[["cp-button"]],inputs:{type:"type",cssClass:"cssClass",spinnerCssClass:"spinnerCssClass",buttonState:"buttonState",buttonVariant:"buttonVariant"},outputs:{btnClick:"btnClick"},features:[r.Vt3],ngContentSelectors:Jt,decls:3,vars:10,consts:[[3,"click","id","type","ngClass","disabled"],["data-spinner","spinner",3,"id",4,"ngIf"],[4,"ngIf"],["data-spinner","spinner",3,"id"],["role","status","aria-hidden","true"],[1,"visually-hidden"]],template:function(g,P){1&g&&(r.NAR(),r.j41(0,"button",0),r.bIt("click",function(fe){return P.onClick(fe)}),r.DNE(1,sr,4,6,"span",1)(2,Er,1,0,"ng-content",2),r.k0s()),2&g&&(r.HbH(P.cssClass),r.Mz_("id","",P.id,"-button"),r.FS9("type",P.type),r.Y8G("ngClass",P.btnVariantClass)("disabled",P.isDisabled),r.R7$(),r.Y8G("ngIf",P.showSpinner),r.R7$(),r.Y8G("ngIf",!P.showSpinner))},dependencies:[x.YU,x.bT]})}}return p})(),Rs=(()=>{class p{static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275mod=r.$C({type:p})}static{this.\u0275inj=r.G2t({imports:[x.MD]})}}return p})(),No=(()=>{class p{constructor(){this.sorts=[]}getTableSortData(){return{sorts:this.sorts}}getSortColumn(){return this.sorts[0]?.column}getSortDirection(){return this.sorts[0]?.direction}sortedInAscendingOrder(){return this.sorts[0]?.direction===q.UE.Ascending}changeSort(l){const g=this.sorts?.find(P=>P.column===l);g&&(g.direction=this.changeSortDirection(g.direction)),this.setSort(l,g?.direction||q.UE.Ascending)}setSort(l,g){this.sorts=[new q.FU(l,g)]}changeSortDirection(l){return l===q.UE.Ascending?q.UE.Descending:q.UE.Ascending}matchSelectedRows(l,g,P,Q="id"){const fe=[];for(const qe of l.values()){const Ye=qe[Q];g.find(Wt=>Wt[Q]===Ye)||fe.push(qe)}if(l.clear(),fe.length>0)for(const qe of fe)l.set(qe[Q],qe);for(const qe of P)l.set(qe[Q],qe);return l}inPageSelectedRows(l,g,P="id"){const Q=[];for(const fe of Array.from(l.values())){const qe=fe[P],Ye=g.find($t=>$t[P]===qe);Ye&&Q.push(Ye)}return Q}static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275prov=r.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),ao=(()=>{class p{constructor(l,g,P){this.el=l,this.renderer=g,this.locale=P,this.loadingText=this.locale.maketext("Loading \u2026"),this.overlay=this.renderer.createElement("div"),this.spinner=this.renderer.createElement("div"),this.renderer.addClass(this.el.nativeElement,"loading-host-container"),this.renderer.addClass(this.overlay,"loading-overlay"),this.spinner.innerHTML=`\n            <div class="overlay-content d-flex justify-content-center text-primary">\n                <div class="spinner-border" role="status">\n                <span class="visually-hidden">${this.loadingText}</span>\n                </div>\n            </div>\n        `,this.renderer.appendChild(this.overlay,this.spinner),this.renderer.setStyle(this.el.nativeElement,"position","relative")}ngOnChanges(){this.isLoading?(this.renderer.appendChild(this.el.nativeElement,this.overlay),this.renderer.setAttribute(this.el.nativeElement,"aria-busy","true"),this.disableTabbing()):(this.el.nativeElement.contains(this.overlay)&&this.renderer.removeChild(this.el.nativeElement,this.overlay),this.renderer.removeAttribute(this.el.nativeElement,"aria-busy"),this.enableTabbing())}disableTabbing(){this.focusableElements=this.el.nativeElement.querySelectorAll("a, button, input, textarea, select, details, [tabindex]"),this.focusableElements?.forEach(l=>{this.renderer.setAttribute(l,"data-tabindex",l.tabIndex.toString()),this.renderer.setAttribute(l,"tabindex","-1")})}enableTabbing(){this.focusableElements?.forEach(l=>{const g=l.getAttribute("data-tabindex");null!==g?(this.renderer.setAttribute(l,"tabindex",g),this.renderer.removeAttribute(l,"data-tabindex")):this.renderer.removeAttribute(l,"tabindex")})}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.aKT),r.rXU(r.sFG),r.rXU(B.h))}}static{this.\u0275dir=r.FsC({type:p,selectors:[["","cpLoading",""]],inputs:{isLoading:[0,"cpLoading","isLoading"],loadingText:"loadingText"},features:[r.OA$]})}}return p})(),Yo=(()=>{class p{static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275cmp=r.VBU({type:p,selectors:[["cp-empty-table-svg"]],decls:19,vars:0,consts:[["width","371","height","357","viewBox","0 0 371 357","fill","none","xmlns","http://www.w3.org/2000/svg",1,"empty-table-svg"],["d","M204.885 128.097H125.143C123.398 128.102 121.674 127.709 120.103 126.948C118.532 126.187 117.155 125.077 116.078 123.704C114.981 122.317 114.214 120.699 113.837 118.971C113.46 117.244 113.482 115.453 113.901 113.736C121.251 82.9527 121.25 50.8719 113.901 20.0888C113.482 18.3713 113.46 16.5808 113.837 14.8536C114.214 13.1264 114.981 11.508 116.077 10.1215C117.155 8.74796 118.532 7.63827 120.103 6.87692C121.674 6.11557 123.398 5.72262 125.143 5.72799H204.885C207.638 5.7359 210.299 6.72083 212.394 8.50735C214.489 10.2939 215.881 12.766 216.324 15.4834C221.572 49.5687 221.572 84.2565 216.324 118.342C215.881 121.059 214.489 123.531 212.394 125.318C210.299 127.104 207.638 128.089 204.885 128.097Z","fill","#99B1DB"],["d","M125.143 11.728C124.305 11.7252 123.477 11.9136 122.722 12.279C121.968 12.6443 121.307 13.177 120.789 13.8364C120.256 14.512 119.884 15.3003 119.701 16.1414C119.519 16.9824 119.53 17.854 119.735 18.6899C127.304 50.3928 127.305 83.4323 119.736 115.135C119.53 115.971 119.519 116.842 119.701 117.683C119.884 118.524 120.256 119.312 120.789 119.988C121.306 120.647 121.968 121.181 122.722 121.546C123.477 121.911 124.305 122.1 125.143 122.097H204.885C206.207 122.098 207.486 121.629 208.495 120.774C209.504 119.919 210.177 118.734 210.394 117.43C215.548 83.949 215.548 49.8761 210.394 16.395C210.177 15.0907 209.504 13.9057 208.495 13.0511C207.486 12.1964 206.207 11.7275 204.885 11.728L125.143 11.728Z","fill","white"],["d","M187.483 59.2045H145.638C144.048 59.2028 142.523 58.5701 141.398 57.4453C140.273 56.3205 139.64 54.7954 139.639 53.2047V50.8601C139.64 49.2694 140.273 47.7443 141.398 46.6195C142.523 45.4947 144.048 44.8621 145.638 44.8604H187.483C189.074 44.8621 190.599 45.4947 191.724 46.6195C192.849 47.7443 193.481 49.2694 193.483 50.8601V53.2047C193.481 54.7954 192.849 56.3205 191.724 57.4453C190.599 58.5701 189.074 59.2028 187.483 59.2045Z","fill","#99B1DB"],["d","M187.483 88.8305H145.638C144.048 88.8287 142.523 88.1961 141.398 87.0713C140.273 85.9465 139.64 84.4214 139.639 82.8307V80.4861C139.64 78.8954 140.273 77.3703 141.398 76.2455C142.523 75.1207 144.048 74.4881 145.638 74.4863H187.483C189.074 74.4881 190.599 75.1207 191.724 76.2455C192.849 77.3703 193.481 78.8954 193.483 80.4861V82.8307C193.481 84.4214 192.849 85.9465 191.724 87.0713C190.599 88.1961 189.074 88.8287 187.483 88.8305Z","fill","#99B1DB"],["d","M354.885 204.097H275.143C273.398 204.102 271.674 203.709 270.103 202.948C268.532 202.187 267.155 201.077 266.078 199.704C264.981 198.317 264.214 196.699 263.837 194.971C263.46 193.244 263.482 191.453 263.901 189.736C271.251 158.953 271.25 126.872 263.901 96.0888C263.482 94.3713 263.46 92.5808 263.837 90.8536C264.214 89.1264 264.981 87.508 266.077 86.1215C267.155 84.7479 268.532 83.6382 270.103 82.8769C271.674 82.1155 273.398 81.7226 275.143 81.728H354.885C357.638 81.7359 360.299 82.7208 362.394 84.5073C364.489 86.2938 365.881 88.7659 366.324 91.4833C371.572 125.569 371.572 160.256 366.324 194.342C365.881 197.059 364.489 199.531 362.394 201.318C360.299 203.104 357.638 204.089 354.885 204.097Z","fill","#99B1DB"],["d","M275.143 87.728C274.305 87.7252 273.477 87.9136 272.722 88.279C271.968 88.6443 271.307 89.177 270.789 89.8364C270.256 90.512 269.884 91.3003 269.701 92.1414C269.519 92.9824 269.53 93.854 269.735 94.6899C277.304 126.393 277.305 159.432 269.736 191.135C269.53 191.971 269.519 192.842 269.701 193.683C269.884 194.524 270.256 195.312 270.789 195.988C271.306 196.647 271.968 197.181 272.722 197.546C273.477 197.911 274.305 198.1 275.143 198.097H354.885C356.207 198.098 357.486 197.629 358.495 196.774C359.504 195.919 360.177 194.734 360.394 193.43C365.548 159.949 365.548 125.876 360.394 92.395C360.177 91.0907 359.504 89.9057 358.495 89.0511C357.486 88.1964 356.207 87.7275 354.885 87.728L275.143 87.728Z","fill","white"],["d","M195.885 290.597H116.143C114.322 290.603 112.523 290.193 110.884 289.398C109.245 288.604 107.809 287.446 106.685 286.013C105.541 284.567 104.742 282.88 104.349 281.079C103.955 279.277 103.978 277.41 104.415 275.619C111.746 244.913 111.746 212.912 104.415 182.206C103.978 180.415 103.955 178.547 104.348 176.746C104.742 174.945 105.541 173.258 106.685 171.812C107.809 170.379 109.245 169.221 110.884 168.427C112.523 167.633 114.322 167.223 116.143 167.228H195.885C198.757 167.237 201.533 168.264 203.719 170.129C205.904 171.993 207.357 174.572 207.818 177.407C213.074 211.543 213.074 246.282 207.818 280.418C207.357 283.253 205.904 285.832 203.719 287.697C201.533 289.561 198.757 290.589 195.885 290.597Z","fill","#99B1DB"],["d","M339.483 135.579H297.638C296.048 135.577 294.523 134.944 293.398 133.819C292.273 132.695 291.64 131.169 291.639 129.579V127.234C291.64 125.643 292.273 124.118 293.398 122.994C294.523 121.869 296.048 121.236 297.638 121.234H339.483C341.074 121.236 342.599 121.869 343.724 122.994C344.849 124.118 345.481 125.643 345.483 127.234V129.579C345.481 131.17 344.849 132.695 343.724 133.819C342.599 134.944 341.074 135.577 339.483 135.579Z","fill","#99B1DB"],["d","M339.483 165.204H297.638C296.048 165.203 294.523 164.57 293.398 163.445C292.273 162.32 291.64 160.795 291.639 159.205V156.86C291.64 155.269 292.273 153.744 293.398 152.62C294.523 151.495 296.048 150.862 297.638 150.86H339.483C341.074 150.862 342.599 151.495 343.724 152.62C344.849 153.744 345.481 155.269 345.483 156.86V159.205C345.481 160.795 344.849 162.32 343.724 163.445C342.599 164.57 341.074 165.203 339.483 165.204Z","fill","#99B1DB"],["d","M160.237 252.5C172.94 252.5 183.237 242.203 183.237 229.5C183.237 216.797 172.94 206.5 160.237 206.5C147.534 206.5 137.237 216.797 137.237 229.5C137.237 242.203 147.534 252.5 160.237 252.5Z","fill","white"],["d","M171.237 226.5H163.237V218.5C163.237 217.704 162.921 216.941 162.358 216.379C161.796 215.816 161.033 215.5 160.237 215.5C159.441 215.5 158.678 215.816 158.116 216.379C157.553 216.941 157.237 217.704 157.237 218.5V226.5H149.237C148.441 226.5 147.678 226.816 147.116 227.379C146.553 227.941 146.237 228.704 146.237 229.5C146.237 230.296 146.553 231.059 147.116 231.621C147.678 232.184 148.441 232.5 149.237 232.5H157.237V240.5C157.237 241.296 157.553 242.059 158.116 242.621C158.678 243.184 159.441 243.5 160.237 243.5C161.033 243.5 161.796 243.184 162.358 242.621C162.921 242.059 163.237 241.296 163.237 240.5V232.5H171.237C172.033 232.5 172.796 232.184 173.358 231.621C173.921 231.059 174.237 230.296 174.237 229.5C174.237 228.704 173.921 227.941 173.358 227.379C172.796 226.816 172.033 226.5 171.237 226.5Z","fill","#99B1DB"],["d","M185.237 17H143.237C142.044 16.9987 140.9 16.5241 140.057 15.6805C139.213 14.8369 138.738 13.6931 138.737 12.5V4.5C138.738 3.30694 139.213 2.16313 140.057 1.3195C140.9 0.475881 142.044 0.00134456 143.237 0H185.237C186.43 0.00134456 187.574 0.475881 188.418 1.3195C189.261 2.16313 189.736 3.30694 189.737 4.5V12.5C189.736 13.6931 189.261 14.8369 188.418 15.6805C187.574 16.5241 186.43 16.9987 185.237 17Z","fill","#99B1DB"],["d","M337.237 94H295.237C294.044 93.9987 292.9 93.5241 292.057 92.6805C291.213 91.8369 290.738 90.6931 290.737 89.5V81.5C290.738 80.3069 291.213 79.1631 292.057 78.3195C292.9 77.4759 294.044 77.0013 295.237 77H337.237C338.43 77.0013 339.574 77.4759 340.418 78.3195C341.261 79.1631 341.736 80.3069 341.737 81.5V89.5C341.736 90.6931 341.261 91.8369 340.418 92.6805C339.574 93.5241 338.43 93.9987 337.237 94Z","fill","#99B1DB"],["d","M81.5033 355.982L7.86494 325.387C6.2508 324.722 4.80959 323.698 3.65098 322.392C2.49237 321.086 1.64688 319.533 1.17884 317.851C0.697663 316.15 0.611012 314.361 0.925454 312.622C1.2399 310.882 1.94715 309.237 2.99339 307.811C21.5912 282.204 33.9 252.578 38.9238 221.331C39.1958 219.585 39.8627 217.923 40.8738 216.473C41.8848 215.022 43.2133 213.822 44.7582 212.962C46.2803 212.107 47.9774 211.611 49.7203 211.51C51.4631 211.41 53.2059 211.709 54.816 212.383L128.454 242.979C130.994 244.043 133.073 245.973 134.322 248.427C135.571 250.88 135.909 253.697 135.275 256.377C127.043 289.867 113.734 321.9 95.8098 351.363C94.3586 353.702 92.124 355.451 89.504 356.297C86.884 357.143 84.0488 357.032 81.5033 355.982Z","fill","#99B1DB"],["d","M52.5139 217.924C51.7408 217.6 50.9039 217.456 50.0669 217.504C49.2299 217.552 48.4148 217.79 47.6837 218.2C46.9321 218.62 46.2861 219.205 45.7948 219.912C45.3035 220.618 44.9799 221.428 44.8484 222.278C39.6745 254.459 26.9979 284.97 7.84433 311.342C7.33427 312.035 6.98904 312.835 6.8349 313.682C6.68077 314.529 6.72179 315.399 6.95487 316.227C7.17976 317.035 7.58624 317.781 8.14282 318.408C8.69941 319.035 9.39169 319.527 10.167 319.846L83.8054 350.442C85.0262 350.949 86.3876 351.007 87.6471 350.605C88.9067 350.203 89.9825 349.367 90.6832 348.246C108.29 319.305 121.363 287.84 129.449 254.943C129.749 253.655 129.582 252.303 128.979 251.127C128.375 249.95 127.373 249.027 126.152 248.52L52.5139 217.924Z","fill","white"],["d","M92.7233 287.031L54.0809 270.976C52.6126 270.364 51.4471 269.195 50.8399 267.725C50.2328 266.254 50.2336 264.603 50.8424 263.134L51.742 260.968C52.3539 259.5 53.5233 258.335 54.9935 257.727C56.4638 257.12 58.1149 257.121 59.5846 257.73L98.2269 273.785C99.6952 274.397 100.861 275.566 101.468 277.037C102.075 278.507 102.074 280.158 101.465 281.628L100.566 283.793C99.9539 285.261 98.7846 286.427 97.3143 287.034C95.844 287.641 94.193 287.64 92.7233 287.031Z","fill","#99B1DB"],["d","M81.3562 314.39L42.7137 298.335C41.2454 297.723 40.0799 296.553 39.4727 295.083C38.8656 293.613 38.8665 291.962 39.4752 290.492L40.3748 288.327C40.9867 286.859 42.1561 285.693 43.6264 285.086C45.0967 284.479 46.7478 284.48 48.2174 285.088L86.8598 301.144C88.3281 301.756 89.4937 302.925 90.1008 304.395C90.7079 305.865 90.7071 307.517 90.0984 308.986L89.1988 311.151C88.5868 312.62 87.4175 313.785 85.9472 314.392C84.4769 315 82.8258 314.999 81.3562 314.39Z","fill","#99B1DB"],["d","M107.207 247.582C106.629 247.582 106.056 247.469 105.52 247.251L66.582 231.509C65.4765 231.06 64.594 230.192 64.1281 229.093C63.6621 227.995 63.6509 226.757 64.0967 225.65L67.0955 218.233C67.5429 217.127 68.4115 216.244 69.5102 215.778C70.6089 215.312 71.8477 215.301 72.9541 215.749L111.892 231.491C112.998 231.94 113.88 232.808 114.346 233.906C114.812 235.005 114.823 236.243 114.377 237.35L111.379 244.767C111.042 245.597 110.465 246.309 109.722 246.81C108.979 247.312 108.104 247.58 107.207 247.582Z","fill","#99B1DB"]],template:function(g,P){1&g&&(r.qSk(),r.j41(0,"svg",0),r.nrm(1,"path",1)(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7)(8,"path",8)(9,"path",9)(10,"path",10)(11,"path",11)(12,"path",12)(13,"path",13)(14,"path",14)(15,"path",15)(16,"path",16)(17,"path",17)(18,"path",18),r.k0s())}})}}return p})(),Ki=(()=>{class p{constructor(l,g){this.locale=l,this.tableUtils=g,this.dataList=[],this.dataColumns=[],this.hasBulkActions=!1,this.hasExpandContent=!1,this.alignExpandedRowCol=0,this.selectedRowsOnPage=[],this.isLoading=!1,this.loadingText=this.locale.maketext("Loading \u2026"),this.sortChanged=new r.bkB,this.selectionChange=new r.bkB,this.displayedColumns=[],this.hasActions=!1,this.selection=new bt(!0,[]),this.expandedRows=new bt(!0,[]),this.localizedEmptyRowMessage=this.locale.maketext("You have not created any records."),this.expandedRowdisplayedColumns=["expandedDetailAlignment","expandedDetail"]}isAllSelected(){const l=this.selection?.selected?.length,g=this.dataSource$?.data?.value?.length;return l===g}toggleAllRows(){this.isAllSelected()?this.selection.clear():this.selection.select(...this.dataSource$.data.value)}checkboxLabel(l){const g=this.locale.maketext("select"),P=this.locale.maketext("deselect");return l?`${this.selection.isSelected(l)?P:g} ${this.locale.maketext("row")}`:`${this.isAllSelected()?P:g} ${this.locale.maketext("all")}`}changeSort(l){l.options.isSortable&&(this.tableUtils.changeSort(l.value),this.sortChanged.emit(this.tableUtils.getTableSortData()),this.setSortMetaData())}ngOnInit(){this.dataSource$=new xi(this.dataList),this.refreshDisplayedColumns(),this.setSortMetaData(),this.expandedRowdisplayedColumns=this.alignExpandedRowCol?["expandedDetailAlignment","expandedDetail"]:["expandedDetail"]}setSortMetaData(){const l=this.tableUtils.getTableSortData();l.sorts.length>0&&(this.isSorted=!!l.sorts[0],this.isSortAscending=this.tableUtils.sortedInAscendingOrder(),this.isSortDescending=!(!this.isSorted||this.isSortAscending),this.currentSortColumn=l.sorts[0].column)}showSortAsc(l){return this.isSortAscending&&l.value===this.currentSortColumn}showSortDesc(l){return this.isSortDescending&&l.value===this.currentSortColumn}ngOnChanges(l){(l.dataColumns||l.hasBulkActions||l.hasExpandContent)&&this.refreshDisplayedColumns(),l.dataList&&!l.dataList.firstChange&&l.dataList.currentValue&&(this.dataSource$=new xi(l.dataList.currentValue)),l.selectedRowsOnPage&&!l.selectedRowsOnPage.firstChange&&(this.selection.clear(),l.selectedRowsOnPage?.currentValue?.length>0&&this.selection.select(...l.selectedRowsOnPage.currentValue))}onSelectionChange(){this.selectionChange.emit(this.selection?.selected)}clearSelection(){this.selection.clear(),this.onSelectionChange()}deselect(l){this.selection.isSelected(l)&&(this.selection.deselect(l),this.onSelectionChange())}refreshDisplayedColumns(){const l=this.dataColumns.map(g=>g.value);this.hasExpandContent&&l.unshift("expandRowCol"),this.hasBulkActions&&l.unshift("bulkActionCol"),this.displayedColumns=l,this.hasActions=this.displayedColumns.includes("actions")}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(B.h),r.rXU(No))}}static{this.\u0275cmp=r.VBU({type:p,selectors:[["cp-table"]],inputs:{dataList:"dataList",dataColumns:"dataColumns",hasBulkActions:"hasBulkActions",hasExpandContent:"hasExpandContent",expandContentTemplate:"expandContentTemplate",searchString:"searchString",alignExpandedRowCol:"alignExpandedRowCol",selectedRowsOnPage:"selectedRowsOnPage",isLoading:"isLoading",loadingText:"loadingText"},outputs:{sortChanged:"sortChanged",selectionChange:"selectionChange"},features:[r.OA$],ngContentSelectors:oo,decls:18,vars:14,consts:[["expandedCell",""],["customCellTemplate",""],["emptySvgRef",""],["emptyMessageRef",""],[3,"cpLoading","loadingText"],[4,"ngIf"],["cdk-table","","multiTemplateDataRows","",1,"table","align-middle","mb-0",3,"ngClass","dataSource"],["cdkColumnDef","bulkActionCol"],["cdk-header-cell","","class","d-none d-sm-table-cell",4,"cdkHeaderCellDef"],["cdk-cell","","class","d-none d-sm-table-cell",4,"cdkCellDef"],["cdkColumnDef","expandRowCol"],["cdk-header-cell","",4,"cdkHeaderCellDef"],["cdk-cell","","class","table-cell-expand",3,"click",4,"cdkCellDef"],["cdkColumnDef","expandedDetail"],["cdk-cell","","class","border-top-0",4,"cdkCellDef"],["cdkColumnDef","expandedDetailAlignment"],["cdk-cell","",4,"cdkCellDef"],[4,"ngFor","ngForOf"],["cdk-header-row","",4,"cdkHeaderRowDef"],["cdk-row","",3,"selected","table-row-expandable",4,"cdkRowDef","cdkRowDefColumns"],[1,"table-controls","table-bulk-action-controls","d-none","d-sm-flex"],[1,"bulk-description"],[1,"bulk-actions"],["cdk-header-cell","",1,"d-none","d-sm-table-cell"],["type","checkbox",1,"form-check-input",3,"change","indeterminate","checked"],["cdk-cell","",1,"d-none","d-sm-table-cell"],["type","checkbox",1,"form-check-input",3,"click","change","checked"],["cdk-header-cell",""],[1,"visually-hidden"],["cdk-cell","",1,"table-cell-expand",3,"click"],["cdk-cell","",1,"border-top-0"],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["cdk-cell",""],[3,"cdkColumnDef"],["cdk-header-cell","",3,"table-col-sortable","table-col-sorted-desc","table-col-sorted-asc","d-none","d-sm-table-cell","click",4,"cdkHeaderCellDef"],["cdk-cell","",3,"d-none","d-sm-table-cell",4,"cdkCellDef"],["cdk-header-cell","",3,"click"],[1,"header-cell-text"],["cdk-header-row",""],["cdk-row",""],["cdk-row","","class","example-detail-row expand-content",3,"selected","is-expanded",4,"cdkRowDef","cdkRowDefColumns"],["cdk-row","",1,"example-detail-row","expand-content"],["cdkNoDataRow",""],[1,"flex-container"],[1,"empty-table-svg"],["class","my-4 text-center",4,"ngIf"],["class","my-4",4,"ngIf"],[1,"my-4","text-center"],[1,"my-4"]],template:function(g,P){1&g&&(r.NAR(qi),r.j41(0,"div",4),r.DNE(1,Zr,6,2,"ng-container",5),r.j41(2,"table",6),r.qex(3,7),r.DNE(4,Fi,2,3,"th",8)(5,Pi,2,2,"td",9),r.bVm(),r.qex(6,10),r.DNE(7,Yr,3,1,"th",11)(8,vn,1,1,"td",12),r.bVm(),r.qex(9,13),r.DNE(10,_s,5,3,"td",14),r.bVm(),r.qex(11,15),r.DNE(12,xn,1,1,"td",16),r.bVm(),r.DNE(13,so,4,1,"ng-container",17)(14,ii,1,0,"tr",18)(15,qs,1,4,"tr",19)(16,Sa,2,1,"ng-container",5)(17,Qe,1,0,null,5),r.k0s()()),2&g&&(r.Y8G("cpLoading",P.isLoading)("loadingText",P.loadingText),r.R7$(),r.Y8G("ngIf",(null==P.selection||null==P.selection.selected?null:P.selection.selected.length)>0),r.R7$(),r.Y8G("ngClass",r.sMw(10,hi,P.hasBulkActions,P.hasActions,P.hasExpandContent))("dataSource",P.dataSource$),r.R7$(11),r.Y8G("ngForOf",P.dataColumns),r.R7$(),r.Y8G("cdkHeaderRowDef",P.displayedColumns),r.R7$(),r.Y8G("cdkRowDefColumns",P.displayedColumns),r.R7$(),r.Y8G("ngIf",P.hasExpandContent),r.R7$(),r.Y8G("ngIf",!P.isLoading))},dependencies:[x.YU,x.Sq,x.bT,x.T3,ze,ei,Ue,it,kt,Gi,Nn,Sn,ti,hn,Ai,ao,Yo],data:{animation:[(0,z.hZ)("expandCollapse",[(0,z.wk)("expanded",(0,z.iF)({height:"*",display:"table-row",opacity:1})),(0,z.wk)("collapsed",(0,z.iF)({height:"0px",display:"none",opacity:0})),(0,z.kY)("expanded <=> collapsed",[(0,z.i0)("300ms ease-in-out")])])]},changeDetection:0})}}return p})();class xi extends Oe{constructor(A){super(),this.data=new V.t(A)}connect(){return this.data}disconnect(){this.data?.complete()}}let Ao=(()=>{class p{static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275cmp=r.VBU({type:p,selectors:[["cp-table-layout"]],ngContentSelectors:rn,decls:8,vars:0,consts:[[1,"flex-container","mb-5","gap-2","d-grid-md","d-md-flex","flex-direction-md-col","btn-col-reverse-class"],[1,"col-xs-12","col-sm-12","col-md-5","col-lg-5"],[1,"col-xs-12","col-sm-12","col-md-5","col-lg-5","btn-flex-container"]],template:function(g,P){1&g&&(r.NAR(yt),r.j41(0,"div",0)(1,"div",1),r.SdG(2),r.k0s(),r.j41(3,"div",2),r.SdG(4,1),r.k0s()(),r.SdG(5,2),r.j41(6,"div"),r.SdG(7,3),r.k0s())},styles:["@media (max-width: 767.98px){.btn-col-reverse-class[_ngcontent-%COMP%]{flex-direction:column-reverse!important}}.flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}.btn-flex-container[_ngcontent-%COMP%]{flex-basis:max-content;align-content:center}"]})}}return p})(),Xi=(()=>{class p{static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275mod=r.$C({type:p})}static{this.\u0275inj=r.G2t({imports:[x.MD,H.B]})}}return p})(),Ti=(()=>{class p{static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275mod=r.$C({type:p})}static{this.\u0275inj=r.G2t({imports:[x.MD,I,_e.G.forRoot(),Xi]})}}return p})();const pr={displayValue:null,isSortable:!1,isCollapsed:!1,customCellTemplate:null};class Wc{constructor(A,l){this.value=A,this.options={...pr,...l}}printOptions(){console.table(this.options)}}let Vi=(()=>{class p extends os{constructor(l,g){super(l),this.locale=g,this.showPageSize=!0,this.pageSizeOptions=[20,50,100,500],this.totalItems=0,this.paginationDisabled=!1,this.currentPage=1,this.paginatorChange=new r.bkB,this.pageOptions=[],this.previousPageDisabled=!0,this.nextPageDisabled=!0,this.pageOptions=[],this.pageSizeLabel=this.locale.maketext("Items per page:")}ngOnInit(){this.pageOptions=this.getpageOptions(),!this.currentPageSize&&!this.pageSizeOptions.indexOf(this.currentPageSize)&&(this.currentPageSize=this.pageSizeOptions[0]),this.calculatePagination()}ngOnChanges(l){(l.currentPageSize||l.totalItems)&&(this.pageOptions=this.getpageOptions()),this.calculatePagination()}getpageOptions(){if(this.totalItems>0&&this.currentPageSize>0){const l=Math.max(1,Math.ceil(this.totalItems/this.currentPageSize));return Array.from({length:l},(g,P)=>P+1)}return[]}onPageSizeChange(){this.paginatorChange.emit({currentPage:1,pageSize:this.currentPageSize})}onPaginationChange(){this.paginatorChange.emit({currentPage:this.currentPage,pageSize:this.currentPageSize})}getpaginationItemsText(){const g=1*this.currentPageSize,Q=(1*this.currentPage-1)*g+1,fe=Math.min(Q+g-1,1*this.totalItems);return this.locale.maketext(this.totalItems>1?"[numf,_1] - [numf,_2] of [numf,_3] items":"[numf,_1] - [numf,_2] of [numf,_3] item",Q,fe,this.totalItems)}getOfLastPageText(){return this.locale.maketext(this.lastPage<=1?"of [numf,_1] page":"of [numf,_1] pages",this.lastPage)}getlastPage(){return Math.max(1,Math.ceil(this.totalItems/this.currentPageSize))}getpreviousPage(){return Math.max(1,this.currentPage-1)}getnextPage(){return Math.min(this.lastPage,1*this.currentPage+1)}setCurrentPageToPrevious(){this.currentPage=this.previousPage,this.onPaginationChange()}setCurrentPageToNext(){this.currentPage=this.nextPage,this.onPaginationChange()}calculatePagination(){this.totalItems>0?(this.currentPageSize>=this.totalItems&&1!==this.currentPage&&(this.currentPage=1),this.lastPage=this.getlastPage(),this.previousPage=this.getpreviousPage(),this.nextPage=this.getnextPage(),this.ofLastPagesText=this.getOfLastPageText(),this.previousPageDisabled=!!(this.currentPage<=1||this.paginationDisabled)||null,this.nextPageDisabled=!!(this.currentPage>=this.lastPage||this.paginationDisabled)||null,this.paginationItemsText=this.getpaginationItemsText()):(this.currentPage=1,this.lastPage=1,this.previousPage=1,this.nextPage=1,this.ofLastPagesText=this.locale.maketext("of [numf,_1] page",this.lastPage),this.previousPageDisabled=!0,this.nextPageDisabled=!0,this.paginationItemsText=this.locale.maketext("[numf,_1] - [numf,_2] of [numf,_3] item",0,0,0))}static{this.\u0275fac=function(g){return new(g||p)(r.rXU(r.aKT),r.rXU(B.h))}}static{this.\u0275cmp=r.VBU({type:p,selectors:[["cp-paginator"]],inputs:{showPageSize:"showPageSize",pageSizeOptions:"pageSizeOptions",currentPageSize:"currentPageSize",totalItems:"totalItems",paginationDisabled:"paginationDisabled",currentPage:"currentPage"},outputs:{paginatorChange:"paginatorChange"},features:[r.Vt3,r.OA$],decls:1,vars:1,consts:[["class","page-controls",3,"id",4,"ngIf"],[1,"page-controls",3,"id"],[4,"ngIf"],[1,"page-items"],[1,"page-selector","d-none","d-sm-flex"],[1,"form-select","form-select-sm",3,"ngModelChange","id","ngModel"],[3,"value",4,"ngFor","ngForOf"],["tabindex","0",1,"btn","page-back",3,"click"],[1,"ri-arrow-left-s-line"],["tabindex","0",1,"btn","page-forward",3,"click","disabled"],[1,"ri-arrow-right-s-line"],[1,"page-size-selector","d-none","d-sm-flex"],[1,"",3,"for"],[3,"value"]],template:function(g,P){1&g&&r.DNE(0,Sl,13,10,"div",0),2&g&&r.Y8G("ngIf",P.totalItems>0)},dependencies:[x.Sq,x.bT,L.xH,L.y7,L.wz,L.BC,L.vS]})}}return p})(),as=(()=>{class p{static{this.\u0275fac=function(g){return new(g||p)}}static{this.\u0275mod=r.$C({type:p})}static{this.\u0275inj=r.G2t({imports:[x.MD,L.YN,H.B]})}}return p})()},9490:(pe,K,O)=>{"use strict";O.d(K,{Ab:()=>ti,Sy:()=>Nn,sb:()=>Di,tq:()=>Ai,uE:()=>$n});var r=O(3953),x=O(177),V=O(1413),L=O(5964),B=O(6977),H=O(152),q=O(3294),z=O(9417),te=O(8658),Y=O(6381),ie=O(9969),ge=O(9650);function se(F,Me){if(1&F){const I=r.RV6();r.j41(0,"button",9),r.bIt("click",function(){r.eBV(I);const _e=r.XpG(2);return r.Njj(_e.fireClose())}),r.j41(1,"span"),r.EFF(2,"\xd7"),r.k0s()()}if(2&F){const I=r.XpG(2);r.Y8G("id",I.closeButtonID)("title",I.closeLabel),r.BMQ("aria-label",I.closeLabel),r.R7$(),r.BMQ("aria-hidden",!0)}}function Se(F,Me){if(1&F){const I=r.RV6();r.j41(0,"button",10),r.bIt("click",function(){r.eBV(I);const _e=r.XpG(2);return r.Njj(_e.fireToggleMore())}),r.EFF(1),r.k0s()}if(2&F){const I=r.XpG(2);r.Y8G("id",I.moreButtonID),r.R7$(),r.SpI(" ",I.moreLabel," ")}}function Re(F,Me){if(1&F&&(r.j41(0,"strong",11),r.EFF(1),r.k0s()),2&F){const I=r.XpG(2);r.R7$(),r.JRh(I.label)}}function ot(F,Me){if(1&F&&(r.j41(0,"span",12),r.EFF(1),r.k0s()),2&F){const I=r.XpG(2);r.Y8G("id",I.textMessageID),r.R7$(),r.SpI(" ",I.message," ")}}function ut(F,Me){if(1&F&&(r.j41(0,"li")(1,"span",12),r.EFF(2),r.k0s()()),2&F){const I=Me.$implicit,oe=Me.index,_e=r.XpG(3);r.R7$(),r.FS9("id",_e.textListID+"_"+oe),r.R7$(),r.SpI(" ",I," ")}}function We(F,Me){if(1&F&&(r.j41(0,"ul",13),r.DNE(1,ut,3,2,"li",14),r.k0s()),2&F){const I=r.XpG(2);r.R7$(),r.Y8G("ngForOf",I.alert.list)}}function Bt(F,Me){if(1&F&&(r.j41(0,"div",1),r.DNE(1,se,3,4,"button",2)(2,Se,2,2,"button",3),r.nrm(3,"span"),r.j41(4,"div",4),r.DNE(5,Re,2,1,"strong",5),r.j41(6,"span",6),r.DNE(7,ot,2,2,"span",7),r.k0s(),r.DNE(8,We,2,1,"ul",8),r.k0s()()),2&F){const I=r.XpG();r.ZvI("alert alert-",I.type," ng-hide"),r.Y8G("@openClose",I.animationClass),r.R7$(),r.Y8G("ngIf",I.showCloseButton),r.R7$(),r.Y8G("ngIf",I.showMoreButton),r.R7$(),r.HbH(I.icon),r.BMQ("aria-hidden",!0),r.R7$(2),r.Y8G("ngIf",I.hasLabel),r.R7$(2),r.Y8G("ngIf",I.message),r.R7$(),r.Y8G("ngIf",I.alert&&I.alert.list&&I.alert.list.length)}}function Kt(F,Me){if(1&F){const I=r.RV6();r.j41(0,"div",6)(1,"cp-alert",7),r.bIt("close",function(){const _e=r.eBV(I).$implicit,Ge=r.XpG();return r.Njj(Ge.alertClosed(_e))}),r.k0s()()}if(2&F){const I=Me.$implicit;r.R7$(),r.Y8G("alert",I)}}function Rt(F,Me){if(1&F&&r.nrm(0,"div",8),2&F){const I=r.XpG();r.Y8G("ngClass",I.positionClasses)}}const gt=["searchInput"];function Mn(F,Me){if(1&F&&(r.j41(0,"span",6),r.EFF(1),r.k0s()),2&F){const I=r.XpG();r.R7$(),r.JRh(I.clearIconLabel)}}class jn{static{this.defaultShowMore=!1}static{this.defaultAutoClosePeriod=0}static{this.defaultOptions={autoClosePeriod:jn.defaultAutoClosePeriod,list:[]}}constructor(Me,I,oe=jn.defaultOptions){this._message=Me,this._type=I;const _e=oe.id?oe.id:Math.random().toString(36).substr(2,9);this._id=_e,this._closable=null==oe.isCloseable||oe.isCloseable,this._autoClosePeriod=oe.autoClosePeriod,this._list=oe.list,this._showMore=oe.showMore||jn.defaultShowMore,this._ts=null==oe.createdOn?Date.now():oe.createdOn}get message(){return this._message}get type(){return this._type}get id(){return this._id}get isClosable(){return this._closable}get autoCloses(){return this._autoClosePeriod>0}get autoClosePeriod(){return this._autoClosePeriod}get list(){return this._list}get createdOn(){return this._ts}get showMore(){return this._showMore}static makeAlert(Me){const{message:I,type:oe,..._e}=Me;return new jn(I,oe,_e)}}var zt=function(F){return F[F.error=0]="error",F[F.success=1]="success",F[F.warning=2]="warning",F[F.information=3]="information",F}(zt||{}),Cn=function(F){return F.add="add",F.remove="remove",F.clear="clear",F}(Cn||{});let $n=(()=>{class F{static{this.defaultGroup="__DEFAULT__"}static{this.defaultSuccessOptions={autoClosePeriod:1e4}}constructor(){this._alertEventsSource=new V.B,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(I,oe=F.defaultGroup){this._alerts[oe]||(this._alerts[oe]=[]);const _e=I instanceof jn?I:jn.makeAlert(I);if(this.list(oe).push(_e),this._alertEventsSource.next({type:Cn.add,group:oe,alert:_e}),(0,r.naY)())switch(_e.type){case zt.error:console.error(_e.message,_e);break;case zt.warning:console.warn(_e.message,_e);break;default:console.log(_e.message,_e)}return _e}success(I,oe=F.defaultGroup){return this.add(new jn(I,zt.success,F.defaultSuccessOptions),oe)}error(I,oe=F.defaultGroup){return this.add({message:I,type:zt.error},oe)}info(I,oe=F.defaultGroup){return this.add({message:I,type:zt.information},oe)}warn(I,oe=F.defaultGroup){return this.add({message:I,type:zt.warning},oe)}removeById(I,oe=F.defaultGroup){const _e=this.list(oe),Ge=_e.findIndex(_t=>_t.id===I,0);if(-1!==Ge){const _t=_e[Ge];_e.splice(Ge,1),this._alertEventsSource.next({type:Cn.remove,group:oe,alert:_t})}}clear(I=F.defaultGroup){this._alerts[I]=[],this._alertEventsSource.next({type:Cn.clear,group:I})}list(I=F.defaultGroup){return null==this._alerts[I]&&(this._alerts[I]=[]),this._alerts[I]}static{this.\u0275fac=function(oe){return new(oe||F)}}static{this.\u0275prov=r.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})();var Hn=function(F){return F.inline="inline",F.topLeft="top-left",F.topMiddle="top-middle",F.topRight="top-right",F.bottomLeft="bottom-left",F.bottomMiddle="bottom-middle",F.bottomRight="bottom-right",F.middleLeft="middle-left",F.middleMiddle="middle-middle",F.middleRight="middle-right",F}(Hn||{});const Uo=Hn.topRight,St=Hn.topLeft;var hn=function(F){return F.new="new",F.closed="closed",F.open="open",F}(hn||{});let Rn=(()=>{class F{constructor(I){this.locale=I,this.close=new r.bkB,this.toggleMore=new r.bkB,this.animationClass=hn.new}get icon(){switch(this.alert.type){case zt.error:return"type-icon fas fa-times-circle";case zt.warning:return"type-icon fas fa-exclamation-triangle";case zt.information:return"type-icon fas fa-info-circle";case zt.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case zt.error:return"danger";case zt.warning:return"warning";case zt.information:return"info";case zt.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 zt.success:this.label=this.locale.maketext("Success:");break;case zt.error:this.label=this.locale.maketext("Error:");break;case zt.information:this.label=this.locale.maketext("Information:");break;case zt.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=hn.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=hn.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(oe){return new(oe||F)(r.rXU(Y.h))}}static{this.\u0275cmp=r.VBU({type:F,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(oe,_e){1&oe&&r.DNE(0,Bt,9,13,"div",0),2&oe&&r.Y8G("ngIf",!_e.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,ie.hZ)("openClose",[(0,ie.wk)(hn.new,(0,ie.iF)({opacity:0})),(0,ie.wk)(hn.open,(0,ie.iF)({opacity:1})),(0,ie.wk)(hn.closed,(0,ie.iF)({opacity:0,transform:"translateX(25%)"})),(0,ie.kY)(`${hn.open} => ${hn.closed}`,[(0,ie.i0)("0.25s")]),(0,ie.kY)(`${hn.new} => ${hn.open}`,[(0,ie.i0)("0.25s")]),(0,ie.kY)(`${hn.closed} => ${hn.open}`,[(0,ie.i0)("0.25s")])])]}})}}return F})(),ei=(()=>{class F{static{this.\u0275fac=function(oe){return new(oe||F)}}static{this.\u0275mod=r.$C({type:F})}static{this.\u0275inj=r.G2t({imports:[x.MD,ge.wb,te.B]})}}return F})(),Pn=(()=>{class F{constructor(I){this.locale=I}get position(){return this.locale.isLtr?Uo:St}static{this.\u0275fac=function(oe){return new(oe||F)(r.KVO(Y.h))}}static{this.\u0275prov=r.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})(),ti=(()=>{class F{static{this.positionPrefix="position-"}constructor(I,oe){this._alertService=I,this._positionService=oe,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?F.positionPrefix+Hn.inline.toString():F.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(I){this._position=((F,Me=Hn.topRight)=>{if(F){const I=(F=>{const Me=Object.keys(Hn),oe=Object.values(Hn).indexOf(F);return-1!==oe?Me[oe]:(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)})(F);if(I)return Hn[I]}return Me})(I)}alertClosed(I){this._alertService.removeById(I.id,this.group)}ngOnInit(){this.group||(this.group=$n.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(oe=>this._addAlert(oe)),this._groupEvents=this._alertService.alertEvents.pipe((0,L.p)(oe=>oe.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(oe=>oe.id===I)}_addAlert(I){return this.alerts.push(I),this.alerts}_removeAlert(I){const oe=this._findAlertIndexById(I.id);return oe>-1&&(this.alerts.splice(oe,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(I){switch(I.type){case Cn.add:this._addAlert(I.alert);break;case Cn.clear:this._clearAlerts();break;case Cn.remove:this._removeAlert(I.alert)}}static{this.\u0275fac=function(oe){return new(oe||F)(r.rXU($n),r.rXU(Pn))}}static{this.\u0275cmp=r.VBU({type:F,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(oe,_e){1&oe&&(r.j41(0,"div")(1,"div",2,0)(3,"div",3,1),r.DNE(5,Kt,2,1,"div",4),r.k0s()(),r.DNE(6,Rt,1,1,"div",5),r.k0s()),2&oe&&(r.R7$(),r.Y8G("ngClass",_e.positionClasses),r.R7$(4),r.Y8G("ngForOf",_e.alerts),r.R7$(),r.Y8G("ngIf",_e.hasAlerts))},dependencies:[x.YU,x.Sq,x.bT,Rn],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 F})(),Di=(()=>{class F{static{this.\u0275fac=function(oe){return new(oe||F)}}static{this.\u0275mod=r.$C({type:F})}static{this.\u0275inj=r.G2t({imports:[x.MD,ei]})}}return F})(),Nn=(()=>{class F{constructor(I){this.locale=I,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new r.bkB,this._searchSubject=new V.B,this._unsubscribe=new V.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,B.Q)(this._unsubscribe),(0,H.B)(this.debounce),(0,q.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(oe){return new(oe||F)(r.rXU(Y.h))}}static{this.\u0275cmp=r.VBU({type:F,selectors:[["cp-search"]],viewQuery:function(oe,_e){if(1&oe&&r.GBs(gt,5),2&oe){let Ge;r.mGM(Ge=r.lsd())&&(_e.searchInput=Ge.first)}},inputs:{autofocus:"autofocus",debounce:"debounce",disabled:"disabled",id:"id",label:"label",placeholder:"placeholder",list:"list",value:"value"},outputs:{valueChange:"valueChange"},decls:6,vars:14,consts:[["searchInput",""],["role","search",1,"input-group"],["data-test","input","type","search",1,"form-control",3,"ngModelChange","keyup.esc","ngModel","disabled","id","placeholder","title"],["data-test","addon",1,"input-group-addon",3,"click","id"],["aria-hidden","true","data-test","icon",3,"ngClass","id"],["class","sr-only",4,"ngIf"],[1,"sr-only"]],template:function(oe,_e){if(1&oe){const Ge=r.RV6();r.j41(0,"div",1)(1,"input",2,0),r.mxI("ngModelChange",function(Jt){return r.eBV(Ge),r.DH7(_e.value,Jt)||(_e.value=Jt),r.Njj(Jt)}),r.bIt("keyup.esc",function(){return r.eBV(Ge),r.Njj(_e.clearValue())}),r.k0s(),r.j41(3,"span",3),r.bIt("click",function(){return r.eBV(Ge),r.Njj(_e.clearValue())}),r.nrm(4,"span",4),r.DNE(5,Mn,2,1,"span",5),r.k0s()()}2&oe&&(r.R7$(),r.Mz_("id","",_e.id,"-search-input"),r.R50("ngModel",_e.value),r.Y8G("disabled",_e.disabled)("placeholder",_e.placeholder)("title",_e.label),r.BMQ("aria-label",_e.label)("list",_e.list),r.R7$(2),r.Mz_("id","",_e.id,"-search-input-addon"),r.R7$(),r.Mz_("id","",_e.id,"-search-input-icon"),r.Y8G("ngClass",(null==_e.value?null:_e.value.length)>0?"fas fa-times":"fas fa-search"),r.R7$(),r.Y8G("ngIf",(null==_e.value?null:_e.value.length)>0))},dependencies:[x.YU,x.bT,z.me,z.BC,z.vS],changeDetection:0})}}return F})(),Ai=(()=>{class F{static{this.\u0275fac=function(oe){return new(oe||F)}}static{this.\u0275mod=r.$C({type:F})}static{this.\u0275inj=r.G2t({imports:[x.MD,z.YN,te.B]})}}return F})()}}]);
Back to Directory