Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/link-server-nodes/vendor-c0d76f48.js
(self.webpackChunklink_server_nodes=self.webpackChunklink_server_nodes||[]).push([[128],{7343:(oe,j,O)=>{"use strict";O.d(j,{o:()=>c});var c=function(I){return I[I.GET=0]="GET",I[I.HEAD=1]="HEAD",I[I.POST=2]="POST",I[I.PUT=3]="PUT",I[I.DELETE=4]="DELETE",I[I.CONNECT=5]="CONNECT",I[I.OPTIONS=6]="OPTIONS",I[I.TRACE=7]="TRACE",I[I.PATCH=8]="PATCH",I}(c||{})},6802:(oe,j,O)=>{"use strict";O.d(j,{e:()=>I}),O(2584);class I{constructor(x,U){if(!x)throw new Error("You must provide a name when creating a name/value argument");this.name=x,this.value=U}}},6884:(oe,j,O)=>{"use strict";O.d(j,{uM:()=>je,CY:()=>Ae});var c=O(3971),I=O.n(c),H=O(6062),R=O.n(H),x=O(227),U=O.n(x),z=O(7642),B=O.n(z),X=O(9706),K=O.n(X),W=O(1622),me=O.n(W),Ee=O(4968),_e=O.n(Ee);function Me(qe){if(I()(qe)||R()(qe)||U()(qe)||B()(qe)||K()(qe))return!0;if(!_e()(qe)&&!me()(qe))return!1;for(const ft in qe)if(!Me(qe[ft]))return!1;return!0}class Ae{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(ft,wt,ct){if(!ft)throw new Error("Name must have a non-empty value");return`${ft}=${encodeURIComponent(wt.toString())}`+(ct?"":this.recordSeparator)}}class je{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(ft,wt,ct){if(!ft)throw new Error("Name must have a non-empty value");if(!Me(wt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(ft)+":"+JSON.stringify(wt)+(ct?"":this.recordSeparator)}}},8391:(oe,j,O)=>{"use strict";O.d(j,{d:()=>I,t:()=>c});var c=function(H){return H[H.Contains=0]="Contains",H[H.Begins=1]="Begins",H[H.Ends=2]="Ends",H[H.Matches=3]="Matches",H[H.Equal=4]="Equal",H[H.NotEqual=5]="NotEqual",H[H.LessThan=6]="LessThan",H[H.LessThanUnlimited=7]="LessThanUnlimited",H[H.GreaterThan=8]="GreaterThan",H[H.GreaterThanUnlimited=9]="GreaterThanUnlimited",H[H.Defined=10]="Defined",H[H.Undefined=11]="Undefined",H}(c||{});class I{constructor(R,x,U){if(!R)throw new Error("You must define a non-empty column name.");this.column=R,this.operator=x,this.value=U}}},1960:(oe,j,O)=>{"use strict";O.d(j,{N:()=>c});class c{get pathname(){return window.location.pathname}get port(){return window.location.port}get hostname(){return window.location.hostname}get protocol(){return window.location.protocol}}},686:(oe,j,O)=>{"use strict";O.d(j,{is:()=>H});const I=Number.POSITIVE_INFINITY;class H{constructor(x=1,U=20){if(x<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(U<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=x,this.pageSize=U}all(){return this.pageSize===I}}},9390:(oe,j,O)=>{"use strict";O.d(j,{KL:()=>U});const x={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 U{constructor(B){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=B.protocol;let X=B.port;X||(function c(z){return/^https:$/i.test(z)}(this.protocol)?X="443":function I(z){return/^http:$/i.test(z)}(this.protocol)&&(X="80")),this.domain=B.hostname,this.port=parseInt(X,10),this.path=B.pathname;const K=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?x[2087]:/^cpanel\./.test(this.domain)?x[2083]:/^webmail\./.test(this.domain)?x[2095]:x[X.toString()]||x[K[2]]||"whostmgr",this.securityToken=K[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const me=this.path.split("/");this.theme=me[3]}this.themePath="";let W=this.securityToken+"/";this.isUnprotected?W="/":this.isCpanel?W+="frontend/"+this.theme+"/":this.isWebmail?W+="webmail/"+this.theme+"/":this.isOther&&(W="/"),this.themePath=W,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 H(z){return z&&z.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(B){return this.themePath+B}buildFullPath(B){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(B)}buildTokenPath(B){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+B}}},2584:(oe,j,O)=>{"use strict";function c(R){return R?"1":"0"}O.d(j,{x:()=>c})},6153:(oe,j,O)=>{"use strict";O.d(j,{FU:()=>H,UE:()=>c,r3:()=>I});var c=function(R){return R[R.Ascending=0]="Ascending",R[R.Descending=1]="Descending",R}(c||{}),I=function(R){return R[R.Lexicographic=0]="Lexicographic",R[R.Ipv4=1]="Ipv4",R[R.Numeric=2]="Numeric",R[R.NumericZeroAsMax=3]="NumericZeroAsMax",R}(I||{});class H{constructor(x,U=c.Ascending,z=I.Lexicographic){if(!x)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=x,this.direction=U,this.type=z}}},9323:(oe,j,O)=>{"use strict";O.d(j,{m:()=>Vt,R:()=>st});var c=O(4667),I=O.n(c),H=O(2584),R=O(6153),x=O(8391),U=O(6802),z=O(686);class B{constructor(te=[]){this.headers=te}push(te){this.headers.push(te)}forEach(te,ye){this.headers.forEach(te,ye)}toArray(){const te=[];return this.headers.forEach(ye=>te.push({name:ye.name,value:ye.value})),te}toObject(){return this.headers.reduce((te,ye)=>(te[ye.name]=ye.value,te),{})}}class X{constructor(te){this._header=te}get name(){return this._header.name}get value(){return this._header.value}}class K extends Error{constructor(te){super(te),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,K.prototype)}}class W extends Error{constructor(te){super(te),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,W.prototype)}}class me extends X{constructor(te,ye){if(!te)throw new K("You must pass a valid token to the constructor.");if(!ye&&!/^.+[:]/.test(te))throw new K("You must pass a cPanel username associated with the cPanel API token.");if(!ye&&!/[:].+$/.test(te))throw new K("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${ye?ye+":":""}${te}`})}}Error,Error;class Re{get usePager(){return this._usePager}constructor(te){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new z.is,this.headers=new B,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,te&&(this.method=te.method,te.namespace&&(this.namespace=te.namespace),te.arguments&&te.arguments.forEach(ye=>{this.addArgument(ye)}),te.sorts&&te.sorts.forEach(ye=>{this.addSort(ye)}),te.filters&&te.filters.forEach(ye=>{this.addFilter(ye)}),te.columns&&te.columns.forEach(ye=>this.addColumn(ye)),te.pager&&this.paginate(te.pager),this.config=te.config?te.config:this.defaultConfig,te.headers&&te.headers.forEach(ye=>{this.addHeader(ye)}))}addArgument(te){return this.arguments.push(te instanceof U.e?te:new U.e(te.name,te.value)),this}addSort(te){return this.sorts.push(te instanceof R.FU?te:new R.FU(te.column,te.direction,te.type)),this}addFilter(te){return this.filters.push(te instanceof x.d?te:new x.d(te.column,te.operator,te.value)),this}addColumn(te){return this.columns.push(te),this}addHeader(te){return this.headers.push(te instanceof X?te:new X(te)),this}paginate(te){return this.pager=te instanceof z.is?te:new z.is(te.page,te.pageSize||20),this._usePager=!0,this}}var Ae=O(7343);const qe=new class je{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Ae.o.GET,Ae.o.DELETE,Ae.o.HEAD].forEach(te=>{const ye=Ae.o[te].toString();this.map[ye]={verb:ye,dataInBody:!1}}),[Ae.o.POST,Ae.o.PUT,Ae.o.PATCH].forEach(te=>{const ye=Ae.o[te].toString();this.map[ye]={verb:ye,dataInBody:!0}})}getRule(te){const ye="string"==typeof te?te:Ae.o[te].toString();let Xe=this.map[ye];return Xe||(Xe=this.map.DEFAULT),Xe}};var ft=O(6884),wt=O(6860),ct=O.n(wt),st=function(He){return He.JsonApi="json-api",He.XmlApi="xml-api",He}(st||{});class Vt extends Re{addHeader(te){if(te instanceof me)throw new W("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(te),this}_build(te,ye){let Xe="";return te.forEach((ae,le,ue)=>{Xe+=ye.encode(ae.name,ae.value,le===ue.length-1)}),ye.separatorStart+Xe+ye.separatorEnd}_make_whm_api_fieldspec_from_number(te){return ct()("",Math.floor(te/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(te%26)}_generateArguments(te){te.push({name:"api.version",value:1}),this.arguments.forEach(Xe=>te.push(Xe))}_generateSorts(te){this.sorts.forEach((ye,Xe)=>{0===Xe&&te.push({name:"api.sort.enable",value:H.x(!0)});const ae=`api.sort.${this._make_whm_api_fieldspec_from_number(Xe)}`;te.push({name:`${ae}.field`,value:ye.column}),te.push({name:`${ae}.reverse`,value:H.x(ye.direction!==R.UE.Ascending)}),te.push({name:`${ae}.method`,value:I()(R.r3[ye.type])})})}_lookupFilterOperator(te){switch(te){case x.t.GreaterThanUnlimited:return"gt_handle_unlimited";case x.t.GreaterThan:return"gt";case x.t.LessThanUnlimited:return"lt_handle_unlimited";case x.t.LessThan:return"lt";case x.t.Equal:return"eq";case x.t.Begins:return"begins";case x.t.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${x.t[te]} for WHM API 1`)}}_generateFilters(te){this.filters.forEach((ye,Xe)=>{0===Xe&&(te.push({name:"api.filter.enable",value:H.x(!0)}),te.push({name:"api.filter.verbose",value:H.x(!0)}));const ae=`api.filter.${this._make_whm_api_fieldspec_from_number(Xe)}`;te.push({name:`${ae}.field`,value:ye.column}),te.push({name:`${ae}.type`,value:this._lookupFilterOperator(ye.operator)}),te.push({name:`${ae}.arg0`,value:ye.value})})}_translatePageToStart(te){return(te.page-1)*te.pageSize+1}_generatePagination(te){if(!this.usePager)return;const ye=this.pager.all();te.push({name:"api.chunk.enable",value:H.x(!0)}),te.push({name:"api.chunk.verbose",value:H.x(!0)}),te.push({name:"api.chunk.start",value:ye?-1:this._translatePageToStart(this.pager)}),ye||te.push({name:"api.chunk.size",value:this.pager.pageSize})}constructor(te,ye){if(super(ye),this.apiType=st.JsonApi,te!=st.JsonApi&&te!=st.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=te,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}generate(te){te||(te={verb:Ae.o.POST,encoder:this.config.json?new ft.uM:new ft.CY}),te.encoder||(te.encoder=this.config.json?new ft.uM:new ft.CY);const ye=qe.getRule(te.verb),Xe={headers:new B([{name:"Content-Type",value:te.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},ae=[];this._generateArguments(ae),this._generateSorts(ae),this._generateFilters(ae),this._generatePagination(ae);const le=this._build(ae,te.encoder);return ye.dataInBody?Xe.body=le:Xe.url+=te.verb===Ae.o.GET?`?${le}`:le,this.headers.forEach(ue=>{Xe.headers.push({name:ue.name,value:ue.value})}),Xe}}},914:(oe,j,O)=>{var c=O(2286);oe.exports=c.Symbol},9655:oe=>{oe.exports=function j(O,c){for(var I=-1,H=null==O?0:O.length,R=Array(H);++I<H;)R[I]=c(O[I],I,O);return R}},8859:oe=>{oe.exports=function j(O,c,I,H){var R=-1,x=null==O?0:O.length;for(H&&x&&(I=O[++R]);++R<x;)I=c(I,O[R],R,O);return I}},8058:(oe,j,O)=>{var I=O(6010)("length");oe.exports=I},5077:oe=>{oe.exports=function j(O){return O.split("")}},8906:oe=>{var j=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;oe.exports=function O(c){return c.match(j)||[]}},2307:(oe,j,O)=>{var c=O(914),I=O(6710),H=O(3533),U=c?c.toStringTag:void 0;oe.exports=function z(B){return null==B?void 0===B?"[object Undefined]":"[object Null]":U&&U in Object(B)?I(B):H(B)}},6010:oe=>{oe.exports=function j(O){return function(c){return c?.[O]}}},8571:oe=>{oe.exports=function j(O){return function(c){return O?.[c]}}},7364:oe=>{var O=Math.floor;oe.exports=function c(I,H){var R="";if(!I||H<1||H>9007199254740991)return R;do{H%2&&(R+=I),(H=O(H/2))&&(I+=I)}while(H);return R}},3597:oe=>{oe.exports=function j(O,c,I){var H=-1,R=O.length;c<0&&(c=-c>R?0:R+c),(I=I>R?R:I)<0&&(I+=R),R=c>I?0:I-c>>>0,c>>>=0;for(var x=Array(R);++H<R;)x[H]=O[H+c];return x}},5299:(oe,j,O)=>{var c=O(914),I=O(9655),H=O(1622),R=O(3443),x=1/0,U=c?c.prototype:void 0,z=U?U.toString:void 0;oe.exports=function B(X){if("string"==typeof X)return X;if(H(X))return I(X,B)+"";if(R(X))return z?z.call(X):"";var K=X+"";return"0"==K&&1/X==-x?"-0":K}},8851:(oe,j,O)=>{var c=O(5649),I=/^\s+/;oe.exports=function H(R){return R&&R.slice(0,c(R)+1).replace(I,"")}},643:(oe,j,O)=>{var c=O(3597);oe.exports=function I(H,R,x){var U=H.length;return x=void 0===x?U:x,!R&&x>=U?H:c(H,R,x)}},9064:(oe,j,O)=>{var c=O(8859),I=O(2473),H=O(2922),x=RegExp("['\u2019]","g");oe.exports=function U(z){return function(B){return c(H(I(B).replace(x,"")),z,"")}}},2297:(oe,j,O)=>{var c=O(7364),I=O(5299),H=O(643),R=O(7817),x=O(706),U=O(7917),z=Math.ceil;oe.exports=function B(X,K){var W=(K=void 0===K?" ":I(K)).length;if(W<2)return W?c(K,X):K;var me=c(K,z(X/x(K)));return R(K)?H(U(me),0,X).join(""):me.slice(0,X)}},1392:(oe,j,O)=>{var H=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"});oe.exports=H},7111:oe=>{var j="object"==typeof global&&global&&global.Object===Object&&global;oe.exports=j},4352:(oe,j,O)=>{var I=O(9478)(Object.getPrototypeOf,Object);oe.exports=I},6710:(oe,j,O)=>{var c=O(914),I=Object.prototype,H=I.hasOwnProperty,R=I.toString,x=c?c.toStringTag:void 0;oe.exports=function U(z){var B=H.call(z,x),X=z[x];try{z[x]=void 0;var K=!0}catch{}var W=R.call(z);return K&&(B?z[x]=X:delete z[x]),W}},7817:oe=>{var U=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");oe.exports=function z(B){return U.test(B)}},725:oe=>{var j=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;oe.exports=function O(c){return j.test(c)}},3533:oe=>{var O=Object.prototype.toString;oe.exports=function c(I){return O.call(I)}},9478:oe=>{oe.exports=function j(O,c){return function(I){return O(c(I))}}},2286:(oe,j,O)=>{var c=O(7111),I="object"==typeof self&&self&&self.Object===Object&&self,H=c||I||Function("return this")();oe.exports=H},706:(oe,j,O)=>{var c=O(8058),I=O(7817),H=O(7954);oe.exports=function R(x){return I(x)?H(x):c(x)}},7917:(oe,j,O)=>{var c=O(5077),I=O(7817),H=O(1773);oe.exports=function R(x){return I(x)?H(x):c(x)}},5649:oe=>{var j=/\s/;oe.exports=function O(c){for(var I=c.length;I--&&j.test(c.charAt(I)););return I}},7954:oe=>{var j="\\ud800-\\udfff",x="["+j+"]",U="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",z="\\ud83c[\\udffb-\\udfff]",X="[^"+j+"]",K="(?:\\ud83c[\\udde6-\\uddff]){2}",W="[\\ud800-\\udbff][\\udc00-\\udfff]",Ee="(?:"+U+"|"+z+")?",_e="[\\ufe0e\\ufe0f]?",Re=_e+Ee+"(?:\\u200d(?:"+[X,K,W].join("|")+")"+_e+Ee+")*",Ae="(?:"+[X+U+"?",U,K,W,x].join("|")+")",je=RegExp(z+"(?="+z+")|"+Ae+Re,"g");oe.exports=function qe(ft){for(var wt=je.lastIndex=0;je.test(ft);)++wt;return wt}},1773:oe=>{var j="\\ud800-\\udfff",x="["+j+"]",U="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",z="\\ud83c[\\udffb-\\udfff]",X="[^"+j+"]",K="(?:\\ud83c[\\udde6-\\uddff]){2}",W="[\\ud800-\\udbff][\\udc00-\\udfff]",Ee="(?:"+U+"|"+z+")?",_e="[\\ufe0e\\ufe0f]?",Re=_e+Ee+"(?:\\u200d(?:"+[X,K,W].join("|")+")"+_e+Ee+")*",Ae="(?:"+[X+U+"?",U,K,W,x].join("|")+")",je=RegExp(z+"(?="+z+")|"+Ae+Re,"g");oe.exports=function qe(ft){return ft.match(je)||[]}},6546:oe=>{var j="\\ud800-\\udfff",R="\\u2700-\\u27bf",x="a-z\\xdf-\\xf6\\xf8-\\xff",K="A-Z\\xc0-\\xd6\\xd8-\\xde",me="\\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",_e="["+me+"]",Re="\\d+",Ae="["+R+"]",je="["+x+"]",qe="[^"+j+me+Re+R+x+K+"]",st="(?:\\ud83c[\\udde6-\\uddff]){2}",Vt="[\\ud800-\\udbff][\\udc00-\\udfff]",He="["+K+"]",ye="(?:"+je+"|"+qe+")",Xe="(?:"+He+"|"+qe+")",ae="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",le="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ue="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Oe="[\\ufe0e\\ufe0f]?",St=Oe+ue+"(?:\\u200d(?:"+["[^"+j+"]",st,Vt].join("|")+")"+Oe+ue+")*",Ve="(?:"+[Ae,st,Vt].join("|")+")"+St,Rt=RegExp([He+"?"+je+"+"+ae+"(?="+[_e,He,"$"].join("|")+")",Xe+"+"+le+"(?="+[_e,He+ye,"$"].join("|")+")",He+"?"+ye+"+"+ae,He+"+"+le,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Ve].join("|"),"g");oe.exports=function ln(Ut){return Ut.match(Rt)||[]}},2473:(oe,j,O)=>{var c=O(1392),I=O(1339),H=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,X=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");oe.exports=function K(W){return(W=I(W))&&W.replace(H,c).replace(X,"")}},1622:oe=>{oe.exports=Array.isArray},227:(oe,j,O)=>{var c=O(2307),I=O(7571);oe.exports=function R(x){return!0===x||!1===x||I(x)&&"[object Boolean]"==c(x)}},6062:oe=>{oe.exports=function j(O){return null===O}},7642:(oe,j,O)=>{var c=O(2307),I=O(7571);oe.exports=function R(x){return"number"==typeof x||I(x)&&"[object Number]"==c(x)}},9052:oe=>{oe.exports=function j(O){var c=typeof O;return null!=O&&("object"==c||"function"==c)}},7571:oe=>{oe.exports=function j(O){return null!=O&&"object"==typeof O}},4968:(oe,j,O)=>{var c=O(2307),I=O(4352),H=O(7571),z=Function.prototype.toString,B=Object.prototype.hasOwnProperty,X=z.call(Object);oe.exports=function K(W){if(!H(W)||"[object Object]"!=c(W))return!1;var me=I(W);if(null===me)return!0;var Ee=B.call(me,"constructor")&&me.constructor;return"function"==typeof Ee&&Ee instanceof Ee&&z.call(Ee)==X}},9706:(oe,j,O)=>{var c=O(2307),I=O(1622),H=O(7571);oe.exports=function x(U){return"string"==typeof U||!I(U)&&H(U)&&"[object String]"==c(U)}},3443:(oe,j,O)=>{var c=O(2307),I=O(7571);oe.exports=function R(x){return"symbol"==typeof x||I(x)&&"[object Symbol]"==c(x)}},3971:oe=>{oe.exports=function j(O){return void 0===O}},6860:(oe,j,O)=>{var c=O(2297),I=O(706),H=O(6394),R=O(1339);oe.exports=function x(U,z,B){U=R(U);var X=(z=H(z))?I(U):0;return z&&X<z?c(z-X,B)+U:U}},4667:(oe,j,O)=>{var I=O(9064)(function(H,R,x){return H+(x?"_":"")+R.toLowerCase()});oe.exports=I},4661:(oe,j,O)=>{var c=O(2419),I=1/0;oe.exports=function R(x){return x?(x=c(x))===I||x===-I?17976931348623157e292*(x<0?-1:1):x==x?x:0:0===x?x:0}},6394:(oe,j,O)=>{var c=O(4661);oe.exports=function I(H){var R=c(H),x=R%1;return R==R?x?R-x:R:0}},2419:(oe,j,O)=>{var c=O(8851),I=O(9052),H=O(3443),x=/^[-+]0x[0-9a-f]+$/i,U=/^0b[01]+$/i,z=/^0o[0-7]+$/i,B=parseInt;oe.exports=function X(K){if("number"==typeof K)return K;if(H(K))return NaN;if(I(K)){var W="function"==typeof K.valueOf?K.valueOf():K;K=I(W)?W+"":W}if("string"!=typeof K)return 0===K?K:+K;K=c(K);var me=U.test(K);return me||z.test(K)?B(K.slice(2),me?2:8):x.test(K)?NaN:+K}},1339:(oe,j,O)=>{var c=O(5299);oe.exports=function I(H){return null==H?"":c(H)}},2922:(oe,j,O)=>{var c=O(8906),I=O(725),H=O(1339),R=O(6546);oe.exports=function x(U,z,B){return U=H(U),void 0===(z=B?void 0:z)?I(U)?R(U):c(U):U.match(z)||[]}},6381:(oe,j,O)=>{"use strict";j.h=void 0;const I=O(2623);Object.defineProperty(j,"h",{enumerable:!0,get:function(){return I.Locale}})},7268:(oe,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.CLDR=void 0,j.CLDR=class O{constructor(I){this.rawData=I,this.validateCLDR(this.rawData)}validateCLDR(I){if(!I)throw new Error("CLDR data cannot be null");if(!I.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(I,"functions")||Object.prototype.hasOwnProperty.call(I,"get_plural_form")||"function"!=typeof I.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(I,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(I,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(I.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(I.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(I.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(I.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(I,...H){return(0,this.rawData.functions.get_plural_form)(I,...H)}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:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.Locale=void 0;const c=O(7367),I=O(5736),H=O(8994),R=O(3365),x=O(7268);j.Locale=class U{constructor(B,X={}){this.lexicon=X,this._cldr=new x.CLDR(B)}maketext(B,...X){return(0,c.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:B,args:X})}localDatetime(B,X){return this._datetimeWrapper(I.local_datetime,B,X)}datetime(B,X){return this._datetimeWrapper(I.datetime,B,X)}_datetimeWrapper(B,X,K){return B({cldr:this._cldr,args:[X,K]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(B,X){return this._formatNumber(H.numf,B,X)}format_bytes(B,X){return this._formatNumber(H.format_bytes,B,X)}_formatNumber(B,...X){return this._callCLDRFunc(B,X)}list_and(...B){return this._callCLDRFunc(R.list_and,B)}list_and_quoted(...B){return this._callCLDRFunc(R.list_and_quoted,B)}list_or(...B){return this._callCLDRFunc(R.list_or,B)}list_or_quoted(...B){return this._callCLDRFunc(R.list_or_quoted,B)}_callCLDRFunc(B,X){return B({cldr:this._cldr,args:X})}}},6049:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.asis=void 0;const c=O(2500);j.asis=function I({args:[H,...R]}){if(!H||R.length>0||"string"!=typeof H)throw new Error("asis function accepts one non translatable string.");return(H=H.replace(/chr\((\d+)\)/g,function(x,U){return c.functions.chr(Number(U))})).replace(/amp\(\)/g,function(){return c.functions.amp()})}},6073:(oe,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.boolean=void 0,j.boolean=function O({args:[c,I,H,R]}){if(null==I||0===I.length||null==H||0===H.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof c<"u"&&c?I:R&&null==c?R:H)}},5496:(oe,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.comment=void 0,j.comment=function O({args:[c]}){return""}},5736:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.local_datetime=j.datetime=j.dateToLocalDayNum=void 0;const c=O(7268),I=function(K){const W=K.getUTCDay()-1;return W<0?6:W},H=[7,1,2,3,4,5,6];function R(K,W){return(H[K.getUTCDay()]+7-W)%7+1}j.dateToLocalDayNum=R;const x=function(K,W,me){let Ee="",_e=0;return W=W||0,me=String(void 0===me?" ":me),_e=W-String(K).length,_e>0&&(Ee=[...Array(_e)].map(String.prototype.valueOf,me).join("")),Ee+K};function U({cldr:K,args:[W=new Date,me],tzString:Ee="UTC"}){if("number"==typeof W&&/^-?\d+$/.test(W.toString())&&(W=new Date(1e3*W)),!(W instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(K instanceof c.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const _e=K.getDateTimeInfo();return"string"==typeof me&&/^(?:date|time|datetime|special)_format_/.test(me)&&(me=_e[me]),me||(me=_e.date_format_long),me.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(Me,Re,Ae){return Re?function z(K){return K.substr(1,K.length-2)}(Re):function B(K,W,me,Ee){switch(me){case"yy":return Math.abs(K.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(K.getUTCFullYear()));case"MMMMM":return W.month_format_narrow[K.getUTCMonth()];case"LLLLL":return W.month_stand_alone_narrow[K.getUTCMonth()];case"MMMM":return W.month_format_wide[K.getUTCMonth()];case"LLLL":return W.month_stand_alone_wide[K.getUTCMonth()];case"MMM":return W.month_format_abbreviated[K.getUTCMonth()];case"LLL":return W.month_stand_alone_abbreviated[K.getUTCMonth()];case"MM":case"LL":return x((K.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(K.getUTCMonth()+1);case"EEEE":return W.day_format_wide[I(K)];case"EEE":case"EE":case"E":return W.day_format_abbreviated[I(K)];case"EEEEE":return W.day_format_narrow[I(K)];case"cccc":return W.day_stand_alone_wide[I(K)];case"ccc":return W.day_stand_alone_abbreviated[I(K)];case"cc":case"c":return String(R(K,Number(W.first_day_of_week)));case"ccccc":return W.day_stand_alone_narrow[I(K)];case"dd":return x(K.getUTCDate().toString(),2,"0");case"d":return String(K.getUTCDate());case"h":case"hh":{let _e=K.getUTCHours();_e>12&&(_e-=12),0===_e&&(_e=12);const Me="hh"===me?x(_e.toString(),2,"0"):_e;return String(Me)}case"H":return String(K.getUTCHours());case"HH":return x(K.getUTCHours().toString(),2,"0");case"m":return String(K.getUTCMinutes());case"mm":return x(K.getUTCMinutes().toString(),2,"0");case"s":return String(K.getUTCSeconds());case"ss":return x(K.getUTCSeconds().toString(),2,"0");case"a":return K.getUTCHours()<12?W.am_pm_abbreviated[0]:W.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Ee;case"G":case"GG":case"GGG":return W.era_abbreviated[K.getUTCFullYear()<0?0:1];case"GGGGG":return W.era_narrow[K.getUTCFullYear()<0?0:1];case"GGGG":return W.era_wide[K.getUTCFullYear()<0?0:1]}return me}(W,_e,Ae,Ee)})}j.datetime=U,j.local_datetime=function X({cldr:K,args:[W=new Date,me]}){if("number"==typeof W&&/^-?\d+$/.test(W.toString())&&(W=new Date(1e3*W)),!(W instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(K instanceof c.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Ee=W.getTimezoneOffset();(W=new Date(W)).setMinutes(W.getMinutes()-Ee);const _e=Ee>0?"-":"+",Me=Math.floor(Math.abs(Ee)/60),Re=Math.abs(Ee%60);return U({cldr:K,args:[W,me],tzString:"GMT"+_e+x(Me.toString(),2,"0")+x(Re.toString(),2,"0")})}},6397:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.functions=void 0;const c=O(6049),I=O(2500),H=O(5496),R=O(6073),x=O(8994),U=O(5736),z=O(3365);j.functions={asis:c.asis,output:I.output,comment:H.comment,boolean:R.boolean,numf:x.numf,numerate:x.numerate,quant:x.quant,format_bytes:x.format_bytes,datetime:U.datetime,local_datetime:U.local_datetime,list_and:z.list_and,list_or:z.list_or,list_or_quoted:z.list_or_quoted,list_and_quoted:z.list_and_quoted}},3365:(oe,j)=>{"use strict";function c(z,B,...X){let K=X.slice();switch(1===K.length&&Array.isArray(K[0])&&(K=K[0].slice()),(typeof K>"u"||0===K.length)&&(K=[""]),K=K.map(W=>function O(z,B){const X=z.getDelimiters();return X&&Object.prototype.hasOwnProperty.call(X,"quotation_start")&&Object.prototype.hasOwnProperty.call(X,"quotation_end")?X.quotation_start+B+X.quotation_end:B}(z,W)),B){case"list_and":return x({cldr:z,args:K});case"list_or":return U({cldr:z,args:K});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function R(z,B,...X){let K=X.slice();1===K.length&&Array.isArray(K[0])&&(K=K[0].slice());const W=K.length;let me,Ee,_e,Me;try{me=z.getFormats()[B]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Re=function(Ae,je){switch(je){case"0":return _e;case"1":return K[Me++]}};switch(W){case 0:return"";case 1:return String(K[0]);default:if(_e=2===W?me[2]:me.start,_e=_e.replace(/\{([01])\}/g,function(Ae,je){return K[je]}),2===W)return _e;for(Me=2;Me<W;)Ee=me[Me===W-1?"end":"middle"],_e=Ee.replace(/\{([01])\}/g,Re);return _e}}function x({cldr:z,args:[...B]}){return R(z,"list",...B)}function U({cldr:z,args:[...B]}){return R(z,"list_or",...B)}Object.defineProperty(j,"__esModule",{value:!0}),j.list_or=j.list_and=j.list_or_quoted=j.list_and_quoted=void 0,j.list_and_quoted=function I({cldr:z,args:[...B]}){return c(z,"list_and",...B)},j.list_or_quoted=function H({cldr:z,args:[...B]}){return c(z,"list_or",...B)},j.list_and=x,j.list_or=U},2500:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.functions=j.output=void 0;const c=O(9546),I=O(2353);j.output=function H({args:[R,...x]}){if(x&&"string"==typeof x[0]&&(x[0]=x[0].replace(/chr\((\d+)\)/g,function(U,z){return j.functions.chr(Number(z))}),x[0]=x[0].replace(/amp\(\)/g,function(){return j.functions.amp()})),"function"==typeof j.functions[R])return j.functions[R](...x);throw new Error(`Locale output function '${R}' is not implemented.`)},j.functions={amp:()=>(0,c.htmlEscape)("&"),apos:()=>(0,c.htmlEscape)("'"),quot:()=>(0,c.htmlEscape)('"'),underline:R=>`<u>${R}</u>`,strong:R=>`<strong>${R}</strong>`,em:R=>`<em>${R}</em>`,abbr:(R,x)=>`<abbr title="${x}">${R}</abbr>`,acronym:(R,x)=>`<abbr title="${x}" class="initialism">${R}</abbr>`,class:(R,...x)=>`<span class="${x.join(" ")}">${R}</span>`,chr(R){if("string"==typeof R&&(R=Number(R)),"number"!=typeof R||isNaN(R))throw new Error("chr needs a number as argument");return(0,c.htmlEscape)(String.fromCharCode(R))},url(R,...x){let U,z;if("object"==typeof x[x.length-1])if(U=x[x.length-1],2===x.length){if(U.html)throw new Error("Cannot provide both text and configuration with html attribute");z=x[0]}else U&&U.html?(z=U.html,delete U.html):z=R;else x.length%2==0?(U=(0,I.listToObject)(...x),U&&"html"in U&&""!==U.html?(z=U.html,delete U.html):z=R):(z=x.shift(),U=(0,I.listToObject)(...x));"_type"in U&&"offsite"===U._type&&(U.class="offsite",U.target="_blank",delete U._type);let B=`<a href="${R}"`;if("object"==typeof U)for(const X in U)Object.prototype.hasOwnProperty.call(U,X)&&(B+=` ${X}="${U[X]}"`);return B+=`>${z}</a>`,B}}},8994:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.format_bytes=j.numf=j.quant=j.numerate=void 0;const c=O(7268);function H({cldr:z,args:[B,...X]}){if(!(z instanceof c.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let K,W=3;B instanceof Array?(W=B[1],K=B[0]):K=B;const me=z.getPluralForm(K,...X),Ee=me[0]?me[0]:X[X.length-1];if(me&&me.length>=2&&me[1])return Ee;const Me=x({cldr:z,args:[K,W]});return-1!==Ee.indexOf("%s")?Ee.replace(/%s/g,Me):z.isRtl()?Ee+" "+Me:Me+" "+Ee}function x({cldr:z,args:[B,X=6]}){if(!(z instanceof c.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(B.toString()))return String(B);const{decimalFormat:K,decimalGroup:W,decimalDecimal:me}=function R(z){const B={},X=z.getFormats();return Object.prototype.hasOwnProperty.call(X,"decimal")&&(B.decimalFormat=X.decimal),Object.prototype.hasOwnProperty.call(X,"_decimal_format_group")&&(B.decimalGroup=X._decimal_format_group),Object.prototype.hasOwnProperty.call(X,"_decimal_format_decimal")&&(B.decimalDecimal=X._decimal_format_decimal),B}(z);if(!K||!W||!me)throw new Error("CLDR Data is missing information related to formatting decimals.");const Ee=B<0;B=Math.abs(B);let Me,Re,_e=Math.floor(B);/(?!')\.(?!')/.test(B.toString())&&(Me=String(B).replace(/^[^.]+/,"0"),Me=Number(Me).toFixed(X),/^1/.test(Me)?(_e++,B=_e,Me=void 0):Me=Me.replace(/^.*\./,"").replace(/0+$/,"")),Re=/(?!');(?!')/.test(K)?K.split(/(?!');(?!')/)[Ee?1:0]:(Ee?"-":"")+K;const qe=Re.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let ft;1===qe.length?ft="":(qe.pop(),ft=W);const wt=String(_e).split("").reverse(),ct=[];let st;const Vt=function(te){switch(te){case"#":return wt.shift()||"";case"0":return wt.shift()||"0"}};for(;wt.length;){qe.length&&(st=qe.shift());const te=st.replace(/(?!')[0#]|[0#](?!')/g,Vt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");ct.push(te)}const He=ct.join(ft).split("").reverse().join("")+(Me?me+Me:"");return Re.replace(/[0#].*[0#]/,He)}j.numerate=function I({cldr:z,args:[B,...X]}){if(!(z instanceof c.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const K=z.getPluralForm(B,...X);return K?K[0]:X[X.length-1]},j.quant=H,j.numf=x,j.format_bytes=function U({cldr:z,args:[B,X=2]}){if(!(z instanceof c.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const K=["KB","MB","GB","TB","PB","EB","ZB","YB"],me=B&&Math.min(Math.floor(Math.log(B)/Math.log(1024)),K.length);return me?x({cldr:z,args:[B/Math.pow(1024,me),X]})+"\xa0"+K[me-1]:H({cldr:z,args:[B,"%s\xa0byte","%s\xa0bytes"]})}},7367:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.maketext=j.functions=j.config=void 0;const c=O(6397);function x(U,z){const B=[];let X=!1,K=!1;return U.forEach(W=>{if("_"===W.charAt(0))if("_*"===W){if(K)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";B.push(...z),X=!0}else{const me=W.match(j.config.underscoreDigitRe);if(me){if(X)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Ee,_e]=me,Me=Number(_e)-1;if(!(Me in z))throw`The "${Ee}" substitution argument was not passed to the maketext function.`;B.push(z[Me]),K=!0}}else B.push(W)}),B}j.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},j.functions={...c.functions},j.maketext=function H({cldr:U,lexicon:z,template:B,args:X}){if("string"!=typeof B)throw"You must pass a string template to the maketext function.";if(-1===(B=z&&z[B]||B).indexOf("["))return B;const K=B.match(j.config.bracketRe)||[],W=[];let me=!1,Ee="";if(K.forEach(_e=>{if("["===_e){if(me)throw Error(`Invalid maketext string: ${B} \nThe string contains nested brackets.`);me=!0}else if("]"===_e){if(!me)throw Error(`Invalid maketext string: ${B} \nThe string contains an unmatched closing bracket character (]).`);if(!Ee)throw Error(`Invalid maketext string: ${B} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let Me;me=!1;try{Me=function R(U,z,B){let X=z.split(",");if(X=X.map(me=>me.replace(j.config.fauxCommaRe,",")),1===X.length){if(!j.config.underscoreDigitRe.test(X[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[me]=x(X,B);return String(me)}const K=X.shift();if(!K||"function"!=typeof j.functions[K])throw`Invalid function "${K}" in maketext string.`;const W=x(X,B);return j.functions[K]({cldr:U,args:W})}(U,Ee,X)}catch(Re){throw Error(`Invalid maketext string: ${B} \n${Re}`)}Ee="",W.push(Me)}else if("~"===_e.charAt(0)){const Me=_e.charAt(1)||"~";me?Ee+=","===Me?j.config.fauxComma:Me:j.config.tildeChars.has(Me)?W.push(Me):W.push(_e)}else me?Ee+=_e:W.push(_e)}),me)throw Error(`Invalid maketext string: ${B} \nThe string contains an unmatched opening bracket character ([).`);return W.join("")}},9546:(oe,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.htmlEscape=j.entityMap=void 0,j.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},j.htmlEscape=function O(c){return String(c).replace(/[&<>"'\/]/g,I=>j.entityMap[I])}},2353:(oe,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.listToObject=void 0,j.listToObject=function I(...H){let R={};return function O(H){if(H.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let x=0,U=H.length;x<U;x+=2){const z=H[x];if("string"!=typeof z||""===z)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(H)&&(R=function c(H){const R=H.length,x={};let z,B,U=0;for(;U<R;)z=H[U],B=H[++U],x[z]=B,U++;return x}(H)),R}},7773:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.commonValidators=void 0;const c=O(5839);j.commonValidators=new class I extends c.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(R){const x=R||this.locale.maketext("This field is required.");return U=>{let z={},B=U.value;return B&&(B=B.toString()),B&&B.length?null:(z=this.addError(z,"required",x),z)}}requiredTrue(R){const x=R||this.locale.maketext("This control's value should be true.");return U=>{let z={};return!0!==U.value?(z=this.addError(z,"requiredTrue",x),z):null}}startsWithLetter(R){return x=>{let U={};return x.value&&!this.STARTS_WITH_LETTER.test(x.value)?(U=this.addError(U,"doesNotStartWithLetter",R),U):null}}containsSpaces(R){return x=>{let U={};return x.value&&!this.CONTAINS_SPACES.test(x.value)?(U=this.addError(U,"containsSpace",R),U):null}}minLength(R,x){return U=>{let z={};return U.value&&U.value.length<x?(z=this.addError(z,"minLength",R),z):null}}maxLength(R,x){return U=>{let z={};return U.value&&U.value.length>x?(z=this.addError(z,"maxLength",R),z):null}}min(R,x){return U=>{let z={};return U.value&&U.value<x?(z=this.addError(z,"min",R),z):null}}max(R,x){return U=>{let z={};return U.value&&U.value>x?(z=this.addError(z,"max",R),z):null}}}},4304:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.cPUserNoteValidators=void 0;const c=O(5839),I=O(2185),R=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;j.cPUserNoteValidators=new class x extends c.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(z=250,B=""){return X=>{let K=I.stringValidators.validUnicode()(X);if(!K){const W=this.locale.maketext("This note is too long.");K=I.stringValidators.maxCharacterLength(W)(z,X)}if(!K){const W=X.match(R);if(W){K={};const me=W.index,Ee=W[0].codePointAt(0);this.addError(K,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",Ee,1+me))}}return K}}}},3046:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.cpanelUsernameValidators=void 0;const c=O(5839);j.cpanelUsernameValidators=new class I extends c.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(R){const x=R||this.locale.maketext("This is not a valid username.");return U=>{let z={};return U.value&&!this.VALID_USERNAME.test(U.value)?(z=this.addError(z,"invalidUsername",x),z):null}}}},3481:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.databaseValidators=void 0;const c=O(5839),I=O(3322);j.databaseValidators=new class H extends c.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(x,U,z){return B=>x===I.DatabaseType.MySQL?(this._dbPrefix=U||"",this.validateMySQLDatabaseName(B.value,z||"")):null}validateMySQLDatabaseName(x,U){const z=this._performMySqlDatabaseNameValidation(x,U);let B={};return z?(B=this.addError(B,"databaseName",z),B):null}_performMySqlDatabaseNameValidation(x,U){let z=null;return z=this._verifyNameLengthLimit(x),null!==z||(z=this._verifyDatabaseNameIgnoreLength(x),null!==z)||(z=this._verifyDatabaseName(x,U)),z}_verifyNameLengthLimit(x){let U=null,z=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(z-=this._dbPrefix.length+1);const B=unescape(encodeURIComponent(x)).length-z;return B>0&&(U={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",B,z)}),U}_verifyDatabaseNameIgnoreLength(x){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(x)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(x)?{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(x,U){if(null!==x&&x.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const z=this._verifySpecialWildcardsInDatabaseNames(x);return null!==z?z:U&&this._convertVersionStringToNumber(U)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(x)?{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.",U,".")}:null}_convertVersionStringToNumber(x){return x.match(/mariadb/i)&&(x=x.replace(/^[^-]+-/,"")),parseInt(x.replace(/-.*/,"").split(/\./).map(function(U){return U.padStart(2,"0")}).join(""),10)}_verifySpecialWildcardsInDatabaseNames(x){if(null===x)return null;const U=x.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let z=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(z-=this._dbPrefix.length+1);const B=U-z;return B>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.",["\\","_","%"],z,U,B)}:null}}},9044:function(oe,j,O){"use strict";var c=this&&this.__importDefault||function(z){return z&&z.__esModule?z:{default:z}};Object.defineProperty(j,"__esModule",{value:!0}),j.domainValidators=void 0;const I=O(2706),H=c(O(2159)),R=c(O(9488)),x=O(5839);j.domainValidators=new class U extends x.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(B){const X=[],K=H.default.ucs2.decode(B);for(let W=0;W<K.length;W++)K[W]>this.UNICODE_ASCII_CUTOFF&&X.push(H.default.ucs2.encode([K[W]]));return(0,R.default)(X)}_validateLabelBasics(){return B=>{let X={};if(B.value&&0!==B.value.length){if(B.value.length>this.MAX_LABEL_BYTES)X=this.addError(X,"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("-"===B.value[0])X=this.addError(X,"charCondition",this.locale.maketext("A label must not begin with \u201c[_1]\u201d.","-"));else if("-"===B.value[B.value.length-1])X=this.addError(X,"charCondition",this.locale.maketext("A label must not end with \u201c[_1]\u201d.","-"));else if(H.default.toASCII(B.value).length>this.MAX_LABEL_BYTES){const K=this._getNonASCII(B.value);X=this.addError(X,"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,K[0]))}}else X=this.addError(X,"length",this.locale.maketext("A label must not be empty."));return X}}validDomainLength(){return B=>{let X={};if(B.value.length>this.MAX_DOMAIN_BYTES)return X=this.addError(X,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),X;if(H.default.toASCII(B.value).length>this.MAX_DOMAIN_BYTES){const W=this._getNonASCII(B.value);return X=this.addError(X,"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,W[0])),X}return null}}validateLabel(){return B=>(0,I.runValidationGroup)(B,[this._validateLabelBasics(),X=>{let K={};return this.NONINITIAL_LABEL_REGEX.test(X.value)||(K=this.addError(K,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),K}])}validateTLD(){return B=>{let X={};return!this.VALID_TLD_REGEX.test(B.value)&&!this.VALID_IDN_TLD_REGEX.test(B.value)&&(X=this.addError(X,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),X}}fqdn(){return B=>{const X=B.value.split("."),K=X[X.length-1],W=X[0],me=B.value,Ee=[()=>{let _e={};const Me=this.IPv4_REGEX.test(me),Re=this.IPv6_REGEX.test(me);return Me||Re?_e=this.addError(_e,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):X.length<2?_e=this.addError(_e,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:W}),this.validateTLD().bind(this,{value:"."+K})];return X.forEach(_e=>{Ee.push(this.validateLabel().bind(this,{value:_e}))}),(0,I.runValidationGroup)(B,Ee)}}fqdnOrIP(){return B=>{const X=(0,I.runValidationGroup)(B,[this.anyIP()]),K=B.value.split("."),W=K[K.length-1],me=K[0],Ee=[Me=>{let Re={};return K.length<2&&(Re=this.addError(Re,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),Re},this.validDomainLength(),this.validateLabel().bind(this,{value:me}),this.validateTLD().bind(this,{value:"."+W})];K.forEach(Me=>{Ee.push(this.validateLabel().bind(this,{value:Me}))});const _e=(0,I.runValidationGroup)(B,Ee);return X&&_e?{...X,..._e}:null}}ipv4(){return B=>{let X={};return B.value&&!this.IPv4_REGEX.test(B.value)?(X=this.addError(X,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),X):null}}ipv6(){return B=>{let X={};return B.value&&!this.IPv6_REGEX.test(B.value)?(X=this.addError(X,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),X):null}}anyIP(){return B=>{let X={};return!B.value||this.IPv4_REGEX.test(B.value)||this.IPv6_REGEX.test(B.value)?null:(X=this.addError(X,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),X)}}}},9978:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.emailValidators=void 0;const c=O(5839);j.emailValidators=new class I extends c.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(R){const x=R||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return U=>{let z={};return U.value&&!this.VALID_EMAIL.test(U.value)?(z=this.addError(z,"invalidEmail",x),z):null}}}},7324:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.equalityValidators=void 0;const c=O(5839);j.equalityValidators=new class I extends c.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(R,x,U){return z=>{const B=z.get(x).value;let K={};return B===z.get(U).value&&""!==B?(K=this.addError(K,"equalFields",R),K):null}}}},7410:(oe,j,O)=>{"use strict";j.uv=j.md=void 0;O(7773);const H=O(9044);Object.defineProperty(j,"md",{enumerable:!0,get:function(){return H.domainValidators}});const R=O(5839);Object.defineProperty(j,"uv",{enumerable:!0,get:function(){return R.BaseValidator}});O(3481),O(3322),O(3046),O(9978),O(7324),O(4304),O(2185)},5839:(oe,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.BaseValidator=void 0;let O,c=!0;j.BaseValidator=class H{constructor(){this.prefix="",O={maketext:x=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(x){O=x}get locale(){return O}_buildKey(x){return c?`cpanel.${this.prefix}.${x}`:x}static disablePrefixing(){c=!1}static enablePrefixing(){c=!0}addError(x={},U,z){return"string"==typeof z&&(z={message:z}),x[this._buildKey(U)]=z,x}}},3322:(oe,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.DatabaseType=void 0;var O=function(c){return c.MySQL="MySQL",c.PostgreSQL="PostgreSQL",c}(O||(j.DatabaseType=O={}))},7945:(oe,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.characterLength=function R(x,U){let z=0;for(let B=0;B<x.length;B++){z++;const X=x.charCodeAt(B);if((X&I)===O){if(B++,B===x.length)throw new Error(U.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",H(X)));const K=x.charCodeAt(B);if((K&I)!==c)throw new Error(U.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[X,K].map(H),B))}}return z};const O=55296,c=56320,I=64512;function H(x){return"0x"+x.toString(16)}},2706:function(oe,j,O){"use strict";var c=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(j,"__esModule",{value:!0}),j.runValidationGroup=function H(R,x){const U={};return x.forEach(z=>{(0,I.default)(U,z(R))}),Object.keys(U).length?U:null};const I=c(O(1281))},2185:(oe,j,O)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.stringValidators=void 0;const c=O(5839),I=O(7945);j.stringValidators=new class R extends c.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return U=>{try{(0,I.characterLength)(U,this.locale)}catch(z){const B={};return z instanceof Error&&this.addError(B,"unicode",z.message),B}return null}}maxCharacterLength(U){return(z,B)=>{if((0,I.characterLength)(B,this.locale)>z){const K={};return this.addError(K,"length",U),K}return null}}maxUTF8Length(U){return(z,B)=>{if(function H(x){return unescape(encodeURIComponent(x)).length}(B)>z){const X={};return this.addError(X,"length",U),X}return null}}}},2159:(oe,j,O)=>{"use strict";O.r(j),O.d(j,{decode:()=>He,default:()=>le,encode:()=>te,toASCII:()=>Xe,toUnicode:()=>ye,ucs2decode:()=>ft,ucs2encode:()=>wt});const c=2147483647,I=36,K=/^xn--/,W=/[^\0-\x7F]/,me=/[\x2E\u3002\uFF0E\uFF61]/g,Ee={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Me=Math.floor,Re=String.fromCharCode;function Ae(ue){throw new RangeError(Ee[ue])}function qe(ue,Oe){const et=ue.split("@");let Ye="";et.length>1&&(Ye=et[0]+"@",ue=et[1]);const St=function je(ue,Oe){const et=[];let Ye=ue.length;for(;Ye--;)et[Ye]=Oe(ue[Ye]);return et}((ue=ue.replace(me,".")).split("."),Oe).join(".");return Ye+St}function ft(ue){const Oe=[];let et=0;const Ye=ue.length;for(;et<Ye;){const rt=ue.charCodeAt(et++);if(rt>=55296&&rt<=56319&&et<Ye){const St=ue.charCodeAt(et++);56320==(64512&St)?Oe.push(((1023&rt)<<10)+(1023&St)+65536):(Oe.push(rt),et--)}else Oe.push(rt)}return Oe}const wt=ue=>String.fromCodePoint(...ue),ct=function(ue){return ue>=48&&ue<58?ue-48+26:ue>=65&&ue<91?ue-65:ue>=97&&ue<123?ue-97:I},st=function(ue,Oe){return ue+22+75*(ue<26)-((0!=Oe)<<5)},Vt=function(ue,Oe,et){let Ye=0;for(ue=et?Me(ue/700):ue>>1,ue+=Me(ue/Oe);ue>455;Ye+=I)ue=Me(ue/35);return Me(Ye+36*ue/(ue+38))},He=function(ue){const Oe=[],et=ue.length;let Ye=0,rt=128,St=72,Ve=ue.lastIndexOf("-");Ve<0&&(Ve=0);for(let Rt=0;Rt<Ve;++Rt)ue.charCodeAt(Rt)>=128&&Ae("not-basic"),Oe.push(ue.charCodeAt(Rt));for(let Rt=Ve>0?Ve+1:0;Rt<et;){const ln=Ye;for(let Pt=1,Tn=I;;Tn+=I){Rt>=et&&Ae("invalid-input");const Xt=ct(ue.charCodeAt(Rt++));Xt>=I&&Ae("invalid-input"),Xt>Me((c-Ye)/Pt)&&Ae("overflow"),Ye+=Xt*Pt;const bn=Tn<=St?1:Tn>=St+26?26:Tn-St;if(Xt<bn)break;const Un=I-bn;Pt>Me(c/Un)&&Ae("overflow"),Pt*=Un}const Ut=Oe.length+1;St=Vt(Ye-ln,Ut,0==ln),Me(Ye/Ut)>c-rt&&Ae("overflow"),rt+=Me(Ye/Ut),Ye%=Ut,Oe.splice(Ye++,0,rt)}return String.fromCodePoint(...Oe)},te=function(ue){const Oe=[],et=(ue=ft(ue)).length;let Ye=128,rt=0,St=72;for(const ln of ue)ln<128&&Oe.push(Re(ln));const Ve=Oe.length;let Rt=Ve;for(Ve&&Oe.push("-");Rt<et;){let ln=c;for(const Pt of ue)Pt>=Ye&&Pt<ln&&(ln=Pt);const Ut=Rt+1;ln-Ye>Me((c-rt)/Ut)&&Ae("overflow"),rt+=(ln-Ye)*Ut,Ye=ln;for(const Pt of ue)if(Pt<Ye&&++rt>c&&Ae("overflow"),Pt===Ye){let Tn=rt;for(let Xt=I;;Xt+=I){const bn=Xt<=St?1:Xt>=St+26?26:Xt-St;if(Tn<bn)break;const Un=Tn-bn,ir=I-bn;Oe.push(Re(st(bn+Un%ir,0))),Tn=Me(Un/ir)}Oe.push(Re(st(Tn,0))),St=Vt(rt,Ut,Rt===Ve),rt=0,++Rt}++rt,++Ye}return Oe.join("")},ye=function(ue){return qe(ue,function(Oe){return K.test(Oe)?He(Oe.slice(4).toLowerCase()):Oe})},Xe=function(ue){return qe(ue,function(Oe){return W.test(Oe)?"xn--"+te(Oe):Oe})},le={version:"2.3.1",ucs2:{decode:ft,encode:wt},decode:He,encode:te,toASCII:Xe,toUnicode:ye}},9969:(oe,j,O)=>{"use strict";O.d(j,{FX:()=>Xe,If:()=>H,K2:()=>B,S6:()=>je,hZ:()=>x,i0:()=>U,iF:()=>X,kY:()=>me,kp:()=>R,sf:()=>te,ui:()=>ye,wk:()=>K});var c=O(177),I=O(3953),H=function(ae){return ae[ae.State=0]="State",ae[ae.Transition=1]="Transition",ae[ae.Sequence=2]="Sequence",ae[ae.Group=3]="Group",ae[ae.Animate=4]="Animate",ae[ae.Keyframes=5]="Keyframes",ae[ae.Style=6]="Style",ae[ae.Trigger=7]="Trigger",ae[ae.Reference=8]="Reference",ae[ae.AnimateChild=9]="AnimateChild",ae[ae.AnimateRef=10]="AnimateRef",ae[ae.Query=11]="Query",ae[ae.Stagger=12]="Stagger",ae}(H||{});const R="*";function x(ae,le){return{type:H.Trigger,name:ae,definitions:le,options:{}}}function U(ae,le=null){return{type:H.Animate,styles:le,timings:ae}}function B(ae,le=null){return{type:H.Sequence,steps:ae,options:le}}function X(ae){return{type:H.Style,styles:ae,offset:null}}function K(ae,le,ue){return{type:H.State,name:ae,styles:le,options:ue}}function me(ae,le,ue=null){return{type:H.Transition,expr:ae,animation:le,options:ue}}let je=(()=>{class ae{static{this.\u0275fac=function(Oe){return new(Oe||ae)}}static{this.\u0275prov=I.jDH({token:ae,factory:()=>(0,I.WQX)(ft),providedIn:"root"})}}return ae})();class qe{}let ft=(()=>{class ae extends je{constructor(ue,Oe){if(super(),this.animationModuleType=(0,I.WQX)(I.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=ue.createRenderer(Oe.body,{id:"0",encapsulation:I.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function He(ae){const le=ae.\u0275type;return 0===le||1===le}(this._renderer))throw new I.wOt(3600,!1)}build(ue){const Oe=this._nextAnimationId;this._nextAnimationId++;const et=Array.isArray(ue)?B(ue):ue;return st(this._renderer,null,Oe,"register",[et]),new wt(Oe,this._renderer)}static{this.\u0275fac=function(Oe){return new(Oe||ae)(I.KVO(I._9s),I.KVO(c.qQ))}}static{this.\u0275prov=I.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})();class wt extends qe{constructor(le,ue){super(),this._id=le,this._renderer=ue}create(le,ue){return new ct(this._id,le,ue||{},this._renderer)}}class ct{constructor(le,ue,Oe,et){this.id=le,this.element=ue,this._renderer=et,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Oe)}_listen(le,ue){return this._renderer.listen(this.element,`@@${this.id}:${le}`,ue)}_command(le,...ue){st(this._renderer,this.element,this.id,le,ue)}onDone(le){this._listen("done",le)}onStart(le){this._listen("start",le)}onDestroy(le){this._listen("destroy",le)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(le){this._command("setPosition",le)}getPosition(){return function Vt(ae){const le=ae.\u0275type;return 0===le?ae:1===le?ae.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function st(ae,le,ue,Oe,et){ae.setProperty(le,`@@${ue}:${Oe}`,et)}class te{constructor(le=0,ue=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=le+ue}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(le=>le()),this._onDoneFns=[])}onStart(le){this._originalOnStartFns.push(le),this._onStartFns.push(le)}onDone(le){this._originalOnDoneFns.push(le),this._onDoneFns.push(le)}onDestroy(le){this._onDestroyFns.push(le)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(le=>le()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(le=>le()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(le){this._position=this.totalTime?le*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(le){const ue="start"==le?this._onStartFns:this._onDoneFns;ue.forEach(Oe=>Oe()),ue.length=0}}class ye{constructor(le){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=le;let ue=0,Oe=0,et=0;const Ye=this.players.length;0==Ye?queueMicrotask(()=>this._onFinish()):this.players.forEach(rt=>{rt.onDone(()=>{++ue==Ye&&this._onFinish()}),rt.onDestroy(()=>{++Oe==Ye&&this._onDestroy()}),rt.onStart(()=>{++et==Ye&&this._onStart()})}),this.totalTime=this.players.reduce((rt,St)=>Math.max(rt,St.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(le=>le()),this._onDoneFns=[])}init(){this.players.forEach(le=>le.init())}onStart(le){this._onStartFns.push(le)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(le=>le()),this._onStartFns=[])}onDone(le){this._onDoneFns.push(le)}onDestroy(le){this._onDestroyFns.push(le)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(le=>le.play())}pause(){this.players.forEach(le=>le.pause())}restart(){this.players.forEach(le=>le.restart())}finish(){this._onFinish(),this.players.forEach(le=>le.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(le=>le.destroy()),this._onDestroyFns.forEach(le=>le()),this._onDestroyFns=[])}reset(){this.players.forEach(le=>le.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(le){const ue=le*this.totalTime;this.players.forEach(Oe=>{const et=Oe.totalTime?Math.min(1,ue/Oe.totalTime):1;Oe.setPosition(et)})}getPosition(){const le=this.players.reduce((ue,Oe)=>null===ue||Oe.totalTime>ue.totalTime?Oe:ue,null);return null!=le?le.getPosition():0}beforeDestroy(){this.players.forEach(le=>{le.beforeDestroy&&le.beforeDestroy()})}triggerCallback(le){const ue="start"==le?this._onStartFns:this._onDoneFns;ue.forEach(Oe=>Oe()),ue.length=0}}const Xe="!"},177:(oe,j,O)=>{"use strict";O.d(j,{AJ:()=>ki,B3:()=>Ri,MD:()=>Ko,N0:()=>ms,QT:()=>H,Sm:()=>Re,Sq:()=>Er,T3:()=>Fi,UE:()=>to,VF:()=>x,Vy:()=>ur,Xr:()=>yi,YU:()=>ti,ZD:()=>R,_b:()=>Nr,aZ:()=>je,bT:()=>Ai,fw:()=>Ae,hb:()=>_e,hj:()=>X,kB:()=>Me,qQ:()=>z});var c=O(3953);let I=null;function H(){return I}function R(m){I??=m}class x{}const z=new c.nKC("");let B=(()=>{class m{historyGo(_){throw new Error("")}static{this.\u0275fac=function(M){return new(M||m)}}static{this.\u0275prov=c.jDH({token:m,factory:()=>(0,c.WQX)(K),providedIn:"platform"})}}return m})();const X=new c.nKC("");let K=(()=>{class m extends B{constructor(){super(),this._doc=(0,c.WQX)(z),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return H().getBaseHref(this._doc)}onPopState(_){const M=H().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",_,!1),()=>M.removeEventListener("popstate",_)}onHashChange(_){const M=H().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",_,!1),()=>M.removeEventListener("hashchange",_)}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(_){this._location.pathname=_}pushState(_,M,L){this._history.pushState(_,M,L)}replaceState(_,M,L){this._history.replaceState(_,M,L)}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}static{this.\u0275fac=function(M){return new(M||m)}}static{this.\u0275prov=c.jDH({token:m,factory:()=>new m,providedIn:"platform"})}}return m})();function W(m,b){if(0==m.length)return b;if(0==b.length)return m;let _=0;return m.endsWith("/")&&_++,b.startsWith("/")&&_++,2==_?m+b.substring(1):1==_?m+b:m+"/"+b}function me(m){const b=m.match(/#|\?|$/),_=b&&b.index||m.length;return m.slice(0,_-("/"===m[_-1]?1:0))+m.slice(_)}function Ee(m){return m&&"?"!==m[0]?"?"+m:m}let _e=(()=>{class m{historyGo(_){throw new Error("")}static{this.\u0275fac=function(M){return new(M||m)}}static{this.\u0275prov=c.jDH({token:m,factory:()=>(0,c.WQX)(Re),providedIn:"root"})}}return m})();const Me=new c.nKC("");let Re=(()=>{class m extends _e{constructor(_,M){super(),this._platformLocation=_,this._removeListenerFns=[],this._baseHref=M??this._platformLocation.getBaseHrefFromDOM()??(0,c.WQX)(z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return W(this._baseHref,_)}path(_=!1){const M=this._platformLocation.pathname+Ee(this._platformLocation.search),L=this._platformLocation.hash;return L&&_?`${M}${L}`:M}pushState(_,M,L,re){const pe=this.prepareExternalUrl(L+Ee(re));this._platformLocation.pushState(_,M,pe)}replaceState(_,M,L,re){const pe=this.prepareExternalUrl(L+Ee(re));this._platformLocation.replaceState(_,M,pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}static{this.\u0275fac=function(M){return new(M||m)(c.KVO(B),c.KVO(Me,8))}}static{this.\u0275prov=c.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})(),Ae=(()=>{class m extends _e{constructor(_,M){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=M&&(this._baseHref=M)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}path(_=!1){const M=this._platformLocation.hash??"#";return M.length>0?M.substring(1):M}prepareExternalUrl(_){const M=W(this._baseHref,_);return M.length>0?"#"+M:M}pushState(_,M,L,re){let pe=this.prepareExternalUrl(L+Ee(re));0==pe.length&&(pe=this._platformLocation.pathname),this._platformLocation.pushState(_,M,pe)}replaceState(_,M,L,re){let pe=this.prepareExternalUrl(L+Ee(re));0==pe.length&&(pe=this._platformLocation.pathname),this._platformLocation.replaceState(_,M,pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}static{this.\u0275fac=function(M){return new(M||m)(c.KVO(B),c.KVO(Me,8))}}static{this.\u0275prov=c.jDH({token:m,factory:m.\u0275fac})}}return m})(),je=(()=>{class m{constructor(_){this._subject=new c.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const M=this._locationStrategy.getBaseHref();this._basePath=function ct(m){if(new RegExp("^(https?:)?//").test(m)){const[,_]=m.split(/\/\/[^\/]+/);return _}return m}(me(wt(M))),this._locationStrategy.onPopState(L=>{this._subject.emit({url:this.path(!0),pop:!0,state:L.state,type:L.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,M=""){return this.path()==this.normalize(_+Ee(M))}normalize(_){return m.stripTrailingSlash(function ft(m,b){if(!m||!b.startsWith(m))return b;const _=b.substring(m.length);return""===_||["/",";","?","#"].includes(_[0])?_:b}(this._basePath,wt(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,M="",L=null){this._locationStrategy.pushState(L,"",_,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+Ee(M)),L)}replaceState(_,M="",L=null){this._locationStrategy.replaceState(L,"",_,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+Ee(M)),L)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription??=this.subscribe(M=>{this._notifyUrlChangeListeners(M.url,M.state)}),()=>{const M=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(M,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",M){this._urlChangeListeners.forEach(L=>L(_,M))}subscribe(_,M,L){return this._subject.subscribe({next:_,error:M,complete:L})}static{this.normalizeQueryParams=Ee}static{this.joinWithSlash=W}static{this.stripTrailingSlash=me}static{this.\u0275fac=function(M){return new(M||m)(c.KVO(_e))}}static{this.\u0275prov=c.jDH({token:m,factory:()=>function qe(){return new je((0,c.KVO)(_e))}(),providedIn:"root"})}}return m})();function wt(m){return m.replace(/\/index.html$/,"")}function Nr(m,b){b=encodeURIComponent(b);for(const _ of m.split(";")){const M=_.indexOf("="),[L,re]=-1==M?[_,""]:[_.slice(0,M),_.slice(M+1)];if(L.trim()===b)return decodeURIComponent(re)}return null}const pt=/\s+/,hn=[];let ti=(()=>{class m{constructor(_,M){this._ngEl=_,this._renderer=M,this.initialClasses=hn,this.stateMap=new Map}set klass(_){this.initialClasses=null!=_?_.trim().split(pt):hn}set ngClass(_){this.rawClass="string"==typeof _?_.trim().split(pt):_}ngDoCheck(){for(const M of this.initialClasses)this._updateState(M,!0);const _=this.rawClass;if(Array.isArray(_)||_ instanceof Set)for(const M of _)this._updateState(M,!0);else if(null!=_)for(const M of Object.keys(_))this._updateState(M,!!_[M]);this._applyStateDiff()}_updateState(_,M){const L=this.stateMap.get(_);void 0!==L?(L.enabled!==M&&(L.changed=!0,L.enabled=M),L.touched=!0):this.stateMap.set(_,{enabled:M,changed:!0,touched:!0})}_applyStateDiff(){for(const _ of this.stateMap){const M=_[0],L=_[1];L.changed?(this._toggleClass(M,L.enabled),L.changed=!1):L.touched||(L.enabled&&this._toggleClass(M,!1),this.stateMap.delete(M)),L.touched=!1}}_toggleClass(_,M){(_=_.trim()).length>0&&_.split(pt).forEach(L=>{M?this._renderer.addClass(this._ngEl.nativeElement,L):this._renderer.removeClass(this._ngEl.nativeElement,L)})}static{this.\u0275fac=function(M){return new(M||m)(c.rXU(c.aKT),c.rXU(c.sFG))}}static{this.\u0275dir=c.FsC({type:m,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return m})();class xr{constructor(b,_,M,L){this.$implicit=b,this.ngForOf=_,this.index=M,this.count=L}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Er=(()=>{class m{set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}constructor(_,M,L){this._viewContainer=_,this._template=M,this._differs=L,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(_){_&&(this._template=_)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const _=this._ngForOf;!this._differ&&_&&(this._differ=this._differs.find(_).create(this.ngForTrackBy))}if(this._differ){const _=this._differ.diff(this._ngForOf);_&&this._applyChanges(_)}}_applyChanges(_){const M=this._viewContainer;_.forEachOperation((L,re,pe)=>{if(null==L.previousIndex)M.createEmbeddedView(this._template,new xr(L.item,this._ngForOf,-1,-1),null===pe?void 0:pe);else if(null==pe)M.remove(null===re?void 0:re);else if(null!==re){const Ne=M.get(re);M.move(Ne,pe),Hr(Ne,L)}});for(let L=0,re=M.length;L<re;L++){const Ne=M.get(L).context;Ne.index=L,Ne.count=re,Ne.ngForOf=this._ngForOf}_.forEachIdentityChange(L=>{Hr(M.get(L.currentIndex),L)})}static ngTemplateContextGuard(_,M){return!0}static{this.\u0275fac=function(M){return new(M||m)(c.rXU(c.c1b),c.rXU(c.C4Q),c.rXU(c._q3))}}static{this.\u0275dir=c.FsC({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return m})();function Hr(m,b){m.context.$implicit=b.item}let Ai=(()=>{class m{constructor(_,M){this._viewContainer=_,this._context=new mo,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=M}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){Gr("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){Gr("ngIfElse",_),this._elseTemplateRef=_,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(_,M){return!0}static{this.\u0275fac=function(M){return new(M||m)(c.rXU(c.c1b),c.rXU(c.C4Q))}}static{this.\u0275dir=c.FsC({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return m})();class mo{constructor(){this.$implicit=null,this.ngIf=null}}function Gr(m,b){if(b&&!b.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,c.Tbb)(b)}'.`)}let Ri=(()=>{class m{constructor(_,M,L){this._ngEl=_,this._differs=M,this._renderer=L,this._ngStyle=null,this._differ=null}set ngStyle(_){this._ngStyle=_,!this._differ&&_&&(this._differ=this._differs.find(_).create())}ngDoCheck(){if(this._differ){const _=this._differ.diff(this._ngStyle);_&&this._applyChanges(_)}}_setStyle(_,M){const[L,re]=_.split("."),pe=-1===L.indexOf("-")?void 0:c.czy.DashCase;null!=M?this._renderer.setStyle(this._ngEl.nativeElement,L,re?`${M}${re}`:M,pe):this._renderer.removeStyle(this._ngEl.nativeElement,L,pe)}_applyChanges(_){_.forEachRemovedItem(M=>this._setStyle(M.key,null)),_.forEachAddedItem(M=>this._setStyle(M.key,M.currentValue)),_.forEachChangedItem(M=>this._setStyle(M.key,M.currentValue))}static{this.\u0275fac=function(M){return new(M||m)(c.rXU(c.aKT),c.rXU(c.MKu),c.rXU(c.sFG))}}static{this.\u0275dir=c.FsC({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return m})(),Fi=(()=>{class m{constructor(_){this._viewContainerRef=_,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(_){if(this._shouldRecreateView(_)){const M=this._viewContainerRef;if(this._viewRef&&M.remove(M.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const L=this._createContextForwardProxy();this._viewRef=M.createEmbeddedView(this.ngTemplateOutlet,L,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(_){return!!_.ngTemplateOutlet||!!_.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(_,M,L)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,M,L),get:(_,M,L)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,M,L)}})}static{this.\u0275fac=function(M){return new(M||m)(c.rXU(c.c1b))}}static{this.\u0275dir=c.FsC({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[c.OA$]})}}return m})(),Ko=(()=>{class m{static{this.\u0275fac=function(M){return new(M||m)}}static{this.\u0275mod=c.$C({type:m})}static{this.\u0275inj=c.G2t({})}}return m})();const ki="browser",yo="server";function to(m){return m===ki}function ur(m){return m===yo}let yi=(()=>{class m{static{this.\u0275prov=(0,c.jDH)({token:m,providedIn:"root",factory:()=>to((0,c.WQX)(c.Agw))?new Oo((0,c.WQX)(z),window):new vo})}}return m})();class Oo{constructor(b,_){this.document=b,this.window=_,this.offset=()=>[0,0]}setOffset(b){this.offset=Array.isArray(b)?()=>b:b}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(b){this.window.scrollTo(b[0],b[1])}scrollToAnchor(b){const _=function gs(m,b){const _=m.getElementById(b)||m.getElementsByName(b)[0];if(_)return _;if("function"==typeof m.createTreeWalker&&m.body&&"function"==typeof m.body.attachShadow){const M=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let L=M.currentNode;for(;L;){const re=L.shadowRoot;if(re){const pe=re.getElementById(b)||re.querySelector(`[name="${b}"]`);if(pe)return pe}L=M.nextNode()}}return null}(this.document,b);_&&(this.scrollToElement(_),_.focus())}setHistoryScrollRestoration(b){this.window.history.scrollRestoration=b}scrollToElement(b){const _=b.getBoundingClientRect(),M=_.left+this.window.pageXOffset,L=_.top+this.window.pageYOffset,re=this.offset();this.window.scrollTo(M-re[0],L-re[1])}}class vo{setOffset(b){}getScrollPosition(){return[0,0]}scrollToPosition(b){}scrollToAnchor(b){}setHistoryScrollRestoration(b){}}class ms{}},3953:(oe,j,O)=>{"use strict";function c(e,t){return Object.is(e,t)}O.d(j,{bc$:()=>yM,iLQ:()=>qd,sZ2:()=>$u,hnV:()=>TE,Hbi:()=>HN,o8S:()=>ps,BIS:()=>vM,gRc:()=>HE,Ql9:()=>dN,OM3:()=>Hc,Ocv:()=>vN,Z63:()=>Ei,aKT:()=>mc,uvJ:()=>di,zcH:()=>ks,bkB:()=>cs,$GK:()=>Dt,nKC:()=>tt,zZn:()=>Jr,_q3:()=>vg,MKu:()=>_g,xe9:()=>dg,Co$:()=>T_,Vns:()=>xa,SKi:()=>Vn,Xx1:()=>qr,Agw:()=>Hu,PLl:()=>ey,sFG:()=>lT,_9s:()=>Yf,czy:()=>nd,kdw:()=>ai,C4Q:()=>Rc,NYb:()=>iN,giA:()=>bE,RxE:()=>yE,c1b:()=>_d,gXe:()=>Lo,mal:()=>Td,L39:()=>Cx,EWP:()=>Ex,Ol2:()=>fp,w6W:()=>JT,oH4:()=>UE,SmG:()=>IN,Rfq:()=>wo,WQX:()=>ve,naY:()=>TN,QuC:()=>br,EmA:()=>Os,fpN:()=>$N,HJs:()=>Ox,N4e:()=>PD,vPA:()=>c_,O8t:()=>Dx,H3F:()=>vE,zAP:()=>pD,H8p:()=>rc,KH2:()=>kl,TgB:()=>ba,wOt:()=>Ie,WHO:()=>DE,e01:()=>ME,H5H:()=>Bp,Zy3:()=>kr,mq5:()=>xC,JZv:()=>pn,LfX:()=>$l,plB:()=>ea,jNT:()=>ag,zjR:()=>SE,TL$:()=>gM,Tbb:()=>xn,Vt3:()=>up,GFd:()=>S_,OA$:()=>ph,Jv_:()=>$w,aNF:()=>Hw,R7$:()=>Xy,BMQ:()=>Sp,HbH:()=>vC,ZvI:()=>bC,AVh:()=>Np,wni:()=>gw,VBU:()=>at,FsC:()=>Rn,jDH:()=>zt,G2t:()=>Vi,$C:()=>Ge,EJ8:()=>En,rXU:()=>dl,nrm:()=>Lp,eu8:()=>Vp,bVm:()=>kd,qex:()=>Fd,k0s:()=>Rd,j41:()=>xd,RV6:()=>AC,xGo:()=>vm,Mr5:()=>Up,KVO:()=>mt,kS0:()=>ku,QTQ:()=>Zy,bIt:()=>Hp,lsd:()=>vw,XpG:()=>iw,SdG:()=>sw,NAR:()=>ow,Y8G:()=>Pp,FS9:()=>zp,Mz_:()=>jd,lJ4:()=>Ww,eq3:()=>qw,l_i:()=>Kw,sMw:()=>Qw,mGM:()=>yw,sdS:()=>_w,Njj:()=>zg,eBV:()=>Gg,npT:()=>My,B4B:()=>ff,n$t:()=>Sy,DNE:()=>gp,C5r:()=>tE,EFF:()=>Ow,JRh:()=>qp,SpI:()=>$d,Lme:()=>Kp,DH7:()=>Vw,mxI:()=>Xp,R50:()=>Qp,GBs:()=>mw});let I=null,H=!1,R=1;const x=Symbol("SIGNAL");function U(e){const t=I;return I=e,t}const K={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 W(e){if(H)throw new Error("");if(null===I)return;I.consumerOnSignalRead(e);const t=I.nextProducerIndex++;Vt(I),t<I.producerNode.length&&I.producerNode[t]!==e&&st(I)&&ct(I.producerNode[t],I.producerIndexOfThis[t]),I.producerNode[t]!==e&&(I.producerNode[t]=e,I.producerIndexOfThis[t]=st(I)?wt(e,I,t):0),I.producerLastReadVersion[t]=e.version}function Ee(e){if((!st(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==R)){if(!e.producerMustRecompute(e)&&!qe(e))return e.dirty=!1,void(e.lastCleanEpoch=R);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=R}}function _e(e){if(void 0===e.liveConsumerNode)return;const t=H;H=!0;try{for(const n of e.liveConsumerNode)n.dirty||Re(n)}finally{H=t}}function Me(){return!1!==I?.consumerAllowSignalWrites}function Re(e){e.dirty=!0,_e(e),e.consumerMarkedDirty?.(e)}function Ae(e){return e&&(e.nextProducerIndex=0),U(e)}function je(e,t){if(U(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(st(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)ct(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function qe(e){Vt(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ee(n),r!==n.version))return!0}return!1}function ft(e){if(Vt(e),st(e))for(let t=0;t<e.producerNode.length;t++)ct(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 wt(e,t,n){if(He(e),0===e.liveConsumerNode.length&&te(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=wt(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function ct(e,t){if(He(e),1===e.liveConsumerNode.length&&te(e))for(let r=0;r<e.producerNode.length;r++)ct(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];Vt(i),i.producerIndexOfThis[r]=t}}function st(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Vt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function He(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function te(e){return void 0!==e.producerNode}const Xe=Symbol("UNSET"),ae=Symbol("COMPUTING"),le=Symbol("ERRORED"),ue={...K,value:Xe,dirty:!0,error:null,equal:c,producerMustRecompute:e=>e.value===Xe||e.value===ae,producerRecomputeValue(e){if(e.value===ae)throw new Error("Detected cycle in computations.");const t=e.value;e.value=ae;const n=Ae(e);let r;try{r=e.computation()}catch(i){r=le,e.error=i}finally{je(e,n)}t!==Xe&&t!==le&&r!==le&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let et=function Oe(){throw new Error};function Ye(){et()}let St=null;function Ut(e,t){Me()||Ye(),e.equal(e.value,t)||(e.value=t,function bn(e){e.version++,function me(){R++}(),_e(e),St?.()}(e))}const Xt={...K,equal:c,value:void 0};var sn=O(4412),In=O(1413),$n=O(8359),On=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 Po="https://g.co/ng/security#xss";class Ie extends Error{constructor(t,n){super(kr(t,n)),this.code=t}}function kr(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function oi(e){return{toString:e}.toString()}const dr="__parameters__";function Lr(e,t,n){return oi(()=>{const r=function Yn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...a){if(this instanceof i)return r.apply(this,a),this;const u=new i(...a);return h.annotation=u,h;function h(g,C,E){const N=g.hasOwnProperty(dr)?g[dr]:Object.defineProperty(g,dr,{value:[]})[dr];for(;N.length<=E;)N.push(null);return(N[E]=N[E]||[]).push(u),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const pn=globalThis;function xt(e){for(let t in e)if(e[t]===xt)return t;throw Error("Could not find renamed property on target object.")}function oa(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 Co(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Yo=xt({__forward_ref__:xt});function wo(e){return e.__forward_ref__=wo,e.toString=function(){return xn(this())},e}function Ke(e){return _i(e)?e():e}function _i(e){return"function"==typeof e&&e.hasOwnProperty(Yo)&&e.__forward_ref__===wo}function zt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Vi(e){return{providers:e.providers||[],imports:e.imports||[]}}function Jo(e){return Hs(e,xo)||Hs(e,vs)}function $l(e){return null!==Jo(e)}function Hs(e,t){return e.hasOwnProperty(t)?e[t]:null}function Gs(e){return e&&(e.hasOwnProperty(ca)||e.hasOwnProperty(zs))?e[ca]:null}const xo=xt({\u0275prov:xt}),ca=xt({\u0275inj:xt}),vs=xt({ngInjectableDef:xt}),zs=xt({ngInjectorDef:xt});class tt{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=zt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ua(e){return e&&!!e.\u0275providers}const Ro=xt({\u0275cmp:xt}),Es=xt({\u0275dir:xt}),ts=xt({\u0275pipe:xt}),da=xt({\u0275mod:xt}),Ui=xt({\u0275fac:xt}),Bi=xt({__NG_ELEMENT_ID__:xt}),Ws=xt({__NG_ENV_ID__:xt});function nt(e){return"string"==typeof e?e:null==e?"":String(e)}function Ks(e,t){throw new Ie(-201,!1)}var Dt=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}(Dt||{});let Ds;function ha(){return Ds}function wn(e){const t=Ds;return Ds=e,t}function nn(e,t,n){const r=Jo(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Dt.Optional?null:void 0!==t?t:void Ks()}const Ms={},Ci="__NG_DI_FLAG__",m="ngTempTokenPath",_=/\n/gm,L="__source";let re;function Ne(e){const t=re;return re=e,t}function It(e,t=Dt.Default){if(void 0===re)throw new Ie(-203,!1);return null===re?nn(e,void 0,t):re.get(e,t&Dt.Optional?null:void 0,t)}function mt(e,t=Dt.Default){return(ha()||It)(Ke(e),t)}function ve(e,t=Dt.Default){return mt(e,rn(t))}function rn(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Bt(e){const t=[];for(let n=0;n<e.length;n++){const r=Ke(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Ie(900,!1);let i,a=Dt.Default;for(let u=0;u<r.length;u++){const h=r[u],g=$i(h);"number"==typeof g?-1===g?i=h.token:a|=g:i=h}t.push(mt(i,a))}else t.push(mt(r))}return t}function un(e,t){return e[Ci]=t,e.prototype[Ci]=t,e}function $i(e){return e[Ci]}const qr=un(Lr("Optional"),8),ai=un(Lr("SkipSelf"),4);function ko(e,t){return e.hasOwnProperty(Ui)?e[Ui]:null}function Qs(e,t){e.forEach(n=>Array.isArray(n)?Qs(n,t):t(n))}function bs(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 Qr(e,t,n){let r=Ss(e,t);return r>=0?e[1|r]=n:(r=~r,function Xl(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function $a(e,t){const n=Ss(e,t);if(n>=0)return e[1|n]}function Ss(e,t){return function Zl(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const a=r+(i-r>>1),u=e[a<<n];if(t===u)return a<<n;u>t?i=a:r=a+1}return~(i<<n)}(e,t,1)}const ao={},Gt=[],Ei=new tt(""),Jl=new tt("",-1),pa=new tt("");class ga{get(t,n=Ms){if(n===Ms){const r=new Error(`NullInjectorError: No provider for ${xn(t)}!`);throw r.name="NullInjectorError",r}return n}}var ma=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ma||{}),Lo=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Lo||{}),lo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(lo||{});function ya(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const a=t.length;if(i+a===r||e.charCodeAt(i+a)<=32)return i}n=i+1}}function Ts(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const a=n[r++],u=n[r++],h=n[r++];e.setAttribute(t,u,h,a)}else{const a=i,u=n[++r];Ga(a)?e.setProperty(t,a,u):e.setAttribute(t,a,u),r++}}return r}function Ha(e){return 3===e||4===e||6===e}function Ga(e){return 64===e.charCodeAt(0)}function Xs(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||ec(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ec(e,t,n,r,i){let a=0,u=e.length;if(-1===t)u=-1;else for(;a<e.length;){const h=e[a++];if("number"==typeof h){if(h===t){u=-1;break}if(h>t){u=a-1;break}}}for(;a<e.length;){const h=e[a];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==i&&(e[a+1]=i));if(r===e[a+1])return void(e[a+2]=i)}a++,null!==r&&a++,null!==i&&a++}-1!==u&&(e.splice(u,0,t),a=u+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==i&&e.splice(a++,0,i)}const tc="ng-template";function oh(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==ya(t[i+1].toLowerCase(),n,0))return!0}else if(nc(e))return!1;if(i=t.indexOf(1,i),i>-1){let a;for(;++i<t.length&&"string"==typeof(a=t[i]);)if(a.toLowerCase()===n)return!0}return!1}function nc(e){return 4===e.type&&e.value!==tc}function p(e,t,n){return t===(4!==e.type||n?e.value:tc)}function l(e,t,n){let r=4;const i=e.attrs,a=null!==i?function v(e){for(let t=0;t<e.length;t++)if(Ha(e[t]))return t;return e.length}(i):0;let u=!1;for(let h=0;h<t.length;h++){const g=t[h];if("number"!=typeof g){if(!u)if(4&r){if(r=2|1&r,""!==g&&!p(e,g,n)||""===g&&1===t.length){if(o(r))return!1;u=!0}}else if(8&r){if(null===i||!oh(e,i,g,n)){if(o(r))return!1;u=!0}}else{const C=t[++h],E=s(g,i,nc(e),n);if(-1===E){if(o(r))return!1;u=!0;continue}if(""!==C){let N;if(N=E>a?"":i[E+1].toLowerCase(),2&r&&C!==N){if(o(r))return!1;u=!0}}}}else{if(!u&&!o(r)&&!o(g))return!1;if(u&&o(g))continue;u=!1,r=g|1&r}}return o(r)||u}function o(e){return!(1&e)}function s(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let a=!1;for(;i<t.length;){const u=t[i];if(u===e)return i;if(3===u||6===u)a=!0;else{if(1===u||2===u){let h=t[++i];for(;"string"==typeof h;)h=t[++i];continue}if(4===u)break;if(0===u){i+=4;continue}}i+=a?1:2}return-1}return function T(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function d(e,t,n=!1){for(let r=0;r<t.length;r++)if(l(e,t[r],n))return!0;return!1}function S(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function G(e,t){return e?":not("+t.trim()+")":t}function J(e){let t=e[0],n=1,r=2,i="",a=!1;for(;n<e.length;){let u=e[n];if("string"==typeof u)if(2&r){const h=e[++n];i+="["+u+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?i+="."+u:4&r&&(i+=" "+u);else""!==i&&!o(u)&&(t+=G(a,i),i=""),r=u,a=a||!o(r);n++}return""!==i&&(t+=G(a,i)),t}function at(e){return oi(()=>{const t=Xr(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ma.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Lo.Emulated,styles:e.styles||Gt,_:null,schemas:e.schemas||null,tView:null,id:""};rs(n);const r=e.dependencies;return n.directiveDefs=Vo(r,!1),n.pipeDefs=Vo(r,!0),n.id=function Is(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function We(e){return Ze(e)||kt(e)}function Be(e){return null!==e}function Ge(e){return oi(()=>({type:e.type,bootstrap:e.bootstrap||Gt,declarations:e.declarations||Gt,imports:e.imports||Gt,exports:e.exports||Gt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Kt(e,t){if(null==e)return ao;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let a,u,h=lo.None;Array.isArray(i)?(h=i[0],a=i[1],u=i[2]??a):(a=i,u=i),t?(n[a]=h!==lo.None?[r,h]:r,t[a]=u):n[a]=r}return n}function Rn(e){return oi(()=>{const t=Xr(e);return rs(t),t})}function En(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 Ze(e){return e[Ro]||null}function kt(e){return e[Es]||null}function Fn(e){return e[ts]||null}function br(e){const t=Ze(e)||kt(e)||Fn(e);return null!==t&&t.standalone}function Yt(e,t){const n=e[da]||null;if(!n&&!0===t)throw new Error(`Type ${xn(e)} does not have '\u0275mod' property.`);return n}function Xr(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||ao,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Gt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Kt(e.inputs,t),outputs:Kt(e.outputs),debugInfo:null}}function rs(e){e.features?.forEach(t=>t(e))}function Vo(e,t){if(!e)return null;const n=t?Fn:We;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Be)}function Os(e){return{\u0275providers:e}}function yu(...e){return{\u0275providers:za(0,e),\u0275fromNgModule:!0}}function za(e,...t){const n=[],r=new Set;let i;const a=u=>{n.push(u)};return Qs(t,u=>{const h=u;Qe(h,a,[],r)&&(i||=[],i.push(h))}),void 0!==i&&Ue(i,a),n}function Ue(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Lt(i,a=>{t(a,r)})}}function Qe(e,t,n,r){if(!(e=Ke(e)))return!1;let i=null,a=Gs(e);const u=!a&&Ze(e);if(a||u){if(u&&!u.standalone)return!1;i=e}else{const g=e.ngModule;if(a=Gs(g),!a)return!1;i=g}const h=r.has(i);if(u){if(h)return!1;if(r.add(i),u.dependencies){const g="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const C of g)Qe(C,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!h){let C;r.add(i);try{Qs(a.imports,E=>{Qe(E,t,n,r)&&(C||=[],C.push(E))})}finally{}void 0!==C&&Ue(C,t)}if(!h){const C=ko(i)||(()=>new i);t({provide:i,useFactory:C,deps:Gt},i),t({provide:pa,useValue:i,multi:!0},i),t({provide:Ei,useValue:()=>mt(i),multi:!0},i)}const g=a.providers;if(null!=g&&!h){const C=e;Lt(g,E=>{t(E,C)})}}}return i!==e&&void 0!==e.providers}function Lt(e,t){for(let n of e)ua(n)&&(n=n.\u0275providers),Array.isArray(n)?Lt(n,t):t(n)}const fr=xt({provide:String,useValue:xt});function Hi(e){return null!==e&&"object"==typeof e&&fr in e}function on(e){return"function"==typeof e}const rc=new tt(""),Zn={},Ps={};let ui;function As(){return void 0===ui&&(ui=new ga),ui}class di{}class Wa extends di{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ah(t,u=>this.processProvider(u)),this.records.set(Jl,qa(void 0,this)),i.has("environment")&&this.records.set(di,qa(void 0,this));const a=this.records.get(rc);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(pa,Gt,Dt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=U(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),U(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Ne(this),r=wn(void 0);try{return t()}finally{Ne(n),wn(r)}}get(t,n=Ms,r=Dt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ws))return t[Ws](this);r=rn(r);const a=Ne(this),u=wn(void 0);try{if(!(r&Dt.SkipSelf)){let g=this.records.get(t);if(void 0===g){const C=function OD(e){return"function"==typeof e||"object"==typeof e&&e instanceof tt}(t)&&Jo(t);g=C&&this.injectableDefInScope(C)?qa(sh(t),Zn):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&Dt.Self?As():this.parent).get(t,n=r&Dt.Optional&&n===Ms?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[m]=h[m]||[]).unshift(xn(t)),a)throw h;return function wi(e,t,n,r){const i=e[m];throw t[L]&&i.unshift(t[L]),e.message=function Eo(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=xn(t);if(Array.isArray(t))i=t.map(xn).join(" -> ");else if("object"==typeof t){let a=[];for(let u in t)if(t.hasOwnProperty(u)){let h=t[u];a.push(u+":"+("string"==typeof h?JSON.stringify(h):xn(h)))}i=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(_,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[m]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{wn(u),Ne(a)}}resolveInjectorInitializers(){const t=U(null),n=Ne(this),r=wn(void 0);try{const a=this.get(Ei,Gt,Dt.Self);for(const u of a)u()}finally{Ne(n),wn(r),U(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(xn(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ie(205,!1)}processProvider(t){let n=on(t=Ke(t))?t:Ke(t&&t.provide);const r=function SD(e){return Hi(e)?qa(void 0,e.useValue):qa(Mg(e),Zn)}(t);if(!on(t)&&!0===t.multi){let i=this.records.get(n);i||(i=qa(void 0,Zn,!0),i.factory=()=>Bt(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=U(null);try{return n.value===Zn&&(n.value=Ps,n.value=n.factory()),"object"==typeof n.value&&n.value&&function ID(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{U(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Ke(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 sh(e){const t=Jo(e),n=null!==t?t.factory:ko(e);if(null!==n)return n;if(e instanceof tt)throw new Ie(204,!1);if(e instanceof Function)return function bD(e){if(e.length>0)throw new Ie(204,!1);const n=function la(e){return e&&(e[xo]||e[vs])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ie(204,!1)}function Mg(e,t,n){let r;if(on(e)){const i=Ke(e);return ko(i)||sh(i)}if(Hi(e))r=()=>Ke(e.useValue);else if(function Uo(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Bt(e.deps||[]));else if(function ci(e){return!(!e||!e.useExisting)}(e))r=()=>mt(Ke(e.useExisting));else{const i=Ke(e&&(e.useClass||e.provide));if(!function TD(e){return!!e.deps}(e))return ko(i)||sh(i);r=()=>new i(...Bt(e.deps))}return r}function qa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ah(e,t){for(const n of e)Array.isArray(n)?ah(n,t):n&&ua(n)?ah(n.\u0275providers,t):t(n)}function PD(e,t){e instanceof Wa&&e.assertNotDestroyed();const r=Ne(e),i=wn(void 0);try{return t()}finally{Ne(r),wn(i)}}function bg(){return void 0!==ha()||null!=function pe(){return re}()}const kn=0,Se=1,Je=2,pr=3,Bo=4,Yr=5,Di=6,Qa=7,Dn=8,gr=9,is=10,dt=11,oc=12,Tg=13,Xa=14,Ln=15,va=16,Ya=17,Ns=18,Za=19,Ig=20,Ys=21,Cu=22,Do=23,ze=25,uh=1,os=7,Ja=9,Jn=10;var Eu=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Eu||{});function Tr(e){return Array.isArray(e)&&"object"==typeof e[uh]}function hi(e){return Array.isArray(e)&&!0===e[uh]}function dh(e){return!!(4&e.flags)}function _a(e){return e.componentOffset>-1}function Du(e){return!(1&~e.flags)}function jo(e){return!!e.template}function ac(e){return!!(512&e[Je])}class $D{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function xg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function ph(){return Rg}function Rg(e){return e.type.prototype.ngOnChanges&&(e.setInput=GD),HD}function HD(){const e=kg(this),t=e?.current;if(t){const n=e.previous;if(n===ao)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function GD(e,t,n,r,i){const a=this.declaredInputs[r],u=kg(e)||function zD(e,t){return e[Fg]=t}(e,{previous:ao,current:null}),h=u.current||(u.current={}),g=u.previous,C=g[a];h[a]=new $D(C&&C.currentValue,n,g===ao),xg(e,t,i,n)}ph.ngInherit=!0;const Fg="__ngSimpleChanges__";function kg(e){return e[Fg]||null}const ss=function(e,t,n){};function Qt(e){for(;Array.isArray(e);)e=e[kn];return e}function lc(e,t){return Qt(t[e])}function Mi(e,t){return Qt(t[e.index])}function cc(e,t){return e.data[t]}function co(e,t){const n=t[e];return Tr(n)?n:n[kn]}function yh(e){return!(128&~e[Je])}function Mo(e,t){return null==t?null:e[t]}function Ug(e){e[Ya]=0}function Bg(e){1024&e[Je]||(e[Je]|=1024,yh(e)&&bu(e))}function Mu(e){return!!(9216&e[Je]||e[Do]?.dirty)}function vh(e){e[is].changeDetectionScheduler?.notify(8),64&e[Je]&&(e[Je]|=1024),Mu(e)&&bu(e)}function bu(e){e[is].changeDetectionScheduler?.notify(0);let t=xs(e);for(;null!==t&&!(8192&t[Je])&&(t[Je]|=8192,yh(t));)t=xs(t)}function Su(e,t){if(!(256&~e[Je]))throw new Ie(911,!1);null===e[Ys]&&(e[Ys]=[]),e[Ys].push(t)}function xs(e){const t=e[pr];return hi(t)?t[pr]:t}const ht={lFrame:tm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let $g=!1;function Hg(){return ht.bindingsEnabled}function wa(){return null!==ht.skipHydrationRootTNode}function ce(){return ht.lFrame.lView}function Ot(){return ht.lFrame.tView}function Gg(e){return ht.lFrame.contextLView=e,e[Dn]}function zg(e){return ht.lFrame.contextLView=null,e}function dn(){let e=Wg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Wg(){return ht.lFrame.currentTNode}function $o(e,t){const n=ht.lFrame;n.currentTNode=e,n.isParent=t}function wh(){return ht.lFrame.isParent}function Eh(){ht.lFrame.isParent=!1}function Qg(){return $g}function Xg(e){$g=e}function bi(){const e=ht.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ho(){return ht.lFrame.bindingIndex++}function Fs(e){const t=ht.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function s0(e,t){const n=ht.lFrame;n.bindingIndex=n.bindingRootIndex=e,Dh(t)}function Dh(e){ht.lFrame.currentDirectiveIndex=e}function bh(){return ht.lFrame.currentQueryIndex}function Iu(e){ht.lFrame.currentQueryIndex=e}function l0(e){const t=e[Se];return 2===t.type?t.declTNode:1===t.type?e[Yr]:null}function Jg(e,t,n){if(n&Dt.SkipSelf){let i=t,a=e;for(;!(i=i.parent,null!==i||n&Dt.Host||(i=l0(a),null===i||(a=a[Xa],10&i.type))););if(null===i)return!1;t=i,e=a}const r=ht.lFrame=em();return r.currentTNode=t,r.lView=e,!0}function Sh(e){const t=em(),n=e[Se];ht.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function em(){const e=ht.lFrame,t=null===e?null:e.child;return null===t?tm(e):t}function tm(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 nm(){const e=ht.lFrame;return ht.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const rm=nm;function Th(){const e=nm();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 Zr(){return ht.lFrame.selectedIndex}function Ea(e){ht.lFrame.selectedIndex=e}function Mn(){const e=ht.lFrame;return cc(e.tView,e.selectedIndex)}let om=!0;function dc(){return om}function as(e){om=e}function Ou(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:C,ngOnDestroy:E}=a;u&&(e.contentHooks??=[]).push(-n,u),h&&((e.contentHooks??=[]).push(n,h),(e.contentCheckHooks??=[]).push(n,h)),g&&(e.viewHooks??=[]).push(-n,g),C&&((e.viewHooks??=[]).push(n,C),(e.viewCheckHooks??=[]).push(n,C)),null!=E&&(e.destroyHooks??=[]).push(n,E)}}function Pu(e,t,n){sm(e,t,3,n)}function Au(e,t,n,r){(3&e[Je])===n&&sm(e,t,n,r)}function Ih(e,t){let n=e[Je];(3&n)===t&&(n&=16383,n+=1,e[Je]=n)}function sm(e,t,n,r){const a=r??-1,u=t.length-1;let h=0;for(let g=void 0!==r?65535&e[Ya]:0;g<u;g++)if("number"==typeof t[g+1]){if(h=t[g],null!=r&&h>=r)break}else t[g]<0&&(e[Ya]+=65536),(h<a||-1==a)&&(g0(e,n,t,g),e[Ya]=(4294901760&e[Ya])+g+2),g++}function am(e,t){ss(4,e,t);const n=U(null);try{t.call(e)}finally{U(n),ss(5,e,t)}}function g0(e,t,n,r){const i=n[r]<0,a=n[r+1],h=e[i?-n[r]:n[r]];i?e[Je]>>14<e[Ya]>>16&&(3&e[Je])===t&&(e[Je]+=16384,am(h,a)):am(h,a)}const el=-1;class hc{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const Ph={};class Da{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=rn(r);const i=this.injector.get(t,Ph,r);return i!==Ph||n===Ph?i:this.parentInjector.get(t,n,r)}}function Ah(e){return e!==el}function fc(e){return 32767&e}function pc(e,t){let n=function C0(e){return e>>16}(e),r=t;for(;n>0;)r=r[Xa],n--;return r}let Nh=!0;function Nu(e){const t=Nh;return Nh=e,t}const cm=255,um=5;let E0=0;const ls={};function xu(e,t){const n=dm(e,t);if(-1!==n)return n;const r=t[Se];r.firstCreatePass&&(e.injectorIndex=t.length,xh(r.data,e),xh(t,null),xh(r.blueprint,null));const i=Ru(e,t),a=e.injectorIndex;if(Ah(i)){const u=fc(i),h=pc(i,t),g=h[Se].data;for(let C=0;C<8;C++)t[a+C]=h[u+C]|g[u+C]}return t[a+8]=i,a}function xh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ru(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=_m(i),null===r)return el;if(n++,i=i[Xa],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return el}function Rh(e,t,n){!function D0(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Bi)&&(r=n[Bi]),null==r&&(r=n[Bi]=E0++);const i=r&cm;t.data[e+(i>>um)]|=1<<i}(e,t,n)}function hm(e,t,n){if(n&Dt.Optional||void 0!==e)return e;Ks()}function fm(e,t,n,r){if(n&Dt.Optional&&void 0===r&&(r=null),!(n&(Dt.Self|Dt.Host))){const i=e[gr],a=wn(void 0);try{return i?i.get(t,r,n&Dt.Optional):nn(t,r,n&Dt.Optional)}finally{wn(a)}}return hm(r,0,n)}function pm(e,t,n,r=Dt.Default,i){if(null!==e){if(2048&t[Je]&&!(r&Dt.Self)){const u=function I0(e,t,n,r,i){let a=e,u=t;for(;null!==a&&null!==u&&2048&u[Je]&&!(512&u[Je]);){const h=gm(a,u,n,r|Dt.Self,ls);if(h!==ls)return h;let g=a.parent;if(!g){const C=u[Ig];if(C){const E=C.get(n,ls,r);if(E!==ls)return E}g=_m(u),u=u[Xa]}a=g}return i}(e,t,n,r,ls);if(u!==ls)return u}const a=gm(e,t,n,r,ls);if(a!==ls)return a}return fm(t,n,r,i)}function gm(e,t,n,r,i){const a=function S0(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Bi)?e[Bi]:void 0;return"number"==typeof t?t>=0?t&cm:T0:t}(n);if("function"==typeof a){if(!Jg(t,e,r))return r&Dt.Host?hm(i,0,r):fm(t,n,r,i);try{let u;if(u=a(r),null!=u||r&Dt.Optional)return u;Ks()}finally{rm()}}else if("number"==typeof a){let u=null,h=dm(e,t),g=el,C=r&Dt.Host?t[Ln][Yr]:null;for((-1===h||r&Dt.SkipSelf)&&(g=-1===h?Ru(e,t):t[h+8],g!==el&&ym(r,!1)?(u=t[Se],h=fc(g),t=pc(g,t)):h=-1);-1!==h;){const E=t[Se];if(mm(a,h,E.data)){const N=b0(h,t,n,u,r,C);if(N!==ls)return N}g=t[h+8],g!==el&&ym(r,t[Se].data[h+8]===C)&&mm(a,h,t)?(u=E,h=fc(g),t=pc(g,t)):h=-1}}return i}function b0(e,t,n,r,i,a){const u=t[Se],h=u.data[e+8],E=Fu(h,u,n,null==r?_a(h)&&Nh:r!=u&&!!(3&h.type),i&Dt.Host&&a===h);return null!==E?Ma(t,u,E,h):ls}function Fu(e,t,n,r,i){const a=e.providerIndexes,u=t.data,h=1048575&a,g=e.directiveStart,E=a>>20,$=i?h+E:e.directiveEnd;for(let Q=r?h:h+E;Q<$;Q++){const ee=u[Q];if(Q<g&&n===ee||Q>=g&&ee.type===n)return Q}if(i){const Q=u[g];if(Q&&jo(Q)&&Q.type===n)return g}return null}function Ma(e,t,n,r){let i=e[n];const a=t.data;if(function m0(e){return e instanceof hc}(i)){const u=i;u.resolving&&function Kl(e,t){throw t&&t.join(" > "),new Ie(-200,e)}(function bt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():nt(e)}(a[n]));const h=Nu(u.canSeeViewProviders);u.resolving=!0;const C=u.injectImpl?wn(u.injectImpl):null;Jg(e,r,Dt.Default);try{i=e[n]=u.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function p0(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(r){const u=Rg(t);(n.preOrderHooks??=[]).push(e,u),(n.preOrderCheckHooks??=[]).push(e,u)}i&&(n.preOrderHooks??=[]).push(0-e,i),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,a[n],t)}finally{null!==C&&wn(C),Nu(h),u.resolving=!1,rm()}}return i}function mm(e,t,n){return!!(n[t+(e>>um)]&1<<e)}function ym(e,t){return!(e&Dt.Self||e&Dt.Host&&t)}class Ir{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return pm(this._tNode,this._lView,t,rn(r),n)}}function T0(){return new Ir(dn(),ce())}function vm(e){return oi(()=>{const t=e.prototype.constructor,n=t[Ui]||Fh(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const a=i[Ui]||Fh(i);if(a&&a!==n)return a;i=Object.getPrototypeOf(i)}return a=>new a})}function Fh(e){return _i(e)?()=>{const t=Fh(Ke(e));return t&&t()}:ko(e)}function _m(e){const t=e[Se],n=t.type;return 2===n?t.declTNode:1===n?e[Yr]:null}function ku(e){return function M0(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const a=n[i];if(Ha(a))break;if(0===a)i+=2;else if("number"==typeof a)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(a===t)return n[i+1];i+=2}}}return null}(dn(),e)}function Mm(e,t=null,n=null,r){const i=bm(e,t,n,r);return i.resolveInjectorInitializers(),i}function bm(e,t=null,n=null,r,i=new Set){const a=[n||Gt,yu(e)];return r=r||("object"==typeof e?void 0:xn(e)),new Wa(a,t||As(),r||null,i)}class Jr{static{this.THROW_IF_NOT_FOUND=Ms}static{this.NULL=new ga}static create(t,n){if(Array.isArray(t))return Mm({name:""},n,t,"");{const r=t.name??"";return Mm({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=zt({token:Jr,providedIn:"any",factory:()=>mt(Jl)})}static{this.__NG_ELEMENT_ID__=-1}}new tt("").__NG_ELEMENT_ID__=e=>{const t=dn();if(null===t)throw new Ie(204,!1);if(2&t.type)return t.value;if(e&Dt.Optional)return null;throw new Ie(204,!1)};function Lh(e){return e.ngOriginalError}const Tm=!0;let gc=(()=>{class e{static{this.__NG_ELEMENT_ID__=V0}static{this.__NG_ENV_ID__=n=>n}}return e})();class L0 extends gc{constructor(t){super(),this._lView=t}onDestroy(t){return Su(this._lView,t),()=>function _h(e,t){if(null===e[Ys])return;const n=e[Ys].indexOf(t);-1!==n&&e[Ys].splice(n,1)}(this._lView,t)}}function V0(){return new L0(ce())}let ba=(()=>{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=zt({token:e,providedIn:"root",factory:()=>new e})}}return e})();const cs=class U0 extends In.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,bg()&&(this.destroyRef=ve(gc,{optional:!0})??void 0,this.pendingTasks=ve(ba,{optional:!0})??void 0)}emit(t){const n=U(null);try{super.next(t)}finally{U(n)}}subscribe(t,n,r){let i=t,a=n||(()=>null),u=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),a=g.error?.bind(g),u=g.complete?.bind(g)}this.__isAsync&&(a=this.wrapInTimeout(a),i&&(i=this.wrapInTimeout(i)),u&&(u=this.wrapInTimeout(u)));const h=super.subscribe({next:i,error:a,complete:u});return t instanceof $n.yU&&t.add(h),h}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function Vu(...e){}function Im(e){let t,n;function r(){e=Vu;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Om(e){return queueMicrotask(()=>e()),()=>{e=Vu}}const Vh="isAngularZone",Uu=Vh+"_ID";let B0=0;class Vn{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new cs(!1),this.onMicrotaskEmpty=new cs(!1),this.onStable=new cs(!1),this.onError=new cs(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:a=Tm}=t;if(typeof Zone>"u")throw new Ie(908,!1);Zone.assertZonePatched();const u=this;u._nesting=0,u._outer=u._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(u._inner=u._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(u._inner=u._inner.fork(Zone.longStackTraceZoneSpec)),u.shouldCoalesceEventChangeDetection=!i&&r,u.shouldCoalesceRunChangeDetection=i,u.callbackScheduled=!1,u.scheduleInRootZone=a,function H0(e){const t=()=>{!function $0(e){function t(){Im(()=>{e.callbackScheduled=!1,Bh(e),e.isCheckStableRunning=!0,Uh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Bh(e))}(e)},n=B0++;e._inner=e._inner.fork({name:"angular",properties:{[Vh]:!0,[Uu]:n,[Uu+n]:!0},onInvokeTask:(r,i,a,u,h,g)=>{if(function G0(e){return Nm(e,"__ignore_ng_zone__")}(g))return r.invokeTask(a,u,h,g);try{return Pm(e),r.invokeTask(a,u,h,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),Am(e)}},onInvoke:(r,i,a,u,h,g,C)=>{try{return Pm(e),r.invoke(a,u,h,g,C)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function z0(e){return Nm(e,"__scheduler_tick__")}(g)&&t(),Am(e)}},onHasTask:(r,i,a,u)=>{r.hasTask(a,u),i===a&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,Bh(e),Uh(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(r,i,a,u)=>(r.handleError(a,u),e.runOutsideAngular(()=>e.onError.emit(u)),!1)})}(u)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Vh)}static assertInAngularZone(){if(!Vn.isInAngularZone())throw new Ie(909,!1)}static assertNotInAngularZone(){if(Vn.isInAngularZone())throw new Ie(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const a=this._inner,u=a.scheduleEventTask("NgZoneEvent: "+i,t,j0,Vu,Vu);try{return a.runTask(u,n,r)}finally{a.cancelTask(u)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const j0={};function Uh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Bh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Pm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Am(e){e._nesting--,Uh(e)}class jh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new cs,this.onMicrotaskEmpty=new cs,this.onStable=new cs,this.onError=new cs}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function Nm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class ks{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&&Lh(t);for(;n&&Lh(n);)n=Lh(n);return n||null}}const q0=new tt("",{providedIn:"root",factory:()=>{const e=ve(Vn),t=ve(ks);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function K0(){return rl(dn(),ce())}function rl(e,t){return new mc(Mi(e,t))}let mc=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=K0}}return e})();function Rm(e){return e instanceof mc?e.nativeElement:e}function Q0(){return this._results[Symbol.iterator]()}class $h{get changes(){return this._changes??=new cs}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=$h.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Q0)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function li(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function pu(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],a=t[r];if(n&&(i=n(i),a=n(a)),a!==i)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function vc(e){return!(128&~e.flags)}const Gh=new Map;let Y0=0;function zh(e){Gh.delete(e[Za])}const Bu="__ngContext__";function fi(e,t){Tr(t)?(e[Bu]=t[Za],function J0(e){Gh.set(e[Za],e)}(t)):e[Bu]=t}function Gm(e){return Wm(e[oc])}function zm(e){return Wm(e[Bo])}function Wm(e){for(;null!==e&&!hi(e);)e=e[Bo];return e}let qh;function gM(e){qh=e}function Zs(){if(void 0!==qh)return qh;if(typeof document<"u")return document;throw new Ie(210,!1)}const $u=new tt("",{providedIn:"root",factory:()=>mM}),mM="ng",ey=new tt(""),Hu=new tt("",{providedIn:"platform",factory:()=>"unknown"}),yM=new tt(""),vM=new tt("",{providedIn:"root",factory:()=>Zs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let ty=()=>null;function ef(e,t,n=!1){return ty(e,t,n)}const cy=new tt("",{providedIn:"root",factory:()=>!1});let Yu,Zu;function al(e){return function af(){if(void 0===Yu&&(Yu=null,pn.trustedTypes))try{Yu=pn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yu}()?.createHTML(e)||e}function lf(){if(void 0===Zu&&(Zu=null,pn.trustedTypes))try{Zu=pn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zu}function hy(e){return lf()?.createHTML(e)||e}function py(e){return lf()?.createScriptURL(e)||e}class gy{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Po})`}}function Js(e){return e instanceof gy?e.changingThisBreaksApplicationSecurity:e}function bc(e,t){const n=function LM(e){return e instanceof gy&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Po})`)}return n===t}class VM{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(al(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class UM{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=al(t),n}}const jM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cf(e){return(e=String(e)).match(jM)?e:"unsafe:"+e}function Ls(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Sc(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const yy=Ls("area,br,col,hr,img,wbr"),vy=Ls("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_y=Ls("rp,rt"),uf=Sc(yy,Sc(vy,Ls("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")),Sc(_y,Ls("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")),Sc(_y,vy)),df=Ls("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cy=Sc(df,Ls("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"),Ls("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")),$M=Ls("script,style,template");class HM{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=WM(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let a=zM(n);if(a){n=a;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=wy(t).toLowerCase();if(!uf.hasOwnProperty(n))return this.sanitizedSomething=!0,!$M.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const a=r.item(i),u=a.name,h=u.toLowerCase();if(!Cy.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let g=a.value;df[h]&&(g=cf(g)),this.buf.push(" ",u,'="',Dy(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=wy(t).toLowerCase();uf.hasOwnProperty(n)&&!yy.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Dy(t))}}function zM(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ey(t);return t}function WM(e){const t=e.firstChild;if(t&&function GM(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw Ey(t);return t}function wy(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Ey(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,KM=/([^\#-~ |!])/g;function Dy(e){return e.replace(/&/g,"&").replace(qM,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(KM,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Ju;function hf(e){return"content"in e&&function XM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ll=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}(ll||{});function My(e){const t=Tc();return t?hy(t.sanitize(ll.HTML,e)||""):bc(e,"HTML")?hy(Js(e)):function QM(e,t){let n=null;try{Ju=Ju||function my(e){const t=new UM(e);return function BM(){try{return!!(new window.DOMParser).parseFromString(al(""),"text/html")}catch{return!1}}()?new VM(t):t}(e);let r=t?String(t):"";n=Ju.getInertBodyElement(r);let i=5,a=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=a,a=n.innerHTML,n=Ju.getInertBodyElement(r)}while(r!==a);return al((new HM).sanitizeChildren(hf(n)||n))}finally{if(n){const r=hf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}(Zs(),nt(e))}function ff(e){const t=Tc();return t?t.sanitize(ll.URL,e)||"":bc(e,"URL")?Js(e):cf(nt(e))}function by(e){const t=Tc();if(t)return py(t.sanitize(ll.RESOURCE_URL,e)||"");if(bc(e,"ResourceURL"))return py(Js(e));throw new Ie(904,!1)}function Sy(e,t,n){return function tb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?by:ff}(t,n)(e)}function Tc(){const e=ce();return e&&e[is].sanitizer}const nb=/^>|^->|<!--|-->|--!>|<!-$/g,rb=/(<|>)/g,ib="\u200b$1\u200b";function uo(e){return e instanceof Function?e():e}var nd=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(nd||{});let mf;function yf(e,t){return mf(e,t)}function ul(e,t,n,r,i){if(null!=r){let a,u=!1;hi(r)?a=r:Tr(r)&&(u=!0,r=r[kn]);const h=Qt(r);0===e&&null!==n?null==i?Uy(t,n,h):Ta(t,n,h,i||null,!0):1===e&&null!==n?Ta(t,n,h,i||null,!0):2===e?function Oc(e,t,n){e.removeChild(null,t,n)}(t,h,u):3===e&&t.destroyNode(h),null!=a&&function Mb(e,t,n,r,i){const a=n[os];a!==Qt(n)&&ul(t,e,r,a,i);for(let h=Jn;h<n.length;h++){const g=n[h];sd(g[Se],g,e,t,r,a)}}(t,e,a,n,i)}}function _f(e,t){return e.createComment(function Ty(e){return e.replace(nb,t=>t.replace(rb,ib))}(t))}function rd(e,t,n){return e.createElement(t,n)}function ky(e,t){t[is].changeDetectionScheduler?.notify(9),sd(e,t,t[dt],2,null,null)}function Ly(e,t){const n=e[Ja],r=t[pr];(Tr(r)||t[Ln]!==r[pr][Ln])&&(e[Je]|=Eu.HasTransplantedViews),null===n?e[Ja]=[t]:n.push(t)}function Cf(e,t){const n=e[Ja],r=n.indexOf(t);n.splice(r,1)}function Ic(e,t){if(e.length<=Jn)return;const n=Jn+t,r=e[n];if(r){const i=r[va];null!==i&&i!==e&&Cf(i,r),t>0&&(e[n-1][Bo]=r[Bo]);const a=ns(e,Jn+t);!function mb(e,t){ky(e,t),t[kn]=null,t[Yr]=null}(r[Se],r);const u=a[Ns];null!==u&&u.detachView(a[Se]),r[pr]=null,r[Bo]=null,r[Je]&=-129}return r}function id(e,t){if(!(256&t[Je])){const n=t[dt];n.destroyNode&&sd(e,t,n,3,null,null),function vb(e){let t=e[oc];if(!t)return wf(e[Se],e);for(;t;){let n=null;if(Tr(t))n=t[oc];else{const r=t[Jn];r&&(n=r)}if(!n){for(;t&&!t[Bo]&&t!==e;)Tr(t)&&wf(t[Se],t),t=t[pr];null===t&&(t=e),Tr(t)&&wf(t[Se],t),n=t&&t[Bo]}t=n}}(t)}}function wf(e,t){if(256&t[Je])return;const n=U(null);try{t[Je]&=-129,t[Je]|=256,t[Do]&&ft(t[Do]),function wb(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof hc)){const a=n[r+1];if(Array.isArray(a))for(let u=0;u<a.length;u+=2){const h=i[a[u]],g=a[u+1];ss(4,h,g);try{g.call(h)}finally{ss(5,h,g)}}else{ss(4,i,a);try{a.call(i)}finally{ss(5,i,a)}}}}}(e,t),function Cb(e,t){const n=e.cleanup,r=t[Qa];if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const u=n[a+3];u>=0?r[u]():r[-u].unsubscribe(),a+=2}else n[a].call(r[n[a+1]]);null!==r&&(t[Qa]=null);const i=t[Ys];if(null!==i){t[Ys]=null;for(let a=0;a<i.length;a++)(0,i[a])()}}(e,t),1===t[Se].type&&t[dt].destroy();const r=t[va];if(null!==r&&hi(t[pr])){r!==t[pr]&&Cf(r,t);const i=t[Ns];null!==i&&i.detachView(e)}zh(t)}finally{U(n)}}function Ef(e,t,n){return function Vy(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[kn];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:a}=e.data[r.directiveStart+i];if(a===Lo.None||a===Lo.Emulated)return null}return Mi(r,n)}}(e,t.parent,n)}function Ta(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Uy(e,t,n){e.appendChild(t,n)}function By(e,t,n,r,i){null!==r?Ta(e,t,n,r,i):Uy(e,t,n)}function Df(e,t){return e.parentNode(t)}function jy(e,t,n){return Hy(e,t,n)}let Mf,Hy=function $y(e,t,n){return 40&e.type?Mi(e,n):null};function od(e,t,n,r){const i=Ef(e,r,t),a=t[dt],h=jy(r.parent||t[Yr],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)By(a,i,n[g],h,!1);else By(a,i,n,h,!1);void 0!==Mf&&Mf(a,r,t,n,i)}function Ia(e,t){if(null!==t){const n=t.type;if(3&n)return Mi(t,e);if(4&n)return bf(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ia(e,r);{const i=e[t.index];return hi(i)?bf(-1,i):Qt(i)}}if(128&n)return Ia(e,t.next);if(32&n)return yf(t,e)()||Qt(e[t.index]);{const r=zy(e,t);return null!==r?Array.isArray(r)?r[0]:Ia(xs(e[Ln]),r):Ia(e,t.next)}}return null}function zy(e,t){return null!==t?e[Ln][Yr].projection[t.projection]:null}function bf(e,t){const n=Jn+e+1;if(n<t.length){const r=t[n],i=r[Se].firstChild;if(null!==i)return Ia(r,i)}return t[os]}function Sf(e,t,n,r,i,a,u){for(;null!=n;){if(128===n.type){n=n.next;continue}const h=r[n.index],g=n.type;if(u&&0===t&&(h&&fi(Qt(h),r),n.flags|=2),32&~n.flags)if(8&g)Sf(e,t,n.child,r,i,a,!1),ul(t,e,i,h,a);else if(32&g){const C=yf(n,r);let E;for(;E=C();)ul(t,e,i,E,a);ul(t,e,i,h,a)}else 16&g?qy(e,t,r,n,i,a):ul(t,e,i,h,a);n=u?n.projectionNext:n.next}}function sd(e,t,n,r,i,a){Sf(n,r,e.firstChild,t,i,a,!1)}function qy(e,t,n,r,i,a){const u=n[Ln],g=u[Yr].projection[r.projection];if(Array.isArray(g))for(let C=0;C<g.length;C++)ul(t,e,i,g[C],a);else{let C=g;const E=u[pr];vc(r)&&(C.flags|=128),Sf(e,t,C,E,i,a,!0)}}function Ky(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Qy(e,t,n){const{mergedAttrs:r,classes:i,styles:a}=n;null!==r&&Ts(e,t,r),null!==i&&Ky(e,t,i),null!==a&&function Sb(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}const Ct={};function Xy(e=1){Yy(Ot(),ce(),Zr()+e,!1)}function Yy(e,t,n,r){if(!r)if(3&~t[Je]){const a=e.preOrderHooks;null!==a&&Au(t,a,0,n)}else{const a=e.preOrderCheckHooks;null!==a&&Pu(t,a,n)}Ea(n)}function dl(e,t=Dt.Default){const n=ce();return null===n?mt(e,t):pm(dn(),n,Ke(e),t)}function Zy(){throw new Error("invalid")}function Jy(e,t,n,r,i,a){const u=U(null);try{let h=null;i&lo.SignalBased&&(h=t[r][x]),null!==h&&void 0!==h.transformFn&&(a=h.transformFn(a)),i&lo.HasDecoratorInputTransform&&(a=e.inputTransforms[r].call(t,a)),null!==e.setInput?e.setInput(t,h,a,n,r):xg(t,h,r,a)}finally{U(u)}}function ad(e,t,n,r,i,a,u,h,g,C,E){const N=t.blueprint.slice();return N[kn]=i,N[Je]=204|r,(null!==C||e&&2048&e[Je])&&(N[Je]|=2048),Ug(N),N[pr]=N[Xa]=e,N[Dn]=n,N[is]=u||e&&e[is],N[dt]=h||e&&e[dt],N[gr]=g||e&&e[gr]||null,N[Yr]=a,N[Za]=function Z0(){return Y0++}(),N[Di]=E,N[Ig]=C,N[Ln]=2==t.type?e[Ln]:N,N}function Oa(e,t,n,r,i){let a=e.data[t];if(null===a)a=function Tf(e,t,n,r,i){const a=Wg(),u=wh(),g=e.data[t]=function Rb(e,t,n,r,i,a){let u=t?t.injectorIndex:-1,h=0;return wa()&&(h|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:u,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:h,providerIndexes:0,value:i,attrs:a,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,u?a:a&&a.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==a&&(u?null==a.child&&null!==g.parent&&(a.child=g):null===a.next&&(a.next=g,g.prev=a)),g}(e,t,n,r,i),function o0(){return ht.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=r,a.attrs=i;const u=function uc(){const e=ht.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===u?-1:u.injectorIndex}return $o(a,!0),a}function Pc(e,t,n,r){if(0===n)return-1;const i=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function ev(e,t,n,r,i){const a=Zr(),u=2&r;try{Ea(-1),u&&t.length>ze&&Yy(e,t,ze,!1),ss(u?2:0,i),n(r,i)}finally{Ea(a),ss(u?3:1,i)}}function If(e,t,n){if(dh(t)){const r=U(null);try{const a=t.directiveEnd;for(let u=t.directiveStart;u<a;u++){const h=e.data[u];h.contentQueries&&h.contentQueries(1,n[u],u)}}finally{U(r)}}}function Of(e,t,n){Hg()&&(function jb(e,t,n,r){const i=n.directiveStart,a=n.directiveEnd;_a(n)&&function Kb(e,t,n){const r=Mi(t,e),i=tv(n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const h=ld(e,ad(e,i,null,u,r,t,null,e[is].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=h}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||xu(n,t),fi(r,t);const u=n.initialInputs;for(let h=i;h<a;h++){const g=e.data[h],C=Ma(t,e,h,n);fi(C,t),null!==u&&Qb(0,h-i,C,g,0,u),jo(g)&&(co(n.index,t)[Dn]=Ma(t,e,h,n))}}(e,t,n,Mi(n,t)),!(64&~n.flags)&&sv(e,t,n))}function Pf(e,t,n=Mi){const r=t.localNames;if(null!==r){let i=t.index+1;for(let a=0;a<r.length;a+=2){const u=r[a+1],h=-1===u?n(t,e):e[u];e[i++]=h}}}function tv(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Af(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Af(e,t,n,r,i,a,u,h,g,C,E){const N=ze+r,$=N+i,Q=function Ib(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ct);return n}(N,$),ee="function"==typeof C?C():C;return Q[Se]={type:e,blueprint:Q,template:n,queries:null,viewQuery:h,declTNode:t,data:Q.slice().fill(null,N),bindingStartIndex:N,expandoStartIndex:$,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 a?a():a,pipeRegistry:"function"==typeof u?u():u,firstChild:null,schemas:g,consts:ee,incompleteFirstPass:!1,ssrId:E}}let nv=()=>null;function rv(e,t,n,r,i){for(let a in t){if(!t.hasOwnProperty(a))continue;const u=t[a];if(void 0===u)continue;r??={};let h,g=lo.None;Array.isArray(u)?(h=u[0],g=u[1]):h=u;let C=a;if(null!==i){if(!i.hasOwnProperty(a))continue;C=i[a]}0===e?iv(r,n,C,h,g):iv(r,n,C,h)}return r}function iv(e,t,n,r,i){let a;e.hasOwnProperty(n)?(a=e[n]).push(t,r):a=e[n]=[t,r],void 0!==i&&a.push(i)}function zi(e,t,n,r,i,a,u,h){const g=Mi(t,n);let E,C=t.inputs;!h&&null!=C&&(E=C[r])?(kf(e,n,E,r,i),_a(t)&&function Lb(e,t){const n=co(t,e);16&n[Je]||(n[Je]|=64)}(n,t.index)):3&t.type&&(r=function kb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=u?u(i,t.value||"",r):i,a.setProperty(g,r,i))}function Nf(e,t,n,r){if(Hg()){const i=null===r?null:{"":-1},a=function Hb(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let a=0;a<n.length;a++){const u=n[a];if(d(t,u.selectors,!1))if(r||(r=[]),jo(u))if(null!==u.findHostDirectiveDefs){const h=[];i=i||new Map,u.findHostDirectiveDefs(u,h,i),r.unshift(...h,u),xf(e,t,h.length)}else r.unshift(u),xf(e,t,0);else i=i||new Map,u.findHostDirectiveDefs?.(u,r,i),r.push(u)}return null===r?null:[r,i]}(e,n);let u,h;null===a?u=h=null:[u,h]=a,null!==u&&ov(e,t,n,u,i,h),i&&function Gb(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const a=n[t[i+1]];if(null==a)throw new Ie(-301,!1);r.push(t[i],a)}}}(n,r,i)}n.mergedAttrs=Xs(n.mergedAttrs,n.attrs)}function ov(e,t,n,r,i,a){for(let C=0;C<r.length;C++)Rh(xu(n,t),e,r[C].type);!function Wb(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let C=0;C<r.length;C++){const E=r[C];E.providersResolver&&E.providersResolver(E)}let u=!1,h=!1,g=Pc(e,t,r.length,null);for(let C=0;C<r.length;C++){const E=r[C];n.mergedAttrs=Xs(n.mergedAttrs,E.hostAttrs),qb(e,n,t,g,E),zb(g,E,i),null!==E.contentQueries&&(n.flags|=4),(null!==E.hostBindings||null!==E.hostAttrs||0!==E.hostVars)&&(n.flags|=64);const N=E.type.prototype;!u&&(N.ngOnChanges||N.ngOnInit||N.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!h&&(N.ngOnChanges||N.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),g++}!function Fb(e,t,n){const i=t.directiveEnd,a=e.data,u=t.attrs,h=[];let g=null,C=null;for(let E=t.directiveStart;E<i;E++){const N=a[E],$=n?n.get(N):null,ee=$?$.outputs:null;g=rv(0,N.inputs,E,g,$?$.inputs:null),C=rv(1,N.outputs,E,C,ee);const he=null===g||null===u||nc(t)?null:Xb(g,E,u);h.push(he)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=h,t.inputs=g,t.outputs=C}(e,n,a)}function sv(e,t,n){const r=n.directiveStart,i=n.directiveEnd,a=n.index,u=function a0(){return ht.lFrame.currentDirectiveIndex}();try{Ea(a);for(let h=r;h<i;h++){const g=e.data[h],C=t[h];Dh(h),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&$b(g,C)}}finally{Ea(-1),Dh(u)}}function $b(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function xf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function zb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;jo(t)&&(n[""]=e)}}function qb(e,t,n,r,i){e.data[r]=i;const a=i.factory||(i.factory=ko(i.type)),u=new hc(a,jo(i),dl);e.blueprint[r]=u,n[r]=u,function Ub(e,t,n,r,i){const a=i.hostBindings;if(a){let u=e.hostBindingOpCodes;null===u&&(u=e.hostBindingOpCodes=[]);const h=~t.index;(function Bb(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=h&&u.push(h),u.push(n,r,a)}}(e,t,r,Pc(e,n,i.hostVars,Ct),i)}function us(e,t,n,r,i,a){const u=Mi(e,t);!function Rf(e,t,n,r,i,a,u){if(null==a)e.removeAttribute(t,i,n);else{const h=null==u?nt(a):u(a,r||"",i);e.setAttribute(t,i,h,n)}}(t[dt],u,a,e.value,n,r,i)}function Qb(e,t,n,r,i,a){const u=a[t];if(null!==u)for(let h=0;h<u.length;)Jy(r,n,u[h++],u[h++],u[h++],u[h++])}function Xb(e,t,n){let r=null,i=0;for(;i<n.length;){const a=n[i];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===r&&(r=[]);const u=e[a];for(let h=0;h<u.length;h+=3)if(u[h]===t){r.push(a,u[h+1],u[h+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function av(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function lv(e,t){const n=e.contentQueries;if(null!==n){const r=U(null);try{for(let i=0;i<n.length;i+=2){const u=n[i+1];if(-1!==u){const h=e.data[u];Iu(n[i]),h.contentQueries(2,t[u],u)}}}finally{U(r)}}}function ld(e,t){return e[oc]?e[Tg][Bo]=t:e[oc]=t,e[Tg]=t,t}function Ff(e,t,n){Iu(0);const r=U(null);try{t(e,n)}finally{U(r)}}function cv(e){return e[Qa]??=[]}function uv(e){return e.cleanup??=[]}function cd(e,t){const n=e[gr],r=n?n.get(ks,null):null;r&&r.handleError(t)}function kf(e,t,n,r,i){for(let a=0;a<n.length;){const u=n[a++],h=n[a++],g=n[a++];Jy(e.data[u],t[u],r,h,g,i)}}function Vs(e,t,n){const r=lc(t,e);!function Fy(e,t,n){e.setValue(t,n)}(e[dt],r,n)}function Yb(e,t){const n=co(t,e),r=n[Se];!function Zb(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[kn];null!==i&&null===n[Di]&&(n[Di]=ef(i,n[gr])),Lf(r,n,n[Dn])}function Lf(e,t,n){Sh(t);try{const r=e.viewQuery;null!==r&&Ff(1,r,n);const i=e.template;null!==i&&ev(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ns]?.finishViewCreation(e),e.staticContentQueries&&lv(e,t),e.staticViewQueries&&Ff(2,e.viewQuery,n);const a=e.components;null!==a&&function Jb(e,t){for(let n=0;n<t.length;n++)Yb(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[Je]&=-5,Th()}}function hl(e,t,n,r){const i=U(null);try{const a=t.tView,g=ad(e,a,n,4096&e[Je]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);g[va]=e[t.index];const E=e[Ns];return null!==E&&(g[Ns]=E.createEmbeddedView(a)),Lf(a,g,n),g}finally{U(i)}}function Pa(e,t){return!t||null===t.firstChild||vc(e)}function fl(e,t,n,r=!0){const i=t[Se];if(function _b(e,t,n,r){const i=Jn+r,a=n.length;r>0&&(n[i-1][Bo]=t),r<a-Jn?(t[Bo]=n[i],bs(n,Jn+r,t)):(n.push(t),t[Bo]=null),t[pr]=n;const u=t[va];null!==u&&n!==u&&Ly(u,t);const h=t[Ns];null!==h&&h.insertView(e),vh(t),t[Je]|=128}(i,t,e,n),r){const u=bf(n,e),h=t[dt],g=Df(h,e[os]);null!==g&&function yb(e,t,n,r,i,a){r[kn]=i,r[Yr]=t,sd(e,r,n,1,i,a)}(i,e[Yr],h,t,g,u)}const a=t[Di];null!==a&&null!==a.firstChild&&(a.firstChild=null)}function Ac(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const a=t[n.index];null!==a&&r.push(Qt(a)),hi(a)&&fv(a,r);const u=n.type;if(8&u)Ac(e,t,n.child,r);else if(32&u){const h=yf(n,t);let g;for(;g=h();)r.push(g)}else if(16&u){const h=zy(t,n);if(Array.isArray(h))r.push(...h);else{const g=xs(t[Ln]);Ac(g[Se],g,h,r,!0)}}n=i?n.projectionNext:n.next}return r}function fv(e,t){for(let n=Jn;n<e.length;n++){const r=e[n],i=r[Se].firstChild;null!==i&&Ac(r[Se],r,i,t)}e[os]!==e[kn]&&t.push(e[os])}let pv=[];const rS={...K,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{bu(e.lView)},consumerOnSignalRead(){this.lView[Do]=this}},oS={...K,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=xs(e.lView);for(;t&&!gv(t[Se]);)t=xs(t);t&&Bg(t)},consumerOnSignalRead(){this.lView[Do]=this}};function gv(e){return 2!==e.type}const sS=100;function ud(e,t=!0,n=0){const r=e[is],i=r.rendererFactory;i.begin?.();try{!function aS(e,t){const n=Qg();try{Xg(!0),Uf(e,t);let r=0;for(;Mu(e);){if(r===sS)throw new Ie(103,!1);r++,Uf(e,1)}}finally{Xg(n)}}(e,n)}catch(u){throw t&&cd(e,u),u}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function lS(e,t,n,r){const i=t[Je];if(!(256&~i))return;t[is].inlineEffectRunner?.flush(),Sh(t);let h=!0,g=null,C=null;gv(e)?(C=function eS(e){return e[Do]??function tS(e){const t=pv.pop()??Object.create(rS);return t.lView=e,t}(e)}(t),g=Ae(C)):null===function z(){return I}()?(h=!1,C=function iS(e){const t=e[Do]??Object.create(oS);return t.lView=e,t}(t),g=Ae(C)):t[Do]&&(ft(t[Do]),t[Do]=null);try{Ug(t),function Yg(e){return ht.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&ev(e,t,n,2,r);const E=!(3&~i);if(E){const Q=e.preOrderCheckHooks;null!==Q&&Pu(t,Q,null)}else{const Q=e.preOrderHooks;null!==Q&&Au(t,Q,0,null),Ih(t,0)}if(function cS(e){for(let t=Gm(e);null!==t;t=zm(t)){if(!(t[Je]&Eu.HasTransplantedViews))continue;const n=t[Ja];for(let r=0;r<n.length;r++)Bg(n[r])}}(t),yv(t,0),null!==e.contentQueries&&lv(e,t),E){const Q=e.contentCheckHooks;null!==Q&&Pu(t,Q)}else{const Q=e.contentHooks;null!==Q&&Au(t,Q,1),Ih(t,1)}!function Tb(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Ea(~i);else{const a=i,u=n[++r],h=n[++r];s0(u,a),h(2,t[a])}}}finally{Ea(-1)}}(e,t);const N=e.components;null!==N&&_v(t,N,0);const $=e.viewQuery;if(null!==$&&Ff(2,$,r),E){const Q=e.viewCheckHooks;null!==Q&&Pu(t,Q)}else{const Q=e.viewHooks;null!==Q&&Au(t,Q,2),Ih(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Cu]){for(const Q of t[Cu])Q();t[Cu]=null}t[Je]&=-73}catch(E){throw bu(t),E}finally{null!==C&&(je(C,g),h&&function nS(e){e.lView[Do]!==e&&(e.lView=null,pv.push(e))}(C)),Th()}}function yv(e,t){for(let n=Gm(e);null!==n;n=zm(n))for(let r=Jn;r<n.length;r++)vv(n[r],t)}function uS(e,t,n){vv(co(t,e),n)}function vv(e,t){yh(e)&&Uf(e,t)}function Uf(e,t){const r=e[Se],i=e[Je],a=e[Do];let u=!!(0===t&&16&i);if(u||=!!(64&i&&0===t),u||=!!(1024&i),u||=!(!a?.dirty||!qe(a)),u||=!1,a&&(a.dirty=!1),e[Je]&=-9217,u)lS(r,e,r.template,e[Dn]);else if(8192&i){yv(e,1);const h=r.components;null!==h&&_v(e,h,1)}}function _v(e,t,n){for(let r=0;r<t.length;r++)uS(e,t[r],n)}function Nc(e,t){const n=Qg()?64:1088;for(e[is].changeDetectionScheduler?.notify(t);e;){e[Je]|=n;const r=xs(e);if(ac(e)&&!r)return e;e=r}return null}class xc{get rootNodes(){const t=this._lView,n=t[Se];return Ac(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Dn]}set context(t){this._lView[Dn]=t}get destroyed(){return!(256&~this._lView[Je])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[pr];if(hi(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ic(t,r),ns(n,r))}this._attachedToViewContainer=!1}id(this._lView[Se],this._lView)}onDestroy(t){Su(this._lView,t)}markForCheck(){Nc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Je]&=-129}reattach(){vh(this._lView),this._lView[Je]|=128}detectChanges(){this._lView[Je]|=1024,ud(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ie(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=ac(this._lView),n=this._lView[va];null!==n&&!t&&Cf(n,this._lView),ky(this._lView[Se],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ie(902,!1);this._appRef=t;const n=ac(this._lView),r=this._lView[va];null!==r&&!n&&Ly(r,this._lView),vh(this._lView)}}let Rc=(()=>{class e{static{this.__NG_ELEMENT_ID__=fS}}return e})();const dS=Rc,hS=class extends dS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=hl(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new xc(i)}};function fS(){return dd(dn(),ce())}function dd(e,t){return 4&e.type?new hS(t,e,rl(e,t)):null}let Bv=()=>null;function Na(e,t){return Bv(e,t)}class gl{}const $c=new tt("",{providedIn:"root",factory:()=>!1}),jv=new tt(""),Xf=new tt("");class oT{}class $v{}class aT{resolveComponentFactory(t){throw function sT(e){const t=Error(`No component factory found for ${xn(e)}.`);return t.ngComponent=e,t}(t)}}class Hc{static{this.NULL=new aT}}class Yf{}let lT=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function cT(){const e=ce(),n=co(dn().index,e);return(Tr(n)?n:e)[dt]}()}}return e})(),uT=(()=>{class e{static{this.\u0275prov=zt({token:e,providedIn:"root",factory:()=>null})}}return e})();function ea(e){return!!Yt(e)}function vd(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,a=0;if(null!==t)for(let u=0;u<t.length;u++){const h=t[u];"number"==typeof h?a=h:1==a?i=Co(i,h):2==a&&(r=Co(r,h+": "+t[++u]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class Wv extends Hc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ze(t);return new Wc(n,this.ngModule)}}function qv(e,t){const n=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const a=Array.isArray(i),u=a?i[0]:i;n.push(t?{propName:u,templateName:r,isSignal:!!((a?i[1]:lo.None)&lo.SignalBased)}:{propName:u,templateName:r})}return n}class Wc extends $v{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=qv(t.inputs,!0);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return qv(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ge(e){return e.map(J).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const a=U(null);try{let u=(i=i||this.ngModule)instanceof di?i:i?.injector;u&&null!==this.componentDef.getStandaloneInjector&&(u=this.componentDef.getStandaloneInjector(u)||u);const h=u?new Da(t,u):t,g=h.get(Yf,null);if(null===g)throw new Ie(407,!1);const N={rendererFactory:g,sanitizer:h.get(uT,null),inlineEffectRunner:null,changeDetectionScheduler:h.get(gl,null)},$=g.createRenderer(null,this.componentDef),Q=this.componentDef.selectors[0][0]||"div",ee=r?function Ob(e,t,n,r){const a=r.get(cy,!1)||n===Lo.ShadowDom,u=e.selectRootElement(t,a);return function Pb(e){nv(e)}(u),u}($,r,this.componentDef.encapsulation,h):rd($,Q,function fT(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(Q));let he=512;this.componentDef.signals?he|=4096:this.componentDef.onPush||(he|=16);let Te=null;null!==ee&&(Te=ef(ee,h,!0));const Pe=Af(0,null,null,1,0,null,null,null,null,null,null),fe=ad(null,Pe,null,he,null,null,N,$,h,null,Te);Sh(fe);let vt,jt,gn=null;try{const rr=this.componentDef;let qi,Ul=null;rr.findHostDirectiveDefs?(qi=[],Ul=new Map,rr.findHostDirectiveDefs(rr,qi,Ul),qi.push(rr)):qi=[rr];const MD=function gT(e,t){const n=e[Se],r=ze;return e[r]=t,Oa(n,r,2,"#host",null)}(fe,ee);gn=function mT(e,t,n,r,i,a,u){const h=i[Se];!function yT(e,t,n,r){for(const i of e)t.mergedAttrs=Xs(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(vd(t,t.mergedAttrs,!0),null!==n&&Qy(r,n,t))}(r,e,t,u);let g=null;null!==t&&(g=ef(t,i[gr]));const C=a.rendererFactory.createRenderer(t,n);let E=16;n.signals?E=4096:n.onPush&&(E=64);const N=ad(i,tv(n),null,E,i[e.index],e,a,C,null,null,g);return h.firstCreatePass&&xf(h,e,r.length-1),ld(i,N),i[e.index]=N}(MD,ee,rr,qi,fe,N,$),jt=cc(Pe,ze),ee&&function _T(e,t,n,r){if(r)Ts(e,n,["ng-version","18.2.5"]);else{const{attrs:i,classes:a}=function we(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===i?""!==a&&t.push(a,e[++r]):8===i&&n.push(a);else{if(!o(i))break;i=a}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&Ts(e,n,i),a&&a.length>0&&Ky(e,n,a.join(" "))}}($,rr,ee,r),void 0!==n&&function CT(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const a=n[i];r.push(null!=a?Array.from(a):null)}}(jt,this.ngContentSelectors,n),vt=function vT(e,t,n,r,i,a){const u=dn(),h=i[Se],g=Mi(u,i);ov(h,i,u,n,null,r);for(let E=0;E<n.length;E++)fi(Ma(i,h,u.directiveStart+E,u),i);sv(h,i,u),g&&fi(g,i);const C=Ma(i,h,u.directiveStart+u.componentOffset,u);if(e[Dn]=i[Dn]=C,null!==a)for(const E of a)E(C,t);return If(h,u,i),C}(gn,rr,qi,Ul,fe,[wT]),Lf(Pe,fe,null)}catch(rr){throw null!==gn&&zh(gn),zh(fe),rr}finally{Th()}return new pT(this.componentType,vt,rl(jt,fe),fe,jt)}finally{U(a)}}}class pT extends oT{constructor(t,n,r,i,a){super(),this.location=r,this._rootLView=i,this._tNode=a,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new xc(i,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const a=this._rootLView;kf(a[Se],a,i,t,n),this.previousInputValues.set(t,n),Nc(co(this._tNode.index,a),1)}}get injector(){return new Ir(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function wT(){const e=dn();Ou(ce()[Se],e)}let _d=(()=>{class e{static{this.__NG_ELEMENT_ID__=ET}}return e})();function ET(){return Xv(dn(),ce())}const DT=_d,Kv=class extends DT{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return rl(this._hostTNode,this._hostLView)}get injector(){return new Ir(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ru(this._hostTNode,this._hostLView);if(Ah(t)){const n=pc(t,this._hostLView),r=fc(t);return new Ir(n[Se].data[r+8],n)}return new Ir(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Qv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Jn}createEmbeddedView(t,n,r){let i,a;"number"==typeof r?i=r:null!=r&&(i=r.index,a=r.injector);const u=Na(this._lContainer,t.ssrId),h=t.createEmbeddedViewImpl(n||{},a,u);return this.insertImpl(h,i,Pa(this._hostTNode,u)),h}createComponent(t,n,r,i,a){const u=t&&!function ic(e){return"function"==typeof e}(t);let h;if(u)h=n;else{const ee=n||{};h=ee.index,r=ee.injector,i=ee.projectableNodes,a=ee.environmentInjector||ee.ngModuleRef}const g=u?t:new Wc(Ze(t)),C=r||this.parentInjector;if(!a&&null==g.ngModule){const he=(u?C:this.parentInjector).get(di,null);he&&(a=he)}const E=Ze(g.componentType??{}),N=Na(this._lContainer,E?.id??null),Q=g.create(C,i,N?.firstChild??null,a);return this.insertImpl(Q.hostView,h,Pa(this._hostTNode,N)),Q}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function QD(e){return hi(e[pr])}(i)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const g=i[pr],C=new Kv(g,g[Yr],g[pr]);C.detach(C.indexOf(t))}}const a=this._adjustIndex(n),u=this._lContainer;return fl(u,i,a,r),t.attachToViewContainerRef(),bs(ep(u),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Qv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ic(this._lContainer,n);r&&(ns(ep(this._lContainer),n),id(r[Se],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ic(this._lContainer,n);return r&&null!=ns(ep(this._lContainer),n)?new xc(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Qv(e){return e[8]}function ep(e){return e[8]||(e[8]=[])}function Xv(e,t){let n;const r=t[e.index];return hi(r)?n=r:(n=av(r,t,null,e),t[e.index]=n,ld(t,n)),Yv(n,t,e,r),new Kv(n,e,t)}let Yv=function Jv(e,t,n,r){if(e[os])return;let i;i=8&n.type?Qt(r):function MT(e,t){const n=e[dt],r=n.createComment(""),i=Mi(t,e);return Ta(n,Df(n,i),r,function Eb(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[os]=i},tp=()=>!1;class np{constructor(t){this.queryList=t,this.matches=null}clone(){return new np(this.queryList)}setDirty(){this.queryList.setDirty()}}class rp{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let a=0;a<r;a++){const u=n.getByIndex(a);i.push(this.queries[u.indexInDeclarationView].clone())}return new rp(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==lp(t,n).matches&&this.queries[n].setDirty()}}class e_{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function NT(e){return e.split(",").map(t=>t.trim())}(t):t}}class ip{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,i);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new ip(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class op{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 op(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const a=r[i];this.matchTNodeWithReadOption(t,n,IT(n,a)),this.matchTNodeWithReadOption(t,n,Fu(n,t,a,!1,!1))}else r===Rc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Fu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===mc||i===_d||i===Rc&&4&n.type)this.addMatch(n.index,-2);else{const a=Fu(n,t,i,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function IT(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function PT(e,t,n,r){return-1===n?function OT(e,t){return 11&e.type?rl(e,t):4&e.type?dd(e,t):null}(t,e):-2===n?function AT(e,t,n){return n===mc?rl(t,e):n===Rc?dd(t,e):n===_d?Xv(t,e):void 0}(e,t,r):Ma(e,e[Se],n,t)}function t_(e,t,n,r){const i=t[Ns].queries[r];if(null===i.matches){const a=e.data,u=n.matches,h=[];for(let g=0;null!==u&&g<u.length;g+=2){const C=u[g];h.push(C<0?null:PT(t,a[C],u[g+1],n.metadata.read))}i.matches=h}return i.matches}function sp(e,t,n,r){const i=e.queries.getByIndex(n),a=i.matches;if(null!==a){const u=t_(e,t,i,n);for(let h=0;h<a.length;h+=2){const g=a[h];if(g>0)r.push(u[h/2]);else{const C=a[h+1],E=t[-g];for(let N=Jn;N<E.length;N++){const $=E[N];$[va]===$[pr]&&sp($[Se],$,C,r)}if(null!==E[Ja]){const N=E[Ja];for(let $=0;$<N.length;$++){const Q=N[$];sp(Q[Se],Q,C,r)}}}}}return r}function n_(e,t,n){const r=new $h(!(4&~n));return function xb(e,t,n,r){const i=cv(t);i.push(n),e.firstCreatePass&&uv(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[Ns]??=new rp).queries.push(new np(r))-1}function o_(e,t,n){null===e.queries&&(e.queries=new ip),e.queries.track(new op(t,n))}function lp(e,t){return e.queries.getByIndex(t)}function s_(e,t){const n=e[Se],r=lp(n,t);return r.crossesNgTemplate?sp(n,e,t,[]):t_(n,e,r,t)}const a_=new Set;function Si(e){a_.has(e)||(a_.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function c_(e,t){Si("NgSignals");const n=function Ve(e){const t=Object.create(Xt);t.value=e;const n=()=>(W(t),t.value);return n[x]=t,n}(e),r=n[x];return t?.equal&&(r.equal=t.equal),n.set=i=>Ut(r,i),n.update=i=>function Pt(e,t){Me()||Ye(),Ut(e,t(e.value))}(r,i),n.asReadonly=u_.bind(n),n}function u_(){const e=this[x];if(void 0===e.readonlyFn){const t=()=>this();t[x]=e,e.readonlyFn=t}return e.readonlyFn}function d_(e){return function l_(e){return"function"==typeof e&&void 0!==e[x]}(e)&&"function"==typeof e.set}function up(e){let t=function E_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(jo(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ie(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const u=e;u.inputs=wd(e.inputs),u.inputTransforms=wd(e.inputTransforms),u.declaredInputs=wd(e.declaredInputs),u.outputs=wd(e.outputs);const h=i.hostBindings;h&&qT(e,h);const g=i.viewQuery,C=i.contentQueries;if(g&&zT(e,g),C&&WT(e,C),HT(e,i),oa(e.outputs,i.outputs),jo(i)&&i.data.animation){const E=e.data;E.animation=(E.animation||[]).concat(i.data.animation)}}const a=i.features;if(a)for(let u=0;u<a.length;u++){const h=a[u];h&&h.ngInherit&&h(e),h===up&&(n=!1)}}t=Object.getPrototypeOf(t)}!function GT(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Xs(i.hostAttrs,n=Xs(n,i.hostAttrs))}}(r)}function HT(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function wd(e){return e===ao?{}:e===Gt?[]:e}function zT(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function WT(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,a)=>{t(r,i,a),n(r,i,a)}:t}function qT(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function S_(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class xa{}class T_{}function JT(e,t){return new dp(e,t??null,[])}class dp extends xa{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wv(this);const a=Yt(t);this._bootstrapComponents=uo(a.bootstrap),this._r3Injector=bm(t,n,[{provide:xa,useValue:this},{provide:Hc,useValue:this.componentFactoryResolver},...r],xn(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class hp extends T_{constructor(t){super(),this.moduleType=t}create(t){return new dp(this.moduleType,t,[])}}class I_ extends xa{constructor(t){super(),this.componentFactoryResolver=new Wv(this),this.instance=null;const n=new Wa([...t.providers,{provide:xa,useValue:this},{provide:Hc,useValue:this.componentFactoryResolver}],t.parent||As(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function fp(e,t,n=null){return new I_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Ed(e){return!!pp(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function pp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ds(e,t,n){return e[t]=n}function er(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ra(e,t,n,r){const i=er(e,t,n);return er(e,t+1,r)||i}function Qc(e,t,n,r,i,a,u,h,g,C){const E=n+ze,N=t.firstCreatePass?function oI(e,t,n,r,i,a,u,h,g){const C=t.consts,E=Oa(t,e,4,u||null,h||null);Nf(t,n,E,Mo(C,g)),Ou(t,E);const N=E.tView=Af(2,E,r,i,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C,null);return null!==t.queries&&(t.queries.template(t,E),N.queries=t.queries.embeddedTView(E)),E}(E,t,e,r,i,a,u,h,g):t.data[E];$o(N,!1);const $=O_(t,e,N,n);dc()&&od(t,e,$,N),fi($,e);const Q=av($,e,$,N);return e[E]=Q,ld(e,Q),function Zv(e,t,n){return tp(e,t,n)}(Q,N,e),Du(N)&&Of(t,e,N),null!=g&&Pf(e,N,C),N}function gp(e,t,n,r,i,a,u,h){const g=ce(),C=Ot();return Qc(g,C,e,t,n,r,i,Mo(C.consts,a),u,h),gp}let O_=function P_(e,t,n,r){return as(!0),t[dt].createComment("")};var _l=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(_l||{});let k_=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=zt({token:e,providedIn:"root",factory:()=>new e})}}return e})();class Zc{constructor(){this.ngZone=ve(Vn),this.scheduler=ve(gl),this.errorHandler=ve(ks,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[_l.EarlyRead,_l.Write,_l.MixedReadWrite,_l.Read]}execute(){this.executing=!0;for(const t of Zc.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[t])try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=zt({token:Zc,providedIn:"root",factory:()=>new Zc})}}class cI{constructor(t,n,r,i){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy()}}function Td(e,t){!t?.injector&&function lh(e){if(!bg())throw new Ie(-203,!1)}();const n=t?.injector??ve(Jr);return function ho(e){return"browser"===(e??ve(Jr)).get(Hu)}(n)?(Si("NgAfterNextRender"),function L_(e,t,n,r){const i=t.get(k_);i.impl??=t.get(Zc);const u=new cI(i.impl,function dI(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??_l.MixedReadWrite),r,t.get(gc));return i.impl.register(u),u}(e,n,t,!0)):V_}const V_={destroy(){}};function Sp(e,t,n,r){const i=ce();return er(i,Ho(),t)&&(Ot(),us(Mn(),i,e,t,n,r)),Sp}function Sl(e,t,n,r){return er(e,Ho(),n)?t+nt(n)+r:Ct}function Tl(e,t,n,r,i,a){const h=Ra(e,function Rs(){return ht.lFrame.bindingIndex}(),n,i);return Fs(2),h?t+nt(n)+r+nt(i)+a:Ct}function Pd(e,t){return e<<17|t<<2}function ra(e){return e>>17&32767}function Tp(e){return 2|e}function ka(e){return(131068&e)>>2}function Ip(e,t){return-131069&e|t<<2}function Op(e){return 1|e}function uC(e,t,n,r){const i=e[n+1],a=null===t;let u=r?ra(i):ka(i),h=!1;for(;0!==u&&(!1===h||a);){const C=e[u+1];qI(e[u],t)&&(h=!0,e[u+1]=r?Op(C):Tp(C)),u=r?ra(C):ka(C)}h&&(e[n+1]=r?Tp(i):Op(i))}function qI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ss(e,t)>=0}const Or={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function dC(e){return e.substring(Or.key,Or.keyEnd)}function hC(e,t){const n=Or.textEnd;return n===t?-1:(t=Or.keyEnd=function YI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Or.key=t,n),Rl(e,t,n))}function Rl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Pp(e,t,n){const r=ce();return er(r,Ho(),t)&&zi(Ot(),Mn(),r,e,t,r[dt],n,!1),Pp}function Ap(e,t,n,r,i){const u=i?"class":"style";kf(e,n,t.inputs[u],u,r)}function Np(e,t){return function Go(e,t,n,r){const i=ce(),a=Ot(),u=Fs(2);a.firstUpdatePass&&CC(a,e,u,r),t!==Ct&&er(i,u,t)&&EC(a,a.data[Zr()],i,i[dt],e,i[u+1]=function lO(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=xn(Js(e)))),e}(t,n),r,u)}(e,t,null,!0),Np}function vC(e){zo(sO,fs,e,!0)}function fs(e,t){for(let n=function QI(e){return function pC(e){Or.key=0,Or.keyEnd=0,Or.value=0,Or.valueEnd=0,Or.textEnd=e.length}(e),hC(e,Rl(e,0,Or.textEnd))}(t);n>=0;n=hC(t,n))Qr(e,dC(t),!0)}function zo(e,t,n,r){const i=Ot(),a=Fs(2);i.firstUpdatePass&&CC(i,null,a,r);const u=ce();if(n!==Ct&&er(u,a,n)){const h=i.data[Zr()];if(MC(h,r)&&!_C(i,a)){let g=r?h.classesWithoutHost:h.stylesWithoutHost;null!==g&&(n=Co(g,n||"")),Ap(i,h,u,n,r)}else!function aO(e,t,n,r,i,a,u,h){i===Ct&&(i=Gt);let g=0,C=0,E=0<i.length?i[0]:null,N=0<a.length?a[0]:null;for(;null!==E||null!==N;){const $=g<i.length?i[g+1]:void 0,Q=C<a.length?a[C+1]:void 0;let he,ee=null;E===N?(g+=2,C+=2,$!==Q&&(ee=N,he=Q)):null===N||null!==E&&E<N?(g+=2,ee=E):(C+=2,ee=N,he=Q),null!==ee&&EC(e,t,n,r,ee,he,u,h),E=g<i.length?i[g]:null,N=C<a.length?a[C]:null}}(i,h,u,u[dt],u[a+1],u[a+1]=function oO(e,t,n){if(null==n||""===n)return Gt;const r=[],i=Js(n);if(Array.isArray(i))for(let a=0;a<i.length;a++)e(r,i[a],!0);else if("object"==typeof i)for(const a in i)i.hasOwnProperty(a)&&e(r,a,i[a]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,a)}}function _C(e,t){return t>=e.expandoStartIndex}function CC(e,t,n,r){const i=e.data;if(null===i[n+1]){const a=i[Zr()],u=_C(e,n);MC(a,r)&&null===t&&!u&&(t=!1),t=function tO(e,t,n,r){const i=function Mh(e){const t=ht.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=eu(n=xp(null,e,t,n,r),t.attrs,r),a=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==i)if(n=xp(i,e,t,n,r),null===a){let g=function nO(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ka(r))return e[ra(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=xp(null,e,t,g[1],r),g=eu(g,t.attrs,r),function rO(e,t,n,r){e[ra(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else a=function iO(e,t,n){let r;const i=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<i;a++)r=eu(r,e[a].hostAttrs,n);return eu(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(i,a,t,r),function zI(e,t,n,r,i,a){let u=a?t.classBindings:t.styleBindings,h=ra(u),g=ka(u);e[r]=n;let E,C=!1;if(Array.isArray(n)?(E=n[1],(null===E||Ss(n,E)>0)&&(C=!0)):E=n,i)if(0!==g){const $=ra(e[h+1]);e[r+1]=Pd($,h),0!==$&&(e[$+1]=Ip(e[$+1],r)),e[h+1]=function HI(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=Pd(h,0),0!==h&&(e[h+1]=Ip(e[h+1],r)),h=r;else e[r+1]=Pd(g,0),0===h?h=r:e[g+1]=Ip(e[g+1],r),g=r;C&&(e[r+1]=Tp(e[r+1])),uC(e,E,r,!0),uC(e,E,r,!1),function WI(e,t,n,r,i){const a=i?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Ss(a,t)>=0&&(n[r+1]=Op(n[r+1]))}(t,E,e,r,a),u=Pd(h,g),a?t.classBindings=u:t.styleBindings=u}(i,a,t,n,u,r)}}function xp(e,t,n,r,i){let a=null;const u=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<u&&(a=t[h],r=eu(r,a.hostAttrs,i),a!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function eu(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let a=0;a<t.length;a++){const u=t[a];"number"==typeof u?i=u:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Qr(e,u,!!n||t[++a]))}return void 0===e?null:e}function sO(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Qr(e,r,n)}function EC(e,t,n,r,i,a,u,h){if(!(3&t.type))return;const g=e.data,C=g[h+1],E=function GI(e){return!(1&~e)}(C)?DC(g,t,n,i,ka(C),u):void 0;Ad(E)||(Ad(a)||function $I(e){return!(2&~e)}(C)&&(a=DC(g,null,n,i,h,u)),function bb(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let a=-1===r.indexOf("-")?void 0:nd.DashCase;null==i?e.removeStyle(n,r,a):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),a|=nd.Important),e.setStyle(n,r,i,a))}}(r,u,lc(Zr(),n),i,a))}function DC(e,t,n,r,i,a){const u=null===t;let h;for(;i>0;){const g=e[i],C=Array.isArray(g),E=C?g[1]:g,N=null===E;let $=n[i+1];$===Ct&&($=N?Gt:void 0);let Q=N?$a($,r):E===r?$:void 0;if(C&&!Ad(Q)&&(Q=$a(g,r)),Ad(Q)&&(h=Q,u))return h;const ee=e[i+1];i=u?ra(ee):ka(ee)}if(null!==t){let g=a?t.residualClasses:t.residualStyles;null!=g&&(h=$a(g,r))}return h}function Ad(e){return void 0!==e}function MC(e,t){return!!(e.flags&(t?8:16))}function bC(e,t,n){zo(Qr,fs,Sl(ce(),e,t,n),!0)}function xd(e,t,n,r){const i=ce(),a=Ot(),u=ze+e,h=i[dt],g=a.firstCreatePass?function PO(e,t,n,r,i,a){const u=t.consts,g=Oa(t,e,2,r,Mo(u,i));return Nf(t,n,g,Mo(u,a)),null!==g.attrs&&vd(g,g.attrs,!1),null!==g.mergedAttrs&&vd(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(u,a,i,t,n,r):a.data[u],C=OC(a,i,g,h,t,e);i[u]=C;const E=Du(g);return $o(g,!0),Qy(h,C,g),!function yl(e){return!(32&~e.flags)}(g)&&dc()&&od(a,i,C,g),0===function XD(){return ht.lFrame.elementDepthCount}()&&fi(C,i),function YD(){ht.lFrame.elementDepthCount++}(),E&&(Of(a,i,g),If(a,g,i)),null!==r&&Pf(i,g),xd}function Rd(){let e=dn();wh()?Eh():(e=e.parent,$o(e,!1));const t=e;(function JD(e){return ht.skipHydrationRootTNode===e})(t)&&function r0(){ht.skipHydrationRootTNode=null}(),function ZD(){ht.lFrame.elementDepthCount--}();const n=Ot();return n.firstCreatePass&&(Ou(n,e),dh(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function v0(e){return!!(8&e.flags)}(t)&&Ap(n,t,ce(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function _0(e){return!!(16&e.flags)}(t)&&Ap(n,t,ce(),t.stylesWithoutHost,!1),Rd}function Lp(e,t,n,r){return xd(e,t,n,r),Rd(),Lp}let OC=(e,t,n,r,i,a)=>(as(!0),rd(r,i,function im(){return ht.lFrame.currentNamespace}()));function Fd(e,t,n){const r=ce(),i=Ot(),a=e+ze,u=i.firstCreatePass?function xO(e,t,n,r,i){const a=t.consts,u=Mo(a,r),h=Oa(t,e,8,"ng-container",u);return null!==u&&vd(h,u,!0),Nf(t,n,h,Mo(a,i)),null!==t.queries&&t.queries.elementStart(t,h),h}(a,i,r,t,n):i.data[a];$o(u,!0);const h=PC(i,r,u,e);return r[a]=h,dc()&&od(i,r,h,u),fi(h,r),Du(u)&&(Of(i,r,u),If(i,u,r)),null!=n&&Pf(r,u),Fd}function kd(){let e=dn();const t=Ot();return wh()?Eh():(e=e.parent,$o(e,!1)),t.firstCreatePass&&(Ou(t,e),dh(e)&&t.queries.elementEnd(e)),kd}function Vp(e,t,n){return Fd(e,t,n),kd(),Vp}let PC=(e,t,n,r)=>(as(!0),_f(t[dt],""));function AC(){return ce()}function Up(e,t,n){const r=ce();return er(r,Ho(),t)&&zi(Ot(),Mn(),r,e,t,r[dt],n,!0),Up}const La=void 0;var LO=["en",[["a","p"],["AM","PM"],La],[["AM","PM"],La,La],[["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"]],La,[["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"]],La,[["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}",La,"{1} 'at' {0}",La],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function kO(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Fl={};function Bp(e){const t=function VO(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=RC(t);if(n)return n;const r=t.split("-")[0];if(n=RC(r),n)return n;if("en"===r)return LO;throw new Ie(701,!1)}function xC(e){return Bp(e)[kl.PluralCase]}function RC(e){return e in Fl||(Fl[e]=pn.ng&&pn.ng.common&&pn.ng.common.locales&&pn.ng.common.locales[e]),Fl[e]}var kl=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}(kl||{});const Ld="en-US";let FC=Ld,JC=(e,t,n)=>{};function Hp(e,t,n,r){const i=ce(),a=Ot(),u=dn();return Gp(a,i,i[dt],u,e,t,r),Hp}function Gp(e,t,n,r,i,a,u){const h=Du(r),C=e.firstCreatePass&&uv(e),E=t[Dn],N=cv(t);let $=!0;if(3&r.type||u){const he=Mi(r,t),Te=u?u(he):he,Pe=N.length,fe=u?jt=>u(Qt(jt[r.index])):r.index;let vt=null;if(!u&&h&&(vt=function SP(e,t,n,r){const i=e.cleanup;if(null!=i)for(let a=0;a<i.length-1;a+=2){const u=i[a];if(u===n&&i[a+1]===r){const h=t[Qa],g=i[a+2];return h.length>g?h[g]:null}"string"==typeof u&&(a+=2)}return null}(e,t,i,r.index)),null!==vt)(vt.__ngLastListenerFn__||vt).__ngNextListenerFn__=a,vt.__ngLastListenerFn__=a,$=!1;else{a=rw(r,t,E,a),JC(he,i,a);const jt=n.listen(Te,i,a);N.push(a,jt),C&&C.push(i,fe,Pe,Pe+1)}}else a=rw(r,t,E,a);const Q=r.outputs;let ee;if($&&null!==Q&&(ee=Q[i])){const he=ee.length;if(he)for(let Te=0;Te<he;Te+=2){const gn=t[ee[Te]][ee[Te+1]].subscribe(a),rr=N.length;N.push(a,gn),C&&C.push(i,r.index,rr,-(rr+1))}}}function nw(e,t,n,r){const i=U(null);try{return ss(6,t,n),!1!==n(r)}catch(a){return cd(e,a),!1}finally{ss(7,t,n),U(i)}}function rw(e,t,n,r){return function i(a){if(a===Function)return r;Nc(e.componentOffset>-1?co(e.index,t):t,5);let h=nw(t,n,r,a),g=i.__ngNextListenerFn__;for(;g;)h=nw(t,n,g,a)&&h,g=g.__ngNextListenerFn__;return h}}function iw(e=1){return function c0(e){return(ht.lFrame.contextLView=function jg(e,t){for(;e>0;)t=t[Xa],e--;return t}(e,ht.lFrame.contextLView))[Dn]}(e)}function TP(e,t){let n=null;const r=function f(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const a=t[i];if("*"!==a){if(null===r?d(e,a,!0):S(r,a))return i}else n=i}return n}function ow(e){const t=ce()[Ln][Yr];if(!t.projection){const r=t.projection=function Wn(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let a=t.child;for(;null!==a;){if(128!==a.type){const u=e?TP(a,e):0;null!==u&&(i[u]?i[u].projectionNext=a:r[u]=a,i[u]=a)}a=a.next}}}function sw(e,t=0,n,r,i,a){const u=ce(),h=Ot(),g=r?e+1:null;null!==g&&Qc(u,h,g,r,i,a,null,n);const C=Oa(h,ze+e,16,null,n||null);null===C.projection&&(C.projection=t),Eh();const N=!u[Di]||wa();null===u[Ln][Yr].projection[C.projection]&&null!==g?function IP(e,t,n){const r=ze+n,i=t.data[r],a=e[r],u=Na(a,i.tView.ssrId);fl(a,hl(e,i,void 0,{dehydratedView:u}),0,Pa(i,u))}(u,h,g):N&&32&~C.flags&&function Db(e,t,n){qy(t[dt],0,t,n,Ef(e,n,t),jy(n.parent||t[Yr],n,t))}(h,u,C)}function zp(e,t,n){return jd(e,"",t,"",n),zp}function jd(e,t,n,r,i){const a=ce(),u=Sl(a,t,n,r);return u!==Ct&&zi(Ot(),Mn(),a,e,u,a[dt],i,!1),jd}function gw(e,t,n,r){!function i_(e,t,n,r){const i=Ot();if(i.firstCreatePass){const a=dn();o_(i,new e_(t,n,r),a.index),function xT(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),!(2&~n)&&(i.staticContentQueries=!0)}return n_(i,ce(),n)}(e,t,n,r)}function mw(e,t,n){!function r_(e,t,n){const r=Ot();return r.firstCreatePass&&(o_(r,new e_(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),n_(r,ce(),t)}(e,t,n)}function yw(e){const t=ce(),n=Ot(),r=bh();Iu(r+1);const i=lp(n,r);if(e.dirty&&function KD(e){return!(4&~e[Je])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const a=s_(t,r);e.reset(a,Rm),e.notifyOnChanges()}return!0}return!1}function vw(){return function ap(e,t){return e[Ns].queries[t].queryList}(ce(),bh())}function _w(e){return function Ca(e,t){return e[t]}(function qg(){return ht.lFrame.contextLView}(),ze+e)}function Ow(e,t=""){const n=ce(),r=Ot(),i=e+ze,a=r.firstCreatePass?Oa(r,i,1,t,null):r.data[i],u=Pw(r,n,a,t,e);n[i]=u,dc()&&od(r,n,u,a),$o(a,!1)}let Pw=(e,t,n,r,i)=>(as(!0),function vf(e,t){return e.createText(t)}(t[dt],r));function qp(e){return $d("",e,""),qp}function $d(e,t,n){const r=ce(),i=Sl(r,e,t,n);return i!==Ct&&Vs(r,Zr(),i),$d}function Kp(e,t,n,r,i){const a=ce(),u=Tl(a,e,t,n,r,i);return u!==Ct&&Vs(a,Zr(),u),Kp}function Qp(e,t,n){d_(t)&&(t=t());const r=ce();return er(r,Ho(),t)&&zi(Ot(),Mn(),r,e,t,r[dt],n,!1),Qp}function Vw(e,t){const n=d_(e);return n&&e.set(t),n}function Xp(e,t){const n=ce(),r=Ot(),i=dn();return Gp(r,n,n[dt],i,e,t),Xp}function Yp(e,t,n,r,i){if(e=Ke(e),Array.isArray(e))for(let a=0;a<e.length;a++)Yp(e[a],t,n,r,i);else{const a=Ot(),u=ce(),h=dn();let g=on(e)?e:Ke(e.provide);const C=Mg(e),E=1048575&h.providerIndexes,N=h.directiveStart,$=h.providerIndexes>>20;if(on(e)||!e.multi){const Q=new hc(C,i,dl),ee=Jp(g,t,i?E:E+$,N);-1===ee?(Rh(xu(h,u),a,g),Zp(a,e,t.length),t.push(g),h.directiveStart++,h.directiveEnd++,i&&(h.providerIndexes+=1048576),n.push(Q),u.push(Q)):(n[ee]=Q,u[ee]=Q)}else{const Q=Jp(g,t,E+$,N),ee=Jp(g,t,E,E+$),Te=ee>=0&&n[ee];if(i&&!Te||!i&&!(Q>=0&&n[Q])){Rh(xu(h,u),a,g);const Pe=function KP(e,t,n,r,i){const a=new hc(e,n,dl);return a.multi=[],a.index=t,a.componentProviders=0,jw(a,i,r&&!n),a}(i?qP:WP,n.length,i,r,C);!i&&Te&&(n[ee].providerFactory=Pe),Zp(a,e,t.length,0),t.push(g),h.directiveStart++,h.directiveEnd++,i&&(h.providerIndexes+=1048576),n.push(Pe),u.push(Pe)}else Zp(a,e,Q>-1?Q:ee,jw(n[i?ee:Q],C,!i&&r));!i&&r&&Te&&n[ee].componentProviders++}}}function Zp(e,t,n,r){const i=on(t),a=function vu(e){return!!e.useClass}(t);if(i||a){const g=(a?Ke(t.useClass):t).prototype.ngOnDestroy;if(g){const C=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const E=C.indexOf(n);-1===E?C.push(n,[r,g]):C[E+1].push(r,g)}else C.push(n,g)}}}function jw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Jp(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function WP(e,t,n,r){return eg(this.multi,[])}function qP(e,t,n,r){const i=this.multi;let a;if(this.providerFactory){const u=this.providerFactory.componentProviders,h=Ma(n,n[Se],this.providerFactory.index,r);a=h.slice(0,u),eg(i,a);for(let g=u;g<h.length;g++)a.push(h[g])}else a=[],eg(i,a);return a}function eg(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function $w(e,t=[]){return n=>{n.providersResolver=(r,i)=>function zP(e,t,n){const r=Ot();if(r.firstCreatePass){const i=jo(e);Yp(n,r.data,r.blueprint,i,!0),Yp(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let QP=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=za(0,n.type),i=r.length>0?fp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=zt({token:e,providedIn:"environment",factory:()=>new e(mt(di))})}}return e})();function Hw(e){Si("NgStandalone"),e.getStandaloneInjector=t=>t.get(QP).getOrCreateStandaloneInjector(e)}function Ww(e,t,n){const r=bi()+e,i=ce();return i[r]===Ct?ds(i,r,n?t.call(n):t()):function Kc(e,t){return e[t]}(i,r)}function qw(e,t,n,r){return function Xw(e,t,n,r,i,a){const u=t+n;return er(e,u,i)?ds(e,u+1,a?r.call(a,i):r(i)):su(e,u+1)}(ce(),bi(),e,t,n,r)}function Kw(e,t,n,r,i){return function Yw(e,t,n,r,i,a,u){const h=t+n;return Ra(e,h,i,a)?ds(e,h+2,u?r.call(u,i,a):r(i,a)):su(e,h+2)}(ce(),bi(),e,t,n,r,i)}function Qw(e,t,n,r,i,a){return function Zw(e,t,n,r,i,a,u,h){const g=t+n;return function Dd(e,t,n,r,i){const a=Ra(e,t,n,r);return er(e,t+2,i)||a}(e,g,i,a,u)?ds(e,g+3,h?r.call(h,i,a,u):r(i,a,u)):su(e,g+3)}(ce(),bi(),e,t,n,r,i,a)}function su(e,t){const n=e[t];return n===Ct?void 0:n}function tE(e,t){return dd(e,t)}class yE{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let vE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=zt({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const DE=new tt(""),ME=new tt("");let sg,iN=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,sg||(function oN(e){sg=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Vn.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==a),n()},r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static{this.\u0275fac=function(r){return new(r||e)(mt(Vn),mt(bE),mt(ME))}}static{this.\u0275prov=zt({token:e,factory:e.\u0275fac})}}return e})(),bE=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return sg?.findTestabilityInTree(this,n,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=zt({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function ag(e){return!!e&&"function"==typeof e.then}function SE(e){return!!e&&"function"==typeof e.subscribe}const TE=new tt("");let IE=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=ve(TE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const a=i();if(ag(a))n.push(a);else if(SE(a)){const u=new Promise((h,g)=>{a.subscribe({complete:h,error:g})});n.push(u)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=zt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const qd=new tt("");function PE(e,t){return Array.isArray(t)?t.reduce(PE,e):{...e,...t}}let ps=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ve(q0),this.afterRenderManager=ve(k_),this.zonelessEnabled=ve($c),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new In.B,this.afterTick=new In.B,this.componentTypes=[],this.components=[],this.isStable=ve(ba).hasPendingTasks.pipe((0,On.T)(n=>!n)),this._injector=ve(di)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof $v;if(!this._injector.get(IE).done)throw!i&&br(n),new Ie(405,!1);let u;u=i?n:this._injector.get(Hc).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const h=function sN(e){return e.isBoundToModule}(u)?void 0:this._injector.get(xa),C=u.create(Jr.NULL,[],r||u.selector,h),E=C.location.nativeElement,N=C.injector.get(DE,null);return N?.registerApplication(E),C.onDestroy(()=>{this.detachView(C.hostView),Kd(this.components,C),N?.unregisterApplication(E)}),this._loadComponent(C),C}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Ie(101,!1);const n=U(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,U(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Yf,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:a}of this._views)cN(i,a,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>Mu(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Kd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(qd,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Kd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ie(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=zt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Kd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function cN(e,t,n,r){(n||Mu(e))&&ud(e,t,n&&!r?0:1)}class uN{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let dN=(()=>{class e{compileModuleSync(n){return new hp(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=uo(Yt(n).declarations).reduce((u,h)=>{const g=Ze(h);return g&&u.push(new Wc(g)),u},[]);return new uN(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=zt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),pN=(()=>{class e{constructor(){this.zone=ve(Vn),this.changeDetectionScheduler=ve(gl),this.applicationRef=ve(ps)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=zt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function lg({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Vn({...cg(),scheduleInRootZone:n}),[{provide:Vn,useFactory:e},{provide:Ei,multi:!0,useFactory:()=>{const r=ve(pN,{optional:!0});return()=>r.initialize()}},{provide:Ei,multi:!0,useFactory:()=>{const r=ve(mN);return()=>{r.initialize()}}},!0===t?{provide:jv,useValue:!0}:[],{provide:Xf,useValue:n??Tm}]}function cg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let mN=(()=>{class e{constructor(){this.subscription=new $n.yU,this.initialized=!1,this.zone=ve(Vn),this.pendingTasks=ve(ba)}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(()=>{Vn.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Vn.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=zt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),uu=(()=>{class e{constructor(){this.appRef=ve(ps),this.taskService=ve(ba),this.ngZone=ve(Vn),this.zonelessEnabled=ve($c),this.disableScheduling=ve(jv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new $n.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Uu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(ve(Xf,{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 jh||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?Om:Im;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Uu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Om(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=zt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const dg=new tt("",{providedIn:"root",factory:()=>ve(dg,Dt.Optional|Dt.SkipSelf)||function yN(){return typeof $localize<"u"&&$localize.locale||Ld}()}),vN=new tt("",{providedIn:"root",factory:()=>"USD"}),hg=new tt("");function Xd(e){return!!e.platformInjector}let LE=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,u=r?.ignoreChangesOutsideZone,h=[lg({ngZoneFactory:()=>function W0(e="zone.js",t){return"noop"===e?new jh:"zone.js"===e?new Vn(t):e}(r?.ngZone,{...cg({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:u}),{provide:gl,useExisting:uu}],g=function eI(e,t,n){return new dp(e,t,n,!1)}(n.moduleType,this.injector,h);return function kE(e){const t=Xd(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Vn);return n.run(()=>{Xd(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(ks,null);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:a=>{r.handleError(a)}})}),Xd(e)){const a=()=>t.destroy(),u=e.platformInjector.get(hg);u.add(a),t.onDestroy(()=>{i.unsubscribe(),u.delete(a)})}else e.moduleRef.onDestroy(()=>{Kd(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return function lN(e,t,n){try{const r=n();return ag(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(r,n,()=>{const a=t.get(IE);return a.runInitializers(),a.donePromise.then(()=>{if(function $O(e){"string"==typeof e&&(FC=e.toLowerCase().replace(/_/g,"-"))}(t.get(dg,Ld)||Ld),Xd(e)){const h=t.get(ps);return void 0!==e.rootComponent&&h.bootstrap(e.rootComponent),h}return function DN(e,t){const n=e.injector.get(ps);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new Ie(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:g,allPlatformModules:this._modules})}bootstrapModule(n,r=[]){const i=PE({},r);return function fN(e,t,n){const r=new hp(n);return Promise.resolve(r)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ie(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(hg,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||e)(mt(Jr))}}static{this.\u0275prov=zt({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),ia=null;const VE=new tt("");function UE(e,t,n=[]){const r=`Platform: ${t}`,i=new tt(r);return(a=[])=>{let u=fg();if(!u||u.injector.get(VE,!1)){const h=[...n,...a,{provide:i,useValue:!0}];e?e(h):function MN(e){if(ia&&!ia.get(VE,!1))throw new Ie(400,!1);(function OE(){!function rt(e){et=e}(()=>{throw new Ie(600,!1)})})(),ia=e;const t=e.get(LE);(function jE(e){e.get(ey,null)?.forEach(n=>n())})(e)}(function BE(e=[],t){return Jr.create({name:t,providers:[{provide:rc,useValue:"platform"},{provide:hg,useValue:new Set([()=>ia=null])},...e]})}(h,r))}return function bN(){const t=fg();if(!t)throw new Ie(401,!1);return t}()}}function fg(){return ia?.get(LE)??null}function TN(){return!1}function IN(){}let HE=(()=>{class e{static{this.__NG_ELEMENT_ID__=ON}}return e})();function ON(e){return function PN(e,t,n){if(_a(e)&&!n){const r=co(e.index,t);return new xc(r,r)}return 175&e.type?new xc(t[Ln],t):null}(dn(),ce(),!(16&~e))}class qE{constructor(){}supports(t){return Ed(t)}create(t){return new FN(t)}}const RN=(e,t)=>t;class FN{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||RN}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,a=null;for(;n||r;){const u=!r||n&&n.currentIndex<QE(r,i,a)?n:r,h=QE(u,i,a),g=u.currentIndex;if(u===r)i--,r=r._nextRemoved;else if(n=n._next,null==u.previousIndex)i++;else{a||(a=[]);const C=h-i,E=g-i;if(C!=E){for(let $=0;$<C;$++){const Q=$<a.length?a[$]:a[$]=0,ee=Q+$;E<=ee&&ee<C&&(a[$]=Q+1)}a[u.previousIndex]=E-C}}h!==g&&t(u,h,g)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ed(t))throw new Ie(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,a,u,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)a=t[h],u=this._trackByFn(h,a),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,a,u,h)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,u,h),r=!0),n=n._next}else i=0,function rI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{u=this._trackByFn(i,h),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,h,u,i)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,u,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,i)):t=this._addAfter(new kN(n,r),a,i),t}_verifyReinsertion(t,n,r,i){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,a=t._nextRemoved;return null===i?this._removalsHead=a:i._nextRemoved=a,null===a?this._removalsTail=i:a._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new KE),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new KE),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 kN{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 LN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class KE{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new LN,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function QE(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class XE{constructor(){}supports(t){return t instanceof Map||pp(t)}create(){return new VN}}class VN{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||pp(t)))throw new Ie(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const a=i._prev,u=i._next;return a&&(a._next=u),u&&(u._prev=a),i._next=null,i._prev=null,i}const r=new UN(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class UN{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 YE(){return new vg([new qE])}let vg=(()=>{class e{static{this.\u0275prov=zt({token:e,providedIn:"root",factory:YE})}constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||YE()),deps:[[e,new ai,new qr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Ie(901,!1)}}return e})();function ZE(){return new _g([new XE])}let _g=(()=>{class e{static{this.\u0275prov=zt({token:e,providedIn:"root",factory:ZE})}constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ZE()),deps:[[e,new ai,new qr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Ie(901,!1)}}return e})();const $N=UE(null,"core",[]);let HN=(()=>{class e{constructor(n){}static{this.\u0275fac=function(r){return new(r||e)(mt(ps))}}static{this.\u0275mod=Ge({type:e})}static{this.\u0275inj=Vi({})}}return e})();const pD=new tt("");function Cx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Ex(e,t){Si("NgSignals");const n=function ye(e){const t=Object.create(ue);t.computation=e;const n=()=>{if(Ee(t),W(t),t.value===le)throw t.error;return t.value};return n[x]=t,n}(e);return t?.equal&&(n[x].equal=t.equal),n}function Dx(e){const t=U(null);try{return e()}finally{U(t)}}function Ox(e){const t=Ze(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}}}},9417:(oe,j,O)=>{"use strict";O.d(j,{BC:()=>Hn,Fm:()=>Jt,J3:()=>Xi,JD:()=>ki,X1:()=>Zo,YN:()=>Vr,Zm:()=>W,cV:()=>Dr,cb:()=>or,hs:()=>Ri,j4:()=>Ht,k0:()=>wt,kq:()=>X,me:()=>Me,qT:()=>be,vS:()=>Ce});var c=O(3953),I=O(177),H=O(6648),R=O(7468),x=O(1413),U=O(6354);let z=(()=>{class w{constructor(y,P){this._renderer=y,this._elementRef=P,this.onChange=q=>{},this.onTouched=()=>{}}setProperty(y,P){this._renderer.setProperty(this._elementRef.nativeElement,y,P)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}static{this.\u0275fac=function(P){return new(P||w)(c.rXU(c.sFG),c.rXU(c.aKT))}}static{this.\u0275dir=c.FsC({type:w})}}return w})(),B=(()=>{class w extends z{static{this.\u0275fac=(()=>{let y;return function(q){return(y||(y=c.xGo(w)))(q||w)}})()}static{this.\u0275dir=c.FsC({type:w,features:[c.Vt3]})}}return w})();const X=new c.nKC(""),K={provide:X,useExisting:(0,c.Rfq)(()=>W),multi:!0};let W=(()=>{class w extends B{writeValue(y){this.setProperty("checked",y)}static{this.\u0275fac=(()=>{let y;return function(q){return(y||(y=c.xGo(w)))(q||w)}})()}static{this.\u0275dir=c.FsC({type:w,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(P,q){1&P&&c.bIt("change",function(gt){return q.onChange(gt.target.checked)})("blur",function(){return q.onTouched()})},features:[c.Jv_([K]),c.Vt3]})}}return w})();const me={provide:X,useExisting:(0,c.Rfq)(()=>Me),multi:!0},_e=new c.nKC("");let Me=(()=>{class w extends z{constructor(y,P,q){super(y,P),this._compositionMode=q,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Ee(){const w=(0,I.QT)()?(0,I.QT)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(y){this.setProperty("value",y??"")}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}static{this.\u0275fac=function(P){return new(P||w)(c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(_e,8))}}static{this.\u0275dir=c.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(P,q){1&P&&c.bIt("input",function(gt){return q._handleInput(gt.target.value)})("blur",function(){return q.onTouched()})("compositionstart",function(){return q._compositionStart()})("compositionend",function(gt){return q._compositionEnd(gt.target.value)})},features:[c.Jv_([me]),c.Vt3]})}}return w})();function Re(w){return null==w||("string"==typeof w||Array.isArray(w))&&0===w.length}function Ae(w){return null!=w&&"number"==typeof w.length}const je=new c.nKC(""),qe=new c.nKC(""),ft=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class wt{static min(D){return function ct(w){return D=>{if(Re(D.value)||Re(w))return null;const y=parseFloat(D.value);return!isNaN(y)&&y<w?{min:{min:w,actual:D.value}}:null}}(D)}static max(D){return function st(w){return D=>{if(Re(D.value)||Re(w))return null;const y=parseFloat(D.value);return!isNaN(y)&&y>w?{max:{max:w,actual:D.value}}:null}}(D)}static required(D){return function Vt(w){return Re(w.value)?{required:!0}:null}(D)}static requiredTrue(D){return function He(w){return!0===w.value?null:{required:!0}}(D)}static email(D){return function te(w){return Re(w.value)||ft.test(w.value)?null:{email:!0}}(D)}static minLength(D){return function ye(w){return D=>Re(D.value)||!Ae(D.value)?null:D.value.length<w?{minlength:{requiredLength:w,actualLength:D.value.length}}:null}(D)}static maxLength(D){return function Xe(w){return D=>Ae(D.value)&&D.value.length>w?{maxlength:{requiredLength:w,actualLength:D.value.length}}:null}(D)}static pattern(D){return function ae(w){if(!w)return le;let D,y;return"string"==typeof w?(y="","^"!==w.charAt(0)&&(y+="^"),y+=w,"$"!==w.charAt(w.length-1)&&(y+="$"),D=new RegExp(y)):(y=w.toString(),D=w),P=>{if(Re(P.value))return null;const q=P.value;return D.test(q)?null:{pattern:{requiredPattern:y,actualValue:q}}}}(D)}static nullValidator(D){return null}static compose(D){return Ve(D)}static composeAsync(D){return ln(D)}}function le(w){return null}function ue(w){return null!=w}function Oe(w){return(0,c.jNT)(w)?(0,H.H)(w):w}function et(w){let D={};return w.forEach(y=>{D=null!=y?{...D,...y}:D}),0===Object.keys(D).length?null:D}function Ye(w,D){return D.map(y=>y(w))}function St(w){return w.map(D=>function rt(w){return!w.validate}(D)?D:y=>D.validate(y))}function Ve(w){if(!w)return null;const D=w.filter(ue);return 0==D.length?null:function(y){return et(Ye(y,D))}}function Rt(w){return null!=w?Ve(St(w)):null}function ln(w){if(!w)return null;const D=w.filter(ue);return 0==D.length?null:function(y){const P=Ye(y,D).map(Oe);return(0,R.p)(P).pipe((0,U.T)(et))}}function Ut(w){return null!=w?ln(St(w)):null}function Pt(w,D){return null===w?[D]:Array.isArray(w)?[...w,D]:[w,D]}function Tn(w){return w._rawValidators}function Xt(w){return w._rawAsyncValidators}function bn(w){return w?Array.isArray(w)?w:[w]:[]}function Un(w,D){return Array.isArray(w)?w.includes(D):w===D}function ir(w,D){const y=bn(D);return bn(w).forEach(q=>{Un(y,q)||y.push(q)}),y}function Bn(w,D){return bn(D).filter(y=>!Un(w,y))}class Ki{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(D){this._rawValidators=D||[],this._composedValidatorFn=Rt(this._rawValidators)}_setAsyncValidators(D){this._rawAsyncValidators=D||[],this._composedAsyncValidatorFn=Ut(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(D){this._onDestroyCallbacks.push(D)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(D=>D()),this._onDestroyCallbacks=[]}reset(D=void 0){this.control&&this.control.reset(D)}hasError(D,y){return!!this.control&&this.control.hasError(D,y)}getError(D,y){return this.control?this.control.getError(D,y):null}}class sn extends Ki{get formDirective(){return null}get path(){return null}}class In extends Ki{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class $n{constructor(D){this._cd=D}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Hn=(()=>{class w extends $n{constructor(y){super(y)}static{this.\u0275fac=function(P){return new(P||w)(c.rXU(In,2))}}static{this.\u0275dir=c.FsC({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(P,q){2&P&&c.AVh("ng-untouched",q.isUntouched)("ng-touched",q.isTouched)("ng-pristine",q.isPristine)("ng-dirty",q.isDirty)("ng-valid",q.isValid)("ng-invalid",q.isInvalid)("ng-pending",q.isPending)},features:[c.Vt3]})}}return w})(),or=(()=>{class w extends $n{constructor(y){super(y)}static{this.\u0275fac=function(P){return new(P||w)(c.rXU(sn,10))}}static{this.\u0275dir=c.FsC({type:w,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(P,q){2&P&&c.AVh("ng-untouched",q.isUntouched)("ng-touched",q.isTouched)("ng-pristine",q.isPristine)("ng-dirty",q.isDirty)("ng-valid",q.isValid)("ng-invalid",q.isInvalid)("ng-pending",q.isPending)("ng-submitted",q.isSubmitted)},features:[c.Vt3]})}}return w})();const sr="VALID",Ar="INVALID",Cr="PENDING",ar="DISABLED";class mn{}class Gn extends mn{constructor(D,y){super(),this.value=D,this.source=y}}class ie extends mn{constructor(D,y){super(),this.pristine=D,this.source=y}}class ne extends mn{constructor(D,y){super(),this.touched=D,this.source=y}}class V extends mn{constructor(D,y){super(),this.status=D,this.source=y}}class Y extends mn{constructor(D){super(),this.source=D}}class de extends mn{constructor(D){super(),this.source=D}}function xe(w){return(Mt(w)?w.validators:w)||null}function Et(w,D){return(Mt(D)?D.asyncValidators:w)||null}function Mt(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}class Oi{constructor(D,y){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,c.EWP)(()=>this.statusReactive()),this.statusReactive=(0,c.vPA)(void 0),this._pristine=(0,c.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,c.vPA)(!0),this._touched=(0,c.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,c.vPA)(!1),this._events=new x.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(D),this._assignAsyncValidators(y)}get validator(){return this._composedValidatorFn}set validator(D){this._rawValidators=this._composedValidatorFn=D}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(D){this._rawAsyncValidators=this._composedAsyncValidatorFn=D}get parent(){return this._parent}get status(){return(0,c.O8t)(this.statusReactive)}set status(D){(0,c.O8t)(()=>this.statusReactive.set(D))}get valid(){return this.status===sr}get invalid(){return this.status===Ar}get pending(){return this.status==Cr}get disabled(){return this.status===ar}get enabled(){return this.status!==ar}get pristine(){return(0,c.O8t)(this.pristineReactive)}set pristine(D){(0,c.O8t)(()=>this.pristineReactive.set(D))}get dirty(){return!this.pristine}get touched(){return(0,c.O8t)(this.touchedReactive)}set touched(D){(0,c.O8t)(()=>this.touchedReactive.set(D))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(D){this._assignValidators(D)}setAsyncValidators(D){this._assignAsyncValidators(D)}addValidators(D){this.setValidators(ir(D,this._rawValidators))}addAsyncValidators(D){this.setAsyncValidators(ir(D,this._rawAsyncValidators))}removeValidators(D){this.setValidators(Bn(D,this._rawValidators))}removeAsyncValidators(D){this.setAsyncValidators(Bn(D,this._rawAsyncValidators))}hasValidator(D){return Un(this._rawValidators,D)}hasAsyncValidator(D){return Un(this._rawAsyncValidators,D)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(D={}){const y=!1===this.touched;this.touched=!0;const P=D.sourceControl??this;this._parent&&!D.onlySelf&&this._parent.markAsTouched({...D,sourceControl:P}),y&&!1!==D.emitEvent&&this._events.next(new ne(!0,P))}markAllAsTouched(D={}){this.markAsTouched({onlySelf:!0,emitEvent:D.emitEvent,sourceControl:this}),this._forEachChild(y=>y.markAllAsTouched(D))}markAsUntouched(D={}){const y=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const P=D.sourceControl??this;this._forEachChild(q=>{q.markAsUntouched({onlySelf:!0,emitEvent:D.emitEvent,sourceControl:P})}),this._parent&&!D.onlySelf&&this._parent._updateTouched(D,P),y&&!1!==D.emitEvent&&this._events.next(new ne(!1,P))}markAsDirty(D={}){const y=!0===this.pristine;this.pristine=!1;const P=D.sourceControl??this;this._parent&&!D.onlySelf&&this._parent.markAsDirty({...D,sourceControl:P}),y&&!1!==D.emitEvent&&this._events.next(new ie(!1,P))}markAsPristine(D={}){const y=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const P=D.sourceControl??this;this._forEachChild(q=>{q.markAsPristine({onlySelf:!0,emitEvent:D.emitEvent})}),this._parent&&!D.onlySelf&&this._parent._updatePristine(D,P),y&&!1!==D.emitEvent&&this._events.next(new ie(!0,P))}markAsPending(D={}){this.status=Cr;const y=D.sourceControl??this;!1!==D.emitEvent&&(this._events.next(new V(this.status,y)),this.statusChanges.emit(this.status)),this._parent&&!D.onlySelf&&this._parent.markAsPending({...D,sourceControl:y})}disable(D={}){const y=this._parentMarkedDirty(D.onlySelf);this.status=ar,this.errors=null,this._forEachChild(q=>{q.disable({...D,onlySelf:!0})}),this._updateValue();const P=D.sourceControl??this;!1!==D.emitEvent&&(this._events.next(new Gn(this.value,P)),this._events.next(new V(this.status,P)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...D,skipPristineCheck:y},this),this._onDisabledChange.forEach(q=>q(!0))}enable(D={}){const y=this._parentMarkedDirty(D.onlySelf);this.status=sr,this._forEachChild(P=>{P.enable({...D,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent}),this._updateAncestors({...D,skipPristineCheck:y},this),this._onDisabledChange.forEach(P=>P(!1))}_updateAncestors(D,y){this._parent&&!D.onlySelf&&(this._parent.updateValueAndValidity(D),D.skipPristineCheck||this._parent._updatePristine({},y),this._parent._updateTouched({},y))}setParent(D){this._parent=D}getRawValue(){return this.value}updateValueAndValidity(D={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const P=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===sr||this.status===Cr)&&this._runAsyncValidator(P,D.emitEvent)}const y=D.sourceControl??this;!1!==D.emitEvent&&(this._events.next(new Gn(this.value,y)),this._events.next(new V(this.status,y)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!D.onlySelf&&this._parent.updateValueAndValidity({...D,sourceControl:y})}_updateTreeValidity(D={emitEvent:!0}){this._forEachChild(y=>y._updateTreeValidity(D)),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ar:sr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(D,y){if(this.asyncValidator){this.status=Cr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==y};const P=Oe(this.asyncValidator(this));this._asyncValidationSubscription=P.subscribe(q=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(q,{emitEvent:y,shouldHaveEmitted:D})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const D=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,D}return!1}setErrors(D,y={}){this.errors=D,this._updateControlsErrors(!1!==y.emitEvent,this,y.shouldHaveEmitted)}get(D){let y=D;return null==y||(Array.isArray(y)||(y=y.split(".")),0===y.length)?null:y.reduce((P,q)=>P&&P._find(q),this)}getError(D,y){const P=y?this.get(y):this;return P&&P.errors?P.errors[D]:null}hasError(D,y){return!!this.getError(D,y)}get root(){let D=this;for(;D._parent;)D=D._parent;return D}_updateControlsErrors(D,y,P){this.status=this._calculateStatus(),D&&this.statusChanges.emit(this.status),(D||P)&&this._events.next(new V(this.status,y)),this._parent&&this._parent._updateControlsErrors(D,y,P)}_initObservables(){this.valueChanges=new c.bkB,this.statusChanges=new c.bkB}_calculateStatus(){return this._allControlsDisabled()?ar:this.errors?Ar:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Cr)?Cr:this._anyControlsHaveStatus(Ar)?Ar:sr}_anyControlsHaveStatus(D){return this._anyControls(y=>y.status===D)}_anyControlsDirty(){return this._anyControls(D=>D.dirty)}_anyControlsTouched(){return this._anyControls(D=>D.touched)}_updatePristine(D,y){const P=!this._anyControlsDirty(),q=this.pristine!==P;this.pristine=P,this._parent&&!D.onlySelf&&this._parent._updatePristine(D,y),q&&this._events.next(new ie(this.pristine,y))}_updateTouched(D={},y){this.touched=this._anyControlsTouched(),this._events.next(new ne(this.touched,y)),this._parent&&!D.onlySelf&&this._parent._updateTouched(D,y)}_registerOnCollectionChange(D){this._onCollectionChange=D}_setUpdateStrategy(D){Mt(D)&&null!=D.updateOn&&(this._updateOn=D.updateOn)}_parentMarkedDirty(D){return!D&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(D){return null}_assignValidators(D){this._rawValidators=Array.isArray(D)?D.slice():D,this._composedValidatorFn=function ot(w){return Array.isArray(w)?Rt(w):w||null}(this._rawValidators)}_assignAsyncValidators(D){this._rawAsyncValidators=Array.isArray(D)?D.slice():D,this._composedAsyncValidatorFn=function At(w){return Array.isArray(w)?Ut(w):w||null}(this._rawAsyncValidators)}}class Br extends Oi{constructor(D,y,P){super(xe(y),Et(P,y)),this.controls=D,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(D,y){return this.controls[D]?this.controls[D]:(this.controls[D]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(D,y,P={}){this.registerControl(D,y),this.updateValueAndValidity({emitEvent:P.emitEvent}),this._onCollectionChange()}removeControl(D,y={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),delete this.controls[D],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(D,y,P={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),delete this.controls[D],y&&this.registerControl(D,y),this.updateValueAndValidity({emitEvent:P.emitEvent}),this._onCollectionChange()}contains(D){return this.controls.hasOwnProperty(D)&&this.controls[D].enabled}setValue(D,y={}){(function An(w,D,y){w._forEachChild((P,q)=>{if(void 0===y[q])throw new c.wOt(1002,"")})})(this,0,D),Object.keys(D).forEach(P=>{(function _n(w,D,y){const P=w.controls;if(!(D?Object.keys(P):P).length)throw new c.wOt(1e3,"");if(!P[y])throw new c.wOt(1001,"")})(this,!0,P),this.controls[P].setValue(D[P],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(D,y={}){null!=D&&(Object.keys(D).forEach(P=>{const q=this.controls[P];q&&q.patchValue(D[P],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(D={},y={}){this._forEachChild((P,q)=>{P.reset(D?D[q]:null,{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y,this),this._updateTouched(y,this),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},(D,y,P)=>(D[P]=y.getRawValue(),D))}_syncPendingControls(){let D=this._reduceChildren(!1,(y,P)=>!!P._syncPendingControls()||y);return D&&this.updateValueAndValidity({onlySelf:!0}),D}_forEachChild(D){Object.keys(this.controls).forEach(y=>{const P=this.controls[y];P&&D(P,y)})}_setUpControls(){this._forEachChild(D=>{D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(D){for(const[y,P]of Object.entries(this.controls))if(this.contains(y)&&D(P))return!0;return!1}_reduceValue(){return this._reduceChildren({},(y,P,q)=>((P.enabled||this.disabled)&&(y[q]=P.value),y))}_reduceChildren(D,y){let P=D;return this._forEachChild((q,$e)=>{P=y(P,q,$e)}),P}_allControlsDisabled(){for(const D of Object.keys(this.controls))if(this.controls[D].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(D){return this.controls.hasOwnProperty(D)?this.controls[D]:null}}const Xi=Br,Kn=new c.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>cn}),cn="always";function lr(w,D){return[...D.path,w]}function jr(w,D,y=cn){ei(w,D),D.valueAccessor.writeValue(w.value),(w.disabled||"always"===y)&&D.valueAccessor.setDisabledState?.(w.disabled),function Wo(w,D){D.valueAccessor.registerOnChange(y=>{w._pendingValue=y,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&Nr(w,D)})}(w,D),function pt(w,D){const y=(P,q)=>{D.valueAccessor.writeValue(P),q&&D.viewToModelUpdate(P)};w.registerOnChange(y),D._registerOnDestroy(()=>{w._unregisterOnChange(y)})}(w,D),function Io(w,D){D.valueAccessor.registerOnTouched(()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&Nr(w,D),"submit"!==w.updateOn&&w.markAsTouched()})}(w,D),function go(w,D){if(D.valueAccessor.setDisabledState){const y=P=>{D.valueAccessor.setDisabledState(P)};w.registerOnDisabledChange(y),D._registerOnDestroy(()=>{w._unregisterOnDisabledChange(y)})}}(w,D)}function $r(w,D,y=!0){const P=()=>{};D.valueAccessor&&(D.valueAccessor.registerOnChange(P),D.valueAccessor.registerOnTouched(P)),Pi(w,D),w&&(D._invokeOnDestroyCallbacks(),w._registerOnCollectionChange(()=>{}))}function cr(w,D){w.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(D)})}function ei(w,D){const y=Tn(w);null!==D.validator?w.setValidators(Pt(y,D.validator)):"function"==typeof y&&w.setValidators([y]);const P=Xt(w);null!==D.asyncValidator?w.setAsyncValidators(Pt(P,D.asyncValidator)):"function"==typeof P&&w.setAsyncValidators([P]);const q=()=>w.updateValueAndValidity();cr(D._rawValidators,q),cr(D._rawAsyncValidators,q)}function Pi(w,D){let y=!1;if(null!==w){if(null!==D.validator){const q=Tn(w);if(Array.isArray(q)&&q.length>0){const $e=q.filter(gt=>gt!==D.validator);$e.length!==q.length&&(y=!0,w.setValidators($e))}}if(null!==D.asyncValidator){const q=Xt(w);if(Array.isArray(q)&&q.length>0){const $e=q.filter(gt=>gt!==D.asyncValidator);$e.length!==q.length&&(y=!0,w.setAsyncValidators($e))}}}const P=()=>{};return cr(D._rawValidators,P),cr(D._rawAsyncValidators,P),y}function Nr(w,D){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),D.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function hn(w,D){ei(w,D)}function ni(w,D){if(!w.hasOwnProperty("model"))return!1;const y=w.model;return!!y.isFirstChange()||!Object.is(D,y.currentValue)}function mo(w,D){w._syncPendingControls(),D.forEach(y=>{const P=y.control;"submit"===P.updateOn&&P._pendingChange&&(y.viewToModelUpdate(P._pendingValue),P._pendingChange=!1)})}function Gr(w,D){if(!D)return null;let y,P,q;return Array.isArray(D),D.forEach($e=>{$e.constructor===Me?y=$e:function Ai(w){return Object.getPrototypeOf(w.constructor)===B}($e)?P=$e:q=$e}),q||P||y||null}const qo={provide:sn,useExisting:(0,c.Rfq)(()=>Dr)},Rr=Promise.resolve();let Dr=(()=>{class w extends sn{get submitted(){return(0,c.O8t)(this.submittedReactive)}constructor(y,P,q){super(),this.callSetDisabledState=q,this._submitted=(0,c.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,c.vPA)(!1),this._directives=new Set,this.ngSubmit=new c.bkB,this.form=new Br({},Rt(y),Ut(P))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(y){Rr.then(()=>{const P=this._findContainer(y.path);y.control=P.registerControl(y.name,y.control),jr(y.control,y,this.callSetDisabledState),y.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(y)})}getControl(y){return this.form.get(y.path)}removeControl(y){Rr.then(()=>{const P=this._findContainer(y.path);P&&P.removeControl(y.name),this._directives.delete(y)})}addFormGroup(y){Rr.then(()=>{const P=this._findContainer(y.path),q=new Br({});hn(q,y),P.registerControl(y.name,q),q.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(y){Rr.then(()=>{const P=this._findContainer(y.path);P&&P.removeControl(y.name)})}getFormGroup(y){return this.form.get(y.path)}updateModel(y,P){Rr.then(()=>{this.form.get(y.path).setValue(P)})}setValue(y){this.control.setValue(y)}onSubmit(y){return this.submittedReactive.set(!0),mo(this.form,this._directives),this.ngSubmit.emit(y),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y=void 0){this.form.reset(y),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(y){return y.pop(),y.length?this.form.get(y):this.form}static{this.\u0275fac=function(P){return new(P||w)(c.rXU(je,10),c.rXU(qe,10),c.rXU(Kn,8))}}static{this.\u0275dir=c.FsC({type:w,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(P,q){1&P&&c.bIt("submit",function(gt){return q.onSubmit(gt)})("reset",function(){return q.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c.Jv_([qo]),c.Vt3]})}}return w})();function Zi(w,D){const y=w.indexOf(D);y>-1&&w.splice(y,1)}function xi(w){return"object"==typeof w&&null!==w&&2===Object.keys(w).length&&"value"in w&&"disabled"in w}const mi=class extends Oi{constructor(D=null,y,P){super(xe(y),Et(P,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(D),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Mt(y)&&(y.nonNullable||y.initialValueIsDefault)&&(this.defaultValue=xi(D)?D.value:D)}setValue(D,y={}){this.value=this._pendingValue=D,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach(P=>P(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(D,y={}){this.setValue(D,y)}reset(D=this.defaultValue,y={}){this._applyFormState(D),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(D){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(D){this._onChange.push(D)}_unregisterOnChange(D){Zi(this._onChange,D)}registerOnDisabledChange(D){this._onDisabledChange.push(D)}_unregisterOnDisabledChange(D){Zi(this._onDisabledChange,D)}_forEachChild(D){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(D){xi(D)?(this.value=this._pendingValue=D.value,D.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=D}},Ri=mi,Z={provide:In,useExisting:(0,c.Rfq)(()=>Ce)},se=Promise.resolve();let Ce=(()=>{class w extends In{constructor(y,P,q,$e,gt,tn){super(),this._changeDetectorRef=gt,this.callSetDisabledState=tn,this.control=new mi,this._registered=!1,this.name="",this.update=new c.bkB,this._parent=y,this._setValidators(P),this._setAsyncValidators(q),this.valueAccessor=Gr(0,$e)}ngOnChanges(y){if(this._checkForErrors(),!this._registered||"name"in y){if(this._registered&&(this._checkName(),this.formDirective)){const P=y.name.previousValue;this.formDirective.removeControl({name:P,path:this._getPath(P)})}this._setUpControl()}"isDisabled"in y&&this._updateDisabled(y),ni(y,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(y){this.viewModel=y,this.update.emit(y)}_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(){jr(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(y){se.then(()=>{this.control.setValue(y,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(y){const P=y.isDisabled.currentValue,q=0!==P&&(0,c.L39)(P);se.then(()=>{q&&!this.control.disabled?this.control.disable():!q&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(y){return this._parent?lr(y,this._parent):[y]}static{this.\u0275fac=function(P){return new(P||w)(c.rXU(sn,9),c.rXU(je,10),c.rXU(qe,10),c.rXU(X,10),c.rXU(c.gRc,8),c.rXU(Kn,8))}}static{this.\u0275dir=c.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:[c.Jv_([Z]),c.Vt3,c.OA$]})}}return w})(),be=(()=>{class w{static{this.\u0275fac=function(P){return new(P||w)}}static{this.\u0275dir=c.FsC({type:w,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return w})();const Tt={provide:X,useExisting:(0,c.Rfq)(()=>Jt),multi:!0};let qt=(()=>{class w{constructor(){this._accessors=[]}add(y,P){this._accessors.push([y,P])}remove(y){for(let P=this._accessors.length-1;P>=0;--P)if(this._accessors[P][1]===y)return void this._accessors.splice(P,1)}select(y){this._accessors.forEach(P=>{this._isSameGroup(P,y)&&P[1]!==y&&P[1].fireUncheck(y.value)})}_isSameGroup(y,P){return!!y[0].control&&y[0]._parent===P._control._parent&&y[1].name===P.name}static{this.\u0275fac=function(P){return new(P||w)}}static{this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})(),Jt=(()=>{class w extends B{constructor(y,P,q,$e){super(y,P),this._registry=q,this._injector=$e,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,c.WQX)(Kn,{optional:!0})??cn}ngOnInit(){this._control=this._injector.get(In),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(y){this._state=y===this.value,this.setProperty("checked",this._state)}registerOnChange(y){this._fn=y,this.onChange=()=>{y(this.value),this._registry.select(this)}}setDisabledState(y){(this.setDisabledStateFired||y||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",y),this.setDisabledStateFired=!0}fireUncheck(y){this.writeValue(y)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static{this.\u0275fac=function(P){return new(P||w)(c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(qt),c.rXU(c.zZn))}}static{this.\u0275dir=c.FsC({type:w,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(P,q){1&P&&c.bIt("change",function(){return q.onChange()})("blur",function(){return q.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[c.Jv_([Tt]),c.Vt3]})}}return w})();const ut=new c.nKC(""),zr={provide:sn,useExisting:(0,c.Rfq)(()=>Ht)};let Ht=(()=>{class w extends sn{get submitted(){return(0,c.O8t)(this._submittedReactive)}set submitted(y){this._submittedReactive.set(y)}constructor(y,P,q){super(),this.callSetDisabledState=q,this._submitted=(0,c.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,c.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new c.bkB,this._setValidators(y),this._setAsyncValidators(P)}ngOnChanges(y){this._checkFormPresent(),y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Pi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(y){const P=this.form.get(y.path);return jr(P,y,this.callSetDisabledState),P.updateValueAndValidity({emitEvent:!1}),this.directives.push(y),P}getControl(y){return this.form.get(y.path)}removeControl(y){$r(y.control||null,y,!1),function Ni(w,D){const y=w.indexOf(D);y>-1&&w.splice(y,1)}(this.directives,y)}addFormGroup(y){this._setUpFormContainer(y)}removeFormGroup(y){this._cleanUpFormContainer(y)}getFormGroup(y){return this.form.get(y.path)}addFormArray(y){this._setUpFormContainer(y)}removeFormArray(y){this._cleanUpFormContainer(y)}getFormArray(y){return this.form.get(y.path)}updateModel(y,P){this.form.get(y.path).setValue(P)}onSubmit(y){return this._submittedReactive.set(!0),mo(this.form,this.directives),this.ngSubmit.emit(y),this.form._events.next(new Y(this.control)),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y=void 0){this.form.reset(y),this._submittedReactive.set(!1),this.form._events.next(new de(this.form))}_updateDomValue(){this.directives.forEach(y=>{const P=y.control,q=this.form.get(y.path);P!==q&&($r(P||null,y),(w=>w instanceof mi)(q)&&(jr(q,y,this.callSetDisabledState),y.control=q))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(y){const P=this.form.get(y.path);hn(P,y),P.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(y){if(this.form){const P=this.form.get(y.path);P&&function ti(w,D){return Pi(w,D)}(P,y)&&P.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ei(this.form,this),this._oldForm&&Pi(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(P){return new(P||w)(c.rXU(je,10),c.rXU(qe,10),c.rXU(Kn,8))}}static{this.\u0275dir=c.FsC({type:w,selectors:[["","formGroup",""]],hostBindings:function(P,q){1&P&&c.bIt("submit",function(gt){return q.onSubmit(gt)})("reset",function(){return q.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c.Jv_([zr]),c.Vt3,c.OA$]})}}return w})();const Ko={provide:In,useExisting:(0,c.Rfq)(()=>ki)};let ki=(()=>{class w extends In{set isDisabled(y){}static{this._ngModelWarningSentOnce=!1}constructor(y,P,q,$e,gt){super(),this._ngModelWarningConfig=gt,this._added=!1,this.name=null,this.update=new c.bkB,this._ngModelWarningSent=!1,this._parent=y,this._setValidators(P),this._setAsyncValidators(q),this.valueAccessor=Gr(0,$e)}ngOnChanges(y){this._added||this._setUpControl(),ni(y,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}get path(){return lr(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(P){return new(P||w)(c.rXU(sn,13),c.rXU(je,10),c.rXU(qe,10),c.rXU(X,10),c.rXU(ut,8))}}static{this.\u0275dir=c.FsC({type:w,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[c.Jv_([Ko]),c.Vt3,c.OA$]})}}return w})(),Xo=(()=>{class w{static{this.\u0275fac=function(P){return new(P||w)}}static{this.\u0275mod=c.$C({type:w})}static{this.\u0275inj=c.G2t({})}}return w})(),Vr=(()=>{class w{static withConfig(y){return{ngModule:w,providers:[{provide:Kn,useValue:y.callSetDisabledState??cn}]}}static{this.\u0275fac=function(P){return new(P||w)}}static{this.\u0275mod=c.$C({type:w})}static{this.\u0275inj=c.G2t({imports:[Xo]})}}return w})(),Zo=(()=>{class w{static withConfig(y){return{ngModule:w,providers:[{provide:ut,useValue:y.warnOnNgModelWithFormControl??"always"},{provide:Kn,useValue:y.callSetDisabledState??cn}]}}static{this.\u0275fac=function(P){return new(P||w)}}static{this.\u0275mod=c.$C({type:w})}static{this.\u0275inj=c.G2t({imports:[Xo]})}}return w})()},345:(oe,j,O)=>{"use strict";O.d(j,{B7:()=>He,Bb:()=>$n,hE:()=>Hn,sG:()=>Bn});var c=O(177),I=O(3953);class H extends c.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class R extends H{static makeCurrent(){(0,c.ZD)(new R)}onAndCancel(ne,V,Y){return ne.addEventListener(V,Y),()=>{ne.removeEventListener(V,Y)}}dispatchEvent(ne,V){ne.dispatchEvent(V)}remove(ne){ne.remove()}createElement(ne,V){return(V=V||this.getDefaultDocument()).createElement(ne)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ne){return ne.nodeType===Node.ELEMENT_NODE}isShadowRoot(ne){return ne instanceof DocumentFragment}getGlobalEventTarget(ne,V){return"window"===V?window:"document"===V?ne:"body"===V?ne.body:null}getBaseHref(ne){const V=function U(){return x=x||document.querySelector("base"),x?x.getAttribute("href"):null}();return null==V?null:function z(ie){return new URL(ie,document.baseURI).pathname}(V)}resetBaseElement(){x=null}getUserAgent(){return window.navigator.userAgent}getCookie(ne){return(0,c._b)(document.cookie,ne)}}let x=null,X=(()=>{class ie{build(){return new XMLHttpRequest}static{this.\u0275fac=function(Y){return new(Y||ie)}}static{this.\u0275prov=I.jDH({token:ie,factory:ie.\u0275fac})}}return ie})();const K=new I.nKC("");let W=(()=>{class ie{constructor(V,Y){this._zone=Y,this._eventNameToPlugin=new Map,V.forEach(de=>{de.manager=this}),this._plugins=V.slice().reverse()}addEventListener(V,Y,de){return this._findPluginFor(Y).addEventListener(V,Y,de)}getZone(){return this._zone}_findPluginFor(V){let Y=this._eventNameToPlugin.get(V);if(Y)return Y;if(Y=this._plugins.find(xe=>xe.supports(V)),!Y)throw new I.wOt(5101,!1);return this._eventNameToPlugin.set(V,Y),Y}static{this.\u0275fac=function(Y){return new(Y||ie)(I.KVO(K),I.KVO(I.SKi))}}static{this.\u0275prov=I.jDH({token:ie,factory:ie.\u0275fac})}}return ie})();class me{constructor(ne){this._doc=ne}}const Ee="ng-app-id";let _e=(()=>{class ie{constructor(V,Y,de,xe={}){this.doc=V,this.appId=Y,this.nonce=de,this.platformId=xe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,c.Vy)(xe),this.resetHostNodes()}addStyles(V){for(const Y of V)1===this.changeUsageCount(Y,1)&&this.onStyleAdded(Y)}removeStyles(V){for(const Y of V)this.changeUsageCount(Y,-1)<=0&&this.onStyleRemoved(Y)}ngOnDestroy(){const V=this.styleNodesInDOM;V&&(V.forEach(Y=>Y.remove()),V.clear());for(const Y of this.getAllStyles())this.onStyleRemoved(Y);this.resetHostNodes()}addHost(V){this.hostNodes.add(V);for(const Y of this.getAllStyles())this.addStyleToHost(V,Y)}removeHost(V){this.hostNodes.delete(V)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(V){for(const Y of this.hostNodes)this.addStyleToHost(Y,V)}onStyleRemoved(V){const Y=this.styleRef;Y.get(V)?.elements?.forEach(de=>de.remove()),Y.delete(V)}collectServerRenderedStyles(){const V=this.doc.head?.querySelectorAll(`style[${Ee}="${this.appId}"]`);if(V?.length){const Y=new Map;return V.forEach(de=>{null!=de.textContent&&Y.set(de.textContent,de)}),Y}return null}changeUsageCount(V,Y){const de=this.styleRef;if(de.has(V)){const xe=de.get(V);return xe.usage+=Y,xe.usage}return de.set(V,{usage:Y,elements:[]}),Y}getStyleElement(V,Y){const de=this.styleNodesInDOM,xe=de?.get(Y);if(xe?.parentNode===V)return de.delete(Y),xe.removeAttribute(Ee),xe;{const ot=this.doc.createElement("style");return this.nonce&&ot.setAttribute("nonce",this.nonce),ot.textContent=Y,this.platformIsServer&&ot.setAttribute(Ee,this.appId),V.appendChild(ot),ot}}addStyleToHost(V,Y){const de=this.getStyleElement(V,Y),xe=this.styleRef,ot=xe.get(Y)?.elements;ot?ot.push(de):xe.set(Y,{elements:[de],usage:1})}resetHostNodes(){const V=this.hostNodes;V.clear(),V.add(this.doc.head)}static{this.\u0275fac=function(Y){return new(Y||ie)(I.KVO(c.qQ),I.KVO(I.sZ2),I.KVO(I.BIS,8),I.KVO(I.Agw))}}static{this.\u0275prov=I.jDH({token:ie,factory:ie.\u0275fac})}}return ie})();const Me={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"},Re=/%COMP%/g,wt=new I.nKC("",{providedIn:"root",factory:()=>!0});function Vt(ie,ne){return ne.map(V=>V.replace(Re,ie))}let He=(()=>{class ie{constructor(V,Y,de,xe,ot,Et,At,Mt=null){this.eventManager=V,this.sharedStylesHost=Y,this.appId=de,this.removeStylesOnCompDestroy=xe,this.doc=ot,this.platformId=Et,this.ngZone=At,this.nonce=Mt,this.rendererByCompId=new Map,this.platformIsServer=(0,c.Vy)(Et),this.defaultRenderer=new te(V,ot,At,this.platformIsServer)}createRenderer(V,Y){if(!V||!Y)return this.defaultRenderer;this.platformIsServer&&Y.encapsulation===I.gXe.ShadowDom&&(Y={...Y,encapsulation:I.gXe.Emulated});const de=this.getOrCreateRenderer(V,Y);return de instanceof Oe?de.applyToHost(V):de instanceof ue&&de.applyStyles(),de}getOrCreateRenderer(V,Y){const de=this.rendererByCompId;let xe=de.get(Y.id);if(!xe){const ot=this.doc,Et=this.ngZone,At=this.eventManager,Mt=this.sharedStylesHost,_n=this.removeStylesOnCompDestroy,An=this.platformIsServer;switch(Y.encapsulation){case I.gXe.Emulated:xe=new Oe(At,Mt,Y,this.appId,_n,ot,Et,An);break;case I.gXe.ShadowDom:return new le(At,Mt,V,Y,ot,Et,this.nonce,An);default:xe=new ue(At,Mt,Y,_n,ot,Et,An)}de.set(Y.id,xe)}return xe}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(Y){return new(Y||ie)(I.KVO(W),I.KVO(_e),I.KVO(I.sZ2),I.KVO(wt),I.KVO(c.qQ),I.KVO(I.Agw),I.KVO(I.SKi),I.KVO(I.BIS))}}static{this.\u0275prov=I.jDH({token:ie,factory:ie.\u0275fac})}}return ie})();class te{constructor(ne,V,Y,de){this.eventManager=ne,this.doc=V,this.ngZone=Y,this.platformIsServer=de,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ne,V){return V?this.doc.createElementNS(Me[V]||V,ne):this.doc.createElement(ne)}createComment(ne){return this.doc.createComment(ne)}createText(ne){return this.doc.createTextNode(ne)}appendChild(ne,V){(ae(ne)?ne.content:ne).appendChild(V)}insertBefore(ne,V,Y){ne&&(ae(ne)?ne.content:ne).insertBefore(V,Y)}removeChild(ne,V){V.remove()}selectRootElement(ne,V){let Y="string"==typeof ne?this.doc.querySelector(ne):ne;if(!Y)throw new I.wOt(-5104,!1);return V||(Y.textContent=""),Y}parentNode(ne){return ne.parentNode}nextSibling(ne){return ne.nextSibling}setAttribute(ne,V,Y,de){if(de){V=de+":"+V;const xe=Me[de];xe?ne.setAttributeNS(xe,V,Y):ne.setAttribute(V,Y)}else ne.setAttribute(V,Y)}removeAttribute(ne,V,Y){if(Y){const de=Me[Y];de?ne.removeAttributeNS(de,V):ne.removeAttribute(`${Y}:${V}`)}else ne.removeAttribute(V)}addClass(ne,V){ne.classList.add(V)}removeClass(ne,V){ne.classList.remove(V)}setStyle(ne,V,Y,de){de&(I.czy.DashCase|I.czy.Important)?ne.style.setProperty(V,Y,de&I.czy.Important?"important":""):ne.style[V]=Y}removeStyle(ne,V,Y){Y&I.czy.DashCase?ne.style.removeProperty(V):ne.style[V]=""}setProperty(ne,V,Y){null!=ne&&(ne[V]=Y)}setValue(ne,V){ne.nodeValue=V}listen(ne,V,Y){if("string"==typeof ne&&!(ne=(0,c.QT)().getGlobalEventTarget(this.doc,ne)))throw new Error(`Unsupported event target ${ne} for event ${V}`);return this.eventManager.addEventListener(ne,V,this.decoratePreventDefault(Y))}decoratePreventDefault(ne){return V=>{if("__ngUnwrap__"===V)return ne;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ne(V)):ne(V))&&V.preventDefault()}}}function ae(ie){return"TEMPLATE"===ie.tagName&&void 0!==ie.content}class le extends te{constructor(ne,V,Y,de,xe,ot,Et,At){super(ne,xe,ot,At),this.sharedStylesHost=V,this.hostEl=Y,this.shadowRoot=Y.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mt=Vt(de.id,de.styles);for(const _n of Mt){const An=document.createElement("style");Et&&An.setAttribute("nonce",Et),An.textContent=_n,this.shadowRoot.appendChild(An)}}nodeOrShadowRoot(ne){return ne===this.hostEl?this.shadowRoot:ne}appendChild(ne,V){return super.appendChild(this.nodeOrShadowRoot(ne),V)}insertBefore(ne,V,Y){return super.insertBefore(this.nodeOrShadowRoot(ne),V,Y)}removeChild(ne,V){return super.removeChild(null,V)}parentNode(ne){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ne)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ue extends te{constructor(ne,V,Y,de,xe,ot,Et,At){super(ne,xe,ot,Et),this.sharedStylesHost=V,this.removeStylesOnCompDestroy=de,this.styles=At?Vt(At,Y.styles):Y.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Oe extends ue{constructor(ne,V,Y,de,xe,ot,Et,At){const Mt=de+"-"+Y.id;super(ne,V,Y,xe,ot,Et,At,Mt),this.contentAttr=function ct(ie){return"_ngcontent-%COMP%".replace(Re,ie)}(Mt),this.hostAttr=function st(ie){return"_nghost-%COMP%".replace(Re,ie)}(Mt)}applyToHost(ne){this.applyStyles(),this.setAttribute(ne,this.hostAttr,"")}createElement(ne,V){const Y=super.createElement(ne,V);return super.setAttribute(Y,this.contentAttr,""),Y}}let et=(()=>{class ie extends me{constructor(V){super(V)}supports(V){return!0}addEventListener(V,Y,de){return V.addEventListener(Y,de,!1),()=>this.removeEventListener(V,Y,de)}removeEventListener(V,Y,de){return V.removeEventListener(Y,de)}static{this.\u0275fac=function(Y){return new(Y||ie)(I.KVO(c.qQ))}}static{this.\u0275prov=I.jDH({token:ie,factory:ie.\u0275fac})}}return ie})(),Ye=(()=>{class ie extends me{constructor(V){super(V),this.delegate=(0,I.WQX)(I.zAP,{optional:!0})}supports(V){return!!this.delegate&&this.delegate.supports(V)}addEventListener(V,Y,de){return this.delegate.addEventListener(V,Y,de)}removeEventListener(V,Y,de){return this.delegate.removeEventListener(V,Y,de)}static{this.\u0275fac=function(Y){return new(Y||ie)(I.KVO(c.qQ))}}static{this.\u0275prov=I.jDH({token:ie,factory:ie.\u0275fac})}}return ie})();const rt=["alt","control","meta","shift"],St={"\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"},Ve={alt:ie=>ie.altKey,control:ie=>ie.ctrlKey,meta:ie=>ie.metaKey,shift:ie=>ie.shiftKey};let Rt=(()=>{class ie extends me{constructor(V){super(V)}supports(V){return null!=ie.parseEventName(V)}addEventListener(V,Y,de){const xe=ie.parseEventName(Y),ot=ie.eventCallback(xe.fullKey,de,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.QT)().onAndCancel(V,xe.domEventName,ot))}static parseEventName(V){const Y=V.toLowerCase().split("."),de=Y.shift();if(0===Y.length||"keydown"!==de&&"keyup"!==de)return null;const xe=ie._normalizeKey(Y.pop());let ot="",Et=Y.indexOf("code");if(Et>-1&&(Y.splice(Et,1),ot="code."),rt.forEach(Mt=>{const _n=Y.indexOf(Mt);_n>-1&&(Y.splice(_n,1),ot+=Mt+".")}),ot+=xe,0!=Y.length||0===xe.length)return null;const At={};return At.domEventName=de,At.fullKey=ot,At}static matchEventFullKeyCode(V,Y){let de=St[V.key]||V.key,xe="";return Y.indexOf("code.")>-1&&(de=V.code,xe="code."),!(null==de||!de)&&(de=de.toLowerCase()," "===de?de="space":"."===de&&(de="dot"),rt.forEach(ot=>{ot!==de&&(0,Ve[ot])(V)&&(xe+=ot+".")}),xe+=de,xe===Y)}static eventCallback(V,Y,de){return xe=>{ie.matchEventFullKeyCode(xe,V)&&de.runGuarded(()=>Y(xe))}}static _normalizeKey(V){return"esc"===V?"escape":V}static{this.\u0275fac=function(Y){return new(Y||ie)(I.KVO(c.qQ))}}static{this.\u0275prov=I.jDH({token:ie,factory:ie.\u0275fac})}}return ie})();const Bn=(0,I.oH4)(I.fpN,"browser",[{provide:I.Agw,useValue:c.AJ},{provide:I.PLl,useValue:function Xt(){R.makeCurrent()},multi:!0},{provide:c.qQ,useFactory:function Un(){return(0,I.TL$)(document),document},deps:[]}]),Ki=new I.nKC(""),sn=[{provide:I.e01,useClass:class B{addToWindow(ne){I.JZv.getAngularTestability=(Y,de=!0)=>{const xe=ne.findTestabilityInTree(Y,de);if(null==xe)throw new I.wOt(5103,!1);return xe},I.JZv.getAllAngularTestabilities=()=>ne.getAllTestabilities(),I.JZv.getAllAngularRootElements=()=>ne.getAllRootElements(),I.JZv.frameworkStabilizers||(I.JZv.frameworkStabilizers=[]),I.JZv.frameworkStabilizers.push(Y=>{const de=I.JZv.getAllAngularTestabilities();let xe=de.length;const ot=function(){xe--,0==xe&&Y()};de.forEach(Et=>{Et.whenStable(ot)})})}findTestabilityInTree(ne,V,Y){return null==V?null:ne.getTestability(V)??(Y?(0,c.QT)().isShadowRoot(V)?this.findTestabilityInTree(ne,V.host,!0):this.findTestabilityInTree(ne,V.parentElement,!0):null)}},deps:[]},{provide:I.WHO,useClass:I.NYb,deps:[I.SKi,I.giA,I.e01]},{provide:I.NYb,useClass:I.NYb,deps:[I.SKi,I.giA,I.e01]}],In=[{provide:I.H8p,useValue:"root"},{provide:I.zcH,useFactory:function bn(){return new I.zcH},deps:[]},{provide:K,useClass:et,multi:!0,deps:[c.qQ,I.SKi,I.Agw]},{provide:K,useClass:Rt,multi:!0,deps:[c.qQ]},{provide:K,useClass:Ye,multi:!0},He,_e,W,{provide:I._9s,useExisting:He},{provide:c.N0,useClass:X,deps:[]},[]];let $n=(()=>{class ie{constructor(V){}static withServerTransition(V){return{ngModule:ie,providers:[{provide:I.sZ2,useValue:V.appId}]}}static{this.\u0275fac=function(Y){return new(Y||ie)(I.KVO(Ki,12))}}static{this.\u0275mod=I.$C({type:ie})}static{this.\u0275inj=I.G2t({providers:[...In,...sn],imports:[c.MD,I.Hbi]})}}return ie})(),Hn=(()=>{class ie{constructor(V){this._doc=V}getTitle(){return this._doc.title}setTitle(V){this._doc.title=V||""}static{this.\u0275fac=function(Y){return new(Y||ie)(I.KVO(c.qQ))}}static{this.\u0275prov=I.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}}return ie})()},7901:(oe,j,O)=>{"use strict";O.d(j,{Ix:()=>It,Wk:()=>ve,Z:()=>ti,iI:()=>pa,n3:()=>ur,nX:()=>en,wF:()=>Sn});var c=O(3953),I=O(4402),H=O(6648),R=O(7673),x=O(4412),U=O(4572),z=O(9350),B=O(8793),X=O(9030),K=O(1203),W=O(8810),me=O(983),Ee=O(17),_e=O(1413),Me=O(8359),Re=O(177),Ae=O(6354),je=O(5558),qe=O(6697),ft=O(9172),wt=O(5964),ct=O(1397),st=O(1594),Vt=O(274),He=O(8141),te=O(9437),ye=O(2816),Xe=O(9901),ae=O(7018),le=O(5109),ue=O(3703),Oe=O(980),et=O(9898),Ye=O(6977),rt=O(6365),St=O(345);const Ve="primary",Rt=Symbol("RouteTitle");class ln{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const o=this.params[l];return Array.isArray(o)?o[0]:o}return null}getAll(l){if(this.has(l)){const o=this.params[l];return Array.isArray(o)?o:[o]}return[]}get keys(){return Object.keys(this.params)}}function Ut(p){return new ln(p)}function Pt(p,l,o){const s=o.path.split("/");if(s.length>p.length||"full"===o.pathMatch&&(l.hasChildren()||s.length<p.length))return null;const d={};for(let f=0;f<s.length;f++){const v=s[f],T=p[f];if(":"===v[0])d[v.substring(1)]=T;else if(v!==T.path)return null}return{consumed:p.slice(0,s.length),posParams:d}}function Xt(p,l){const o=p?bn(p):void 0,s=l?bn(l):void 0;if(!o||!s||o.length!=s.length)return!1;let d;for(let f=0;f<o.length;f++)if(d=o[f],!Un(p[d],l[d]))return!1;return!0}function bn(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}function Un(p,l){if(Array.isArray(p)&&Array.isArray(l)){if(p.length!==l.length)return!1;const o=[...p].sort(),s=[...l].sort();return o.every((d,f)=>s[f]===d)}return p===l}function ir(p){return p.length>0?p[p.length-1]:null}function Bn(p){return(0,I.A)(p)?p:(0,c.jNT)(p)?(0,H.H)(Promise.resolve(p)):(0,R.of)(p)}const Ki={exact:function On(p,l,o){if(!it(p.segments,l.segments)||!Zt(p.segments,l.segments,o)||p.numberOfChildren!==l.numberOfChildren)return!1;for(const s in l.children)if(!p.children[s]||!On(p.children[s],l.children[s],o))return!1;return!0},subset:Hn},sn={exact:function $n(p,l){return Xt(p,l)},subset:function mr(p,l){return Object.keys(l).length<=Object.keys(p).length&&Object.keys(l).every(o=>Un(p[o],l[o]))},ignored:()=>!0};function In(p,l,o){return Ki[o.paths](p.root,l.root,o.matrixParams)&&sn[o.queryParams](p.queryParams,l.queryParams)&&!("exact"===o.fragment&&p.fragment!==l.fragment)}function Hn(p,l,o){return or(p,l,l.segments,o)}function or(p,l,o,s){if(p.segments.length>o.length){const d=p.segments.slice(0,o.length);return!(!it(d,o)||l.hasChildren()||!Zt(d,o,s))}if(p.segments.length===o.length){if(!it(p.segments,o)||!Zt(p.segments,o,s))return!1;for(const d in l.children)if(!p.children[d]||!Hn(p.children[d],l.children[d],s))return!1;return!0}{const d=o.slice(0,p.segments.length),f=o.slice(p.segments.length);return!!(it(p.segments,d)&&Zt(p.segments,d,s)&&p.children[Ve])&&or(p.children[Ve],l,f,s)}}function Zt(p,l,o){return l.every((s,d)=>sn[o](p[d].parameters,s.parameters))}class Pn{constructor(l=new _t([],{}),o={},s=null){this.root=l,this.queryParams=o,this.fragment=s}get queryParamMap(){return this._queryParamMap??=Ut(this.queryParams),this._queryParamMap}toString(){return vr.serialize(this)}}class _t{constructor(l,o){this.segments=l,this.children=o,this.parent=null,Object.values(o).forEach(s=>s.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return _r(this)}}class qn{constructor(l,o){this.path=l,this.parameters=o}get parameterMap(){return this._parameterMap??=Ut(this.parameters),this._parameterMap}toString(){return sr(this)}}function it(p,l){return p.length===l.length&&p.every((o,s)=>o.path===l[s].path)}let Ii=(()=>{class p{static{this.\u0275fac=function(s){return new(s||p)}}static{this.\u0275prov=c.jDH({token:p,factory:()=>new pi,providedIn:"root"})}}return p})();class pi{parse(l){const o=new xe(l);return new Pn(o.parseRootSegment(),o.parseQueryParams(),o.parseFragment())}serialize(l){const o=`/${vn(l.root,!0)}`,s=function Cr(p){const l=Object.entries(p).map(([o,s])=>Array.isArray(s)?s.map(d=>`${$t(o)}=${$t(d)}`).join("&"):`${$t(o)}=${$t(s)}`).filter(o=>o);return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${o}${s}${"string"==typeof l.fragment?`#${function Qi(p){return encodeURI(p)}(l.fragment)}`:""}`}}const vr=new pi;function _r(p){return p.segments.map(l=>sr(l)).join("/")}function vn(p,l){if(!p.hasChildren())return _r(p);if(l){const o=p.children[Ve]?vn(p.children[Ve],!1):"",s=[];return Object.entries(p.children).forEach(([d,f])=>{d!==Ve&&s.push(`${d}:${vn(f,!1)}`)}),s.length>0?`${o}(${s.join("//")})`:o}{const o=function De(p,l){let o=[];return Object.entries(p.children).forEach(([s,d])=>{s===Ve&&(o=o.concat(l(d,s)))}),Object.entries(p.children).forEach(([s,d])=>{s!==Ve&&(o=o.concat(l(d,s)))}),o}(p,(s,d)=>d===Ve?[vn(p.children[Ve],!1)]:[`${d}:${vn(s,!1)}`]);return 1===Object.keys(p.children).length&&null!=p.children[Ve]?`${_r(p)}/${o[0]}`:`${_r(p)}/(${o.join("//")})`}}function po(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $t(p){return po(p).replace(/%3B/gi,";")}function yt(p){return po(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(p){return decodeURIComponent(p)}function gi(p){return Ft(p.replace(/\+/g,"%20"))}function sr(p){return`${yt(p.path)}${function Ar(p){return Object.entries(p).map(([l,o])=>`;${yt(l)}=${yt(o)}`).join("")}(p.parameters)}`}const ar=/^[^\/()?;#]+/;function mn(p){const l=p.match(ar);return l?l[0]:""}const Gn=/^[^\/()?;=#]+/,ne=/^[^=?&#]+/,Y=/^[^&#]+/;class xe{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _t([],{}):new _t([],this.parseChildren())}parseQueryParams(){const l={};if(this.consumeOptional("?"))do{this.parseQueryParam(l)}while(this.consumeOptional("&"));return l}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const l=[];for(this.peekStartsWith("(")||l.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),l.push(this.parseSegment());let o={};this.peekStartsWith("/(")&&(this.capture("/"),o=this.parseParens(!0));let s={};return this.peekStartsWith("(")&&(s=this.parseParens(!1)),(l.length>0||Object.keys(o).length>0)&&(s[Ve]=new _t(l,o)),s}parseSegment(){const l=mn(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new c.wOt(4009,!1);return this.capture(l),new qn(Ft(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const o=function ie(p){const l=p.match(Gn);return l?l[0]:""}(this.remaining);if(!o)return;this.capture(o);let s="";if(this.consumeOptional("=")){const d=mn(this.remaining);d&&(s=d,this.capture(s))}l[Ft(o)]=Ft(s)}parseQueryParam(l){const o=function V(p){const l=p.match(ne);return l?l[0]:""}(this.remaining);if(!o)return;this.capture(o);let s="";if(this.consumeOptional("=")){const v=function de(p){const l=p.match(Y);return l?l[0]:""}(this.remaining);v&&(s=v,this.capture(s))}const d=gi(o),f=gi(s);if(l.hasOwnProperty(d)){let v=l[d];Array.isArray(v)||(v=[v],l[d]=v),v.push(f)}else l[d]=f}parseParens(l){const o={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const s=mn(this.remaining),d=this.remaining[s.length];if("/"!==d&&")"!==d&&";"!==d)throw new c.wOt(4010,!1);let f;s.indexOf(":")>-1?(f=s.slice(0,s.indexOf(":")),this.capture(f),this.capture(":")):l&&(f=Ve);const v=this.parseChildren();o[f]=1===Object.keys(v).length?v[Ve]:new _t([],v),this.consumeOptional("//")}return o}peekStartsWith(l){return this.remaining.startsWith(l)}consumeOptional(l){return!!this.peekStartsWith(l)&&(this.remaining=this.remaining.substring(l.length),!0)}capture(l){if(!this.consumeOptional(l))throw new c.wOt(4011,!1)}}function ot(p){return p.segments.length>0?new _t([],{[Ve]:p}):p}function Et(p){const l={};for(const[s,d]of Object.entries(p.children)){const f=Et(d);if(s===Ve&&0===f.segments.length&&f.hasChildren())for(const[v,T]of Object.entries(f.children))l[v]=T;else(f.segments.length>0||f.hasChildren())&&(l[s]=f)}return function At(p){if(1===p.numberOfChildren&&p.children[Ve]){const l=p.children[Ve];return new _t(p.segments.concat(l.segments),l.children)}return p}(new _t(p.segments,l))}function Mt(p){return p instanceof Pn}function An(p){let l;const d=ot(function o(f){const v={};for(const S of f.children){const G=o(S);v[S.outlet]=G}const T=new _t(f.url,v);return f===p&&(l=T),T}(p.root));return l??d}function Oi(p,l,o,s){let d=p;for(;d.parent;)d=d.parent;if(0===l.length)return Xi(d,d,d,o,s);const f=function To(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new Yi(!0,0,p);let l=0,o=!1;const s=p.reduce((d,f,v)=>{if("object"==typeof f&&null!=f){if(f.outlets){const T={};return Object.entries(f.outlets).forEach(([S,G])=>{T[S]="string"==typeof G?G.split("/"):G}),[...d,{outlets:T}]}if(f.segmentPath)return[...d,f.segmentPath]}return"string"!=typeof f?[...d,f]:0===v?(f.split("/").forEach((T,S)=>{0==S&&"."===T||(0==S&&""===T?o=!0:".."===T?l++:""!=T&&d.push(T))}),d):[...d,f]},[]);return new Yi(o,l,s)}(l);if(f.toRoot())return Xi(d,d,new _t([],{}),o,s);const v=function cn(p,l,o){if(p.isAbsolute)return new Kn(l,!0,0);if(!o)return new Kn(l,!1,NaN);if(null===o.parent)return new Kn(o,!0,0);const s=Br(p.commands[0])?0:1;return function lr(p,l,o){let s=p,d=l,f=o;for(;f>d;){if(f-=d,s=s.parent,!s)throw new c.wOt(4005,!1);d=s.segments.length}return new Kn(s,!1,d-f)}(o,o.segments.length-1+s,p.numberOfDoubleDots)}(f,d,p),T=v.processChildren?cr(v.segmentGroup,v.index,f.commands):$r(v.segmentGroup,v.index,f.commands);return Xi(d,v.segmentGroup,T,o,s)}function Br(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function wr(p){return"object"==typeof p&&null!=p&&p.outlets}function Xi(p,l,o,s,d){let v,f={};s&&Object.entries(s).forEach(([S,G])=>{f[S]=Array.isArray(G)?G.map(J=>`${J}`):`${G}`}),v=p===l?o:So(p,l,o);const T=ot(Et(v));return new Pn(T,f,d)}function So(p,l,o){const s={};return Object.entries(p.children).forEach(([d,f])=>{s[d]=f===l?o:So(f,l,o)}),new _t(p.segments,s)}class Yi{constructor(l,o,s){if(this.isAbsolute=l,this.numberOfDoubleDots=o,this.commands=s,l&&s.length>0&&Br(s[0]))throw new c.wOt(4003,!1);const d=s.find(wr);if(d&&d!==ir(s))throw new c.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Kn{constructor(l,o,s){this.segmentGroup=l,this.processChildren=o,this.index=s}}function $r(p,l,o){if(p??=new _t([],{}),0===p.segments.length&&p.hasChildren())return cr(p,l,o);const s=function go(p,l,o){let s=0,d=l;const f={match:!1,pathIndex:0,commandIndex:0};for(;d<p.segments.length;){if(s>=o.length)return f;const v=p.segments[d],T=o[s];if(wr(T))break;const S=`${T}`,G=s<o.length-1?o[s+1]:null;if(d>0&&void 0===S)break;if(S&&G&&"object"==typeof G&&void 0===G.outlets){if(!Io(S,G,v))return f;s+=2}else{if(!Io(S,{},v))return f;s++}d++}return{match:!0,pathIndex:d,commandIndex:s}}(p,l,o),d=o.slice(s.commandIndex);if(s.match&&s.pathIndex<p.segments.length){const f=new _t(p.segments.slice(0,s.pathIndex),{});return f.children[Ve]=new _t(p.segments.slice(s.pathIndex),p.children),cr(f,0,d)}return s.match&&0===d.length?new _t(p.segments,{}):s.match&&!p.hasChildren()?ei(p,l,o):s.match?cr(p,0,d):ei(p,l,o)}function cr(p,l,o){if(0===o.length)return new _t(p.segments,{});{const s=function jr(p){return wr(p[0])?p[0].outlets:{[Ve]:p}}(o),d={};if(Object.keys(s).some(f=>f!==Ve)&&p.children[Ve]&&1===p.numberOfChildren&&0===p.children[Ve].segments.length){const f=cr(p.children[Ve],l,o);return new _t(p.segments,f.children)}return Object.entries(s).forEach(([f,v])=>{"string"==typeof v&&(v=[v]),null!==v&&(d[f]=$r(p.children[f],l,v))}),Object.entries(p.children).forEach(([f,v])=>{void 0===s[f]&&(d[f]=v)}),new _t(p.segments,d)}}function ei(p,l,o){const s=p.segments.slice(0,l);let d=0;for(;d<o.length;){const f=o[d];if(wr(f)){const S=Pi(f.outlets);return new _t(s,S)}if(0===d&&Br(o[0])){s.push(new qn(p.segments[l].path,Wo(o[0]))),d++;continue}const v=wr(f)?f.outlets[Ve]:`${f}`,T=d<o.length-1?o[d+1]:null;v&&T&&Br(T)?(s.push(new qn(v,Wo(T))),d+=2):(s.push(new qn(v,{})),d++)}return new _t(s,{})}function Pi(p){const l={};return Object.entries(p).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(l[o]=ei(new _t([],{}),0,s))}),l}function Wo(p){const l={};return Object.entries(p).forEach(([o,s])=>l[o]=`${s}`),l}function Io(p,l,o){return p==o.path&&Xt(l,o.parameters)}const Nr="imperative";var pt=function(p){return p[p.NavigationStart=0]="NavigationStart",p[p.NavigationEnd=1]="NavigationEnd",p[p.NavigationCancel=2]="NavigationCancel",p[p.NavigationError=3]="NavigationError",p[p.RoutesRecognized=4]="RoutesRecognized",p[p.ResolveStart=5]="ResolveStart",p[p.ResolveEnd=6]="ResolveEnd",p[p.GuardsCheckStart=7]="GuardsCheckStart",p[p.GuardsCheckEnd=8]="GuardsCheckEnd",p[p.RouteConfigLoadStart=9]="RouteConfigLoadStart",p[p.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",p[p.ChildActivationStart=11]="ChildActivationStart",p[p.ChildActivationEnd=12]="ChildActivationEnd",p[p.ActivationStart=13]="ActivationStart",p[p.ActivationEnd=14]="ActivationEnd",p[p.Scroll=15]="Scroll",p[p.NavigationSkipped=16]="NavigationSkipped",p}(pt||{});class hn{constructor(l,o){this.id=l,this.url=o}}class ti extends hn{constructor(l,o,s="imperative",d=null){super(l,o),this.type=pt.NavigationStart,this.navigationTrigger=s,this.restoredState=d}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Sn extends hn{constructor(l,o,s){super(l,o),this.urlAfterRedirects=s,this.type=pt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var yn=function(p){return p[p.Redirect=0]="Redirect",p[p.SupersededByNewNavigation=1]="SupersededByNewNavigation",p[p.NoDataFromResolver=2]="NoDataFromResolver",p[p.GuardRejected=3]="GuardRejected",p}(yn||{}),xr=function(p){return p[p.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",p[p.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",p}(xr||{});class Er extends hn{constructor(l,o,s,d){super(l,o),this.reason=s,this.code=d,this.type=pt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Hr extends hn{constructor(l,o,s,d){super(l,o),this.reason=s,this.code=d,this.type=pt.NavigationSkipped}}class ni extends hn{constructor(l,o,s,d){super(l,o),this.error=s,this.target=d,this.type=pt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ai extends hn{constructor(l,o,s,d){super(l,o),this.urlAfterRedirects=s,this.state=d,this.type=pt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mo extends hn{constructor(l,o,s,d){super(l,o),this.urlAfterRedirects=s,this.state=d,this.type=pt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gr extends hn{constructor(l,o,s,d,f){super(l,o),this.urlAfterRedirects=s,this.state=d,this.shouldActivate=f,this.type=pt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ni extends hn{constructor(l,o,s,d){super(l,o),this.urlAfterRedirects=s,this.state=d,this.type=pt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qn extends hn{constructor(l,o,s,d){super(l,o),this.urlAfterRedirects=s,this.state=d,this.type=pt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qo{constructor(l){this.route=l,this.type=pt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Rr{constructor(l){this.route=l,this.type=pt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Dr{constructor(l){this.snapshot=l,this.type=pt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zi{constructor(l){this.snapshot=l,this.type=pt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xi{constructor(l){this.snapshot=l,this.type=pt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mi{constructor(l){this.snapshot=l,this.type=pt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ri{constructor(l,o,s){this.routerEvent=l,this.position=o,this.anchor=s,this.type=pt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Fi{}class Ji{constructor(l,o){this.url=l,this.navigationBehaviorOptions=o}}function ke(p){return p.outlet||Ve}function Tt(p){if(!p)return null;if(p.routeConfig?._injector)return p.routeConfig._injector;for(let l=p.parent;l;l=l.parent){const o=l.routeConfig;if(o?._loadedInjector)return o._loadedInjector;if(o?._injector)return o._injector}return null}class Nn{get injector(){return Tt(this.route?.snapshot)??this.rootInjector}set injector(l){}constructor(l){this.rootInjector=l,this.outlet=null,this.route=null,this.children=new qt(this.rootInjector),this.attachRef=null}}let qt=(()=>{class p{constructor(o){this.rootInjector=o,this.contexts=new Map}onChildOutletCreated(o,s){const d=this.getOrCreateContext(o);d.outlet=s,this.contexts.set(o,d)}onChildOutletDestroyed(o){const s=this.getContext(o);s&&(s.outlet=null,s.attachRef=null)}onOutletDeactivated(){const o=this.contexts;return this.contexts=new Map,o}onOutletReAttached(o){this.contexts=o}getOrCreateContext(o){let s=this.getContext(o);return s||(s=new Nn(this.rootInjector),this.contexts.set(o,s)),s}getContext(o){return this.contexts.get(o)||null}static{this.\u0275fac=function(s){return new(s||p)(c.KVO(c.uvJ))}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();class Jt{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const o=this.pathFromRoot(l);return o.length>1?o[o.length-2]:null}children(l){const o=an(l,this._root);return o?o.children.map(s=>s.value):[]}firstChild(l){const o=an(l,this._root);return o&&o.children.length>0?o.children[0].value:null}siblings(l){const o=fn(l,this._root);return o.length<2?[]:o[o.length-2].children.map(d=>d.value).filter(d=>d!==l)}pathFromRoot(l){return fn(l,this._root).map(o=>o.value)}}function an(p,l){if(p===l.value)return l;for(const o of l.children){const s=an(p,o);if(s)return s}return null}function fn(p,l){if(p===l.value)return[l];for(const o of l.children){const s=fn(p,o);if(s.length)return s.unshift(l),s}return[]}class ut{constructor(l,o){this.value=l,this.children=o}toString(){return`TreeNode(${this.value})`}}function Nt(p){const l={};return p&&p.children.forEach(o=>l[o.value.outlet]=o),l}class Cn extends Jt{constructor(l,o){super(l),this.snapshot=o,ii(this,l)}toString(){return this.snapshot.toString()}}function zr(p){const l=function Ht(p){const f=new jn([],{},{},"",{},Ve,p,null,{});return new ri("",new ut(f,[]))}(p),o=new x.t([new qn("",{})]),s=new x.t({}),d=new x.t({}),f=new x.t({}),v=new x.t(""),T=new en(o,s,f,v,d,Ve,p,l.root);return T.snapshot=l.root,new Cn(new ut(T,[]),l)}class en{constructor(l,o,s,d,f,v,T,S){this.urlSubject=l,this.paramsSubject=o,this.queryParamsSubject=s,this.fragmentSubject=d,this.dataSubject=f,this.outlet=v,this.component=T,this._futureSnapshot=S,this.title=this.dataSubject?.pipe((0,Ae.T)(G=>G[Rt]))??(0,R.of)(void 0),this.url=l,this.params=o,this.queryParams=s,this.fragment=d,this.data=f}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,Ae.T)(l=>Ut(l))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Ae.T)(l=>Ut(l))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Mr(p,l,o="emptyOnly"){let s;const{routeConfig:d}=p;return s=null===l||"always"!==o&&""!==d?.path&&(l.component||l.routeConfig?.loadComponent)?{params:{...p.params},data:{...p.data},resolve:{...p.data,...p._resolvedData??{}}}:{params:{...l.params,...p.params},data:{...l.data,...p.data},resolve:{...p.data,...l.data,...d?.data,...p._resolvedData}},d&&to(d)&&(s.resolve[Rt]=d.title),s}class jn{get title(){return this.data?.[Rt]}constructor(l,o,s,d,f,v,T,S,G){this.url=l,this.params=o,this.queryParams=s,this.fragment=d,this.data=f,this.outlet=v,this.component=T,this.routeConfig=S,this._resolve=G}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??=Ut(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ut(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(s=>s.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ri extends Jt{constructor(l,o){super(o),this.url=l,ii(this,o)}toString(){return Ko(this._root)}}function ii(p,l){l.value._routerState=p,l.children.forEach(o=>ii(p,o))}function Ko(p){const l=p.children.length>0?` { ${p.children.map(Ko).join(", ")} } `:"";return`${p.value}${l}`}function ki(p){if(p.snapshot){const l=p.snapshot,o=p._futureSnapshot;p.snapshot=o,Xt(l.queryParams,o.queryParams)||p.queryParamsSubject.next(o.queryParams),l.fragment!==o.fragment&&p.fragmentSubject.next(o.fragment),Xt(l.params,o.params)||p.paramsSubject.next(o.params),function Tn(p,l){if(p.length!==l.length)return!1;for(let o=0;o<p.length;++o)if(!Xt(p[o],l[o]))return!1;return!0}(l.url,o.url)||p.urlSubject.next(o.url),Xt(l.data,o.data)||p.dataSubject.next(o.data)}else p.snapshot=p._futureSnapshot,p.dataSubject.next(p._futureSnapshot.data)}function yo(p,l){const o=Xt(p.params,l.params)&&function yr(p,l){return it(p,l)&&p.every((o,s)=>Xt(o.parameters,l[s].parameters))}(p.url,l.url);return o&&!(!p.parent!=!l.parent)&&(!p.parent||yo(p.parent,l.parent))}function to(p){return"string"==typeof p.title||null===p.title}let ur=(()=>{class p{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ve,this.activateEvents=new c.bkB,this.deactivateEvents=new c.bkB,this.attachEvents=new c.bkB,this.detachEvents=new c.bkB,this.parentContexts=(0,c.WQX)(qt),this.location=(0,c.WQX)(c.c1b),this.changeDetector=(0,c.WQX)(c.gRc),this.inputBinder=(0,c.WQX)(yi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(o){if(o.name){const{firstChange:s,previousValue:d}=o.name;if(s)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(o){return this.parentContexts.getContext(o)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const o=this.parentContexts.getContext(this.name);o?.route&&(o.attachRef?this.attach(o.attachRef,o.route):this.activateWith(o.route,o.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new c.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new c.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new c.wOt(4012,!1);this.location.detach();const o=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(o.instance),o}attach(o,s){this.activated=o,this._activatedRoute=s,this.location.insert(o.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(o.instance)}deactivate(){if(this.activated){const o=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(o)}}activateWith(o,s){if(this.isActivated)throw new c.wOt(4013,!1);this._activatedRoute=o;const d=this.location,v=o.snapshot.component,T=this.parentContexts.getOrCreateContext(this.name).children,S=new no(o,T,d.injector);this.activated=d.createComponent(v,{index:d.length,injector:S,environmentInjector:s}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(s){return new(s||p)}}static{this.\u0275dir=c.FsC({type:p,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[c.OA$]})}}return p})();class no{__ngOutletInjector(l){return new no(this.route,this.childContexts,l)}constructor(l,o,s){this.route=l,this.childContexts=o,this.parent=s}get(l,o){return l===en?this.route:l===qt?this.childContexts:this.parent.get(l,o)}}const yi=new c.nKC("");let Oo=(()=>{class p{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(o){this.unsubscribeFromRouteData(o),this.subscribeToRouteData(o)}unsubscribeFromRouteData(o){this.outletDataSubscriptions.get(o)?.unsubscribe(),this.outletDataSubscriptions.delete(o)}subscribeToRouteData(o){const{activatedRoute:s}=o,d=(0,U.z)([s.queryParams,s.params,s.data]).pipe((0,je.n)(([f,v,T],S)=>(T={...f,...v,...T},0===S?(0,R.of)(T):Promise.resolve(T)))).subscribe(f=>{if(!o.isActivated||!o.activatedComponentRef||o.activatedRoute!==s||null===s.component)return void this.unsubscribeFromRouteData(o);const v=(0,c.HJs)(s.component);if(v)for(const{templateName:T}of v.inputs)o.activatedComponentRef.setInput(T,f[T]);else this.unsubscribeFromRouteData(o)});this.outletDataSubscriptions.set(o,d)}static{this.\u0275fac=function(s){return new(s||p)}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac})}}return p})();function vo(p,l,o){if(o&&p.shouldReuseRoute(l.value,o.value.snapshot)){const s=o.value;s._futureSnapshot=l.value;const d=function ms(p,l,o){return l.children.map(s=>{for(const d of o.children)if(p.shouldReuseRoute(s.value,d.value.snapshot))return vo(p,s,d);return vo(p,s)})}(p,l,o);return new ut(s,d)}{if(p.shouldAttach(l.value)){const f=p.retrieve(l.value);if(null!==f){const v=f.route;return v.value._futureSnapshot=l.value,v.children=l.children.map(T=>vo(p,T)),v}}const s=function ro(p){return new en(new x.t(p.url),new x.t(p.params),new x.t(p.queryParams),new x.t(p.fragment),new x.t(p.data),p.outlet,p.component,p)}(l.value),d=l.children.map(f=>vo(p,f));return new ut(s,d)}}class Po{constructor(l,o){this.redirectTo=l,this.navigationBehaviorOptions=o}}const Ie="ngNavigationCancelingError";function kr(p,l){const{redirectTo:o,navigationBehaviorOptions:s}=Mt(l)?{redirectTo:l,navigationBehaviorOptions:void 0}:l,d=Xn(!1,yn.Redirect);return d.url=o,d.navigationBehaviorOptions=s,d}function Xn(p,l){const o=new Error(`NavigationCancelingError: ${p||""}`);return o[Ie]=!0,o.cancellationCode=l,o}function No(p){return!!p&&p[Ie]}class oi{constructor(l,o,s,d,f){this.routeReuseStrategy=l,this.futureState=o,this.currState=s,this.forwardEvent=d,this.inputBindingEnabled=f}activate(l){const o=this.futureState._root,s=this.currState?this.currState._root:null;this.deactivateChildRoutes(o,s,l),ki(this.futureState.root),this.activateChildRoutes(o,s,l)}deactivateChildRoutes(l,o,s){const d=Nt(o);l.children.forEach(f=>{const v=f.value.outlet;this.deactivateRoutes(f,d[v],s),delete d[v]}),Object.values(d).forEach(f=>{this.deactivateRouteAndItsChildren(f,s)})}deactivateRoutes(l,o,s){const d=l.value,f=o?o.value:null;if(d===f)if(d.component){const v=s.getContext(d.outlet);v&&this.deactivateChildRoutes(l,o,v.children)}else this.deactivateChildRoutes(l,o,s);else f&&this.deactivateRouteAndItsChildren(o,s)}deactivateRouteAndItsChildren(l,o){l.value.component&&this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,o):this.deactivateRouteAndOutlet(l,o)}detachAndStoreRouteSubtree(l,o){const s=o.getContext(l.value.outlet),d=s&&l.value.component?s.children:o,f=Nt(l);for(const v of Object.values(f))this.deactivateRouteAndItsChildren(v,d);if(s&&s.outlet){const v=s.outlet.detach(),T=s.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:v,route:l,contexts:T})}}deactivateRouteAndOutlet(l,o){const s=o.getContext(l.value.outlet),d=s&&l.value.component?s.children:o,f=Nt(l);for(const v of Object.values(f))this.deactivateRouteAndItsChildren(v,d);s&&(s.outlet&&(s.outlet.deactivate(),s.children.onOutletDeactivated()),s.attachRef=null,s.route=null)}activateChildRoutes(l,o,s){const d=Nt(o);l.children.forEach(f=>{this.activateRoutes(f,d[f.value.outlet],s),this.forwardEvent(new mi(f.value.snapshot))}),l.children.length&&this.forwardEvent(new Zi(l.value.snapshot))}activateRoutes(l,o,s){const d=l.value,f=o?o.value:null;if(ki(d),d===f)if(d.component){const v=s.getOrCreateContext(d.outlet);this.activateChildRoutes(l,o,v.children)}else this.activateChildRoutes(l,o,s);else if(d.component){const v=s.getOrCreateContext(d.outlet);if(this.routeReuseStrategy.shouldAttach(d.snapshot)){const T=this.routeReuseStrategy.retrieve(d.snapshot);this.routeReuseStrategy.store(d.snapshot,null),v.children.onOutletReAttached(T.contexts),v.attachRef=T.componentRef,v.route=T.route.value,v.outlet&&v.outlet.attach(T.componentRef,T.route.value),ki(T.route.value),this.activateChildRoutes(l,null,v.children)}else v.attachRef=null,v.route=d,v.outlet&&v.outlet.activateWith(d,v.injector),this.activateChildRoutes(l,null,v.children)}else this.activateChildRoutes(l,null,s)}}class vi{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class dr{constructor(l,o){this.component=l,this.route=o}}function Li(p,l,o){const s=p._root;return Lr(s,l?l._root:null,o,[s.value])}function Yn(p,l){const o=Symbol(),s=l.get(p,o);return s===o?"function"!=typeof p||(0,c.LfX)(p)?l.get(p):p:s}function Lr(p,l,o,s,d={canDeactivateChecks:[],canActivateChecks:[]}){const f=Nt(l);return p.children.forEach(v=>{(function io(p,l,o,s,d={canDeactivateChecks:[],canActivateChecks:[]}){const f=p.value,v=l?l.value:null,T=o?o.getContext(p.value.outlet):null;if(v&&f.routeConfig===v.routeConfig){const S=function pn(p,l,o){if("function"==typeof o)return o(p,l);switch(o){case"pathParamsChange":return!it(p.url,l.url);case"pathParamsOrQueryParamsChange":return!it(p.url,l.url)||!Xt(p.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!yo(p,l)||!Xt(p.queryParams,l.queryParams);default:return!yo(p,l)}}(v,f,f.routeConfig.runGuardsAndResolvers);S?d.canActivateChecks.push(new vi(s)):(f.data=v.data,f._resolvedData=v._resolvedData),Lr(p,l,f.component?T?T.children:null:o,s,d),S&&T&&T.outlet&&T.outlet.isActivated&&d.canDeactivateChecks.push(new dr(T.outlet.component,v))}else v&&_o(l,T,d),d.canActivateChecks.push(new vi(s)),Lr(p,null,f.component?T?T.children:null:o,s,d)})(v,f[v.value.outlet],o,s.concat([v.value]),d),delete f[v.value.outlet]}),Object.entries(f).forEach(([v,T])=>_o(T,o.getContext(v),d)),d}function _o(p,l,o){const s=Nt(p),d=p.value;Object.entries(s).forEach(([f,v])=>{_o(v,d.component?l?l.children.getContext(f):null:l,o)}),o.canDeactivateChecks.push(new dr(d.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,d))}function oo(p){return"function"==typeof p}function wo(p){return p instanceof z.G||"EmptyError"===p?.name}const Ke=Symbol("INITIAL_VALUE");function _i(){return(0,je.n)(p=>(0,U.z)(p.map(l=>l.pipe((0,qe.s)(1),(0,ft.Z)(Ke)))).pipe((0,Ae.T)(l=>{for(const o of l)if(!0!==o){if(o===Ke)return Ke;if(!1===o||hr(o))return o}return!0}),(0,wt.p)(l=>l!==Ke),(0,qe.s)(1)))}function hr(p){return Mt(p)||p instanceof Po}function q(p){return(0,K.F)((0,He.M)(l=>{if("boolean"!=typeof l)throw kr(0,l)}),(0,Ae.T)(l=>!0===l))}class gt{constructor(l){this.segmentGroup=l||null}}class tn extends Error{constructor(l){super(),this.urlTree=l}}function Le(p){return(0,W.$)(new gt(p))}class aa{constructor(l,o){this.urlSerializer=l,this.urlTree=o}lineralizeSegments(l,o){let s=[],d=o.root;for(;;){if(s=s.concat(d.segments),0===d.numberOfChildren)return(0,R.of)(s);if(d.numberOfChildren>1||!d.children[Ve])return(0,W.$)(new c.wOt(4e3,!1));d=d.children[Ve]}}applyRedirectCommands(l,o,s,d,f){if("string"!=typeof o){const T=o,{queryParams:S,fragment:G,routeConfig:J,url:ge,outlet:we,params:at,data:We,title:Be}=d,Ge=(0,c.N4e)(f,()=>T({params:at,data:We,queryParams:S,fragment:G,routeConfig:J,url:ge,outlet:we,title:Be}));if(Ge instanceof Pn)throw new tn(Ge);o=Ge}const v=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),l,s);if("/"===o[0])throw new tn(v);return v}applyRedirectCreateUrlTree(l,o,s,d){const f=this.createSegmentGroup(l,o.root,s,d);return new Pn(f,this.createQueryParams(o.queryParams,this.urlTree.queryParams),o.fragment)}createQueryParams(l,o){const s={};return Object.entries(l).forEach(([d,f])=>{if("string"==typeof f&&":"===f[0]){const T=f.substring(1);s[d]=o[T]}else s[d]=f}),s}createSegmentGroup(l,o,s,d){const f=this.createSegments(l,o.segments,s,d);let v={};return Object.entries(o.children).forEach(([T,S])=>{v[T]=this.createSegmentGroup(l,S,s,d)}),new _t(f,v)}createSegments(l,o,s,d){return o.map(f=>":"===f.path[0]?this.findPosParam(l,f,d):this.findOrReturn(f,s))}findPosParam(l,o,s){const d=s[o.path.substring(1)];if(!d)throw new c.wOt(4001,!1);return d}findOrReturn(l,o){let s=0;for(const d of o){if(d.path===l.path)return o.splice(s),d;s++}return l}}const $s={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function zt(p,l,o,s,d){const f=ys(p,l,o);return f.matched?(s=function Us(p,l){return p.providers&&!p._injector&&(p._injector=(0,c.Ol2)(p.providers,l,`Route: ${p.path}`)),p._injector??l}(l,s),function $e(p,l,o,s){const d=l.canMatch;if(!d||0===d.length)return(0,R.of)(!0);const f=d.map(v=>{const T=Yn(v,p);return Bn(function Yo(p){return p&&oo(p.canMatch)}(T)?T.canMatch(l,o):(0,c.N4e)(p,()=>T(l,o)))});return(0,R.of)(f).pipe(_i(),q())}(s,l,o).pipe((0,Ae.T)(v=>!0===v?f:{...$s}))):(0,R.of)(f)}function ys(p,l,o){if("**"===l.path)return function Vi(p){return{matched:!0,parameters:p.length>0?ir(p).parameters:{},consumedSegments:p,remainingSegments:[],positionalParamSegments:{}}}(o);if(""===l.path)return"full"===l.pathMatch&&(p.hasChildren()||o.length>0)?{...$s}:{matched:!0,consumedSegments:[],remainingSegments:o,parameters:{},positionalParamSegments:{}};const d=(l.matcher||Pt)(o,p,l);if(!d)return{...$s};const f={};Object.entries(d.posParams??{}).forEach(([T,S])=>{f[T]=S.path});const v=d.consumed.length>0?{...f,...d.consumed[d.consumed.length-1].parameters}:f;return{matched:!0,consumedSegments:d.consumed,remainingSegments:o.slice(d.consumed.length),parameters:v,positionalParamSegments:d.posParams??{}}}function Jo(p,l,o,s){return o.length>0&&function la(p,l,o){return o.some(s=>xo(p,l,s)&&ke(s)!==Ve)}(p,o,s)?{segmentGroup:new _t(l,Hs(s,new _t(o,p.children))),slicedSegments:[]}:0===o.length&&function Gs(p,l,o){return o.some(s=>xo(p,l,s))}(p,o,s)?{segmentGroup:new _t(p.segments,$l(p,o,s,p.children)),slicedSegments:o}:{segmentGroup:new _t(p.segments,p.children),slicedSegments:o}}function $l(p,l,o,s){const d={};for(const f of o)if(xo(p,l,f)&&!s[ke(f)]){const v=new _t([],{});d[ke(f)]=v}return{...s,...d}}function Hs(p,l){const o={};o[Ve]=l;for(const s of p)if(""===s.path&&ke(s)!==Ve){const d=new _t([],{});o[ke(s)]=d}return o}function xo(p,l,o){return(!(p.hasChildren()||l.length>0)||"full"!==o.pathMatch)&&""===o.path}class vs{}class _s{constructor(l,o,s,d,f,v,T){this.injector=l,this.configLoader=o,this.rootComponentType=s,this.config=d,this.urlTree=f,this.paramsInheritanceStrategy=v,this.urlSerializer=T,this.applyRedirects=new aa(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(l){return new c.wOt(4002,`'${l.segmentGroup}'`)}recognize(){const l=Jo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(l).pipe((0,Ae.T)(({children:o,rootSnapshot:s})=>{const d=new ut(s,o),f=new ri("",d),v=function _n(p,l,o=null,s=null){return Oi(An(p),l,o,s)}(s,[],this.urlTree.queryParams,this.urlTree.fragment);return v.queryParams=this.urlTree.queryParams,f.url=this.urlSerializer.serialize(v),{state:f,tree:v}}))}match(l){const o=new jn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Ve,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,l,Ve,o).pipe((0,Ae.T)(s=>({children:s,rootSnapshot:o})),(0,te.W)(s=>{if(s instanceof tn)return this.urlTree=s.urlTree,this.match(s.urlTree.root);throw s instanceof gt?this.noMatchError(s):s}))}processSegmentGroup(l,o,s,d,f){return 0===s.segments.length&&s.hasChildren()?this.processChildren(l,o,s,f):this.processSegment(l,o,s,s.segments,d,!0,f).pipe((0,Ae.T)(v=>v instanceof ut?[v]:[]))}processChildren(l,o,s,d){const f=[];for(const v of Object.keys(s.children))"primary"===v?f.unshift(v):f.push(v);return(0,H.H)(f).pipe((0,Vt.H)(v=>{const T=s.children[v],S=function Fe(p,l){const o=p.filter(s=>ke(s)===l);return o.push(...p.filter(s=>ke(s)!==l)),o}(o,v);return this.processSegmentGroup(l,S,T,v,d)}),(0,ye.S)((v,T)=>(v.push(...T),v)),(0,Xe.U)(null),(0,ae.H)(),(0,ct.Z)(v=>{if(null===v)return Le(s);const T=Cs(v);return function es(p){p.sort((l,o)=>l.value.outlet===Ve?-1:o.value.outlet===Ve?1:l.value.outlet.localeCompare(o.value.outlet))}(T),(0,R.of)(T)}))}processSegment(l,o,s,d,f,v,T){return(0,H.H)(o).pipe((0,Vt.H)(S=>this.processSegmentAgainstRoute(S._injector??l,o,S,s,d,f,v,T).pipe((0,te.W)(G=>{if(G instanceof gt)return(0,R.of)(null);throw G}))),(0,st.$)(S=>!!S),(0,te.W)(S=>{if(wo(S))return function ca(p,l,o){return 0===l.length&&!p.children[o]}(s,d,f)?(0,R.of)(new vs):Le(s);throw S}))}processSegmentAgainstRoute(l,o,s,d,f,v,T,S){return ke(s)===v||v!==Ve&&xo(d,f,s)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(l,d,s,f,v,S):this.allowRedirects&&T?this.expandSegmentAgainstRouteUsingRedirect(l,d,o,s,f,v,S):Le(d):Le(d)}expandSegmentAgainstRouteUsingRedirect(l,o,s,d,f,v,T){const{matched:S,parameters:G,consumedSegments:J,positionalParamSegments:ge,remainingSegments:we}=ys(o,d,f);if(!S)return Le(o);"string"==typeof d.redirectTo&&"/"===d.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const at=new jn(f,G,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ws(d),ke(d),d.component??d._loadedComponent??null,d,Ba(d)),We=Mr(at,T,this.paramsInheritanceStrategy);at.params=Object.freeze(We.params),at.data=Object.freeze(We.data);const Be=this.applyRedirects.applyRedirectCommands(J,d.redirectTo,ge,at,l);return this.applyRedirects.lineralizeSegments(d,Be).pipe((0,ct.Z)(Ge=>this.processSegment(l,s,o,Ge.concat(we),v,!1,T)))}matchSegmentAgainstRoute(l,o,s,d,f,v){const T=zt(o,s,d,l);return"**"===s.path&&(o.children={}),T.pipe((0,je.n)(S=>S.matched?this.getChildConfig(l=s._injector??l,s,d).pipe((0,je.n)(({routes:G})=>{const J=s._loadedInjector??l,{parameters:ge,consumedSegments:we,remainingSegments:at}=S,We=new jn(we,ge,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ws(s),ke(s),s.component??s._loadedComponent??null,s,Ba(s)),Be=Mr(We,v,this.paramsInheritanceStrategy);We.params=Object.freeze(Be.params),We.data=Object.freeze(Be.data);const{segmentGroup:Ge,slicedSegments:Kt}=Jo(o,we,at,G);if(0===Kt.length&&Ge.hasChildren())return this.processChildren(J,G,Ge,We).pipe((0,Ae.T)(En=>new ut(We,En)));if(0===G.length&&0===Kt.length)return(0,R.of)(new ut(We,[]));const Rn=ke(s)===f;return this.processSegment(J,G,Ge,Kt,Rn?Ve:f,!0,We).pipe((0,Ae.T)(En=>new ut(We,En instanceof ut?[En]:[])))})):Le(o)))}getChildConfig(l,o,s){return o.children?(0,R.of)({routes:o.children,injector:l}):o.loadChildren?void 0!==o._loadedRoutes?(0,R.of)({routes:o._loadedRoutes,injector:o._loadedInjector}):function P(p,l,o,s){const d=l.canLoad;if(void 0===d||0===d.length)return(0,R.of)(!0);const f=d.map(v=>{const T=Yn(v,p);return Bn(function oa(p){return p&&oo(p.canLoad)}(T)?T.canLoad(l,o):(0,c.N4e)(p,()=>T(l,o)))});return(0,R.of)(f).pipe(_i(),q())}(l,o,s).pipe((0,ct.Z)(d=>d?this.configLoader.loadChildren(l,o).pipe((0,He.M)(f=>{o._loadedRoutes=f.routes,o._loadedInjector=f.injector})):function jl(){return(0,W.$)(Xn(!1,yn.GuardRejected))}())):(0,R.of)({routes:[],injector:l})}}function so(p){const l=p.value.routeConfig;return l&&""===l.path}function Cs(p){const l=[],o=new Set;for(const s of p){if(!so(s)){l.push(s);continue}const d=l.find(f=>s.value.routeConfig===f.value.routeConfig);void 0!==d?(d.children.push(...s.children),o.add(d)):l.push(s)}for(const s of o){const d=Cs(s.children);l.push(new ut(s.value,d))}return l.filter(s=>!o.has(s))}function ws(p){return p.data||{}}function Ba(p){return p.resolve||{}}function Wl(p){const l=p.children.map(o=>Wl(o)).flat();return[p,...l]}function ts(p){return(0,je.n)(l=>{const o=p(l);return o?(0,H.H)(o).pipe((0,Ae.T)(()=>l)):(0,R.of)(l)})}let da=(()=>{class p{buildTitle(o){let s,d=o.root;for(;void 0!==d;)s=this.getResolvedTitleForRoute(d)??s,d=d.children.find(f=>f.outlet===Ve);return s}getResolvedTitleForRoute(o){return o.data[Rt]}static{this.\u0275fac=function(s){return new(s||p)}}static{this.\u0275prov=c.jDH({token:p,factory:()=>(0,c.WQX)(Ui),providedIn:"root"})}}return p})(),Ui=(()=>{class p extends da{constructor(o){super(),this.title=o}updateTitle(o){const s=this.buildTitle(o);void 0!==s&&this.title.setTitle(s)}static{this.\u0275fac=function(s){return new(s||p)(c.KVO(St.hE))}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();const Bi=new c.nKC("",{providedIn:"root",factory:()=>({})});let Ws=(()=>{class p{static{this.\u0275fac=function(s){return new(s||p)}}static{this.\u0275cmp=c.VBU({type:p,selectors:[["ng-component"]],standalone:!0,features:[c.aNF],decls:1,vars:0,template:function(s,d){1&s&&c.nrm(0,"router-outlet")},dependencies:[ur],encapsulation:2})}}return p})();function nt(p){const l=p.children&&p.children.map(nt),o=l?{...p,children:l}:{...p};return!o.component&&!o.loadComponent&&(l||o.loadChildren)&&o.outlet&&o.outlet!==Ve&&(o.component=Ws),o}const bt=new c.nKC("");let ja=(()=>{class p{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,c.WQX)(c.Ql9)}loadComponent(o){if(this.componentLoaders.get(o))return this.componentLoaders.get(o);if(o._loadedComponent)return(0,R.of)(o._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(o);const s=Bn(o.loadComponent()).pipe((0,Ae.T)(Ql),(0,He.M)(f=>{this.onLoadEndListener&&this.onLoadEndListener(o),o._loadedComponent=f}),(0,Oe.j)(()=>{this.componentLoaders.delete(o)})),d=new Ee.G(s,()=>new _e.B).pipe((0,et.B)());return this.componentLoaders.set(o,d),d}loadChildren(o,s){if(this.childrenLoaders.get(s))return this.childrenLoaders.get(s);if(s._loadedRoutes)return(0,R.of)({routes:s._loadedRoutes,injector:s._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(s);const f=function ql(p,l,o,s){return Bn(p.loadChildren()).pipe((0,Ae.T)(Ql),(0,ct.Z)(d=>d instanceof c.Co$||Array.isArray(d)?(0,R.of)(d):(0,H.H)(l.compileModuleAsync(d))),(0,Ae.T)(d=>{s&&s(p);let f,v,T=!1;return Array.isArray(d)?(v=d,!0):(f=d.create(o).injector,v=f.get(bt,[],{optional:!0,self:!0}).flat()),{routes:v.map(nt),injector:f}}))}(s,this.compiler,o,this.onLoadEndListener).pipe((0,Oe.j)(()=>{this.childrenLoaders.delete(s)})),v=new Ee.G(f,()=>new _e.B).pipe((0,et.B)());return this.childrenLoaders.set(s,v),v}static{this.\u0275fac=function(s){return new(s||p)}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();function Ql(p){return function Kl(p){return p&&"object"==typeof p&&"default"in p}(p)?p.default:p}let qs=(()=>{class p{static{this.\u0275fac=function(s){return new(s||p)}}static{this.\u0275prov=c.jDH({token:p,factory:()=>(0,c.WQX)(Ks),providedIn:"root"})}}return p})(),Ks=(()=>{class p{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,s){return o}static{this.\u0275fac=function(s){return new(s||p)}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();const Dt=new c.nKC(""),Ds=new c.nKC("");function ha(p,l,o){const s=p.get(Ds),d=p.get(Re.qQ);return p.get(c.SKi).runOutsideAngular(()=>{if(!d.startViewTransition||s.skipNextTransition)return s.skipNextTransition=!1,new Promise(G=>setTimeout(G));let f;const v=new Promise(G=>{f=G}),T=d.startViewTransition(()=>(f(),function wn(p){return new Promise(l=>{(0,c.mal)({read:()=>setTimeout(l)},{injector:p})})}(p))),{onViewTransitionCreated:S}=s;return S&&(0,c.N4e)(p,()=>S({transition:T,from:l,to:o})),v})}const nn=new c.nKC("");let ji=(()=>{class p{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new _e.B,this.transitionAbortSubject=new _e.B,this.configLoader=(0,c.WQX)(ja),this.environmentInjector=(0,c.WQX)(c.uvJ),this.urlSerializer=(0,c.WQX)(Ii),this.rootContexts=(0,c.WQX)(qt),this.location=(0,c.WQX)(Re.aZ),this.inputBindingEnabled=null!==(0,c.WQX)(yi,{optional:!0}),this.titleStrategy=(0,c.WQX)(da),this.options=(0,c.WQX)(Bi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,c.WQX)(qs),this.createViewTransition=(0,c.WQX)(Dt,{optional:!0}),this.navigationErrorHandler=(0,c.WQX)(nn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,R.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=d=>this.events.next(new Rr(d)),this.configLoader.onLoadStartListener=d=>this.events.next(new qo(d))}complete(){this.transitions?.complete()}handleNavigationRequest(o){const s=++this.navigationId;this.transitions?.next({...this.transitions.value,...o,id:s})}setupNavigations(o,s,d){return this.transitions=new x.t({id:0,currentUrlTree:s,currentRawUrl:s,extractedUrl:this.urlHandlingStrategy.extract(s),urlAfterRedirects:this.urlHandlingStrategy.extract(s),rawUrl:s,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Nr,restoredState:null,currentSnapshot:d.snapshot,targetSnapshot:null,currentRouterState:d,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,wt.p)(f=>0!==f.id),(0,Ae.T)(f=>({...f,extractedUrl:this.urlHandlingStrategy.extract(f.rawUrl)})),(0,je.n)(f=>{let v=!1,T=!1;return(0,R.of)(f).pipe((0,je.n)(S=>{if(this.navigationId>f.id)return this.cancelNavigationTransition(f,"",yn.SupersededByNewNavigation),me.w;this.currentTransition=f,this.currentNavigation={id:S.id,initialUrl:S.rawUrl,extractedUrl:S.extractedUrl,targetBrowserUrl:"string"==typeof S.extras.browserUrl?this.urlSerializer.parse(S.extras.browserUrl):S.extras.browserUrl,trigger:S.source,extras:S.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const G=!o.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!G&&"reload"!==(S.extras.onSameUrlNavigation??o.onSameUrlNavigation)){const ge="";return this.events.next(new Hr(S.id,this.urlSerializer.serialize(S.rawUrl),ge,xr.IgnoredSameUrlNavigation)),S.resolve(!1),me.w}if(this.urlHandlingStrategy.shouldProcessUrl(S.rawUrl))return(0,R.of)(S).pipe((0,je.n)(ge=>{const we=this.transitions?.getValue();return this.events.next(new ti(ge.id,this.urlSerializer.serialize(ge.extractedUrl),ge.source,ge.restoredState)),we!==this.transitions?.getValue()?me.w:Promise.resolve(ge)}),function Gl(p,l,o,s,d,f){return(0,ct.Z)(v=>function zs(p,l,o,s,d,f,v="emptyOnly"){return new _s(p,l,o,s,d,v,f).recognize()}(p,l,o,s,v.extractedUrl,d,f).pipe((0,Ae.T)(({state:T,tree:S})=>({...v,targetSnapshot:T,urlAfterRedirects:S}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,o.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,He.M)(ge=>{f.targetSnapshot=ge.targetSnapshot,f.urlAfterRedirects=ge.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:ge.urlAfterRedirects};const we=new Ai(ge.id,this.urlSerializer.serialize(ge.extractedUrl),this.urlSerializer.serialize(ge.urlAfterRedirects),ge.targetSnapshot);this.events.next(we)}));if(G&&this.urlHandlingStrategy.shouldProcessUrl(S.currentRawUrl)){const{id:ge,extractedUrl:we,source:at,restoredState:We,extras:Be}=S,Ge=new ti(ge,this.urlSerializer.serialize(we),at,We);this.events.next(Ge);const Kt=zr(this.rootComponentType).snapshot;return this.currentTransition=f={...S,targetSnapshot:Kt,urlAfterRedirects:we,extras:{...Be,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=we,(0,R.of)(f)}{const ge="";return this.events.next(new Hr(S.id,this.urlSerializer.serialize(S.extractedUrl),ge,xr.IgnoredByUrlHandlingStrategy)),S.resolve(!1),me.w}}),(0,He.M)(S=>{const G=new mo(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects),S.targetSnapshot);this.events.next(G)}),(0,Ae.T)(S=>(this.currentTransition=f={...S,guards:Li(S.targetSnapshot,S.currentSnapshot,this.rootContexts)},f)),function sa(p,l){return(0,ct.Z)(o=>{const{targetSnapshot:s,currentSnapshot:d,guards:{canActivateChecks:f,canDeactivateChecks:v}}=o;return 0===v.length&&0===f.length?(0,R.of)({...o,guardsResult:!0}):function Bs(p,l,o,s){return(0,H.H)(p).pipe((0,ct.Z)(d=>function y(p,l,o,s,d){const f=l&&l.routeConfig?l.routeConfig.canDeactivate:null;if(!f||0===f.length)return(0,R.of)(!0);const v=f.map(T=>{const S=Tt(l)??d,G=Yn(T,S);return Bn(function Xo(p){return p&&oo(p.canDeactivate)}(G)?G.canDeactivate(p,l,o,s):(0,c.N4e)(S,()=>G(p,l,o,s))).pipe((0,st.$)())});return(0,R.of)(v).pipe(_i())}(d.component,d.route,o,l,s)),(0,st.$)(d=>!0!==d,!0))}(v,s,d,p).pipe((0,ct.Z)(T=>T&&function xt(p){return"boolean"==typeof p}(T)?function Ua(p,l,o,s){return(0,H.H)(l).pipe((0,Vt.H)(d=>(0,B.x)(function Zo(p,l){return null!==p&&l&&l(new Dr(p)),(0,R.of)(!0)}(d.route.parent,s),function Vr(p,l){return null!==p&&l&&l(new xi(p)),(0,R.of)(!0)}(d.route,s),function D(p,l,o){const s=l[l.length-1],f=l.slice(0,l.length-1).reverse().map(v=>function Qo(p){const l=p.routeConfig?p.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:p,guards:l}:null}(v)).filter(v=>null!==v).map(v=>(0,X.v)(()=>{const T=v.guards.map(S=>{const G=Tt(v.node)??o,J=Yn(S,G);return Bn(function Co(p){return p&&oo(p.canActivateChild)}(J)?J.canActivateChild(s,p):(0,c.N4e)(G,()=>J(s,p))).pipe((0,st.$)())});return(0,R.of)(T).pipe(_i())}));return(0,R.of)(f).pipe(_i())}(p,d.path,o),function w(p,l,o){const s=l.routeConfig?l.routeConfig.canActivate:null;if(!s||0===s.length)return(0,R.of)(!0);const d=s.map(f=>(0,X.v)(()=>{const v=Tt(l)??o,T=Yn(f,v);return Bn(function xn(p){return p&&oo(p.canActivate)}(T)?T.canActivate(l,p):(0,c.N4e)(v,()=>T(l,p))).pipe((0,st.$)())}));return(0,R.of)(d).pipe(_i())}(p,d.route,o))),(0,st.$)(d=>!0!==d,!0))}(s,f,p,l):(0,R.of)(T)),(0,Ae.T)(T=>({...o,guardsResult:T})))})}(this.environmentInjector,S=>this.events.next(S)),(0,He.M)(S=>{if(f.guardsResult=S.guardsResult,S.guardsResult&&"boolean"!=typeof S.guardsResult)throw kr(0,S.guardsResult);const G=new Gr(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects),S.targetSnapshot,!!S.guardsResult);this.events.next(G)}),(0,wt.p)(S=>!!S.guardsResult||(this.cancelNavigationTransition(S,"",yn.GuardRejected),!1)),ts(S=>{if(S.guards.canActivateChecks.length)return(0,R.of)(S).pipe((0,He.M)(G=>{const J=new Ni(G.id,this.urlSerializer.serialize(G.extractedUrl),this.urlSerializer.serialize(G.urlAfterRedirects),G.targetSnapshot);this.events.next(J)}),(0,je.n)(G=>{let J=!1;return(0,R.of)(G).pipe(function zl(p,l){return(0,ct.Z)(o=>{const{targetSnapshot:s,guards:{canActivateChecks:d}}=o;if(!d.length)return(0,R.of)(o);const f=new Set(d.map(S=>S.route)),v=new Set;for(const S of f)if(!v.has(S))for(const G of Wl(S))v.add(G);let T=0;return(0,H.H)(v).pipe((0,Vt.H)(S=>f.has(S)?function ua(p,l,o,s){const d=p.routeConfig,f=p._resolve;return void 0!==d?.title&&!to(d)&&(f[Rt]=d.title),function Ro(p,l,o,s){const d=bn(p);if(0===d.length)return(0,R.of)({});const f={};return(0,H.H)(d).pipe((0,ct.Z)(v=>function Es(p,l,o,s){const d=Tt(l)??s,f=Yn(p,d);return Bn(f.resolve?f.resolve(l,o):(0,c.N4e)(d,()=>f(l,o)))}(p[v],l,o,s).pipe((0,st.$)(),(0,He.M)(T=>{if(T instanceof Po)throw kr(new pi,T);f[v]=T}))),(0,le.o)(1),(0,ue.u)(f),(0,te.W)(v=>wo(v)?me.w:(0,W.$)(v)))}(f,p,l,s).pipe((0,Ae.T)(v=>(p._resolvedData=v,p.data=Mr(p,p.parent,o).resolve,null)))}(S,s,p,l):(S.data=Mr(S,S.parent,p).resolve,(0,R.of)(void 0))),(0,He.M)(()=>T++),(0,le.o)(1),(0,ct.Z)(S=>T===v.size?(0,R.of)(o):me.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,He.M)({next:()=>J=!0,complete:()=>{J||this.cancelNavigationTransition(G,"",yn.NoDataFromResolver)}}))}),(0,He.M)(G=>{const J=new Qn(G.id,this.urlSerializer.serialize(G.extractedUrl),this.urlSerializer.serialize(G.urlAfterRedirects),G.targetSnapshot);this.events.next(J)}))}),ts(S=>{const G=J=>{const ge=[];J.routeConfig?.loadComponent&&!J.routeConfig._loadedComponent&&ge.push(this.configLoader.loadComponent(J.routeConfig).pipe((0,He.M)(we=>{J.component=we}),(0,Ae.T)(()=>{})));for(const we of J.children)ge.push(...G(we));return ge};return(0,U.z)(G(S.targetSnapshot.root)).pipe((0,Xe.U)(null),(0,qe.s)(1))}),ts(()=>this.afterPreactivation()),(0,je.n)(()=>{const{currentSnapshot:S,targetSnapshot:G}=f,J=this.createViewTransition?.(this.environmentInjector,S.root,G.root);return J?(0,H.H)(J).pipe((0,Ae.T)(()=>f)):(0,R.of)(f)}),(0,Ae.T)(S=>{const G=function gs(p,l,o){const s=vo(p,l._root,o?o._root:void 0);return new Cn(s,l)}(o.routeReuseStrategy,S.targetSnapshot,S.currentRouterState);return this.currentTransition=f={...S,targetRouterState:G},this.currentNavigation.targetRouterState=G,f}),(0,He.M)(()=>{this.events.next(new Fi)}),((p,l,o,s)=>(0,Ae.T)(d=>(new oi(l,d.targetRouterState,d.currentRouterState,o,s).activate(p),d)))(this.rootContexts,o.routeReuseStrategy,S=>this.events.next(S),this.inputBindingEnabled),(0,qe.s)(1),(0,He.M)({next:S=>{v=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Sn(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects))),this.titleStrategy?.updateTitle(S.targetRouterState.snapshot),S.resolve(!0)},complete:()=>{v=!0}}),(0,Ye.Q)(this.transitionAbortSubject.pipe((0,He.M)(S=>{throw S}))),(0,Oe.j)(()=>{!v&&!T&&this.cancelNavigationTransition(f,"",yn.SupersededByNewNavigation),this.currentTransition?.id===f.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,te.W)(S=>{if(T=!0,No(S))this.events.next(new Er(f.id,this.urlSerializer.serialize(f.extractedUrl),S.message,S.cancellationCode)),function Ao(p){return No(p)&&Mt(p.url)}(S)?this.events.next(new Ji(S.url,S.navigationBehaviorOptions)):f.resolve(!1);else{const G=new ni(f.id,this.urlSerializer.serialize(f.extractedUrl),S,f.targetSnapshot??void 0);try{const J=(0,c.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(G));if(J instanceof Po){const{message:ge,cancellationCode:we}=kr(0,J);this.events.next(new Er(f.id,this.urlSerializer.serialize(f.extractedUrl),ge,we)),this.events.next(new Ji(J.redirectTo,J.navigationBehaviorOptions))}else{this.events.next(G);const ge=o.errorHandler(S);f.resolve(!!ge)}}catch(J){this.options.resolveNavigationPromiseOnError?f.resolve(!1):f.reject(J)}}return me.w}))}))}cancelNavigationTransition(o,s,d){const f=new Er(o.id,this.urlSerializer.serialize(o.extractedUrl),s,d);this.events.next(f),o.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const o=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),s=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return o.toString()!==s?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(s){return new(s||p)}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();function Fo(p){return p!==Nr}let Ms=(()=>{class p{static{this.\u0275fac=function(s){return new(s||p)}}static{this.\u0275prov=c.jDH({token:p,factory:()=>(0,c.WQX)(m),providedIn:"root"})}}return p})();class Ci{shouldDetach(l){return!1}store(l,o){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,o){return l.routeConfig===o.routeConfig}}let m=(()=>{class p extends Ci{static{this.\u0275fac=(()=>{let o;return function(d){return(o||(o=c.xGo(p)))(d||p)}})()}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),b=(()=>{class p{static{this.\u0275fac=function(s){return new(s||p)}}static{this.\u0275prov=c.jDH({token:p,factory:()=>(0,c.WQX)(_),providedIn:"root"})}}return p})(),_=(()=>{class p extends b{constructor(){super(...arguments),this.location=(0,c.WQX)(Re.aZ),this.urlSerializer=(0,c.WQX)(Ii),this.options=(0,c.WQX)(Bi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,c.WQX)(qs),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Pn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=zr(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(o){return this.location.subscribe(s=>{"popstate"===s.type&&o(s.url,s.state)})}handleRouterEvent(o,s){if(o instanceof ti)this.stateMemento=this.createStateMemento();else if(o instanceof Hr)this.rawUrlTree=s.initialUrl;else if(o instanceof Ai){if("eager"===this.urlUpdateStrategy&&!s.extras.skipLocationChange){const d=this.urlHandlingStrategy.merge(s.finalUrl,s.initialUrl);this.setBrowserUrl(s.targetBrowserUrl??d,s)}}else o instanceof Fi?(this.currentUrlTree=s.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(s.finalUrl,s.initialUrl),this.routerState=s.targetRouterState,"deferred"===this.urlUpdateStrategy&&!s.extras.skipLocationChange&&this.setBrowserUrl(s.targetBrowserUrl??this.rawUrlTree,s)):o instanceof Er&&(o.code===yn.GuardRejected||o.code===yn.NoDataFromResolver)?this.restoreHistory(s):o instanceof ni?this.restoreHistory(s,!0):o instanceof Sn&&(this.lastSuccessfulId=o.id,this.currentPageId=this.browserPageId)}setBrowserUrl(o,s){const d=o instanceof Pn?this.urlSerializer.serialize(o):o;if(this.location.isCurrentPathEqualTo(d)||s.extras.replaceUrl){const v={...s.extras.state,...this.generateNgRouterState(s.id,this.browserPageId)};this.location.replaceState(d,"",v)}else{const f={...s.extras.state,...this.generateNgRouterState(s.id,this.browserPageId+1)};this.location.go(d,"",f)}}restoreHistory(o,s=!1){if("computed"===this.canceledNavigationResolution){const f=this.currentPageId-this.browserPageId;0!==f?this.location.historyGo(f):this.currentUrlTree===o.finalUrl&&0===f&&(this.resetState(o),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(s&&this.resetState(o),this.resetUrlToCurrentUrlTree())}resetState(o){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,o.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(o,s){return"computed"===this.canceledNavigationResolution?{navigationId:o,\u0275routerPageId:s}:{navigationId:o}}static{this.\u0275fac=(()=>{let o;return function(d){return(o||(o=c.xGo(p)))(d||p)}})()}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var M=function(p){return p[p.COMPLETE=0]="COMPLETE",p[p.FAILED=1]="FAILED",p[p.REDIRECTING=2]="REDIRECTING",p}(M||{});function L(p,l){p.events.pipe((0,wt.p)(o=>o instanceof Sn||o instanceof Er||o instanceof ni||o instanceof Hr),(0,Ae.T)(o=>o instanceof Sn||o instanceof Hr?M.COMPLETE:o instanceof Er&&(o.code===yn.Redirect||o.code===yn.SupersededByNewNavigation)?M.REDIRECTING:M.FAILED),(0,wt.p)(o=>o!==M.REDIRECTING),(0,qe.s)(1)).subscribe(()=>{l()})}function re(p){throw p}const pe={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ne={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let It=(()=>{class p{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,c.WQX)(c.H3F),this.stateManager=(0,c.WQX)(b),this.options=(0,c.WQX)(Bi,{optional:!0})||{},this.pendingTasks=(0,c.WQX)(c.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,c.WQX)(ji),this.urlSerializer=(0,c.WQX)(Ii),this.location=(0,c.WQX)(Re.aZ),this.urlHandlingStrategy=(0,c.WQX)(qs),this._events=new _e.B,this.errorHandler=this.options.errorHandler||re,this.navigated=!1,this.routeReuseStrategy=(0,c.WQX)(Ms),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,c.WQX)(bt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,c.WQX)(yi,{optional:!0}),this.eventsSubscription=new Me.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:o=>{this.console.warn(o)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const o=this.navigationTransitions.events.subscribe(s=>{try{const d=this.navigationTransitions.currentTransition,f=this.navigationTransitions.currentNavigation;if(null!==d&&null!==f)if(this.stateManager.handleRouterEvent(s,f),s instanceof Er&&s.code!==yn.Redirect&&s.code!==yn.SupersededByNewNavigation)this.navigated=!0;else if(s instanceof Sn)this.navigated=!0;else if(s instanceof Ji){const v=s.navigationBehaviorOptions,T=this.urlHandlingStrategy.merge(s.url,d.currentRawUrl),S={browserUrl:d.extras.browserUrl,info:d.extras.info,skipLocationChange:d.extras.skipLocationChange,replaceUrl:d.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Fo(d.source),...v};this.scheduleNavigation(T,Nr,null,S,{resolve:d.resolve,reject:d.reject,promise:d.promise})}(function Wt(p){return!(p instanceof Fi||p instanceof Ji)})(s)&&this._events.next(s)}catch(d){this.navigationTransitions.transitionAbortSubject.next(d)}});this.eventsSubscription.add(o)}resetRootComponentType(o){this.routerState.root.component=o,this.navigationTransitions.rootComponentType=o}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Nr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((o,s)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(o,"popstate",s)},0)})}navigateToSyncWithBrowser(o,s,d){const f={replaceUrl:!0},v=d?.navigationId?d:null;if(d){const S={...d};delete S.navigationId,delete S.\u0275routerPageId,0!==Object.keys(S).length&&(f.state=S)}const T=this.parseUrl(o);this.scheduleNavigation(T,s,v,f)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(o){this.config=o.map(nt),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(o,s={}){const{relativeTo:d,queryParams:f,fragment:v,queryParamsHandling:T,preserveFragment:S}=s,G=S?this.currentUrlTree.fragment:v;let ge,J=null;switch(T??this.options.defaultQueryParamsHandling){case"merge":J={...this.currentUrlTree.queryParams,...f};break;case"preserve":J=this.currentUrlTree.queryParams;break;default:J=f||null}null!==J&&(J=this.removeEmptyProps(J));try{ge=An(d?d.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof o[0]||"/"!==o[0][0])&&(o=[]),ge=this.currentUrlTree.root}return Oi(ge,o,J,G??null)}navigateByUrl(o,s={skipLocationChange:!1}){const d=Mt(o)?o:this.parseUrl(o),f=this.urlHandlingStrategy.merge(d,this.rawUrlTree);return this.scheduleNavigation(f,Nr,null,s)}navigate(o,s={skipLocationChange:!1}){return function mt(p){for(let l=0;l<p.length;l++)if(null==p[l])throw new c.wOt(4008,!1)}(o),this.navigateByUrl(this.createUrlTree(o,s),s)}serializeUrl(o){return this.urlSerializer.serialize(o)}parseUrl(o){try{return this.urlSerializer.parse(o)}catch{return this.urlSerializer.parse("/")}}isActive(o,s){let d;if(d=!0===s?{...pe}:!1===s?{...Ne}:s,Mt(o))return In(this.currentUrlTree,o,d);const f=this.parseUrl(o);return In(this.currentUrlTree,f,d)}removeEmptyProps(o){return Object.entries(o).reduce((s,[d,f])=>(null!=f&&(s[d]=f),s),{})}scheduleNavigation(o,s,d,f,v){if(this.disposed)return Promise.resolve(!1);let T,S,G;v?(T=v.resolve,S=v.reject,G=v.promise):G=new Promise((ge,we)=>{T=ge,S=we});const J=this.pendingTasks.add();return L(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(J))}),this.navigationTransitions.handleNavigationRequest({source:s,restoredState:d,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:o,extras:f,resolve:T,reject:S,promise:G,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),G.catch(ge=>Promise.reject(ge))}static{this.\u0275fac=function(s){return new(s||p)}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),ve=(()=>{class p{constructor(o,s,d,f,v,T){this.router=o,this.route=s,this.tabIndexAttribute=d,this.renderer=f,this.el=v,this.locationStrategy=T,this.href=null,this.onChanges=new _e.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const S=v.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===S||"area"===S,this.isAnchorElement?this.subscription=o.events.subscribe(G=>{G instanceof Sn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(o){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",o)}ngOnChanges(o){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(o){null==o?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=Mt(o)||Array.isArray(o)?o:[o],this.setTabIndexIfNotOnNativeEl("0"))}onClick(o,s,d,f,v){const T=this.urlTree;return!!(null===T||this.isAnchorElement&&(0!==o||s||d||f||v||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(T,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const o=this.urlTree;this.href=null!==o&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(o)):null;const s=null===this.href?null:(0,c.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",s)}applyAttributeValue(o,s){const d=this.renderer,f=this.el.nativeElement;null!==s?d.setAttribute(f,o,s):d.removeAttribute(f,o)}get urlTree(){return null===this.routerLinkInput?null:Mt(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(s){return new(s||p)(c.rXU(It),c.rXU(en),c.kS0("tabindex"),c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(Re.hb))}}static{this.\u0275dir=c.FsC({type:p,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(s,d){1&s&&c.bIt("click",function(v){return d.onClick(v.button,v.ctrlKey,v.shiftKey,v.altKey,v.metaKey)}),2&s&&c.BMQ("target",d.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",c.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",c.L39],replaceUrl:[2,"replaceUrl","replaceUrl",c.L39],routerLink:"routerLink"},standalone:!0,features:[c.GFd,c.OA$]})}}return p})();class un{}let Eo=(()=>{class p{constructor(o,s,d,f,v){this.router=o,this.injector=d,this.preloadingStrategy=f,this.loader=v}setUpPreloading(){this.subscription=this.router.events.pipe((0,wt.p)(o=>o instanceof Sn),(0,Vt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(o,s){const d=[];for(const f of s){f.providers&&!f._injector&&(f._injector=(0,c.Ol2)(f.providers,o,`Route: ${f.path}`));const v=f._injector??o,T=f._loadedInjector??v;(f.loadChildren&&!f._loadedRoutes&&void 0===f.canLoad||f.loadComponent&&!f._loadedComponent)&&d.push(this.preloadConfig(v,f)),(f.children||f._loadedRoutes)&&d.push(this.processRoutes(T,f.children??f._loadedRoutes))}return(0,H.H)(d).pipe((0,rt.U)())}preloadConfig(o,s){return this.preloadingStrategy.preload(s,()=>{let d;d=s.loadChildren&&void 0===s.canLoad?this.loader.loadChildren(o,s):(0,R.of)(null);const f=d.pipe((0,ct.Z)(v=>null===v?(0,R.of)(void 0):(s._loadedRoutes=v.routes,s._loadedInjector=v.injector,this.processRoutes(v.injector??o,v.routes))));if(s.loadComponent&&!s._loadedComponent){const v=this.loader.loadComponent(s);return(0,H.H)([f,v]).pipe((0,rt.U)())}return f})}static{this.\u0275fac=function(s){return new(s||p)(c.KVO(It),c.KVO(c.Ql9),c.KVO(c.uvJ),c.KVO(un),c.KVO(ja))}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();const si=new c.nKC("");let qr=(()=>{class p{constructor(o,s,d,f,v={}){this.urlSerializer=o,this.transitions=s,this.viewportScroller=d,this.zone=f,this.options=v,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},v.scrollPositionRestoration||="disabled",v.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(o=>{o instanceof ti?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=o.navigationTrigger,this.restoredId=o.restoredState?o.restoredState.navigationId:0):o instanceof Sn?(this.lastId=o.id,this.scheduleScrollEvent(o,this.urlSerializer.parse(o.urlAfterRedirects).fragment)):o instanceof Hr&&o.code===xr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(o,this.urlSerializer.parse(o.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(o=>{o instanceof Ri&&(o.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(o.position):o.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(o.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(o,s){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ri(o,"popstate"===this.lastSource?this.store[this.restoredId]:null,s))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(s){c.QTQ()}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac})}}return p})();function Ur(p,l){return{\u0275kind:p,\u0275providers:l}}function bs(){const p=(0,c.WQX)(c.zZn);return l=>{const o=p.get(c.o8S);if(l!==o.components[0])return;const s=p.get(It),d=p.get(ns);1===p.get(Wn)&&s.initialNavigation(),p.get(Yl,null,c.$GK.Optional)?.setUpPreloading(),p.get(si,null,c.$GK.Optional)?.init(),s.resetRootComponentType(o.componentTypes[0]),d.closed||(d.next(),d.complete(),d.unsubscribe())}}const ns=new c.nKC("",{factory:()=>new _e.B}),Wn=new c.nKC("",{providedIn:"root",factory:()=>1}),Yl=new c.nKC("");function Qr(p){return Ur(0,[{provide:Yl,useExisting:Eo},{provide:un,useExisting:p}])}function ao(p){return Ur(9,[{provide:Dt,useValue:ha},{provide:Ds,useValue:{skipNextTransition:!!p?.skipInitialTransition,...p}}])}const Ei=new c.nKC("ROUTER_FORROOT_GUARD"),Jl=[Re.aZ,{provide:Ii,useClass:pi},It,qt,{provide:en,useFactory:function ai(p){return p.routerState.root},deps:[It]},ja,[]];let pa=(()=>{class p{constructor(o){}static forRoot(o,s){return{ngModule:p,providers:[Jl,[],{provide:bt,multi:!0,useValue:o},{provide:Ei,useFactory:lo,deps:[[It,new c.Xx1,new c.kdw]]},{provide:Bi,useValue:s||{}},s?.useHash?{provide:Re.hb,useClass:Re.fw}:{provide:Re.hb,useClass:Re.Sm},{provide:si,useFactory:()=>{const p=(0,c.WQX)(Re.Xr),l=(0,c.WQX)(c.SKi),o=(0,c.WQX)(Bi),s=(0,c.WQX)(ji),d=(0,c.WQX)(Ii);return o.scrollOffset&&p.setOffset(o.scrollOffset),new qr(d,s,p,l,o)}},s?.preloadingStrategy?Qr(s.preloadingStrategy).\u0275providers:[],s?.initialNavigation?ya(s):[],s?.bindToComponentInputs?Ur(8,[Oo,{provide:yi,useExisting:Oo}]).\u0275providers:[],s?.enableViewTransitions?ao().\u0275providers:[],[{provide:Ts,useFactory:bs},{provide:c.iLQ,multi:!0,useExisting:Ts}]]}}static forChild(o){return{ngModule:p,providers:[{provide:bt,multi:!0,useValue:o}]}}static{this.\u0275fac=function(s){return new(s||p)(c.KVO(Ei,8))}}static{this.\u0275mod=c.$C({type:p})}static{this.\u0275inj=c.G2t({})}}return p})();function lo(p){return"guarded"}function ya(p){return["disabled"===p.initialNavigation?Ur(3,[{provide:c.hnV,multi:!0,useFactory:()=>{const l=(0,c.WQX)(It);return()=>{l.setUpLocationChangeListener()}}},{provide:Wn,useValue:2}]).\u0275providers:[],"enabledBlocking"===p.initialNavigation?Ur(2,[{provide:Wn,useValue:0},{provide:c.hnV,multi:!0,deps:[c.zZn],useFactory:l=>{const o=l.get(Re.hj,Promise.resolve());return()=>o.then(()=>new Promise(s=>{const d=l.get(It),f=l.get(ns);L(d,()=>{s(!0)}),l.get(ji).afterPreactivation=()=>(s(!0),f.closed?(0,R.of)(void 0):f),d.initialNavigation()}))}}]).\u0275providers:[]]}const Ts=new c.nKC("")},5037:(oe,j,O)=>{"use strict";O.d(j,{fg:()=>mi,gB:()=>eo});var c=O(3953);function I(A,k,F,Z,se,Ce,be){try{var ke=A[Ce](be),Fe=ke.value}catch(Tt){return void F(Tt)}ke.done?k(Fe):Promise.resolve(Fe).then(Z,se)}function H(A){return function(){var k=this,F=arguments;return new Promise(function(Z,se){var Ce=A.apply(k,F);function be(Fe){I(Ce,Z,se,be,ke,"next",Fe)}function ke(Fe){I(Ce,Z,se,be,ke,"throw",Fe)}be(void 0)})}}var R=O(7673),x=O(1985),U=O(6648),z=O(274),B=O(5964),X=O(6354),K=O(980),W=O(5558),me=O(177);class Ee{}class _e{}class Me{constructor(k){this.normalizedNames=new Map,this.lazyUpdate=null,k?"string"==typeof k?this.lazyInit=()=>{this.headers=new Map,k.split("\n").forEach(F=>{const Z=F.indexOf(":");if(Z>0){const se=F.slice(0,Z),Ce=se.toLowerCase(),be=F.slice(Z+1).trim();this.maybeSetNormalizedName(se,Ce),this.headers.has(Ce)?this.headers.get(Ce).push(be):this.headers.set(Ce,[be])}})}:typeof Headers<"u"&&k instanceof Headers?(this.headers=new Map,k.forEach((F,Z)=>{this.setHeaderEntries(Z,F)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(k).forEach(([F,Z])=>{this.setHeaderEntries(F,Z)})}:this.headers=new Map}has(k){return this.init(),this.headers.has(k.toLowerCase())}get(k){this.init();const F=this.headers.get(k.toLowerCase());return F&&F.length>0?F[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(k){return this.init(),this.headers.get(k.toLowerCase())||null}append(k,F){return this.clone({name:k,value:F,op:"a"})}set(k,F){return this.clone({name:k,value:F,op:"s"})}delete(k,F){return this.clone({name:k,value:F,op:"d"})}maybeSetNormalizedName(k,F){this.normalizedNames.has(F)||this.normalizedNames.set(F,k)}init(){this.lazyInit&&(this.lazyInit instanceof Me?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(k=>this.applyUpdate(k)),this.lazyUpdate=null))}copyFrom(k){k.init(),Array.from(k.headers.keys()).forEach(F=>{this.headers.set(F,k.headers.get(F)),this.normalizedNames.set(F,k.normalizedNames.get(F))})}clone(k){const F=new Me;return F.lazyInit=this.lazyInit&&this.lazyInit instanceof Me?this.lazyInit:this,F.lazyUpdate=(this.lazyUpdate||[]).concat([k]),F}applyUpdate(k){const F=k.name.toLowerCase();switch(k.op){case"a":case"s":let Z=k.value;if("string"==typeof Z&&(Z=[Z]),0===Z.length)return;this.maybeSetNormalizedName(k.name,F);const se=("a"===k.op?this.headers.get(F):void 0)||[];se.push(...Z),this.headers.set(F,se);break;case"d":const Ce=k.value;if(Ce){let be=this.headers.get(F);if(!be)return;be=be.filter(ke=>-1===Ce.indexOf(ke)),0===be.length?(this.headers.delete(F),this.normalizedNames.delete(F)):this.headers.set(F,be)}else this.headers.delete(F),this.normalizedNames.delete(F)}}setHeaderEntries(k,F){const Z=(Array.isArray(F)?F:[F]).map(Ce=>Ce.toString()),se=k.toLowerCase();this.headers.set(se,Z),this.maybeSetNormalizedName(k,se)}forEach(k){this.init(),Array.from(this.normalizedNames.keys()).forEach(F=>k(this.normalizedNames.get(F),this.headers.get(F)))}}class Ae{encodeKey(k){return wt(k)}encodeValue(k){return wt(k)}decodeKey(k){return decodeURIComponent(k)}decodeValue(k){return decodeURIComponent(k)}}const qe=/%(\d[a-f0-9])/gi,ft={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function wt(A){return encodeURIComponent(A).replace(qe,(k,F)=>ft[F]??k)}function ct(A){return`${A}`}class st{constructor(k={}){if(this.updates=null,this.cloneFrom=null,this.encoder=k.encoder||new Ae,k.fromString){if(k.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function je(A,k){const F=new Map;return A.length>0&&A.replace(/^\?/,"").split("&").forEach(se=>{const Ce=se.indexOf("="),[be,ke]=-1==Ce?[k.decodeKey(se),""]:[k.decodeKey(se.slice(0,Ce)),k.decodeValue(se.slice(Ce+1))],Fe=F.get(be)||[];Fe.push(ke),F.set(be,Fe)}),F}(k.fromString,this.encoder)}else k.fromObject?(this.map=new Map,Object.keys(k.fromObject).forEach(F=>{const Z=k.fromObject[F],se=Array.isArray(Z)?Z.map(ct):[ct(Z)];this.map.set(F,se)})):this.map=null}has(k){return this.init(),this.map.has(k)}get(k){this.init();const F=this.map.get(k);return F?F[0]:null}getAll(k){return this.init(),this.map.get(k)||null}keys(){return this.init(),Array.from(this.map.keys())}append(k,F){return this.clone({param:k,value:F,op:"a"})}appendAll(k){const F=[];return Object.keys(k).forEach(Z=>{const se=k[Z];Array.isArray(se)?se.forEach(Ce=>{F.push({param:Z,value:Ce,op:"a"})}):F.push({param:Z,value:se,op:"a"})}),this.clone(F)}set(k,F){return this.clone({param:k,value:F,op:"s"})}delete(k,F){return this.clone({param:k,value:F,op:"d"})}toString(){return this.init(),this.keys().map(k=>{const F=this.encoder.encodeKey(k);return this.map.get(k).map(Z=>F+"="+this.encoder.encodeValue(Z)).join("&")}).filter(k=>""!==k).join("&")}clone(k){const F=new st({encoder:this.encoder});return F.cloneFrom=this.cloneFrom||this,F.updates=(this.updates||[]).concat(k),F}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(k=>this.map.set(k,this.cloneFrom.map.get(k))),this.updates.forEach(k=>{switch(k.op){case"a":case"s":const F=("a"===k.op?this.map.get(k.param):void 0)||[];F.push(ct(k.value)),this.map.set(k.param,F);break;case"d":if(void 0===k.value){this.map.delete(k.param);break}{let Z=this.map.get(k.param)||[];const se=Z.indexOf(ct(k.value));-1!==se&&Z.splice(se,1),Z.length>0?this.map.set(k.param,Z):this.map.delete(k.param)}}}),this.cloneFrom=this.updates=null)}}class He{constructor(){this.map=new Map}set(k,F){return this.map.set(k,F),this}get(k){return this.map.has(k)||this.map.set(k,k.defaultValue()),this.map.get(k)}delete(k){return this.map.delete(k),this}has(k){return this.map.has(k)}keys(){return this.map.keys()}}function ye(A){return typeof ArrayBuffer<"u"&&A instanceof ArrayBuffer}function Xe(A){return typeof Blob<"u"&&A instanceof Blob}function ae(A){return typeof FormData<"u"&&A instanceof FormData}class ue{constructor(k,F,Z,se){let Ce;if(this.url=F,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=k.toUpperCase(),function te(A){switch(A){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||se?(this.body=void 0!==Z?Z:null,Ce=se):Ce=Z,Ce&&(this.reportProgress=!!Ce.reportProgress,this.withCredentials=!!Ce.withCredentials,Ce.responseType&&(this.responseType=Ce.responseType),Ce.headers&&(this.headers=Ce.headers),Ce.context&&(this.context=Ce.context),Ce.params&&(this.params=Ce.params),this.transferCache=Ce.transferCache),this.headers??=new Me,this.context??=new He,this.params){const be=this.params.toString();if(0===be.length)this.urlWithParams=F;else{const ke=F.indexOf("?");this.urlWithParams=F+(-1===ke?"?":ke<F.length-1?"&":"")+be}}else this.params=new st,this.urlWithParams=F}serializeBody(){return null===this.body?null:"string"==typeof this.body||ye(this.body)||Xe(this.body)||ae(this.body)||function le(A){return typeof URLSearchParams<"u"&&A instanceof URLSearchParams}(this.body)?this.body:this.body instanceof st?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||ae(this.body)?null:Xe(this.body)?this.body.type||null:ye(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof st?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(k={}){const F=k.method||this.method,Z=k.url||this.url,se=k.responseType||this.responseType,Ce=k.transferCache??this.transferCache,be=void 0!==k.body?k.body:this.body,ke=k.withCredentials??this.withCredentials,Fe=k.reportProgress??this.reportProgress;let Tt=k.headers||this.headers,Nn=k.params||this.params;const qt=k.context??this.context;return void 0!==k.setHeaders&&(Tt=Object.keys(k.setHeaders).reduce((Jt,an)=>Jt.set(an,k.setHeaders[an]),Tt)),k.setParams&&(Nn=Object.keys(k.setParams).reduce((Jt,an)=>Jt.set(an,k.setParams[an]),Nn)),new ue(F,Z,be,{params:Nn,headers:Tt,context:qt,reportProgress:Fe,responseType:se,withCredentials:ke,transferCache:Ce})}}var Oe=function(A){return A[A.Sent=0]="Sent",A[A.UploadProgress=1]="UploadProgress",A[A.ResponseHeader=2]="ResponseHeader",A[A.DownloadProgress=3]="DownloadProgress",A[A.Response=4]="Response",A[A.User=5]="User",A}(Oe||{});class et{constructor(k,F=200,Z="OK"){this.headers=k.headers||new Me,this.status=void 0!==k.status?k.status:F,this.statusText=k.statusText||Z,this.url=k.url||null,this.ok=this.status>=200&&this.status<300}}class Ye extends et{constructor(k={}){super(k),this.type=Oe.ResponseHeader}clone(k={}){return new Ye({headers:k.headers||this.headers,status:void 0!==k.status?k.status:this.status,statusText:k.statusText||this.statusText,url:k.url||this.url||void 0})}}class rt extends et{constructor(k={}){super(k),this.type=Oe.Response,this.body=void 0!==k.body?k.body:null}clone(k={}){return new rt({body:void 0!==k.body?k.body:this.body,headers:k.headers||this.headers,status:void 0!==k.status?k.status:this.status,statusText:k.statusText||this.statusText,url:k.url||this.url||void 0})}}class St extends et{constructor(k){super(k,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${k.url||"(unknown url)"}`:`Http failure response for ${k.url||"(unknown url)"}: ${k.status} ${k.statusText}`,this.error=k.error||null}}function Ut(A,k){return{body:k,headers:A.headers,context:A.context,observe:A.observe,params:A.params,reportProgress:A.reportProgress,responseType:A.responseType,withCredentials:A.withCredentials,transferCache:A.transferCache}}let Pt=(()=>{class A{constructor(F){this.handler=F}request(F,Z,se={}){let Ce;if(F instanceof ue)Ce=F;else{let Fe,Tt;Fe=se.headers instanceof Me?se.headers:new Me(se.headers),se.params&&(Tt=se.params instanceof st?se.params:new st({fromObject:se.params})),Ce=new ue(F,Z,void 0!==se.body?se.body:null,{headers:Fe,context:se.context,params:Tt,reportProgress:se.reportProgress,responseType:se.responseType||"json",withCredentials:se.withCredentials,transferCache:se.transferCache})}const be=(0,R.of)(Ce).pipe((0,z.H)(Fe=>this.handler.handle(Fe)));if(F instanceof ue||"events"===se.observe)return be;const ke=be.pipe((0,B.p)(Fe=>Fe instanceof rt));switch(se.observe||"body"){case"body":switch(Ce.responseType){case"arraybuffer":return ke.pipe((0,X.T)(Fe=>{if(null!==Fe.body&&!(Fe.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Fe.body}));case"blob":return ke.pipe((0,X.T)(Fe=>{if(null!==Fe.body&&!(Fe.body instanceof Blob))throw new Error("Response is not a Blob.");return Fe.body}));case"text":return ke.pipe((0,X.T)(Fe=>{if(null!==Fe.body&&"string"!=typeof Fe.body)throw new Error("Response is not a string.");return Fe.body}));default:return ke.pipe((0,X.T)(Fe=>Fe.body))}case"response":return ke;default:throw new Error(`Unreachable: unhandled observe type ${se.observe}}`)}}delete(F,Z={}){return this.request("DELETE",F,Z)}get(F,Z={}){return this.request("GET",F,Z)}head(F,Z={}){return this.request("HEAD",F,Z)}jsonp(F,Z){return this.request("JSONP",F,{params:(new st).append(Z,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(F,Z={}){return this.request("OPTIONS",F,Z)}patch(F,Z,se={}){return this.request("PATCH",F,Ut(se,Z))}post(F,Z,se={}){return this.request("POST",F,Ut(se,Z))}put(F,Z,se={}){return this.request("PUT",F,Ut(se,Z))}static{this.\u0275fac=function(Z){return new(Z||A)(c.KVO(Ee))}}static{this.\u0275prov=c.jDH({token:A,factory:A.\u0275fac})}}return A})();const Tn=/^\)\]\}',?\n/;function bn(A){if(A.url)return A.url;const k="X-Request-URL".toLocaleLowerCase();return A.headers.get(k)}let Un=(()=>{class A{constructor(){this.fetchImpl=(0,c.WQX)(ir,{optional:!0})?.fetch??((...F)=>globalThis.fetch(...F)),this.ngZone=(0,c.WQX)(c.SKi)}handle(F){return new x.c(Z=>{const se=new AbortController;return this.doRequest(F,se.signal,Z).then(Bn,Ce=>Z.error(new St({error:Ce}))),()=>se.abort()})}doRequest(F,Z,se){var Ce=this;return H(function*(){const be=Ce.createRequestInit(F);let ke;try{const fn=Ce.ngZone.runOutsideAngular(()=>Ce.fetchImpl(F.urlWithParams,{signal:Z,...be}));(function Ki(A){A.then(Bn,Bn)})(fn),se.next({type:Oe.Sent}),ke=yield fn}catch(fn){return void se.error(new St({error:fn,status:fn.status??0,statusText:fn.statusText,url:F.urlWithParams,headers:fn.headers}))}const Fe=new Me(ke.headers),Tt=ke.statusText,Nn=bn(ke)??F.urlWithParams;let qt=ke.status,Jt=null;if(F.reportProgress&&se.next(new Ye({headers:Fe,status:qt,statusText:Tt,url:Nn})),ke.body){const fn=ke.headers.get("content-length"),ut=[],Nt=ke.body.getReader();let zr,Ht,Cn=0;const en=typeof Zone<"u"&&Zone.current;yield Ce.ngZone.runOutsideAngular(H(function*(){for(;;){const{done:jn,value:ri}=yield Nt.read();if(jn)break;if(ut.push(ri),Cn+=ri.length,F.reportProgress){Ht="text"===F.responseType?(Ht??"")+(zr??=new TextDecoder).decode(ri,{stream:!0}):void 0;const ii=()=>se.next({type:Oe.DownloadProgress,total:fn?+fn:void 0,loaded:Cn,partialText:Ht});en?en.run(ii):ii()}}}));const Mr=Ce.concatChunks(ut,Cn);try{const jn=ke.headers.get("Content-Type")??"";Jt=Ce.parseBody(F,Mr,jn)}catch(jn){return void se.error(new St({error:jn,headers:new Me(ke.headers),status:ke.status,statusText:ke.statusText,url:bn(ke)??F.urlWithParams}))}}0===qt&&(qt=Jt?200:0),qt>=200&&qt<300?(se.next(new rt({body:Jt,headers:Fe,status:qt,statusText:Tt,url:Nn})),se.complete()):se.error(new St({error:Jt,headers:Fe,status:qt,statusText:Tt,url:Nn}))})()}parseBody(F,Z,se){switch(F.responseType){case"json":const Ce=(new TextDecoder).decode(Z).replace(Tn,"");return""===Ce?null:JSON.parse(Ce);case"text":return(new TextDecoder).decode(Z);case"blob":return new Blob([Z],{type:se});case"arraybuffer":return Z.buffer}}createRequestInit(F){const Z={},se=F.withCredentials?"include":void 0;if(F.headers.forEach((Ce,be)=>Z[Ce]=be.join(",")),F.headers.has("Accept")||(Z.Accept="application/json, text/plain, */*"),!F.headers.has("Content-Type")){const Ce=F.detectContentTypeHeader();null!==Ce&&(Z["Content-Type"]=Ce)}return{body:F.serializeBody(),method:F.method,headers:Z,credentials:se}}concatChunks(F,Z){const se=new Uint8Array(Z);let Ce=0;for(const be of F)se.set(be,Ce),Ce+=be.length;return se}static{this.\u0275fac=function(Z){return new(Z||A)}}static{this.\u0275prov=c.jDH({token:A,factory:A.\u0275fac})}}return A})();class ir{}function Bn(){}function sn(A,k){return k(A)}function In(A,k){return(F,Z)=>k.intercept(F,{handle:se=>A(se,Z)})}const On=new c.nKC(""),mr=new c.nKC(""),Hn=new c.nKC(""),or=new c.nKC("",{providedIn:"root",factory:()=>!0});function Zt(){let A=null;return(k,F)=>{null===A&&(A=((0,c.WQX)(On,{optional:!0})??[]).reduceRight(In,sn));const Z=(0,c.WQX)(c.TgB);if((0,c.WQX)(or)){const Ce=Z.add();return A(k,F).pipe((0,K.j)(()=>Z.remove(Ce)))}return A(k,F)}}let qn=(()=>{class A extends Ee{constructor(F,Z){super(),this.backend=F,this.injector=Z,this.chain=null,this.pendingTasks=(0,c.WQX)(c.TgB),this.contributeToStability=(0,c.WQX)(or)}handle(F){if(null===this.chain){const Z=Array.from(new Set([...this.injector.get(mr),...this.injector.get(Hn,[])]));this.chain=Z.reduceRight((se,Ce)=>function $n(A,k,F){return(Z,se)=>(0,c.N4e)(F,()=>k(Z,Ce=>A(Ce,se)))}(se,Ce,this.injector),sn)}if(this.contributeToStability){const Z=this.pendingTasks.add();return this.chain(F,se=>this.backend.handle(se)).pipe((0,K.j)(()=>this.pendingTasks.remove(Z)))}return this.chain(F,Z=>this.backend.handle(Z))}static{this.\u0275fac=function(Z){return new(Z||A)(c.KVO(_e),c.KVO(c.uvJ))}}static{this.\u0275prov=c.jDH({token:A,factory:A.\u0275fac})}}return A})();const yt=/^\)\]\}',?\n/;let gi=(()=>{class A{constructor(F){this.xhrFactory=F}handle(F){if("JSONP"===F.method)throw new c.wOt(-2800,!1);const Z=this.xhrFactory;return(Z.\u0275loadImpl?(0,U.H)(Z.\u0275loadImpl()):(0,R.of)(null)).pipe((0,W.n)(()=>new x.c(Ce=>{const be=Z.build();if(be.open(F.method,F.urlWithParams),F.withCredentials&&(be.withCredentials=!0),F.headers.forEach((ut,Nt)=>be.setRequestHeader(ut,Nt.join(","))),F.headers.has("Accept")||be.setRequestHeader("Accept","application/json, text/plain, */*"),!F.headers.has("Content-Type")){const ut=F.detectContentTypeHeader();null!==ut&&be.setRequestHeader("Content-Type",ut)}if(F.responseType){const ut=F.responseType.toLowerCase();be.responseType="json"!==ut?ut:"text"}const ke=F.serializeBody();let Fe=null;const Tt=()=>{if(null!==Fe)return Fe;const ut=be.statusText||"OK",Nt=new Me(be.getAllResponseHeaders()),Cn=function Ft(A){return"responseURL"in A&&A.responseURL?A.responseURL:/^X-Request-URL:/m.test(A.getAllResponseHeaders())?A.getResponseHeader("X-Request-URL"):null}(be)||F.url;return Fe=new Ye({headers:Nt,status:be.status,statusText:ut,url:Cn}),Fe},Nn=()=>{let{headers:ut,status:Nt,statusText:Cn,url:zr}=Tt(),Ht=null;204!==Nt&&(Ht=typeof be.response>"u"?be.responseText:be.response),0===Nt&&(Nt=Ht?200:0);let en=Nt>=200&&Nt<300;if("json"===F.responseType&&"string"==typeof Ht){const Mr=Ht;Ht=Ht.replace(yt,"");try{Ht=""!==Ht?JSON.parse(Ht):null}catch(jn){Ht=Mr,en&&(en=!1,Ht={error:jn,text:Ht})}}en?(Ce.next(new rt({body:Ht,headers:ut,status:Nt,statusText:Cn,url:zr||void 0})),Ce.complete()):Ce.error(new St({error:Ht,headers:ut,status:Nt,statusText:Cn,url:zr||void 0}))},qt=ut=>{const{url:Nt}=Tt(),Cn=new St({error:ut,status:be.status||0,statusText:be.statusText||"Unknown Error",url:Nt||void 0});Ce.error(Cn)};let Jt=!1;const an=ut=>{Jt||(Ce.next(Tt()),Jt=!0);let Nt={type:Oe.DownloadProgress,loaded:ut.loaded};ut.lengthComputable&&(Nt.total=ut.total),"text"===F.responseType&&be.responseText&&(Nt.partialText=be.responseText),Ce.next(Nt)},fn=ut=>{let Nt={type:Oe.UploadProgress,loaded:ut.loaded};ut.lengthComputable&&(Nt.total=ut.total),Ce.next(Nt)};return be.addEventListener("load",Nn),be.addEventListener("error",qt),be.addEventListener("timeout",qt),be.addEventListener("abort",qt),F.reportProgress&&(be.addEventListener("progress",an),null!==ke&&be.upload&&be.upload.addEventListener("progress",fn)),be.send(ke),Ce.next({type:Oe.Sent}),()=>{be.removeEventListener("error",qt),be.removeEventListener("abort",qt),be.removeEventListener("load",Nn),be.removeEventListener("timeout",qt),F.reportProgress&&(be.removeEventListener("progress",an),null!==ke&&be.upload&&be.upload.removeEventListener("progress",fn)),be.readyState!==be.DONE&&be.abort()}})))}static{this.\u0275fac=function(Z){return new(Z||A)(c.KVO(me.N0))}}static{this.\u0275prov=c.jDH({token:A,factory:A.\u0275fac})}}return A})();const sr=new c.nKC(""),Cr=new c.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),mn=new c.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Gn{}let ie=(()=>{class A{constructor(F,Z,se){this.doc=F,this.platform=Z,this.cookieName=se,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const F=this.doc.cookie||"";return F!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,me._b)(F,this.cookieName),this.lastCookieString=F),this.lastToken}static{this.\u0275fac=function(Z){return new(Z||A)(c.KVO(me.qQ),c.KVO(c.Agw),c.KVO(Cr))}}static{this.\u0275prov=c.jDH({token:A,factory:A.\u0275fac})}}return A})();function ne(A,k){const F=A.url.toLowerCase();if(!(0,c.WQX)(sr)||"GET"===A.method||"HEAD"===A.method||F.startsWith("http://")||F.startsWith("https://"))return k(A);const Z=(0,c.WQX)(Gn).getToken(),se=(0,c.WQX)(mn);return null!=Z&&!A.headers.has(se)&&(A=A.clone({headers:A.headers.set(se,Z)})),k(A)}var Y=function(A){return A[A.Interceptors=0]="Interceptors",A[A.LegacyInterceptors=1]="LegacyInterceptors",A[A.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",A[A.NoXsrfProtection=3]="NoXsrfProtection",A[A.JsonpSupport=4]="JsonpSupport",A[A.RequestsMadeViaParent=5]="RequestsMadeViaParent",A[A.Fetch=6]="Fetch",A}(Y||{});function de(A,k){return{\u0275kind:A,\u0275providers:k}}function xe(...A){const k=[Pt,gi,qn,{provide:Ee,useExisting:qn},{provide:_e,useFactory:()=>(0,c.WQX)(Un,{optional:!0})??(0,c.WQX)(gi)},{provide:mr,useValue:ne,multi:!0},{provide:sr,useValue:!0},{provide:Gn,useClass:ie}];for(const F of A)k.push(...F.\u0275providers);return(0,c.EmA)(k)}const Et=new c.nKC("");var xr=O(7343),Er=O(6884),Hr=O(9390),ni=O(1960),Ai=O(3971),mo=O.n(Ai),Gr=O(6062),Ni=O.n(Gr),Qn=function(A){return A[A.Error=0]="Error",A[A.Warning=1]="Warning",A[A.Information=2]="Information",A[A.Unknown=3]="Unknown",A}(Qn||{});const qo={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Dr{constructor(k,F){if(this.status=0,this.messages=[],this.meta=function Rr(A){return JSON.parse(JSON.stringify(A))}(qo),this.options={keepUnprocessedResponse:!1},mo()(k)||Ni()(k))throw new Error("The response was unexpectedly undefined or null");F&&(this.options=F),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(k)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(k){return this.messages.filter(F=>F.type===k)}get errors(){return this._getMessages(Qn.Error)}get warnings(){return this._getMessages(Qn.Warning)}get infoMessages(){return this._getMessages(Qn.Information)}_hasMessages(k){return this.messages.filter(F=>F.type===k).length>0}get hasErrors(){return this._hasMessages(Qn.Error)}get hasWarnings(){return this._hasMessages(Qn.Warning)}get hasInfoMessages(){return this._hasMessages(Qn.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class Zi{constructor(k){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={},k.chunk&&(this.isPaged=!0,this.record=parseInt(k.chunk.start,10)||0,this.page=parseInt(k.chunk.current,10)||0,this.pageSize=parseInt(k.chunk.size,10)||0,this.totalPages=parseInt(k.chunk.chunks,10)||0,this.totalRecords=parseInt(k.chunk.records,10)||0),k.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(k.filter.filtered,10)||0);const F=new Set(["paginate","filter"]);Object.keys(k).filter(Z=>!F.has(Z)).forEach(Z=>{this.properties[Z]=k[Z]})}}class xi extends Dr{_parseStatus(k){if(this.status=0,typeof k.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(k.result,10)}_parseMessages(k){if(!k.result){const F=[k.reason];F&&F.length&&F.forEach(Z=>{this.messages.push({type:Qn.Error,message:Z})})}}_reduce_list_data(k){if("object"==typeof k&&!(k instanceof Array)){const F=Object.keys(k);if(1===F.length){const Z=k[F[0]];Z?Z instanceof Array&&(k=Z):k=[]}}return k}constructor(k,F){if(super(k,F),!k)throw new Error("Response object should be defined.");k.metadata&&(this._parseStatus(k.metadata),this._parseMessages(k.metadata),this.meta=new Zi(k.metadata)),this.data=this._reduce_list_data(k.data)}}let mi=(()=>{class A{static{this.\u0275fac=function(Z){return new(Z||A)}}static{this.\u0275mod=c.$C({type:A})}static{this.\u0275inj=c.G2t({providers:[xe(de(Y.LegacyInterceptors,[{provide:Et,useFactory:Zt},{provide:mr,useExisting:Et,multi:!0}]))]})}}return A})(),eo=(()=>{class A{constructor(F){this.http=F}get(F){const Z=F.generate({verb:xr.o.GET,encoder:new Er.CY}),se=this.packageUrl(Z);return this.http.get(se,{headers:this.packageHeaders(Z)}).pipe((0,X.T)(this.packageResponseHandler(se)))}post(F){const Z=F.generate(),se=this.packageUrl(Z);return this.http.post(se,Z.body,{headers:this.packageHeaders(Z)}).pipe((0,X.T)(this.packageResponseHandler(se)))}packageHeaders(F){const Z={};return F.headers.forEach(se=>{Z[se.name]=se.value}),new Me(Z)}packageUrl(F){return new Hr.KL(new ni.N).buildTokenPath(F.url)}packageResponseHandler(F){return Z=>{const se=new xi(Z);return se.meta.properties.url=F,se}}static{this.\u0275fac=function(Z){return new(Z||A)(c.KVO(Pt))}}static{this.\u0275prov=c.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})()},8658:(oe,j,O)=>{"use strict";O.d(j,{B:()=>x});var c=O(3953),I=O(6381);const H=new c.nKC("window"),R=U=>new I.h(U.CLDR,U.LEXICON);let x=(()=>{class U{static{this.\u0275fac=function(X){return new(X||U)}}static{this.\u0275mod=c.$C({type:U})}static{this.\u0275inj=c.G2t({providers:[{provide:H,useValue:window},{provide:I.h,useFactory:R,deps:[H]}]})}}return U})()},389:(oe,j,O)=>{"use strict";O.d(j,{C7:()=>ai,pt:()=>Ur,kj:()=>Kr,Ab:()=>Yl,sb:()=>Qr,uE:()=>Fo,GV:()=>wi,jM:()=>Eo,Wp:()=>ve,rY:()=>rn,NB:()=>Bt,ys:()=>un,br:()=>Ga,Qg:()=>Xs,eK:()=>ec,x6:()=>tc,Sy:()=>$a,tq:()=>Ss,kl:()=>si,H7:()=>qr});var c=O(3953),I=O(177),H=O(1413),R=O(5964),x=O(6977),U=O(152),z=O(3294),B=O(9417),X=O(8658),K=O(6381),W=O(9969),me=O(345);function _e(l){return new c.wOt(3e3,!1)}function $n(l){switch(l.length){case 0:return new W.sf;case 1:return l[0];default:return new W.ui(l)}}function On(l,o,s=new Map,d=new Map){const f=[],v=[];let T=-1,S=null;if(o.forEach(G=>{const J=G.get("offset"),ge=J==T,we=ge&&S||new Map;G.forEach((at,We)=>{let Be=We,Ge=at;if("offset"!==We)switch(Be=l.normalizePropertyName(Be,f),Ge){case W.FX:Ge=s.get(We);break;case W.kp:Ge=d.get(We);break;default:Ge=l.normalizeStyleValue(We,Be,Ge,f)}we.set(Be,Ge)}),ge||v.push(we),S=we,T=J}),f.length)throw function Rt(){return new c.wOt(3502,!1)}();return v}function mr(l,o,s,d){switch(o){case"start":l.onStart(()=>d(s&&Hn(s,"start",l)));break;case"done":l.onDone(()=>d(s&&Hn(s,"done",l)));break;case"destroy":l.onDestroy(()=>d(s&&Hn(s,"destroy",l)))}}function Hn(l,o,s){const v=or(l.element,l.triggerName,l.fromState,l.toState,o||l.phaseName,s.totalTime??l.totalTime,!!s.disabled),T=l._data;return null!=T&&(v._data=T),v}function or(l,o,s,d,f="",v=0,T){return{element:l,triggerName:o,fromState:s,toState:d,phaseName:f,totalTime:v,disabled:!!T}}function Zt(l,o,s){let d=l.get(o);return d||l.set(o,d=s),d}function Pn(l){const o=l.indexOf(":");return[l.substring(1,o),l.slice(o+1)]}const _t=typeof document>"u"?null:document.documentElement;function qn(l){const o=l.parentNode||l.host||null;return o===_t?null:o}let it=null,De=!1;function _r(l,o){for(;o;){if(o===l)return!0;o=qn(o)}return!1}function vn(l,o,s){if(s)return Array.from(l.querySelectorAll(o));const d=l.querySelector(o);return d?[d]:[]}let $t=(()=>{class l{validateStyleProperty(s){return function Ii(l){it||(it=function vr(){return typeof document<"u"?document.body:null}()||{},De=!!it.style&&"WebkitAppearance"in it.style);let o=!0;return it.style&&!function yr(l){return"ebkit"==l.substring(1,6)}(l)&&(o=l in it.style,!o&&De&&(o="Webkit"+l.charAt(0).toUpperCase()+l.slice(1)in it.style)),o}(s)}containsElement(s,d){return _r(s,d)}getParentElement(s){return qn(s)}query(s,d,f){return vn(s,d,f)}computeStyle(s,d,f){return f||""}animate(s,d,f,v,T,S=[],G){return new W.sf(f,v)}static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275prov=c.jDH({token:l,factory:l.\u0275fac})}}return l})();class Qi{static{this.NOOP=new $t}}class yt{}const gi=1e3,Cr="ng-enter",ar="ng-leave",mn="ng-trigger",Gn=".ng-trigger",ie="ng-animating",ne=".ng-animating";function V(l){if("number"==typeof l)return l;const o=l.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:Y(parseFloat(o[1]),o[2])}function Y(l,o){return"s"===o?l*gi:l}function de(l,o,s){return l.hasOwnProperty("duration")?l:function xe(l,o,s){let f,v=0,T="";if("string"==typeof l){const S=l.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===S)return o.push(_e()),{duration:0,delay:0,easing:""};f=Y(parseFloat(S[1]),S[2]);const G=S[3];null!=G&&(v=Y(parseFloat(G),S[4]));const J=S[5];J&&(T=J)}else f=l;if(!s){let S=!1,G=o.length;f<0&&(o.push(function Me(){return new c.wOt(3100,!1)}()),S=!0),v<0&&(o.push(function Re(){return new c.wOt(3101,!1)}()),S=!0),S&&o.splice(G,0,_e())}return{duration:f,delay:v,easing:T}}(l,o,s)}function At(l,o,s){o.forEach((d,f)=>{const v=So(f);s&&!s.has(f)&&s.set(f,l.style[v]),l.style[v]=d})}function Mt(l,o){o.forEach((s,d)=>{const f=So(d);l.style[f]=""})}function _n(l){return Array.isArray(l)?1==l.length?l[0]:(0,W.K2)(l):l}const Oi=new RegExp("{{\\s*(.+?)\\s*}}","g");function Br(l){let o=[];if("string"==typeof l){let s;for(;s=Oi.exec(l);)o.push(s[1]);Oi.lastIndex=0}return o}function wr(l,o,s){const d=`${l}`,f=d.replace(Oi,(v,T)=>{let S=o[T];return null==S&&(s.push(function je(){return new c.wOt(3003,!1)}()),S=""),S.toString()});return f==d?l:f}const Xi=/-+([a-z0-9])/g;function So(l){return l.replace(Xi,(...o)=>o[1].toUpperCase())}function cn(l,o,s){switch(o.type){case W.If.Trigger:return l.visitTrigger(o,s);case W.If.State:return l.visitState(o,s);case W.If.Transition:return l.visitTransition(o,s);case W.If.Sequence:return l.visitSequence(o,s);case W.If.Group:return l.visitGroup(o,s);case W.If.Animate:return l.visitAnimate(o,s);case W.If.Keyframes:return l.visitKeyframes(o,s);case W.If.Style:return l.visitStyle(o,s);case W.If.Reference:return l.visitReference(o,s);case W.If.AnimateChild:return l.visitAnimateChild(o,s);case W.If.AnimateRef:return l.visitAnimateRef(o,s);case W.If.Query:return l.visitQuery(o,s);case W.If.Stagger:return l.visitStagger(o,s);default:throw function qe(){return new c.wOt(3004,!1)}()}}function lr(l,o){return window.getComputedStyle(l)[o]}const jr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class $r extends yt{normalizePropertyName(o,s){return So(o)}normalizeStyleValue(o,s,d,f){let v="";const T=d.toString().trim();if(jr.has(s)&&0!==d&&"0"!==d)if("number"==typeof d)v="px";else{const S=d.match(/^[+-]?[\d\.]+([a-z]*)$/);S&&0==S[1].length&&f.push(function ft(){return new c.wOt(3005,!1)}())}return T+v}}const Nr="*";const Sn=new Set(["true","1"]),yn=new Set(["false","0"]);function xr(l,o){const s=Sn.has(l)||yn.has(l),d=Sn.has(o)||yn.has(o);return(f,v)=>{let T=l==Nr||l==f,S=o==Nr||o==v;return!T&&s&&"boolean"==typeof f&&(T=f?Sn.has(l):yn.has(l)),!S&&d&&"boolean"==typeof v&&(S=v?Sn.has(o):yn.has(o)),T&&S}}const Hr=new RegExp("s*:selfs*,?","g");function ni(l,o,s,d){return new mo(l).build(o,s,d)}class mo{constructor(o){this._driver=o}build(o,s,d){const f=new Qn(s);return this._resetContextStyleTimingState(f),cn(this,_n(o),f)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles=new Map,o.collectedStyles.set("",new Map),o.currentTime=0}visitTrigger(o,s){let d=s.queryCount=0,f=s.depCount=0;const v=[],T=[];return"@"==o.name.charAt(0)&&s.errors.push(function wt(){return new c.wOt(3006,!1)}()),o.definitions.forEach(S=>{if(this._resetContextStyleTimingState(s),S.type==W.If.State){const G=S,J=G.name;J.toString().split(/\s*,\s*/).forEach(ge=>{G.name=ge,v.push(this.visitState(G,s))}),G.name=J}else if(S.type==W.If.Transition){const G=this.visitTransition(S,s);d+=G.queryCount,f+=G.depCount,T.push(G)}else s.errors.push(function ct(){return new c.wOt(3007,!1)}())}),{type:W.If.Trigger,name:o.name,states:v,transitions:T,queryCount:d,depCount:f,options:null}}visitState(o,s){const d=this.visitStyle(o.styles,s),f=o.options&&o.options.params||null;if(d.containsDynamicStyles){const v=new Set,T=f||{};d.styles.forEach(S=>{S instanceof Map&&S.forEach(G=>{Br(G).forEach(J=>{T.hasOwnProperty(J)||v.add(J)})})}),v.size&&s.errors.push(function st(){return new c.wOt(3008,!1)}(0,v.values()))}return{type:W.If.State,name:o.name,style:d,options:f?{params:f}:null}}visitTransition(o,s){s.queryCount=0,s.depCount=0;const d=cn(this,_n(o.animation),s),f=function pt(l,o){const s=[];return"string"==typeof l?l.split(/\s*,\s*/).forEach(d=>function hn(l,o,s){if(":"==l[0]){const G=function ti(l,o){switch(l){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(s,d)=>parseFloat(d)>parseFloat(s);case":decrement":return(s,d)=>parseFloat(d)<parseFloat(s);default:return o.push(function Ye(){return new c.wOt(3016,!1)}()),"* => *"}}(l,s);if("function"==typeof G)return void o.push(G);l=G}const d=l.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==d||d.length<4)return s.push(function et(){return new c.wOt(3015,!1)}()),o;const f=d[1],v=d[2],T=d[3];o.push(xr(f,T)),"<"==v[0]&&(f!=Nr||T!=Nr)&&o.push(xr(T,f))}(d,s,o)):s.push(l),s}(o.expr,s.errors);return{type:W.If.Transition,matchers:f,animation:d,queryCount:s.queryCount,depCount:s.depCount,options:Dr(o.options)}}visitSequence(o,s){return{type:W.If.Sequence,steps:o.steps.map(d=>cn(this,d,s)),options:Dr(o.options)}}visitGroup(o,s){const d=s.currentTime;let f=0;const v=o.steps.map(T=>{s.currentTime=d;const S=cn(this,T,s);return f=Math.max(f,s.currentTime),S});return s.currentTime=f,{type:W.If.Group,steps:v,options:Dr(o.options)}}visitAnimate(o,s){const d=function Rr(l,o){if(l.hasOwnProperty("duration"))return l;if("number"==typeof l)return Zi(de(l,o).duration,0,"");const s=l;if(s.split(/\s+/).some(v=>"{"==v.charAt(0)&&"{"==v.charAt(1))){const v=Zi(0,0,"");return v.dynamic=!0,v.strValue=s,v}const f=de(s,o);return Zi(f.duration,f.delay,f.easing)}(o.timings,s.errors);s.currentAnimateTimings=d;let f,v=o.styles?o.styles:(0,W.iF)({});if(v.type==W.If.Keyframes)f=this.visitKeyframes(v,s);else{let T=o.styles,S=!1;if(!T){S=!0;const J={};d.easing&&(J.easing=d.easing),T=(0,W.iF)(J)}s.currentTime+=d.duration+d.delay;const G=this.visitStyle(T,s);G.isEmptyStep=S,f=G}return s.currentAnimateTimings=null,{type:W.If.Animate,timings:d,style:f,options:null}}visitStyle(o,s){const d=this._makeStyleAst(o,s);return this._validateStyleAst(d,s),d}_makeStyleAst(o,s){const d=[],f=Array.isArray(o.styles)?o.styles:[o.styles];for(let S of f)"string"==typeof S?S===W.kp?d.push(S):s.errors.push(new c.wOt(3002,!1)):d.push(new Map(Object.entries(S)));let v=!1,T=null;return d.forEach(S=>{if(S instanceof Map&&(S.has("easing")&&(T=S.get("easing"),S.delete("easing")),!v))for(let G of S.values())if(G.toString().indexOf("{{")>=0){v=!0;break}}),{type:W.If.Style,styles:d,easing:T,offset:o.offset,containsDynamicStyles:v,options:null}}_validateStyleAst(o,s){const d=s.currentAnimateTimings;let f=s.currentTime,v=s.currentTime;d&&v>0&&(v-=d.duration+d.delay),o.styles.forEach(T=>{"string"!=typeof T&&T.forEach((S,G)=>{const J=s.collectedStyles.get(s.currentQuerySelector),ge=J.get(G);let we=!0;ge&&(v!=f&&v>=ge.startTime&&f<=ge.endTime&&(s.errors.push(function te(){return new c.wOt(3010,!1)}()),we=!1),v=ge.startTime),we&&J.set(G,{startTime:v,endTime:f}),s.options&&function An(l,o,s){const d=o.params||{},f=Br(l);f.length&&f.forEach(v=>{d.hasOwnProperty(v)||s.push(function Ae(){return new c.wOt(3001,!1)}())})}(S,s.options,s.errors)})})}visitKeyframes(o,s){const d={type:W.If.Keyframes,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(function ye(){return new c.wOt(3011,!1)}()),d;let v=0;const T=[];let S=!1,G=!1,J=0;const ge=o.steps.map(Rn=>{const En=this._makeStyleAst(Rn,s);let Ze=null!=En.offset?En.offset:function qo(l){if("string"==typeof l)return null;let o=null;if(Array.isArray(l))l.forEach(s=>{if(s instanceof Map&&s.has("offset")){const d=s;o=parseFloat(d.get("offset")),d.delete("offset")}});else if(l instanceof Map&&l.has("offset")){const s=l;o=parseFloat(s.get("offset")),s.delete("offset")}return o}(En.styles),kt=0;return null!=Ze&&(v++,kt=En.offset=Ze),G=G||kt<0||kt>1,S=S||kt<J,J=kt,T.push(kt),En});G&&s.errors.push(function Xe(){return new c.wOt(3012,!1)}()),S&&s.errors.push(function ae(){return new c.wOt(3200,!1)}());const we=o.steps.length;let at=0;v>0&&v<we?s.errors.push(function le(){return new c.wOt(3202,!1)}()):0==v&&(at=1/(we-1));const We=we-1,Be=s.currentTime,Ge=s.currentAnimateTimings,Kt=Ge.duration;return ge.forEach((Rn,En)=>{const Ze=at>0?En==We?1:at*En:T[En],kt=Ze*Kt;s.currentTime=Be+Ge.delay+kt,Ge.duration=kt,this._validateStyleAst(Rn,s),Rn.offset=Ze,d.styles.push(Rn)}),d}visitReference(o,s){return{type:W.If.Reference,animation:cn(this,_n(o.animation),s),options:Dr(o.options)}}visitAnimateChild(o,s){return s.depCount++,{type:W.If.AnimateChild,options:Dr(o.options)}}visitAnimateRef(o,s){return{type:W.If.AnimateRef,animation:this.visitReference(o.animation,s),options:Dr(o.options)}}visitQuery(o,s){const d=s.currentQuerySelector,f=o.options||{};s.queryCount++,s.currentQuery=o;const[v,T]=function Gr(l){const o=!!l.split(/\s*,\s*/).find(s=>":self"==s);return o&&(l=l.replace(Hr,"")),l=l.replace(/@\*/g,Gn).replace(/@\w+/g,s=>Gn+"-"+s.slice(1)).replace(/:animating/g,ne),[l,o]}(o.selector);s.currentQuerySelector=d.length?d+" "+v:v,Zt(s.collectedStyles,s.currentQuerySelector,new Map);const S=cn(this,_n(o.animation),s);return s.currentQuery=null,s.currentQuerySelector=d,{type:W.If.Query,selector:v,limit:f.limit||0,optional:!!f.optional,includeSelf:T,animation:S,originalSelector:o.selector,options:Dr(o.options)}}visitStagger(o,s){s.currentQuery||s.errors.push(function ue(){return new c.wOt(3013,!1)}());const d="full"===o.timings?{duration:0,delay:0,easing:"full"}:de(o.timings,s.errors,!0);return{type:W.If.Stagger,animation:cn(this,_n(o.animation),s),timings:d,options:null}}}class Qn{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Dr(l){return l?(l={...l}).params&&(l.params=function Ni(l){return l?{...l}:null}(l.params)):l={},l}function Zi(l,o,s){return{duration:l,delay:o,easing:s}}function xi(l,o,s,d,f,v,T=null,S=!1){return{type:1,element:l,keyframes:o,preStyleProps:s,postStyleProps:d,duration:f,delay:v,totalTime:f+v,easing:T,subTimeline:S}}class mi{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,s){let d=this._map.get(o);d||this._map.set(o,d=[]),d.push(...s)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Ji=new RegExp(":enter","g"),Us=new RegExp(":leave","g");function eo(l,o,s,d,f,v=new Map,T=new Map,S,G,J=[]){return(new A).buildKeyframes(l,o,s,d,f,v,T,S,G,J)}class A{buildKeyframes(o,s,d,f,v,T,S,G,J,ge=[]){J=J||new mi;const we=new F(o,s,J,f,v,ge,[]);we.options=G;const at=G.delay?V(G.delay):0;we.currentTimeline.delayNextStep(at),we.currentTimeline.setStyles([T],null,we.errors,G),cn(this,d,we);const We=we.timelines.filter(Be=>Be.containsAnimation());if(We.length&&S.size){let Be;for(let Ge=We.length-1;Ge>=0;Ge--){const Kt=We[Ge];if(Kt.element===s){Be=Kt;break}}Be&&!Be.allowOnlyTimelineStyles()&&Be.setStyles([S],null,we.errors,G)}return We.length?We.map(Be=>Be.buildKeyframes()):[xi(s,[],[],[],0,at,"",!1)]}visitTrigger(o,s){}visitState(o,s){}visitTransition(o,s){}visitAnimateChild(o,s){const d=s.subInstructions.get(s.element);if(d){const f=s.createSubContext(o.options),v=s.currentTimeline.currentTime,T=this._visitSubInstructions(d,f,f.options);v!=T&&s.transformIntoNewTimeline(T)}s.previousNode=o}visitAnimateRef(o,s){const d=s.createSubContext(o.options);d.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],s,d),this.visitReference(o.animation,d),s.transformIntoNewTimeline(d.currentTimeline.currentTime),s.previousNode=o}_applyAnimationRefDelays(o,s,d){for(const f of o){const v=f?.delay;if(v){const T="number"==typeof v?v:V(wr(v,f?.params??{},s.errors));d.delayNextStep(T)}}}_visitSubInstructions(o,s,d){let v=s.currentTimeline.currentTime;const T=null!=d.duration?V(d.duration):null,S=null!=d.delay?V(d.delay):null;return 0!==T&&o.forEach(G=>{const J=s.appendInstructionToTimeline(G,T,S);v=Math.max(v,J.duration+J.delay)}),v}visitReference(o,s){s.updateOptions(o.options,!0),cn(this,o.animation,s),s.previousNode=o}visitSequence(o,s){const d=s.subContextCount;let f=s;const v=o.options;if(v&&(v.params||v.delay)&&(f=s.createSubContext(v),f.transformIntoNewTimeline(),null!=v.delay)){f.previousNode.type==W.If.Style&&(f.currentTimeline.snapshotCurrentStyles(),f.previousNode=k);const T=V(v.delay);f.delayNextStep(T)}o.steps.length&&(o.steps.forEach(T=>cn(this,T,f)),f.currentTimeline.applyStylesToKeyframe(),f.subContextCount>d&&f.transformIntoNewTimeline()),s.previousNode=o}visitGroup(o,s){const d=[];let f=s.currentTimeline.currentTime;const v=o.options&&o.options.delay?V(o.options.delay):0;o.steps.forEach(T=>{const S=s.createSubContext(o.options);v&&S.delayNextStep(v),cn(this,T,S),f=Math.max(f,S.currentTimeline.currentTime),d.push(S.currentTimeline)}),d.forEach(T=>s.currentTimeline.mergeTimelineCollectedStyles(T)),s.transformIntoNewTimeline(f),s.previousNode=o}_visitTiming(o,s){if(o.dynamic){const d=o.strValue;return de(s.params?wr(d,s.params,s.errors):d,s.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,s){const d=s.currentAnimateTimings=this._visitTiming(o.timings,s),f=s.currentTimeline;d.delay&&(s.incrementTime(d.delay),f.snapshotCurrentStyles());const v=o.style;v.type==W.If.Keyframes?this.visitKeyframes(v,s):(s.incrementTime(d.duration),this.visitStyle(v,s),f.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=o}visitStyle(o,s){const d=s.currentTimeline,f=s.currentAnimateTimings;!f&&d.hasCurrentStyleProperties()&&d.forwardFrame();const v=f&&f.easing||o.easing;o.isEmptyStep?d.applyEmptyStep(v):d.setStyles(o.styles,v,s.errors,s.options),s.previousNode=o}visitKeyframes(o,s){const d=s.currentAnimateTimings,f=s.currentTimeline.duration,v=d.duration,S=s.createSubContext().currentTimeline;S.easing=d.easing,o.styles.forEach(G=>{S.forwardTime((G.offset||0)*v),S.setStyles(G.styles,G.easing,s.errors,s.options),S.applyStylesToKeyframe()}),s.currentTimeline.mergeTimelineCollectedStyles(S),s.transformIntoNewTimeline(f+v),s.previousNode=o}visitQuery(o,s){const d=s.currentTimeline.currentTime,f=o.options||{},v=f.delay?V(f.delay):0;v&&(s.previousNode.type===W.If.Style||0==d&&s.currentTimeline.hasCurrentStyleProperties())&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=k);let T=d;const S=s.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!f.optional,s.errors);s.currentQueryTotal=S.length;let G=null;S.forEach((J,ge)=>{s.currentQueryIndex=ge;const we=s.createSubContext(o.options,J);v&&we.delayNextStep(v),J===s.element&&(G=we.currentTimeline),cn(this,o.animation,we),we.currentTimeline.applyStylesToKeyframe(),T=Math.max(T,we.currentTimeline.currentTime)}),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(T),G&&(s.currentTimeline.mergeTimelineCollectedStyles(G),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=o}visitStagger(o,s){const d=s.parentContext,f=s.currentTimeline,v=o.timings,T=Math.abs(v.duration),S=T*(s.currentQueryTotal-1);let G=T*s.currentQueryIndex;switch(v.duration<0?"reverse":v.easing){case"reverse":G=S-G;break;case"full":G=d.currentStaggerTime}const ge=s.currentTimeline;G&&ge.delayNextStep(G);const we=ge.currentTime;cn(this,o.animation,s),s.previousNode=o,d.currentStaggerTime=f.currentTime-we+(f.startTime-d.currentTimeline.startTime)}}const k={};class F{constructor(o,s,d,f,v,T,S,G){this._driver=o,this.element=s,this.subInstructions=d,this._enterClassName=f,this._leaveClassName=v,this.errors=T,this.timelines=S,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=k,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=G||new Z(this._driver,s,0),S.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,s){if(!o)return;const d=o;let f=this.options;null!=d.duration&&(f.duration=V(d.duration)),null!=d.delay&&(f.delay=V(d.delay));const v=d.params;if(v){let T=f.params;T||(T=this.options.params={}),Object.keys(v).forEach(S=>{(!s||!T.hasOwnProperty(S))&&(T[S]=wr(v[S],T,this.errors))})}}_copyOptions(){const o={};if(this.options){const s=this.options.params;if(s){const d=o.params={};Object.keys(s).forEach(f=>{d[f]=s[f]})}}return o}createSubContext(o=null,s,d){const f=s||this.element,v=new F(this._driver,f,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(f,d||0));return v.previousNode=this.previousNode,v.currentAnimateTimings=this.currentAnimateTimings,v.options=this._copyOptions(),v.updateOptions(o),v.currentQueryIndex=this.currentQueryIndex,v.currentQueryTotal=this.currentQueryTotal,v.parentContext=this,this.subContextCount++,v}transformIntoNewTimeline(o){return this.previousNode=k,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,s,d){const f={duration:s??o.duration,delay:this.currentTimeline.currentTime+(d??0)+o.delay,easing:""},v=new se(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,f,o.stretchStartingKeyframe);return this.timelines.push(v),f}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,s,d,f,v,T){let S=[];if(f&&S.push(this.element),o.length>0){o=(o=o.replace(Ji,"."+this._enterClassName)).replace(Us,"."+this._leaveClassName);let J=this._driver.query(this.element,o,1!=d);0!==d&&(J=d<0?J.slice(J.length+d,J.length):J.slice(0,d)),S.push(...J)}return!v&&0==S.length&&T.push(function Oe(){return new c.wOt(3014,!1)}()),S}}class Z{constructor(o,s,d,f){this._driver=o,this.element=s,this.startTime=d,this._elementTimelineStylesLookup=f,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(s),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(s,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const s=1===this._keyframes.size&&this._pendingStyles.size;this.duration||s?(this.forwardTime(this.currentTime+o),s&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,s){return this.applyStylesToKeyframe(),new Z(this._driver,o,s||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,s){this._localTimelineStyles.set(o,s),this._globalTimelineStyles.set(o,s),this._styleSummary.set(o,{time:this.currentTime,value:s})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[s,d]of this._globalTimelineStyles)this._backFill.set(s,d||W.kp),this._currentKeyframe.set(s,W.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,s,d,f){s&&this._previousKeyframe.set("easing",s);const v=f&&f.params||{},T=function be(l,o){const s=new Map;let d;return l.forEach(f=>{if("*"===f){d??=o.keys();for(let v of d)s.set(v,W.kp)}else for(let[v,T]of f)s.set(v,T)}),s}(o,this._globalTimelineStyles);for(let[S,G]of T){const J=wr(G,v,d);this._pendingStyles.set(S,J),this._localTimelineStyles.has(S)||this._backFill.set(S,this._globalTimelineStyles.get(S)??W.kp),this._updateStyle(S,J)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((o,s)=>{this._currentKeyframe.set(s,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,s)=>{this._currentKeyframe.has(s)||this._currentKeyframe.set(s,o)}))}snapshotCurrentStyles(){for(let[o,s]of this._localTimelineStyles)this._pendingStyles.set(o,s),this._updateStyle(o,s)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let s in this._currentKeyframe)o.push(s);return o}mergeTimelineCollectedStyles(o){o._styleSummary.forEach((s,d)=>{const f=this._styleSummary.get(d);(!f||s.time>f.time)&&this._updateStyle(d,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,s=new Set,d=1===this._keyframes.size&&0===this.duration;let f=[];this._keyframes.forEach((S,G)=>{const J=new Map([...this._backFill,...S]);J.forEach((ge,we)=>{ge===W.FX?o.add(we):ge===W.kp&&s.add(we)}),d||J.set("offset",G/this.duration),f.push(J)});const v=[...o.values()],T=[...s.values()];if(d){const S=f[0],G=new Map(S);S.set("offset",0),G.set("offset",1),f=[S,G]}return xi(this.element,f,v,T,this.duration,this.startTime,this.easing,!1)}}class se extends Z{constructor(o,s,d,f,v,T,S=!1){super(o,s,T.delay),this.keyframes=d,this.preStyleProps=f,this.postStyleProps=v,this._stretchStartingKeyframe=S,this.timings={duration:T.duration,delay:T.delay,easing:T.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:s,duration:d,easing:f}=this.timings;if(this._stretchStartingKeyframe&&s){const v=[],T=d+s,S=s/T,G=new Map(o[0]);G.set("offset",0),v.push(G);const J=new Map(o[0]);J.set("offset",Ce(S)),v.push(J);const ge=o.length-1;for(let we=1;we<=ge;we++){let at=new Map(o[we]);const We=at.get("offset");at.set("offset",Ce((s+We*d)/T)),v.push(at)}d=T,s=0,f="",o=v}return xi(this.element,o,this.preStyleProps,this.postStyleProps,d,s,f,!0)}}function Ce(l,o=3){const s=Math.pow(10,o-1);return Math.round(l*s)/s}function ke(l,o,s,d,f,v,T,S,G,J,ge,we,at){return{type:0,element:l,triggerName:o,isRemovalTransition:f,fromState:s,fromStyles:v,toState:d,toStyles:T,timelines:S,queriedElements:G,preStyleProps:J,postStyleProps:ge,totalTime:we,errors:at}}const Fe={};class Tt{constructor(o,s,d){this._triggerName=o,this.ast=s,this._stateStyles=d}match(o,s,d,f){return function qt(l,o,s,d,f){return l.some(v=>v(o,s,d,f))}(this.ast.matchers,o,s,d,f)}buildStyles(o,s,d){let f=this._stateStyles.get("*");return void 0!==o&&(f=this._stateStyles.get(o?.toString())||f),f?f.buildStyles(s,d):new Map}build(o,s,d,f,v,T,S,G,J,ge){const we=[],at=this.ast.options&&this.ast.options.params||Fe,Be=this.buildStyles(d,S&&S.params||Fe,we),Ge=G&&G.params||Fe,Kt=this.buildStyles(f,Ge,we),Rn=new Set,En=new Map,Ze=new Map,kt="void"===f,Fn={params:Jt(Ge,at),delay:this.ast.options?.delay},br=ge?[]:eo(o,s,this.ast.animation,v,T,Be,Kt,Fn,J,we);let Yt=0;return br.forEach(Xr=>{Yt=Math.max(Xr.duration+Xr.delay,Yt)}),we.length?ke(s,this._triggerName,d,f,kt,Be,Kt,[],[],En,Ze,Yt,we):(br.forEach(Xr=>{const rs=Xr.element,Vo=Zt(En,rs,new Set);Xr.preStyleProps.forEach(Is=>Vo.add(Is));const mu=Zt(Ze,rs,new Set);Xr.postStyleProps.forEach(Is=>mu.add(Is)),rs!==s&&Rn.add(rs)}),ke(s,this._triggerName,d,f,kt,Be,Kt,br,[...Rn.values()],En,Ze,Yt))}}function Jt(l,o){const s={...o};return Object.entries(l).forEach(([d,f])=>{null!=f&&(s[d]=f)}),s}class an{constructor(o,s,d){this.styles=o,this.defaultParams=s,this.normalizer=d}buildStyles(o,s){const d=new Map,f=Jt(o,this.defaultParams);return this.styles.styles.forEach(v=>{"string"!=typeof v&&v.forEach((T,S)=>{T&&(T=wr(T,f,s));const G=this.normalizer.normalizePropertyName(S,s);T=this.normalizer.normalizeStyleValue(S,G,T,s),d.set(S,T)})}),d}}class ut{constructor(o,s,d){this.name=o,this.ast=s,this._normalizer=d,this.transitionFactories=[],this.states=new Map,s.states.forEach(f=>{this.states.set(f.name,new an(f.style,f.options&&f.options.params||{},d))}),Cn(this.states,"true","1"),Cn(this.states,"false","0"),s.transitions.forEach(f=>{this.transitionFactories.push(new Tt(o,f,this.states))}),this.fallbackTransition=function Nt(l,o){return new Tt(l,{type:W.If.Transition,animation:{type:W.If.Sequence,steps:[],options:null},matchers:[(T,S)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,s,d,f){return this.transitionFactories.find(T=>T.match(o,s,d,f))||null}matchStyles(o,s,d){return this.fallbackTransition.buildStyles(o,s,d)}}function Cn(l,o,s){l.has(o)?l.has(s)||l.set(s,l.get(o)):l.has(s)&&l.set(o,l.get(s))}const zr=new mi;class Ht{constructor(o,s,d){this.bodyNode=o,this._driver=s,this._normalizer=d,this._animations=new Map,this._playersById=new Map,this.players=[]}register(o,s){const d=[],v=ni(this._driver,s,d,[]);if(d.length)throw function ln(){return new c.wOt(3503,!1)}();this._animations.set(o,v)}_buildPlayer(o,s,d){const f=o.element,v=On(this._normalizer,o.keyframes,s,d);return this._driver.animate(f,v,o.duration,o.delay,o.easing,[],!0)}create(o,s,d={}){const f=[],v=this._animations.get(o);let T;const S=new Map;if(v?(T=eo(this._driver,s,v,Cr,ar,new Map,new Map,d,zr,f),T.forEach(ge=>{const we=Zt(S,ge.element,new Map);ge.postStyleProps.forEach(at=>we.set(at,null))})):(f.push(function Ut(){return new c.wOt(3300,!1)}()),T=[]),f.length)throw function Pt(){return new c.wOt(3504,!1)}();S.forEach((ge,we)=>{ge.forEach((at,We)=>{ge.set(We,this._driver.computeStyle(we,We,W.kp))})});const J=$n(T.map(ge=>{const we=S.get(ge.element);return this._buildPlayer(ge,new Map,we)}));return this._playersById.set(o,J),J.onDestroy(()=>this.destroy(o)),this.players.push(J),J}destroy(o){const s=this._getPlayer(o);s.destroy(),this._playersById.delete(o);const d=this.players.indexOf(s);d>=0&&this.players.splice(d,1)}_getPlayer(o){const s=this._playersById.get(o);if(!s)throw function Tn(){return new c.wOt(3301,!1)}();return s}listen(o,s,d,f){const v=or(s,"","","");return mr(this._getPlayer(o),d,v,f),()=>{}}command(o,s,d,f){if("register"==d)return void this.register(o,f[0]);if("create"==d)return void this.create(o,s,f[0]||{});const v=this._getPlayer(o);switch(d){case"play":v.play();break;case"pause":v.pause();break;case"reset":v.reset();break;case"restart":v.restart();break;case"finish":v.finish();break;case"init":v.init();break;case"setPosition":v.setPosition(parseFloat(f[0]));break;case"destroy":this.destroy(o)}}}const en="ng-animate-queued",jn="ng-animate-disabled",ki=[],yo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},to={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ur="__ng_removed";class no{get params(){return this.options.params}constructor(o,s=""){this.namespaceId=s;const d=o&&o.hasOwnProperty("value");if(this.value=function Po(l){return l??null}(d?o.value:o),d){const{value:v,...T}=o;this.options=T}else this.options={};this.options.params||(this.options.params={})}absorbOptions(o){const s=o.params;if(s){const d=this.options.params;Object.keys(s).forEach(f=>{null==d[f]&&(d[f]=s[f])})}}}const yi="void",Oo=new no(yi);class gs{constructor(o,s,d){this.id=o,this.hostElement=s,this._engine=d,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,zn(s,this._hostClassName)}listen(o,s,d,f){if(!this._triggers.has(s))throw function Xt(){return new c.wOt(3302,!1)}();if(null==d||0==d.length)throw function bn(){return new c.wOt(3303,!1)}();if(!function kr(l){return"start"==l||"done"==l}(d))throw function Un(){return new c.wOt(3400,!1)}();const v=Zt(this._elementListeners,o,[]),T={name:s,phase:d,callback:f};v.push(T);const S=Zt(this._engine.statesByElement,o,new Map);return S.has(s)||(zn(o,mn),zn(o,mn+"-"+s),S.set(s,Oo)),()=>{this._engine.afterFlush(()=>{const G=v.indexOf(T);G>=0&&v.splice(G,1),this._triggers.has(s)||S.delete(s)})}}register(o,s){return!this._triggers.has(o)&&(this._triggers.set(o,s),!0)}_getTrigger(o){const s=this._triggers.get(o);if(!s)throw function ir(){return new c.wOt(3401,!1)}();return s}trigger(o,s,d,f=!0){const v=this._getTrigger(s),T=new ms(this.id,s,o);let S=this._engine.statesByElement.get(o);S||(zn(o,mn),zn(o,mn+"-"+s),this._engine.statesByElement.set(o,S=new Map));let G=S.get(s);const J=new no(d,this.id);if(!(d&&d.hasOwnProperty("value"))&&G&&J.absorbOptions(G.options),S.set(s,J),G||(G=Oo),J.value!==yi&&G.value===J.value){if(!function Li(l,o){const s=Object.keys(l),d=Object.keys(o);if(s.length!=d.length)return!1;for(let f=0;f<s.length;f++){const v=s[f];if(!o.hasOwnProperty(v)||l[v]!==o[v])return!1}return!0}(G.params,J.params)){const Ge=[],Kt=v.matchStyles(G.value,G.params,Ge),Rn=v.matchStyles(J.value,J.params,Ge);Ge.length?this._engine.reportError(Ge):this._engine.afterFlush(()=>{Mt(o,Kt),At(o,Rn)})}return}const at=Zt(this._engine.playersByElement,o,[]);at.forEach(Ge=>{Ge.namespaceId==this.id&&Ge.triggerName==s&&Ge.queued&&Ge.destroy()});let We=v.matchTransition(G.value,J.value,o,J.params),Be=!1;if(!We){if(!f)return;We=v.fallbackTransition,Be=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:s,transition:We,fromState:G,toState:J,player:T,isFallbackTransition:Be}),Be||(zn(o,en),T.onStart(()=>{Wr(o,en)})),T.onDone(()=>{let Ge=this.players.indexOf(T);Ge>=0&&this.players.splice(Ge,1);const Kt=this._engine.playersByElement.get(o);if(Kt){let Rn=Kt.indexOf(T);Rn>=0&&Kt.splice(Rn,1)}}),this.players.push(T),at.push(T),T}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(s=>s.delete(o)),this._elementListeners.forEach((s,d)=>{this._elementListeners.set(d,s.filter(f=>f.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const s=this._engine.playersByElement.get(o);s&&(s.forEach(d=>d.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,s){const d=this._engine.driver.query(o,Gn,!0);d.forEach(f=>{if(f[ur])return;const v=this._engine.fetchNamespacesByElement(f);v.size?v.forEach(T=>T.triggerLeaveAnimation(f,s,!1,!0)):this.clearElementCache(f)}),this._engine.afterFlushAnimationsDone(()=>d.forEach(f=>this.clearElementCache(f)))}triggerLeaveAnimation(o,s,d,f){const v=this._engine.statesByElement.get(o),T=new Map;if(v){const S=[];if(v.forEach((G,J)=>{if(T.set(J,G.value),this._triggers.has(J)){const ge=this.trigger(o,J,yi,f);ge&&S.push(ge)}}),S.length)return this._engine.markElementAsRemoved(this.id,o,!0,s,T),d&&$n(S).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const s=this._elementListeners.get(o),d=this._engine.statesByElement.get(o);if(s&&d){const f=new Set;s.forEach(v=>{const T=v.name;if(f.has(T))return;f.add(T);const G=this._triggers.get(T).fallbackTransition,J=d.get(T)||Oo,ge=new no(yi),we=new ms(this.id,T,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:T,transition:G,fromState:J,toState:ge,player:we,isFallbackTransition:!0})})}}removeNode(o,s){const d=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,s),this.triggerLeaveAnimation(o,s,!0))return;let f=!1;if(d.totalAnimations){const v=d.players.length?d.playersByQueriedElement.get(o):[];if(v&&v.length)f=!0;else{let T=o;for(;T=T.parentNode;)if(d.statesByElement.get(T)){f=!0;break}}}if(this.prepareLeaveAnimationListeners(o),f)d.markElementAsRemoved(this.id,o,!1,s);else{const v=o[ur];(!v||v===yo)&&(d.afterFlush(()=>this.clearElementCache(o)),d.destroyInnerAnimations(o),d._onRemovalComplete(o,s))}}insertNode(o,s){zn(o,this._hostClassName)}drainQueuedTransitions(o){const s=[];return this._queue.forEach(d=>{const f=d.player;if(f.destroyed)return;const v=d.element,T=this._elementListeners.get(v);T&&T.forEach(S=>{if(S.name==d.triggerName){const G=or(v,d.triggerName,d.fromState.value,d.toState.value);G._data=o,mr(d.player,S.phase,G,S.callback)}}),f.markedForDestroy?this._engine.afterFlush(()=>{f.destroy()}):s.push(d)}),this._queue=[],s.sort((d,f)=>{const v=d.transition.ast.depCount,T=f.transition.ast.depCount;return 0==v||0==T?v-T:this._engine.driver.containsElement(d.element,f.element)?1:-1})}destroy(o){this.players.forEach(s=>s.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}}class vo{_onRemovalComplete(o,s){this.onRemovalComplete(o,s)}constructor(o,s,d){this.bodyNode=o,this.driver=s,this._normalizer=d,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(f,v)=>{}}get queuedPlayers(){const o=[];return this._namespaceList.forEach(s=>{s.players.forEach(d=>{d.queued&&o.push(d)})}),o}createNamespace(o,s){const d=new gs(o,s,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,s)?this._balanceNamespaceList(d,s):(this.newHostElements.set(s,d),this.collectEnterElement(s)),this._namespaceLookup[o]=d}_balanceNamespaceList(o,s){const d=this._namespaceList,f=this.namespacesByHostElement;if(d.length-1>=0){let T=!1,S=this.driver.getParentElement(s);for(;S;){const G=f.get(S);if(G){const J=d.indexOf(G);d.splice(J+1,0,o),T=!0;break}S=this.driver.getParentElement(S)}T||d.unshift(o)}else d.push(o);return f.set(s,o),o}register(o,s){let d=this._namespaceLookup[o];return d||(d=this.createNamespace(o,s)),d}registerTrigger(o,s,d){let f=this._namespaceLookup[o];f&&f.register(s,d)&&this.totalAnimations++}destroy(o,s){o&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const d=this._fetchNamespace(o);this.namespacesByHostElement.delete(d.hostElement);const f=this._namespaceList.indexOf(d);f>=0&&this._namespaceList.splice(f,1),d.destroy(s),delete this._namespaceLookup[o]}))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const s=new Set,d=this.statesByElement.get(o);if(d)for(let f of d.values())if(f.namespaceId){const v=this._fetchNamespace(f.namespaceId);v&&s.add(v)}return s}trigger(o,s,d,f){if(Ie(s)){const v=this._fetchNamespace(o);if(v)return v.trigger(s,d,f),!0}return!1}insertNode(o,s,d,f){if(!Ie(s))return;const v=s[ur];if(v&&v.setForRemoval){v.setForRemoval=!1,v.setForMove=!0;const T=this.collectedLeaveElements.indexOf(s);T>=0&&this.collectedLeaveElements.splice(T,1)}if(o){const T=this._fetchNamespace(o);T&&T.insertNode(s,d)}f&&this.collectEnterElement(s)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,s){s?this.disabledNodes.has(o)||(this.disabledNodes.add(o),zn(o,jn)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),Wr(o,jn))}removeNode(o,s,d){if(Ie(s)){const f=o?this._fetchNamespace(o):null;f?f.removeNode(s,d):this.markElementAsRemoved(o,s,!1,d);const v=this.namespacesByHostElement.get(s);v&&v.id!==o&&v.removeNode(s,d)}else this._onRemovalComplete(s,d)}markElementAsRemoved(o,s,d,f,v){this.collectedLeaveElements.push(s),s[ur]={namespaceId:o,setForRemoval:f,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:v}}listen(o,s,d,f,v){return Ie(s)?this._fetchNamespace(o).listen(s,d,f,v):()=>{}}_buildInstruction(o,s,d,f,v){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,d,f,o.fromState.options,o.toState.options,s,v)}destroyInnerAnimations(o){let s=this.driver.query(o,Gn,!0);s.forEach(d=>this.destroyActiveAnimationsForElement(d)),0!=this.playersByQueriedElement.size&&(s=this.driver.query(o,ne,!0),s.forEach(d=>this.finishActiveQueriedAnimationOnElement(d)))}destroyActiveAnimationsForElement(o){const s=this.playersByElement.get(o);s&&s.forEach(d=>{d.queued?d.markedForDestroy=!0:d.destroy()})}finishActiveQueriedAnimationOnElement(o){const s=this.playersByQueriedElement.get(o);s&&s.forEach(d=>d.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return $n(this.players).onDone(()=>o());o()})}processLeaveNode(o){const s=o[ur];if(s&&s.setForRemoval){if(o[ur]=yo,s.namespaceId){this.destroyInnerAnimations(o);const d=this._fetchNamespace(s.namespaceId);d&&d.clearElementCache(o)}this._onRemovalComplete(o,s.setForRemoval)}o.classList?.contains(jn)&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(d=>{this.markElementAsDisabled(d,!1)})}flush(o=-1){let s=[];if(this.newHostElements.size&&(this.newHostElements.forEach((d,f)=>this._balanceNamespaceList(d,f)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let d=0;d<this.collectedEnterElements.length;d++)zn(this.collectedEnterElements[d],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const d=[];try{s=this._flushAnimations(d,o)}finally{for(let f=0;f<d.length;f++)d[f]()}}else for(let d=0;d<this.collectedLeaveElements.length;d++)this.processLeaveNode(this.collectedLeaveElements[d]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(d=>d()),this._flushFns=[],this._whenQuietFns.length){const d=this._whenQuietFns;this._whenQuietFns=[],s.length?$n(s).onDone(()=>{d.forEach(f=>f())}):d.forEach(f=>f())}}reportError(o){throw function Bn(){return new c.wOt(3402,!1)}()}_flushAnimations(o,s){const d=new mi,f=[],v=new Map,T=[],S=new Map,G=new Map,J=new Map,ge=new Set;this.disabledNodes.forEach(Ue=>{ge.add(Ue);const Qe=this.driver.query(Ue,".ng-animate-queued",!0);for(let lt=0;lt<Qe.length;lt++)ge.add(Qe[lt])});const we=this.bodyNode,at=Array.from(this.statesByElement.keys()),We=No(at,this.collectedEnterElements),Be=new Map;let Ge=0;We.forEach((Ue,Qe)=>{const lt=Cr+Ge++;Be.set(Qe,lt),Ue.forEach(Lt=>zn(Lt,lt))});const Kt=[],Rn=new Set,En=new Set;for(let Ue=0;Ue<this.collectedLeaveElements.length;Ue++){const Qe=this.collectedLeaveElements[Ue],lt=Qe[ur];lt&<.setForRemoval&&(Kt.push(Qe),Rn.add(Qe),lt.hasAnimation?this.driver.query(Qe,".ng-star-inserted",!0).forEach(Lt=>Rn.add(Lt)):En.add(Qe))}const Ze=new Map,kt=No(at,Array.from(Rn));kt.forEach((Ue,Qe)=>{const lt=ar+Ge++;Ze.set(Qe,lt),Ue.forEach(Lt=>zn(Lt,lt))}),o.push(()=>{We.forEach((Ue,Qe)=>{const lt=Be.get(Qe);Ue.forEach(Lt=>Wr(Lt,lt))}),kt.forEach((Ue,Qe)=>{const lt=Ze.get(Qe);Ue.forEach(Lt=>Wr(Lt,lt))}),Kt.forEach(Ue=>{this.processLeaveNode(Ue)})});const Fn=[],br=[];for(let Ue=this._namespaceList.length-1;Ue>=0;Ue--)this._namespaceList[Ue].drainQueuedTransitions(s).forEach(lt=>{const Lt=lt.player,fr=lt.element;if(Fn.push(Lt),this.collectedEnterElements.length){const Zn=fr[ur];if(Zn&&Zn.setForMove){if(Zn.previousTriggersValues&&Zn.previousTriggersValues.has(lt.triggerName)){const Ps=Zn.previousTriggersValues.get(lt.triggerName),ui=this.statesByElement.get(lt.element);if(ui&&ui.has(lt.triggerName)){const As=ui.get(lt.triggerName);As.value=Ps,ui.set(lt.triggerName,As)}}return void Lt.destroy()}}const Hi=!we||!this.driver.containsElement(we,fr),ci=Ze.get(fr),Uo=Be.get(fr),on=this._buildInstruction(lt,d,Uo,ci,Hi);if(on.errors&&on.errors.length)return void br.push(on);if(Hi)return Lt.onStart(()=>Mt(fr,on.fromStyles)),Lt.onDestroy(()=>At(fr,on.toStyles)),void f.push(Lt);if(lt.isFallbackTransition)return Lt.onStart(()=>Mt(fr,on.fromStyles)),Lt.onDestroy(()=>At(fr,on.toStyles)),void f.push(Lt);const vu=[];on.timelines.forEach(Zn=>{Zn.stretchStartingKeyframe=!0,this.disabledNodes.has(Zn.element)||vu.push(Zn)}),on.timelines=vu,d.append(fr,on.timelines),T.push({instruction:on,player:Lt,element:fr}),on.queriedElements.forEach(Zn=>Zt(S,Zn,[]).push(Lt)),on.preStyleProps.forEach((Zn,Ps)=>{if(Zn.size){let ui=G.get(Ps);ui||G.set(Ps,ui=new Set),Zn.forEach((As,di)=>ui.add(di))}}),on.postStyleProps.forEach((Zn,Ps)=>{let ui=J.get(Ps);ui||J.set(Ps,ui=new Set),Zn.forEach((As,di)=>ui.add(di))})});if(br.length){const Ue=[];br.forEach(Qe=>{Ue.push(function sn(){return new c.wOt(3505,!1)}())}),Fn.forEach(Qe=>Qe.destroy()),this.reportError(Ue)}const Yt=new Map,Xr=new Map;T.forEach(Ue=>{const Qe=Ue.element;d.has(Qe)&&(Xr.set(Qe,Qe),this._beforeAnimationBuild(Ue.player.namespaceId,Ue.instruction,Yt))}),f.forEach(Ue=>{const Qe=Ue.element;this._getPreviousPlayers(Qe,!1,Ue.namespaceId,Ue.triggerName,null).forEach(Lt=>{Zt(Yt,Qe,[]).push(Lt),Lt.destroy()})});const rs=Kt.filter(Ue=>Qo(Ue,G,J)),Vo=new Map;Ao(Vo,this.driver,En,J,W.kp).forEach(Ue=>{Qo(Ue,G,J)&&rs.push(Ue)});const Is=new Map;We.forEach((Ue,Qe)=>{Ao(Is,this.driver,new Set(Ue),G,W.FX)}),rs.forEach(Ue=>{const Qe=Vo.get(Ue),lt=Is.get(Ue);Vo.set(Ue,new Map([...Qe?.entries()??[],...lt?.entries()??[]]))});const Os=[],yu=[],za={};T.forEach(Ue=>{const{element:Qe,player:lt,instruction:Lt}=Ue;if(d.has(Qe)){if(ge.has(Qe))return lt.onDestroy(()=>At(Qe,Lt.toStyles)),lt.disabled=!0,lt.overrideTotalTime(Lt.totalTime),void f.push(lt);let fr=za;if(Xr.size>1){let ci=Qe;const Uo=[];for(;ci=ci.parentNode;){const on=Xr.get(ci);if(on){fr=on;break}Uo.push(ci)}Uo.forEach(on=>Xr.set(on,fr))}const Hi=this._buildAnimation(lt.namespaceId,Lt,Yt,v,Is,Vo);if(lt.setRealPlayer(Hi),fr===za)Os.push(lt);else{const ci=this.playersByElement.get(fr);ci&&ci.length&&(lt.parentPlayer=$n(ci)),f.push(lt)}}else Mt(Qe,Lt.fromStyles),lt.onDestroy(()=>At(Qe,Lt.toStyles)),yu.push(lt),ge.has(Qe)&&f.push(lt)}),yu.forEach(Ue=>{const Qe=v.get(Ue.element);if(Qe&&Qe.length){const lt=$n(Qe);Ue.setRealPlayer(lt)}}),f.forEach(Ue=>{Ue.parentPlayer?Ue.syncPlayerEvents(Ue.parentPlayer):Ue.destroy()});for(let Ue=0;Ue<Kt.length;Ue++){const Qe=Kt[Ue],lt=Qe[ur];if(Wr(Qe,ar),lt&<.hasAnimation)continue;let Lt=[];if(S.size){let Hi=S.get(Qe);Hi&&Hi.length&&Lt.push(...Hi);let ci=this.driver.query(Qe,ne,!0);for(let Uo=0;Uo<ci.length;Uo++){let on=S.get(ci[Uo]);on&&on.length&&Lt.push(...on)}}const fr=Lt.filter(Hi=>!Hi.destroyed);fr.length?oi(this,Qe,fr):this.processLeaveNode(Qe)}return Kt.length=0,Os.forEach(Ue=>{this.players.push(Ue),Ue.onDone(()=>{Ue.destroy();const Qe=this.players.indexOf(Ue);this.players.splice(Qe,1)}),Ue.play()}),Os}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,s,d,f,v){let T=[];if(s){const S=this.playersByQueriedElement.get(o);S&&(T=S)}else{const S=this.playersByElement.get(o);if(S){const G=!v||v==yi;S.forEach(J=>{J.queued||!G&&J.triggerName!=f||T.push(J)})}}return(d||f)&&(T=T.filter(S=>!(d&&d!=S.namespaceId||f&&f!=S.triggerName))),T}_beforeAnimationBuild(o,s,d){const v=s.element,T=s.isRemovalTransition?void 0:o,S=s.isRemovalTransition?void 0:s.triggerName;for(const G of s.timelines){const J=G.element,ge=J!==v,we=Zt(d,J,[]);this._getPreviousPlayers(J,ge,T,S,s.toState).forEach(We=>{const Be=We.getRealPlayer();Be.beforeDestroy&&Be.beforeDestroy(),We.destroy(),we.push(We)})}Mt(v,s.fromStyles)}_buildAnimation(o,s,d,f,v,T){const S=s.triggerName,G=s.element,J=[],ge=new Set,we=new Set,at=s.timelines.map(Be=>{const Ge=Be.element;ge.add(Ge);const Kt=Ge[ur];if(Kt&&Kt.removedBeforeQueried)return new W.sf(Be.duration,Be.delay);const Rn=Ge!==G,En=function vi(l){const o=[];return dr(l,o),o}((d.get(Ge)||ki).map(Yt=>Yt.getRealPlayer())).filter(Yt=>!!Yt.element&&Yt.element===Ge),Ze=v.get(Ge),kt=T.get(Ge),Fn=On(this._normalizer,Be.keyframes,Ze,kt),br=this._buildPlayer(Be,Fn,En);if(Be.subTimeline&&f&&we.add(Ge),Rn){const Yt=new ms(o,S,Ge);Yt.setRealPlayer(br),J.push(Yt)}return br});J.forEach(Be=>{Zt(this.playersByQueriedElement,Be.element,[]).push(Be),Be.onDone(()=>function ro(l,o,s){let d=l.get(o);if(d){if(d.length){const f=d.indexOf(s);d.splice(f,1)}0==d.length&&l.delete(o)}return d}(this.playersByQueriedElement,Be.element,Be))}),ge.forEach(Be=>zn(Be,ie));const We=$n(at);return We.onDestroy(()=>{ge.forEach(Be=>Wr(Be,ie)),At(G,s.toStyles)}),we.forEach(Be=>{Zt(f,Be,[]).push(We)}),We}_buildPlayer(o,s,d){return s.length>0?this.driver.animate(o.element,s,o.duration,o.delay,o.easing,d):new W.sf(o.duration,o.delay)}}class ms{constructor(o,s,d){this.namespaceId=o,this.triggerName=s,this.element=d,this._player=new W.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((s,d)=>{s.forEach(f=>mr(o,d,void 0,f))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const s=this._player;s.triggerCallback&&o.onStart(()=>s.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,s){Zt(this._queuedCallbacks,o,[]).push(s)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const s=this._player;s.triggerCallback&&s.triggerCallback(o)}}function Ie(l){return l&&1===l.nodeType}function Xn(l,o){const s=l.style.display;return l.style.display=o??"none",s}function Ao(l,o,s,d,f){const v=[];s.forEach(G=>v.push(Xn(G)));const T=[];d.forEach((G,J)=>{const ge=new Map;G.forEach(we=>{const at=o.computeStyle(J,we,f);ge.set(we,at),(!at||0==at.length)&&(J[ur]=to,T.push(J))}),l.set(J,ge)});let S=0;return s.forEach(G=>Xn(G,v[S++])),T}function No(l,o){const s=new Map;if(l.forEach(S=>s.set(S,[])),0==o.length)return s;const f=new Set(o),v=new Map;function T(S){if(!S)return 1;let G=v.get(S);if(G)return G;const J=S.parentNode;return G=s.has(J)?J:f.has(J)?1:T(J),v.set(S,G),G}return o.forEach(S=>{const G=T(S);1!==G&&s.get(G).push(S)}),s}function zn(l,o){l.classList?.add(o)}function Wr(l,o){l.classList?.remove(o)}function oi(l,o,s){$n(s).onDone(()=>l.processLeaveNode(o))}function dr(l,o){for(let s=0;s<l.length;s++){const d=l[s];d instanceof W.ui?dr(d.players,o):o.push(d)}}function Qo(l,o,s){const d=s.get(l);if(!d)return!1;let f=o.get(l);return f?d.forEach(v=>f.add(v)):o.set(l,d),s.delete(l),!0}class Yn{constructor(o,s,d){this._driver=s,this._normalizer=d,this._triggerCache={},this.onRemovalComplete=(f,v)=>{},this._transitionEngine=new vo(o.body,s,d),this._timelineEngine=new Ht(o.body,s,d),this._transitionEngine.onRemovalComplete=(f,v)=>this.onRemovalComplete(f,v)}registerTrigger(o,s,d,f,v){const T=o+"-"+f;let S=this._triggerCache[T];if(!S){const G=[],ge=ni(this._driver,v,G,[]);if(G.length)throw function Ve(){return new c.wOt(3404,!1)}();S=function fn(l,o,s){return new ut(l,o,s)}(f,ge,this._normalizer),this._triggerCache[T]=S}this._transitionEngine.registerTrigger(s,f,S)}register(o,s){this._transitionEngine.register(o,s)}destroy(o,s){this._transitionEngine.destroy(o,s)}onInsert(o,s,d,f){this._transitionEngine.insertNode(o,s,d,f)}onRemove(o,s,d){this._transitionEngine.removeNode(o,s,d)}disableAnimations(o,s){this._transitionEngine.markElementAsDisabled(o,s)}process(o,s,d,f){if("@"==d.charAt(0)){const[v,T]=Pn(d);this._timelineEngine.command(v,s,T,f)}else this._transitionEngine.trigger(o,s,d,f)}listen(o,s,d,f,v){if("@"==d.charAt(0)){const[T,S]=Pn(d);return this._timelineEngine.listen(T,s,S,v)}return this._transitionEngine.listen(o,s,d,f,v)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(o){this._transitionEngine.afterFlushAnimationsDone(o)}}class io{static{this.initialStylesByElement=new WeakMap}constructor(o,s,d){this._element=o,this._startStyles=s,this._endStyles=d,this._state=0;let f=io.initialStylesByElement.get(o);f||io.initialStylesByElement.set(o,f=new Map),this._initialStyles=f}start(){this._state<1&&(this._startStyles&&At(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(At(this._element,this._initialStyles),this._endStyles&&(At(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(io.initialStylesByElement.delete(this._element),this._startStyles&&(Mt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Mt(this._element,this._endStyles),this._endStyles=null),At(this._element,this._initialStyles),this._state=3)}}function pn(l){let o=null;return l.forEach((s,d)=>{(function _o(l){return"display"===l||"position"===l})(d)&&(o=o||new Map,o.set(d,s))}),o}class oo{constructor(o,s,d,f){this.element=o,this.keyframes=s,this.options=d,this._specialStyles=f,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=d.duration,this._delay=d.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:new Map;const s=()=>this._onFinish();this.domPlayer.addEventListener("finish",s),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",s)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(o){const s=[];return o.forEach(d=>{s.push(Object.fromEntries(d))}),s}_triggerWebAnimation(o,s,d){return o.animate(this._convertKeyframesToObject(s),d)}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((d,f)=>{"offset"!==f&&o.set(f,this._finished?d:lr(this.element,f))}),this.currentSnapshot=o}triggerCallback(o){const s="start"===o?this._onStartFns:this._onDoneFns;s.forEach(d=>d()),s.length=0}}class xt{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}containsElement(o,s){return _r(o,s)}getParentElement(o){return qn(o)}query(o,s,d){return vn(o,s,d)}computeStyle(o,s,d){return lr(o,s)}animate(o,s,d,f,v,T=[]){const G={duration:d,delay:f,fill:0==f?"both":"forwards"};v&&(G.easing=v);const J=new Map,ge=T.filter(We=>We instanceof oo);(function To(l,o){return 0===l||0===o})(d,f)&&ge.forEach(We=>{We.currentSnapshot.forEach((Be,Ge)=>J.set(Ge,Be))});let we=function ot(l){return l.length?l[0]instanceof Map?l:l.map(o=>new Map(Object.entries(o))):[]}(s).map(We=>new Map(We));we=function Kn(l,o,s){if(s.size&&o.length){let d=o[0],f=[];if(s.forEach((v,T)=>{d.has(T)||f.push(T),d.set(T,v)}),f.length)for(let v=1;v<o.length;v++){let T=o[v];f.forEach(S=>T.set(S,lr(l,S)))}}return o}(o,we,J);const at=function Lr(l,o){let s=null,d=null;return Array.isArray(o)&&o.length?(s=pn(o[0]),o.length>1&&(d=pn(o[o.length-1]))):o instanceof Map&&(s=pn(o)),s||d?new io(l,s,d):null}(o,we);return new oo(o,we,G,at)}}const Xo="@.disabled";class Yo{constructor(o,s,d,f){this.namespaceId=o,this.delegate=s,this.engine=d,this._onDestroy=f,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(o){this.delegate.destroyNode?.(o)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(o,s){return this.delegate.createElement(o,s)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,s){this.delegate.appendChild(o,s),this.engine.onInsert(this.namespaceId,s,o,!1)}insertBefore(o,s,d,f=!0){this.delegate.insertBefore(o,s,d),this.engine.onInsert(this.namespaceId,s,o,f)}removeChild(o,s,d){this.parentNode(s)&&this.engine.onRemove(this.namespaceId,s,this.delegate)}selectRootElement(o,s){return this.delegate.selectRootElement(o,s)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,s,d,f){this.delegate.setAttribute(o,s,d,f)}removeAttribute(o,s,d){this.delegate.removeAttribute(o,s,d)}addClass(o,s){this.delegate.addClass(o,s)}removeClass(o,s){this.delegate.removeClass(o,s)}setStyle(o,s,d,f){this.delegate.setStyle(o,s,d,f)}removeStyle(o,s,d){this.delegate.removeStyle(o,s,d)}setProperty(o,s,d){"@"==s.charAt(0)&&s==Xo?this.disableAnimations(o,!!d):this.delegate.setProperty(o,s,d)}setValue(o,s){this.delegate.setValue(o,s)}listen(o,s,d){return this.delegate.listen(o,s,d)}disableAnimations(o,s){this.engine.disableAnimations(o,s)}}class wo extends Yo{constructor(o,s,d,f,v){super(s,d,f,v),this.factory=o,this.namespaceId=s}setProperty(o,s,d){"@"==s.charAt(0)?"."==s.charAt(1)&&s==Xo?this.disableAnimations(o,d=void 0===d||!!d):this.engine.process(this.namespaceId,o,s.slice(1),d):this.delegate.setProperty(o,s,d)}listen(o,s,d){if("@"==s.charAt(0)){const f=function Ke(l){switch(l){case"body":return document.body;case"document":return document;case"window":return window;default:return l}}(o);let v=s.slice(1),T="";return"@"!=v.charAt(0)&&([v,T]=function _i(l){const o=l.indexOf(".");return[l.substring(0,o),l.slice(o+1)]}(v)),this.engine.listen(this.namespaceId,f,v,T,S=>{this.factory.scheduleListenerCallback(S._data||-1,d,S)})}return this.delegate.listen(o,s,d)}}class hr{constructor(o,s,d){this.delegate=o,this.engine=s,this._zone=d,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,s.onRemovalComplete=(f,v)=>{v?.removeChild(null,f)}}createRenderer(o,s){const f=this.delegate.createRenderer(o,s);if(!o||!s?.data?.animation){const J=this._rendererCache;let ge=J.get(f);return ge||(ge=new Yo("",f,this.engine,()=>J.delete(f)),J.set(f,ge)),ge}const v=s.id,T=s.id+"-"+this._currentId;this._currentId++,this.engine.register(T,o);const S=J=>{Array.isArray(J)?J.forEach(S):this.engine.registerTrigger(v,T,o,J.name,J)};return s.data.animation.forEach(S),new wo(this,T,f,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(o,s,d){if(o>=0&&o<this._microtaskId)return void this._zone.run(()=>s(d));const f=this._animationCallbacksBuffer;0==f.length&&queueMicrotask(()=>{this._zone.run(()=>{f.forEach(v=>{const[T,S]=v;T(S)}),this._animationCallbacksBuffer=[]})}),f.push([s,d])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const Vr=[{provide:yt,useFactory:function Bs(){return new $r}},{provide:Yn,useClass:(()=>{class l extends Yn{constructor(s,d,f){super(s,d,f)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(d){return new(d||l)(c.KVO(I.qQ),c.KVO(Qi),c.KVO(yt))}}static{this.\u0275prov=c.jDH({token:l,factory:l.\u0275fac})}}return l})()},{provide:c._9s,useFactory:function Ua(l,o,s){return new hr(l,o,s)},deps:[me.B7,Yn,c.SKi]}],Zo=[{provide:Qi,useFactory:()=>new xt},{provide:c.bc$,useValue:"BrowserAnimations"},...Vr],w=[{provide:Qi,useClass:$t},{provide:c.bc$,useValue:"NoopAnimations"},...Vr];let D=(()=>{class l{static withConfig(s){return{ngModule:l,providers:s.disableAnimations?w:Zo}}static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275mod=c.$C({type:l})}static{this.\u0275inj=c.G2t({providers:Zo,imports:[me.Bb]})}}return l})();var $e=O(3400);const gt=["*"];function tn(l,o){if(1&l&&(c.j41(0,"span",7),c.SdG(1),c.k0s()),2&l){const s=c.XpG(2);c.BMQ("id",s.infoBlockID)}}function Le(l,o){if(1&l){const s=c.RV6();c.qex(0),c.j41(1,"a",3),c.bIt("click",function(){c.eBV(s);const f=c.XpG();return c.Njj(f.toggleInfoBlock())}),c.nrm(2,"span",4)(3,"span",5),c.k0s(),c.DNE(4,tn,2,1,"span",6),c.bVm()}if(2&l){const s=c.XpG();c.R7$(),c.BMQ("id",s.infoIconID)("title",s.toggleActionTitle),c.R7$(2),c.Y8G("innerHtml",s.toggleActionTitle,c.npT),c.R7$(),c.Y8G("ngIf",s.showInfoBlock)}}function js(l,o){if(1&l&&c.EFF(0),2&l){const s=c.XpG();c.SpI(" ",s.locale.maketext("Loading \u2026"),"\n")}}function Bl(l,o){1&l&&c.eu8(0)}const jl=["header"],aa=[[["","callout-heading",""]],"*"],$s=["[callout-heading]","*"];function zt(l,o){if(1&l){const s=c.RV6();c.j41(0,"button",4),c.bIt("click",function(){c.eBV(s);const f=c.XpG();return c.Njj(f.closeClicked())}),c.nrm(1,"i",5),c.k0s()}if(2&l){const s=c.XpG();c.BMQ("id",s.buttonID)}}function ys(l,o){if(1&l&&(c.j41(0,"li",3),c.nrm(1,"i",4)(2,"span",5),c.k0s()),2&l){const s=o.$implicit;c.BMQ("id",s.id),c.R7$(2),c.Y8G("innerHtml",s.message,c.npT)}}function Vi(l,o){if(1&l&&(c.j41(0,"ul",1),c.DNE(1,ys,3,2,"li",2),c.k0s()),2&l){const s=c.XpG();c.R7$(),c.Y8G("ngForOf",s.getFieldErrors())}}const Jo=l=>({visibility:l});function zs(l,o){if(1&l){const s=c.RV6();c.j41(0,"button",9),c.bIt("click",function(){c.eBV(s);const f=c.XpG(2);return c.Njj(f.fireClose())}),c.j41(1,"span"),c.EFF(2,"\xd7"),c.k0s()()}if(2&l){const s=c.XpG(2);c.Y8G("id",s.closeButtonID)("title",s.closeLabel),c.BMQ("aria-label",s.closeLabel),c.R7$(),c.BMQ("aria-hidden",!0)}}function tt(l,o){if(1&l){const s=c.RV6();c.j41(0,"button",10),c.bIt("click",function(){c.eBV(s);const f=c.XpG(2);return c.Njj(f.fireToggleMore())}),c.EFF(1),c.k0s()}if(2&l){const s=c.XpG(2);c.Y8G("id",s.moreButtonID),c.R7$(),c.SpI(" ",s.moreLabel," ")}}function _s(l,o){if(1&l&&(c.j41(0,"strong",11),c.EFF(1),c.k0s()),2&l){const s=c.XpG(2);c.R7$(),c.JRh(s.label)}}function es(l,o){if(1&l&&(c.j41(0,"span",12),c.EFF(1),c.k0s()),2&l){const s=c.XpG(2);c.Y8G("id",s.textMessageID),c.R7$(),c.SpI(" ",s.message," ")}}function so(l,o){if(1&l&&(c.j41(0,"li")(1,"span",12),c.EFF(2),c.k0s()()),2&l){const s=o.$implicit,d=o.index,f=c.XpG(3);c.R7$(),c.FS9("id",f.textListID+"_"+d),c.R7$(),c.SpI(" ",s," ")}}function Cs(l,o){if(1&l&&(c.j41(0,"ul",13),c.DNE(1,so,3,2,"li",14),c.k0s()),2&l){const s=c.XpG(2);c.R7$(),c.Y8G("ngForOf",s.alert.list)}}function Hl(l,o){if(1&l&&(c.j41(0,"div",1),c.DNE(1,zs,3,4,"button",2)(2,tt,2,2,"button",3),c.nrm(3,"span"),c.j41(4,"div",4),c.DNE(5,_s,2,1,"strong",5),c.j41(6,"span",6),c.DNE(7,es,2,2,"span",7),c.k0s(),c.DNE(8,Cs,2,1,"ul",8),c.k0s()()),2&l){const s=c.XpG();c.ZvI("alert alert-",s.type," ng-hide"),c.Y8G("@openClose",s.animationClass),c.R7$(),c.Y8G("ngIf",s.showCloseButton),c.R7$(),c.Y8G("ngIf",s.showMoreButton),c.R7$(),c.HbH(s.icon),c.BMQ("aria-hidden",!0),c.R7$(2),c.Y8G("ngIf",s.hasLabel),c.R7$(2),c.Y8G("ngIf",s.message),c.R7$(),c.Y8G("ngIf",s.alert&&s.alert.list&&s.alert.list.length)}}function ws(l,o){if(1&l){const s=c.RV6();c.j41(0,"div",6)(1,"cp-alert",7),c.bIt("close",function(){const f=c.eBV(s).$implicit,v=c.XpG();return c.Njj(v.alertClosed(f))}),c.k0s()()}if(2&l){const s=o.$implicit;c.R7$(),c.Y8G("alert",s)}}function Ba(l,o){if(1&l&&c.nrm(0,"div",8),2&l){const s=c.XpG();c.Y8G("ngClass",s.positionClasses)}}const Gl=["searchInput"];function zl(l,o){if(1&l&&(c.j41(0,"span",6),c.EFF(1),c.k0s()),2&l){const s=c.XpG();c.R7$(),c.JRh(s.clearIconLabel)}}function qs(l,o){if(1&l){const s=c.RV6();c.j41(0,"button",3),c.bIt("click",function(){const f=c.eBV(s).$implicit,v=c.XpG();return c.Njj(v.onOptionClicked(f))}),c.k0s()}if(2&l){const s=o.$implicit,d=c.XpG();c.Y8G("disabled",d.disabled)("selected",d.isOptionSelected(s))("value",s)}}function Ks(l,o){1&l&&c.EFF(0," >\n")}function Dt(l,o){1&l&&c.EFF(0," <\n")}function Ds(l,o){1&l&&c.EFF(0," >>\n")}function ha(l,o){1&l&&c.EFF(0," <<\n")}class wn{static{this.defaultShowMore=!1}static{this.defaultAutoClosePeriod=0}static{this.defaultOptions={autoClosePeriod:wn.defaultAutoClosePeriod,list:[]}}constructor(o,s,d=wn.defaultOptions){this._message=o,this._type=s;const f=d.id?d.id:Math.random().toString(36).substr(2,9);this._id=f,this._closable=null==d.isCloseable||d.isCloseable,this._autoClosePeriod=d.autoClosePeriod,this._list=d.list,this._showMore=d.showMore||wn.defaultShowMore,this._ts=null==d.createdOn?Date.now():d.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(o){const{message:s,type:d,...f}=o;return new wn(s,d,f)}}var nn=function(l){return l[l.error=0]="error",l[l.success=1]="success",l[l.warning=2]="warning",l[l.information=3]="information",l}(nn||{}),ji=function(l){return l.add="add",l.remove="remove",l.clear="clear",l}(ji||{});let Fo=(()=>{class l{static{this.defaultGroup="__DEFAULT__"}static{this.defaultSuccessOptions={autoClosePeriod:1e4}}constructor(){this._alertEventsSource=new H.B,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(s,d=l.defaultGroup){this._alerts[d]||(this._alerts[d]=[]);const f=s instanceof wn?s:wn.makeAlert(s);if(this.list(d).push(f),this._alertEventsSource.next({type:ji.add,group:d,alert:f}),(0,c.naY)())switch(f.type){case nn.error:console.error(f.message,f);break;case nn.warning:console.warn(f.message,f);break;default:console.log(f.message,f)}return f}success(s,d=l.defaultGroup){return this.add(new wn(s,nn.success,l.defaultSuccessOptions),d)}error(s,d=l.defaultGroup){return this.add({message:s,type:nn.error},d)}info(s,d=l.defaultGroup){return this.add({message:s,type:nn.information},d)}warn(s,d=l.defaultGroup){return this.add({message:s,type:nn.warning},d)}removeById(s,d=l.defaultGroup){const f=this.list(d),v=f.findIndex(T=>T.id===s,0);if(-1!==v){const T=f[v];f.splice(v,1),this._alertEventsSource.next({type:ji.remove,group:d,alert:T})}}clear(s=l.defaultGroup){this._alerts[s]=[],this._alertEventsSource.next({type:ji.clear,group:s})}list(s=l.defaultGroup){return null==this._alerts[s]&&(this._alerts[s]=[]),this._alerts[s]}static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275prov=c.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}}return l})();var Ci=function(l){return l.inline="inline",l.topLeft="top-left",l.topMiddle="top-middle",l.topRight="top-right",l.bottomLeft="bottom-left",l.bottomMiddle="bottom-middle",l.bottomRight="bottom-right",l.middleLeft="middle-left",l.middleMiddle="middle-middle",l.middleRight="middle-right",l}(Ci||{});const b=Ci.topRight,_=Ci.topLeft;let ve=(()=>{class l{constructor(s){this.locale=s,this.showInfoToggle=!0,this.toggleActionTitleExpand=s.maketext("Expand"),this.toggleActionTitleCollapse=s.maketext("Collapse")}toggleInfoBlock(){this.showInfoBlock=!this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-form-label`");this.labelID=`${this.id}_label`,this.infoIconID=`${this.id}_infoIcon`,this.infoBlockID=`${this.id}_infoBlock`,this.showInfoBlock=(!0===this.showInfoBlock||!1===this.showInfoBlock)&&this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}updateToggleActionTitle(s){this.toggleActionTitle=s?this.toggleActionTitleCollapse:this.toggleActionTitleExpand}static{this.\u0275fac=function(d){return new(d||l)(c.rXU(K.h))}}static{this.\u0275cmp=c.VBU({type:l,selectors:[["cp-form-label"]],inputs:{id:"id",for:"for",showInfoBlock:"showInfoBlock",labelText:"labelText",showInfoToggle:"showInfoToggle"},ngContentSelectors:gt,decls:4,vars:4,consts:[[1,"toggle-info-label-container"],[3,"innerHtml"],[4,"ngIf"],["href","javascript:void(0)",1,"text-primary","form-info-sign",3,"click"],["aria-hidden","true",1,"far","fa-question-circle","text-primary"],[1,"sr-only",3,"innerHtml"],["class","info-block",4,"ngIf"],[1,"info-block"]],template:function(d,f){1&d&&(c.NAR(),c.j41(0,"div",0),c.nrm(1,"label",1),c.EFF(2," \xa0 "),c.DNE(3,Le,5,4,"ng-container",2),c.k0s()),2&d&&(c.R7$(),c.Y8G("innerHtml",f.labelText,c.npT),c.BMQ("id",f.labelID)("for",f.for),c.R7$(2),c.Y8G("ngIf",f.showInfoToggle))},dependencies:[I.bT],styles:["label[_ngcontent-%COMP%]{margin:0 0 5px}.info-block[_ngcontent-%COMP%]{color:#737373;display:block;margin:0 0 5px;font-weight:400;font-size:13px}"]})}}return l})(),rn=(()=>{class l{static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275mod=c.$C({type:l})}static{this.\u0275inj=c.G2t({imports:[I.MD,X.B]})}}return l})(),Bt=(()=>{class l{constructor(s){this.locale=s,this.containerId="",this.spinnerId="",this.messageId=""}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-loading-spinner`");this.containerId=this.id+"_loadingSpinnerContainer",this.spinnerId=this.id+"_loadingSpinner",this.messageId=this.id+"_loadingMessage"}static{this.\u0275fac=function(d){return new(d||l)(c.rXU(K.h))}}static{this.\u0275cmp=c.VBU({type:l,selectors:[["cp-loading-spinner"]],inputs:{loadingTemplate:"loadingTemplate",id:"id"},decls:6,vars:4,consts:[["defaultLoadingTemplate",""],["aria-busy","true","aria-live","polite",1,"loading-spinner-container"],[1,"fas","fa-spinner","fa-spin","spinner"],[1,"loading-spinner-message"],[4,"ngTemplateOutlet"]],template:function(d,f){if(1&d&&(c.DNE(0,js,1,1,"ng-template",null,0,c.C5r),c.j41(2,"div",1),c.nrm(3,"i",2),c.j41(4,"div",3),c.DNE(5,Bl,1,0,"ng-container",4),c.k0s()()),2&d){const v=c.sdS(1);c.R7$(2),c.BMQ("id",f.containerId),c.R7$(),c.BMQ("id",f.spinnerId),c.R7$(),c.BMQ("id",f.messageId),c.R7$(),c.Y8G("ngTemplateOutlet",f.loadingTemplate?f.loadingTemplate:v)}},dependencies:[I.T3],styles:['.loading-spinner-container[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7;border-radius:2px;margin-bottom:20px;box-shadow:inset 41px 0 #179bd7}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset 40px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset -40px 0 #179bd7}.spinner[_ngcontent-%COMP%]{color:#d7edf9;font-size:20px;display:inline-block;padding:10px}.loading-spinner-message[_ngcontent-%COMP%]{color:#333;display:inline-block;overflow-wrap:break-word;word-wrap:break-word}.loading-spinner-message[_ngcontent-%COMP%] a{text-decoration:underline;color:#255783}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 0 0 10px}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 10px 0 0}']})}}return l})(),un=(()=>{class l{static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275mod=c.$C({type:l})}static{this.\u0275inj=c.G2t({imports:[I.MD,X.B]})}}return l})();var $i=function(l){return l.warnings="warnings",l.danger="danger",l.info="info",l.default="info",l}($i||{});let wi=(()=>{class l{constructor(){this.calloutType=$i.default,this.closeable=!1,this.close=new c.bkB}closeClicked(){this.close.emit(null)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-callout`");this.buttonID=`${this.id}_button`,this.headingID=`${this.id}_heading`,this.contentID=`${this.id}_content`}ngAfterViewInit(){0===this.header.nativeElement.children.length&&this.header.nativeElement.classList.add("hidden")}static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275cmp=c.VBU({type:l,selectors:[["cp-callout"]],viewQuery:function(d,f){if(1&d&&c.GBs(jl,5),2&d){let v;c.mGM(v=c.lsd())&&(f.header=v.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:$s,decls:7,vars:7,consts:[["header",""],["role","alert"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[1,"callout-heading"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true",1,"fas","fa-sm","fa-times"]],template:function(d,f){1&d&&(c.NAR(aa),c.j41(0,"div",1),c.DNE(1,zt,2,1,"button",2),c.j41(2,"div",3,0),c.SdG(4),c.k0s(),c.j41(5,"div"),c.SdG(6,1),c.k0s()()),2&d&&(c.ZvI("callout callout-",f.calloutType,""),c.BMQ("aria-label",f.calloutType),c.R7$(),c.Y8G("ngIf",f.closeable),c.R7$(),c.BMQ("id",f.headingID),c.R7$(3),c.BMQ("id",f.contentID))},dependencies:[I.bT],styles:['.callout[_ngcontent-%COMP%]{border-left-width:3px;border-left-style:solid;border-left-color:#eee;margin:15px 0;padding:15px}.callout-danger[_ngcontent-%COMP%]{background-color:#f2dede;border-left-color:#d03f00}.callout-success[_ngcontent-%COMP%]{background-color:#dff2d5;border-left-color:#83b655}.callout-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border-left-color:#f6c342}.callout-info[_ngcontent-%COMP%]{background-color:#d7edf9;border-left-color:#179bd7}.callout-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:15px;font-family:inherit;font-weight:600;line-height:1.1;color:inherit;text-transform:capitalize}html[dir="rtl"][_nghost-%COMP%] .callout[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout[_ngcontent-%COMP%]{border-left-width:0;border-left-style:none;border-left-color:transparent;border-right-width:3px;border-right-style:solid;border-right-color:#eee}html[dir="rtl"][_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#d03f00}html[dir="rtl"][_nghost-%COMP%] .callout-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-success[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#83b655}html[dir="rtl"][_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#f6c342}html[dir="rtl"][_nghost-%COMP%] .callout-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-info[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#179bd7}']})}}return l})(),Eo=(()=>{class l{static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275mod=c.$C({type:l})}static{this.\u0275inj=c.G2t({imports:[I.MD]})}}return l})(),si=(()=>{class l{constructor(){}hasErrors(){return this.control&&!this.control.valid}hasChanged(){return this.control&&(this.control.dirty||this.control.touched)}getFieldErrors(){return this.control?Object.keys(this.control.errors).map(s=>(this.control.errors[s].id=`${this.id}_${s}`,this.control.errors[s].key=s,this.control.errors[s])):[]}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-validation-container`")}static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275cmp=c.VBU({type:l,selectors:[["cp-validation-container"]],inputs:{control:"control",id:"id"},decls:1,vars:1,consts:[["class","validation-container",4,"ngIf"],[1,"validation-container"],["class","validation validation-error ng-hide",4,"ngFor","ngForOf"],[1,"validation","validation-error","ng-hide"],[1,"fas","fa-exclamation-circle"],[1,"validation-message",3,"innerHtml"]],template:function(d,f){1&d&&c.DNE(0,Vi,2,1,"ul",0),2&d&&c.Y8G("ngIf",f.hasErrors()&&f.hasChanged())},dependencies:[I.Sq,I.bT],styles:['.validation-container[_ngcontent-%COMP%]{background-color:#f8c9c4;border:1px solid #a94442;padding:5px;border-radius:2px;list-style:none;margin-bottom:0;margin-top:5px}.validation-error[_ngcontent-%COMP%]{position:relative;line-height:20px}.validation-error[_ngcontent-%COMP%] > .fas[_ngcontent-%COMP%]{color:#a94442;display:inline-block;position:absolute;top:4px}.validation-message[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-left:20px}html[dir="rtl"][_nghost-%COMP%] .validation-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .validation-message[_ngcontent-%COMP%]{margin-right:20px;margin-left:0}']})}}return l})(),qr=(()=>{class l{static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275mod=c.$C({type:l})}static{this.\u0275inj=c.G2t({imports:[I.MD]})}}return l})();var Kr=function(l){return l.loading="loading",l.disabled="disabled",l.enabled="enabled",l}(Kr||{});let ai=(()=>{class l{constructor(){this.click=new c.bkB,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(s){switch(s){case Kr.enabled:this.setToEnabled();break;case Kr.loading:this.setToLoading();break;case Kr.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(s){s.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275cmp=c.VBU({type:l,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:gt,decls:3,vars:10,consts:[[1,"btn","action-button",3,"click","id","type","ngClass","disabled"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(d,f){1&d&&(c.NAR(),c.j41(0,"button",0),c.bIt("click",function(T){return f.onClick(T)}),c.nrm(1,"i",1),c.SdG(2),c.k0s()),2&d&&(c.Mz_("id","",f.id,"-button"),c.FS9("type",f.type),c.Y8G("ngClass",f.buttonClass)("disabled",f.isDisabled),c.R7$(),c.Mz_("id","",f.id,"-spinner"),c.Y8G("ngStyle",c.eq3(8,Jo,f.showSpinner?"visible":"hidden")))},dependencies:[I.YU,I.B3],styles:['.action-button[_ngcontent-%COMP%]{padding:6px 26px 6px 12px}html[dir="rtl"][_nghost-%COMP%] .action-button[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .action-button[_ngcontent-%COMP%]{padding:6px 12px 6px 26px}']})}}return l})(),Ur=(()=>{class l{static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275mod=c.$C({type:l})}static{this.\u0275inj=c.G2t({imports:[I.MD]})}}return l})();var Wn=function(l){return l.new="new",l.closed="closed",l.open="open",l}(Wn||{});let fa=(()=>{class l{constructor(s){this.locale=s,this.close=new c.bkB,this.toggleMore=new c.bkB,this.animationClass=Wn.new}get icon(){switch(this.alert.type){case nn.error:return"type-icon fas fa-times-circle";case nn.warning:return"type-icon fas fa-exclamation-triangle";case nn.information:return"type-icon fas fa-info-circle";case nn.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case nn.error:return"danger";case nn.warning:return"warning";case nn.information:return"info";case nn.success:return"success"}}get hasLabel(){const s=this.label;return null!==s&&""!==s}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 nn.success:this.label=this.locale.maketext("Success:");break;case nn.error:this.label=this.locale.maketext("Error:");break;case nn.information:this.label=this.locale.maketext("Information:");break;case nn.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=Wn.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=Wn.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(...s){return s.join("_")}static{this.\u0275fac=function(d){return new(d||l)(c.rXU(K.h))}}static{this.\u0275cmp=c.VBU({type:l,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(d,f){1&d&&c.DNE(0,Hl,9,13,"div",0),2&d&&c.Y8G("ngIf",!f.isClosed)},dependencies:[I.Sq,I.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,W.hZ)("openClose",[(0,W.wk)(Wn.new,(0,W.iF)({opacity:0})),(0,W.wk)(Wn.open,(0,W.iF)({opacity:1})),(0,W.wk)(Wn.closed,(0,W.iF)({opacity:0,transform:"translateX(25%)"})),(0,W.kY)(`${Wn.open} => ${Wn.closed}`,[(0,W.i0)("0.25s")]),(0,W.kY)(`${Wn.new} => ${Wn.open}`,[(0,W.i0)("0.25s")]),(0,W.kY)(`${Wn.closed} => ${Wn.open}`,[(0,W.i0)("0.25s")])])]}})}}return l})(),gu=(()=>{class l{static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275mod=c.$C({type:l})}static{this.\u0275inj=c.G2t({imports:[I.MD,D,X.B]})}}return l})(),Xl=(()=>{class l{constructor(s){this.locale=s}get position(){return this.locale.isLtr?b:_}static{this.\u0275fac=function(d){return new(d||l)(c.KVO(K.h))}}static{this.\u0275prov=c.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}}return l})(),Yl=(()=>{class l{static{this.positionPrefix="position-"}constructor(s,d){this._alertService=s,this._positionService=d,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?l.positionPrefix+Ci.inline.toString():l.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(s){this._position=((l,o=Ci.topRight)=>{if(l){const s=(l=>{const o=Object.keys(Ci),d=Object.values(Ci).indexOf(l);return-1!==d?o[d]:(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)})(l);if(s)return Ci[s]}return o})(s)}alertClosed(s){this._alertService.removeById(s.id,this.group)}ngOnInit(){this.group||(this.group=Fo.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(d=>this._addAlert(d)),this._groupEvents=this._alertService.alertEvents.pipe((0,R.p)(d=>d.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(s){return this.alerts.findIndex(d=>d.id===s)}_addAlert(s){return this.alerts.push(s),this.alerts}_removeAlert(s){const d=this._findAlertIndexById(s.id);return d>-1&&(this.alerts.splice(d,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(s){switch(s.type){case ji.add:this._addAlert(s.alert);break;case ji.clear:this._clearAlerts();break;case ji.remove:this._removeAlert(s.alert)}}static{this.\u0275fac=function(d){return new(d||l)(c.rXU(Fo),c.rXU(Xl))}}static{this.\u0275cmp=c.VBU({type:l,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(d,f){1&d&&(c.j41(0,"div")(1,"div",2,0)(3,"div",3,1),c.DNE(5,ws,2,1,"div",4),c.k0s()(),c.DNE(6,Ba,1,1,"div",5),c.k0s()),2&d&&(c.R7$(),c.Y8G("ngClass",f.positionClasses),c.R7$(4),c.Y8G("ngForOf",f.alerts),c.R7$(),c.Y8G("ngIf",f.hasAlerts))},dependencies:[I.YU,I.Sq,I.bT,fa],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 l})(),Qr=(()=>{class l{static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275mod=c.$C({type:l})}static{this.\u0275inj=c.G2t({imports:[I.MD,gu]})}}return l})(),$a=(()=>{class l{constructor(s){this.locale=s,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new c.bkB,this._searchSubject=new H.B,this._unsubscribe=new H.B,delete this.label,delete this.placeholder}get value(){return this._value}set value(s){this._value=s,this._searchSubject.next(s)}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,x.Q)(this._unsubscribe),(0,U.B)(this.debounce),(0,z.F)()).subscribe(s=>{this.valueChange.emit(s)})}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}static{this.\u0275fac=function(d){return new(d||l)(c.rXU(K.h))}}static{this.\u0275cmp=c.VBU({type:l,selectors:[["cp-search"]],viewQuery:function(d,f){if(1&d&&c.GBs(Gl,5),2&d){let v;c.mGM(v=c.lsd())&&(f.searchInput=v.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(d,f){if(1&d){const v=c.RV6();c.j41(0,"div",1)(1,"input",2,0),c.mxI("ngModelChange",function(S){return c.eBV(v),c.DH7(f.value,S)||(f.value=S),c.Njj(S)}),c.bIt("keyup.esc",function(){return c.eBV(v),c.Njj(f.clearValue())}),c.k0s(),c.j41(3,"span",3),c.bIt("click",function(){return c.eBV(v),c.Njj(f.clearValue())}),c.nrm(4,"span",4),c.DNE(5,zl,2,1,"span",5),c.k0s()()}2&d&&(c.R7$(),c.Mz_("id","",f.id,"-search-input"),c.R50("ngModel",f.value),c.Y8G("disabled",f.disabled)("placeholder",f.placeholder)("title",f.label),c.BMQ("aria-label",f.label)("list",f.list),c.R7$(2),c.Mz_("id","",f.id,"-search-input-addon"),c.R7$(),c.Mz_("id","",f.id,"-search-input-icon"),c.Y8G("ngClass",(null==f.value?null:f.value.length)>0?"fas fa-times":"fas fa-search"),c.R7$(),c.Y8G("ngIf",(null==f.value?null:f.value.length)>0))},dependencies:[I.YU,I.bT,B.me,B.BC,B.vS],changeDetection:0})}}return l})(),Ss=(()=>{class l{static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275mod=c.$C({type:l})}static{this.\u0275inj=c.G2t({imports:[I.MD,B.YN,X.B]})}}return l})(),lo=(()=>{class l{constructor(s,d=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(d),this.selectorName=s.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach(s=>{if(!this[s])throw new Error(`"${s}" must be defined for "${this.selectorName}"`)}),this._initiate()}_initiate(){}static{this.\u0275fac=function(d){c.QTQ()}}static{this.\u0275dir=c.FsC({type:l,inputs:{id:"id"}})}}return l})();var ya=function(l){return l[l.all=-1]="all",l}(ya||{});const Ts="pageSizeOption";let Ha=(()=>{class l{constructor(s){this.locale=s,this.id="",this.cssClasses="",this.description="",this.ariaPressed=!1,this.selected=!1,this._baseCSSClasses="btn btn-default btn-sm no-validation-border",this._activeClass="active"}ngOnChanges(){this.value===ya.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${Ts}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${Ts}_${this.value.toString()}`),this.selected?(this.cssClasses=`${this._baseCSSClasses} ${this._activeClass}`,this.ariaPressed=!0):(this.cssClasses=this._baseCSSClasses,this.ariaPressed=!1)}ngOnInit(){this.ngOnChanges()}static{this.\u0275fac=function(d){return new(d||l)(c.rXU(K.h))}}static{this.\u0275dir=c.FsC({type:l,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(d,f){2&d&&(c.Mr5("id",f.id)("innerText",f.label),c.BMQ("aria-label",f.description)("aria-pressed",f.ariaPressed),c.HbH(f.cssClasses))},inputs:{value:"value",selected:"selected"},features:[c.OA$]})}}return l})(),Ga=(()=>{class l extends lo{static{this.defaultPageSizeOptions=[20,50,100,500]}static{this.defaultPageSize=20}constructor(s,d){super(s),this.locale=d,this.selectedPageSize=l.defaultPageSize,this.pageSizeOptions=l.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new c.bkB,this.displayedPageSizeOptions=[]}isOptionSelected(s){return s===this.selectedPageSize}onOptionClicked(s){this._dispatchChange(s)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const s=this.pageSizeOptions.slice(0).sort((f,v)=>f-v);this.showOptionAll&&s.push(ya.all),-1!==s.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=s:this._dispatchChange(s[0])}_dispatchChange(s){this.optionSelected.emit(s)}static{this.\u0275fac=function(d){return new(d||l)(c.rXU(c.aKT),c.rXU(K.h))}}static{this.\u0275cmp=c.VBU({type:l,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[c.Vt3,c.OA$],decls:5,vars:2,consts:[[1,"text-small","text-uppercase"],["role","group",1,"btn-group","page-size-buttons"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click",4,"ngFor","ngForOf"],["cpPageSizeOption","","type","button",3,"click","disabled","selected","value"]],template:function(d,f){1&d&&(c.j41(0,"div")(1,"div",0),c.EFF(2),c.k0s(),c.j41(3,"div",1),c.DNE(4,qs,1,3,"button",2),c.k0s()()),2&d&&(c.R7$(2),c.SpI(" ",f.locale.maketext("Entries Per Page")," "),c.R7$(2),c.Y8G("ngForOf",f.displayedPageSizeOptions))},dependencies:[I.Sq,Ha],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]})}}return l})(),Xs=(()=>{class l{static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275mod=c.$C({type:l})}static{this.\u0275inj=c.G2t({imports:[I.MD,X.B]})}}return l})(),ec=(()=>{class l extends lo{static{this.defaultMaxPagesVisible=5}static{this.firstPageIndex=1}constructor(s,d){super(s),this.locale=d,this.maxPagesVisible=l.defaultMaxPagesVisible,this.selectedPage=l.firstPageIndex,this.pageSize=Ga.defaultPageSize,this.disabled=!1,this.pageChanged=new c.bkB}onPageChanged(s){this._dispatchChange(s)}onNumPagesChanged(s){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(s){const d=this.pageSize*(s-1),f=Math.min(d+this.pageSize,this.totalItems);this.pageChanged.emit({page:s,firstItem:d,lastItem:f}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",d+1,f,this.totalItems)}static{this.\u0275fac=function(d){return new(d||l)(c.rXU(c.aKT),c.rXU(K.h))}}static{this.\u0275cmp=c.VBU({type:l,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[c.Vt3],decls:12,vars:14,consts:[["nextTemplate",""],["prevTemplate",""],["lastTemplate",""],["firstTemplate",""],[3,"id"],[3,"ngModelChange","pageChanged","numPages","id","totalItems","maxSize","disabled","itemsPerPage","ngModel","boundaryLinks","customFirstTemplate","customLastTemplate","customPreviousTemplate","customNextTemplate"],[1,"pagination-item-details","text-small","text-right","flip"]],template:function(d,f){if(1&d){const v=c.RV6();c.j41(0,"div",4)(1,"pagination",5),c.mxI("ngModelChange",function(S){return c.eBV(v),c.DH7(f.selectedPage,S)||(f.selectedPage=S),c.Njj(S)}),c.bIt("pageChanged",function(S){return c.eBV(v),c.Njj(f.onPageChanged(S.page))})("numPages",function(S){return c.eBV(v),c.Njj(f.onNumPagesChanged(S))}),c.k0s(),c.j41(2,"p",6),c.EFF(3),c.k0s()(),c.DNE(4,Ks,1,0,"ng-template",null,0,c.C5r)(6,Dt,1,0,"ng-template",null,1,c.C5r)(8,Ds,1,0,"ng-template",null,2,c.C5r)(10,ha,1,0,"ng-template",null,3,c.C5r)}if(2&d){const v=c.sdS(5),T=c.sdS(7),S=c.sdS(9),G=c.sdS(11);c.Y8G("id",f.id),c.R7$(),c.Mz_("id","",f.id,"_ngx_paginator"),c.Y8G("totalItems",f.totalItems)("maxSize",f.maxPagesVisible)("disabled",f.disabled)("itemsPerPage",f.pageSize),c.R50("ngModel",f.selectedPage),c.Y8G("boundaryLinks",!0)("customFirstTemplate",G)("customLastTemplate",S)("customPreviousTemplate",T)("customNextTemplate",v),c.R7$(2),c.SpI(" ",f.itemsDetails," ")}},dependencies:[B.BC,B.vS,$e.eK],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]})}}return l})(),tc=(()=>{class l{static{this.\u0275fac=function(d){return new(d||l)}}static{this.\u0275mod=c.$C({type:l})}static{this.\u0275inj=c.G2t({imports:[I.MD,B.YN,$e.x6.forRoot(),X.B]})}}return l})()}}]);Back to Directory